Pull request #331 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 5ed6e76d2baa0cb6c47fd743d8659d4565179b84+603e15a22e98ad0ffc0e9ce671b1afa02ea84060 (f43cf0f4b59e3f867a0dbe98603141b328ccca5b) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29744’ Running on prd-centos7-docker-4c-2g-29747 in /w/workspace/edgexfoundry_device-sdk-c_PR-331 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-331 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit 5ed6e76d2baa0cb6c47fd743d8659d4565179b84 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing 5ed6e76d2baa0cb6c47fd743d8659d4565179b84 Checking out Revision 5ed6e76d2baa0cb6c47fd743d8659d4565179b84 (PR-331) > git config core.sparsecheckout # timeout=10 > git checkout -f 5ed6e76d2baa0cb6c47fd743d8659d4565179b84 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ed6e76d2baa0cb6c47fd743d8659d4565179b84 # timeout=10 Commit message: "feat: create new devices from json/toml files in configured directory fix: update AutoEvent marshaling for v2 fix: null-terminate incoming http data docs: update metrics documentation for v2" First time build. Skipping changelog. > git rev-list --no-walk e91f65d62d30d7dd96d49d813917dfa5b280acdf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-14T22:27:59.202Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-14T22:27:59.476Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-14T22:27:59.572Z] ========================================================= [2021-03-14T22:27:59.572Z] EdgeX Global Pipelines Version Info [2021-03-14T22:27:59.572Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-14T22:28:01.927Z] ------------------- [2021-03-14T22:28:01.927Z] stable info: [2021-03-14T22:28:01.927Z] ------------------- [2021-03-14T22:28:01.927Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-14T22:28:01.927Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-14T22:28:01.927Z] Message: update stable to v1.0.184 [2021-03-14T22:28:03.374Z] ------------------- [2021-03-14T22:28:03.374Z] experimental info: [2021-03-14T22:28:03.374Z] ------------------- [2021-03-14T22:28:03.374Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-14T22:28:03.374Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-14T22:28:03.374Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-14T22:28:03.656Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-03-14T22:28:03.764Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-03-14T22:28:03.871Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-14T22:28:03.965Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-14T22:28:04.057Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-14T22:28:04.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-03-14T22:28:04.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-03-14T22:28:04.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-03-14T22:28:04.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-14T22:28:04.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-03-14T22:28:04.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-14T22:28:04.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-14T22:28:04.771Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-14T22:28:04.863Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-14T22:28:04.954Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-14T22:28:05.073Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-14T22:28:05.166Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-14T22:28:05.254Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-331 [Pipeline] echo [2021-03-14T22:28:05.340Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-331 [Pipeline] echo [2021-03-14T22:28:05.422Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-331 [Pipeline] echo [2021-03-14T22:28:05.509Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ed6e76d2baa0cb6c47fd743d8659d4565179b84 [Pipeline] echo [2021-03-14T22:28:05.608Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ed6e76 [Pipeline] echo [2021-03-14T22:28:05.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-14T22:28:05.892Z] provisioning config files... [2021-03-14T22:28:05.934Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/config1263312076124045111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-14T22:28:06.369Z] ---> docker-login.sh [2021-03-14T22:28:06.369Z] nexus3.edgexfoundry.org:10001 [2021-03-14T22:28:09.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-14T22:28:09.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-14T22:28:09.151Z] Configure a credential helper to remove this warning. See [2021-03-14T22:28:09.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-14T22:28:09.151Z] [2021-03-14T22:28:09.151Z] Login Succeeded [2021-03-14T22:28:09.151Z] nexus3.edgexfoundry.org:10002 [2021-03-14T22:28:09.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-14T22:28:10.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-14T22:28:10.176Z] Configure a credential helper to remove this warning. See [2021-03-14T22:28:10.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-14T22:28:10.176Z] [2021-03-14T22:28:10.176Z] Login Succeeded [2021-03-14T22:28:10.176Z] nexus3.edgexfoundry.org:10003 [2021-03-14T22:28:10.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-14T22:28:11.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-14T22:28:11.139Z] Configure a credential helper to remove this warning. See [2021-03-14T22:28:11.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-14T22:28:11.139Z] [2021-03-14T22:28:11.139Z] Login Succeeded [2021-03-14T22:28:11.139Z] nexus3.edgexfoundry.org:10004 [2021-03-14T22:28:11.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-14T22:28:11.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-14T22:28:11.680Z] Configure a credential helper to remove this warning. See [2021-03-14T22:28:11.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-14T22:28:11.680Z] [2021-03-14T22:28:11.680Z] Login Succeeded [2021-03-14T22:28:11.680Z] docker.io [2021-03-14T22:28:11.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-14T22:28:11.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-14T22:28:11.945Z] Configure a credential helper to remove this warning. See [2021-03-14T22:28:11.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-14T22:28:11.945Z] [2021-03-14T22:28:11.945Z] Login Succeeded [2021-03-14T22:28:11.945Z] ---> docker-login.sh ends [Pipeline] } [2021-03-14T22:28:11.960Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-03-14T22:28:13.080Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-14T22:28:13.080Z] [2021-03-14T22:28:13.080Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-14T22:28:13.486Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-14T22:28:13.486Z] latest: Pulling from edgex-devops/git-semver [2021-03-14T22:28:13.486Z] 31603596830f: Pulling fs layer [2021-03-14T22:28:13.486Z] 2a8b12db71e7: Pulling fs layer [2021-03-14T22:28:13.486Z] 6ca5941a6612: Pulling fs layer [2021-03-14T22:28:13.486Z] ecc8261a40a4: Pulling fs layer [2021-03-14T22:28:13.486Z] ecc8261a40a4: Waiting [2021-03-14T22:28:13.486Z] 2a8b12db71e7: Verifying Checksum [2021-03-14T22:28:13.486Z] 2a8b12db71e7: Download complete [2021-03-14T22:28:13.770Z] 31603596830f: Verifying Checksum [2021-03-14T22:28:13.770Z] 31603596830f: Download complete [2021-03-14T22:28:13.770Z] ecc8261a40a4: Verifying Checksum [2021-03-14T22:28:13.770Z] ecc8261a40a4: Download complete [2021-03-14T22:28:14.046Z] 6ca5941a6612: Verifying Checksum [2021-03-14T22:28:14.046Z] 6ca5941a6612: Download complete [2021-03-14T22:28:14.325Z] 31603596830f: Pull complete [2021-03-14T22:28:14.613Z] 2a8b12db71e7: Pull complete [2021-03-14T22:28:16.677Z] 6ca5941a6612: Pull complete [2021-03-14T22:28:17.750Z] ecc8261a40a4: Pull complete [2021-03-14T22:28:18.093Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-14T22:28:18.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-14T22:28:18.093Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-14T22:28:18.585Z] prd-centos7-docker-4c-2g-29747 does not seem to be running inside a container [2021-03-14T22:28:18.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-331 -v /w/workspace/edgexfoundry_device-sdk-c_PR-331:/w/workspace/edgexfoundry_device-sdk-c_PR-331:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-14T22:28:22.920Z] $ docker top 292d878b3c2c981af5e2112e5d56c27d570b09327c528dc9131f5e8dbce788e2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-14T22:28:23.723Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-14T22:28:23.723Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-14T22:28:24.288Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-14T22:28:24.291Z] $ docker exec 292d878b3c2c981af5e2112e5d56c27d570b09327c528dc9131f5e8dbce788e2 ssh-agent [2021-03-14T22:28:24.779Z] SSH_AUTH_SOCK=/tmp/ssh-0h5aSga7OnRd/agent.11 [2021-03-14T22:28:24.779Z] SSH_AGENT_PID=16 [2021-03-14T22:28:24.805Z] Running ssh-add (command line suppressed) [2021-03-14T22:28:25.245Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_7751869564140571658.key (/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_7751869564140571658.key) [2021-03-14T22:28:25.427Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-14T22:28:25.837Z] + git tag --points-at HEAD [Pipeline] } [2021-03-14T22:28:25.967Z] $ docker exec --env ******** --env ******** 292d878b3c2c981af5e2112e5d56c27d570b09327c528dc9131f5e8dbce788e2 ssh-agent -k [2021-03-14T22:28:26.255Z] unset SSH_AUTH_SOCK; [2021-03-14T22:28:26.255Z] unset SSH_AGENT_PID; [2021-03-14T22:28:26.255Z] echo Agent pid 16 killed; [2021-03-14T22:28:26.353Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-14T22:28:26.543Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-14T22:28:26.543Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-14T22:28:27.082Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-14T22:28:27.085Z] $ docker exec 292d878b3c2c981af5e2112e5d56c27d570b09327c528dc9131f5e8dbce788e2 ssh-agent [2021-03-14T22:28:27.641Z] SSH_AUTH_SOCK=/tmp/ssh-jzctlSB4FtSa/agent.45 [2021-03-14T22:28:27.641Z] SSH_AGENT_PID=50 [2021-03-14T22:28:27.653Z] Running ssh-add (command line suppressed) [2021-03-14T22:28:28.132Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_1746306686548714119.key (/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_1746306686548714119.key) [2021-03-14T22:28:28.376Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-14T22:28:28.853Z] + git semver init [2021-03-14T22:28:28.853Z] # -> Open(): unable to determine branch for HEAD [2021-03-14T22:28:28.853Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-331/.git [2021-03-14T22:28:28.853Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-331 [2021-03-14T22:28:28.853Z] # $SEMVER_REMOTE_NAME = origin [2021-03-14T22:28:28.853Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-14T22:28:28.853Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-14T22:28:28.853Z] # $SEMVER_BRANCH = PR-331 [2021-03-14T22:28:28.853Z] # $SEMVER_TEMP = /tmp/semver-415452149 [2021-03-14T22:28:28.853Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-03-14T22:28:30.361Z] # '/tmp/semver-415452149' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-331/.semver' [2021-03-14T22:28:30.362Z] # -> Force: false [2021-03-14T22:28:30.362Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-331/.semver [Pipeline] } [2021-03-14T22:28:30.404Z] $ docker exec --env ******** --env ******** 292d878b3c2c981af5e2112e5d56c27d570b09327c528dc9131f5e8dbce788e2 ssh-agent -k [2021-03-14T22:28:30.988Z] unset SSH_AUTH_SOCK; [2021-03-14T22:28:30.989Z] unset SSH_AGENT_PID; [2021-03-14T22:28:30.989Z] echo Agent pid 50 killed; [2021-03-14T22:28:31.060Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-14T22:28:32.075Z] + git semver [Pipeline] } [2021-03-14T22:28:32.099Z] $ docker stop --time=1 292d878b3c2c981af5e2112e5d56c27d570b09327c528dc9131f5e8dbce788e2 [2021-03-14T22:28:33.931Z] $ docker rm -f 292d878b3c2c981af5e2112e5d56c27d570b09327c528dc9131f5e8dbce788e2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-14T22:28:34.708Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-14T22:28:36.586Z] Stashed 1 file(s) [Pipeline] echo [2021-03-14T22:28:36.589Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-03-14T22:28:51.993Z] Still waiting to schedule task [2021-03-14T22:28:51.993Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-14T22:28:51.996Z] Still waiting to schedule task [2021-03-14T22:28:51.996Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-14T22:30:30.385Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29748 in /w/workspace/edgexfoundry_device-sdk-c_PR-331 [Pipeline] { [Pipeline] ws [2021-03-14T22:30:30.499Z] Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout [2021-03-14T22:30:35.572Z] using credential edgex-jenkins-ssh [2021-03-14T22:30:35.642Z] Cloning the remote Git repository [2021-03-14T22:30:35.702Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-03-14T22:30:35.820Z] > git init /w/workspace/device-sdk-c/5 # timeout=10 [2021-03-14T22:30:35.916Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-03-14T22:30:35.916Z] > git --version # timeout=10 [2021-03-14T22:30:35.936Z] > git --version # 'git version 2.17.1' [2021-03-14T22:30:35.937Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-14T22:30:36.002Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-14T22:30:37.479Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-03-14T22:30:37.502Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-14T22:30:37.531Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-03-14T22:30:37.580Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-03-14T22:30:37.581Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-14T22:30:37.596Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-14T22:30:38.217Z] Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit 5ed6e76d2baa0cb6c47fd743d8659d4565179b84 [2021-03-14T22:30:38.464Z] Merge succeeded, producing 5ed6e76d2baa0cb6c47fd743d8659d4565179b84 [2021-03-14T22:30:38.465Z] Checking out Revision 5ed6e76d2baa0cb6c47fd743d8659d4565179b84 (PR-331) [2021-03-14T22:30:38.235Z] > git config core.sparsecheckout # timeout=10 [2021-03-14T22:30:38.250Z] > git checkout -f 5ed6e76d2baa0cb6c47fd743d8659d4565179b84 # timeout=10 [2021-03-14T22:30:38.369Z] > git remote # timeout=10 [2021-03-14T22:30:38.391Z] > git config --get remote.origin.url # timeout=10 [2021-03-14T22:30:38.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-14T22:30:38.425Z] > git merge 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 [2021-03-14T22:30:38.447Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-14T22:30:38.470Z] > git config core.sparsecheckout # timeout=10 [2021-03-14T22:30:38.486Z] > git checkout -f 5ed6e76d2baa0cb6c47fd743d8659d4565179b84 # timeout=10 [2021-03-14T22:30:42.968Z] Commit message: "feat: create new devices from json/toml files in configured directory fix: update AutoEvent marshaling for v2 fix: null-terminate incoming http data docs: update metrics documentation for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-14T22:30:44.704Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-14T22:30:45.122Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-14T22:30:45.514Z] + sudo service docker restart [2021-03-14T22:30:45.514Z] + true [2021-03-14T22:30:47.148Z] Running on prd-centos7-docker-4c-2g-29749 in /w/workspace/edgexfoundry_device-sdk-c_PR-331 [Pipeline] { [Pipeline] ws [2021-03-14T22:30:47.199Z] Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-14T22:30:47.576Z] provisioning config files... [2021-03-14T22:30:47.617Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config6281289997544034980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-14T22:30:48.090Z] ---> docker-login.sh [2021-03-14T22:30:48.090Z] nexus3.edgexfoundry.org:10001 [2021-03-14T22:30:49.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-14T22:30:49.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-14T22:30:49.680Z] Configure a credential helper to remove this warning. See [2021-03-14T22:30:49.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-14T22:30:49.680Z] [2021-03-14T22:30:49.680Z] Login Succeeded [2021-03-14T22:30:49.680Z] nexus3.edgexfoundry.org:10002 [2021-03-14T22:30:49.763Z] using credential edgex-jenkins-ssh [2021-03-14T22:30:49.810Z] Cloning the remote Git repository [2021-03-14T22:30:49.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-14T22:30:50.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-14T22:30:50.228Z] Configure a credential helper to remove this warning. See [2021-03-14T22:30:50.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-14T22:30:50.228Z] [2021-03-14T22:30:50.228Z] Login Succeeded [2021-03-14T22:30:50.228Z] nexus3.edgexfoundry.org:10003 [2021-03-14T22:30:50.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-14T22:30:49.742Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-03-14T22:30:49.816Z] > git init /w/workspace/device-sdk-c/5 # timeout=10 [2021-03-14T22:30:49.880Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-03-14T22:30:49.880Z] > git --version # timeout=10 [2021-03-14T22:30:49.888Z] > git --version # 'git version 2.24.3' [2021-03-14T22:30:49.889Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-14T22:30:49.914Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-14T22:30:50.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-14T22:30:50.773Z] Configure a credential helper to remove this warning. See [2021-03-14T22:30:50.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-14T22:30:50.773Z] [2021-03-14T22:30:50.773Z] Login Succeeded [2021-03-14T22:30:50.773Z] nexus3.edgexfoundry.org:10004 [2021-03-14T22:30:51.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-14T22:30:51.255Z] Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit 5ed6e76d2baa0cb6c47fd743d8659d4565179b84 [2021-03-14T22:30:51.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-14T22:30:51.324Z] Configure a credential helper to remove this warning. See [2021-03-14T22:30:51.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-14T22:30:51.324Z] [2021-03-14T22:30:51.324Z] Login Succeeded [2021-03-14T22:30:51.324Z] docker.io [2021-03-14T22:30:51.358Z] Merge succeeded, producing 5ed6e76d2baa0cb6c47fd743d8659d4565179b84 [2021-03-14T22:30:51.358Z] Checking out Revision 5ed6e76d2baa0cb6c47fd743d8659d4565179b84 (PR-331) [2021-03-14T22:30:51.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-14T22:30:50.705Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-03-14T22:30:50.714Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-14T22:30:50.726Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-03-14T22:30:50.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-03-14T22:30:50.739Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-14T22:30:50.744Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-14T22:30:51.267Z] > git config core.sparsecheckout # timeout=10 [2021-03-14T22:30:51.273Z] > git checkout -f 5ed6e76d2baa0cb6c47fd743d8659d4565179b84 # timeout=10 [2021-03-14T22:30:51.327Z] > git remote # timeout=10 [2021-03-14T22:30:51.332Z] > git config --get remote.origin.url # timeout=10 [2021-03-14T22:30:51.338Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-14T22:30:51.341Z] > git merge 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 [2021-03-14T22:30:51.353Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-14T22:30:51.363Z] > git config core.sparsecheckout # timeout=10 [2021-03-14T22:30:51.369Z] > git checkout -f 5ed6e76d2baa0cb6c47fd743d8659d4565179b84 # timeout=10 [2021-03-14T22:30:51.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-14T22:30:51.869Z] Configure a credential helper to remove this warning. See [2021-03-14T22:30:51.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-14T22:30:51.869Z] [2021-03-14T22:30:51.869Z] Login Succeeded [2021-03-14T22:30:51.869Z] ---> docker-login.sh ends [Pipeline] } [2021-03-14T22:30:51.886Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-14T22:30:52.294Z] ========================================================= [2021-03-14T22:30:52.294Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-03-14T22:30:52.294Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-14T22:30:52.677Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2021-03-14T22:30:53.295Z] Sending build context to Docker daemon 2.52MB [2021-03-14T22:30:53.295Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-03-14T22:30:53.295Z] Step 2/21 : FROM ${BASE} as builder [2021-03-14T22:30:53.295Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-03-14T22:30:53.295Z] 0362ad1dd800: Pulling fs layer [2021-03-14T22:30:53.295Z] f2cdb1532d8b: Pulling fs layer [2021-03-14T22:30:53.295Z] 37ed683be191: Pulling fs layer [2021-03-14T22:30:53.295Z] f2cdb1532d8b: Verifying Checksum [2021-03-14T22:30:53.295Z] f2cdb1532d8b: Download complete [2021-03-14T22:30:54.281Z] 0362ad1dd800: Verifying Checksum [2021-03-14T22:30:54.281Z] 0362ad1dd800: Download complete [2021-03-14T22:30:54.884Z] 0362ad1dd800: Pull complete [2021-03-14T22:30:55.029Z] Commit message: "feat: create new devices from json/toml files in configured directory fix: update AutoEvent marshaling for v2 fix: null-terminate incoming http data docs: update metrics documentation for v2" [2021-03-14T22:30:55.156Z] f2cdb1532d8b: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-14T22:30:56.109Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-14T22:30:56.442Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-14T22:30:56.595Z] 37ed683be191: Verifying Checksum [2021-03-14T22:30:56.595Z] 37ed683be191: Download complete [2021-03-14T22:30:56.740Z] + sudo service docker restart [2021-03-14T22:30:56.740Z] + true [2021-03-14T22:30:56.740Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-14T22:30:58.202Z] provisioning config files... [2021-03-14T22:30:58.230Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config591539111578576120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-14T22:30:58.594Z] ---> docker-login.sh [2021-03-14T22:30:58.594Z] nexus3.edgexfoundry.org:10001 [2021-03-14T22:30:58.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-14T22:30:58.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-14T22:30:58.857Z] Configure a credential helper to remove this warning. See [2021-03-14T22:30:58.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-14T22:30:58.857Z] [2021-03-14T22:30:58.857Z] Login Succeeded [2021-03-14T22:30:58.857Z] nexus3.edgexfoundry.org:10002 [2021-03-14T22:30:59.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-14T22:30:59.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-14T22:30:59.120Z] Configure a credential helper to remove this warning. See [2021-03-14T22:30:59.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-14T22:30:59.120Z] [2021-03-14T22:30:59.120Z] Login Succeeded [2021-03-14T22:30:59.120Z] nexus3.edgexfoundry.org:10003 [2021-03-14T22:30:59.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-14T22:30:59.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-14T22:30:59.383Z] Configure a credential helper to remove this warning. See [2021-03-14T22:30:59.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-14T22:30:59.383Z] [2021-03-14T22:30:59.383Z] Login Succeeded [2021-03-14T22:30:59.383Z] nexus3.edgexfoundry.org:10004 [2021-03-14T22:30:59.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-14T22:30:59.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-14T22:30:59.648Z] Configure a credential helper to remove this warning. See [2021-03-14T22:30:59.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-14T22:30:59.648Z] [2021-03-14T22:30:59.648Z] Login Succeeded [2021-03-14T22:30:59.648Z] docker.io [2021-03-14T22:30:59.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-14T22:30:59.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-14T22:30:59.911Z] Configure a credential helper to remove this warning. See [2021-03-14T22:30:59.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-14T22:30:59.911Z] [2021-03-14T22:30:59.911Z] Login Succeeded [2021-03-14T22:30:59.911Z] ---> docker-login.sh ends [Pipeline] } [2021-03-14T22:30:59.921Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-14T22:31:00.264Z] ========================================================= [2021-03-14T22:31:00.264Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-03-14T22:31:00.264Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-14T22:31:00.681Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2021-03-14T22:31:00.947Z] Sending build context to Docker daemon 2.521MB [2021-03-14T22:31:00.947Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-03-14T22:31:00.947Z] Step 2/21 : FROM ${BASE} as builder [2021-03-14T22:31:00.947Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-03-14T22:31:00.947Z] e7c96db7181b: Pulling fs layer [2021-03-14T22:31:00.947Z] 4c13bbce0fe7: Pulling fs layer [2021-03-14T22:31:00.947Z] 6059c847ac2f: Pulling fs layer [2021-03-14T22:31:00.947Z] 4c13bbce0fe7: Verifying Checksum [2021-03-14T22:31:00.947Z] 4c13bbce0fe7: Download complete [2021-03-14T22:31:00.947Z] e7c96db7181b: Verifying Checksum [2021-03-14T22:31:00.947Z] e7c96db7181b: Download complete [2021-03-14T22:31:01.216Z] e7c96db7181b: Pull complete [2021-03-14T22:31:01.484Z] 4c13bbce0fe7: Pull complete [2021-03-14T22:31:02.435Z] 6059c847ac2f: Verifying Checksum [2021-03-14T22:31:02.435Z] 6059c847ac2f: Download complete [2021-03-14T22:31:06.773Z] 37ed683be191: Pull complete [2021-03-14T22:31:06.773Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-03-14T22:31:06.773Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-03-14T22:31:06.773Z] ---> b23d30803547 [2021-03-14T22:31:06.773Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2021-03-14T22:31:07.375Z] ---> Running in 1ac3cd12c883 [2021-03-14T22:31:07.755Z] 6059c847ac2f: Pull complete [2021-03-14T22:31:07.756Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-03-14T22:31:07.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-03-14T22:31:08.025Z] ---> 5eabd8fd8ba2 [2021-03-14T22:31:08.025Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2021-03-14T22:31:08.813Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-03-14T22:31:09.421Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-03-14T22:31:09.426Z] ---> Running in e9817b85db8d [2021-03-14T22:31:10.013Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-03-14T22:31:10.013Z] (2/8) Installing libuuid (2.33-r0) [2021-03-14T22:31:10.013Z] (3/8) Installing libblkid (2.33-r0) [2021-03-14T22:31:10.283Z] (4/8) Installing libfdisk (2.33-r0) [2021-03-14T22:31:10.283Z] (5/8) Installing libmount (2.33-r0) [2021-03-14T22:31:10.283Z] (6/8) Installing libsmartcols (2.33-r0) [2021-03-14T22:31:10.377Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-03-14T22:31:10.555Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-03-14T22:31:10.827Z] (8/8) Installing wget (1.20.3-r0) [2021-03-14T22:31:10.827Z] Executing busybox-1.29.3-r10.trigger [2021-03-14T22:31:11.102Z] OK: 285 MiB in 83 packages [2021-03-14T22:31:11.339Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-03-14T22:31:11.603Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-03-14T22:31:11.865Z] (2/8) Installing libuuid (2.33-r0) [2021-03-14T22:31:11.865Z] (3/8) Installing libblkid (2.33-r0) [2021-03-14T22:31:11.865Z] (4/8) Installing libfdisk (2.33-r0) [2021-03-14T22:31:12.132Z] (5/8) Installing libmount (2.33-r0) [2021-03-14T22:31:12.132Z] (6/8) Installing libsmartcols (2.33-r0) [2021-03-14T22:31:12.132Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-03-14T22:31:12.399Z] (8/8) Installing wget (1.20.3-r0) [2021-03-14T22:31:12.547Z] Removing intermediate container 1ac3cd12c883 [2021-03-14T22:31:12.548Z] ---> 84525ffd4db4 [2021-03-14T22:31:12.548Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-03-14T22:31:12.548Z] ---> Running in 4c7410d071ea [2021-03-14T22:31:12.662Z] Executing busybox-1.29.3-r10.trigger [2021-03-14T22:31:12.662Z] OK: 272 MiB in 83 packages [2021-03-14T22:31:12.826Z] Removing intermediate container 4c7410d071ea [2021-03-14T22:31:12.826Z] ---> 18a9b03f4952 [2021-03-14T22:31:12.826Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-03-14T22:31:13.101Z] ---> Running in 3342840d8046 [2021-03-14T22:31:13.238Z] Removing intermediate container e9817b85db8d [2021-03-14T22:31:13.238Z] ---> 98eee852be24 [2021-03-14T22:31:13.238Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-03-14T22:31:13.238Z] ---> Running in dd229a72fa3a [2021-03-14T22:31:13.502Z] Removing intermediate container dd229a72fa3a [2021-03-14T22:31:13.502Z] ---> 85f5536a8e15 [2021-03-14T22:31:13.502Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-03-14T22:31:13.502Z] ---> Running in 0dcd67c1406a [2021-03-14T22:31:14.076Z] --2021-03-14 22:31:13-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-03-14T22:31:14.076Z] Resolving github.com... 140.82.113.4 [2021-03-14T22:31:14.076Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-03-14T22:31:14.076Z] HTTP request sent, awaiting response... 302 Found [2021-03-14T22:31:14.076Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-03-14T22:31:14.076Z] --2021-03-14 22:31:13-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-03-14T22:31:14.076Z] Resolving codeload.github.com... 140.82.112.9 [2021-03-14T22:31:14.076Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-03-14T22:31:14.098Z] --2021-03-14 22:31:14-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-03-14T22:31:14.339Z] HTTP request sent, awaiting response... 200 OK [2021-03-14T22:31:14.339Z] Length: unspecified [application/x-gzip] [2021-03-14T22:31:14.339Z] Saving to: 'STDOUT' [2021-03-14T22:31:14.339Z]  [2021-03-14T22:31:14.339Z] 0K .......... .......... .......... .......... .......... 1.34M [2021-03-14T22:31:14.339Z] 50K .......... .......... .......... .......... .......... 2.74M [2021-03-14T22:31:14.339Z] 100K .......... .......... .......... .......... .......... 19.9M [2021-03-14T22:31:14.339Z] 150K .......... .......... .......... .......... .......... 49.1M [2021-03-14T22:31:14.339Z] 200K .......... .......... .......... .......... .......... 3.15M [2021-03-14T22:31:14.339Z] 250K .......... .......... .......... .......... .......... 11.8M [2021-03-14T22:31:14.339Z] 300K .......... .......... .......... .......... .......... 9.89M [2021-03-14T22:31:14.339Z] 350K .......... .......... .......... .......... .......... 8.80M [2021-03-14T22:31:14.339Z] 400K .......... .......... .......... .......... .......... 5.47M [2021-03-14T22:31:14.339Z] 450K .......... .......... .......... .......... .......... 6.99M [2021-03-14T22:31:14.339Z] 500K .......... .......... .......... .......... .......... 14.9M [2021-03-14T22:31:14.339Z] 550K .......... .......... .......... .......... .......... 5.79M [2021-03-14T22:31:14.339Z] 600K .......... .......... .......... .......... .......... 2.05M [2021-03-14T22:31:14.339Z] 650K .......... .......... .......... .......... .......... 4.59M [2021-03-14T22:31:14.339Z] 700K .. 34.5M=0.1s [2021-03-14T22:31:14.339Z] [2021-03-14T22:31:14.339Z] 2021-03-14 22:31:14 (4.58 MB/s) - written to stdout [719348] [2021-03-14T22:31:14.340Z] [2021-03-14T22:31:14.370Z] Resolving github.com... 140.82.113.4 [2021-03-14T22:31:14.370Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-03-14T22:31:14.370Z] HTTP request sent, awaiting response... 302 Found [2021-03-14T22:31:14.370Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-03-14T22:31:14.370Z] --2021-03-14 22:31:14-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-03-14T22:31:14.370Z] Resolving codeload.github.com... 140.82.112.9 [2021-03-14T22:31:14.370Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-03-14T22:31:14.370Z] HTTP request sent, awaiting response... 200 OK [2021-03-14T22:31:14.370Z] Length: unspecified [application/x-gzip] [2021-03-14T22:31:14.370Z] Saving to: 'STDOUT' [2021-03-14T22:31:14.370Z]  [2021-03-14T22:31:14.370Z] 0K .......... .......... .......... .......... .......... 1.24M [2021-03-14T22:31:14.605Z] -- The C compiler identification is GNU 8.3.0 [2021-03-14T22:31:14.605Z] -- The CXX compiler identification is GNU 8.3.0 [2021-03-14T22:31:14.605Z] -- Check for working C compiler: /usr/bin/cc [2021-03-14T22:31:14.605Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-14T22:31:14.605Z] -- Detecting C compiler ABI info [2021-03-14T22:31:14.645Z] 50K .......... .......... .......... .......... .......... 2.49M [2021-03-14T22:31:14.645Z] 100K .......... .......... .......... .......... .......... 14.3M [2021-03-14T22:31:14.646Z] 150K .......... .......... .......... .......... .......... 2.74M [2021-03-14T22:31:14.646Z] 200K .......... .......... .......... .......... .......... 14.5M [2021-03-14T22:31:14.646Z] 250K .......... .......... .......... .......... .......... 3.22M [2021-03-14T22:31:14.646Z] 300K .......... .......... .......... .......... .......... 3.89M [2021-03-14T22:31:14.646Z] 350K .......... .......... .......... .......... .......... 4.76M [2021-03-14T22:31:14.646Z] 400K .......... .......... .......... .......... .......... 4.10M [2021-03-14T22:31:14.646Z] 450K .......... .......... .......... .......... .......... 3.78M [2021-03-14T22:31:14.646Z] 500K .......... .......... .......... .......... .......... 8.63M [2021-03-14T22:31:14.646Z] 550K .......... .......... .......... .......... .......... 2.69M [2021-03-14T22:31:14.646Z] 600K .......... .......... .......... .......... .......... 879K [2021-03-14T22:31:14.646Z] 650K .......... .......... .......... .......... .......... 2.15M [2021-03-14T22:31:14.646Z] 700K ..   3.64M=0.3s [2021-03-14T22:31:14.646Z] [2021-03-14T22:31:14.646Z] 2021-03-14 22:31:14 (2.74 MB/s) - written to stdout [719348] [2021-03-14T22:31:14.646Z] [2021-03-14T22:31:14.867Z] -- Detecting C compiler ABI info - done [2021-03-14T22:31:14.867Z] -- Detecting C compile features [2021-03-14T22:31:14.919Z] -- The C compiler identification is GNU 8.3.0 [2021-03-14T22:31:15.131Z] -- Detecting C compile features - done [2021-03-14T22:31:15.131Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-03-14T22:31:15.131Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-03-14T22:31:15.131Z] -- Detecting CXX compiler ABI info [2021-03-14T22:31:15.131Z] -- Detecting CXX compiler ABI info - done [2021-03-14T22:31:15.131Z] -- Detecting CXX compile features [2021-03-14T22:31:15.192Z] -- The CXX compiler identification is GNU 8.3.0 [2021-03-14T22:31:15.192Z] -- Check for working C compiler: /usr/bin/cc [2021-03-14T22:31:15.465Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-14T22:31:15.465Z] -- Detecting C compiler ABI info [2021-03-14T22:31:15.707Z] -- Detecting CXX compile features - done [2021-03-14T22:31:15.707Z] -- Looking for include file endian.h [2021-03-14T22:31:15.707Z] -- Looking for include file endian.h - found [2021-03-14T22:31:15.707Z] -- Check if the system is big endian [2021-03-14T22:31:15.707Z] -- Searching 16 bit integer [2021-03-14T22:31:15.707Z] -- Looking for sys/types.h [2021-03-14T22:31:15.747Z] -- Detecting C compiler ABI info - done [2021-03-14T22:31:15.747Z] -- Detecting C compile features [2021-03-14T22:31:15.969Z] -- Looking for sys/types.h - found [2021-03-14T22:31:15.969Z] -- Looking for stdint.h [2021-03-14T22:31:15.969Z] -- Looking for stdint.h - found [2021-03-14T22:31:15.969Z] -- Looking for stddef.h [2021-03-14T22:31:15.969Z] -- Looking for stddef.h - found [2021-03-14T22:31:15.969Z] -- Check size of unsigned short [2021-03-14T22:31:15.969Z] -- Check size of unsigned short - done [2021-03-14T22:31:15.969Z] -- Using unsigned short [2021-03-14T22:31:16.230Z] -- Check if the system is big endian - little endian [2021-03-14T22:31:16.230Z] -- Check size of size_t [2021-03-14T22:31:16.230Z] -- Check size of size_t - done [2021-03-14T22:31:16.230Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-03-14T22:31:16.230Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-03-14T22:31:16.230Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-03-14T22:31:16.230Z] CMake did not find one. [2021-03-14T22:31:16.230Z] [2021-03-14T22:31:16.230Z] Could not find a package configuration file provided by "cJSON" with any of [2021-03-14T22:31:16.230Z] the following names: [2021-03-14T22:31:16.230Z] [2021-03-14T22:31:16.230Z] cJSONConfig.cmake [2021-03-14T22:31:16.230Z] cjson-config.cmake [2021-03-14T22:31:16.230Z] [2021-03-14T22:31:16.230Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-03-14T22:31:16.230Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-03-14T22:31:16.230Z] provides a separate development package or SDK, be sure it has been [2021-03-14T22:31:16.230Z] installed. [2021-03-14T22:31:16.230Z] [2021-03-14T22:31:16.230Z] [2021-03-14T22:31:16.230Z] -- Configuring done [2021-03-14T22:31:16.495Z] -- Generating done [2021-03-14T22:31:16.495Z] -- Build files have been written to: /tmp/cbor [2021-03-14T22:31:16.495Z] Scanning dependencies of target cbor_shared [2021-03-14T22:31:16.495Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-03-14T22:31:16.495Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-03-14T22:31:16.727Z] -- Detecting C compile features - done [2021-03-14T22:31:16.727Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-03-14T22:31:16.727Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-03-14T22:31:16.727Z] -- Detecting CXX compiler ABI info [2021-03-14T22:31:16.762Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-03-14T22:31:16.762Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-03-14T22:31:16.999Z] -- Detecting CXX compiler ABI info - done [2021-03-14T22:31:16.999Z] -- Detecting CXX compile features [2021-03-14T22:31:17.024Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-03-14T22:31:17.024Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-03-14T22:31:17.024Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-03-14T22:31:17.285Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-03-14T22:31:17.285Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-03-14T22:31:17.285Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-03-14T22:31:17.548Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-03-14T22:31:17.548Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-03-14T22:31:17.548Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-03-14T22:31:17.811Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-03-14T22:31:17.811Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-03-14T22:31:17.811Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-03-14T22:31:18.074Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-03-14T22:31:18.074Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-03-14T22:31:18.074Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-03-14T22:31:18.344Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-03-14T22:31:18.344Z] [ 40%] Linking C shared library libcbor.so [2021-03-14T22:31:18.344Z] [ 40%] Built target cbor_shared [2021-03-14T22:31:18.344Z] Scanning dependencies of target cbor [2021-03-14T22:31:18.344Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-03-14T22:31:18.429Z] -- Detecting CXX compile features - done [2021-03-14T22:31:18.607Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-03-14T22:31:18.607Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-03-14T22:31:18.701Z] -- Looking for include file endian.h [2021-03-14T22:31:18.701Z] -- Looking for include file endian.h - found [2021-03-14T22:31:18.701Z] -- Check if the system is big endian [2021-03-14T22:31:18.701Z] -- Searching 16 bit integer [2021-03-14T22:31:18.701Z] -- Looking for sys/types.h [2021-03-14T22:31:18.869Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-03-14T22:31:18.973Z] -- Looking for sys/types.h - found [2021-03-14T22:31:18.973Z] -- Looking for stdint.h [2021-03-14T22:31:19.130Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-03-14T22:31:19.130Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-03-14T22:31:19.130Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-03-14T22:31:19.130Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-03-14T22:31:19.247Z] -- Looking for stdint.h - found [2021-03-14T22:31:19.247Z] -- Looking for stddef.h [2021-03-14T22:31:19.393Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-03-14T22:31:19.393Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-03-14T22:31:19.520Z] -- Looking for stddef.h - found [2021-03-14T22:31:19.520Z] -- Check size of unsigned short [2021-03-14T22:31:19.656Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-03-14T22:31:19.656Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-03-14T22:31:19.656Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-03-14T22:31:19.793Z] -- Check size of unsigned short - done [2021-03-14T22:31:19.793Z] -- Using unsigned short [2021-03-14T22:31:19.919Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-03-14T22:31:19.919Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-03-14T22:31:19.919Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-03-14T22:31:20.066Z] -- Check if the system is big endian - little endian [2021-03-14T22:31:20.066Z] -- Check size of size_t [2021-03-14T22:31:20.182Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-03-14T22:31:20.183Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-03-14T22:31:20.183Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-03-14T22:31:20.337Z] -- Check size of size_t - done [2021-03-14T22:31:20.337Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-03-14T22:31:20.337Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-03-14T22:31:20.337Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-03-14T22:31:20.337Z] CMake did not find one. [2021-03-14T22:31:20.337Z] [2021-03-14T22:31:20.337Z] Could not find a package configuration file provided by "cJSON" with any of [2021-03-14T22:31:20.337Z] the following names: [2021-03-14T22:31:20.337Z] [2021-03-14T22:31:20.337Z] cJSONConfig.cmake [2021-03-14T22:31:20.337Z] cjson-config.cmake [2021-03-14T22:31:20.337Z] [2021-03-14T22:31:20.337Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-03-14T22:31:20.337Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-03-14T22:31:20.337Z] provides a separate development package or SDK, be sure it has been [2021-03-14T22:31:20.337Z] installed. [2021-03-14T22:31:20.337Z] [2021-03-14T22:31:20.337Z] [2021-03-14T22:31:20.337Z] -- Configuring done [2021-03-14T22:31:20.445Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-03-14T22:31:20.445Z] [ 80%] Linking C static library libcbor.a [2021-03-14T22:31:20.445Z] [ 80%] Built target cbor [2021-03-14T22:31:20.445Z] Scanning dependencies of target create_items [2021-03-14T22:31:20.445Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-03-14T22:31:20.445Z] [ 84%] Linking C executable create_items [2021-03-14T22:31:20.445Z] [ 84%] Built target create_items [2021-03-14T22:31:20.445Z] Scanning dependencies of target readfile [2021-03-14T22:31:20.445Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-03-14T22:31:20.610Z] -- Generating done [2021-03-14T22:31:20.610Z] -- Build files have been written to: /tmp/cbor [2021-03-14T22:31:20.610Z] Scanning dependencies of target cbor_shared [2021-03-14T22:31:20.708Z] [ 88%] Linking C executable readfile [2021-03-14T22:31:20.708Z] [ 88%] Built target readfile [2021-03-14T22:31:20.708Z] Scanning dependencies of target streaming_parser [2021-03-14T22:31:20.708Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-03-14T22:31:20.708Z] [ 92%] Linking C executable streaming_parser [2021-03-14T22:31:20.708Z] [ 92%] Built target streaming_parser [2021-03-14T22:31:20.708Z] Scanning dependencies of target sort [2021-03-14T22:31:20.708Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-03-14T22:31:20.880Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-03-14T22:31:20.970Z] [ 96%] Linking C executable sort [2021-03-14T22:31:20.970Z] [ 96%] Built target sort [2021-03-14T22:31:20.970Z] Scanning dependencies of target hello [2021-03-14T22:31:20.970Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-03-14T22:31:20.970Z] [100%] Linking C executable hello [2021-03-14T22:31:20.970Z] [100%] Built target hello [2021-03-14T22:31:20.970Z] Install the project... [2021-03-14T22:31:20.970Z] -- Install configuration: "Release" [2021-03-14T22:31:20.970Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-03-14T22:31:20.970Z] -- Installing: /usr/local/lib64/libcbor.a [2021-03-14T22:31:20.970Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-03-14T22:31:20.970Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-03-14T22:31:20.970Z] -- Installing: /usr/local/lib64/libcbor.so [2021-03-14T22:31:20.970Z] -- Up-to-date: /usr/local/include/cbor [2021-03-14T22:31:20.970Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-03-14T22:31:20.970Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-03-14T22:31:20.970Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-03-14T22:31:20.970Z] -- Installing: /usr/local/include/cbor/common.h [2021-03-14T22:31:20.970Z] -- Installing: /usr/local/include/cbor/data.h [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/include/cbor/internal [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/include/cbor/ints.h [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/include/cbor/maps.h [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/include/cbor/strings.h [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/include/cbor/tags.h [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/include/cbor.h [2021-03-14T22:31:20.971Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-03-14T22:31:21.475Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-03-14T22:31:22.067Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-03-14T22:31:22.339Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-03-14T22:31:22.933Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-03-14T22:31:23.207Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-03-14T22:31:23.207Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-03-14T22:31:23.480Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-03-14T22:31:23.523Z] Removing intermediate container 0dcd67c1406a [2021-03-14T22:31:23.523Z] ---> 0263e9af09cd [2021-03-14T22:31:23.523Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-03-14T22:31:23.523Z] ---> Running in c64dda128af2 [2021-03-14T22:31:23.755Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-03-14T22:31:24.029Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-03-14T22:31:24.467Z] Removing intermediate container c64dda128af2 [2021-03-14T22:31:24.467Z] ---> b9f29a195cab [2021-03-14T22:31:24.467Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-03-14T22:31:24.627Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-03-14T22:31:24.729Z] ---> 6749fc96ff7f [2021-03-14T22:31:24.729Z] Step 8/21 : COPY src /tmp/sdk/src [2021-03-14T22:31:24.901Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-03-14T22:31:25.218Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-03-14T22:31:25.304Z] ---> bdddae5d13e6 [2021-03-14T22:31:25.304Z] Step 9/21 : COPY include /tmp/sdk/include [2021-03-14T22:31:25.492Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-03-14T22:31:25.567Z] ---> 840bf24ad212 [2021-03-14T22:31:25.567Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-03-14T22:31:25.767Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-03-14T22:31:25.828Z] ---> 813089b7ebba [2021-03-14T22:31:25.828Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-03-14T22:31:26.037Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-03-14T22:31:26.088Z] ---> c534c9d91d91 [2021-03-14T22:31:26.088Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-03-14T22:31:26.310Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-03-14T22:31:26.352Z] ---> 2ec842cbe1a7 [2021-03-14T22:31:26.352Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-03-14T22:31:26.352Z] ---> Running in 43a01603f134 [2021-03-14T22:31:26.584Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-03-14T22:31:26.584Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-03-14T22:31:26.613Z] + CPPCHECK=false [2021-03-14T22:31:26.613Z] + DOCGEN=false [2021-03-14T22:31:26.613Z] + TOMLVER=SDK-0.2 [2021-03-14T22:31:26.613Z] + CUTILVER=1.1.4 [2021-03-14T22:31:26.613Z] + '[' 0 -gt 0 ] [2021-03-14T22:31:26.613Z] + readlink -f ./scripts/build.sh [2021-03-14T22:31:26.613Z] + dirname /tmp/sdk/scripts/build.sh [2021-03-14T22:31:26.613Z] + dirname /tmp/sdk/scripts [2021-03-14T22:31:26.613Z] + ROOT=/tmp/sdk [2021-03-14T22:31:26.613Z] + cd /tmp/sdk [2021-03-14T22:31:26.613Z] + '[' '!' -d deps ] [2021-03-14T22:31:26.613Z] + mkdir deps [2021-03-14T22:31:26.613Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-03-14T22:31:26.613Z] + tar -C deps -z -x -f - [2021-03-14T22:31:26.613Z] --2021-03-14 22:31:26-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-03-14T22:31:26.613Z] Resolving github.com... 140.82.113.4 [2021-03-14T22:31:26.875Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-03-14T22:31:27.181Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-03-14T22:31:27.181Z] [ 40%] Linking C shared library libcbor.so [2021-03-14T22:31:27.181Z] [ 40%] Built target cbor_shared [2021-03-14T22:31:27.181Z] Scanning dependencies of target cbor [2021-03-14T22:31:27.456Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-03-14T22:31:27.821Z] HTTP request sent, awaiting response... 302 Found [2021-03-14T22:31:27.821Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-03-14T22:31:27.821Z] --2021-03-14 22:31:27-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-03-14T22:31:27.821Z] Resolving codeload.github.com... 140.82.112.9 [2021-03-14T22:31:27.821Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-03-14T22:31:27.821Z] HTTP request sent, awaiting response... 200 OK [2021-03-14T22:31:27.821Z] Length: unspecified [application/x-gzip] [2021-03-14T22:31:27.821Z] Saving to: 'STDOUT' [2021-03-14T22:31:27.821Z]  [2021-03-14T22:31:27.821Z] 0K .......... ......  1.08M=0.01s [2021-03-14T22:31:27.821Z] [2021-03-14T22:31:27.821Z] 2021-03-14 22:31:27 (1.08 MB/s) - written to stdout [16451] [2021-03-14T22:31:27.821Z] [2021-03-14T22:31:27.821Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-03-14T22:31:27.821Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-03-14T22:31:27.821Z] + tar -C deps -z -x -f - [2021-03-14T22:31:27.821Z] --2021-03-14 22:31:27-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-03-14T22:31:27.821Z] Resolving github.com... 140.82.113.4 [2021-03-14T22:31:27.821Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-03-14T22:31:28.053Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-03-14T22:31:28.083Z] HTTP request sent, awaiting response... 302 Found [2021-03-14T22:31:28.083Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-03-14T22:31:28.083Z] --2021-03-14 22:31:27-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-03-14T22:31:28.083Z] Resolving codeload.github.com... 140.82.112.9 [2021-03-14T22:31:28.083Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-03-14T22:31:28.083Z] HTTP request sent, awaiting response... 200 OK [2021-03-14T22:31:28.083Z] Length: unspecified [application/x-gzip] [2021-03-14T22:31:28.083Z] Saving to: 'STDOUT' [2021-03-14T22:31:28.083Z]  [2021-03-14T22:31:28.345Z] 0K .......... .......... .......... .......... .......... 1.49M [2021-03-14T22:31:28.346Z] 50K .......... .......... .......... .......... .......... 3.08M [2021-03-14T22:31:28.346Z] 100K .......... .......... .......... .......... .......... 37.4M [2021-03-14T22:31:28.346Z] 150K .......... .......... ....... 4.53M=0.06s [2021-03-14T22:31:28.346Z] [2021-03-14T22:31:28.346Z] 2021-03-14 22:31:28 (3.10 MB/s) - written to stdout [181796] [2021-03-14T22:31:28.346Z] [2021-03-14T22:31:28.346Z] + mkdir -p src/c/iot [2021-03-14T22:31:28.346Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-03-14T22:31:28.346Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-03-14T22:31:28.346Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-03-14T22:31:28.346Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-03-14T22:31:28.346Z] + mkdir -p include/iot [2021-03-14T22:31:28.346Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-03-14T22:31:28.346Z] + mkdir -p include/iot/os [2021-03-14T22:31:28.346Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-03-14T22:31:28.346Z] + mkdir -p /tmp/sdk/build/release [2021-03-14T22:31:28.346Z] + cd /tmp/sdk/build/release [2021-03-14T22:31:28.346Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-03-14T22:31:28.346Z] -- The C compiler identification is GNU 8.3.0 [2021-03-14T22:31:28.346Z] -- Check for working C compiler: /usr/bin/cc [2021-03-14T22:31:28.608Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-14T22:31:28.608Z] -- Detecting C compiler ABI info [2021-03-14T22:31:28.608Z] -- Detecting C compiler ABI info - done [2021-03-14T22:31:28.608Z] -- Detecting C compile features [2021-03-14T22:31:28.645Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-03-14T22:31:28.870Z] -- Detecting C compile features - done [2021-03-14T22:31:28.870Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-03-14T22:31:28.870Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-03-14T22:31:28.870Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-03-14T22:31:28.870Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-03-14T22:31:28.870Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-03-14T22:31:28.870Z] -- C SDK 0.0.0 for Linux [2021-03-14T22:31:28.870Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-03-14T22:31:28.870Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-03-14T22:31:28.870Z] -- Found Curses: /usr/lib/libcurses.so [2021-03-14T22:31:28.870Z] -- Configuring done [2021-03-14T22:31:28.916Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-03-14T22:31:29.132Z] -- Generating done [2021-03-14T22:31:29.132Z] -- Build files have been written to: /tmp/sdk/build/release [2021-03-14T22:31:29.132Z] + make all package [2021-03-14T22:31:29.132Z] + tee release.log [2021-03-14T22:31:29.132Z] Scanning dependencies of target csdk [2021-03-14T22:31:29.132Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-03-14T22:31:29.394Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-03-14T22:31:29.394Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-03-14T22:31:29.887Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-03-14T22:31:29.971Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-03-14T22:31:29.971Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-03-14T22:31:29.971Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-03-14T22:31:30.158Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-03-14T22:31:30.237Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-03-14T22:31:30.429Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-03-14T22:31:30.701Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-03-14T22:31:30.701Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-03-14T22:31:30.818Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-03-14T22:31:30.818Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-03-14T22:31:31.080Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-03-14T22:31:31.080Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-03-14T22:31:31.293Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-03-14T22:31:31.342Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-03-14T22:31:31.342Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-03-14T22:31:31.342Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-03-14T22:31:31.886Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-03-14T22:31:32.159Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-03-14T22:31:32.294Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-03-14T22:31:32.294Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-03-14T22:31:32.294Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-03-14T22:31:32.294Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-03-14T22:31:32.431Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-03-14T22:31:32.558Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-03-14T22:31:32.820Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-03-14T22:31:33.027Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-03-14T22:31:33.027Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-03-14T22:31:33.298Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-03-14T22:31:33.393Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-03-14T22:31:33.394Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-03-14T22:31:33.394Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-03-14T22:31:33.569Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-03-14T22:31:33.665Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-03-14T22:31:33.665Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-03-14T22:31:33.842Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-03-14T22:31:33.927Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-03-14T22:31:34.114Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-03-14T22:31:34.189Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-03-14T22:31:34.189Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-03-14T22:31:34.386Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-03-14T22:31:34.451Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-03-14T22:31:34.451Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-03-14T22:31:34.657Z] [ 80%] Linking C static library libcbor.a [2021-03-14T22:31:34.658Z] [ 80%] Built target cbor [2021-03-14T22:31:34.658Z] Scanning dependencies of target create_items [2021-03-14T22:31:34.658Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-03-14T22:31:34.931Z] [ 84%] Linking C executable create_items [2021-03-14T22:31:34.931Z] [ 84%] Built target create_items [2021-03-14T22:31:34.931Z] Scanning dependencies of target readfile [2021-03-14T22:31:35.024Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-03-14T22:31:35.024Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-03-14T22:31:35.204Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-03-14T22:31:35.204Z] [ 88%] Linking C executable readfile [2021-03-14T22:31:35.290Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-03-14T22:31:35.291Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-03-14T22:31:35.475Z] [ 88%] Built target readfile [2021-03-14T22:31:35.475Z] Scanning dependencies of target streaming_parser [2021-03-14T22:31:35.475Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-03-14T22:31:35.747Z] [ 92%] Linking C executable streaming_parser [2021-03-14T22:31:35.747Z] [ 92%] Built target streaming_parser [2021-03-14T22:31:35.747Z] Scanning dependencies of target sort [2021-03-14T22:31:35.747Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-03-14T22:31:36.019Z] [ 96%] Linking C executable sort [2021-03-14T22:31:36.019Z] [ 96%] Built target sort [2021-03-14T22:31:36.019Z] Scanning dependencies of target hello [2021-03-14T22:31:36.019Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-03-14T22:31:36.290Z] [100%] Linking C executable hello [2021-03-14T22:31:36.291Z] [100%] Built target hello [2021-03-14T22:31:36.291Z] Install the project... [2021-03-14T22:31:36.291Z] -- Install configuration: "Release" [2021-03-14T22:31:36.291Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-03-14T22:31:36.291Z] -- Installing: /usr/local/lib64/libcbor.a [2021-03-14T22:31:36.291Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/lib64/libcbor.so [2021-03-14T22:31:36.562Z] -- Up-to-date: /usr/local/include/cbor [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/ints.h [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/data.h [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/common.h [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/strings.h [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/tags.h [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/internal [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-03-14T22:31:36.562Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-03-14T22:31:36.563Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-03-14T22:31:36.563Z] -- Installing: /usr/local/include/cbor/maps.h [2021-03-14T22:31:36.563Z] -- Installing: /usr/local/include/cbor.h [2021-03-14T22:31:36.563Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-03-14T22:31:36.681Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-03-14T22:31:36.681Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-03-14T22:31:36.681Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-03-14T22:31:36.681Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-03-14T22:31:36.944Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-03-14T22:31:37.518Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-03-14T22:31:37.781Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-03-14T22:31:38.533Z] Removing intermediate container 3342840d8046 [2021-03-14T22:31:38.533Z] ---> df68cdeea989 [2021-03-14T22:31:38.534Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-03-14T22:31:38.726Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-03-14T22:31:38.806Z] ---> Running in 0540c405b08b [2021-03-14T22:31:38.988Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-03-14T22:31:38.988Z] [ 73%] Linking C shared library libcsdk.so [2021-03-14T22:31:38.988Z] [ 73%] Built target csdk [2021-03-14T22:31:38.988Z] Scanning dependencies of target template [2021-03-14T22:31:38.988Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-03-14T22:31:39.249Z] [ 76%] Linking C executable template [2021-03-14T22:31:39.249Z] [ 76%] Built target template [2021-03-14T22:31:39.249Z] Scanning dependencies of target device-counter [2021-03-14T22:31:39.249Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-03-14T22:31:39.511Z] [ 80%] Linking C executable device-counter [2021-03-14T22:31:39.511Z] [ 80%] Built target device-counter [2021-03-14T22:31:39.511Z] Scanning dependencies of target device-random [2021-03-14T22:31:39.511Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-03-14T22:31:39.772Z] [ 83%] Linking C executable device-random [2021-03-14T22:31:40.035Z] [ 83%] Built target device-random [2021-03-14T22:31:40.035Z] Scanning dependencies of target device-gyro [2021-03-14T22:31:40.035Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-03-14T22:31:40.035Z] [ 86%] Linking C executable device-gyro [2021-03-14T22:31:40.296Z] [ 86%] Built target device-gyro [2021-03-14T22:31:40.296Z] Scanning dependencies of target device-bitfields [2021-03-14T22:31:40.296Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-03-14T22:31:40.296Z] [ 90%] Linking C executable device-bitfields [2021-03-14T22:31:40.560Z] [ 90%] Built target device-bitfields [2021-03-14T22:31:40.560Z] Scanning dependencies of target template-discovery [2021-03-14T22:31:40.560Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-03-14T22:31:40.560Z] [ 93%] Linking C executable template-discovery [2021-03-14T22:31:40.784Z] Removing intermediate container 0540c405b08b [2021-03-14T22:31:40.784Z] ---> 7c924fac443e [2021-03-14T22:31:40.784Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-03-14T22:31:40.820Z] [ 93%] Built target template-discovery [2021-03-14T22:31:40.821Z] Scanning dependencies of target device-file [2021-03-14T22:31:40.821Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-03-14T22:31:40.821Z] [ 96%] Linking C executable device-file [2021-03-14T22:31:41.082Z] [ 96%] Built target device-file [2021-03-14T22:31:41.082Z] Scanning dependencies of target device-terminal [2021-03-14T22:31:41.082Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-03-14T22:31:41.082Z] [100%] Linking C executable device-terminal [2021-03-14T22:31:41.344Z] [100%] Built target device-terminal [2021-03-14T22:31:41.344Z] Run CPack packaging tool... [2021-03-14T22:31:41.344Z] CPack: Create package using TGZ [2021-03-14T22:31:41.344Z] CPack: Install projects [2021-03-14T22:31:41.344Z] CPack: - Run preinstall target for: Csdk [2021-03-14T22:31:41.378Z] ---> 8ec41e623c09 [2021-03-14T22:31:41.378Z] Step 8/21 : COPY src /tmp/sdk/src [2021-03-14T22:31:41.606Z] CPack: - Install project: Csdk [2021-03-14T22:31:41.606Z] CPack: Create package [2021-03-14T22:31:41.606Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-03-14T22:31:41.606Z] + '[' false '=' true ] [2021-03-14T22:31:41.606Z] + '[' false '=' true ] [2021-03-14T22:31:41.606Z] + mkdir -p /tmp/sdk/build/debug [2021-03-14T22:31:41.606Z] + cd /tmp/sdk/build/debug [2021-03-14T22:31:41.606Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-03-14T22:31:41.606Z] -- The C compiler identification is GNU 8.3.0 [2021-03-14T22:31:41.606Z] -- Check for working C compiler: /usr/bin/cc [2021-03-14T22:31:41.868Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-14T22:31:41.868Z] -- Detecting C compiler ABI info [2021-03-14T22:31:41.868Z] -- Detecting C compiler ABI info - done [2021-03-14T22:31:41.868Z] -- Detecting C compile features [2021-03-14T22:31:42.131Z] -- Detecting C compile features - done [2021-03-14T22:31:42.131Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-03-14T22:31:42.131Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-03-14T22:31:42.131Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-03-14T22:31:42.131Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-03-14T22:31:42.131Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-03-14T22:31:42.131Z] -- C SDK 0.0.0 for Linux [2021-03-14T22:31:42.131Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-03-14T22:31:42.131Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-03-14T22:31:42.131Z] -- Found Curses: /usr/lib/libcurses.so [2021-03-14T22:31:42.131Z] -- Configuring done [2021-03-14T22:31:42.351Z] ---> aee0b2ad592f [2021-03-14T22:31:42.351Z] Step 9/21 : COPY include /tmp/sdk/include [2021-03-14T22:31:42.392Z] -- Generating done [2021-03-14T22:31:42.392Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-03-14T22:31:42.392Z] + make [2021-03-14T22:31:42.392Z] + tee debug.log [2021-03-14T22:31:42.392Z] Scanning dependencies of target csdk [2021-03-14T22:31:42.392Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-03-14T22:31:42.392Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-03-14T22:31:42.655Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-03-14T22:31:42.655Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-03-14T22:31:42.917Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-03-14T22:31:42.917Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-03-14T22:31:42.917Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-03-14T22:31:42.946Z] ---> 6284f1b6e774 [2021-03-14T22:31:42.947Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-03-14T22:31:43.180Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-03-14T22:31:43.180Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-03-14T22:31:43.443Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-03-14T22:31:43.443Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-03-14T22:31:43.443Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-03-14T22:31:43.443Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-03-14T22:31:43.542Z] ---> 1a2d802758f4 [2021-03-14T22:31:43.542Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-03-14T22:31:43.705Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-03-14T22:31:43.705Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-03-14T22:31:43.968Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-03-14T22:31:43.968Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-03-14T22:31:43.968Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-03-14T22:31:43.968Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-03-14T22:31:44.235Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-03-14T22:31:44.497Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-03-14T22:31:44.497Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-03-14T22:31:44.497Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-03-14T22:31:44.497Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-03-14T22:31:44.519Z] ---> b14d642e8717 [2021-03-14T22:31:44.519Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-03-14T22:31:44.760Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-03-14T22:31:44.760Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-03-14T22:31:44.760Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-03-14T22:31:44.760Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-03-14T22:31:45.026Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-03-14T22:31:45.026Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-03-14T22:31:45.026Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-03-14T22:31:45.026Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-03-14T22:31:45.113Z] ---> 6805e6383261 [2021-03-14T22:31:45.113Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-03-14T22:31:45.113Z] ---> Running in 74292a9f06e2 [2021-03-14T22:31:45.287Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-03-14T22:31:45.288Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-03-14T22:31:45.550Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-03-14T22:31:45.816Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-03-14T22:31:45.816Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-03-14T22:31:45.816Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-03-14T22:31:46.079Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-03-14T22:31:46.096Z] + CPPCHECK=false [2021-03-14T22:31:46.096Z] + DOCGEN=false [2021-03-14T22:31:46.096Z] + TOMLVER=SDK-0.2 [2021-03-14T22:31:46.096Z] + CUTILVER=1.1.4 [2021-03-14T22:31:46.096Z] + '[' 0 -gt 0 ] [2021-03-14T22:31:46.096Z] + readlink -f ./scripts/build.sh [2021-03-14T22:31:46.096Z] + dirname /tmp/sdk/scripts/build.sh [2021-03-14T22:31:46.096Z] + dirname /tmp/sdk/scripts [2021-03-14T22:31:46.096Z] + ROOT=/tmp/sdk [2021-03-14T22:31:46.096Z] + cd /tmp/sdk [2021-03-14T22:31:46.096Z] + '[' '!' -d deps ] [2021-03-14T22:31:46.096Z] + mkdir deps [2021-03-14T22:31:46.096Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-03-14T22:31:46.096Z] + tar -C deps -z -x -f - [2021-03-14T22:31:46.096Z] --2021-03-14 22:31:46-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-03-14T22:31:46.344Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-03-14T22:31:46.344Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-03-14T22:31:46.366Z] Resolving github.com... 140.82.113.4 [2021-03-14T22:31:46.366Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-03-14T22:31:46.366Z] HTTP request sent, awaiting response... 302 Found [2021-03-14T22:31:46.366Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-03-14T22:31:46.366Z] --2021-03-14 22:31:46-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-03-14T22:31:46.366Z] Resolving codeload.github.com... 140.82.112.9 [2021-03-14T22:31:46.366Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-03-14T22:31:46.366Z] HTTP request sent, awaiting response... 200 OK [2021-03-14T22:31:46.366Z] Length: unspecified [application/x-gzip] [2021-03-14T22:31:46.366Z] Saving to: 'STDOUT' [2021-03-14T22:31:46.366Z]  [2021-03-14T22:31:46.366Z] 0K .......... ......    879K=0.02s [2021-03-14T22:31:46.366Z] [2021-03-14T22:31:46.366Z] 2021-03-14 22:31:46 (879 KB/s) - written to stdout [16451] [2021-03-14T22:31:46.366Z] [2021-03-14T22:31:46.366Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-03-14T22:31:46.366Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-03-14T22:31:46.366Z] + tar -C deps -z -x -f - [2021-03-14T22:31:46.366Z] --2021-03-14 22:31:46-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-03-14T22:31:46.613Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-03-14T22:31:46.613Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-03-14T22:31:46.637Z] Resolving github.com... 140.82.113.4 [2021-03-14T22:31:46.637Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-03-14T22:31:46.637Z] HTTP request sent, awaiting response... 302 Found [2021-03-14T22:31:46.637Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-03-14T22:31:46.637Z] --2021-03-14 22:31:46-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-03-14T22:31:46.637Z] Resolving codeload.github.com... 140.82.112.9 [2021-03-14T22:31:46.637Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-03-14T22:31:46.637Z] HTTP request sent, awaiting response... 200 OK [2021-03-14T22:31:46.637Z] Length: unspecified [application/x-gzip] [2021-03-14T22:31:46.637Z] Saving to: 'STDOUT' [2021-03-14T22:31:46.637Z]  [2021-03-14T22:31:46.637Z] 0K .......... .......... .......... .......... .......... 1.46M [2021-03-14T22:31:46.637Z] 50K .......... .......... .......... .......... .......... 3.09M [2021-03-14T22:31:46.637Z] 100K .......... .......... .......... .......... .......... 4.40M [2021-03-14T22:31:46.637Z] 150K .......... .......... .......  1.35M=0.08s [2021-03-14T22:31:46.637Z] [2021-03-14T22:31:46.637Z] 2021-03-14 22:31:46 (2.16 MB/s) - written to stdout [181796] [2021-03-14T22:31:46.637Z] [2021-03-14T22:31:46.876Z] [ 73%] Linking C shared library libcsdk.so [2021-03-14T22:31:46.876Z] [ 73%] Built target csdk [2021-03-14T22:31:46.876Z] Scanning dependencies of target template [2021-03-14T22:31:46.876Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-03-14T22:31:46.876Z] [ 76%] Linking C executable template [2021-03-14T22:31:46.876Z] [ 76%] Built target template [2021-03-14T22:31:46.876Z] Scanning dependencies of target device-counter [2021-03-14T22:31:46.876Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-03-14T22:31:46.910Z] + mkdir -p src/c/iot [2021-03-14T22:31:46.910Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-03-14T22:31:46.910Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-03-14T22:31:46.910Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-03-14T22:31:46.910Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-03-14T22:31:46.910Z] + mkdir -p include/iot [2021-03-14T22:31:46.910Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-03-14T22:31:46.910Z] + mkdir -p include/iot/os [2021-03-14T22:31:46.910Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-03-14T22:31:46.910Z] + mkdir -p /tmp/sdk/build/release [2021-03-14T22:31:46.910Z] + cd /tmp/sdk/build/release [2021-03-14T22:31:46.910Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-03-14T22:31:47.138Z] [ 80%] Linking C executable device-counter [2021-03-14T22:31:47.139Z] [ 80%] Built target device-counter [2021-03-14T22:31:47.139Z] Scanning dependencies of target device-random [2021-03-14T22:31:47.139Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-03-14T22:31:47.139Z] [ 83%] Linking C executable device-random [2021-03-14T22:31:47.185Z] -- The C compiler identification is GNU 8.3.0 [2021-03-14T22:31:47.185Z] -- Check for working C compiler: /usr/bin/cc [2021-03-14T22:31:47.400Z] [ 83%] Built target device-random [2021-03-14T22:31:47.400Z] Scanning dependencies of target device-gyro [2021-03-14T22:31:47.400Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-03-14T22:31:47.400Z] [ 86%] Linking C executable device-gyro [2021-03-14T22:31:47.400Z] [ 86%] Built target device-gyro [2021-03-14T22:31:47.400Z] Scanning dependencies of target device-bitfields [2021-03-14T22:31:47.400Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-03-14T22:31:47.457Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-14T22:31:47.457Z] -- Detecting C compiler ABI info [2021-03-14T22:31:47.662Z] [ 90%] Linking C executable device-bitfields [2021-03-14T22:31:47.663Z] [ 90%] Built target device-bitfields [2021-03-14T22:31:47.663Z] Scanning dependencies of target template-discovery [2021-03-14T22:31:47.663Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-03-14T22:31:47.663Z] [ 93%] Linking C executable template-discovery [2021-03-14T22:31:47.731Z] -- Detecting C compiler ABI info - done [2021-03-14T22:31:47.731Z] -- Detecting C compile features [2021-03-14T22:31:47.924Z] [ 93%] Built target template-discovery [2021-03-14T22:31:47.924Z] Scanning dependencies of target device-file [2021-03-14T22:31:47.924Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-03-14T22:31:47.924Z] [ 96%] Linking C executable device-file [2021-03-14T22:31:47.924Z] [ 96%] Built target device-file [2021-03-14T22:31:47.924Z] Scanning dependencies of target device-terminal [2021-03-14T22:31:47.924Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-03-14T22:31:48.186Z] [100%] Linking C executable device-terminal [2021-03-14T22:31:48.186Z] [100%] Built target device-terminal [2021-03-14T22:31:48.186Z] make: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.186Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.186Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.186Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.186Z] [ 73%] Built target csdk [2021-03-14T22:31:48.186Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.186Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.186Z] [ 76%] Built target template [2021-03-14T22:31:48.186Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.186Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.186Z] [ 80%] Built target device-counter [2021-03-14T22:31:48.186Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.186Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.186Z] [ 83%] Built target device-random [2021-03-14T22:31:48.186Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.186Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.186Z] [ 86%] Built target device-gyro [2021-03-14T22:31:48.329Z] -- Detecting C compile features - done [2021-03-14T22:31:48.329Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-03-14T22:31:48.329Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-03-14T22:31:48.329Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-03-14T22:31:48.329Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-03-14T22:31:48.329Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-03-14T22:31:48.329Z] -- C SDK 0.0.0 for Linux [2021-03-14T22:31:48.329Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-03-14T22:31:48.456Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.456Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.456Z] [ 90%] Built target device-bitfields [2021-03-14T22:31:48.456Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.456Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.456Z] [ 93%] Built target template-discovery [2021-03-14T22:31:48.456Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.456Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.456Z] [ 96%] Built target device-file [2021-03-14T22:31:48.456Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.456Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.456Z] [100%] Built target device-terminal [2021-03-14T22:31:48.456Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.456Z] Install the project... [2021-03-14T22:31:48.456Z] -- Install configuration: "Release" [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/lib/libcsdk.so [2021-03-14T22:31:48.456Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-03-14T22:31:48.456Z] -- Up-to-date: /usr/local/include [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/devsdk [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/edgex [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/edgex/devices.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/base64.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/component.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/config.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/container.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/data.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/hash.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/iot.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/json.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/logger.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/os.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/thread.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/time.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/typecode.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/os [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/include/iot/defs.h [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-03-14T22:31:48.456Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-03-14T22:31:48.456Z] make: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:31:48.600Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-03-14T22:31:48.600Z] -- Found Curses: /usr/lib/libcurses.so [2021-03-14T22:31:48.872Z] -- Configuring done [2021-03-14T22:31:49.146Z] -- Generating done [2021-03-14T22:31:49.146Z] -- Build files have been written to: /tmp/sdk/build/release [2021-03-14T22:31:49.146Z] + make all package [2021-03-14T22:31:49.146Z] + tee release.log [2021-03-14T22:31:49.146Z] Scanning dependencies of target csdk [2021-03-14T22:31:49.417Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-03-14T22:31:50.008Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-03-14T22:31:50.282Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-03-14T22:31:51.019Z] Removing intermediate container 43a01603f134 [2021-03-14T22:31:51.019Z] ---> 779fd19e1bd1 [2021-03-14T22:31:51.019Z] Step 14/21 : FROM ${BASE} [2021-03-14T22:31:51.019Z] ---> 5eabd8fd8ba2 [2021-03-14T22:31:51.019Z] Step 15/21 : LABEL maintainer="IOTech " [2021-03-14T22:31:51.019Z] ---> Running in b9fcefde3253 [2021-03-14T22:31:51.019Z] Removing intermediate container b9fcefde3253 [2021-03-14T22:31:51.019Z] ---> bd3f6fc0a01d [2021-03-14T22:31:51.019Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-03-14T22:31:51.019Z] ---> Running in 7a8bd8c353ea [2021-03-14T22:31:51.592Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-03-14T22:31:52.246Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-03-14T22:31:52.539Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-03-14T22:31:52.802Z] (1/3) Installing curl (7.64.0-r5) [2021-03-14T22:31:52.802Z] (2/3) Installing libuuid (2.33-r0) [2021-03-14T22:31:52.802Z] (3/3) Installing wget (1.20.3-r0) [2021-03-14T22:31:52.837Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-03-14T22:31:52.837Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-03-14T22:31:53.064Z] Executing busybox-1.29.3-r10.trigger [2021-03-14T22:31:53.064Z] OK: 268 MiB in 78 packages [2021-03-14T22:31:53.327Z] Removing intermediate container 7a8bd8c353ea [2021-03-14T22:31:53.327Z] ---> 208b19bed147 [2021-03-14T22:31:53.327Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-03-14T22:31:53.589Z] ---> fb98d1899df7 [2021-03-14T22:31:53.589Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-03-14T22:31:53.812Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-03-14T22:31:53.850Z] ---> 143e1c5f69bd [2021-03-14T22:31:53.851Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-03-14T22:31:54.113Z] ---> f1151fa3ff3f [2021-03-14T22:31:54.113Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-03-14T22:31:54.375Z] ---> fec6c152869e [2021-03-14T22:31:54.375Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-03-14T22:31:54.638Z] ---> aa808099fc4c [2021-03-14T22:31:54.638Z] Successfully built aa808099fc4c [2021-03-14T22:31:54.638Z] 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-03-14T22:31:55.239Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-03-14T22:31:55.340Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-14T22:31:55.340Z] . [Pipeline] withDockerContainer [2021-03-14T22:31:55.445Z] prd-centos7-docker-4c-2g-29749 does not seem to be running inside a container [2021-03-14T22:31:55.498Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-14T22:31:55.830Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-03-14T22:31:56.147Z] $ docker top 0093ddc34b62ff3528d126a066a0e1486c9a416110e582c2cc32097fc4db7f13 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-14T22:31:56.421Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-03-14T22:31:56.616Z] + make test [2021-03-14T22:31:56.616Z] echo "make test" [2021-03-14T22:31:56.616Z] make test [Pipeline] } [2021-03-14T22:31:56.632Z] $ docker stop --time=1 0093ddc34b62ff3528d126a066a0e1486c9a416110e582c2cc32097fc4db7f13 [2021-03-14T22:31:57.014Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-03-14T22:31:57.286Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-03-14T22:31:57.559Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-03-14T22:31:57.559Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-03-14T22:31:57.975Z] $ docker rm -f 0093ddc34b62ff3528d126a066a0e1486c9a416110e582c2cc32097fc4db7f13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-14T22:32:00.942Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-03-14T22:32:00.942Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-03-14T22:32:00.942Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-03-14T22:32:01.213Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-03-14T22:32:01.220Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-14T22:32:01.528Z] + ls -al . [2021-03-14T22:32:01.528Z] total 160 [2021-03-14T22:32:01.528Z] drwxrwxr-x. 8 jenkins jenkins 260 Mar 14 22:30 . [2021-03-14T22:32:01.528Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 14 22:30 .. [2021-03-14T22:32:01.528Z] -rw-rw-r--. 1 jenkins jenkins 3104 Mar 14 22:30 Attribution.txt [2021-03-14T22:32:01.528Z] -rw-rw-r--. 1 jenkins jenkins 7129 Mar 14 22:30 CHANGES [2021-03-14T22:32:01.528Z] drwxrwxr-x. 2 jenkins jenkins 121 Mar 14 22:30 docs [2021-03-14T22:32:01.528Z] -rw-rw-r--. 1 jenkins jenkins 108574 Mar 14 22:30 Doxyfile [2021-03-14T22:32:01.528Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 14 22:30 .git [2021-03-14T22:32:01.528Z] drwxrwxr-x. 2 jenkins jenkins 81 Mar 14 22:30 .github [2021-03-14T22:32:01.528Z] -rw-rw-r--. 1 jenkins jenkins 176 Mar 14 22:30 .gitignore [2021-03-14T22:32:01.528Z] drwxrwxr-x. 4 jenkins jenkins 33 Mar 14 22:30 include [2021-03-14T22:32:01.528Z] -rw-rw-r--. 1 jenkins jenkins 784 Mar 14 22:30 Jenkinsfile [2021-03-14T22:32:01.528Z] -rw-rw-r--. 1 jenkins jenkins 10174 Mar 14 22:30 LICENSE [2021-03-14T22:32:01.528Z] -rw-rw-r--. 1 jenkins jenkins 444 Mar 14 22:30 Makefile [2021-03-14T22:32:01.528Z] -rw-rw-r--. 1 jenkins jenkins 2694 Mar 14 22:30 README.md [2021-03-14T22:32:01.528Z] -rw-rw-r--. 1 jenkins jenkins 6654 Mar 14 22:30 README.v2.md [2021-03-14T22:32:01.528Z] drwxrwxr-x. 2 jenkins jenkins 98 Mar 14 22:30 scripts [2021-03-14T22:32:01.528Z] drwxrwxr-x. 4 jenkins jenkins 50 Mar 14 22:30 src [2021-03-14T22:32:01.528Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 14 22:28 VERSION [Pipeline] isUnix [Pipeline] sh [2021-03-14T22:32:01.806Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-03-14T22:32:01.844Z] + 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=5ed6e76d2baa0cb6c47fd743d8659d4565179b84 --label arch=amd64 --label version=0.0.0 . [2021-03-14T22:32:01.844Z] Sending build context to Docker daemon 2.521MB [2021-03-14T22:32:01.844Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-03-14T22:32:01.844Z] Step 2/15 : FROM ${BASE} [2021-03-14T22:32:01.844Z] ---> aa808099fc4c [2021-03-14T22:32:01.844Z] Step 3/15 : LABEL maintainer="IOTech " [2021-03-14T22:32:02.398Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-03-14T22:32:02.795Z] ---> Running in 787a3ae29591 [2021-03-14T22:32:02.795Z] Removing intermediate container 787a3ae29591 [2021-03-14T22:32:02.795Z] ---> 7172b2a352ca [2021-03-14T22:32:02.795Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2021-03-14T22:32:02.795Z] ---> Running in 1b143c6fd337 [2021-03-14T22:32:03.740Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-03-14T22:32:04.315Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-03-14T22:32:04.577Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-03-14T22:32:04.577Z] (2/6) Installing libblkid (2.33-r0) [2021-03-14T22:32:04.839Z] (3/6) Installing libfdisk (2.33-r0) [2021-03-14T22:32:04.839Z] (4/6) Installing libmount (2.33-r0) [2021-03-14T22:32:04.839Z] (5/6) Installing libsmartcols (2.33-r0) [2021-03-14T22:32:05.004Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-03-14T22:32:05.004Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-03-14T22:32:05.004Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-03-14T22:32:05.101Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-03-14T22:32:05.365Z] Executing busybox-1.29.3-r10.trigger [2021-03-14T22:32:05.365Z] OK: 272 MiB in 84 packages [2021-03-14T22:32:05.597Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-03-14T22:32:05.938Z] Removing intermediate container 1b143c6fd337 [2021-03-14T22:32:05.938Z] ---> 0fafece0bfd5 [2021-03-14T22:32:05.938Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-03-14T22:32:05.938Z] ---> 618c7a843261 [2021-03-14T22:32:05.938Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-03-14T22:32:06.188Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-03-14T22:32:06.188Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-03-14T22:32:06.883Z] ---> 13f2661b3ed6 [2021-03-14T22:32:06.883Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-03-14T22:32:07.146Z] ---> 0951b15684a6 [2021-03-14T22:32:07.146Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-03-14T22:32:07.146Z] ---> fc7be20e6b5f [2021-03-14T22:32:07.146Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-03-14T22:32:07.160Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-03-14T22:32:07.410Z] ---> bacbd42424fe [2021-03-14T22:32:07.410Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-03-14T22:32:07.434Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-03-14T22:32:07.675Z] ---> 981c1e6b1473 [2021-03-14T22:32:07.675Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-03-14T22:32:07.675Z] ---> Running in fe6bfffae449 [2021-03-14T22:32:07.937Z] Removing intermediate container fe6bfffae449 [2021-03-14T22:32:07.937Z] ---> c71e25149eb1 [2021-03-14T22:32:07.937Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-03-14T22:32:07.937Z] ---> Running in 61c715603e7a [2021-03-14T22:32:08.026Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-03-14T22:32:08.199Z] Removing intermediate container 61c715603e7a [2021-03-14T22:32:08.199Z] ---> 7c0465500e9d [2021-03-14T22:32:08.199Z] Step 13/15 : LABEL arch=amd64 [2021-03-14T22:32:08.199Z] ---> Running in d7e0fad98d54 [2021-03-14T22:32:08.297Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-03-14T22:32:08.523Z] Removing intermediate container d7e0fad98d54 [2021-03-14T22:32:08.523Z] ---> 44d4feb7d2b6 [2021-03-14T22:32:08.523Z] Step 14/15 : LABEL git_sha=5ed6e76d2baa0cb6c47fd743d8659d4565179b84 [2021-03-14T22:32:08.523Z] ---> Running in 8c94a6d4791a [2021-03-14T22:32:08.523Z] Removing intermediate container 8c94a6d4791a [2021-03-14T22:32:08.523Z] ---> 735d1bb2d7d1 [2021-03-14T22:32:08.523Z] Step 15/15 : LABEL version=0.0.0 [2021-03-14T22:32:08.818Z] ---> Running in 430f948d55cd [2021-03-14T22:32:08.818Z] Removing intermediate container 430f948d55cd [2021-03-14T22:32:08.818Z] ---> dad22ac0bc70 [2021-03-14T22:32:08.818Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-14T22:32:08.818Z] Successfully built dad22ac0bc70 [2021-03-14T22:32:08.818Z] 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-03-14T22:32:10.301Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-03-14T22:32:10.572Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-03-14T22:32:11.546Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-03-14T22:32:11.546Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-03-14T22:32:15.838Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-03-14T22:32:16.110Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-03-14T22:32:16.381Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-03-14T22:32:16.974Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-03-14T22:32:17.566Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-03-14T22:32:19.532Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-03-14T22:32:20.957Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-03-14T22:32:24.329Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-03-14T22:32:24.601Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-03-14T22:32:25.193Z] [ 73%] Linking C shared library libcsdk.so [2021-03-14T22:32:25.193Z] [ 73%] Built target csdk [2021-03-14T22:32:25.193Z] Scanning dependencies of target template [2021-03-14T22:32:25.193Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-03-14T22:32:25.787Z] [ 76%] Linking C executable template [2021-03-14T22:32:26.059Z] [ 76%] Built target template [2021-03-14T22:32:26.059Z] Scanning dependencies of target device-counter [2021-03-14T22:32:26.059Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-03-14T22:32:26.655Z] [ 80%] Linking C executable device-counter [2021-03-14T22:32:26.928Z] [ 80%] Built target device-counter [2021-03-14T22:32:26.928Z] Scanning dependencies of target device-random [2021-03-14T22:32:26.928Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-03-14T22:32:27.201Z] [ 83%] Linking C executable device-random [2021-03-14T22:32:27.473Z] [ 83%] Built target device-random [2021-03-14T22:32:27.473Z] Scanning dependencies of target device-gyro [2021-03-14T22:32:27.473Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-03-14T22:32:28.066Z] [ 86%] Linking C executable device-gyro [2021-03-14T22:32:28.066Z] [ 86%] Built target device-gyro [2021-03-14T22:32:28.066Z] Scanning dependencies of target device-bitfields [2021-03-14T22:32:28.351Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-03-14T22:32:28.628Z] [ 90%] Linking C executable device-bitfields [2021-03-14T22:32:28.904Z] [ 90%] Built target device-bitfields [2021-03-14T22:32:28.904Z] Scanning dependencies of target template-discovery [2021-03-14T22:32:28.904Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-03-14T22:32:29.500Z] [ 93%] Linking C executable template-discovery [2021-03-14T22:32:29.772Z] [ 93%] Built target template-discovery [2021-03-14T22:32:29.772Z] Scanning dependencies of target device-file [2021-03-14T22:32:29.772Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-03-14T22:32:30.366Z] [ 96%] Linking C executable device-file [2021-03-14T22:32:30.638Z] [ 96%] Built target device-file [2021-03-14T22:32:30.638Z] Scanning dependencies of target device-terminal [2021-03-14T22:32:30.638Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-03-14T22:32:31.231Z] [100%] Linking C executable device-terminal [2021-03-14T22:32:31.231Z] [100%] Built target device-terminal [2021-03-14T22:32:31.504Z] Run CPack packaging tool... [2021-03-14T22:32:31.504Z] CPack: Create package using TGZ [2021-03-14T22:32:31.504Z] CPack: Install projects [2021-03-14T22:32:31.504Z] CPack: - Run preinstall target for: Csdk [2021-03-14T22:32:32.097Z] CPack: - Install project: Csdk [2021-03-14T22:32:32.097Z] CPack: Create package [2021-03-14T22:32:32.097Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-03-14T22:32:32.097Z] + '[' false '=' true ] [2021-03-14T22:32:32.097Z] + '[' false '=' true ] [2021-03-14T22:32:32.097Z] + mkdir -p /tmp/sdk/build/debug [2021-03-14T22:32:32.097Z] + cd /tmp/sdk/build/debug [2021-03-14T22:32:32.097Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-03-14T22:32:32.371Z] -- The C compiler identification is GNU 8.3.0 [2021-03-14T22:32:32.371Z] -- Check for working C compiler: /usr/bin/cc [2021-03-14T22:32:32.644Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-14T22:32:32.644Z] -- Detecting C compiler ABI info [2021-03-14T22:32:32.914Z] -- Detecting C compiler ABI info - done [2021-03-14T22:32:32.914Z] -- Detecting C compile features [2021-03-14T22:32:33.891Z] -- Detecting C compile features - done [2021-03-14T22:32:33.891Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-03-14T22:32:33.891Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-03-14T22:32:33.891Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-03-14T22:32:33.891Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-03-14T22:32:33.891Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-03-14T22:32:33.891Z] -- C SDK 0.0.0 for Linux [2021-03-14T22:32:33.891Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-03-14T22:32:33.891Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-03-14T22:32:33.891Z] -- Found Curses: /usr/lib/libcurses.so [2021-03-14T22:32:34.162Z] -- Configuring done [2021-03-14T22:32:34.434Z] -- Generating done [2021-03-14T22:32:34.434Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-03-14T22:32:34.434Z] + make [2021-03-14T22:32:34.434Z] + tee debug.log [2021-03-14T22:32:34.434Z] Scanning dependencies of target csdk [2021-03-14T22:32:34.707Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-03-14T22:32:34.979Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-03-14T22:32:35.251Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-03-14T22:32:35.845Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-03-14T22:32:36.124Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-03-14T22:32:36.124Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-03-14T22:32:36.717Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-03-14T22:32:37.313Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-03-14T22:32:37.313Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-03-14T22:32:37.907Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-03-14T22:32:37.907Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-03-14T22:32:38.181Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-03-14T22:32:38.454Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-03-14T22:32:38.727Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-03-14T22:32:39.321Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-03-14T22:32:39.593Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-03-14T22:32:39.593Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-03-14T22:32:39.865Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-03-14T22:32:40.137Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-03-14T22:32:40.410Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-03-14T22:32:41.384Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-03-14T22:32:41.384Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-03-14T22:32:41.656Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-03-14T22:32:41.656Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-03-14T22:32:41.929Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-03-14T22:32:42.203Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-03-14T22:32:42.474Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-03-14T22:32:42.747Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-03-14T22:32:43.018Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-03-14T22:32:43.019Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-03-14T22:32:43.615Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-03-14T22:32:43.615Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-03-14T22:32:44.211Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-03-14T22:32:44.211Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-03-14T22:32:45.186Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-03-14T22:32:45.457Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-03-14T22:32:45.729Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-03-14T22:32:46.001Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-03-14T22:32:46.275Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-03-14T22:32:47.247Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-03-14T22:32:47.854Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-03-14T22:32:48.447Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-03-14T22:32:48.719Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-03-14T22:32:48.992Z] [ 73%] Linking C shared library libcsdk.so [2021-03-14T22:32:49.264Z] [ 73%] Built target csdk [2021-03-14T22:32:49.264Z] Scanning dependencies of target template [2021-03-14T22:32:49.264Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-03-14T22:32:49.537Z] [ 76%] Linking C executable template [2021-03-14T22:32:49.811Z] [ 76%] Built target template [2021-03-14T22:32:49.811Z] Scanning dependencies of target device-counter [2021-03-14T22:32:49.811Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-03-14T22:32:50.086Z] [ 80%] Linking C executable device-counter [2021-03-14T22:32:50.362Z] [ 80%] Built target device-counter [2021-03-14T22:32:50.362Z] Scanning dependencies of target device-random [2021-03-14T22:32:50.362Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-03-14T22:32:50.635Z] [ 83%] Linking C executable device-random [2021-03-14T22:32:50.635Z] [ 83%] Built target device-random [2021-03-14T22:32:50.909Z] Scanning dependencies of target device-gyro [2021-03-14T22:32:50.909Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-03-14T22:32:50.909Z] [ 86%] Linking C executable device-gyro [2021-03-14T22:32:51.181Z] [ 86%] Built target device-gyro [2021-03-14T22:32:51.181Z] Scanning dependencies of target device-bitfields [2021-03-14T22:32:51.181Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-03-14T22:32:51.457Z] [ 90%] Linking C executable device-bitfields [2021-03-14T22:32:51.729Z] [ 90%] Built target device-bitfields [2021-03-14T22:32:51.729Z] Scanning dependencies of target template-discovery [2021-03-14T22:32:51.729Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-03-14T22:32:52.001Z] [ 93%] Linking C executable template-discovery [2021-03-14T22:32:52.273Z] [ 93%] Built target template-discovery [2021-03-14T22:32:52.273Z] Scanning dependencies of target device-file [2021-03-14T22:32:52.273Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-03-14T22:32:52.546Z] [ 96%] Linking C executable device-file [2021-03-14T22:32:52.819Z] [ 96%] Built target device-file [2021-03-14T22:32:52.819Z] Scanning dependencies of target device-terminal [2021-03-14T22:32:52.819Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-03-14T22:32:53.095Z] [100%] Linking C executable device-terminal [2021-03-14T22:32:53.368Z] [100%] Built target device-terminal [2021-03-14T22:32:53.368Z] make: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.368Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.368Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.642Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.642Z] [ 73%] Built target csdk [2021-03-14T22:32:53.642Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.642Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.642Z] [ 76%] Built target template [2021-03-14T22:32:53.642Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.642Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.642Z] [ 80%] Built target device-counter [2021-03-14T22:32:53.642Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.642Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.642Z] [ 83%] Built target device-random [2021-03-14T22:32:53.642Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.642Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.642Z] [ 86%] Built target device-gyro [2021-03-14T22:32:53.642Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.642Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.915Z] [ 90%] Built target device-bitfields [2021-03-14T22:32:53.915Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.915Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.915Z] [ 93%] Built target template-discovery [2021-03-14T22:32:53.915Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.915Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.915Z] [ 96%] Built target device-file [2021-03-14T22:32:53.915Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.915Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.915Z] [100%] Built target device-terminal [2021-03-14T22:32:53.915Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:32:53.915Z] Install the project... [2021-03-14T22:32:53.915Z] -- Install configuration: "Release" [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/lib/libcsdk.so [2021-03-14T22:32:53.915Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-03-14T22:32:53.915Z] -- Up-to-date: /usr/local/include [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/edgex [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/edgex/devices.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/devsdk [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/json.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/container.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/component.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/typecode.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/iot.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/time.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/hash.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/logger.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/os [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/data.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/thread.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/os.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/base64.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/defs.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/include/iot/config.h [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-03-14T22:32:53.915Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-03-14T22:32:53.915Z] make: Leaving directory '/tmp/sdk/build/release' [2021-03-14T22:32:56.536Z] Removing intermediate container 74292a9f06e2 [2021-03-14T22:32:56.536Z] ---> 7001b032f165 [2021-03-14T22:32:56.536Z] Step 14/21 : FROM ${BASE} [2021-03-14T22:32:56.536Z] ---> b23d30803547 [2021-03-14T22:32:56.536Z] Step 15/21 : LABEL maintainer="IOTech " [2021-03-14T22:32:56.536Z] ---> Running in d351bbbeea53 [2021-03-14T22:32:56.816Z] Removing intermediate container d351bbbeea53 [2021-03-14T22:32:56.816Z] ---> 8dd4e07447d8 [2021-03-14T22:32:56.816Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-03-14T22:32:56.816Z] ---> Running in 0c4e34a2ed5f [2021-03-14T22:32:57.798Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-03-14T22:32:58.770Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-03-14T22:32:59.041Z] (1/3) Installing curl (7.64.0-r5) [2021-03-14T22:32:59.041Z] (2/3) Installing libuuid (2.33-r0) [2021-03-14T22:32:59.313Z] (3/3) Installing wget (1.20.3-r0) [2021-03-14T22:32:59.313Z] Executing busybox-1.29.3-r10.trigger [2021-03-14T22:32:59.313Z] OK: 281 MiB in 78 packages [2021-03-14T22:33:00.745Z] Removing intermediate container 0c4e34a2ed5f [2021-03-14T22:33:00.745Z] ---> 3712b27827be [2021-03-14T22:33:00.745Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-03-14T22:33:01.339Z] ---> 6da4928bfa7b [2021-03-14T22:33:01.339Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-03-14T22:33:01.939Z] ---> 62be552636d5 [2021-03-14T22:33:01.939Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-03-14T22:33:02.936Z] ---> a2a57843bbc4 [2021-03-14T22:33:02.936Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-03-14T22:33:03.532Z] ---> 890638de6666 [2021-03-14T22:33:03.532Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-03-14T22:33:04.509Z] ---> fa204b908c43 [2021-03-14T22:33:04.509Z] Successfully built fa204b908c43 [2021-03-14T22:33:04.509Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-14T22:33:05.313Z] + docker inspect -f . ci-base-image-arm64 [2021-03-14T22:33:05.313Z] . [Pipeline] withDockerContainer [2021-03-14T22:33:05.552Z] prd-ubuntu18.04-docker-arm64-4c-16g-29748 does not seem to be running inside a container [2021-03-14T22:33:05.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-14T22:33:07.102Z] $ docker top c15fa1613b6acb4a6cc3bb58a776d5e3d5a543f2bba993a088d886ae8cf6f69d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-14T22:33:08.117Z] + make test [2021-03-14T22:33:08.117Z] echo "make test" [2021-03-14T22:33:08.117Z] make test [Pipeline] } [2021-03-14T22:33:08.137Z] $ docker stop --time=1 c15fa1613b6acb4a6cc3bb58a776d5e3d5a543f2bba993a088d886ae8cf6f69d [2021-03-14T22:33:10.049Z] $ docker rm -f c15fa1613b6acb4a6cc3bb58a776d5e3d5a543f2bba993a088d886ae8cf6f69d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-14T22:33:11.130Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-14T22:33:11.467Z] + ls -al . [2021-03-14T22:33:11.467Z] total 192 [2021-03-14T22:33:11.467Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 22:30 . [2021-03-14T22:33:11.467Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 22:30 .. [2021-03-14T22:33:11.467Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 22:30 .git [2021-03-14T22:33:11.467Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 22:30 .github [2021-03-14T22:33:11.467Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 14 22:30 .gitignore [2021-03-14T22:33:11.467Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 14 22:30 Attribution.txt [2021-03-14T22:33:11.467Z] -rw-rw-r-- 1 jenkins jenkins 7129 Mar 14 22:30 CHANGES [2021-03-14T22:33:11.467Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 14 22:30 Doxyfile [2021-03-14T22:33:11.467Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 14 22:30 Jenkinsfile [2021-03-14T22:33:11.467Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 14 22:30 LICENSE [2021-03-14T22:33:11.467Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 14 22:30 Makefile [2021-03-14T22:33:11.467Z] -rw-rw-r-- 1 jenkins jenkins 2694 Mar 14 22:30 README.md [2021-03-14T22:33:11.467Z] -rw-rw-r-- 1 jenkins jenkins 6654 Mar 14 22:30 README.v2.md [2021-03-14T22:33:11.467Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 22:28 VERSION [2021-03-14T22:33:11.467Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 22:30 docs [2021-03-14T22:33:11.467Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 22:30 include [2021-03-14T22:33:11.467Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 22:30 scripts [2021-03-14T22:33:11.467Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 22:30 src [Pipeline] isUnix [Pipeline] sh [2021-03-14T22:33:11.809Z] + 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=5ed6e76d2baa0cb6c47fd743d8659d4565179b84 --label arch=arm64 --label version=0.0.0 . [2021-03-14T22:33:12.404Z] Sending build context to Docker daemon 2.52MB [2021-03-14T22:33:12.404Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-03-14T22:33:12.404Z] Step 2/15 : FROM ${BASE} [2021-03-14T22:33:12.404Z] ---> fa204b908c43 [2021-03-14T22:33:12.404Z] Step 3/15 : LABEL maintainer="IOTech " [2021-03-14T22:33:12.677Z] ---> Running in fdc536a06e36 [2021-03-14T22:33:12.948Z] Removing intermediate container fdc536a06e36 [2021-03-14T22:33:12.948Z] ---> 1ab2150941d2 [2021-03-14T22:33:12.948Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2021-03-14T22:33:13.235Z] ---> Running in b2c259cff3e5 [2021-03-14T22:33:14.217Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-03-14T22:33:15.192Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-03-14T22:33:15.461Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-03-14T22:33:15.461Z] (2/6) Installing libblkid (2.33-r0) [2021-03-14T22:33:15.461Z] (3/6) Installing libfdisk (2.33-r0) [2021-03-14T22:33:15.731Z] (4/6) Installing libmount (2.33-r0) [2021-03-14T22:33:15.731Z] (5/6) Installing libsmartcols (2.33-r0) [2021-03-14T22:33:15.731Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-03-14T22:33:16.006Z] Executing busybox-1.29.3-r10.trigger [2021-03-14T22:33:16.006Z] OK: 286 MiB in 84 packages [2021-03-14T22:33:17.442Z] Removing intermediate container b2c259cff3e5 [2021-03-14T22:33:17.442Z] ---> bb5279b53c66 [2021-03-14T22:33:17.442Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-03-14T22:33:18.037Z] ---> af7f52deac7f [2021-03-14T22:33:18.037Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-03-14T22:33:19.012Z] ---> 1e0706208051 [2021-03-14T22:33:19.012Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-03-14T22:33:19.991Z] ---> 2e05c05b7fe8 [2021-03-14T22:33:19.991Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-03-14T22:33:20.641Z] ---> 468062edbf84 [2021-03-14T22:33:20.641Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-03-14T22:33:21.235Z] ---> c68365fb3794 [2021-03-14T22:33:21.235Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-03-14T22:33:21.830Z] ---> 533753b7982e [2021-03-14T22:33:21.830Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-03-14T22:33:22.104Z] ---> Running in b20a91771357 [2021-03-14T22:33:22.699Z] Removing intermediate container b20a91771357 [2021-03-14T22:33:22.699Z] ---> 7f53673df2ee [2021-03-14T22:33:22.699Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-03-14T22:33:22.699Z] ---> Running in c6a0c46bdd68 [2021-03-14T22:33:22.971Z] Removing intermediate container c6a0c46bdd68 [2021-03-14T22:33:22.971Z] ---> 2a41aace142e [2021-03-14T22:33:22.971Z] Step 13/15 : LABEL arch=arm64 [2021-03-14T22:33:23.245Z] ---> Running in 67b79218dbcc [2021-03-14T22:33:23.842Z] Removing intermediate container 67b79218dbcc [2021-03-14T22:33:23.842Z] ---> 83487ed24020 [2021-03-14T22:33:23.842Z] Step 14/15 : LABEL git_sha=5ed6e76d2baa0cb6c47fd743d8659d4565179b84 [2021-03-14T22:33:23.842Z] ---> Running in 9ad973ca64b3 [2021-03-14T22:33:24.116Z] Removing intermediate container 9ad973ca64b3 [2021-03-14T22:33:24.116Z] ---> 51685c37f4bc [2021-03-14T22:33:24.116Z] Step 15/15 : LABEL version=0.0.0 [2021-03-14T22:33:24.391Z] ---> Running in 0859104d3bcc [2021-03-14T22:33:24.990Z] Removing intermediate container 0859104d3bcc [2021-03-14T22:33:24.990Z] ---> 07c4eee7d1c5 [2021-03-14T22:33:24.990Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-14T22:33:24.990Z] Successfully built 07c4eee7d1c5 [2021-03-14T22:33:24.990Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-14T22:33:27.383Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-14T22:33:28.320Z] ---> package-listing.sh [2021-03-14T22:33:28.320Z] ++ facter osfamily [2021-03-14T22:33:28.320Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-14T22:33:28.320Z] + OS_FAMILY=redhat [2021-03-14T22:33:28.320Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-331 [2021-03-14T22:33:28.320Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-14T22:33:28.320Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-14T22:33:28.320Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-14T22:33:28.320Z] + PACKAGES=/tmp/packages_start.txt [2021-03-14T22:33:28.320Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-331 ']' [2021-03-14T22:33:28.320Z] + PACKAGES=/tmp/packages_end.txt [2021-03-14T22:33:28.320Z] + case "${OS_FAMILY}" in [2021-03-14T22:33:28.320Z] + rpm -qa [2021-03-14T22:33:28.320Z] + sort [2021-03-14T22:33:36.609Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-14T22:33:36.609Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-14T22:33:36.609Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-14T22:33:36.609Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-331 ']' [2021-03-14T22:33:36.609Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-331/archives/ [2021-03-14T22:33:36.609Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-331/archives/ [Pipeline] echo [2021-03-14T22:33:36.631Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-331/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-14T22:33:36.959Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-14T22:33:37.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-14T22:33:37.875Z] [2021-03-14T22:33:37.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-14T22:33:38.293Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-14T22:33:38.293Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-14T22:33:38.293Z] df20fa9351a1: Pulling fs layer [2021-03-14T22:33:38.293Z] 36b3adc4ff6f: Pulling fs layer [2021-03-14T22:33:38.293Z] 8ad3a11d3b57: Pulling fs layer [2021-03-14T22:33:38.293Z] 46f8f816bc3b: Pulling fs layer [2021-03-14T22:33:38.293Z] 93b61091891f: Pulling fs layer [2021-03-14T22:33:38.293Z] 93b9cdb0e59b: Pulling fs layer [2021-03-14T22:33:38.293Z] 5e14af77c1be: Pulling fs layer [2021-03-14T22:33:38.293Z] 01666e4c0597: Pulling fs layer [2021-03-14T22:33:38.293Z] aa168da1d23b: Pulling fs layer [2021-03-14T22:33:38.293Z] 93b9cdb0e59b: Waiting [2021-03-14T22:33:38.293Z] 5e14af77c1be: Waiting [2021-03-14T22:33:38.293Z] 01666e4c0597: Waiting [2021-03-14T22:33:38.293Z] aa168da1d23b: Waiting [2021-03-14T22:33:38.293Z] 93b61091891f: Waiting [2021-03-14T22:33:38.293Z] 46f8f816bc3b: Waiting [2021-03-14T22:33:38.583Z] 36b3adc4ff6f: Verifying Checksum [2021-03-14T22:33:38.583Z] 36b3adc4ff6f: Download complete [2021-03-14T22:33:38.583Z] 46f8f816bc3b: Verifying Checksum [2021-03-14T22:33:38.583Z] 46f8f816bc3b: Download complete [2021-03-14T22:33:38.583Z] df20fa9351a1: Verifying Checksum [2021-03-14T22:33:38.583Z] df20fa9351a1: Download complete [2021-03-14T22:33:38.583Z] 93b9cdb0e59b: Verifying Checksum [2021-03-14T22:33:38.583Z] 93b9cdb0e59b: Download complete [2021-03-14T22:33:38.583Z] 5e14af77c1be: Verifying Checksum [2021-03-14T22:33:38.583Z] 5e14af77c1be: Download complete [2021-03-14T22:33:38.583Z] 01666e4c0597: Verifying Checksum [2021-03-14T22:33:38.583Z] 01666e4c0597: Download complete [2021-03-14T22:33:38.583Z] 93b61091891f: Verifying Checksum [2021-03-14T22:33:38.583Z] 93b61091891f: Download complete [2021-03-14T22:33:39.620Z] df20fa9351a1: Pull complete [2021-03-14T22:33:39.918Z] 36b3adc4ff6f: Pull complete [2021-03-14T22:33:39.918Z] 8ad3a11d3b57: Verifying Checksum [2021-03-14T22:33:39.918Z] 8ad3a11d3b57: Download complete [2021-03-14T22:33:41.934Z] 8ad3a11d3b57: Pull complete [2021-03-14T22:33:41.934Z] 46f8f816bc3b: Pull complete [2021-03-14T22:33:43.484Z] 93b61091891f: Pull complete [2021-03-14T22:33:43.772Z] 93b9cdb0e59b: Pull complete [2021-03-14T22:33:43.772Z] aa168da1d23b: Verifying Checksum [2021-03-14T22:33:43.772Z] aa168da1d23b: Download complete [2021-03-14T22:33:44.396Z] 5e14af77c1be: Pull complete [2021-03-14T22:33:44.668Z] 01666e4c0597: Pull complete [2021-03-14T22:34:12.873Z] aa168da1d23b: Pull complete [2021-03-14T22:34:12.873Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-14T22:34:12.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-14T22:34:12.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-14T22:34:13.726Z] prd-centos7-docker-4c-2g-29747 does not seem to be running inside a container [2021-03-14T22:34:13.931Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-331/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-331 -v /w/workspace/edgexfoundry_device-sdk-c_PR-331:/w/workspace/edgexfoundry_device-sdk-c_PR-331:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-14T22:34:17.555Z] $ docker top 0aaba5d2021330a070e958b116035d0df2b7b720b79a2879fb43463525089652 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-14T22:34:18.446Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-14T22:34:18.857Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-14T22:34:19.235Z] + ls /var/log/sa-host [2021-03-14T22:34:19.235Z] + sadf -c /var/log/sa-host/sa14 [2021-03-14T22:34:19.235Z] file_magic: OK [2021-03-14T22:34:19.235Z] HZ: Using current value: 100 [2021-03-14T22:34:19.235Z] file_header: OK [2021-03-14T22:34:19.235Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-14T22:34:19.235Z] Statistics: [2021-03-14T22:34:19.235Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-14T22:34:19.235Z] File successfully converted to sysstat format version 12.2.1 [2021-03-14T22:34:19.235Z] + sadf -c /var/log/sa-host/sa23 [2021-03-14T22:34:19.235Z] file_magic: OK [2021-03-14T22:34:19.235Z] HZ: Using current value: 100 [2021-03-14T22:34:19.235Z] file_header: OK [2021-03-14T22:34:19.235Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-14T22:34:19.235Z] Statistics: [2021-03-14T22:34:19.235Z] Hnuu...uuuununununu... [2021-03-14T22:34:19.235Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-14T22:34:19.450Z] provisioning config files... [2021-03-14T22:34:19.469Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/config7952345991571420474tmp [Pipeline] { [Pipeline] echo [2021-03-14T22:34:19.549Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-14T22:34:20.895Z] ---> create-netrc.sh [Pipeline] } [2021-03-14T22:34:20.914Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-14T22:34:21.060Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-14T22:34:22.209Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-14T22:34:22.224Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-14T22:34:22.547Z] ---> sudo-logs.sh [2021-03-14T22:34:22.547Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-14T22:34:22.622Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-14T22:34:24.683Z] ---> job-cost.sh [2021-03-14T22:34:24.969Z] lf-activate-venv: SKIPPING [2021-03-14T22:34:24.969Z] INFO: No Stack... [2021-03-14T22:34:25.952Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-14T22:34:26.541Z] INFO: Archiving Costs [Pipeline] echo [2021-03-14T22:34:26.558Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-14T22:34:26.895Z] ---> logs-deploy.sh [2021-03-14T22:34:26.895Z] lf-activate-venv: SKIPPING [2021-03-14T22:34:26.895Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-331/5 [2021-03-14T22:34:26.895Z] INFO: archiving workspace using pattern(s): [2021-03-14T22:34:31.237Z] Archives upload complete. [2021-03-14T22:34:31.237Z] INFO: archiving logs to Nexus [2021-03-14T22:34:33.287Z] ---> uname -a: [2021-03-14T22:34:33.287Z] Linux prd-centos7-docker-4c-2g-29747.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-03-14T22:34:33.287Z] [2021-03-14T22:34:33.287Z]