Pull request #336 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 20530e72b6a502cd03c485f6b7c419dd94dc5744+603e15a22e98ad0ffc0e9ce671b1afa02ea84060 (6217faa164eff0f99b107be9d27d51fca0ad5e63) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-336/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-336/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-32045 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-336 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit 20530e72b6a502cd03c485f6b7c419dd94dc5744 Merge succeeded, producing 20530e72b6a502cd03c485f6b7c419dd94dc5744 Checking out Revision 20530e72b6a502cd03c485f6b7c419dd94dc5744 (PR-336) Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 20530e72b6a502cd03c485f6b7c419dd94dc5744 # 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 20530e72b6a502cd03c485f6b7c419dd94dc5744 # timeout=10 Commit message: "feat: create new devices from json/toml files in configured directory (#47)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-30T15:54:18.167Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-30T15:54:18.532Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-30T15:54:18.773Z] ========================================================= [2021-03-30T15:54:18.773Z] EdgeX Global Pipelines Version Info [2021-03-30T15:54:18.773Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-30T15:54:20.324Z] ------------------- [2021-03-30T15:54:20.324Z] stable info: [2021-03-30T15:54:20.324Z] ------------------- [2021-03-30T15:54:20.324Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-30T15:54:20.325Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-30T15:54:20.325Z] Message: update stable to v1.0.186 [2021-03-30T15:54:21.277Z] ------------------- [2021-03-30T15:54:21.277Z] experimental info: [2021-03-30T15:54:21.277Z] ------------------- [2021-03-30T15:54:21.277Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-30T15:54:21.277Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-30T15:54:21.277Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-30T15:54:21.737Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-03-30T15:54:21.892Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-03-30T15:54:22.024Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-30T15:54:22.159Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-30T15:54:22.289Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-30T15:54:22.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-03-30T15:54:22.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-03-30T15:54:22.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-03-30T15:54:22.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-30T15:54:23.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-03-30T15:54:23.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-30T15:54:23.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-30T15:54:23.543Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-30T15:54:23.673Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-30T15:54:23.805Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-30T15:54:23.940Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-30T15:54:24.069Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-30T15:54:24.194Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-336 [Pipeline] echo [2021-03-30T15:54:24.319Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-336 [Pipeline] echo [2021-03-30T15:54:24.442Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-336 [Pipeline] echo [2021-03-30T15:54:24.569Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 20530e72b6a502cd03c485f6b7c419dd94dc5744 [Pipeline] echo [2021-03-30T15:54:24.696Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 20530e7 [Pipeline] echo [2021-03-30T15:54:24.819Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-30T15:54:25.084Z] provisioning config files... [2021-03-30T15:54:25.121Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/config2578250888382513297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-30T15:54:25.543Z] ---> docker-login.sh [2021-03-30T15:54:25.543Z] nexus3.edgexfoundry.org:10001 [2021-03-30T15:54:25.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T15:54:26.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T15:54:26.079Z] Configure a credential helper to remove this warning. See [2021-03-30T15:54:26.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T15:54:26.079Z] [2021-03-30T15:54:26.079Z] Login Succeeded [2021-03-30T15:54:26.079Z] nexus3.edgexfoundry.org:10002 [2021-03-30T15:54:26.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T15:54:26.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T15:54:26.343Z] Configure a credential helper to remove this warning. See [2021-03-30T15:54:26.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T15:54:26.343Z] [2021-03-30T15:54:26.343Z] Login Succeeded [2021-03-30T15:54:26.343Z] nexus3.edgexfoundry.org:10003 [2021-03-30T15:54:26.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T15:54:26.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T15:54:26.343Z] Configure a credential helper to remove this warning. See [2021-03-30T15:54:26.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T15:54:26.343Z] [2021-03-30T15:54:26.343Z] Login Succeeded [2021-03-30T15:54:26.343Z] nexus3.edgexfoundry.org:10004 [2021-03-30T15:54:26.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T15:54:26.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T15:54:26.606Z] Configure a credential helper to remove this warning. See [2021-03-30T15:54:26.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T15:54:26.606Z] [2021-03-30T15:54:26.606Z] Login Succeeded [2021-03-30T15:54:26.606Z] docker.io [2021-03-30T15:54:26.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T15:54:26.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T15:54:26.868Z] Configure a credential helper to remove this warning. See [2021-03-30T15:54:26.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T15:54:26.868Z] [2021-03-30T15:54:26.868Z] Login Succeeded [2021-03-30T15:54:26.868Z] ---> docker-login.sh ends [Pipeline] } [2021-03-30T15:54:26.891Z] 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-30T15:54:28.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-30T15:54:28.926Z] [2021-03-30T15:54:28.926Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:54:29.319Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-30T15:54:29.319Z] latest: Pulling from edgex-devops/git-semver [2021-03-30T15:54:29.319Z] 31603596830f: Pulling fs layer [2021-03-30T15:54:29.319Z] 2a8b12db71e7: Pulling fs layer [2021-03-30T15:54:29.319Z] 6ca5941a6612: Pulling fs layer [2021-03-30T15:54:29.319Z] ecc8261a40a4: Pulling fs layer [2021-03-30T15:54:29.319Z] ecc8261a40a4: Waiting [2021-03-30T15:54:29.319Z] 2a8b12db71e7: Verifying Checksum [2021-03-30T15:54:29.319Z] 2a8b12db71e7: Download complete [2021-03-30T15:54:29.586Z] 31603596830f: Download complete [2021-03-30T15:54:29.586Z] ecc8261a40a4: Verifying Checksum [2021-03-30T15:54:29.586Z] ecc8261a40a4: Download complete [2021-03-30T15:54:29.586Z] 6ca5941a6612: Verifying Checksum [2021-03-30T15:54:29.586Z] 6ca5941a6612: Download complete [2021-03-30T15:54:29.849Z] 31603596830f: Pull complete [2021-03-30T15:54:30.111Z] 2a8b12db71e7: Pull complete [2021-03-30T15:54:31.058Z] 6ca5941a6612: Pull complete [2021-03-30T15:54:31.058Z] ecc8261a40a4: Pull complete [2021-03-30T15:54:31.058Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-30T15:54:31.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-30T15:54:31.058Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-30T15:54:31.191Z] prd-centos7-docker-4c-2g-32045 does not seem to be running inside a container [2021-03-30T15:54:31.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-336 -v /w/workspace/edgexfoundry_device-sdk-c_PR-336:/w/workspace/edgexfoundry_device-sdk-c_PR-336:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-30T15:54:33.817Z] $ docker top 993c5d062dbe922065eda08dda1145af8f79ced7455411cd020e2f05d8f15f9d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-30T15:54:34.274Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-30T15:54:34.274Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-30T15:54:34.483Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-30T15:54:34.488Z] $ docker exec 993c5d062dbe922065eda08dda1145af8f79ced7455411cd020e2f05d8f15f9d ssh-agent [2021-03-30T15:54:34.651Z] SSH_AUTH_SOCK=/tmp/ssh-PCLZ0GOQZGeH/agent.13 [2021-03-30T15:54:34.651Z] SSH_AGENT_PID=18 [2021-03-30T15:54:34.662Z] Running ssh-add (command line suppressed) [2021-03-30T15:54:34.777Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_1097622432865338015.key (/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_1097622432865338015.key) [2021-03-30T15:54:34.826Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-30T15:54:35.207Z] + git tag --points-at HEAD [Pipeline] } [2021-03-30T15:54:35.400Z] $ docker exec --env ******** --env ******** 993c5d062dbe922065eda08dda1145af8f79ced7455411cd020e2f05d8f15f9d ssh-agent -k [2021-03-30T15:54:35.520Z] unset SSH_AUTH_SOCK; [2021-03-30T15:54:35.520Z] unset SSH_AGENT_PID; [2021-03-30T15:54:35.520Z] echo Agent pid 18 killed; [2021-03-30T15:54:35.565Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-30T15:54:35.761Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-30T15:54:35.761Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-30T15:54:35.919Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-30T15:54:35.925Z] $ docker exec 993c5d062dbe922065eda08dda1145af8f79ced7455411cd020e2f05d8f15f9d ssh-agent [2021-03-30T15:54:36.079Z] SSH_AUTH_SOCK=/tmp/ssh-VyckAvVVl0L9/agent.47 [2021-03-30T15:54:36.079Z] SSH_AGENT_PID=52 [2021-03-30T15:54:36.086Z] Running ssh-add (command line suppressed) [2021-03-30T15:54:36.199Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_6675007622854021591.key (/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_6675007622854021591.key) [2021-03-30T15:54:36.247Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-30T15:54:36.624Z] + git semver init [2021-03-30T15:54:36.624Z] # -> Open(): unable to determine branch for HEAD [2021-03-30T15:54:36.624Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-336/.git [2021-03-30T15:54:36.624Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-336 [2021-03-30T15:54:36.624Z] # $SEMVER_REMOTE_NAME = origin [2021-03-30T15:54:36.624Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-30T15:54:36.624Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-30T15:54:36.624Z] # $SEMVER_BRANCH = PR-336 [2021-03-30T15:54:36.624Z] # $SEMVER_TEMP = /tmp/semver-920787272 [2021-03-30T15:54:36.624Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-03-30T15:54:37.574Z] # '/tmp/semver-920787272' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-336/.semver' [2021-03-30T15:54:37.574Z] # -> Force: false [2021-03-30T15:54:37.574Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-336/.semver [Pipeline] } [2021-03-30T15:54:37.597Z] $ docker exec --env ******** --env ******** 993c5d062dbe922065eda08dda1145af8f79ced7455411cd020e2f05d8f15f9d ssh-agent -k [2021-03-30T15:54:37.701Z] unset SSH_AUTH_SOCK; [2021-03-30T15:54:37.702Z] unset SSH_AGENT_PID; [2021-03-30T15:54:37.702Z] echo Agent pid 52 killed; [2021-03-30T15:54:37.742Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-30T15:54:38.320Z] + git semver [Pipeline] } [2021-03-30T15:54:38.357Z] $ docker stop --time=1 993c5d062dbe922065eda08dda1145af8f79ced7455411cd020e2f05d8f15f9d [2021-03-30T15:54:39.763Z] $ docker rm -f 993c5d062dbe922065eda08dda1145af8f79ced7455411cd020e2f05d8f15f9d [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-30T15:54:40.288Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-30T15:54:40.763Z] Stashed 1 file(s) [Pipeline] echo [2021-03-30T15:54:40.790Z] [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-30T15:54:56.428Z] Still waiting to schedule task [2021-03-30T15:54:56.428Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-32045’ [2021-03-30T15:54:56.455Z] Still waiting to schedule task [2021-03-30T15:54:56.455Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-30T15:56:37.495Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32046 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [Pipeline] ws [2021-03-30T15:56:37.645Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-03-30T15:56:43.292Z] using credential edgex-jenkins-ssh [2021-03-30T15:56:43.354Z] Cloning the remote Git repository [2021-03-30T15:56:43.399Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-03-30T15:56:43.500Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-03-30T15:56:43.581Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-03-30T15:56:43.582Z] > git --version # timeout=10 [2021-03-30T15:56:43.598Z] > git --version # 'git version 2.17.1' [2021-03-30T15:56:43.600Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T15:56:43.678Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-30T15:56:44.790Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-03-30T15:56:44.806Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-30T15:56:44.834Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-03-30T15:56:44.875Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-03-30T15:56:44.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T15:56:44.889Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-30T15:56:45.491Z] Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit 20530e72b6a502cd03c485f6b7c419dd94dc5744 [2021-03-30T15:56:45.754Z] Merge succeeded, producing 20530e72b6a502cd03c485f6b7c419dd94dc5744 [2021-03-30T15:56:45.754Z] Checking out Revision 20530e72b6a502cd03c485f6b7c419dd94dc5744 (PR-336) [2021-03-30T15:56:45.504Z] > git config core.sparsecheckout # timeout=10 [2021-03-30T15:56:45.532Z] > git checkout -f 20530e72b6a502cd03c485f6b7c419dd94dc5744 # timeout=10 [2021-03-30T15:56:45.659Z] > git remote # timeout=10 [2021-03-30T15:56:45.681Z] > git config --get remote.origin.url # timeout=10 [2021-03-30T15:56:45.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T15:56:45.711Z] > git merge 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 [2021-03-30T15:56:45.733Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-30T15:56:45.756Z] > git config core.sparsecheckout # timeout=10 [2021-03-30T15:56:45.769Z] > git checkout -f 20530e72b6a502cd03c485f6b7c419dd94dc5744 # timeout=10 [2021-03-30T15:56:50.251Z] Commit message: "feat: create new devices from json/toml files in configured directory (#47)" [2021-03-30T15:56:50.296Z] > git --version # timeout=10 [2021-03-30T15:56:50.308Z] > git --version # 'git version 2.17.1' [2021-03-30T15:56:50.318Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-30T15:56:52.166Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-30T15:56:52.606Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-30T15:56:53.092Z] + true [2021-03-30T15:56:53.092Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-30T15:56:55.862Z] provisioning config files... [2021-03-30T15:56:55.901Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config345941724260060486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-30T15:56:56.356Z] ---> docker-login.sh [2021-03-30T15:56:56.356Z] nexus3.edgexfoundry.org:10001 [2021-03-30T15:56:57.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T15:56:57.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T15:56:57.630Z] Configure a credential helper to remove this warning. See [2021-03-30T15:56:57.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T15:56:57.630Z] [2021-03-30T15:56:57.630Z] Login Succeeded [2021-03-30T15:56:57.630Z] nexus3.edgexfoundry.org:10002 [2021-03-30T15:56:57.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T15:56:58.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T15:56:58.185Z] Configure a credential helper to remove this warning. See [2021-03-30T15:56:58.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T15:56:58.185Z] [2021-03-30T15:56:58.185Z] Login Succeeded [2021-03-30T15:56:58.185Z] nexus3.edgexfoundry.org:10003 [2021-03-30T15:56:58.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T15:56:58.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T15:56:58.735Z] Configure a credential helper to remove this warning. See [2021-03-30T15:56:58.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T15:56:58.735Z] [2021-03-30T15:56:58.735Z] Login Succeeded [2021-03-30T15:56:58.735Z] nexus3.edgexfoundry.org:10004 [2021-03-30T15:56:59.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T15:56:59.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T15:56:59.287Z] Configure a credential helper to remove this warning. See [2021-03-30T15:56:59.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T15:56:59.287Z] [2021-03-30T15:56:59.287Z] Login Succeeded [2021-03-30T15:56:59.287Z] docker.io [2021-03-30T15:56:59.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T15:56:59.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T15:56:59.836Z] Configure a credential helper to remove this warning. See [2021-03-30T15:56:59.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T15:56:59.836Z] [2021-03-30T15:56:59.836Z] Login Succeeded [2021-03-30T15:56:59.836Z] ---> docker-login.sh ends [Pipeline] } [2021-03-30T15:56:59.867Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-30T15:57:00.459Z] ========================================================= [2021-03-30T15:57:00.460Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-03-30T15:57:00.460Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:57:00.900Z] + 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-30T15:57:01.509Z] Sending build context to Docker daemon 2.514MB [2021-03-30T15:57:01.509Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-03-30T15:57:01.509Z] Step 2/21 : FROM ${BASE} as builder [2021-03-30T15:57:01.509Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-03-30T15:57:01.509Z] 0362ad1dd800: Pulling fs layer [2021-03-30T15:57:01.509Z] f2cdb1532d8b: Pulling fs layer [2021-03-30T15:57:01.509Z] 37ed683be191: Pulling fs layer [2021-03-30T15:57:01.509Z] f2cdb1532d8b: Download complete [2021-03-30T15:57:01.789Z] 0362ad1dd800: Verifying Checksum [2021-03-30T15:57:01.789Z] 0362ad1dd800: Download complete [2021-03-30T15:57:02.392Z] 0362ad1dd800: Pull complete [2021-03-30T15:57:02.999Z] f2cdb1532d8b: Pull complete [2021-03-30T15:57:03.984Z] 37ed683be191: Verifying Checksum [2021-03-30T15:57:03.984Z] 37ed683be191: Download complete [2021-03-30T15:57:14.186Z] 37ed683be191: Pull complete [2021-03-30T15:57:14.186Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-03-30T15:57:14.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-03-30T15:57:14.186Z] ---> b23d30803547 [2021-03-30T15:57:14.186Z] 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-30T15:57:14.782Z] ---> Running in e682c677f1bf [2021-03-30T15:57:16.216Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-03-30T15:57:17.193Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-03-30T15:57:17.464Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-03-30T15:57:17.736Z] (2/8) Installing libuuid (2.33-r0) [2021-03-30T15:57:17.736Z] (3/8) Installing libblkid (2.33-r0) [2021-03-30T15:57:17.736Z] (4/8) Installing libfdisk (2.33-r0) [2021-03-30T15:57:18.007Z] (5/8) Installing libmount (2.33-r0) [2021-03-30T15:57:18.007Z] (6/8) Installing libsmartcols (2.33-r0) [2021-03-30T15:57:18.007Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-03-30T15:57:18.601Z] (8/8) Installing wget (1.20.3-r0) [2021-03-30T15:57:18.601Z] Executing busybox-1.29.3-r10.trigger [2021-03-30T15:57:18.601Z] OK: 285 MiB in 83 packages [2021-03-30T15:57:20.036Z] Removing intermediate container e682c677f1bf [2021-03-30T15:57:20.036Z] ---> 98c8c924b80e [2021-03-30T15:57:20.036Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-03-30T15:57:20.310Z] ---> Running in a88095e2da35 [2021-03-30T15:57:20.906Z] Removing intermediate container a88095e2da35 [2021-03-30T15:57:20.906Z] ---> c13a5be167ea [2021-03-30T15:57:20.906Z] 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-30T15:57:20.906Z] ---> Running in 6bc8ee11478f [2021-03-30T15:57:21.882Z] --2021-03-30 15:57:21-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-03-30T15:57:21.882Z] Resolving github.com... 140.82.113.4 [2021-03-30T15:57:21.882Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-03-30T15:57:22.157Z] HTTP request sent, awaiting response... 302 Found [2021-03-30T15:57:22.157Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-03-30T15:57:22.157Z] --2021-03-30 15:57:21-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-03-30T15:57:22.157Z] Resolving codeload.github.com... 140.82.113.9 [2021-03-30T15:57:22.157Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-03-30T15:57:22.157Z] HTTP request sent, awaiting response... 200 OK [2021-03-30T15:57:22.157Z] Length: unspecified [application/x-gzip] [2021-03-30T15:57:22.158Z] Saving to: 'STDOUT' [2021-03-30T15:57:22.158Z]  [2021-03-30T15:57:22.431Z] 0K .......... .......... .......... .......... .......... 1.49M [2021-03-30T15:57:22.431Z] 50K .......... .......... .......... .......... .......... 2.80M [2021-03-30T15:57:22.431Z] 100K .......... .......... .......... .......... .......... 9.87M [2021-03-30T15:57:22.431Z] 150K .......... .......... .......... .......... .......... 4.12M [2021-03-30T15:57:22.431Z] 200K .......... .......... .......... .......... .......... 6.25M [2021-03-30T15:57:22.431Z] 250K .......... .......... .......... .......... .......... 3.81M [2021-03-30T15:57:22.431Z] 300K .......... .......... .......... .......... .......... 5.07M [2021-03-30T15:57:22.431Z] 350K .......... .......... .......... .......... .......... 6.40M [2021-03-30T15:57:22.431Z] 400K .......... .......... .......... .......... .......... 3.83M [2021-03-30T15:57:22.431Z] 450K .......... .......... .......... .......... .......... 3.68M [2021-03-30T15:57:22.431Z] 500K .......... .......... .......... .......... .......... 6.42M [2021-03-30T15:57:22.431Z] 550K .......... .......... .......... .......... .......... 1.97M [2021-03-30T15:57:22.431Z] 600K .......... .......... .......... .......... .......... 1.00M [2021-03-30T15:57:22.431Z] 650K .......... .......... .......... .......... .......... 2.09M [2021-03-30T15:57:22.431Z] 700K ..    11.0M=0.2s [2021-03-30T15:57:22.431Z] [2021-03-30T15:57:22.431Z] 2021-03-30 15:57:22 (2.91 MB/s) - written to stdout [719348] [2021-03-30T15:57:22.431Z] [2021-03-30T15:57:22.709Z] -- The C compiler identification is GNU 8.3.0 [2021-03-30T15:57:22.984Z] -- The CXX compiler identification is GNU 8.3.0 [2021-03-30T15:57:22.984Z] -- Check for working C compiler: /usr/bin/cc [2021-03-30T15:57:23.260Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-30T15:57:23.260Z] -- Detecting C compiler ABI info [2021-03-30T15:57:23.535Z] -- Detecting C compiler ABI info - done [2021-03-30T15:57:23.535Z] -- Detecting C compile features [2021-03-30T15:57:24.139Z] -- Detecting C compile features - done [2021-03-30T15:57:24.429Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-03-30T15:57:24.429Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-03-30T15:57:24.429Z] -- Detecting CXX compiler ABI info [2021-03-30T15:57:24.702Z] -- Detecting CXX compiler ABI info - done [2021-03-30T15:57:24.976Z] -- Detecting CXX compile features [2021-03-30T15:57:26.414Z] -- Detecting CXX compile features - done [2021-03-30T15:57:26.414Z] -- Looking for include file endian.h [2021-03-30T15:57:26.687Z] -- Looking for include file endian.h - found [2021-03-30T15:57:26.687Z] -- Check if the system is big endian [2021-03-30T15:57:26.687Z] -- Searching 16 bit integer [2021-03-30T15:57:26.687Z] -- Looking for sys/types.h [2021-03-30T15:57:26.827Z] Running on prd-centos7-docker-4c-2g-32047 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [2021-03-30T15:57:26.960Z] -- Looking for sys/types.h - found [2021-03-30T15:57:26.960Z] -- Looking for stdint.h [2021-03-30T15:57:26.960Z] -- Looking for stdint.h - found [Pipeline] ws [2021-03-30T15:57:26.987Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-03-30T15:57:27.233Z] -- Looking for stddef.h [2021-03-30T15:57:27.233Z] -- Looking for stddef.h - found [2021-03-30T15:57:27.233Z] -- Check size of unsigned short [2021-03-30T15:57:27.504Z] -- Check size of unsigned short - done [2021-03-30T15:57:27.504Z] -- Using unsigned short [2021-03-30T15:57:27.777Z] -- Check if the system is big endian - little endian [2021-03-30T15:57:27.777Z] -- Check size of size_t [2021-03-30T15:57:28.059Z] -- Check size of size_t - done [2021-03-30T15:57:28.059Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-03-30T15:57:28.059Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-03-30T15:57:28.059Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-03-30T15:57:28.059Z] CMake did not find one. [2021-03-30T15:57:28.059Z] [2021-03-30T15:57:28.059Z] Could not find a package configuration file provided by "cJSON" with any of [2021-03-30T15:57:28.059Z] the following names: [2021-03-30T15:57:28.059Z] [2021-03-30T15:57:28.059Z] cJSONConfig.cmake [2021-03-30T15:57:28.059Z] cjson-config.cmake [2021-03-30T15:57:28.059Z] [2021-03-30T15:57:28.059Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-03-30T15:57:28.059Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-03-30T15:57:28.059Z] provides a separate development package or SDK, be sure it has been [2021-03-30T15:57:28.059Z] installed. [2021-03-30T15:57:28.059Z] [2021-03-30T15:57:28.059Z] [2021-03-30T15:57:28.330Z] -- Configuring done [2021-03-30T15:57:28.330Z] -- Generating done [2021-03-30T15:57:28.330Z] -- Build files have been written to: /tmp/cbor [2021-03-30T15:57:28.604Z] Scanning dependencies of target cbor_shared [2021-03-30T15:57:28.604Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-03-30T15:57:29.229Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-03-30T15:57:29.609Z] using credential edgex-jenkins-ssh [2021-03-30T15:57:29.660Z] Cloning the remote Git repository [2021-03-30T15:57:29.830Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-03-30T15:57:30.104Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-03-30T15:57:29.680Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-03-30T15:57:29.749Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-03-30T15:57:29.813Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-03-30T15:57:29.813Z] > git --version # timeout=10 [2021-03-30T15:57:29.826Z] > git --version # 'git version 2.24.3' [2021-03-30T15:57:29.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T15:57:29.925Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-30T15:57:30.545Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-03-30T15:57:30.552Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-30T15:57:30.566Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-03-30T15:57:30.584Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-03-30T15:57:30.584Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T15:57:30.590Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-30T15:57:30.696Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-03-30T15:57:30.968Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-03-30T15:57:31.082Z] Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit 20530e72b6a502cd03c485f6b7c419dd94dc5744 [2021-03-30T15:57:31.199Z] Merge succeeded, producing 20530e72b6a502cd03c485f6b7c419dd94dc5744 [2021-03-30T15:57:31.200Z] Checking out Revision 20530e72b6a502cd03c485f6b7c419dd94dc5744 (PR-336) [2021-03-30T15:57:31.240Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-03-30T15:57:31.240Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-03-30T15:57:31.512Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-03-30T15:57:31.795Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-03-30T15:57:31.092Z] > git config core.sparsecheckout # timeout=10 [2021-03-30T15:57:31.098Z] > git checkout -f 20530e72b6a502cd03c485f6b7c419dd94dc5744 # timeout=10 [2021-03-30T15:57:31.159Z] > git remote # timeout=10 [2021-03-30T15:57:31.167Z] > git config --get remote.origin.url # timeout=10 [2021-03-30T15:57:31.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T15:57:31.180Z] > git merge 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 [2021-03-30T15:57:31.191Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-30T15:57:31.202Z] > git config core.sparsecheckout # timeout=10 [2021-03-30T15:57:31.207Z] > git checkout -f 20530e72b6a502cd03c485f6b7c419dd94dc5744 # timeout=10 [2021-03-30T15:57:32.389Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-03-30T15:57:32.661Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-03-30T15:57:33.255Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-03-30T15:57:33.535Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-03-30T15:57:33.809Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-03-30T15:57:33.809Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-03-30T15:57:34.085Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-03-30T15:57:34.357Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-03-30T15:57:34.629Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-03-30T15:57:34.798Z] Commit message: "feat: create new devices from json/toml files in configured directory (#47)" [2021-03-30T15:57:34.822Z] > git --version # timeout=10 [2021-03-30T15:57:34.827Z] > git --version # 'git version 2.24.3' [2021-03-30T15:57:34.836Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-30T15:57:34.903Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-03-30T15:57:35.175Z] [ 40%] Linking C shared library libcbor.so [2021-03-30T15:57:35.175Z] [ 40%] Built target cbor_shared [2021-03-30T15:57:35.175Z] Scanning dependencies of target cbor [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-03-30T15:57:35.447Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-30T15:57:36.058Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-03-30T15:57:36.213Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-30T15:57:36.558Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-30T15:57:36.653Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-03-30T15:57:36.892Z] + sudo service docker restart [2021-03-30T15:57:36.892Z] + true [2021-03-30T15:57:36.892Z] Redirecting to /bin/systemctl restart docker.service [2021-03-30T15:57:36.927Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-30T15:57:37.970Z] provisioning config files... [2021-03-30T15:57:37.998Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2138308031460131509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-30T15:57:38.359Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-03-30T15:57:38.359Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-03-30T15:57:38.434Z] ---> docker-login.sh [2021-03-30T15:57:38.434Z] nexus3.edgexfoundry.org:10001 [2021-03-30T15:57:38.631Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-03-30T15:57:38.631Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-03-30T15:57:38.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T15:57:38.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T15:57:38.704Z] Configure a credential helper to remove this warning. See [2021-03-30T15:57:38.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T15:57:38.704Z] [2021-03-30T15:57:38.704Z] Login Succeeded [2021-03-30T15:57:38.704Z] nexus3.edgexfoundry.org:10002 [2021-03-30T15:57:38.903Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-03-30T15:57:38.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T15:57:38.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T15:57:38.966Z] Configure a credential helper to remove this warning. See [2021-03-30T15:57:38.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T15:57:38.966Z] [2021-03-30T15:57:38.966Z] Login Succeeded [2021-03-30T15:57:38.966Z] nexus3.edgexfoundry.org:10003 [2021-03-30T15:57:39.178Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-03-30T15:57:39.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T15:57:39.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T15:57:39.230Z] Configure a credential helper to remove this warning. See [2021-03-30T15:57:39.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T15:57:39.230Z] [2021-03-30T15:57:39.230Z] Login Succeeded [2021-03-30T15:57:39.230Z] nexus3.edgexfoundry.org:10004 [2021-03-30T15:57:39.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T15:57:39.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T15:57:39.495Z] Configure a credential helper to remove this warning. See [2021-03-30T15:57:39.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T15:57:39.495Z] [2021-03-30T15:57:39.495Z] Login Succeeded [2021-03-30T15:57:39.495Z] docker.io [2021-03-30T15:57:39.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T15:57:39.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T15:57:39.759Z] Configure a credential helper to remove this warning. See [2021-03-30T15:57:39.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T15:57:39.759Z] [2021-03-30T15:57:39.759Z] Login Succeeded [2021-03-30T15:57:39.759Z] ---> docker-login.sh ends [Pipeline] } [2021-03-30T15:57:39.785Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-03-30T15:57:40.155Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-03-30T15:57:40.155Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [Pipeline] echo [2021-03-30T15:57:40.336Z] ========================================================= [2021-03-30T15:57:40.336Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-03-30T15:57:40.336Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:57:40.749Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-03-30T15:57:40.756Z] + 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-30T15:57:41.023Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-03-30T15:57:41.025Z] Sending build context to Docker daemon 2.515MB [2021-03-30T15:57:41.025Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-03-30T15:57:41.025Z] Step 2/21 : FROM ${BASE} as builder [2021-03-30T15:57:41.025Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-03-30T15:57:41.025Z] e7c96db7181b: Pulling fs layer [2021-03-30T15:57:41.025Z] 4c13bbce0fe7: Pulling fs layer [2021-03-30T15:57:41.025Z] 6059c847ac2f: Pulling fs layer [2021-03-30T15:57:41.025Z] 4c13bbce0fe7: Verifying Checksum [2021-03-30T15:57:41.025Z] 4c13bbce0fe7: Download complete [2021-03-30T15:57:41.295Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-03-30T15:57:41.574Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-03-30T15:57:41.603Z] e7c96db7181b: Download complete [2021-03-30T15:57:41.846Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-03-30T15:57:41.867Z] e7c96db7181b: Pull complete [2021-03-30T15:57:42.118Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-03-30T15:57:42.134Z] 4c13bbce0fe7: Pull complete [2021-03-30T15:57:42.389Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-03-30T15:57:42.662Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-03-30T15:57:42.662Z] [ 80%] Linking C static library libcbor.a [2021-03-30T15:57:42.942Z] [ 80%] Built target cbor [2021-03-30T15:57:42.942Z] Scanning dependencies of target create_items [2021-03-30T15:57:42.942Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-03-30T15:57:42.942Z] [ 84%] Linking C executable create_items [2021-03-30T15:57:43.096Z] 6059c847ac2f: Verifying Checksum [2021-03-30T15:57:43.096Z] 6059c847ac2f: Download complete [2021-03-30T15:57:43.216Z] [ 84%] Built target create_items [2021-03-30T15:57:43.216Z] Scanning dependencies of target readfile [2021-03-30T15:57:43.216Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-03-30T15:57:43.487Z] [ 88%] Linking C executable readfile [2021-03-30T15:57:43.488Z] [ 88%] Built target readfile [2021-03-30T15:57:43.488Z] Scanning dependencies of target streaming_parser [2021-03-30T15:57:43.488Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-03-30T15:57:43.760Z] [ 92%] Linking C executable streaming_parser [2021-03-30T15:57:43.760Z] [ 92%] Built target streaming_parser [2021-03-30T15:57:43.760Z] Scanning dependencies of target sort [2021-03-30T15:57:43.760Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-03-30T15:57:44.032Z] [ 96%] Linking C executable sort [2021-03-30T15:57:44.307Z] [ 96%] Built target sort [2021-03-30T15:57:44.307Z] Scanning dependencies of target hello [2021-03-30T15:57:44.307Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-03-30T15:57:44.307Z] [100%] Linking C executable hello [2021-03-30T15:57:44.307Z] [100%] Built target hello [2021-03-30T15:57:44.580Z] Install the project... [2021-03-30T15:57:44.580Z] -- Install configuration: "Release" [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/lib64/libcbor.a [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/lib64/libcbor.so [2021-03-30T15:57:44.580Z] -- Up-to-date: /usr/local/include/cbor [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/ints.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/data.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/common.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/strings.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/tags.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/internal [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor/maps.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/include/cbor.h [2021-03-30T15:57:44.580Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-03-30T15:57:47.205Z] Removing intermediate container 6bc8ee11478f [2021-03-30T15:57:47.205Z] ---> 75728880be69 [2021-03-30T15:57:47.205Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-03-30T15:57:47.205Z] ---> Running in 749c086f4377 [2021-03-30T15:57:48.439Z] 6059c847ac2f: Pull complete [2021-03-30T15:57:48.440Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-03-30T15:57:48.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-03-30T15:57:48.440Z] ---> 5eabd8fd8ba2 [2021-03-30T15:57:48.440Z] 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-30T15:57:49.174Z] Removing intermediate container 749c086f4377 [2021-03-30T15:57:49.174Z] ---> ac152e462eae [2021-03-30T15:57:49.174Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-03-30T15:57:49.770Z] ---> 78391007f281 [2021-03-30T15:57:49.770Z] Step 8/21 : COPY src /tmp/sdk/src [2021-03-30T15:57:50.372Z] ---> Running in 48981a6095bf [2021-03-30T15:57:50.747Z] ---> d9f54877c70d [2021-03-30T15:57:50.747Z] Step 9/21 : COPY include /tmp/sdk/include [2021-03-30T15:57:50.952Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-03-30T15:57:51.350Z] ---> 23dc7eb1061d [2021-03-30T15:57:51.350Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-03-30T15:57:51.906Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-03-30T15:57:51.944Z] ---> 077dc9ec9e25 [2021-03-30T15:57:51.945Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-03-30T15:57:52.170Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-03-30T15:57:52.434Z] (2/8) Installing libuuid (2.33-r0) [2021-03-30T15:57:52.434Z] (3/8) Installing libblkid (2.33-r0) [2021-03-30T15:57:52.434Z] (4/8) Installing libfdisk (2.33-r0) [2021-03-30T15:57:52.696Z] (5/8) Installing libmount (2.33-r0) [2021-03-30T15:57:52.696Z] (6/8) Installing libsmartcols (2.33-r0) [2021-03-30T15:57:52.696Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-03-30T15:57:52.927Z] ---> b47ed3cdd408 [2021-03-30T15:57:52.927Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-03-30T15:57:53.275Z] (8/8) Installing wget (1.20.3-r0) [2021-03-30T15:57:53.275Z] Executing busybox-1.29.3-r10.trigger [2021-03-30T15:57:53.275Z] OK: 272 MiB in 83 packages [2021-03-30T15:57:53.521Z] ---> 243eec453e6b [2021-03-30T15:57:53.521Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-03-30T15:57:53.794Z] ---> Running in 43edae50b886 [2021-03-30T15:57:53.859Z] Removing intermediate container 48981a6095bf [2021-03-30T15:57:53.859Z] ---> a87ecdae25aa [2021-03-30T15:57:53.859Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-03-30T15:57:54.126Z] ---> Running in 8d410a1affd0 [2021-03-30T15:57:54.126Z] Removing intermediate container 8d410a1affd0 [2021-03-30T15:57:54.126Z] ---> 499ae4c00195 [2021-03-30T15:57:54.126Z] 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-30T15:57:54.391Z] ---> Running in 2c4099f463df [2021-03-30T15:57:54.781Z] + CPPCHECK=false [2021-03-30T15:57:54.781Z] + DOCGEN=false [2021-03-30T15:57:54.781Z] + TOMLVER=SDK-0.2 [2021-03-30T15:57:54.781Z] + CUTILVER=1.1.4 [2021-03-30T15:57:54.781Z] + '[' 0 -gt 0 ] [2021-03-30T15:57:54.781Z] + readlink -f ./scripts/build.sh [2021-03-30T15:57:54.781Z] + dirname /tmp/sdk/scripts/build.sh [2021-03-30T15:57:54.781Z] + dirname /tmp/sdk/scripts [2021-03-30T15:57:54.781Z] + ROOT=/tmp/sdk [2021-03-30T15:57:54.781Z] + cd /tmp/sdk [2021-03-30T15:57:54.781Z] + '[' '!' -d deps ] [2021-03-30T15:57:54.781Z] + mkdir deps [2021-03-30T15:57:54.969Z] --2021-03-30 15:57:54-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-03-30T15:57:54.969Z] Resolving github.com... 140.82.114.4 [2021-03-30T15:57:54.969Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-03-30T15:57:54.969Z] HTTP request sent, awaiting response... 302 Found [2021-03-30T15:57:54.969Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-03-30T15:57:54.969Z] --2021-03-30 15:57:54-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-03-30T15:57:54.969Z] Resolving codeload.github.com... 140.82.113.9 [2021-03-30T15:57:54.969Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-03-30T15:57:55.053Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-03-30T15:57:55.053Z] + tar -C deps -z -x -f - [2021-03-30T15:57:55.053Z] --2021-03-30 15:57:54-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-03-30T15:57:55.053Z] Resolving github.com... 140.82.114.4 [2021-03-30T15:57:55.053Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-03-30T15:57:55.246Z] HTTP request sent, awaiting response... 200 OK [2021-03-30T15:57:55.246Z] Length: unspecified [application/x-gzip] [2021-03-30T15:57:55.246Z] Saving to: 'STDOUT' [2021-03-30T15:57:55.246Z]  [2021-03-30T15:57:55.246Z] 0K .......... .......... .......... .......... .......... 1.10M [2021-03-30T15:57:55.246Z] 50K .......... .......... .......... .......... .......... 2.22M [2021-03-30T15:57:55.246Z] 100K .......... .......... .......... .......... .......... 28.2M [2021-03-30T15:57:55.246Z] 150K .......... .......... .......... .......... .......... 2.42M [2021-03-30T15:57:55.246Z] 200K .......... .......... .......... .......... .......... 25.0M [2021-03-30T15:57:55.246Z] 250K .......... .......... .......... .......... .......... 7.29M [2021-03-30T15:57:55.246Z] 300K .......... .......... .......... .......... .......... 8.24M [2021-03-30T15:57:55.246Z] 350K .......... .......... .......... .......... .......... 9.30M [2021-03-30T15:57:55.246Z] 400K .......... .......... .......... .......... .......... 6.32M [2021-03-30T15:57:55.246Z] 450K .......... .......... .......... .......... .......... 5.42M [2021-03-30T15:57:55.246Z] 500K .......... .......... .......... .......... .......... 17.8M [2021-03-30T15:57:55.246Z] 550K .......... .......... .......... .......... .......... 3.59M [2021-03-30T15:57:55.246Z] 600K .......... .......... .......... .......... .......... 2.15M [2021-03-30T15:57:55.246Z] 650K .......... .......... .......... .......... .......... 4.85M [2021-03-30T15:57:55.246Z] 700K .. 40.9M=0.2s [2021-03-30T15:57:55.246Z] [2021-03-30T15:57:55.246Z] 2021-03-30 15:57:55 (3.94 MB/s) - written to stdout [719348] [2021-03-30T15:57:55.246Z] [2021-03-30T15:57:55.326Z] HTTP request sent, awaiting response... 302 Found [2021-03-30T15:57:55.326Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-03-30T15:57:55.326Z] --2021-03-30 15:57:55-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-03-30T15:57:55.326Z] Resolving codeload.github.com... 140.82.113.9 [2021-03-30T15:57:55.326Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-03-30T15:57:55.326Z] HTTP request sent, awaiting response... 200 OK [2021-03-30T15:57:55.326Z] Length: unspecified [application/x-gzip] [2021-03-30T15:57:55.326Z] Saving to: 'STDOUT' [2021-03-30T15:57:55.326Z]  [2021-03-30T15:57:55.326Z] 0K .......... ......  775K=0.02s [2021-03-30T15:57:55.326Z] [2021-03-30T15:57:55.326Z] 2021-03-30 15:57:55 (775 KB/s) - written to stdout [16451] [2021-03-30T15:57:55.326Z] [2021-03-30T15:57:55.326Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-03-30T15:57:55.326Z] + + tar -C depswget -z -O -x - -f https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz - [2021-03-30T15:57:55.326Z] [2021-03-30T15:57:55.326Z] --2021-03-30 15:57:55-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-03-30T15:57:55.514Z] -- The C compiler identification is GNU 8.3.0 [2021-03-30T15:57:55.514Z] -- The CXX compiler identification is GNU 8.3.0 [2021-03-30T15:57:55.514Z] -- Check for working C compiler: /usr/bin/cc [2021-03-30T15:57:55.598Z] Resolving github.com... 140.82.114.4 [2021-03-30T15:57:55.598Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-03-30T15:57:55.598Z] HTTP request sent, awaiting response... 302 Found [2021-03-30T15:57:55.598Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-03-30T15:57:55.598Z] --2021-03-30 15:57:55-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-03-30T15:57:55.598Z] Resolving codeload.github.com... 140.82.113.9 [2021-03-30T15:57:55.598Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-03-30T15:57:55.783Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-30T15:57:55.783Z] -- Detecting C compiler ABI info [2021-03-30T15:57:55.783Z] -- Detecting C compiler ABI info - done [2021-03-30T15:57:55.783Z] -- Detecting C compile features [2021-03-30T15:57:56.046Z] -- Detecting C compile features - done [2021-03-30T15:57:56.046Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-03-30T15:57:56.046Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-03-30T15:57:56.046Z] -- Detecting CXX compiler ABI info [2021-03-30T15:57:56.192Z] HTTP request sent, awaiting response... 200 OK [2021-03-30T15:57:56.192Z] Length: unspecified [application/x-gzip] [2021-03-30T15:57:56.192Z] Saving to: 'STDOUT' [2021-03-30T15:57:56.192Z]  [2021-03-30T15:57:56.192Z] 0K .......... .......... .......... .......... .......... 1.63M [2021-03-30T15:57:56.192Z] 50K .......... .......... .......... .......... .......... 3.16M [2021-03-30T15:57:56.192Z] 100K .......... .......... .......... .......... .......... 2.73M [2021-03-30T15:57:56.192Z] 150K .......... .......... .......  5.15M=0.07s [2021-03-30T15:57:56.192Z] [2021-03-30T15:57:56.192Z] 2021-03-30 15:57:56 (2.53 MB/s) - written to stdout [181796] [2021-03-30T15:57:56.192Z] [2021-03-30T15:57:56.192Z] + mkdir -p src/c/iot [2021-03-30T15:57:56.192Z] + 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-30T15:57:56.192Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-03-30T15:57:56.192Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-03-30T15:57:56.192Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-03-30T15:57:56.192Z] + mkdir -p include/iot [2021-03-30T15:57:56.192Z] + 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-30T15:57:56.192Z] + mkdir -p include/iot/os [2021-03-30T15:57:56.192Z] + 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-30T15:57:56.192Z] + mkdir -p /tmp/sdk/build/release [2021-03-30T15:57:56.192Z] + cd /tmp/sdk/build/release [2021-03-30T15:57:56.192Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-03-30T15:57:56.316Z] -- Detecting CXX compiler ABI info - done [2021-03-30T15:57:56.316Z] -- Detecting CXX compile features [2021-03-30T15:57:56.579Z] -- Detecting CXX compile features - done [2021-03-30T15:57:56.579Z] -- Looking for include file endian.h [2021-03-30T15:57:56.789Z] -- The C compiler identification is GNU 8.3.0 [2021-03-30T15:57:56.789Z] -- Check for working C compiler: /usr/bin/cc [2021-03-30T15:57:56.789Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-30T15:57:56.789Z] -- Detecting C compiler ABI info [2021-03-30T15:57:56.842Z] -- Looking for include file endian.h - found [2021-03-30T15:57:56.842Z] -- Check if the system is big endian [2021-03-30T15:57:56.842Z] -- Searching 16 bit integer [2021-03-30T15:57:56.842Z] -- Looking for sys/types.h [2021-03-30T15:57:56.842Z] -- Looking for sys/types.h - found [2021-03-30T15:57:56.842Z] -- Looking for stdint.h [2021-03-30T15:57:56.842Z] -- Looking for stdint.h - found [2021-03-30T15:57:56.842Z] -- Looking for stddef.h [2021-03-30T15:57:57.061Z] -- Detecting C compiler ABI info - done [2021-03-30T15:57:57.061Z] -- Detecting C compile features [2021-03-30T15:57:57.104Z] -- Looking for stddef.h - found [2021-03-30T15:57:57.104Z] -- Check size of unsigned short [2021-03-30T15:57:57.104Z] -- Check size of unsigned short - done [2021-03-30T15:57:57.104Z] -- Using unsigned short [2021-03-30T15:57:57.104Z] -- Check if the system is big endian - little endian [2021-03-30T15:57:57.104Z] -- Check size of size_t [2021-03-30T15:57:57.368Z] -- Check size of size_t - done [2021-03-30T15:57:57.368Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-03-30T15:57:57.368Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-03-30T15:57:57.368Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-03-30T15:57:57.368Z] CMake did not find one. [2021-03-30T15:57:57.368Z] [2021-03-30T15:57:57.368Z] Could not find a package configuration file provided by "cJSON" with any of [2021-03-30T15:57:57.368Z] the following names: [2021-03-30T15:57:57.368Z] [2021-03-30T15:57:57.368Z] cJSONConfig.cmake [2021-03-30T15:57:57.368Z] cjson-config.cmake [2021-03-30T15:57:57.368Z] [2021-03-30T15:57:57.368Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-03-30T15:57:57.368Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-03-30T15:57:57.368Z] provides a separate development package or SDK, be sure it has been [2021-03-30T15:57:57.368Z] installed. [2021-03-30T15:57:57.368Z] [2021-03-30T15:57:57.368Z] [2021-03-30T15:57:57.368Z] -- Configuring done [2021-03-30T15:57:57.368Z] -- Generating done [2021-03-30T15:57:57.368Z] -- Build files have been written to: /tmp/cbor [2021-03-30T15:57:57.368Z] Scanning dependencies of target cbor_shared [2021-03-30T15:57:57.368Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-03-30T15:57:57.631Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-03-30T15:57:57.898Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-03-30T15:57:57.898Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-03-30T15:57:58.038Z] -- Detecting C compile features - done [2021-03-30T15:57:58.038Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-03-30T15:57:58.038Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-03-30T15:57:58.038Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-03-30T15:57:58.038Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-03-30T15:57:58.038Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-03-30T15:57:58.038Z] -- C SDK 0.0.0 for Linux [2021-03-30T15:57:58.038Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-03-30T15:57:58.161Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-03-30T15:57:58.161Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-03-30T15:57:58.161Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-03-30T15:57:58.161Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-03-30T15:57:58.314Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-03-30T15:57:58.314Z] -- Found Curses: /usr/lib/libcurses.so [2021-03-30T15:57:58.314Z] -- Configuring done [2021-03-30T15:57:58.424Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-03-30T15:57:58.424Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-03-30T15:57:58.424Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-03-30T15:57:58.588Z] -- Generating done [2021-03-30T15:57:58.588Z] -- Build files have been written to: /tmp/sdk/build/release [2021-03-30T15:57:58.588Z] + + teemake release.log all [2021-03-30T15:57:58.588Z] package [2021-03-30T15:57:58.588Z] Scanning dependencies of target csdk [2021-03-30T15:57:58.686Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-03-30T15:57:58.686Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-03-30T15:57:58.861Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-03-30T15:57:58.950Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-03-30T15:57:58.950Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-03-30T15:57:58.950Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-03-30T15:57:58.950Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-03-30T15:57:59.215Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-03-30T15:57:59.215Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-03-30T15:57:59.215Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-03-30T15:57:59.215Z] [ 40%] Linking C shared library libcbor.so [2021-03-30T15:57:59.454Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-03-30T15:57:59.476Z] [ 40%] Built target cbor_shared [2021-03-30T15:57:59.476Z] Scanning dependencies of target cbor [2021-03-30T15:57:59.476Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-03-30T15:57:59.476Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-03-30T15:57:59.739Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-03-30T15:57:59.739Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-03-30T15:58:00.001Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-03-30T15:58:00.050Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-03-30T15:58:00.265Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-03-30T15:58:00.265Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-03-30T15:58:00.265Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-03-30T15:58:00.265Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-03-30T15:58:00.529Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-03-30T15:58:00.797Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-03-30T15:58:00.798Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-03-30T15:58:00.798Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-03-30T15:58:01.071Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-03-30T15:58:01.071Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-03-30T15:58:01.071Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-03-30T15:58:01.337Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-03-30T15:58:01.337Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-03-30T15:58:01.337Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-03-30T15:58:01.337Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-03-30T15:58:01.507Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-03-30T15:58:01.602Z] [ 80%] Linking C static library libcbor.a [2021-03-30T15:58:01.603Z] [ 80%] Built target cbor [2021-03-30T15:58:01.603Z] Scanning dependencies of target create_items [2021-03-30T15:58:01.603Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-03-30T15:58:01.603Z] [ 84%] Linking C executable create_items [2021-03-30T15:58:01.603Z] [ 84%] Built target create_items [2021-03-30T15:58:01.603Z] Scanning dependencies of target readfile [2021-03-30T15:58:01.603Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-03-30T15:58:01.876Z] [ 88%] Linking C executable readfile [2021-03-30T15:58:01.876Z] [ 88%] Built target readfile [2021-03-30T15:58:01.876Z] Scanning dependencies of target streaming_parser [2021-03-30T15:58:01.876Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-03-30T15:58:01.876Z] [ 92%] Linking C executable streaming_parser [2021-03-30T15:58:01.876Z] [ 92%] Built target streaming_parser [2021-03-30T15:58:01.876Z] Scanning dependencies of target sort [2021-03-30T15:58:01.876Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-03-30T15:58:01.876Z] [ 96%] Linking C executable sort [2021-03-30T15:58:02.147Z] [ 96%] Built target sort [2021-03-30T15:58:02.147Z] Scanning dependencies of target hello [2021-03-30T15:58:02.147Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-03-30T15:58:02.147Z] [100%] Linking C executable hello [2021-03-30T15:58:02.147Z] [100%] Built target hello [2021-03-30T15:58:02.147Z] Install the project... [2021-03-30T15:58:02.147Z] -- Install configuration: "Release" [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/lib64/libcbor.a [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/lib64/libcbor.so [2021-03-30T15:58:02.147Z] -- Up-to-date: /usr/local/include/cbor [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/common.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/data.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/internal [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/ints.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/maps.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/strings.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor/tags.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/include/cbor.h [2021-03-30T15:58:02.147Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-03-30T15:58:02.489Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-03-30T15:58:02.489Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-03-30T15:58:03.471Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-03-30T15:58:04.709Z] Removing intermediate container 2c4099f463df [2021-03-30T15:58:04.709Z] ---> 61740b5029b8 [2021-03-30T15:58:04.709Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-03-30T15:58:04.709Z] ---> Running in fc894ebf69c5 [2021-03-30T15:58:04.899Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-03-30T15:58:05.492Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-03-30T15:58:06.114Z] Removing intermediate container fc894ebf69c5 [2021-03-30T15:58:06.114Z] ---> 9bd4dd193e1f [2021-03-30T15:58:06.114Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-03-30T15:58:06.114Z] ---> 3c4467647e6a [2021-03-30T15:58:06.114Z] Step 8/21 : COPY src /tmp/sdk/src [2021-03-30T15:58:06.119Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-03-30T15:58:06.400Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-03-30T15:58:06.995Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-03-30T15:58:06.995Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-03-30T15:58:07.066Z] ---> b42e48ad555a [2021-03-30T15:58:07.066Z] Step 9/21 : COPY include /tmp/sdk/include [2021-03-30T15:58:07.270Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-03-30T15:58:07.328Z] ---> 346ce45e967d [2021-03-30T15:58:07.328Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-03-30T15:58:07.595Z] ---> 895043a50054 [2021-03-30T15:58:07.595Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-03-30T15:58:07.860Z] ---> 431bafb135ac [2021-03-30T15:58:07.860Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-03-30T15:58:08.130Z] ---> 3387098dc904 [2021-03-30T15:58:08.130Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-03-30T15:58:08.130Z] ---> Running in c37749247ea1 [2021-03-30T15:58:08.709Z] + CPPCHECK=false [2021-03-30T15:58:08.709Z] + DOCGEN=false [2021-03-30T15:58:08.709Z] + TOMLVER=SDK-0.2 [2021-03-30T15:58:08.709Z] + CUTILVER=1.1.4 [2021-03-30T15:58:08.709Z] + '[' 0 -gt 0 ] [2021-03-30T15:58:08.709Z] + readlink -f ./scripts/build.sh [2021-03-30T15:58:08.709Z] + dirname /tmp/sdk/scripts/build.sh [2021-03-30T15:58:08.709Z] + dirname /tmp/sdk/scripts [2021-03-30T15:58:08.709Z] + ROOT=/tmp/sdk [2021-03-30T15:58:08.709Z] + cd /tmp/sdk [2021-03-30T15:58:08.709Z] + '[' '!' -d deps ] [2021-03-30T15:58:08.709Z] + mkdir deps [2021-03-30T15:58:08.709Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-03-30T15:58:08.709Z] + tar -C deps -z -x -f - [2021-03-30T15:58:08.709Z] --2021-03-30 15:58:08-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-03-30T15:58:08.709Z] Resolving github.com... 140.82.114.4 [2021-03-30T15:58:08.709Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-03-30T15:58:08.709Z] HTTP request sent, awaiting response... 302 Found [2021-03-30T15:58:08.709Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-03-30T15:58:08.709Z] --2021-03-30 15:58:08-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-03-30T15:58:08.709Z] Resolving codeload.github.com... 140.82.113.9 [2021-03-30T15:58:08.709Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-03-30T15:58:08.709Z] HTTP request sent, awaiting response... 200 OK [2021-03-30T15:58:08.709Z] Length: unspecified [application/x-gzip] [2021-03-30T15:58:08.709Z] Saving to: 'STDOUT' [2021-03-30T15:58:08.709Z]  [2021-03-30T15:58:08.709Z] 0K .......... ...... 894K=0.02s [2021-03-30T15:58:08.709Z] [2021-03-30T15:58:08.709Z] 2021-03-30 15:58:08 (894 KB/s) - written to stdout [16451] [2021-03-30T15:58:08.709Z] [2021-03-30T15:58:08.709Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-03-30T15:58:08.709Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-03-30T15:58:08.709Z] + tar -C deps -z -x -f - [2021-03-30T15:58:08.709Z] --2021-03-30 15:58:08-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-03-30T15:58:08.709Z] Resolving github.com... 140.82.114.4 [2021-03-30T15:58:08.973Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-03-30T15:58:08.973Z] HTTP request sent, awaiting response... 302 Found [2021-03-30T15:58:08.973Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-03-30T15:58:08.973Z] --2021-03-30 15:58:08-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-03-30T15:58:08.973Z] Resolving codeload.github.com... 140.82.113.9 [2021-03-30T15:58:08.973Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-03-30T15:58:08.973Z] HTTP request sent, awaiting response... 200 OK [2021-03-30T15:58:08.973Z] Length: unspecified [application/x-gzip] [2021-03-30T15:58:08.973Z] Saving to: 'STDOUT' [2021-03-30T15:58:08.973Z]  [2021-03-30T15:58:08.973Z] 0K .......... .......... .......... .......... .......... 1.34M [2021-03-30T15:58:08.973Z] 50K .......... .......... .......... .......... .......... 2.68M [2021-03-30T15:58:08.973Z] 100K .......... .......... .......... .......... .......... 26.2M [2021-03-30T15:58:08.973Z] 150K .......... .......... ....... 27.0M=0.06s [2021-03-30T15:58:08.973Z] [2021-03-30T15:58:08.973Z] 2021-03-30 15:58:08 (3.01 MB/s) - written to stdout [181796] [2021-03-30T15:58:08.973Z] [2021-03-30T15:58:08.973Z] + mkdir -p src/c/iot [2021-03-30T15:58:08.973Z] + 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-30T15:58:08.973Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-03-30T15:58:08.973Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-03-30T15:58:08.973Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-03-30T15:58:08.973Z] + mkdir -p include/iot [2021-03-30T15:58:08.973Z] + 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-30T15:58:08.973Z] + mkdir -p include/iot/os [2021-03-30T15:58:08.973Z] + 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-30T15:58:08.973Z] + mkdir -p /tmp/sdk/build/release [2021-03-30T15:58:08.973Z] + cd /tmp/sdk/build/release [2021-03-30T15:58:08.973Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-03-30T15:58:09.237Z] -- The C compiler identification is GNU 8.3.0 [2021-03-30T15:58:09.237Z] -- Check for working C compiler: /usr/bin/cc [2021-03-30T15:58:09.237Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-30T15:58:09.237Z] -- Detecting C compiler ABI info [2021-03-30T15:58:09.500Z] -- Detecting C compiler ABI info - done [2021-03-30T15:58:09.500Z] -- Detecting C compile features [2021-03-30T15:58:09.766Z] -- Detecting C compile features - done [2021-03-30T15:58:09.766Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-03-30T15:58:09.766Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-03-30T15:58:09.766Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-03-30T15:58:09.766Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-03-30T15:58:09.766Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-03-30T15:58:09.766Z] -- C SDK 0.0.0 for Linux [2021-03-30T15:58:09.766Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-03-30T15:58:09.766Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-03-30T15:58:09.766Z] -- Found Curses: /usr/lib/libcurses.so [2021-03-30T15:58:09.766Z] -- Configuring done [2021-03-30T15:58:09.766Z] -- Generating done [2021-03-30T15:58:09.766Z] -- Build files have been written to: /tmp/sdk/build/release [2021-03-30T15:58:09.766Z] + make all package [2021-03-30T15:58:09.766Z] + tee release.log [2021-03-30T15:58:09.898Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-03-30T15:58:10.029Z] Scanning dependencies of target csdk [2021-03-30T15:58:10.029Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-03-30T15:58:10.029Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-03-30T15:58:10.170Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-03-30T15:58:10.297Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-03-30T15:58:10.445Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-03-30T15:58:10.876Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-03-30T15:58:10.877Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-03-30T15:58:10.877Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-03-30T15:58:11.047Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-03-30T15:58:11.142Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-03-30T15:58:11.325Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-03-30T15:58:11.718Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-03-30T15:58:11.718Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-03-30T15:58:11.919Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-03-30T15:58:11.983Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-03-30T15:58:11.983Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-03-30T15:58:12.246Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-03-30T15:58:12.246Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-03-30T15:58:12.246Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-03-30T15:58:13.196Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-03-30T15:58:13.196Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-03-30T15:58:13.196Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-03-30T15:58:13.464Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-03-30T15:58:13.464Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-03-30T15:58:13.733Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-03-30T15:58:14.310Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-03-30T15:58:14.310Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-03-30T15:58:14.528Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-03-30T15:58:14.529Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-03-30T15:58:14.574Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-03-30T15:58:14.574Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-03-30T15:58:14.803Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-03-30T15:58:14.840Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-03-30T15:58:14.840Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-03-30T15:58:15.109Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-03-30T15:58:15.109Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-03-30T15:58:15.376Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-03-30T15:58:15.376Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-03-30T15:58:15.400Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-03-30T15:58:15.955Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-03-30T15:58:15.955Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-03-30T15:58:15.994Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-03-30T15:58:15.994Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-03-30T15:58:16.219Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-03-30T15:58:16.219Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-03-30T15:58:16.994Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-03-30T15:58:17.266Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-03-30T15:58:17.622Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-03-30T15:58:17.622Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-03-30T15:58:17.622Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-03-30T15:58:17.861Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-03-30T15:58:17.884Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-03-30T15:58:18.141Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-03-30T15:58:18.147Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-03-30T15:58:18.415Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-03-30T15:58:19.000Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-03-30T15:58:19.952Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-03-30T15:58:19.952Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-03-30T15:58:20.121Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-03-30T15:58:20.219Z] [ 73%] Linking C shared library libcsdk.so [2021-03-30T15:58:20.219Z] [ 73%] Built target csdk [2021-03-30T15:58:20.219Z] Scanning dependencies of target template [2021-03-30T15:58:20.219Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-03-30T15:58:20.394Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-03-30T15:58:20.483Z] [ 76%] Linking C executable template [2021-03-30T15:58:20.483Z] [ 76%] Built target template [2021-03-30T15:58:20.483Z] Scanning dependencies of target device-counter [2021-03-30T15:58:20.483Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-03-30T15:58:20.483Z] [ 80%] Linking C executable device-counter [2021-03-30T15:58:20.746Z] [ 80%] Built target device-counter [2021-03-30T15:58:20.746Z] Scanning dependencies of target device-random [2021-03-30T15:58:20.746Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-03-30T15:58:20.746Z] [ 83%] Linking C executable device-random [2021-03-30T15:58:20.986Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-03-30T15:58:21.013Z] [ 83%] Built target device-random [2021-03-30T15:58:21.013Z] Scanning dependencies of target device-gyro [2021-03-30T15:58:21.013Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-03-30T15:58:21.013Z] [ 86%] Linking C executable device-gyro [2021-03-30T15:58:21.258Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-03-30T15:58:21.283Z] [ 86%] Built target device-gyro [2021-03-30T15:58:21.283Z] Scanning dependencies of target device-bitfields [2021-03-30T15:58:21.283Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-03-30T15:58:21.283Z] [ 90%] Linking C executable device-bitfields [2021-03-30T15:58:21.283Z] [ 90%] Built target device-bitfields [2021-03-30T15:58:21.283Z] Scanning dependencies of target template-discovery [2021-03-30T15:58:21.283Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-03-30T15:58:21.547Z] [ 93%] Linking C executable template-discovery [2021-03-30T15:58:21.547Z] [ 93%] Built target template-discovery [2021-03-30T15:58:21.547Z] Scanning dependencies of target device-file [2021-03-30T15:58:21.547Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-03-30T15:58:21.809Z] [ 96%] Linking C executable device-file [2021-03-30T15:58:21.809Z] [ 96%] Built target device-file [2021-03-30T15:58:21.809Z] Scanning dependencies of target device-terminal [2021-03-30T15:58:21.809Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-03-30T15:58:22.073Z] [100%] Linking C executable device-terminal [2021-03-30T15:58:22.073Z] [100%] Built target device-terminal [2021-03-30T15:58:22.073Z] Run CPack packaging tool... [2021-03-30T15:58:22.336Z] CPack: Create package using TGZ [2021-03-30T15:58:22.336Z] CPack: Install projects [2021-03-30T15:58:22.336Z] CPack: - Run preinstall target for: Csdk [2021-03-30T15:58:22.336Z] CPack: - Install project: Csdk [2021-03-30T15:58:22.336Z] CPack: Create package [2021-03-30T15:58:22.600Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-03-30T15:58:22.600Z] + '[' false '=' true ] [2021-03-30T15:58:22.600Z] + '[' false '=' true ] [2021-03-30T15:58:22.600Z] + mkdir -p /tmp/sdk/build/debug [2021-03-30T15:58:22.600Z] + cd /tmp/sdk/build/debug [2021-03-30T15:58:22.600Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-03-30T15:58:22.600Z] -- The C compiler identification is GNU 8.3.0 [2021-03-30T15:58:22.600Z] -- Check for working C compiler: /usr/bin/cc [2021-03-30T15:58:22.600Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-30T15:58:22.600Z] -- Detecting C compiler ABI info [2021-03-30T15:58:22.863Z] -- Detecting C compiler ABI info - done [2021-03-30T15:58:22.863Z] -- Detecting C compile features [2021-03-30T15:58:23.135Z] -- Detecting C compile features - done [2021-03-30T15:58:23.135Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-03-30T15:58:23.135Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-03-30T15:58:23.135Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-03-30T15:58:23.135Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-03-30T15:58:23.135Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-03-30T15:58:23.135Z] -- C SDK 0.0.0 for Linux [2021-03-30T15:58:23.135Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-03-30T15:58:23.135Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-03-30T15:58:23.135Z] -- Found Curses: /usr/lib/libcurses.so [2021-03-30T15:58:23.135Z] -- Configuring done [2021-03-30T15:58:23.135Z] -- Generating done [2021-03-30T15:58:23.135Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-03-30T15:58:23.135Z] + make [2021-03-30T15:58:23.135Z] + tee debug.log [2021-03-30T15:58:23.398Z] Scanning dependencies of target csdk [2021-03-30T15:58:23.398Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-03-30T15:58:23.398Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-03-30T15:58:23.398Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-03-30T15:58:23.662Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-03-30T15:58:23.662Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-03-30T15:58:23.925Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-03-30T15:58:23.925Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-03-30T15:58:24.187Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-03-30T15:58:24.187Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-03-30T15:58:24.187Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-03-30T15:58:24.450Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-03-30T15:58:24.450Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-03-30T15:58:24.450Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-03-30T15:58:24.450Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-03-30T15:58:24.715Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-03-30T15:58:24.715Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-03-30T15:58:24.977Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-03-30T15:58:24.977Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-03-30T15:58:24.977Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-03-30T15:58:24.977Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-03-30T15:58:25.239Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-03-30T15:58:25.502Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-03-30T15:58:25.502Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-03-30T15:58:25.502Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-03-30T15:58:25.502Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-03-30T15:58:25.546Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-03-30T15:58:25.767Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-03-30T15:58:25.768Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-03-30T15:58:25.768Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-03-30T15:58:25.768Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-03-30T15:58:25.820Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-03-30T15:58:26.030Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-03-30T15:58:26.030Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-03-30T15:58:26.030Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-03-30T15:58:26.090Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-03-30T15:58:26.292Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-03-30T15:58:26.292Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-03-30T15:58:26.557Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-03-30T15:58:26.682Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-03-30T15:58:26.819Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-03-30T15:58:26.819Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-03-30T15:58:26.819Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-03-30T15:58:27.084Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-03-30T15:58:27.274Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-03-30T15:58:27.348Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-03-30T15:58:27.348Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-03-30T15:58:27.618Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-03-30T15:58:27.618Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-03-30T15:58:27.880Z] [ 73%] Linking C shared library libcsdk.so [2021-03-30T15:58:27.880Z] [ 73%] Built target csdk [2021-03-30T15:58:27.880Z] Scanning dependencies of target template [2021-03-30T15:58:27.880Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-03-30T15:58:27.880Z] [ 76%] Linking C executable template [2021-03-30T15:58:27.880Z] [ 76%] Built target template [2021-03-30T15:58:27.880Z] Scanning dependencies of target device-counter [2021-03-30T15:58:28.146Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-03-30T15:58:28.146Z] [ 80%] Linking C executable device-counter [2021-03-30T15:58:28.146Z] [ 80%] Built target device-counter [2021-03-30T15:58:28.146Z] Scanning dependencies of target device-random [2021-03-30T15:58:28.146Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-03-30T15:58:28.146Z] [ 83%] Linking C executable device-random [2021-03-30T15:58:28.408Z] [ 83%] Built target device-random [2021-03-30T15:58:28.408Z] Scanning dependencies of target device-gyro [2021-03-30T15:58:28.408Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-03-30T15:58:28.408Z] [ 86%] Linking C executable device-gyro [2021-03-30T15:58:28.408Z] [ 86%] Built target device-gyro [2021-03-30T15:58:28.408Z] Scanning dependencies of target device-bitfields [2021-03-30T15:58:28.408Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-03-30T15:58:28.672Z] [ 90%] Linking C executable device-bitfields [2021-03-30T15:58:28.672Z] [ 90%] Built target device-bitfields [2021-03-30T15:58:28.672Z] Scanning dependencies of target template-discovery [2021-03-30T15:58:28.672Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-03-30T15:58:28.672Z] [ 93%] Linking C executable template-discovery [2021-03-30T15:58:28.705Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-03-30T15:58:28.935Z] [ 93%] Built target template-discovery [2021-03-30T15:58:28.935Z] Scanning dependencies of target device-file [2021-03-30T15:58:28.935Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-03-30T15:58:28.935Z] [ 96%] Linking C executable device-file [2021-03-30T15:58:28.935Z] [ 96%] Built target device-file [2021-03-30T15:58:28.935Z] Scanning dependencies of target device-terminal [2021-03-30T15:58:28.935Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-03-30T15:58:29.197Z] [100%] Linking C executable device-terminal [2021-03-30T15:58:29.197Z] [100%] Built target device-terminal [2021-03-30T15:58:29.197Z] make: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.197Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.197Z] [ 73%] Built target csdk [2021-03-30T15:58:29.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.197Z] [ 76%] Built target template [2021-03-30T15:58:29.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.197Z] [ 80%] Built target device-counter [2021-03-30T15:58:29.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.197Z] [ 83%] Built target device-random [2021-03-30T15:58:29.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.467Z] [ 86%] Built target device-gyro [2021-03-30T15:58:29.467Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.467Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.467Z] [ 90%] Built target device-bitfields [2021-03-30T15:58:29.467Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.467Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.467Z] [ 93%] Built target template-discovery [2021-03-30T15:58:29.467Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.467Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.467Z] [ 96%] Built target device-file [2021-03-30T15:58:29.467Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.467Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.467Z] [100%] Built target device-terminal [2021-03-30T15:58:29.467Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:58:29.467Z] Install the project... [2021-03-30T15:58:29.467Z] -- Install configuration: "Release" [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/lib/libcsdk.so [2021-03-30T15:58:29.467Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-03-30T15:58:29.467Z] -- Up-to-date: /usr/local/include [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/devsdk [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/edgex [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/edgex/devices.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/base64.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/component.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/config.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/container.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/data.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/hash.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/iot.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/json.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/logger.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/os.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/thread.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/time.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/typecode.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/os [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/include/iot/defs.h [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-03-30T15:58:29.467Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-03-30T15:58:29.467Z] make: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:58:30.673Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-03-30T15:58:31.391Z] Removing intermediate container c37749247ea1 [2021-03-30T15:58:31.391Z] ---> 676af16f0f32 [2021-03-30T15:58:31.391Z] Step 14/21 : FROM ${BASE} [2021-03-30T15:58:31.391Z] ---> 5eabd8fd8ba2 [2021-03-30T15:58:31.391Z] Step 15/21 : LABEL maintainer="IOTech " [2021-03-30T15:58:31.654Z] ---> Running in 92c47cd38f58 [2021-03-30T15:58:31.654Z] Removing intermediate container 92c47cd38f58 [2021-03-30T15:58:31.654Z] ---> ea28b6c0aa9a [2021-03-30T15:58:31.654Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-03-30T15:58:31.654Z] ---> Running in 2b6ce4ad8bd3 [2021-03-30T15:58:32.240Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-03-30T15:58:33.200Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-03-30T15:58:33.482Z] (1/3) Installing curl (7.64.0-r5) [2021-03-30T15:58:33.761Z] (2/3) Installing libuuid (2.33-r0) [2021-03-30T15:58:33.761Z] (3/3) Installing wget (1.20.3-r0) [2021-03-30T15:58:33.761Z] Executing busybox-1.29.3-r10.trigger [2021-03-30T15:58:34.027Z] OK: 268 MiB in 78 packages [2021-03-30T15:58:34.045Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-03-30T15:58:34.289Z] Removing intermediate container 2b6ce4ad8bd3 [2021-03-30T15:58:34.289Z] ---> 9ada0ef72dce [2021-03-30T15:58:34.289Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-03-30T15:58:34.323Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-03-30T15:58:34.552Z] ---> 88189af3b0e7 [2021-03-30T15:58:34.552Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-03-30T15:58:34.601Z] [ 73%] Linking C shared library libcsdk.so [2021-03-30T15:58:34.814Z] ---> ff4adee6bc1f [2021-03-30T15:58:34.814Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-03-30T15:58:34.880Z] [ 73%] Built target csdk [2021-03-30T15:58:34.880Z] Scanning dependencies of target template [2021-03-30T15:58:34.880Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-03-30T15:58:35.080Z] ---> f739d3c67c74 [2021-03-30T15:58:35.080Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-03-30T15:58:35.342Z] ---> 8623c8478817 [2021-03-30T15:58:35.342Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-03-30T15:58:35.482Z] [ 76%] Linking C executable template [2021-03-30T15:58:35.604Z] ---> 5b429fb619dd [2021-03-30T15:58:35.604Z] Successfully built 5b429fb619dd [2021-03-30T15:58:35.604Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [2021-03-30T15:58:35.762Z] [ 76%] Built target template [2021-03-30T15:58:35.762Z] Scanning dependencies of target device-counter [2021-03-30T15:58:35.762Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:58:36.360Z] [ 80%] Linking C executable device-counter [2021-03-30T15:58:36.360Z] [ 80%] Built target device-counter [2021-03-30T15:58:36.539Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-30T15:58:36.539Z] . [Pipeline] withDockerContainer [2021-03-30T15:58:36.632Z] Scanning dependencies of target device-random [2021-03-30T15:58:36.632Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-03-30T15:58:36.679Z] prd-centos7-docker-4c-2g-32047 does not seem to be running inside a container [2021-03-30T15:58:36.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-30T15:58:36.904Z] [ 83%] Linking C executable device-random [2021-03-30T15:58:37.176Z] [ 83%] Built target device-random [2021-03-30T15:58:37.176Z] Scanning dependencies of target device-gyro [2021-03-30T15:58:37.176Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-03-30T15:58:37.772Z] [ 86%] Linking C executable device-gyro [2021-03-30T15:58:37.772Z] [ 86%] Built target device-gyro [2021-03-30T15:58:37.772Z] Scanning dependencies of target device-bitfields [2021-03-30T15:58:37.772Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-03-30T15:58:37.929Z] $ docker top 137f74d27c4f7fce42403cfe02787356705e9f2b30171b409d46c03bdcee84fb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T15:58:38.366Z] [ 90%] Linking C executable device-bitfields [2021-03-30T15:58:38.366Z] [ 90%] Built target device-bitfields [2021-03-30T15:58:38.500Z] + make test [2021-03-30T15:58:38.500Z] echo "make test" [2021-03-30T15:58:38.500Z] make test [Pipeline] } [2021-03-30T15:58:38.569Z] $ docker stop --time=1 137f74d27c4f7fce42403cfe02787356705e9f2b30171b409d46c03bdcee84fb [2021-03-30T15:58:38.639Z] Scanning dependencies of target template-discovery [2021-03-30T15:58:38.640Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-03-30T15:58:39.235Z] [ 93%] Linking C executable template-discovery [2021-03-30T15:58:39.508Z] [ 93%] Built target template-discovery [2021-03-30T15:58:39.508Z] Scanning dependencies of target device-file [2021-03-30T15:58:39.508Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-03-30T15:58:39.927Z] $ docker rm -f 137f74d27c4f7fce42403cfe02787356705e9f2b30171b409d46c03bdcee84fb [2021-03-30T15:58:40.103Z] [ 96%] Linking C executable device-file [2021-03-30T15:58:40.103Z] [ 96%] Built target device-file [2021-03-30T15:58:40.103Z] Scanning dependencies of target device-terminal [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-03-30T15:58:40.377Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-03-30T15:58:40.657Z] [100%] Linking C executable device-terminal [Pipeline] script [Pipeline] { [2021-03-30T15:58:40.948Z] [100%] Built target device-terminal [2021-03-30T15:58:40.948Z] Run CPack packaging tool... [2021-03-30T15:58:40.948Z] CPack: Create package using TGZ [2021-03-30T15:58:40.948Z] CPack: Install projects [2021-03-30T15:58:40.948Z] CPack: - Run preinstall target for: Csdk [2021-03-30T15:58:41.561Z] CPack: - Install project: Csdk [2021-03-30T15:58:41.561Z] CPack: Create package [2021-03-30T15:58:41.844Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-03-30T15:58:41.844Z] + '[' false '=' true ] [2021-03-30T15:58:41.844Z] + '[' false '=' true ] [2021-03-30T15:58:41.844Z] + mkdir -p /tmp/sdk/build/debug [2021-03-30T15:58:41.844Z] + cd /tmp/sdk/build/debug [2021-03-30T15:58:41.844Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-03-30T15:58:42.117Z] -- The C compiler identification is GNU 8.3.0 [2021-03-30T15:58:42.117Z] -- Check for working C compiler: /usr/bin/cc [2021-03-30T15:58:42.389Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-30T15:58:42.389Z] -- Detecting C compiler ABI info [2021-03-30T15:58:42.661Z] -- Detecting C compiler ABI info - done [2021-03-30T15:58:42.661Z] -- Detecting C compile features [2021-03-30T15:58:43.260Z] -- Detecting C compile features - done [2021-03-30T15:58:43.260Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-03-30T15:58:43.260Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-03-30T15:58:43.260Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-03-30T15:58:43.260Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-03-30T15:58:43.260Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-03-30T15:58:43.260Z] -- C SDK 0.0.0 for Linux [2021-03-30T15:58:43.260Z] -- Performing Test CSDK_HAVE_ATOMIC [Pipeline] sh [2021-03-30T15:58:43.533Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-03-30T15:58:43.533Z] -- Found Curses: /usr/lib/libcurses.so [2021-03-30T15:58:43.716Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-30T15:58:43.805Z] -- Configuring done [2021-03-30T15:58:44.039Z] + ls -al . [2021-03-30T15:58:44.039Z] total 160 [2021-03-30T15:58:44.039Z] drwxrwxr-x. 8 jenkins jenkins 260 Mar 30 15:57 . [2021-03-30T15:58:44.039Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 30 15:57 .. [2021-03-30T15:58:44.039Z] -rw-rw-r--. 1 jenkins jenkins 3104 Mar 30 15:57 Attribution.txt [2021-03-30T15:58:44.039Z] -rw-rw-r--. 1 jenkins jenkins 7129 Mar 30 15:57 CHANGES [2021-03-30T15:58:44.039Z] drwxrwxr-x. 2 jenkins jenkins 121 Mar 30 15:57 docs [2021-03-30T15:58:44.039Z] -rw-rw-r--. 1 jenkins jenkins 108574 Mar 30 15:57 Doxyfile [2021-03-30T15:58:44.039Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 30 15:57 .git [2021-03-30T15:58:44.039Z] drwxrwxr-x. 2 jenkins jenkins 81 Mar 30 15:57 .github [2021-03-30T15:58:44.039Z] -rw-rw-r--. 1 jenkins jenkins 176 Mar 30 15:57 .gitignore [2021-03-30T15:58:44.039Z] drwxrwxr-x. 4 jenkins jenkins 33 Mar 30 15:57 include [2021-03-30T15:58:44.039Z] -rw-rw-r--. 1 jenkins jenkins 784 Mar 30 15:57 Jenkinsfile [2021-03-30T15:58:44.039Z] -rw-rw-r--. 1 jenkins jenkins 10174 Mar 30 15:57 LICENSE [2021-03-30T15:58:44.039Z] -rw-rw-r--. 1 jenkins jenkins 444 Mar 30 15:57 Makefile [2021-03-30T15:58:44.039Z] -rw-rw-r--. 1 jenkins jenkins 2694 Mar 30 15:57 README.md [2021-03-30T15:58:44.039Z] -rw-rw-r--. 1 jenkins jenkins 6654 Mar 30 15:57 README.v2.md [2021-03-30T15:58:44.039Z] drwxrwxr-x. 2 jenkins jenkins 98 Mar 30 15:57 scripts [2021-03-30T15:58:44.039Z] drwxrwxr-x. 4 jenkins jenkins 50 Mar 30 15:57 src [2021-03-30T15:58:44.039Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 30 15:54 VERSION [Pipeline] isUnix [2021-03-30T15:58:44.080Z] -- Generating done [2021-03-30T15:58:44.080Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-03-30T15:58:44.080Z] + make [2021-03-30T15:58:44.080Z] + tee debug.log [2021-03-30T15:58:44.080Z] Scanning dependencies of target csdk [Pipeline] sh [2021-03-30T15:58:44.361Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-03-30T15:58:44.379Z] + 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=20530e72b6a502cd03c485f6b7c419dd94dc5744 --label arch=amd64 --label version=0.0.0 . [2021-03-30T15:58:44.379Z] Sending build context to Docker daemon 2.515MB [2021-03-30T15:58:44.379Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-03-30T15:58:44.379Z] Step 2/15 : FROM ${BASE} [2021-03-30T15:58:44.379Z] ---> 5b429fb619dd [2021-03-30T15:58:44.379Z] Step 3/15 : LABEL maintainer="IOTech " [2021-03-30T15:58:44.637Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-03-30T15:58:44.909Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-03-30T15:58:45.334Z] ---> Running in 1036e65bbd94 [2021-03-30T15:58:45.334Z] Removing intermediate container 1036e65bbd94 [2021-03-30T15:58:45.334Z] ---> 26e0b9541401 [2021-03-30T15:58:45.334Z] 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-30T15:58:45.334Z] ---> Running in b6bd3f2e5d07 [2021-03-30T15:58:45.502Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-03-30T15:58:45.775Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-03-30T15:58:45.775Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-03-30T15:58:45.907Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-03-30T15:58:46.372Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-03-30T15:58:46.644Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-03-30T15:58:46.856Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-03-30T15:58:46.914Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-03-30T15:58:47.119Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-03-30T15:58:47.119Z] (2/6) Installing libblkid (2.33-r0) [2021-03-30T15:58:47.119Z] (3/6) Installing libfdisk (2.33-r0) [2021-03-30T15:58:47.187Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-03-30T15:58:47.382Z] (4/6) Installing libmount (2.33-r0) [2021-03-30T15:58:47.382Z] (5/6) Installing libsmartcols (2.33-r0) [2021-03-30T15:58:47.382Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-03-30T15:58:47.459Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-03-30T15:58:47.729Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-03-30T15:58:47.962Z] Executing busybox-1.29.3-r10.trigger [2021-03-30T15:58:47.962Z] OK: 272 MiB in 84 packages [2021-03-30T15:58:48.004Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-03-30T15:58:48.004Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-03-30T15:58:48.556Z] Removing intermediate container b6bd3f2e5d07 [2021-03-30T15:58:48.556Z] ---> af144cfd1e2e [2021-03-30T15:58:48.556Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-03-30T15:58:48.556Z] ---> e09fe8a0b31e [2021-03-30T15:58:48.556Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-03-30T15:58:48.999Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-03-30T15:58:48.999Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-03-30T15:58:49.272Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-03-30T15:58:49.505Z] ---> d092be9b50ea [2021-03-30T15:58:49.505Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-03-30T15:58:49.553Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-03-30T15:58:49.553Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-03-30T15:58:49.769Z] ---> 890dc71f5e45 [2021-03-30T15:58:49.769Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-03-30T15:58:49.827Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-03-30T15:58:50.037Z] ---> e6cd4f584c9a [2021-03-30T15:58:50.037Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-03-30T15:58:50.314Z] ---> 7f42bdc3c0e9 [2021-03-30T15:58:50.314Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-03-30T15:58:50.314Z] ---> e8d287f99db9 [2021-03-30T15:58:50.314Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-03-30T15:58:50.588Z] ---> Running in da18dac49473 [2021-03-30T15:58:50.588Z] Removing intermediate container da18dac49473 [2021-03-30T15:58:50.588Z] ---> b2bb83b2e2d0 [2021-03-30T15:58:50.588Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-03-30T15:58:50.831Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-03-30T15:58:50.831Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-03-30T15:58:50.853Z] ---> Running in 3e335187af27 [2021-03-30T15:58:51.105Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-03-30T15:58:51.379Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-03-30T15:58:51.427Z] Removing intermediate container 3e335187af27 [2021-03-30T15:58:51.427Z] ---> fdcaa3064065 [2021-03-30T15:58:51.427Z] Step 13/15 : LABEL arch=amd64 [2021-03-30T15:58:51.427Z] ---> Running in 11beffc2edce [2021-03-30T15:58:51.655Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-03-30T15:58:51.655Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-03-30T15:58:51.688Z] Removing intermediate container 11beffc2edce [2021-03-30T15:58:51.688Z] ---> a56c7f3333e1 [2021-03-30T15:58:51.688Z] Step 14/15 : LABEL git_sha=20530e72b6a502cd03c485f6b7c419dd94dc5744 [2021-03-30T15:58:51.688Z] ---> Running in a0eb1871f3bf [2021-03-30T15:58:51.688Z] Removing intermediate container a0eb1871f3bf [2021-03-30T15:58:51.688Z] ---> dbca01564f04 [2021-03-30T15:58:51.688Z] Step 15/15 : LABEL version=0.0.0 [2021-03-30T15:58:51.929Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-03-30T15:58:51.949Z] ---> Running in fad01ed98045 [2021-03-30T15:58:51.949Z] Removing intermediate container fad01ed98045 [2021-03-30T15:58:51.949Z] ---> 0a3cd8737e19 [2021-03-30T15:58:51.949Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-03-30T15:58:51.949Z] Successfully built 0a3cd8737e19 [2021-03-30T15:58:51.949Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2021-03-30T15:58:52.204Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-03-30T15:58:52.479Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-03-30T15:58:52.479Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-03-30T15:58:53.082Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-03-30T15:58:53.082Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2021-03-30T15:58:53.680Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [Pipeline] } [2021-03-30T15:58:53.986Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-03-30T15:58:54.638Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-03-30T15:58:54.912Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-03-30T15:58:55.186Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-03-30T15:58:55.458Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-03-30T15:58:55.737Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-03-30T15:58:56.716Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-03-30T15:58:57.320Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-03-30T15:58:57.925Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-03-30T15:58:58.203Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-03-30T15:58:58.482Z] [ 73%] Linking C shared library libcsdk.so [2021-03-30T15:58:58.755Z] [ 73%] Built target csdk [2021-03-30T15:58:58.755Z] Scanning dependencies of target template [2021-03-30T15:58:58.755Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-03-30T15:58:59.040Z] [ 76%] Linking C executable template [2021-03-30T15:58:59.322Z] [ 76%] Built target template [2021-03-30T15:58:59.322Z] Scanning dependencies of target device-counter [2021-03-30T15:58:59.322Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-03-30T15:58:59.598Z] [ 80%] Linking C executable device-counter [2021-03-30T15:58:59.875Z] [ 80%] Built target device-counter [2021-03-30T15:58:59.875Z] Scanning dependencies of target device-random [2021-03-30T15:58:59.875Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-03-30T15:59:00.148Z] [ 83%] Linking C executable device-random [2021-03-30T15:59:00.148Z] [ 83%] Built target device-random [2021-03-30T15:59:00.148Z] Scanning dependencies of target device-gyro [2021-03-30T15:59:00.421Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-03-30T15:59:00.421Z] [ 86%] Linking C executable device-gyro [2021-03-30T15:59:00.694Z] [ 86%] Built target device-gyro [2021-03-30T15:59:00.694Z] Scanning dependencies of target device-bitfields [2021-03-30T15:59:00.694Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-03-30T15:59:00.966Z] [ 90%] Linking C executable device-bitfields [2021-03-30T15:59:01.244Z] [ 90%] Built target device-bitfields [2021-03-30T15:59:01.244Z] Scanning dependencies of target template-discovery [2021-03-30T15:59:01.244Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-03-30T15:59:01.521Z] [ 93%] Linking C executable template-discovery [2021-03-30T15:59:01.795Z] [ 93%] Built target template-discovery [2021-03-30T15:59:01.795Z] Scanning dependencies of target device-file [2021-03-30T15:59:01.795Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-03-30T15:59:02.079Z] [ 96%] Linking C executable device-file [2021-03-30T15:59:02.358Z] [ 96%] Built target device-file [2021-03-30T15:59:02.358Z] Scanning dependencies of target device-terminal [2021-03-30T15:59:02.358Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-03-30T15:59:02.632Z] [100%] Linking C executable device-terminal [2021-03-30T15:59:02.905Z] [100%] Built target device-terminal [2021-03-30T15:59:02.905Z] make: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:59:02.905Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:59:02.905Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:59:02.905Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:59:02.905Z] [ 73%] Built target csdk [2021-03-30T15:59:02.905Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.177Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.177Z] [ 76%] Built target template [2021-03-30T15:59:03.177Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.177Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.177Z] [ 80%] Built target device-counter [2021-03-30T15:59:03.177Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.177Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.177Z] [ 83%] Built target device-random [2021-03-30T15:59:03.177Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.177Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.177Z] [ 86%] Built target device-gyro [2021-03-30T15:59:03.177Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.177Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.177Z] [ 90%] Built target device-bitfields [2021-03-30T15:59:03.177Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.177Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.177Z] [ 93%] Built target template-discovery [2021-03-30T15:59:03.177Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.177Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.449Z] [ 96%] Built target device-file [2021-03-30T15:59:03.449Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.449Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.449Z] [100%] Built target device-terminal [2021-03-30T15:59:03.449Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:59:03.449Z] Install the project... [2021-03-30T15:59:03.449Z] -- Install configuration: "Release" [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/lib/libcsdk.so [2021-03-30T15:59:03.449Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-03-30T15:59:03.449Z] -- Up-to-date: /usr/local/include [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/edgex [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/edgex/devices.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/devsdk [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/json.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/container.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/component.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/typecode.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/iot.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/time.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/hash.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/logger.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/os [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/data.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/thread.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/os.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/base64.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/defs.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/include/iot/config.h [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-03-30T15:59:03.449Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-03-30T15:59:03.449Z] make: Leaving directory '/tmp/sdk/build/release' [2021-03-30T15:59:05.449Z] Removing intermediate container 43edae50b886 [2021-03-30T15:59:05.449Z] ---> 7fbad33c6ab1 [2021-03-30T15:59:05.449Z] Step 14/21 : FROM ${BASE} [2021-03-30T15:59:05.449Z] ---> b23d30803547 [2021-03-30T15:59:05.449Z] Step 15/21 : LABEL maintainer="IOTech " [2021-03-30T15:59:05.725Z] ---> Running in 3d832da86127 [2021-03-30T15:59:05.995Z] Removing intermediate container 3d832da86127 [2021-03-30T15:59:05.996Z] ---> 66a359fe1cc2 [2021-03-30T15:59:05.996Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-03-30T15:59:06.272Z] ---> Running in e75e55cd78a1 [2021-03-30T15:59:07.251Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-03-30T15:59:08.235Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-03-30T15:59:08.513Z] (1/3) Installing curl (7.64.0-r5) [2021-03-30T15:59:08.513Z] (2/3) Installing libuuid (2.33-r0) [2021-03-30T15:59:08.792Z] (3/3) Installing wget (1.20.3-r0) [2021-03-30T15:59:08.792Z] Executing busybox-1.29.3-r10.trigger [2021-03-30T15:59:08.792Z] OK: 281 MiB in 78 packages [2021-03-30T15:59:10.244Z] Removing intermediate container e75e55cd78a1 [2021-03-30T15:59:10.244Z] ---> 17b81da5ea5f [2021-03-30T15:59:10.244Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-03-30T15:59:10.848Z] ---> e18762a2bb8f [2021-03-30T15:59:10.848Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-03-30T15:59:11.456Z] ---> a1f0c29d0cfb [2021-03-30T15:59:11.456Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-03-30T15:59:12.469Z] ---> 1a3106e13db0 [2021-03-30T15:59:12.469Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-03-30T15:59:13.068Z] ---> bf98f117eee8 [2021-03-30T15:59:13.068Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-03-30T15:59:14.044Z] ---> f9565120775f [2021-03-30T15:59:14.044Z] Successfully built f9565120775f [2021-03-30T15:59:14.044Z] 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-30T15:59:14.938Z] + docker inspect -f . ci-base-image-arm64 [2021-03-30T15:59:14.938Z] . [Pipeline] withDockerContainer [2021-03-30T15:59:15.227Z] prd-ubuntu18.04-docker-arm64-4c-16g-32046 does not seem to be running inside a container [2021-03-30T15:59:15.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-30T15:59:16.833Z] $ docker top 586b3eda5f09637f30b626760cdfa398eeb7830e8c4ba1ef0500720be64c9174 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T15:59:17.901Z] + make test [2021-03-30T15:59:17.901Z] echo "make test" [2021-03-30T15:59:17.901Z] make test [Pipeline] } [2021-03-30T15:59:17.938Z] $ docker stop --time=1 586b3eda5f09637f30b626760cdfa398eeb7830e8c4ba1ef0500720be64c9174 [2021-03-30T15:59:19.875Z] $ docker rm -f 586b3eda5f09637f30b626760cdfa398eeb7830e8c4ba1ef0500720be64c9174 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-30T15:59:21.160Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-30T15:59:21.513Z] + ls -al . [2021-03-30T15:59:21.513Z] total 192 [2021-03-30T15:59:21.513Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 15:56 . [2021-03-30T15:59:21.513Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 15:56 .. [2021-03-30T15:59:21.513Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 15:56 .git [2021-03-30T15:59:21.513Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 15:56 .github [2021-03-30T15:59:21.513Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 30 15:56 .gitignore [2021-03-30T15:59:21.513Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 30 15:56 Attribution.txt [2021-03-30T15:59:21.513Z] -rw-rw-r-- 1 jenkins jenkins 7129 Mar 30 15:56 CHANGES [2021-03-30T15:59:21.513Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 30 15:56 Doxyfile [2021-03-30T15:59:21.513Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 30 15:56 Jenkinsfile [2021-03-30T15:59:21.513Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 30 15:56 LICENSE [2021-03-30T15:59:21.513Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 30 15:56 Makefile [2021-03-30T15:59:21.513Z] -rw-rw-r-- 1 jenkins jenkins 2694 Mar 30 15:56 README.md [2021-03-30T15:59:21.513Z] -rw-rw-r-- 1 jenkins jenkins 6654 Mar 30 15:56 README.v2.md [2021-03-30T15:59:21.513Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 15:54 VERSION [2021-03-30T15:59:21.513Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 15:56 docs [2021-03-30T15:59:21.513Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 15:56 include [2021-03-30T15:59:21.513Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 15:56 scripts [2021-03-30T15:59:21.514Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 15:56 src [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:59:21.906Z] + 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=20530e72b6a502cd03c485f6b7c419dd94dc5744 --label arch=arm64 --label version=0.0.0 . [2021-03-30T15:59:22.504Z] Sending build context to Docker daemon 2.514MB [2021-03-30T15:59:22.504Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-03-30T15:59:22.504Z] Step 2/15 : FROM ${BASE} [2021-03-30T15:59:22.504Z] ---> f9565120775f [2021-03-30T15:59:22.504Z] Step 3/15 : LABEL maintainer="IOTech " [2021-03-30T15:59:22.779Z] ---> Running in 8a8050e58148 [2021-03-30T15:59:23.053Z] Removing intermediate container 8a8050e58148 [2021-03-30T15:59:23.053Z] ---> 0fa5fd151ba7 [2021-03-30T15:59:23.053Z] 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-30T15:59:23.332Z] ---> Running in 7b4239a6c819 [2021-03-30T15:59:24.311Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-03-30T15:59:25.285Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-03-30T15:59:25.557Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-03-30T15:59:25.830Z] (2/6) Installing libblkid (2.33-r0) [2021-03-30T15:59:25.830Z] (3/6) Installing libfdisk (2.33-r0) [2021-03-30T15:59:25.830Z] (4/6) Installing libmount (2.33-r0) [2021-03-30T15:59:26.105Z] (5/6) Installing libsmartcols (2.33-r0) [2021-03-30T15:59:26.105Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-03-30T15:59:26.378Z] Executing busybox-1.29.3-r10.trigger [2021-03-30T15:59:26.655Z] OK: 286 MiB in 84 packages [2021-03-30T15:59:28.095Z] Removing intermediate container 7b4239a6c819 [2021-03-30T15:59:28.095Z] ---> df44d5c79198 [2021-03-30T15:59:28.095Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-03-30T15:59:28.696Z] ---> 8a78ebd072e3 [2021-03-30T15:59:28.696Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-03-30T15:59:29.292Z] ---> b40231d6ae62 [2021-03-30T15:59:29.292Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-03-30T15:59:30.274Z] ---> 162ec005ff7c [2021-03-30T15:59:30.274Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-03-30T15:59:30.871Z] ---> 0670d295dc08 [2021-03-30T15:59:30.871Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-03-30T15:59:31.470Z] ---> f2e4bb54acae [2021-03-30T15:59:31.471Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-03-30T15:59:32.075Z] ---> 5af0caec7257 [2021-03-30T15:59:32.076Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-03-30T15:59:32.076Z] ---> Running in fe1088b95262 [2021-03-30T15:59:32.675Z] Removing intermediate container fe1088b95262 [2021-03-30T15:59:32.675Z] ---> 51685fd0c5b1 [2021-03-30T15:59:32.675Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-03-30T15:59:32.952Z] ---> Running in b2843c76b32d [2021-03-30T15:59:33.548Z] Removing intermediate container b2843c76b32d [2021-03-30T15:59:33.548Z] ---> ce0a2d10d528 [2021-03-30T15:59:33.548Z] Step 13/15 : LABEL arch=arm64 [2021-03-30T15:59:33.548Z] ---> Running in 660918c02117 [2021-03-30T15:59:34.145Z] Removing intermediate container 660918c02117 [2021-03-30T15:59:34.145Z] ---> 899face2c390 [2021-03-30T15:59:34.145Z] Step 14/15 : LABEL git_sha=20530e72b6a502cd03c485f6b7c419dd94dc5744 [2021-03-30T15:59:34.145Z] ---> Running in fa34e061b695 [2021-03-30T15:59:34.744Z] Removing intermediate container fa34e061b695 [2021-03-30T15:59:34.744Z] ---> 70b075e6d6de [2021-03-30T15:59:34.744Z] Step 15/15 : LABEL version=0.0.0 [2021-03-30T15:59:34.744Z] ---> Running in 643d230a3193 [2021-03-30T15:59:35.335Z] Removing intermediate container 643d230a3193 [2021-03-30T15:59:35.335Z] ---> bfa5bb55df3d [2021-03-30T15:59:35.335Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-30T15:59:35.335Z] Successfully built bfa5bb55df3d [2021-03-30T15:59:35.335Z] 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-30T15:59:40.172Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T15:59:40.519Z] ---> package-listing.sh [2021-03-30T15:59:40.519Z] ++ facter osfamily [2021-03-30T15:59:40.519Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-30T15:59:40.519Z] + OS_FAMILY=redhat [2021-03-30T15:59:40.519Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-336 [2021-03-30T15:59:40.519Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-30T15:59:40.519Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-30T15:59:40.519Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-30T15:59:40.519Z] + PACKAGES=/tmp/packages_start.txt [2021-03-30T15:59:40.519Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-336 ']' [2021-03-30T15:59:40.519Z] + PACKAGES=/tmp/packages_end.txt [2021-03-30T15:59:40.519Z] + case "${OS_FAMILY}" in [2021-03-30T15:59:40.519Z] + rpm -qa [2021-03-30T15:59:40.519Z] + sort [2021-03-30T15:59:45.847Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-30T15:59:45.847Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-30T15:59:45.847Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-30T15:59:45.847Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-336 ']' [2021-03-30T15:59:45.847Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-336/archives/ [2021-03-30T15:59:45.847Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-336/archives/ [Pipeline] echo [2021-03-30T15:59:45.884Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-30T15:59:46.200Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:59:46.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-30T15:59:46.545Z] [2021-03-30T15:59:46.545Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:59:46.933Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-30T15:59:46.933Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-30T15:59:46.933Z] df20fa9351a1: Pulling fs layer [2021-03-30T15:59:46.933Z] 36b3adc4ff6f: Pulling fs layer [2021-03-30T15:59:46.933Z] 8ad3a11d3b57: Pulling fs layer [2021-03-30T15:59:46.933Z] 46f8f816bc3b: Pulling fs layer [2021-03-30T15:59:46.933Z] 93b61091891f: Pulling fs layer [2021-03-30T15:59:46.933Z] 93b9cdb0e59b: Pulling fs layer [2021-03-30T15:59:46.933Z] 5e14af77c1be: Pulling fs layer [2021-03-30T15:59:46.933Z] 01666e4c0597: Pulling fs layer [2021-03-30T15:59:46.933Z] aa168da1d23b: Pulling fs layer [2021-03-30T15:59:46.933Z] 01666e4c0597: Waiting [2021-03-30T15:59:46.933Z] 93b61091891f: Waiting [2021-03-30T15:59:46.933Z] 93b9cdb0e59b: Waiting [2021-03-30T15:59:46.933Z] aa168da1d23b: Waiting [2021-03-30T15:59:46.933Z] 5e14af77c1be: Waiting [2021-03-30T15:59:46.933Z] 46f8f816bc3b: Waiting [2021-03-30T15:59:46.933Z] 36b3adc4ff6f: Verifying Checksum [2021-03-30T15:59:46.933Z] 36b3adc4ff6f: Download complete [2021-03-30T15:59:46.933Z] 46f8f816bc3b: Verifying Checksum [2021-03-30T15:59:46.933Z] 46f8f816bc3b: Download complete [2021-03-30T15:59:47.196Z] df20fa9351a1: Verifying Checksum [2021-03-30T15:59:47.196Z] df20fa9351a1: Download complete [2021-03-30T15:59:47.196Z] 93b9cdb0e59b: Verifying Checksum [2021-03-30T15:59:47.196Z] 93b9cdb0e59b: Download complete [2021-03-30T15:59:47.196Z] 5e14af77c1be: Verifying Checksum [2021-03-30T15:59:47.196Z] 5e14af77c1be: Download complete [2021-03-30T15:59:47.196Z] 93b61091891f: Verifying Checksum [2021-03-30T15:59:47.196Z] 93b61091891f: Download complete [2021-03-30T15:59:47.196Z] 01666e4c0597: Verifying Checksum [2021-03-30T15:59:47.196Z] 01666e4c0597: Download complete [2021-03-30T15:59:47.196Z] 8ad3a11d3b57: Verifying Checksum [2021-03-30T15:59:47.196Z] 8ad3a11d3b57: Download complete [2021-03-30T15:59:47.464Z] df20fa9351a1: Pull complete [2021-03-30T15:59:47.735Z] 36b3adc4ff6f: Pull complete [2021-03-30T15:59:48.693Z] 8ad3a11d3b57: Pull complete [2021-03-30T15:59:48.693Z] 46f8f816bc3b: Pull complete [2021-03-30T15:59:49.273Z] aa168da1d23b: Verifying Checksum [2021-03-30T15:59:49.273Z] aa168da1d23b: Download complete [2021-03-30T15:59:49.273Z] 93b61091891f: Pull complete [2021-03-30T15:59:49.273Z] 93b9cdb0e59b: Pull complete [2021-03-30T15:59:49.536Z] 5e14af77c1be: Pull complete [2021-03-30T15:59:49.801Z] 01666e4c0597: Pull complete [2021-03-30T15:59:56.442Z] aa168da1d23b: Pull complete [2021-03-30T15:59:56.442Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-30T15:59:56.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-30T15:59:56.442Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-30T15:59:56.633Z] prd-centos7-docker-4c-2g-32045 does not seem to be running inside a container [2021-03-30T15:59:56.687Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-336 -v /w/workspace/edgexfoundry_device-sdk-c_PR-336:/w/workspace/edgexfoundry_device-sdk-c_PR-336:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-30T15:59:59.982Z] $ docker top 9306442e6e798a311695295a415f892c4c4b62c21872bbfc1d86620eca483e5a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T16:00:00.579Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-30T16:00:00.919Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-30T16:00:01.247Z] + ls /var/log/sa-host [2021-03-30T16:00:01.247Z] + sadf -c /var/log/sa-host/sa23 [2021-03-30T16:00:01.247Z] file_magic: OK [2021-03-30T16:00:01.247Z] HZ: Using current value: 100 [2021-03-30T16:00:01.247Z] file_header: OK [2021-03-30T16:00:01.247Z] 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-30T16:00:01.247Z] Statistics: [2021-03-30T16:00:01.247Z] Hnuu...uuuununununu... [2021-03-30T16:00:01.247Z] File successfully converted to sysstat format version 12.2.1 [2021-03-30T16:00:01.247Z] + sadf -c /var/log/sa-host/sa30 [2021-03-30T16:00:01.247Z] file_magic: OK [2021-03-30T16:00:01.247Z] HZ: Using current value: 100 [2021-03-30T16:00:01.247Z] file_header: OK [2021-03-30T16:00:01.247Z] 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-30T16:00:01.247Z] Statistics: [2021-03-30T16:00:01.247Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-30T16:00:01.247Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-30T16:00:01.959Z] provisioning config files... [2021-03-30T16:00:01.980Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/config1554207204773180121tmp [Pipeline] { [Pipeline] echo [2021-03-30T16:00:02.198Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T16:00:02.556Z] ---> create-netrc.sh [Pipeline] } [2021-03-30T16:00:02.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-30T16:00:02.768Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T16:00:03.123Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-30T16:00:03.158Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T16:00:03.524Z] ---> sudo-logs.sh [2021-03-30T16:00:03.524Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-30T16:00:03.653Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T16:00:04.354Z] ---> job-cost.sh [2021-03-30T16:00:04.354Z] lf-activate-venv: SKIPPING [2021-03-30T16:00:04.354Z] INFO: No Stack... [2021-03-30T16:00:05.749Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-30T16:00:06.011Z] INFO: Archiving Costs [Pipeline] echo [2021-03-30T16:00:06.043Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T16:00:06.376Z] ---> logs-deploy.sh [2021-03-30T16:00:06.376Z] lf-activate-venv: SKIPPING [2021-03-30T16:00:06.376Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-336/1 [2021-03-30T16:00:06.376Z] INFO: archiving workspace using pattern(s): [2021-03-30T16:00:08.291Z] Archives upload complete. [2021-03-30T16:00:08.291Z] INFO: archiving logs to Nexus