Pull request #331 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 06ade1fa7729c29c4541d63534fa6253b829bfc5+603e15a22e98ad0ffc0e9ce671b1afa02ea84060 (87ba129fb4cdb511b5eda6420eb704f54070d131) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29546 in /w/workspace/edgexfoundry_device-sdk-c_PR-331 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-331 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit 06ade1fa7729c29c4541d63534fa6253b829bfc5 Merge succeeded, producing 06ade1fa7729c29c4541d63534fa6253b829bfc5 Checking out Revision 06ade1fa7729c29c4541d63534fa6253b829bfc5 (PR-331) > git config core.sparsecheckout # timeout=10 > git checkout -f 06ade1fa7729c29c4541d63534fa6253b829bfc5 # 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 06ade1fa7729c29c4541d63534fa6253b829bfc5 # timeout=10 Commit message: "feat: create new devices from json files in configured directory fix: update AutoEvent marshaling for v2 fix: null-terminate incoming http data docs: update metrics documentation for v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-11T23:13:58.074Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-11T23:13:58.383Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk ee6236a54551a0e635a688dc72c4c07cfdcfa061 # timeout=10 [Pipeline] echo [2021-03-11T23:13:58.500Z] ========================================================= [2021-03-11T23:13:58.500Z] EdgeX Global Pipelines Version Info [2021-03-11T23:13:58.500Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-11T23:14:00.008Z] ------------------- [2021-03-11T23:14:00.008Z] stable info: [2021-03-11T23:14:00.008Z] ------------------- [2021-03-11T23:14:00.008Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-11T23:14:00.008Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-11T23:14:00.008Z] Message: update stable to v1.0.184 [2021-03-11T23:14:00.957Z] ------------------- [2021-03-11T23:14:00.957Z] experimental info: [2021-03-11T23:14:00.957Z] ------------------- [2021-03-11T23:14:00.957Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-11T23:14:00.957Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-11T23:14:00.957Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-11T23:14:01.286Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-03-11T23:14:01.397Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-03-11T23:14:01.502Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-11T23:14:01.628Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-11T23:14:01.731Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-11T23:14:01.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-03-11T23:14:01.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-03-11T23:14:02.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-03-11T23:14:02.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-11T23:14:02.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-03-11T23:14:02.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-11T23:14:02.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-11T23:14:02.588Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-11T23:14:02.706Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-11T23:14:02.806Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-11T23:14:02.905Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-11T23:14:03.050Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-11T23:14:03.146Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-331 [Pipeline] echo [2021-03-11T23:14:03.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-331 [Pipeline] echo [2021-03-11T23:14:03.340Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-331 [Pipeline] echo [2021-03-11T23:14:03.438Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 06ade1fa7729c29c4541d63534fa6253b829bfc5 [Pipeline] echo [2021-03-11T23:14:03.528Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 06ade1f [Pipeline] echo [2021-03-11T23:14:03.616Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-11T23:14:03.846Z] provisioning config files... [2021-03-11T23:14:03.891Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/config5745159223727463386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-11T23:14:04.262Z] ---> docker-login.sh [2021-03-11T23:14:04.262Z] nexus3.edgexfoundry.org:10001 [2021-03-11T23:14:04.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T23:14:04.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T23:14:04.790Z] Configure a credential helper to remove this warning. See [2021-03-11T23:14:04.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T23:14:04.790Z] [2021-03-11T23:14:04.790Z] Login Succeeded [2021-03-11T23:14:04.790Z] nexus3.edgexfoundry.org:10002 [2021-03-11T23:14:04.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T23:14:05.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T23:14:05.056Z] Configure a credential helper to remove this warning. See [2021-03-11T23:14:05.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T23:14:05.056Z] [2021-03-11T23:14:05.056Z] Login Succeeded [2021-03-11T23:14:05.056Z] nexus3.edgexfoundry.org:10003 [2021-03-11T23:14:05.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T23:14:05.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T23:14:05.056Z] Configure a credential helper to remove this warning. See [2021-03-11T23:14:05.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T23:14:05.056Z] [2021-03-11T23:14:05.056Z] Login Succeeded [2021-03-11T23:14:05.056Z] nexus3.edgexfoundry.org:10004 [2021-03-11T23:14:05.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T23:14:05.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T23:14:05.319Z] Configure a credential helper to remove this warning. See [2021-03-11T23:14:05.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T23:14:05.319Z] [2021-03-11T23:14:05.319Z] Login Succeeded [2021-03-11T23:14:05.319Z] docker.io [2021-03-11T23:14:05.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T23:14:05.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T23:14:05.893Z] Configure a credential helper to remove this warning. See [2021-03-11T23:14:05.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T23:14:05.893Z] [2021-03-11T23:14:05.893Z] Login Succeeded [2021-03-11T23:14:05.893Z] ---> docker-login.sh ends [Pipeline] } [2021-03-11T23:14:05.905Z] 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-11T23:14:07.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-11T23:14:07.945Z] [2021-03-11T23:14:07.945Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-11T23:14:08.296Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-11T23:14:08.296Z] latest: Pulling from edgex-devops/git-semver [2021-03-11T23:14:08.296Z] 31603596830f: Pulling fs layer [2021-03-11T23:14:08.296Z] 2a8b12db71e7: Pulling fs layer [2021-03-11T23:14:08.296Z] 6ca5941a6612: Pulling fs layer [2021-03-11T23:14:08.296Z] ecc8261a40a4: Pulling fs layer [2021-03-11T23:14:08.296Z] ecc8261a40a4: Waiting [2021-03-11T23:14:08.296Z] 2a8b12db71e7: Verifying Checksum [2021-03-11T23:14:08.296Z] 2a8b12db71e7: Download complete [2021-03-11T23:14:08.562Z] 31603596830f: Verifying Checksum [2021-03-11T23:14:08.562Z] 31603596830f: Download complete [2021-03-11T23:14:08.562Z] ecc8261a40a4: Verifying Checksum [2021-03-11T23:14:08.562Z] ecc8261a40a4: Download complete [2021-03-11T23:14:08.562Z] 6ca5941a6612: Verifying Checksum [2021-03-11T23:14:08.562Z] 6ca5941a6612: Download complete [2021-03-11T23:14:08.830Z] 31603596830f: Pull complete [2021-03-11T23:14:08.830Z] 2a8b12db71e7: Pull complete [2021-03-11T23:14:09.775Z] 6ca5941a6612: Pull complete [2021-03-11T23:14:10.037Z] ecc8261a40a4: Pull complete [2021-03-11T23:14:10.037Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-11T23:14:10.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-11T23:14:10.037Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-11T23:14:10.151Z] prd-centos7-docker-4c-2g-29546 does not seem to be running inside a container [2021-03-11T23:14:10.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-331 -v /w/workspace/edgexfoundry_device-sdk-c_PR-331:/w/workspace/edgexfoundry_device-sdk-c_PR-331:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-11T23:14:12.313Z] $ docker top 0a4659ab00cf4104b5bc433d12814a954f0b3566cf724fdf267d989cfb3c2752 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-11T23:14:12.593Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-11T23:14:12.594Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-11T23:14:12.815Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-11T23:14:12.819Z] $ docker exec 0a4659ab00cf4104b5bc433d12814a954f0b3566cf724fdf267d989cfb3c2752 ssh-agent [2021-03-11T23:14:13.077Z] SSH_AUTH_SOCK=/tmp/ssh-3hOFVefobwu6/agent.11 [2021-03-11T23:14:13.077Z] SSH_AGENT_PID=16 [2021-03-11T23:14:13.161Z] Running ssh-add (command line suppressed) [2021-03-11T23:14:13.292Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_92674262128946573.key (/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_92674262128946573.key) [2021-03-11T23:14:13.343Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-11T23:14:13.682Z] + git tag --points-at HEAD [Pipeline] } [2021-03-11T23:14:13.751Z] $ docker exec --env ******** --env ******** 0a4659ab00cf4104b5bc433d12814a954f0b3566cf724fdf267d989cfb3c2752 ssh-agent -k [2021-03-11T23:14:13.873Z] unset SSH_AUTH_SOCK; [2021-03-11T23:14:13.874Z] unset SSH_AGENT_PID; [2021-03-11T23:14:13.874Z] echo Agent pid 16 killed; [2021-03-11T23:14:13.923Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-11T23:14:14.067Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-11T23:14:14.067Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-11T23:14:14.240Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-11T23:14:14.243Z] $ docker exec 0a4659ab00cf4104b5bc433d12814a954f0b3566cf724fdf267d989cfb3c2752 ssh-agent [2021-03-11T23:14:14.403Z] SSH_AUTH_SOCK=/tmp/ssh-ozINUfIWxRAm/agent.46 [2021-03-11T23:14:14.404Z] SSH_AGENT_PID=51 [2021-03-11T23:14:14.411Z] Running ssh-add (command line suppressed) [2021-03-11T23:14:14.528Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_9176438735327796362.key (/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_9176438735327796362.key) [2021-03-11T23:14:14.583Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-11T23:14:14.925Z] + git semver init [2021-03-11T23:14:14.925Z] # -> Open(): unable to determine branch for HEAD [2021-03-11T23:14:14.925Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-331/.git [2021-03-11T23:14:14.925Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-331 [2021-03-11T23:14:14.925Z] # $SEMVER_REMOTE_NAME = origin [2021-03-11T23:14:14.925Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-11T23:14:14.925Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-11T23:14:14.925Z] # $SEMVER_BRANCH = PR-331 [2021-03-11T23:14:14.925Z] # $SEMVER_TEMP = /tmp/semver-235899735 [2021-03-11T23:14:14.925Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-03-11T23:14:15.502Z] # '/tmp/semver-235899735' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-331/.semver' [2021-03-11T23:14:15.502Z] # -> Force: false [2021-03-11T23:14:15.502Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-331/.semver [Pipeline] } [2021-03-11T23:14:15.516Z] $ docker exec --env ******** --env ******** 0a4659ab00cf4104b5bc433d12814a954f0b3566cf724fdf267d989cfb3c2752 ssh-agent -k [2021-03-11T23:14:15.636Z] unset SSH_AUTH_SOCK; [2021-03-11T23:14:15.636Z] unset SSH_AGENT_PID; [2021-03-11T23:14:15.636Z] echo Agent pid 51 killed; [2021-03-11T23:14:15.684Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-11T23:14:16.177Z] + git semver [Pipeline] } [2021-03-11T23:14:16.197Z] $ docker stop --time=1 0a4659ab00cf4104b5bc433d12814a954f0b3566cf724fdf267d989cfb3c2752 [2021-03-11T23:14:17.553Z] $ docker rm -f 0a4659ab00cf4104b5bc433d12814a954f0b3566cf724fdf267d989cfb3c2752 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-11T23:14:18.010Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-11T23:14:18.551Z] Stashed 1 file(s) [Pipeline] echo [2021-03-11T23:14:18.554Z] [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-11T23:14:33.964Z] Still waiting to schedule task [2021-03-11T23:14:33.964Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29546’ [2021-03-11T23:14:33.967Z] Still waiting to schedule task [2021-03-11T23:14:33.967Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-11T23:16:25.072Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29547 in /w/workspace/edgexfoundry_device-sdk-c_PR-331 [Pipeline] { [Pipeline] ws [2021-03-11T23:16:25.193Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2021-03-11T23:16:30.385Z] using credential edgex-jenkins-ssh [2021-03-11T23:16:30.445Z] Cloning the remote Git repository [2021-03-11T23:16:30.512Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-03-11T23:16:30.647Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2021-03-11T23:16:30.745Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-03-11T23:16:30.746Z] > git --version # timeout=10 [2021-03-11T23:16:30.773Z] > git --version # 'git version 2.17.1' [2021-03-11T23:16:30.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T23:16:31.010Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-11T23:16:32.105Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-03-11T23:16:32.130Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-11T23:16:32.161Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-03-11T23:16:32.204Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-03-11T23:16:32.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T23:16:32.217Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-11T23:16:32.817Z] Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit 06ade1fa7729c29c4541d63534fa6253b829bfc5 [2021-03-11T23:16:33.189Z] Merge succeeded, producing 06ade1fa7729c29c4541d63534fa6253b829bfc5 [2021-03-11T23:16:33.189Z] Checking out Revision 06ade1fa7729c29c4541d63534fa6253b829bfc5 (PR-331) [2021-03-11T23:16:32.850Z] > git config core.sparsecheckout # timeout=10 [2021-03-11T23:16:32.876Z] > git checkout -f 06ade1fa7729c29c4541d63534fa6253b829bfc5 # timeout=10 [2021-03-11T23:16:33.004Z] > git remote # timeout=10 [2021-03-11T23:16:33.026Z] > git config --get remote.origin.url # timeout=10 [2021-03-11T23:16:33.096Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T23:16:33.112Z] > git merge 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 [2021-03-11T23:16:33.160Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-11T23:16:33.200Z] > git config core.sparsecheckout # timeout=10 [2021-03-11T23:16:33.224Z] > git checkout -f 06ade1fa7729c29c4541d63534fa6253b829bfc5 # timeout=10 [2021-03-11T23:16:37.664Z] Commit message: "feat: create new devices from json files in configured directory fix: update AutoEvent marshaling for v2 fix: null-terminate incoming http data docs: update metrics documentation for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-11T23:16:39.142Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-11T23:16:39.562Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-11T23:16:39.962Z] + + sudotrue service [2021-03-11T23:16:39.963Z] docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-11T23:16:42.688Z] provisioning config files... [2021-03-11T23:16:42.735Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config121474724551765941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-11T23:16:43.148Z] ---> docker-login.sh [2021-03-11T23:16:43.148Z] nexus3.edgexfoundry.org:10001 [2021-03-11T23:16:44.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T23:16:44.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T23:16:44.419Z] Configure a credential helper to remove this warning. See [2021-03-11T23:16:44.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T23:16:44.419Z] [2021-03-11T23:16:44.419Z] Login Succeeded [2021-03-11T23:16:44.419Z] nexus3.edgexfoundry.org:10002 [2021-03-11T23:16:44.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T23:16:44.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T23:16:44.968Z] Configure a credential helper to remove this warning. See [2021-03-11T23:16:44.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T23:16:44.968Z] [2021-03-11T23:16:44.968Z] Login Succeeded [2021-03-11T23:16:44.968Z] nexus3.edgexfoundry.org:10003 [2021-03-11T23:16:45.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T23:16:45.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T23:16:45.517Z] Configure a credential helper to remove this warning. See [2021-03-11T23:16:45.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T23:16:45.517Z] [2021-03-11T23:16:45.517Z] Login Succeeded [2021-03-11T23:16:45.517Z] nexus3.edgexfoundry.org:10004 [2021-03-11T23:16:45.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T23:16:46.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T23:16:46.069Z] Configure a credential helper to remove this warning. See [2021-03-11T23:16:46.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T23:16:46.069Z] [2021-03-11T23:16:46.069Z] Login Succeeded [2021-03-11T23:16:46.069Z] docker.io [2021-03-11T23:16:46.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T23:16:46.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T23:16:46.942Z] Configure a credential helper to remove this warning. See [2021-03-11T23:16:46.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T23:16:46.942Z] [2021-03-11T23:16:46.942Z] Login Succeeded [2021-03-11T23:16:46.942Z] ---> docker-login.sh ends [Pipeline] } [2021-03-11T23:16:46.962Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-11T23:16:47.409Z] ========================================================= [2021-03-11T23:16:47.409Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-03-11T23:16:47.409Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-11T23:16:47.798Z] + 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-11T23:16:48.412Z] Sending build context to Docker daemon 2.513MB [2021-03-11T23:16:48.412Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-03-11T23:16:48.412Z] Step 2/21 : FROM ${BASE} as builder [2021-03-11T23:16:48.412Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-03-11T23:16:48.412Z] 0362ad1dd800: Pulling fs layer [2021-03-11T23:16:48.412Z] f2cdb1532d8b: Pulling fs layer [2021-03-11T23:16:48.412Z] 37ed683be191: Pulling fs layer [2021-03-11T23:16:48.412Z] f2cdb1532d8b: Verifying Checksum [2021-03-11T23:16:48.412Z] f2cdb1532d8b: Download complete [2021-03-11T23:16:48.689Z] 0362ad1dd800: Download complete [2021-03-11T23:16:49.321Z] 0362ad1dd800: Pull complete [2021-03-11T23:16:49.924Z] f2cdb1532d8b: Pull complete [2021-03-11T23:16:51.359Z] 37ed683be191: Verifying Checksum [2021-03-11T23:16:51.360Z] 37ed683be191: Download complete [2021-03-11T23:17:01.534Z] 37ed683be191: Pull complete [2021-03-11T23:17:01.534Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-03-11T23:17:01.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-03-11T23:17:01.534Z] ---> b23d30803547 [2021-03-11T23:17:01.534Z] 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-11T23:17:02.130Z] ---> Running in 79b1707ebe78 [2021-03-11T23:17:03.107Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-03-11T23:17:04.091Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-03-11T23:17:04.371Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-03-11T23:17:04.644Z] (2/8) Installing libuuid (2.33-r0) [2021-03-11T23:17:04.644Z] (3/8) Installing libblkid (2.33-r0) [2021-03-11T23:17:04.644Z] (4/8) Installing libfdisk (2.33-r0) [2021-03-11T23:17:04.917Z] (5/8) Installing libmount (2.33-r0) [2021-03-11T23:17:04.917Z] (6/8) Installing libsmartcols (2.33-r0) [2021-03-11T23:17:05.201Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-03-11T23:17:05.382Z] Running on prd-centos7-docker-4c-2g-29548 in /w/workspace/edgexfoundry_device-sdk-c_PR-331 [Pipeline] { [Pipeline] ws [2021-03-11T23:17:05.440Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [2021-03-11T23:17:05.476Z] (8/8) Installing wget (1.20.3-r0) [2021-03-11T23:17:05.477Z] Executing busybox-1.29.3-r10.trigger [2021-03-11T23:17:05.477Z] OK: 285 MiB in 83 packages [Pipeline] checkout [2021-03-11T23:17:06.918Z] Removing intermediate container 79b1707ebe78 [2021-03-11T23:17:06.918Z] ---> 128a5d1d42bd [2021-03-11T23:17:06.918Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-03-11T23:17:07.211Z] ---> Running in df089db02409 [2021-03-11T23:17:07.495Z] Removing intermediate container df089db02409 [2021-03-11T23:17:07.495Z] ---> e3cdc16f458a [2021-03-11T23:17:07.495Z] 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-11T23:17:07.495Z] ---> Running in bb4c0350a438 [2021-03-11T23:17:07.839Z] using credential edgex-jenkins-ssh [2021-03-11T23:17:07.893Z] Cloning the remote Git repository [2021-03-11T23:17:07.890Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-03-11T23:17:07.965Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2021-03-11T23:17:08.027Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-03-11T23:17:08.028Z] > git --version # timeout=10 [2021-03-11T23:17:08.037Z] > git --version # 'git version 2.24.3' [2021-03-11T23:17:08.038Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T23:17:08.063Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-11T23:17:08.782Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-03-11T23:17:08.789Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-11T23:17:08.800Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-03-11T23:17:08.815Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-03-11T23:17:08.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T23:17:08.820Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-11T23:17:08.944Z] --2021-03-11 23:17:08-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-03-11T23:17:08.944Z] Resolving github.com... 140.82.114.4 [2021-03-11T23:17:08.944Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-03-11T23:17:08.944Z] HTTP request sent, awaiting response... 302 Found [2021-03-11T23:17:08.944Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-03-11T23:17:08.944Z] --2021-03-11 23:17:08-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-03-11T23:17:08.944Z] Resolving codeload.github.com... 140.82.114.9 [2021-03-11T23:17:08.944Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-03-11T23:17:08.944Z] HTTP request sent, awaiting response... 200 OK [2021-03-11T23:17:08.944Z] Length: unspecified [application/x-gzip] [2021-03-11T23:17:08.944Z] Saving to: 'STDOUT' [2021-03-11T23:17:08.944Z]  [2021-03-11T23:17:09.217Z] 0K .......... .......... .......... .......... .......... 1.32M [2021-03-11T23:17:09.217Z] 50K .......... .......... .......... .......... .......... 2.68M [2021-03-11T23:17:09.217Z] 100K .......... .......... .......... .......... .......... 2.84M [2021-03-11T23:17:09.217Z] 150K .......... .......... .......... .......... .......... 11.7M [2021-03-11T23:17:09.217Z] 200K .......... .......... .......... .......... .......... 9.74M [2021-03-11T23:17:09.217Z] 250K .......... .......... .......... .......... .......... 3.95M [2021-03-11T23:17:09.217Z] 300K .......... .......... .......... .......... .......... 5.26M [2021-03-11T23:17:09.217Z] 350K .......... .......... .......... .......... .......... 5.15M [2021-03-11T23:17:09.217Z] 400K .......... .......... .......... .......... .......... 3.57M [2021-03-11T23:17:09.217Z] 450K .......... .......... .......... .......... .......... 3.70M [2021-03-11T23:17:09.217Z] 500K .......... .......... .......... .......... .......... 6.63M [2021-03-11T23:17:09.217Z] 550K .......... .......... .......... .......... .......... 2.73M [2021-03-11T23:17:09.217Z] 600K .......... .......... .......... .......... .......... 873K [2021-03-11T23:17:09.217Z] 650K .......... .......... .......... .......... .......... 2.51M [2021-03-11T23:17:09.217Z] 700K ..    330K=0.2s [2021-03-11T23:17:09.217Z] [2021-03-11T23:17:09.217Z] 2021-03-11 23:17:09 (2.75 MB/s) - written to stdout [719348] [2021-03-11T23:17:09.217Z] [2021-03-11T23:17:09.335Z] Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit 06ade1fa7729c29c4541d63534fa6253b829bfc5 [2021-03-11T23:17:09.439Z] Merge succeeded, producing 06ade1fa7729c29c4541d63534fa6253b829bfc5 [2021-03-11T23:17:09.440Z] Checking out Revision 06ade1fa7729c29c4541d63534fa6253b829bfc5 (PR-331) [2021-03-11T23:17:09.495Z] -- The C compiler identification is GNU 8.3.0 [2021-03-11T23:17:09.777Z] -- The CXX compiler identification is GNU 8.3.0 [2021-03-11T23:17:09.777Z] -- Check for working C compiler: /usr/bin/cc [2021-03-11T23:17:09.342Z] > git config core.sparsecheckout # timeout=10 [2021-03-11T23:17:09.349Z] > git checkout -f 06ade1fa7729c29c4541d63534fa6253b829bfc5 # timeout=10 [2021-03-11T23:17:09.406Z] > git remote # timeout=10 [2021-03-11T23:17:09.412Z] > git config --get remote.origin.url # timeout=10 [2021-03-11T23:17:09.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T23:17:09.421Z] > git merge 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 [2021-03-11T23:17:09.432Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-11T23:17:09.444Z] > git config core.sparsecheckout # timeout=10 [2021-03-11T23:17:09.450Z] > git checkout -f 06ade1fa7729c29c4541d63534fa6253b829bfc5 # timeout=10 [2021-03-11T23:17:10.052Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-11T23:17:10.052Z] -- Detecting C compiler ABI info [2021-03-11T23:17:10.328Z] -- Detecting C compiler ABI info - done [2021-03-11T23:17:10.328Z] -- Detecting C compile features [2021-03-11T23:17:11.314Z] -- Detecting C compile features - done [2021-03-11T23:17:11.314Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-03-11T23:17:11.314Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-03-11T23:17:11.314Z] -- Detecting CXX compiler ABI info [2021-03-11T23:17:11.588Z] -- Detecting CXX compiler ABI info - done [2021-03-11T23:17:11.862Z] -- Detecting CXX compile features [2021-03-11T23:17:13.167Z] Commit message: "feat: create new devices from json files in configured directory fix: update AutoEvent marshaling for v2 fix: null-terminate incoming http data docs: update metrics documentation for v2" [2021-03-11T23:17:13.299Z] -- Detecting CXX compile features - done [2021-03-11T23:17:13.299Z] -- Looking for include file endian.h [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [2021-03-11T23:17:13.573Z] -- Looking for include file endian.h - found [2021-03-11T23:17:13.573Z] -- Check if the system is big endian [2021-03-11T23:17:13.573Z] -- Searching 16 bit integer [2021-03-11T23:17:13.573Z] -- Looking for sys/types.h [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-11T23:17:13.850Z] -- Looking for sys/types.h - found [2021-03-11T23:17:13.850Z] -- Looking for stdint.h [2021-03-11T23:17:14.129Z] -- Looking for stdint.h - found [2021-03-11T23:17:14.129Z] -- Looking for stddef.h [2021-03-11T23:17:14.400Z] -- Looking for stddef.h - found [2021-03-11T23:17:14.400Z] -- Check size of unsigned short [2021-03-11T23:17:14.420Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-11T23:17:14.674Z] -- Check size of unsigned short - done [2021-03-11T23:17:14.675Z] -- Using unsigned short [2021-03-11T23:17:14.675Z] -- Check if the system is big endian - little endian [2021-03-11T23:17:14.764Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-11T23:17:14.949Z] -- Check size of size_t [2021-03-11T23:17:15.068Z] + sudo service docker restart [2021-03-11T23:17:15.068Z] + true [2021-03-11T23:17:15.068Z] Redirecting to /bin/systemctl restart docker.service [2021-03-11T23:17:15.220Z] -- Check size of size_t - done [2021-03-11T23:17:15.220Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-03-11T23:17:15.220Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-03-11T23:17:15.220Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-03-11T23:17:15.220Z] CMake did not find one. [2021-03-11T23:17:15.220Z] [2021-03-11T23:17:15.220Z] Could not find a package configuration file provided by "cJSON" with any of [2021-03-11T23:17:15.220Z] the following names: [2021-03-11T23:17:15.220Z] [2021-03-11T23:17:15.220Z] cJSONConfig.cmake [2021-03-11T23:17:15.220Z] cjson-config.cmake [2021-03-11T23:17:15.220Z] [2021-03-11T23:17:15.220Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-03-11T23:17:15.220Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-03-11T23:17:15.220Z] provides a separate development package or SDK, be sure it has been [2021-03-11T23:17:15.220Z] installed. [2021-03-11T23:17:15.220Z] [2021-03-11T23:17:15.220Z] [2021-03-11T23:17:15.220Z] -- Configuring done [2021-03-11T23:17:15.491Z] -- Generating done [2021-03-11T23:17:15.491Z] -- Build files have been written to: /tmp/cbor [2021-03-11T23:17:15.491Z] Scanning dependencies of target cbor_shared [2021-03-11T23:17:15.491Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-11T23:17:16.086Z] provisioning config files... [2021-03-11T23:17:16.112Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config748486897932597797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-11T23:17:16.469Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-03-11T23:17:16.491Z] ---> docker-login.sh [2021-03-11T23:17:16.491Z] nexus3.edgexfoundry.org:10001 [2021-03-11T23:17:16.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T23:17:16.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T23:17:16.756Z] Configure a credential helper to remove this warning. See [2021-03-11T23:17:16.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T23:17:16.756Z] [2021-03-11T23:17:16.756Z] Login Succeeded [2021-03-11T23:17:16.756Z] nexus3.edgexfoundry.org:10002 [2021-03-11T23:17:17.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T23:17:17.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T23:17:17.020Z] Configure a credential helper to remove this warning. See [2021-03-11T23:17:17.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T23:17:17.020Z] [2021-03-11T23:17:17.020Z] Login Succeeded [2021-03-11T23:17:17.020Z] nexus3.edgexfoundry.org:10003 [2021-03-11T23:17:17.067Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-03-11T23:17:17.067Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-03-11T23:17:17.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T23:17:17.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T23:17:17.284Z] Configure a credential helper to remove this warning. See [2021-03-11T23:17:17.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T23:17:17.284Z] [2021-03-11T23:17:17.284Z] Login Succeeded [2021-03-11T23:17:17.284Z] nexus3.edgexfoundry.org:10004 [2021-03-11T23:17:17.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T23:17:17.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T23:17:17.284Z] Configure a credential helper to remove this warning. See [2021-03-11T23:17:17.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T23:17:17.284Z] [2021-03-11T23:17:17.284Z] Login Succeeded [2021-03-11T23:17:17.284Z] docker.io [2021-03-11T23:17:17.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T23:17:17.664Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-03-11T23:17:17.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T23:17:17.812Z] Configure a credential helper to remove this warning. See [2021-03-11T23:17:17.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T23:17:17.812Z] [2021-03-11T23:17:17.812Z] Login Succeeded [2021-03-11T23:17:17.812Z] ---> docker-login.sh ends [Pipeline] } [2021-03-11T23:17:17.826Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [2021-03-11T23:17:17.943Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [Pipeline] // withEnv [Pipeline] unstash [2021-03-11T23:17:18.221Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-03-11T23:17:18.221Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [Pipeline] echo [2021-03-11T23:17:18.382Z] ========================================================= [2021-03-11T23:17:18.382Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-03-11T23:17:18.382Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-11T23:17:18.494Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-03-11T23:17:18.740Z] + 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-11T23:17:18.740Z] Sending build context to Docker daemon 2.514MB [2021-03-11T23:17:18.740Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-03-11T23:17:18.740Z] Step 2/21 : FROM ${BASE} as builder [2021-03-11T23:17:18.771Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-03-11T23:17:19.005Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-03-11T23:17:19.005Z] e7c96db7181b: Pulling fs layer [2021-03-11T23:17:19.005Z] 4c13bbce0fe7: Pulling fs layer [2021-03-11T23:17:19.005Z] 6059c847ac2f: Pulling fs layer [2021-03-11T23:17:19.005Z] 4c13bbce0fe7: Verifying Checksum [2021-03-11T23:17:19.005Z] 4c13bbce0fe7: Download complete [2021-03-11T23:17:19.005Z] e7c96db7181b: Verifying Checksum [2021-03-11T23:17:19.005Z] e7c96db7181b: Download complete [2021-03-11T23:17:19.270Z] e7c96db7181b: Pull complete [2021-03-11T23:17:19.379Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-03-11T23:17:19.539Z] 4c13bbce0fe7: Pull complete [2021-03-11T23:17:19.652Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-03-11T23:17:20.251Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-03-11T23:17:20.487Z] 6059c847ac2f: Verifying Checksum [2021-03-11T23:17:20.487Z] 6059c847ac2f: Download complete [2021-03-11T23:17:20.526Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-03-11T23:17:20.526Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-03-11T23:17:20.806Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-03-11T23:17:21.080Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-03-11T23:17:21.356Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-03-11T23:17:21.629Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-03-11T23:17:21.902Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-03-11T23:17:22.177Z] [ 40%] Linking C shared library libcbor.so [2021-03-11T23:17:22.177Z] [ 40%] Built target cbor_shared [2021-03-11T23:17:22.177Z] Scanning dependencies of target cbor [2021-03-11T23:17:22.177Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-03-11T23:17:23.151Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-03-11T23:17:23.747Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-03-11T23:17:23.747Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-03-11T23:17:25.181Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-03-11T23:17:25.181Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-03-11T23:17:25.454Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-03-11T23:17:25.454Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-03-11T23:17:25.726Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-03-11T23:17:25.827Z] 6059c847ac2f: Pull complete [2021-03-11T23:17:25.827Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-03-11T23:17:25.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-03-11T23:17:25.827Z] ---> 5eabd8fd8ba2 [2021-03-11T23:17:25.827Z] 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-11T23:17:25.999Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-03-11T23:17:26.980Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-03-11T23:17:26.980Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-03-11T23:17:27.230Z] ---> Running in 52be26069a69 [2021-03-11T23:17:27.574Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-03-11T23:17:27.809Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-03-11T23:17:27.847Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-03-11T23:17:28.120Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-03-11T23:17:28.393Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-03-11T23:17:28.667Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-03-11T23:17:28.765Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-03-11T23:17:28.940Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-03-11T23:17:29.029Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-03-11T23:17:29.029Z] (2/8) Installing libuuid (2.33-r0) [2021-03-11T23:17:29.029Z] (3/8) Installing libblkid (2.33-r0) [2021-03-11T23:17:29.212Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-03-11T23:17:29.292Z] (4/8) Installing libfdisk (2.33-r0) [2021-03-11T23:17:29.292Z] (5/8) Installing libmount (2.33-r0) [2021-03-11T23:17:29.292Z] (6/8) Installing libsmartcols (2.33-r0) [2021-03-11T23:17:29.485Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-03-11T23:17:29.485Z] [ 80%] Linking C static library libcbor.a [2021-03-11T23:17:29.555Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-03-11T23:17:29.759Z] [ 80%] Built target cbor [2021-03-11T23:17:29.759Z] Scanning dependencies of target create_items [2021-03-11T23:17:29.759Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-03-11T23:17:29.759Z] [ 84%] Linking C executable create_items [2021-03-11T23:17:29.822Z] (8/8) Installing wget (1.20.3-r0) [2021-03-11T23:17:29.822Z] Executing busybox-1.29.3-r10.trigger [2021-03-11T23:17:29.822Z] OK: 272 MiB in 83 packages [2021-03-11T23:17:30.032Z] [ 84%] Built target create_items [2021-03-11T23:17:30.033Z] Scanning dependencies of target readfile [2021-03-11T23:17:30.033Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-03-11T23:17:30.306Z] [ 88%] Linking C executable readfile [2021-03-11T23:17:30.306Z] [ 88%] Built target readfile [2021-03-11T23:17:30.306Z] Scanning dependencies of target streaming_parser [2021-03-11T23:17:30.306Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-03-11T23:17:30.400Z] Removing intermediate container 52be26069a69 [2021-03-11T23:17:30.400Z] ---> 4d65de25d671 [2021-03-11T23:17:30.400Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-03-11T23:17:30.579Z] [ 92%] Linking C executable streaming_parser [2021-03-11T23:17:30.579Z] [ 92%] Built target streaming_parser [2021-03-11T23:17:30.579Z] Scanning dependencies of target sort [2021-03-11T23:17:30.579Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-03-11T23:17:30.663Z] ---> Running in 35b336f3e03d [2021-03-11T23:17:30.663Z] Removing intermediate container 35b336f3e03d [2021-03-11T23:17:30.663Z] ---> d551c8b2473c [2021-03-11T23:17:30.663Z] 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-11T23:17:30.855Z] [ 96%] Linking C executable sort [2021-03-11T23:17:30.855Z] [ 96%] Built target sort [2021-03-11T23:17:30.855Z] Scanning dependencies of target hello [2021-03-11T23:17:31.129Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-03-11T23:17:31.129Z] [100%] Linking C executable hello [2021-03-11T23:17:31.129Z] [100%] Built target hello [2021-03-11T23:17:31.242Z] ---> Running in ae05258f51e0 [2021-03-11T23:17:31.403Z] Install the project... [2021-03-11T23:17:31.403Z] -- Install configuration: "Release" [2021-03-11T23:17:31.403Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-03-11T23:17:31.403Z] -- Installing: /usr/local/lib64/libcbor.a [2021-03-11T23:17:31.403Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-03-11T23:17:31.403Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-03-11T23:17:31.403Z] -- Installing: /usr/local/lib64/libcbor.so [2021-03-11T23:17:31.403Z] -- Up-to-date: /usr/local/include/cbor [2021-03-11T23:17:31.403Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-03-11T23:17:31.403Z] -- Installing: /usr/local/include/cbor/ints.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/data.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/common.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/strings.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/tags.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/internal [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor/maps.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/include/cbor.h [2021-03-11T23:17:31.404Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-03-11T23:17:31.506Z] --2021-03-11 23:17:31-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-03-11T23:17:31.770Z] Resolving github.com... 140.82.113.3 [2021-03-11T23:17:31.770Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-03-11T23:17:31.770Z] HTTP request sent, awaiting response... 302 Found [2021-03-11T23:17:31.770Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-03-11T23:17:31.770Z] --2021-03-11 23:17:31-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-03-11T23:17:31.770Z] Resolving codeload.github.com... 140.82.114.9 [2021-03-11T23:17:31.770Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-03-11T23:17:31.770Z] HTTP request sent, awaiting response... 200 OK [2021-03-11T23:17:31.770Z] Length: unspecified [application/x-gzip] [2021-03-11T23:17:31.770Z] Saving to: 'STDOUT' [2021-03-11T23:17:31.770Z]  [2021-03-11T23:17:31.770Z] 0K .......... .......... .......... .......... .......... 1.49M [2021-03-11T23:17:32.034Z] 50K .......... .......... .......... .......... .......... 3.00M [2021-03-11T23:17:32.034Z] 100K .......... .......... .......... .......... .......... 20.5M [2021-03-11T23:17:32.034Z] 150K .......... .......... .......... .......... .......... 3.62M [2021-03-11T23:17:32.034Z] 200K .......... .......... .......... .......... .......... 37.6M [2021-03-11T23:17:32.034Z] 250K .......... .......... .......... .......... .......... 7.95M [2021-03-11T23:17:32.034Z] 300K .......... .......... .......... .......... .......... 5.33M [2021-03-11T23:17:32.034Z] 350K .......... .......... .......... .......... .......... 21.6M [2021-03-11T23:17:32.034Z] 400K .......... .......... .......... .......... .......... 6.05M [2021-03-11T23:17:32.034Z] 450K .......... .......... .......... .......... .......... 11.8M [2021-03-11T23:17:32.034Z] 500K .......... .......... .......... .......... .......... 17.1M [2021-03-11T23:17:32.034Z] 550K .......... .......... .......... .......... .......... 5.38M [2021-03-11T23:17:32.034Z] 600K .......... .......... .......... .......... .......... 2.17M [2021-03-11T23:17:32.034Z] 650K .......... .......... .......... .......... .......... 4.66M [2021-03-11T23:17:32.034Z] 700K .. 32.4M=0.1s [2021-03-11T23:17:32.035Z] [2021-03-11T23:17:32.035Z] 2021-03-11 23:17:31 (4.87 MB/s) - written to stdout [719348] [2021-03-11T23:17:32.035Z] [2021-03-11T23:17:32.035Z] -- The C compiler identification is GNU 8.3.0 [2021-03-11T23:17:32.297Z] -- The CXX compiler identification is GNU 8.3.0 [2021-03-11T23:17:32.297Z] -- Check for working C compiler: /usr/bin/cc [2021-03-11T23:17:32.297Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-11T23:17:32.297Z] -- Detecting C compiler ABI info [2021-03-11T23:17:32.297Z] -- Detecting C compiler ABI info - done [2021-03-11T23:17:32.297Z] -- Detecting C compile features [2021-03-11T23:17:32.561Z] -- Detecting C compile features - done [2021-03-11T23:17:32.561Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-03-11T23:17:32.824Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-03-11T23:17:32.824Z] -- Detecting CXX compiler ABI info [2021-03-11T23:17:32.824Z] -- Detecting CXX compiler ABI info - done [2021-03-11T23:17:32.824Z] -- Detecting CXX compile features [2021-03-11T23:17:33.380Z] Removing intermediate container bb4c0350a438 [2021-03-11T23:17:33.380Z] ---> 09b5ef2be866 [2021-03-11T23:17:33.380Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-03-11T23:17:33.401Z] -- Detecting CXX compile features - done [2021-03-11T23:17:33.401Z] -- Looking for include file endian.h [2021-03-11T23:17:33.401Z] -- Looking for include file endian.h - found [2021-03-11T23:17:33.401Z] -- Check if the system is big endian [2021-03-11T23:17:33.401Z] -- Searching 16 bit integer [2021-03-11T23:17:33.401Z] -- Looking for sys/types.h [2021-03-11T23:17:33.401Z] -- Looking for sys/types.h - found [2021-03-11T23:17:33.401Z] -- Looking for stdint.h [2021-03-11T23:17:33.401Z] -- Looking for stdint.h - found [2021-03-11T23:17:33.401Z] -- Looking for stddef.h [2021-03-11T23:17:33.653Z] ---> Running in 891d21890491 [2021-03-11T23:17:33.665Z] -- Looking for stddef.h - found [2021-03-11T23:17:33.665Z] -- Check size of unsigned short [2021-03-11T23:17:33.665Z] -- Check size of unsigned short - done [2021-03-11T23:17:33.665Z] -- Using unsigned short [2021-03-11T23:17:33.665Z] -- Check if the system is big endian - little endian [2021-03-11T23:17:33.665Z] -- Check size of size_t [2021-03-11T23:17:33.927Z] -- Check size of size_t - done [2021-03-11T23:17:33.927Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-03-11T23:17:33.927Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-03-11T23:17:33.927Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-03-11T23:17:33.927Z] CMake did not find one. [2021-03-11T23:17:33.927Z] [2021-03-11T23:17:33.927Z] Could not find a package configuration file provided by "cJSON" with any of [2021-03-11T23:17:33.927Z] the following names: [2021-03-11T23:17:33.927Z] [2021-03-11T23:17:33.927Z] cJSONConfig.cmake [2021-03-11T23:17:33.927Z] cjson-config.cmake [2021-03-11T23:17:33.927Z] [2021-03-11T23:17:33.927Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-03-11T23:17:33.927Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-03-11T23:17:33.927Z] provides a separate development package or SDK, be sure it has been [2021-03-11T23:17:33.927Z] installed. [2021-03-11T23:17:33.927Z] [2021-03-11T23:17:33.927Z] [2021-03-11T23:17:33.927Z] -- Configuring done [2021-03-11T23:17:33.927Z] -- Generating done [2021-03-11T23:17:33.927Z] -- Build files have been written to: /tmp/cbor [2021-03-11T23:17:33.927Z] Scanning dependencies of target cbor_shared [2021-03-11T23:17:33.927Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-03-11T23:17:34.190Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-03-11T23:17:34.455Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-03-11T23:17:34.455Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-03-11T23:17:34.717Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-03-11T23:17:34.717Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-03-11T23:17:34.717Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-03-11T23:17:34.717Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-03-11T23:17:34.717Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-03-11T23:17:34.985Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-03-11T23:17:34.985Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-03-11T23:17:35.251Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-03-11T23:17:35.251Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-03-11T23:17:35.251Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-03-11T23:17:35.514Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-03-11T23:17:35.514Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-03-11T23:17:35.515Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-03-11T23:17:35.630Z] Removing intermediate container 891d21890491 [2021-03-11T23:17:35.630Z] ---> ce6467b8ccdd [2021-03-11T23:17:35.630Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-03-11T23:17:35.778Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-03-11T23:17:35.778Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-03-11T23:17:35.778Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-03-11T23:17:35.778Z] [ 40%] Linking C shared library libcbor.so [2021-03-11T23:17:35.778Z] [ 40%] Built target cbor_shared [2021-03-11T23:17:35.778Z] Scanning dependencies of target cbor [2021-03-11T23:17:35.778Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-03-11T23:17:36.041Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-03-11T23:17:36.304Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-03-11T23:17:36.304Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-03-11T23:17:36.567Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-03-11T23:17:36.567Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-03-11T23:17:36.609Z] ---> 044325b2b0ac [2021-03-11T23:17:36.609Z] Step 8/21 : COPY src /tmp/sdk/src [2021-03-11T23:17:36.830Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-03-11T23:17:36.830Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-03-11T23:17:36.830Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-03-11T23:17:36.830Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-03-11T23:17:37.100Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-03-11T23:17:37.100Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-03-11T23:17:37.206Z] ---> a4a507f15a43 [2021-03-11T23:17:37.206Z] Step 9/21 : COPY include /tmp/sdk/include [2021-03-11T23:17:37.364Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-03-11T23:17:37.364Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-03-11T23:17:37.364Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-03-11T23:17:37.628Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-03-11T23:17:37.628Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-03-11T23:17:37.628Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-03-11T23:17:37.891Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-03-11T23:17:37.891Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-03-11T23:17:37.891Z] [ 80%] Linking C static library libcbor.a [2021-03-11T23:17:37.891Z] [ 80%] Built target cbor [2021-03-11T23:17:37.891Z] Scanning dependencies of target create_items [2021-03-11T23:17:37.891Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-03-11T23:17:37.891Z] [ 84%] Linking C executable create_items [2021-03-11T23:17:38.154Z] [ 84%] Built target create_items [2021-03-11T23:17:38.154Z] Scanning dependencies of target readfile [2021-03-11T23:17:38.154Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-03-11T23:17:38.154Z] [ 88%] Linking C executable readfile [2021-03-11T23:17:38.154Z] [ 88%] Built target readfile [2021-03-11T23:17:38.154Z] Scanning dependencies of target streaming_parser [2021-03-11T23:17:38.154Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-03-11T23:17:38.154Z] [ 92%] Linking C executable streaming_parser [2021-03-11T23:17:38.154Z] [ 92%] Built target streaming_parser [2021-03-11T23:17:38.154Z] Scanning dependencies of target sort [2021-03-11T23:17:38.154Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-03-11T23:17:38.186Z] ---> a2dbbad806dc [2021-03-11T23:17:38.186Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-03-11T23:17:38.417Z] [ 96%] Linking C executable sort [2021-03-11T23:17:38.417Z] [ 96%] Built target sort [2021-03-11T23:17:38.417Z] Scanning dependencies of target hello [2021-03-11T23:17:38.417Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-03-11T23:17:38.417Z] [100%] Linking C executable hello [2021-03-11T23:17:38.417Z] [100%] Built target hello [2021-03-11T23:17:38.417Z] Install the project... [2021-03-11T23:17:38.417Z] -- Install configuration: "Release" [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/lib64/libcbor.a [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/lib64/libcbor.so [2021-03-11T23:17:38.417Z] -- Up-to-date: /usr/local/include/cbor [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/common.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/data.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/internal [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/ints.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/maps.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/strings.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor/tags.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/include/cbor.h [2021-03-11T23:17:38.417Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-03-11T23:17:38.783Z] ---> cebb290072d4 [2021-03-11T23:17:38.784Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-03-11T23:17:39.379Z] ---> 1c5685464dc8 [2021-03-11T23:17:39.379Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-03-11T23:17:39.975Z] ---> 6e3346d8fe35 [2021-03-11T23:17:39.975Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-03-11T23:17:40.249Z] ---> Running in 764b7f3b0400 [2021-03-11T23:17:40.992Z] Removing intermediate container ae05258f51e0 [2021-03-11T23:17:40.992Z] ---> f9171f4fffc0 [2021-03-11T23:17:40.992Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-03-11T23:17:40.992Z] ---> Running in d6814d2109c8 [2021-03-11T23:17:41.229Z] + CPPCHECK=false [2021-03-11T23:17:41.229Z] + DOCGEN=false [2021-03-11T23:17:41.229Z] + TOMLVER=SDK-0.2 [2021-03-11T23:17:41.229Z] + CUTILVER=1.1.4 [2021-03-11T23:17:41.229Z] + '[' 0 -gt 0 ] [2021-03-11T23:17:41.229Z] + readlink -f ./scripts/build.sh [2021-03-11T23:17:41.229Z] + dirname /tmp/sdk/scripts/build.sh [2021-03-11T23:17:41.229Z] + dirname /tmp/sdk/scripts [2021-03-11T23:17:41.229Z] + ROOT=/tmp/sdk [2021-03-11T23:17:41.229Z] + cd /tmp/sdk [2021-03-11T23:17:41.229Z] + '[' '!' -d deps ] [2021-03-11T23:17:41.229Z] + mkdir deps [2021-03-11T23:17:41.230Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-03-11T23:17:41.230Z] + tar -C deps -z -x -f - [2021-03-11T23:17:41.230Z] --2021-03-11 23:17:41-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-03-11T23:17:41.230Z] Resolving github.com... 140.82.113.3 [2021-03-11T23:17:41.502Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-03-11T23:17:41.502Z] HTTP request sent, awaiting response... 302 Found [2021-03-11T23:17:41.502Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-03-11T23:17:41.502Z] --2021-03-11 23:17:41-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-03-11T23:17:41.502Z] Resolving codeload.github.com... 140.82.114.9 [2021-03-11T23:17:41.502Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-03-11T23:17:41.775Z] HTTP request sent, awaiting response... 200 OK [2021-03-11T23:17:41.775Z] Length: unspecified [application/x-gzip] [2021-03-11T23:17:41.775Z] Saving to: 'STDOUT' [2021-03-11T23:17:41.775Z]  [2021-03-11T23:17:41.775Z] 0K .......... ......  847K=0.02s [2021-03-11T23:17:41.775Z] [2021-03-11T23:17:41.775Z] 2021-03-11 23:17:41 (847 KB/s) - written to stdout [16451] [2021-03-11T23:17:41.775Z] [2021-03-11T23:17:41.775Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-03-11T23:17:41.775Z] + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-03-11T23:17:41.775Z] -z -x -f - [2021-03-11T23:17:41.775Z] --2021-03-11 23:17:41-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-03-11T23:17:41.775Z] Resolving github.com... 140.82.113.3 [2021-03-11T23:17:41.775Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-03-11T23:17:41.942Z] Removing intermediate container d6814d2109c8 [2021-03-11T23:17:41.942Z] ---> d658b60db2c8 [2021-03-11T23:17:41.942Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-03-11T23:17:42.056Z] HTTP request sent, awaiting response... 302 Found [2021-03-11T23:17:42.056Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-03-11T23:17:42.056Z] --2021-03-11 23:17:41-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-03-11T23:17:42.056Z] Resolving codeload.github.com... 140.82.114.9 [2021-03-11T23:17:42.056Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-03-11T23:17:42.056Z] HTTP request sent, awaiting response... 200 OK [2021-03-11T23:17:42.056Z] Length: unspecified [application/x-gzip] [2021-03-11T23:17:42.056Z] Saving to: 'STDOUT' [2021-03-11T23:17:42.056Z]  [2021-03-11T23:17:42.208Z] ---> c5ef38b6b114 [2021-03-11T23:17:42.208Z] Step 8/21 : COPY src /tmp/sdk/src [2021-03-11T23:17:42.330Z] 0K .......... .......... .......... .......... .......... 1.30M [2021-03-11T23:17:42.330Z] 50K .......... .......... .......... .......... .......... 2.54M [2021-03-11T23:17:42.330Z] 100K .......... .......... .......... .......... .......... 2.65M [2021-03-11T23:17:42.330Z] 150K .......... .......... .......  1.99M=0.09s [2021-03-11T23:17:42.330Z] [2021-03-11T23:17:42.330Z] 2021-03-11 23:17:42 (1.95 MB/s) - written to stdout [181796] [2021-03-11T23:17:42.330Z] [2021-03-11T23:17:42.330Z] + mkdir -p src/c/iot [2021-03-11T23:17:42.330Z] + 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-11T23:17:42.330Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-03-11T23:17:42.330Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-03-11T23:17:42.330Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-03-11T23:17:42.330Z] + mkdir -p include/iot [2021-03-11T23:17:42.330Z] + 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-11T23:17:42.330Z] + mkdir -p include/iot/os [2021-03-11T23:17:42.330Z] + 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-11T23:17:42.330Z] + mkdir -p /tmp/sdk/build/release [2021-03-11T23:17:42.330Z] + cd /tmp/sdk/build/release [2021-03-11T23:17:42.330Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-03-11T23:17:42.603Z] -- The C compiler identification is GNU 8.3.0 [2021-03-11T23:17:42.603Z] -- Check for working C compiler: /usr/bin/cc [2021-03-11T23:17:42.879Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-11T23:17:42.879Z] -- Detecting C compiler ABI info [2021-03-11T23:17:43.162Z] ---> 652d18aaac85 [2021-03-11T23:17:43.163Z] Step 9/21 : COPY include /tmp/sdk/include [2021-03-11T23:17:43.163Z] ---> a966e3d70d8b [2021-03-11T23:17:43.163Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-03-11T23:17:43.168Z] -- Detecting C compiler ABI info - done [2021-03-11T23:17:43.168Z] -- Detecting C compile features [2021-03-11T23:17:43.429Z] ---> 6e5f6ab373cf [2021-03-11T23:17:43.429Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-03-11T23:17:43.696Z] ---> 3bce90d17a94 [2021-03-11T23:17:43.696Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-03-11T23:17:43.962Z] ---> be32e76e1eba [2021-03-11T23:17:43.962Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-03-11T23:17:43.962Z] ---> Running in e46bbc78f471 [2021-03-11T23:17:44.153Z] -- Detecting C compile features - done [2021-03-11T23:17:44.153Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-03-11T23:17:44.153Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-03-11T23:17:44.153Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-03-11T23:17:44.153Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-03-11T23:17:44.153Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-03-11T23:17:44.153Z] -- C SDK 0.0.0 for Linux [2021-03-11T23:17:44.153Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-03-11T23:17:44.153Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-03-11T23:17:44.153Z] -- Found Curses: /usr/lib/libcurses.so [2021-03-11T23:17:44.426Z] -- Configuring done [2021-03-11T23:17:44.544Z] + CPPCHECK=false [2021-03-11T23:17:44.544Z] + DOCGEN=false [2021-03-11T23:17:44.544Z] + TOMLVER=SDK-0.2 [2021-03-11T23:17:44.544Z] + CUTILVER=1.1.4 [2021-03-11T23:17:44.544Z] + '[' 0 -gt 0 ] [2021-03-11T23:17:44.544Z] + readlink -f ./scripts/build.sh [2021-03-11T23:17:44.544Z] + dirname /tmp/sdk/scripts/build.sh [2021-03-11T23:17:44.544Z] + dirname /tmp/sdk/scripts [2021-03-11T23:17:44.544Z] + ROOT=/tmp/sdk [2021-03-11T23:17:44.544Z] + cd /tmp/sdk [2021-03-11T23:17:44.544Z] + '[' '!' -d deps ] [2021-03-11T23:17:44.544Z] + mkdir deps [2021-03-11T23:17:44.544Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-03-11T23:17:44.544Z] + tar -C deps -z -x -f - [2021-03-11T23:17:44.544Z] --2021-03-11 23:17:44-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-03-11T23:17:44.544Z] Resolving github.com... 140.82.113.3 [2021-03-11T23:17:44.544Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-03-11T23:17:44.544Z] HTTP request sent, awaiting response... 302 Found [2021-03-11T23:17:44.544Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-03-11T23:17:44.544Z] --2021-03-11 23:17:44-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-03-11T23:17:44.544Z] Resolving codeload.github.com... 140.82.114.9 [2021-03-11T23:17:44.544Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-03-11T23:17:44.544Z] HTTP request sent, awaiting response... 200 OK [2021-03-11T23:17:44.544Z] Length: unspecified [application/x-gzip] [2021-03-11T23:17:44.544Z] Saving to: 'STDOUT' [2021-03-11T23:17:44.544Z]  [2021-03-11T23:17:44.544Z] 0K .......... ......  885K=0.02s [2021-03-11T23:17:44.544Z] [2021-03-11T23:17:44.544Z] 2021-03-11 23:17:44 (885 KB/s) - written to stdout [16451] [2021-03-11T23:17:44.544Z] [2021-03-11T23:17:44.544Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-03-11T23:17:44.544Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-03-11T23:17:44.544Z] + tar -C deps -z -x -f - [2021-03-11T23:17:44.544Z] --2021-03-11 23:17:44-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-03-11T23:17:44.698Z] -- Generating done [2021-03-11T23:17:44.698Z] -- Build files have been written to: /tmp/sdk/build/release [2021-03-11T23:17:44.698Z] + make all package [2021-03-11T23:17:44.698Z] + tee release.log [2021-03-11T23:17:44.698Z] Scanning dependencies of target csdk [2021-03-11T23:17:44.806Z] Resolving github.com... 140.82.113.3 [2021-03-11T23:17:44.806Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-03-11T23:17:44.806Z] HTTP request sent, awaiting response... 302 Found [2021-03-11T23:17:44.806Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-03-11T23:17:44.806Z] --2021-03-11 23:17:44-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-03-11T23:17:44.806Z] Resolving codeload.github.com... 140.82.114.9 [2021-03-11T23:17:44.806Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-03-11T23:17:44.806Z] HTTP request sent, awaiting response... 200 OK [2021-03-11T23:17:44.806Z] Length: unspecified [application/x-gzip] [2021-03-11T23:17:44.806Z] Saving to: 'STDOUT' [2021-03-11T23:17:44.806Z]  [2021-03-11T23:17:44.807Z] 0K .......... .......... .......... .......... .......... 1.53M [2021-03-11T23:17:44.807Z] 50K .......... .......... .......... .......... .......... 3.17M [2021-03-11T23:17:44.807Z] 100K .......... .......... .......... .......... .......... 44.0M [2021-03-11T23:17:44.807Z] 150K .......... .......... ....... 3.52M=0.06s [2021-03-11T23:17:44.807Z] [2021-03-11T23:17:44.807Z] 2021-03-11 23:17:44 (3.09 MB/s) - written to stdout [181796] [2021-03-11T23:17:44.807Z] [2021-03-11T23:17:44.807Z] + mkdir -p src/c/iot [2021-03-11T23:17:44.807Z] + 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-11T23:17:44.807Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-03-11T23:17:44.807Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-03-11T23:17:44.807Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-03-11T23:17:44.807Z] + mkdir -p include/iot [2021-03-11T23:17:44.807Z] + 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-11T23:17:44.807Z] + mkdir -p include/iot/os [2021-03-11T23:17:44.807Z] + 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-11T23:17:44.807Z] + mkdir -p /tmp/sdk/build/release [2021-03-11T23:17:44.807Z] + cd /tmp/sdk/build/release [2021-03-11T23:17:44.807Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-03-11T23:17:44.969Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-03-11T23:17:45.071Z] -- The C compiler identification is GNU 8.3.0 [2021-03-11T23:17:45.071Z] -- Check for working C compiler: /usr/bin/cc [2021-03-11T23:17:45.071Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-11T23:17:45.071Z] -- Detecting C compiler ABI info [2021-03-11T23:17:45.335Z] -- Detecting C compiler ABI info - done [2021-03-11T23:17:45.335Z] -- Detecting C compile features [2021-03-11T23:17:45.335Z] -- Detecting C compile features - done [2021-03-11T23:17:45.561Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-03-11T23:17:45.598Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-03-11T23:17:45.598Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-03-11T23:17:45.598Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-03-11T23:17:45.598Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-03-11T23:17:45.598Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-03-11T23:17:45.598Z] -- C SDK 0.0.0 for Linux [2021-03-11T23:17:45.598Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-03-11T23:17:45.598Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-03-11T23:17:45.598Z] -- Found Curses: /usr/lib/libcurses.so [2021-03-11T23:17:45.598Z] -- Configuring done [2021-03-11T23:17:45.598Z] -- Generating done [2021-03-11T23:17:45.598Z] -- Build files have been written to: /tmp/sdk/build/release [2021-03-11T23:17:45.598Z] + make all package [2021-03-11T23:17:45.598Z] + tee release.log [2021-03-11T23:17:45.835Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-03-11T23:17:45.860Z] Scanning dependencies of target csdk [2021-03-11T23:17:45.860Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-03-11T23:17:45.860Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-03-11T23:17:46.123Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-03-11T23:17:46.386Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-03-11T23:17:46.651Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-03-11T23:17:46.651Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-03-11T23:17:46.914Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-03-11T23:17:47.496Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-03-11T23:17:47.496Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-03-11T23:17:47.761Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-03-11T23:17:47.761Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-03-11T23:17:47.805Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-03-11T23:17:48.026Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-03-11T23:17:48.026Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-03-11T23:17:48.026Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-03-11T23:17:48.404Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-03-11T23:17:48.404Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-03-11T23:17:48.666Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-03-11T23:17:48.937Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-03-11T23:17:48.937Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-03-11T23:17:48.937Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-03-11T23:17:49.205Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-03-11T23:17:49.383Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-03-11T23:17:49.469Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-03-11T23:17:50.047Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-03-11T23:17:50.047Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-03-11T23:17:50.047Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-03-11T23:17:50.311Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-03-11T23:17:50.311Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-03-11T23:17:50.311Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-03-11T23:17:50.575Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-03-11T23:17:50.819Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-03-11T23:17:50.839Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-03-11T23:17:50.839Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-03-11T23:17:51.102Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-03-11T23:17:51.365Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-03-11T23:17:51.411Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-03-11T23:17:51.627Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-03-11T23:17:51.889Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-03-11T23:17:51.889Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-03-11T23:17:52.005Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-03-11T23:17:52.279Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-03-11T23:17:52.873Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-03-11T23:17:52.873Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-03-11T23:17:53.145Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-03-11T23:17:53.288Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-03-11T23:17:53.288Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-03-11T23:17:53.288Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-03-11T23:17:53.288Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-03-11T23:17:53.553Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-03-11T23:17:54.128Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-03-11T23:17:54.391Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-03-11T23:17:55.339Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-03-11T23:17:55.339Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-03-11T23:17:55.602Z] [ 73%] Linking C shared library libcsdk.so [2021-03-11T23:17:55.602Z] [ 73%] Built target csdk [2021-03-11T23:17:55.602Z] Scanning dependencies of target template [2021-03-11T23:17:55.602Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-03-11T23:17:55.749Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-03-11T23:17:55.865Z] [ 76%] Linking C executable template [2021-03-11T23:17:55.865Z] [ 76%] Built target template [2021-03-11T23:17:55.865Z] Scanning dependencies of target device-counter [2021-03-11T23:17:55.865Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-03-11T23:17:56.024Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-03-11T23:17:56.127Z] [ 80%] Linking C executable device-counter [2021-03-11T23:17:56.128Z] [ 80%] Built target device-counter [2021-03-11T23:17:56.128Z] Scanning dependencies of target device-random [2021-03-11T23:17:56.128Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-03-11T23:17:56.128Z] [ 83%] Linking C executable device-random [2021-03-11T23:17:56.299Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-03-11T23:17:56.390Z] [ 83%] Built target device-random [2021-03-11T23:17:56.390Z] Scanning dependencies of target device-gyro [2021-03-11T23:17:56.390Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-03-11T23:17:56.390Z] [ 86%] Linking C executable device-gyro [2021-03-11T23:17:56.390Z] [ 86%] Built target device-gyro [2021-03-11T23:17:56.390Z] Scanning dependencies of target device-bitfields [2021-03-11T23:17:56.390Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-03-11T23:17:56.653Z] [ 90%] Linking C executable device-bitfields [2021-03-11T23:17:56.653Z] [ 90%] Built target device-bitfields [2021-03-11T23:17:56.653Z] Scanning dependencies of target template-discovery [2021-03-11T23:17:56.653Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-03-11T23:17:56.892Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-03-11T23:17:56.915Z] [ 93%] Linking C executable template-discovery [2021-03-11T23:17:56.915Z] [ 93%] Built target template-discovery [2021-03-11T23:17:56.915Z] Scanning dependencies of target device-file [2021-03-11T23:17:56.915Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-03-11T23:17:57.164Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-03-11T23:17:57.177Z] [ 96%] Linking C executable device-file [2021-03-11T23:17:57.177Z] [ 96%] Built target device-file [2021-03-11T23:17:57.177Z] Scanning dependencies of target device-terminal [2021-03-11T23:17:57.177Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-03-11T23:17:57.439Z] [100%] Linking C executable device-terminal [2021-03-11T23:17:57.439Z] [100%] Built target device-terminal [2021-03-11T23:17:57.439Z] Run CPack packaging tool... [2021-03-11T23:17:57.439Z] CPack: Create package using TGZ [2021-03-11T23:17:57.439Z] CPack: Install projects [2021-03-11T23:17:57.439Z] CPack: - Run preinstall target for: Csdk [2021-03-11T23:17:57.701Z] CPack: - Install project: Csdk [2021-03-11T23:17:57.701Z] CPack: Create package [2021-03-11T23:17:57.701Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-03-11T23:17:57.701Z] + '[' false '=' true ] [2021-03-11T23:17:57.701Z] + '[' false '=' true ] [2021-03-11T23:17:57.701Z] + mkdir -p /tmp/sdk/build/debug [2021-03-11T23:17:57.701Z] + cd /tmp/sdk/build/debug [2021-03-11T23:17:57.701Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-03-11T23:17:57.757Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-03-11T23:17:57.963Z] -- The C compiler identification is GNU 8.3.0 [2021-03-11T23:17:57.963Z] -- Check for working C compiler: /usr/bin/cc [2021-03-11T23:17:57.963Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-11T23:17:57.963Z] -- Detecting C compiler ABI info [2021-03-11T23:17:57.963Z] -- Detecting C compiler ABI info - done [2021-03-11T23:17:57.963Z] -- Detecting C compile features [2021-03-11T23:17:58.226Z] -- Detecting C compile features - done [2021-03-11T23:17:58.226Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-03-11T23:17:58.226Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-03-11T23:17:58.226Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-03-11T23:17:58.226Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-03-11T23:17:58.226Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-03-11T23:17:58.226Z] -- C SDK 0.0.0 for Linux [2021-03-11T23:17:58.226Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-03-11T23:17:58.488Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-03-11T23:17:58.488Z] -- Found Curses: /usr/lib/libcurses.so [2021-03-11T23:17:58.488Z] -- Configuring done [2021-03-11T23:17:58.488Z] -- Generating done [2021-03-11T23:17:58.488Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-03-11T23:17:58.488Z] + make [2021-03-11T23:17:58.488Z] + tee debug.log [2021-03-11T23:17:58.488Z] Scanning dependencies of target csdk [2021-03-11T23:17:58.488Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-03-11T23:17:58.749Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-03-11T23:17:58.749Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-03-11T23:17:59.012Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-03-11T23:17:59.012Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-03-11T23:17:59.012Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-03-11T23:17:59.274Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-03-11T23:17:59.274Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-03-11T23:17:59.537Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-03-11T23:17:59.537Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-03-11T23:17:59.537Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-03-11T23:17:59.798Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-03-11T23:17:59.798Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-03-11T23:17:59.798Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-03-11T23:18:00.059Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-03-11T23:18:00.059Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-03-11T23:18:00.059Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-03-11T23:18:00.322Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-03-11T23:18:00.322Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-03-11T23:18:00.322Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-03-11T23:18:00.368Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-03-11T23:18:00.368Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-03-11T23:18:00.583Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-03-11T23:18:00.584Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-03-11T23:18:00.639Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-03-11T23:18:00.846Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-03-11T23:18:00.846Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-03-11T23:18:00.846Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-03-11T23:18:00.846Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-03-11T23:18:01.108Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-03-11T23:18:01.108Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-03-11T23:18:01.108Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-03-11T23:18:01.108Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-03-11T23:18:01.232Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-03-11T23:18:01.370Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-03-11T23:18:01.370Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-03-11T23:18:01.510Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-03-11T23:18:01.633Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-03-11T23:18:01.633Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-03-11T23:18:01.783Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-03-11T23:18:01.895Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-03-11T23:18:01.895Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-03-11T23:18:01.895Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-03-11T23:18:02.165Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-03-11T23:18:02.165Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-03-11T23:18:02.432Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-03-11T23:18:02.699Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-03-11T23:18:02.757Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-03-11T23:18:02.962Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-03-11T23:18:02.962Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-03-11T23:18:02.962Z] [ 73%] Linking C shared library libcsdk.so [2021-03-11T23:18:02.962Z] [ 73%] Built target csdk [2021-03-11T23:18:02.962Z] Scanning dependencies of target template [2021-03-11T23:18:02.962Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-03-11T23:18:03.028Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-03-11T23:18:03.223Z] [ 76%] Linking C executable template [2021-03-11T23:18:03.223Z] [ 76%] Built target template [2021-03-11T23:18:03.223Z] Scanning dependencies of target device-counter [2021-03-11T23:18:03.223Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-03-11T23:18:03.223Z] [ 80%] Linking C executable device-counter [2021-03-11T23:18:03.484Z] [ 80%] Built target device-counter [2021-03-11T23:18:03.484Z] Scanning dependencies of target device-random [2021-03-11T23:18:03.484Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-03-11T23:18:03.484Z] [ 83%] Linking C executable device-random [2021-03-11T23:18:03.484Z] [ 83%] Built target device-random [2021-03-11T23:18:03.484Z] Scanning dependencies of target device-gyro [2021-03-11T23:18:03.484Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-03-11T23:18:03.623Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-03-11T23:18:03.746Z] [ 86%] Linking C executable device-gyro [2021-03-11T23:18:03.746Z] [ 86%] Built target device-gyro [2021-03-11T23:18:03.746Z] Scanning dependencies of target device-bitfields [2021-03-11T23:18:03.746Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-03-11T23:18:03.746Z] [ 90%] Linking C executable device-bitfields [2021-03-11T23:18:03.896Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-03-11T23:18:04.008Z] [ 90%] Built target device-bitfields [2021-03-11T23:18:04.008Z] Scanning dependencies of target template-discovery [2021-03-11T23:18:04.008Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-03-11T23:18:04.008Z] [ 93%] Linking C executable template-discovery [2021-03-11T23:18:04.008Z] [ 93%] Built target template-discovery [2021-03-11T23:18:04.008Z] Scanning dependencies of target device-file [2021-03-11T23:18:04.008Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-03-11T23:18:04.271Z] [ 96%] Linking C executable device-file [2021-03-11T23:18:04.271Z] [ 96%] Built target device-file [2021-03-11T23:18:04.271Z] Scanning dependencies of target device-terminal [2021-03-11T23:18:04.271Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-03-11T23:18:04.271Z] [100%] Linking C executable device-terminal [2021-03-11T23:18:04.533Z] [100%] Built target device-terminal [2021-03-11T23:18:04.533Z] make: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] [ 73%] Built target csdk [2021-03-11T23:18:04.533Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] [ 76%] Built target template [2021-03-11T23:18:04.533Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] [ 80%] Built target device-counter [2021-03-11T23:18:04.533Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] [ 83%] Built target device-random [2021-03-11T23:18:04.533Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] [ 86%] Built target device-gyro [2021-03-11T23:18:04.533Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] [ 90%] Built target device-bitfields [2021-03-11T23:18:04.533Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] [ 93%] Built target template-discovery [2021-03-11T23:18:04.533Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] [ 96%] Built target device-file [2021-03-11T23:18:04.533Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] [100%] Built target device-terminal [2021-03-11T23:18:04.533Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:04.533Z] Install the project... [2021-03-11T23:18:04.533Z] -- Install configuration: "Release" [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/lib/libcsdk.so [2021-03-11T23:18:04.533Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-03-11T23:18:04.533Z] -- Up-to-date: /usr/local/include [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/devsdk [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/edgex [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/edgex/devices.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/base64.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/component.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/config.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/container.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/data.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/hash.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/iot.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/json.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/logger.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/os.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/thread.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/time.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/typecode.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/os [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-03-11T23:18:04.533Z] -- Installing: /usr/local/include/iot/defs.h [2021-03-11T23:18:04.534Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-03-11T23:18:04.534Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-03-11T23:18:04.534Z] make: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:05.937Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-03-11T23:18:06.209Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-03-11T23:18:07.086Z] Removing intermediate container e46bbc78f471 [2021-03-11T23:18:07.086Z] ---> 6526e54fa8ed [2021-03-11T23:18:07.086Z] Step 14/21 : FROM ${BASE} [2021-03-11T23:18:07.086Z] ---> 5eabd8fd8ba2 [2021-03-11T23:18:07.087Z] Step 15/21 : LABEL maintainer="IOTech " [2021-03-11T23:18:07.087Z] ---> Running in 6a3896fcb4d9 [2021-03-11T23:18:07.087Z] Removing intermediate container 6a3896fcb4d9 [2021-03-11T23:18:07.087Z] ---> f34c1375ad84 [2021-03-11T23:18:07.087Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-03-11T23:18:07.087Z] ---> Running in bebb3fc812db [2021-03-11T23:18:07.268Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-03-11T23:18:07.268Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-03-11T23:18:07.659Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-03-11T23:18:08.602Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-03-11T23:18:08.863Z] (1/3) Installing curl (7.64.0-r5) [2021-03-11T23:18:08.864Z] (2/3) Installing libuuid (2.33-r0) [2021-03-11T23:18:08.864Z] (3/3) Installing wget (1.20.3-r0) [2021-03-11T23:18:09.129Z] Executing busybox-1.29.3-r10.trigger [2021-03-11T23:18:09.129Z] OK: 268 MiB in 78 packages [2021-03-11T23:18:09.392Z] Removing intermediate container bebb3fc812db [2021-03-11T23:18:09.392Z] ---> c1f8171ceb3b [2021-03-11T23:18:09.392Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-03-11T23:18:09.654Z] ---> c8bd75b8affe [2021-03-11T23:18:09.654Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-03-11T23:18:09.919Z] ---> d6a9ec3be8c7 [2021-03-11T23:18:09.919Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-03-11T23:18:10.182Z] ---> e933ece77003 [2021-03-11T23:18:10.182Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-03-11T23:18:10.448Z] ---> de3bcf7dfc3b [2021-03-11T23:18:10.448Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-03-11T23:18:10.711Z] ---> a9b2a904a337 [2021-03-11T23:18:10.711Z] Successfully built a9b2a904a337 [2021-03-11T23:18:10.711Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-11T23:18:11.425Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-11T23:18:11.425Z] . [Pipeline] withDockerContainer [2021-03-11T23:18:11.542Z] prd-centos7-docker-4c-2g-29548 does not seem to be running inside a container [2021-03-11T23:18:11.591Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-11T23:18:11.638Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-03-11T23:18:11.911Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-03-11T23:18:12.379Z] $ docker top 1d8e00a5997c6884669b3454b9a8879edc3122e29ee177af5efe1acea897edad -eo pid,comm [2021-03-11T23:18:12.506Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [Pipeline] { [Pipeline] sh [2021-03-11T23:18:12.779Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-03-11T23:18:12.887Z] + make test [2021-03-11T23:18:12.887Z] echo "make test" [2021-03-11T23:18:12.887Z] make test [Pipeline] } [2021-03-11T23:18:12.903Z] $ docker stop --time=1 1d8e00a5997c6884669b3454b9a8879edc3122e29ee177af5efe1acea897edad [2021-03-11T23:18:13.757Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-03-11T23:18:14.246Z] $ docker rm -f 1d8e00a5997c6884669b3454b9a8879edc3122e29ee177af5efe1acea897edad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-03-11T23:18:15.189Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-03-11T23:18:16.615Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [Pipeline] sh [2021-03-11T23:18:17.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-11T23:18:17.847Z] + ls -al . [2021-03-11T23:18:17.847Z] total 160 [2021-03-11T23:18:17.847Z] drwxrwxr-x. 8 jenkins jenkins 260 Mar 11 23:17 . [2021-03-11T23:18:17.847Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 11 23:17 .. [2021-03-11T23:18:17.847Z] -rw-rw-r--. 1 jenkins jenkins 3104 Mar 11 23:17 Attribution.txt [2021-03-11T23:18:17.847Z] -rw-rw-r--. 1 jenkins jenkins 6927 Mar 11 23:17 CHANGES [2021-03-11T23:18:17.847Z] drwxrwxr-x. 2 jenkins jenkins 121 Mar 11 23:17 docs [2021-03-11T23:18:17.847Z] -rw-rw-r--. 1 jenkins jenkins 108574 Mar 11 23:17 Doxyfile [2021-03-11T23:18:17.847Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 11 23:17 .git [2021-03-11T23:18:17.847Z] drwxrwxr-x. 2 jenkins jenkins 81 Mar 11 23:17 .github [2021-03-11T23:18:17.847Z] -rw-rw-r--. 1 jenkins jenkins 176 Mar 11 23:17 .gitignore [2021-03-11T23:18:17.847Z] drwxrwxr-x. 4 jenkins jenkins 33 Mar 11 23:17 include [2021-03-11T23:18:17.847Z] -rw-rw-r--. 1 jenkins jenkins 784 Mar 11 23:17 Jenkinsfile [2021-03-11T23:18:17.847Z] -rw-rw-r--. 1 jenkins jenkins 10174 Mar 11 23:17 LICENSE [2021-03-11T23:18:17.847Z] -rw-rw-r--. 1 jenkins jenkins 444 Mar 11 23:17 Makefile [2021-03-11T23:18:17.847Z] -rw-rw-r--. 1 jenkins jenkins 2694 Mar 11 23:17 README.md [2021-03-11T23:18:17.847Z] -rw-rw-r--. 1 jenkins jenkins 6654 Mar 11 23:17 README.v2.md [2021-03-11T23:18:17.847Z] drwxrwxr-x. 2 jenkins jenkins 98 Mar 11 23:17 scripts [2021-03-11T23:18:17.847Z] drwxrwxr-x. 4 jenkins jenkins 50 Mar 11 23:17 src [2021-03-11T23:18:17.847Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 11 23:14 VERSION [Pipeline] isUnix [Pipeline] sh [2021-03-11T23:18:18.154Z] + 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=06ade1fa7729c29c4541d63534fa6253b829bfc5 --label arch=amd64 --label version=0.0.0 . [2021-03-11T23:18:18.154Z] Sending build context to Docker daemon 2.514MB [2021-03-11T23:18:18.155Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-03-11T23:18:18.155Z] Step 2/15 : FROM ${BASE} [2021-03-11T23:18:18.155Z] ---> a9b2a904a337 [2021-03-11T23:18:18.155Z] Step 3/15 : LABEL maintainer="IOTech " [2021-03-11T23:18:19.109Z] ---> Running in e4130e654687 [2021-03-11T23:18:19.109Z] Removing intermediate container e4130e654687 [2021-03-11T23:18:19.109Z] ---> 3d9aced2a0a7 [2021-03-11T23:18:19.109Z] 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-11T23:18:19.109Z] ---> Running in be9111d7ec13 [2021-03-11T23:18:19.686Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-03-11T23:18:19.993Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-03-11T23:18:20.261Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-03-11T23:18:20.524Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-03-11T23:18:20.524Z] (2/6) Installing libblkid (2.33-r0) [2021-03-11T23:18:20.584Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-03-11T23:18:20.787Z] (3/6) Installing libfdisk (2.33-r0) [2021-03-11T23:18:20.787Z] (4/6) Installing libmount (2.33-r0) [2021-03-11T23:18:20.787Z] (5/6) Installing libsmartcols (2.33-r0) [2021-03-11T23:18:20.856Z] [ 73%] Linking C shared library libcsdk.so [2021-03-11T23:18:21.049Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-03-11T23:18:21.129Z] [ 73%] Built target csdk [2021-03-11T23:18:21.129Z] Scanning dependencies of target template [2021-03-11T23:18:21.129Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-03-11T23:18:21.312Z] Executing busybox-1.29.3-r10.trigger [2021-03-11T23:18:21.312Z] OK: 272 MiB in 84 packages [2021-03-11T23:18:21.722Z] [ 76%] Linking C executable template [2021-03-11T23:18:21.888Z] Removing intermediate container be9111d7ec13 [2021-03-11T23:18:21.888Z] ---> 6778d53633a0 [2021-03-11T23:18:21.888Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-03-11T23:18:21.995Z] [ 76%] Built target template [2021-03-11T23:18:21.995Z] Scanning dependencies of target device-counter [2021-03-11T23:18:21.995Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-03-11T23:18:22.150Z] ---> 555ed56326f7 [2021-03-11T23:18:22.150Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-03-11T23:18:22.586Z] [ 80%] Linking C executable device-counter [2021-03-11T23:18:22.586Z] [ 80%] Built target device-counter [2021-03-11T23:18:22.586Z] Scanning dependencies of target device-random [2021-03-11T23:18:22.586Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-03-11T23:18:22.726Z] ---> 4e5621fe5a67 [2021-03-11T23:18:22.726Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-03-11T23:18:22.990Z] ---> dfb1ce472d75 [2021-03-11T23:18:22.990Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-03-11T23:18:23.178Z] [ 83%] Linking C executable device-random [2021-03-11T23:18:23.252Z] ---> 0b3c20dbb877 [2021-03-11T23:18:23.252Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-03-11T23:18:23.450Z] [ 83%] Built target device-random [2021-03-11T23:18:23.450Z] Scanning dependencies of target device-gyro [2021-03-11T23:18:23.450Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-03-11T23:18:23.513Z] ---> 033265359360 [2021-03-11T23:18:23.513Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-03-11T23:18:23.728Z] [ 86%] Linking C executable device-gyro [2021-03-11T23:18:23.776Z] ---> fae3b68f9f58 [2021-03-11T23:18:23.776Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-03-11T23:18:23.776Z] ---> Running in 17733b8c26be [2021-03-11T23:18:23.999Z] [ 86%] Built target device-gyro [2021-03-11T23:18:23.999Z] Scanning dependencies of target device-bitfields [2021-03-11T23:18:23.999Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-03-11T23:18:24.038Z] Removing intermediate container 17733b8c26be [2021-03-11T23:18:24.038Z] ---> 6ddae4c6623d [2021-03-11T23:18:24.038Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-03-11T23:18:24.038Z] ---> Running in 6bd405f7cba3 [2021-03-11T23:18:24.300Z] Removing intermediate container 6bd405f7cba3 [2021-03-11T23:18:24.300Z] ---> 3f5e97fe6278 [2021-03-11T23:18:24.300Z] Step 13/15 : LABEL arch=amd64 [2021-03-11T23:18:24.300Z] ---> Running in b032e1d16c20 [2021-03-11T23:18:24.562Z] Removing intermediate container b032e1d16c20 [2021-03-11T23:18:24.562Z] ---> 007cdb9f809c [2021-03-11T23:18:24.562Z] Step 14/15 : LABEL git_sha=06ade1fa7729c29c4541d63534fa6253b829bfc5 [2021-03-11T23:18:24.562Z] ---> Running in 4c10d3c42f2f [2021-03-11T23:18:24.590Z] [ 90%] Linking C executable device-bitfields [2021-03-11T23:18:24.590Z] [ 90%] Built target device-bitfields [2021-03-11T23:18:24.590Z] Scanning dependencies of target template-discovery [2021-03-11T23:18:24.590Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-03-11T23:18:24.824Z] Removing intermediate container 4c10d3c42f2f [2021-03-11T23:18:24.824Z] ---> 2c258cd2f8e6 [2021-03-11T23:18:24.824Z] Step 15/15 : LABEL version=0.0.0 [2021-03-11T23:18:24.824Z] ---> Running in 124e0759f0e6 [2021-03-11T23:18:24.824Z] Removing intermediate container 124e0759f0e6 [2021-03-11T23:18:24.824Z] ---> 9c113a81d974 [2021-03-11T23:18:24.824Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-11T23:18:25.086Z] Successfully built 9c113a81d974 [2021-03-11T23:18:25.086Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [2021-03-11T23:18:25.566Z] [ 93%] Linking C executable template-discovery [2021-03-11T23:18:25.566Z] [ 93%] Built target template-discovery [2021-03-11T23:18:25.566Z] Scanning dependencies of target device-file [2021-03-11T23:18:25.566Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-03-11T23:18:26.164Z] [ 96%] Linking C executable device-file [Pipeline] // stage [Pipeline] } [2021-03-11T23:18:26.436Z] [ 96%] Built target device-file [2021-03-11T23:18:26.437Z] Scanning dependencies of target device-terminal [2021-03-11T23:18:26.437Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-03-11T23:18:27.029Z] [100%] Linking C executable device-terminal [2021-03-11T23:18:27.029Z] [100%] Built target device-terminal [2021-03-11T23:18:27.302Z] Run CPack packaging tool... [2021-03-11T23:18:27.302Z] CPack: Create package using TGZ [2021-03-11T23:18:27.302Z] CPack: Install projects [2021-03-11T23:18:27.302Z] CPack: - Run preinstall target for: Csdk [2021-03-11T23:18:27.895Z] CPack: - Install project: Csdk [2021-03-11T23:18:27.895Z] CPack: Create package [2021-03-11T23:18:27.895Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-03-11T23:18:27.895Z] + '[' false '=' true ] [2021-03-11T23:18:27.895Z] + '[' false '=' true ] [2021-03-11T23:18:27.895Z] + mkdir -p /tmp/sdk/build/debug [2021-03-11T23:18:27.895Z] + cd /tmp/sdk/build/debug [2021-03-11T23:18:27.895Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-03-11T23:18:28.168Z] -- The C compiler identification is GNU 8.3.0 [2021-03-11T23:18:28.168Z] -- Check for working C compiler: /usr/bin/cc [2021-03-11T23:18:28.439Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-11T23:18:28.439Z] -- Detecting C compiler ABI info [2021-03-11T23:18:28.711Z] -- Detecting C compiler ABI info - done [2021-03-11T23:18:28.711Z] -- Detecting C compile features [2021-03-11T23:18:29.685Z] -- Detecting C compile features - done [2021-03-11T23:18:29.685Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-03-11T23:18:29.685Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-03-11T23:18:29.685Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-03-11T23:18:29.685Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-03-11T23:18:29.685Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-03-11T23:18:29.685Z] -- C SDK 0.0.0 for Linux [2021-03-11T23:18:29.685Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-03-11T23:18:29.685Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-03-11T23:18:29.685Z] -- Found Curses: /usr/lib/libcurses.so [2021-03-11T23:18:29.957Z] -- Configuring done [2021-03-11T23:18:30.228Z] -- Generating done [2021-03-11T23:18:30.228Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-03-11T23:18:30.228Z] + make [2021-03-11T23:18:30.228Z] + tee debug.log [2021-03-11T23:18:30.228Z] Scanning dependencies of target csdk [2021-03-11T23:18:30.499Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-03-11T23:18:30.769Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-03-11T23:18:31.039Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-03-11T23:18:31.629Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-03-11T23:18:31.902Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-03-11T23:18:31.902Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-03-11T23:18:32.504Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-03-11T23:18:32.777Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-03-11T23:18:33.055Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-03-11T23:18:33.648Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-03-11T23:18:33.648Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-03-11T23:18:33.921Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-03-11T23:18:34.191Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-03-11T23:18:34.191Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-03-11T23:18:35.161Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-03-11T23:18:35.161Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-03-11T23:18:35.432Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-03-11T23:18:35.705Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-03-11T23:18:35.705Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-03-11T23:18:35.978Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-03-11T23:18:36.951Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-03-11T23:18:36.951Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-03-11T23:18:37.223Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-03-11T23:18:37.493Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-03-11T23:18:37.765Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-03-11T23:18:37.765Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-03-11T23:18:38.036Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-03-11T23:18:38.307Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-03-11T23:18:38.580Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-03-11T23:18:38.853Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-03-11T23:18:39.125Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-03-11T23:18:39.398Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-03-11T23:18:39.671Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-03-11T23:18:39.944Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-03-11T23:18:40.920Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-03-11T23:18:41.190Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-03-11T23:18:41.464Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-03-11T23:18:41.736Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-03-11T23:18:42.015Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-03-11T23:18:42.995Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-03-11T23:18:43.587Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-03-11T23:18:44.179Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-03-11T23:18:44.450Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-03-11T23:18:44.722Z] [ 73%] Linking C shared library libcsdk.so [2021-03-11T23:18:44.994Z] [ 73%] Built target csdk [2021-03-11T23:18:44.994Z] Scanning dependencies of target template [2021-03-11T23:18:44.994Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-03-11T23:18:45.269Z] [ 76%] Linking C executable template [2021-03-11T23:18:45.540Z] [ 76%] Built target template [2021-03-11T23:18:45.540Z] Scanning dependencies of target device-counter [2021-03-11T23:18:45.540Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-03-11T23:18:45.813Z] [ 80%] Linking C executable device-counter [2021-03-11T23:18:46.083Z] [ 80%] Built target device-counter [2021-03-11T23:18:46.083Z] Scanning dependencies of target device-random [2021-03-11T23:18:46.083Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-03-11T23:18:46.356Z] [ 83%] Linking C executable device-random [2021-03-11T23:18:46.356Z] [ 83%] Built target device-random [2021-03-11T23:18:46.356Z] Scanning dependencies of target device-gyro [2021-03-11T23:18:46.628Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-03-11T23:18:46.628Z] [ 86%] Linking C executable device-gyro [2021-03-11T23:18:46.900Z] [ 86%] Built target device-gyro [2021-03-11T23:18:46.900Z] Scanning dependencies of target device-bitfields [2021-03-11T23:18:46.900Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-03-11T23:18:47.173Z] [ 90%] Linking C executable device-bitfields [2021-03-11T23:18:47.444Z] [ 90%] Built target device-bitfields [2021-03-11T23:18:47.444Z] Scanning dependencies of target template-discovery [2021-03-11T23:18:47.444Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-03-11T23:18:47.716Z] [ 93%] Linking C executable template-discovery [2021-03-11T23:18:47.989Z] [ 93%] Built target template-discovery [2021-03-11T23:18:47.989Z] Scanning dependencies of target device-file [2021-03-11T23:18:47.989Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-03-11T23:18:48.261Z] [ 96%] Linking C executable device-file [2021-03-11T23:18:48.534Z] [ 96%] Built target device-file [2021-03-11T23:18:48.534Z] Scanning dependencies of target device-terminal [2021-03-11T23:18:48.534Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-03-11T23:18:49.129Z] [100%] Linking C executable device-terminal [2021-03-11T23:18:49.129Z] [100%] Built target device-terminal [2021-03-11T23:18:49.129Z] make: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.129Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.400Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.400Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.400Z] [ 73%] Built target csdk [2021-03-11T23:18:49.400Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.400Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.400Z] [ 76%] Built target template [2021-03-11T23:18:49.400Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.400Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.400Z] [ 80%] Built target device-counter [2021-03-11T23:18:49.400Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.400Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.400Z] [ 83%] Built target device-random [2021-03-11T23:18:49.400Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.400Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.400Z] [ 86%] Built target device-gyro [2021-03-11T23:18:49.400Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.670Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.670Z] [ 90%] Built target device-bitfields [2021-03-11T23:18:49.670Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.670Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.670Z] [ 93%] Built target template-discovery [2021-03-11T23:18:49.670Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.670Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.670Z] [ 96%] Built target device-file [2021-03-11T23:18:49.670Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.670Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.670Z] [100%] Built target device-terminal [2021-03-11T23:18:49.670Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:49.670Z] Install the project... [2021-03-11T23:18:49.670Z] -- Install configuration: "Release" [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/lib/libcsdk.so [2021-03-11T23:18:49.670Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-03-11T23:18:49.670Z] -- Up-to-date: /usr/local/include [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/edgex [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/edgex/devices.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/devsdk [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/json.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/container.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/component.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/typecode.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/iot.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/time.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/hash.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/logger.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/os [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/data.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/thread.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/os.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/base64.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/defs.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/include/iot/config.h [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-03-11T23:18:49.670Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-03-11T23:18:49.670Z] make: Leaving directory '/tmp/sdk/build/release' [2021-03-11T23:18:52.283Z] Removing intermediate container 764b7f3b0400 [2021-03-11T23:18:52.283Z] ---> 7ba09a72b430 [2021-03-11T23:18:52.283Z] Step 14/21 : FROM ${BASE} [2021-03-11T23:18:52.283Z] ---> b23d30803547 [2021-03-11T23:18:52.283Z] Step 15/21 : LABEL maintainer="IOTech " [2021-03-11T23:18:52.283Z] ---> Running in 6cc210220365 [2021-03-11T23:18:52.283Z] Removing intermediate container 6cc210220365 [2021-03-11T23:18:52.283Z] ---> 87a8868b29c1 [2021-03-11T23:18:52.283Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-03-11T23:18:52.554Z] ---> Running in de10d8b662aa [2021-03-11T23:18:53.528Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-03-11T23:18:54.500Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-03-11T23:18:54.772Z] (1/3) Installing curl (7.64.0-r5) [2021-03-11T23:18:55.042Z] (2/3) Installing libuuid (2.33-r0) [2021-03-11T23:18:55.042Z] (3/3) Installing wget (1.20.3-r0) [2021-03-11T23:18:55.042Z] Executing busybox-1.29.3-r10.trigger [2021-03-11T23:18:55.322Z] OK: 281 MiB in 78 packages [2021-03-11T23:18:56.301Z] Removing intermediate container de10d8b662aa [2021-03-11T23:18:56.301Z] ---> 2526c8d2c8ec [2021-03-11T23:18:56.301Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-03-11T23:18:57.278Z] ---> e4866f3ee161 [2021-03-11T23:18:57.278Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-03-11T23:18:57.880Z] ---> 2589b4c5e217 [2021-03-11T23:18:57.880Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-03-11T23:18:58.867Z] ---> c42854e652d7 [2021-03-11T23:18:58.867Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-03-11T23:18:59.464Z] ---> 9582802e25da [2021-03-11T23:18:59.464Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-03-11T23:19:00.442Z] ---> ed98a426845c [2021-03-11T23:19:00.442Z] Successfully built ed98a426845c [2021-03-11T23:19:00.442Z] 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-11T23:19:01.293Z] + docker inspect -f . ci-base-image-arm64 [2021-03-11T23:19:01.293Z] . [Pipeline] withDockerContainer [2021-03-11T23:19:01.643Z] prd-ubuntu18.04-docker-arm64-4c-16g-29547 does not seem to be running inside a container [2021-03-11T23:19:01.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-11T23:19:03.364Z] $ docker top 35f1b1c69b7a583c8624fcec64c139cd7b38ce513879c09b27b7533821d40bfb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-11T23:19:04.473Z] + make test [2021-03-11T23:19:04.473Z] echo "make test" [2021-03-11T23:19:04.473Z] make test [Pipeline] } [2021-03-11T23:19:04.497Z] $ docker stop --time=1 35f1b1c69b7a583c8624fcec64c139cd7b38ce513879c09b27b7533821d40bfb [2021-03-11T23:19:06.400Z] $ docker rm -f 35f1b1c69b7a583c8624fcec64c139cd7b38ce513879c09b27b7533821d40bfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-11T23:19:07.455Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-11T23:19:07.790Z] + ls -al . [2021-03-11T23:19:07.790Z] total 192 [2021-03-11T23:19:07.790Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 23:16 . [2021-03-11T23:19:07.790Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 23:16 .. [2021-03-11T23:19:07.790Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 23:16 .git [2021-03-11T23:19:07.790Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 23:16 .github [2021-03-11T23:19:07.790Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 11 23:16 .gitignore [2021-03-11T23:19:07.790Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 11 23:16 Attribution.txt [2021-03-11T23:19:07.790Z] -rw-rw-r-- 1 jenkins jenkins 6927 Mar 11 23:16 CHANGES [2021-03-11T23:19:07.790Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 11 23:16 Doxyfile [2021-03-11T23:19:07.790Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 11 23:16 Jenkinsfile [2021-03-11T23:19:07.790Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 11 23:16 LICENSE [2021-03-11T23:19:07.790Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 11 23:16 Makefile [2021-03-11T23:19:07.790Z] -rw-rw-r-- 1 jenkins jenkins 2694 Mar 11 23:16 README.md [2021-03-11T23:19:07.790Z] -rw-rw-r-- 1 jenkins jenkins 6654 Mar 11 23:16 README.v2.md [2021-03-11T23:19:07.790Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 23:14 VERSION [2021-03-11T23:19:07.790Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 23:16 docs [2021-03-11T23:19:07.790Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 23:16 include [2021-03-11T23:19:07.790Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 23:16 scripts [2021-03-11T23:19:07.790Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 23:16 src [Pipeline] isUnix [Pipeline] sh [2021-03-11T23:19:08.128Z] + 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=06ade1fa7729c29c4541d63534fa6253b829bfc5 --label arch=arm64 --label version=0.0.0 . [2021-03-11T23:19:08.721Z] Sending build context to Docker daemon 2.513MB [2021-03-11T23:19:08.721Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-03-11T23:19:08.721Z] Step 2/15 : FROM ${BASE} [2021-03-11T23:19:08.721Z] ---> ed98a426845c [2021-03-11T23:19:08.721Z] Step 3/15 : LABEL maintainer="IOTech " [2021-03-11T23:19:08.721Z] ---> Running in 1c4f18b9e58a [2021-03-11T23:19:09.318Z] Removing intermediate container 1c4f18b9e58a [2021-03-11T23:19:09.318Z] ---> e9defa4503c4 [2021-03-11T23:19:09.318Z] 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-11T23:19:09.318Z] ---> Running in 2e1d02d66fe7 [2021-03-11T23:19:10.751Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-03-11T23:19:11.722Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-03-11T23:19:11.994Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-03-11T23:19:11.994Z] (2/6) Installing libblkid (2.33-r0) [2021-03-11T23:19:11.994Z] (3/6) Installing libfdisk (2.33-r0) [2021-03-11T23:19:12.265Z] (4/6) Installing libmount (2.33-r0) [2021-03-11T23:19:12.265Z] (5/6) Installing libsmartcols (2.33-r0) [2021-03-11T23:19:12.265Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-03-11T23:19:12.857Z] Executing busybox-1.29.3-r10.trigger [2021-03-11T23:19:12.857Z] OK: 286 MiB in 84 packages [2021-03-11T23:19:14.292Z] Removing intermediate container 2e1d02d66fe7 [2021-03-11T23:19:14.292Z] ---> fd2e3a22377f [2021-03-11T23:19:14.292Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-03-11T23:19:14.888Z] ---> ea3a8b020ece [2021-03-11T23:19:14.888Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-03-11T23:19:15.861Z] ---> 685abfc9df08 [2021-03-11T23:19:15.861Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-03-11T23:19:16.453Z] ---> 3e2125a49d94 [2021-03-11T23:19:16.453Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-03-11T23:19:17.436Z] ---> 7ed0b13e27cd [2021-03-11T23:19:17.436Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-03-11T23:19:18.037Z] ---> faf8c970b901 [2021-03-11T23:19:18.037Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-03-11T23:19:18.630Z] ---> 2eafe3bc0d57 [2021-03-11T23:19:18.630Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-03-11T23:19:18.905Z] ---> Running in b3ceff538156 [2021-03-11T23:19:19.176Z] Removing intermediate container b3ceff538156 [2021-03-11T23:19:19.176Z] ---> 6719c3df4f78 [2021-03-11T23:19:19.176Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-03-11T23:19:19.448Z] ---> Running in 14ecf391114a [2021-03-11T23:19:20.042Z] Removing intermediate container 14ecf391114a [2021-03-11T23:19:20.042Z] ---> 174ee5cf0dd5 [2021-03-11T23:19:20.042Z] Step 13/15 : LABEL arch=arm64 [2021-03-11T23:19:20.042Z] ---> Running in 9874c4141d04 [2021-03-11T23:19:20.313Z] Removing intermediate container 9874c4141d04 [2021-03-11T23:19:20.313Z] ---> 5f7dceb004f9 [2021-03-11T23:19:20.313Z] Step 14/15 : LABEL git_sha=06ade1fa7729c29c4541d63534fa6253b829bfc5 [2021-03-11T23:19:20.586Z] ---> Running in 96bde57d6051 [2021-03-11T23:19:20.859Z] Removing intermediate container 96bde57d6051 [2021-03-11T23:19:20.859Z] ---> 8895f6049736 [2021-03-11T23:19:20.859Z] Step 15/15 : LABEL version=0.0.0 [2021-03-11T23:19:21.131Z] ---> Running in deb25c572a4e [2021-03-11T23:19:21.406Z] Removing intermediate container deb25c572a4e [2021-03-11T23:19:21.406Z] ---> 1162cb3a9086 [2021-03-11T23:19:21.406Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-11T23:19:21.677Z] Successfully built 1162cb3a9086 [2021-03-11T23:19:21.677Z] 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-11T23:19:24.310Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T23:19:24.883Z] ---> package-listing.sh [2021-03-11T23:19:24.883Z] ++ facter osfamily [2021-03-11T23:19:24.883Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-11T23:19:24.883Z] + OS_FAMILY=redhat [2021-03-11T23:19:24.883Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-331 [2021-03-11T23:19:24.883Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-11T23:19:24.883Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-11T23:19:24.883Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-11T23:19:24.883Z] + PACKAGES=/tmp/packages_start.txt [2021-03-11T23:19:24.883Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-331 ']' [2021-03-11T23:19:24.883Z] + PACKAGES=/tmp/packages_end.txt [2021-03-11T23:19:24.883Z] + case "${OS_FAMILY}" in [2021-03-11T23:19:24.883Z] + rpm -qa [2021-03-11T23:19:24.883Z] + sort [2021-03-11T23:19:30.210Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-11T23:19:30.210Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-11T23:19:30.210Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-11T23:19:30.210Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-331 ']' [2021-03-11T23:19:30.210Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-331/archives/ [2021-03-11T23:19:30.210Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-331/archives/ [Pipeline] echo [2021-03-11T23:19:30.234Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-331/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-11T23:19:30.536Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-11T23:19:30.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-11T23:19:30.857Z] [2021-03-11T23:19:30.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-11T23:19:31.219Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-11T23:19:31.219Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-11T23:19:31.219Z] df20fa9351a1: Pulling fs layer [2021-03-11T23:19:31.219Z] 36b3adc4ff6f: Pulling fs layer [2021-03-11T23:19:31.219Z] 8ad3a11d3b57: Pulling fs layer [2021-03-11T23:19:31.219Z] 46f8f816bc3b: Pulling fs layer [2021-03-11T23:19:31.219Z] 93b61091891f: Pulling fs layer [2021-03-11T23:19:31.219Z] 93b9cdb0e59b: Pulling fs layer [2021-03-11T23:19:31.219Z] 5e14af77c1be: Pulling fs layer [2021-03-11T23:19:31.219Z] 01666e4c0597: Pulling fs layer [2021-03-11T23:19:31.219Z] aa168da1d23b: Pulling fs layer [2021-03-11T23:19:31.219Z] 93b9cdb0e59b: Waiting [2021-03-11T23:19:31.219Z] 93b61091891f: Waiting [2021-03-11T23:19:31.219Z] 5e14af77c1be: Waiting [2021-03-11T23:19:31.219Z] aa168da1d23b: Waiting [2021-03-11T23:19:31.219Z] 46f8f816bc3b: Waiting [2021-03-11T23:19:31.219Z] 36b3adc4ff6f: Verifying Checksum [2021-03-11T23:19:31.219Z] 36b3adc4ff6f: Download complete [2021-03-11T23:19:31.219Z] 46f8f816bc3b: Verifying Checksum [2021-03-11T23:19:31.219Z] 46f8f816bc3b: Download complete [2021-03-11T23:19:31.481Z] df20fa9351a1: Verifying Checksum [2021-03-11T23:19:31.481Z] df20fa9351a1: Download complete [2021-03-11T23:19:31.481Z] 93b9cdb0e59b: Verifying Checksum [2021-03-11T23:19:31.481Z] 93b9cdb0e59b: Download complete [2021-03-11T23:19:31.481Z] 93b61091891f: Verifying Checksum [2021-03-11T23:19:31.481Z] 93b61091891f: Download complete [2021-03-11T23:19:31.481Z] 5e14af77c1be: Verifying Checksum [2021-03-11T23:19:31.481Z] 5e14af77c1be: Download complete [2021-03-11T23:19:31.481Z] 01666e4c0597: Verifying Checksum [2021-03-11T23:19:31.481Z] 01666e4c0597: Download complete [2021-03-11T23:19:31.746Z] df20fa9351a1: Pull complete [2021-03-11T23:19:32.011Z] 36b3adc4ff6f: Pull complete [2021-03-11T23:19:32.011Z] 8ad3a11d3b57: Verifying Checksum [2021-03-11T23:19:32.011Z] 8ad3a11d3b57: Download complete [2021-03-11T23:19:32.969Z] 8ad3a11d3b57: Pull complete [2021-03-11T23:19:32.969Z] 46f8f816bc3b: Pull complete [2021-03-11T23:19:33.921Z] aa168da1d23b: Verifying Checksum [2021-03-11T23:19:33.921Z] aa168da1d23b: Download complete [2021-03-11T23:19:34.186Z] 93b61091891f: Pull complete [2021-03-11T23:19:34.448Z] 93b9cdb0e59b: Pull complete [2021-03-11T23:19:34.448Z] 5e14af77c1be: Pull complete [2021-03-11T23:19:34.714Z] 01666e4c0597: Pull complete [2021-03-11T23:19:42.914Z] aa168da1d23b: Pull complete [2021-03-11T23:19:42.914Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-11T23:19:42.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-11T23:19:42.914Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-11T23:19:43.059Z] prd-centos7-docker-4c-2g-29546 does not seem to be running inside a container [2021-03-11T23:19:43.110Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-331/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-331 -v /w/workspace/edgexfoundry_device-sdk-c_PR-331:/w/workspace/edgexfoundry_device-sdk-c_PR-331:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-11T23:19:47.049Z] $ docker top 7efef01c4e15c662ec7a19de01113735cc406d3017b397b15ecf780cae972997 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-11T23:19:47.704Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-11T23:19:48.008Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-11T23:19:48.310Z] + ls /var/log/sa-host [2021-03-11T23:19:48.310Z] + sadf -c /var/log/sa-host/sa11 [2021-03-11T23:19:48.310Z] file_magic: OK [2021-03-11T23:19:48.310Z] HZ: Using current value: 100 [2021-03-11T23:19:48.310Z] file_header: OK [2021-03-11T23:19:48.310Z] 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-11T23:19:48.310Z] Statistics: [2021-03-11T23:19:48.310Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-11T23:19:48.310Z] File successfully converted to sysstat format version 12.2.1 [2021-03-11T23:19:48.310Z] + sadf -c /var/log/sa-host/sa23 [2021-03-11T23:19:48.310Z] file_magic: OK [2021-03-11T23:19:48.310Z] HZ: Using current value: 100 [2021-03-11T23:19:48.310Z] file_header: OK [2021-03-11T23:19:48.310Z] 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-11T23:19:48.310Z] Statistics: [2021-03-11T23:19:48.310Z] Hnuu...uuuununununu... [2021-03-11T23:19:48.310Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-11T23:19:49.081Z] provisioning config files... [2021-03-11T23:19:49.098Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/config395773152260385018tmp [Pipeline] { [Pipeline] echo [2021-03-11T23:19:49.194Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T23:19:49.491Z] ---> create-netrc.sh [Pipeline] } [2021-03-11T23:19:49.502Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-11T23:19:49.635Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T23:19:49.938Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-11T23:19:49.952Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T23:19:50.250Z] ---> sudo-logs.sh [2021-03-11T23:19:50.250Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-11T23:19:50.313Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T23:19:50.615Z] ---> job-cost.sh [2021-03-11T23:19:50.616Z] lf-activate-venv: SKIPPING [2021-03-11T23:19:50.616Z] INFO: No Stack... [2021-03-11T23:19:51.566Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-11T23:19:52.142Z] INFO: Archiving Costs [Pipeline] echo [2021-03-11T23:19:52.159Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T23:19:52.461Z] ---> logs-deploy.sh [2021-03-11T23:19:52.461Z] lf-activate-venv: SKIPPING [2021-03-11T23:19:52.461Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-331/2 [2021-03-11T23:19:52.461Z] INFO: archiving workspace using pattern(s): [2021-03-11T23:19:54.392Z] Archives upload complete. [2021-03-11T23:19:54.392Z] INFO: archiving logs to Nexus