Pull request #336 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 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f+3a634a1c00d95d9219bb951cd4c22fd9c49f79ac (48d717b205020774d84a00033a2a9c4f236b2c43) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-272 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-336 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac into PR head commit 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f Checking out Revision 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f (PR-336) > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 Commit message: "feat: create new devices from json/toml files in configured directory (#47)" First time build. Skipping changelog. > git rev-list --no-walk 5e4acb00c66e0ce35279f23e94e1678bc3e8a705 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-15T12:50:37.760Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-15T12:50:37.849Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-15T12:50:37.873Z] ========================================================= [2021-04-15T12:50:37.873Z] EdgeX Global Pipelines Version Info [2021-04-15T12:50:37.873Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-15T12:50:41.289Z] ------------------- [2021-04-15T12:50:41.289Z] stable info: [2021-04-15T12:50:41.289Z] ------------------- [2021-04-15T12:50:41.289Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-15T12:50:41.289Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-15T12:50:41.289Z] Message: update stable to v1.0.186 [2021-04-15T12:50:42.474Z] ------------------- [2021-04-15T12:50:42.474Z] experimental info: [2021-04-15T12:50:42.474Z] ------------------- [2021-04-15T12:50:42.474Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-15T12:50:42.474Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-15T12:50:42.474Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-15T12:50:42.634Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-04-15T12:50:42.653Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-04-15T12:50:42.672Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-15T12:50:42.691Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-15T12:50:42.709Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-15T12:50:42.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-04-15T12:50:42.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-04-15T12:50:42.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-04-15T12:50:42.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-15T12:50:42.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-04-15T12:50:42.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-15T12:50:42.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-15T12:50:42.873Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-15T12:50:42.893Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-15T12:50:42.911Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-15T12:50:42.930Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-15T12:50:42.949Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-15T12:50:42.968Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-336 [Pipeline] echo [2021-04-15T12:50:42.986Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-336 [Pipeline] echo [2021-04-15T12:50:43.007Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-336 [Pipeline] echo [2021-04-15T12:50:43.051Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f [Pipeline] echo [2021-04-15T12:50:43.070Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d9e0ef [Pipeline] echo [2021-04-15T12:50:43.089Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-15T12:50:43.157Z] provisioning config files... [2021-04-15T12:50:43.218Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/config1686252820395023560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-15T12:50:43.639Z] ---> docker-login.sh [2021-04-15T12:50:43.639Z] nexus3.edgexfoundry.org:10001 [2021-04-15T12:50:44.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T12:50:45.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T12:50:45.021Z] Configure a credential helper to remove this warning. See [2021-04-15T12:50:45.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T12:50:45.021Z] [2021-04-15T12:50:45.021Z] Login Succeeded [2021-04-15T12:50:45.021Z] nexus3.edgexfoundry.org:10002 [2021-04-15T12:50:45.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T12:50:45.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T12:50:45.983Z] Configure a credential helper to remove this warning. See [2021-04-15T12:50:45.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T12:50:45.983Z] [2021-04-15T12:50:45.983Z] Login Succeeded [2021-04-15T12:50:46.422Z] nexus3.edgexfoundry.org:10003 [2021-04-15T12:50:47.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T12:50:47.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T12:50:47.094Z] Configure a credential helper to remove this warning. See [2021-04-15T12:50:47.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T12:50:47.094Z] [2021-04-15T12:50:47.094Z] Login Succeeded [2021-04-15T12:50:47.094Z] nexus3.edgexfoundry.org:10004 [2021-04-15T12:50:47.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T12:50:47.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T12:50:47.437Z] Configure a credential helper to remove this warning. See [2021-04-15T12:50:47.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T12:50:47.437Z] [2021-04-15T12:50:47.437Z] Login Succeeded [2021-04-15T12:50:47.437Z] docker.io [2021-04-15T12:50:48.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T12:50:48.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T12:50:48.350Z] Configure a credential helper to remove this warning. See [2021-04-15T12:50:48.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T12:50:48.350Z] [2021-04-15T12:50:48.350Z] Login Succeeded [2021-04-15T12:50:48.350Z] ---> docker-login.sh ends [Pipeline] } [2021-04-15T12:50:48.396Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-04-15T12:50:49.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T12:50:50.095Z] [2021-04-15T12:50:50.095Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-15T12:50:50.900Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T12:50:51.276Z] latest: Pulling from edgex-devops/git-semver [2021-04-15T12:50:51.276Z] 31603596830f: Pulling fs layer [2021-04-15T12:50:51.276Z] 2a8b12db71e7: Pulling fs layer [2021-04-15T12:50:51.276Z] 6ca5941a6612: Pulling fs layer [2021-04-15T12:50:51.276Z] ecc8261a40a4: Pulling fs layer [2021-04-15T12:50:51.276Z] ecc8261a40a4: Waiting [2021-04-15T12:50:51.276Z] 2a8b12db71e7: Verifying Checksum [2021-04-15T12:50:51.276Z] 2a8b12db71e7: Download complete [2021-04-15T12:50:52.362Z] 31603596830f: Verifying Checksum [2021-04-15T12:50:52.362Z] 31603596830f: Download complete [2021-04-15T12:50:53.031Z] ecc8261a40a4: Verifying Checksum [2021-04-15T12:50:53.031Z] ecc8261a40a4: Download complete [2021-04-15T12:50:53.031Z] 31603596830f: Pull complete [2021-04-15T12:50:53.031Z] 6ca5941a6612: Verifying Checksum [2021-04-15T12:50:53.031Z] 6ca5941a6612: Download complete [2021-04-15T12:50:53.688Z] 2a8b12db71e7: Pull complete [2021-04-15T12:50:56.139Z] 6ca5941a6612: Pull complete [2021-04-15T12:50:56.566Z] ecc8261a40a4: Pull complete [2021-04-15T12:50:56.566Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-15T12:50:56.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T12:50:56.865Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-15T12:50:57.180Z] prd-centos7-docker-4c-2g-272 does not seem to be running inside a container [2021-04-15T12:50:57.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-336 -v /w/workspace/edgexfoundry_device-sdk-c_PR-336:/w/workspace/edgexfoundry_device-sdk-c_PR-336:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-15T12:51:00.376Z] $ docker top 8a7fe56023678578621b3c75c1bd17cc8167777f6f06e3662c0625b36331dc3d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-15T12:51:01.400Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-15T12:51:01.400Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-15T12:51:02.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-15T12:51:02.840Z] $ docker exec 8a7fe56023678578621b3c75c1bd17cc8167777f6f06e3662c0625b36331dc3d ssh-agent [2021-04-15T12:51:03.873Z] SSH_AUTH_SOCK=/tmp/ssh-32CLYt4SvKQi/agent.11 [2021-04-15T12:51:03.873Z] SSH_AGENT_PID=16 [2021-04-15T12:51:03.889Z] Running ssh-add (command line suppressed) [2021-04-15T12:51:04.151Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_5286999070572431850.key (/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_5286999070572431850.key) [2021-04-15T12:51:04.330Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-15T12:51:05.117Z] + git tag --points-at HEAD [Pipeline] } [2021-04-15T12:51:05.621Z] $ docker exec --env ******** --env ******** 8a7fe56023678578621b3c75c1bd17cc8167777f6f06e3662c0625b36331dc3d ssh-agent -k [2021-04-15T12:51:06.375Z] unset SSH_AUTH_SOCK; [2021-04-15T12:51:06.376Z] unset SSH_AGENT_PID; [2021-04-15T12:51:06.376Z] echo Agent pid 16 killed; [2021-04-15T12:51:06.587Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-15T12:51:06.624Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-15T12:51:06.624Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-15T12:51:06.917Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-15T12:51:06.923Z] $ docker exec 8a7fe56023678578621b3c75c1bd17cc8167777f6f06e3662c0625b36331dc3d ssh-agent [2021-04-15T12:51:07.813Z] SSH_AUTH_SOCK=/tmp/ssh-FNs5xTmNbBrK/agent.45 [2021-04-15T12:51:07.813Z] SSH_AGENT_PID=50 [2021-04-15T12:51:07.825Z] Running ssh-add (command line suppressed) [2021-04-15T12:51:08.073Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_6877054202963389973.key (/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_6877054202963389973.key) [2021-04-15T12:51:08.172Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-15T12:51:09.222Z] + git semver init [2021-04-15T12:51:09.222Z] # -> Open(): unable to determine branch for HEAD [2021-04-15T12:51:09.223Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-336/.git [2021-04-15T12:51:09.223Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-336 [2021-04-15T12:51:09.223Z] # $SEMVER_REMOTE_NAME = origin [2021-04-15T12:51:09.223Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-15T12:51:09.223Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-15T12:51:09.223Z] # $SEMVER_BRANCH = PR-336 [2021-04-15T12:51:09.223Z] # $SEMVER_TEMP = /tmp/semver-414073174 [2021-04-15T12:51:09.223Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-04-15T12:51:10.818Z] # '/tmp/semver-414073174' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-336/.semver' [2021-04-15T12:51:10.818Z] # -> Force: false [2021-04-15T12:51:10.818Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-336/.semver [Pipeline] } [2021-04-15T12:51:10.856Z] $ docker exec --env ******** --env ******** 8a7fe56023678578621b3c75c1bd17cc8167777f6f06e3662c0625b36331dc3d ssh-agent -k [2021-04-15T12:51:11.470Z] unset SSH_AUTH_SOCK; [2021-04-15T12:51:11.474Z] unset SSH_AGENT_PID; [2021-04-15T12:51:11.474Z] echo Agent pid 50 killed; [2021-04-15T12:51:11.663Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-15T12:51:12.609Z] + git semver [Pipeline] } [2021-04-15T12:51:12.674Z] $ docker stop --time=1 8a7fe56023678578621b3c75c1bd17cc8167777f6f06e3662c0625b36331dc3d [2021-04-15T12:51:15.194Z] $ docker rm -f 8a7fe56023678578621b3c75c1bd17cc8167777f6f06e3662c0625b36331dc3d [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-15T12:51:16.200Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-15T12:51:18.646Z] Stashed 1 file(s) [Pipeline] echo [2021-04-15T12:51:18.652Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-15T12:51:33.844Z] Still waiting to schedule task [2021-04-15T12:51:33.845Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-15T12:51:33.849Z] Still waiting to schedule task [2021-04-15T12:51:33.849Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-15T12:53:20.976Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-273 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [Pipeline] ws [2021-04-15T12:53:20.992Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2021-04-15T12:53:26.661Z] using credential edgex-jenkins-ssh [2021-04-15T12:53:26.678Z] Cloning the remote Git repository [2021-04-15T12:53:26.715Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-04-15T12:53:26.838Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2021-04-15T12:53:26.910Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-15T12:53:26.911Z] > git --version # timeout=10 [2021-04-15T12:53:26.930Z] > git --version # 'git version 2.17.1' [2021-04-15T12:53:26.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T12:53:27.002Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T12:53:28.096Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-15T12:53:28.126Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T12:53:28.167Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-15T12:53:28.208Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-15T12:53:28.209Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T12:53:28.222Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-15T12:53:28.822Z] Merging remotes/origin/master commit 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac into PR head commit 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f [2021-04-15T12:53:29.079Z] Merge succeeded, producing 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f [2021-04-15T12:53:29.080Z] Checking out Revision 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f (PR-336) [2021-04-15T12:53:28.834Z] > git config core.sparsecheckout # timeout=10 [2021-04-15T12:53:28.857Z] > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 [2021-04-15T12:53:28.982Z] > git remote # timeout=10 [2021-04-15T12:53:29.003Z] > git config --get remote.origin.url # timeout=10 [2021-04-15T12:53:29.020Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T12:53:29.031Z] > git merge 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac # timeout=10 [2021-04-15T12:53:29.054Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-15T12:53:29.078Z] > git config core.sparsecheckout # timeout=10 [2021-04-15T12:53:29.094Z] > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 [2021-04-15T12:53:33.347Z] Commit message: "feat: create new devices from json/toml files in configured directory (#47)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-15T12:53:34.908Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-15T12:53:35.313Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-15T12:53:35.654Z] + + sudo servicetrue docker [2021-04-15T12:53:35.654Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-15T12:53:38.318Z] provisioning config files... [2021-04-15T12:53:38.379Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config6259504982923842808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-15T12:53:38.748Z] ---> docker-login.sh [2021-04-15T12:53:38.748Z] nexus3.edgexfoundry.org:10001 [2021-04-15T12:53:39.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T12:53:40.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T12:53:40.008Z] Configure a credential helper to remove this warning. See [2021-04-15T12:53:40.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T12:53:40.008Z] [2021-04-15T12:53:40.008Z] Login Succeeded [2021-04-15T12:53:40.008Z] nexus3.edgexfoundry.org:10002 [2021-04-15T12:53:40.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T12:53:40.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T12:53:40.606Z] Configure a credential helper to remove this warning. See [2021-04-15T12:53:40.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T12:53:40.606Z] [2021-04-15T12:53:40.606Z] Login Succeeded [2021-04-15T12:53:40.606Z] nexus3.edgexfoundry.org:10003 [2021-04-15T12:53:40.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T12:53:41.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T12:53:41.155Z] Configure a credential helper to remove this warning. See [2021-04-15T12:53:41.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T12:53:41.155Z] [2021-04-15T12:53:41.155Z] Login Succeeded [2021-04-15T12:53:41.155Z] nexus3.edgexfoundry.org:10004 [2021-04-15T12:53:41.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T12:53:41.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T12:53:41.704Z] Configure a credential helper to remove this warning. See [2021-04-15T12:53:41.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T12:53:41.704Z] [2021-04-15T12:53:41.704Z] Login Succeeded [2021-04-15T12:53:41.704Z] docker.io [2021-04-15T12:53:41.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T12:53:42.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T12:53:42.575Z] Configure a credential helper to remove this warning. See [2021-04-15T12:53:42.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T12:53:42.575Z] [2021-04-15T12:53:42.575Z] Login Succeeded [2021-04-15T12:53:42.575Z] ---> docker-login.sh ends [Pipeline] } [2021-04-15T12:53:42.591Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-15T12:53:42.887Z] ========================================================= [2021-04-15T12:53:42.887Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-04-15T12:53:42.887Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-15T12:53:43.229Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2021-04-15T12:53:43.837Z] Sending build context to Docker daemon 2.522MB [2021-04-15T12:53:43.837Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-04-15T12:53:43.837Z] Step 2/21 : FROM ${BASE} as builder [2021-04-15T12:53:43.837Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-04-15T12:53:43.837Z] 0362ad1dd800: Pulling fs layer [2021-04-15T12:53:43.837Z] f2cdb1532d8b: Pulling fs layer [2021-04-15T12:53:43.837Z] 37ed683be191: Pulling fs layer [2021-04-15T12:53:43.837Z] f2cdb1532d8b: Verifying Checksum [2021-04-15T12:53:43.837Z] f2cdb1532d8b: Download complete [2021-04-15T12:53:44.113Z] 0362ad1dd800: Verifying Checksum [2021-04-15T12:53:44.113Z] 0362ad1dd800: Download complete [2021-04-15T12:53:44.717Z] 0362ad1dd800: Pull complete [2021-04-15T12:53:44.997Z] f2cdb1532d8b: Pull complete [2021-04-15T12:53:46.435Z] 37ed683be191: Verifying Checksum [2021-04-15T12:53:46.435Z] 37ed683be191: Download complete [2021-04-15T12:53:56.608Z] 37ed683be191: Pull complete [2021-04-15T12:53:56.608Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-04-15T12:53:56.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-04-15T12:53:56.608Z] ---> b23d30803547 [2021-04-15T12:53:56.608Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2021-04-15T12:53:57.202Z] ---> Running in a9d80b8cf86b [2021-04-15T12:53:58.644Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-15T12:53:59.236Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-15T12:54:00.206Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-15T12:54:00.480Z] (2/8) Installing libuuid (2.33-r0) [2021-04-15T12:54:00.480Z] (3/8) Installing libblkid (2.33-r0) [2021-04-15T12:54:00.480Z] (4/8) Installing libfdisk (2.33-r0) [2021-04-15T12:54:00.753Z] (5/8) Installing libmount (2.33-r0) [2021-04-15T12:54:00.753Z] (6/8) Installing libsmartcols (2.33-r0) [2021-04-15T12:54:00.753Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-04-15T12:54:01.342Z] (8/8) Installing wget (1.20.3-r0) [2021-04-15T12:54:01.342Z] Executing busybox-1.29.3-r10.trigger [2021-04-15T12:54:01.342Z] OK: 285 MiB in 83 packages [2021-04-15T12:54:02.779Z] Removing intermediate container a9d80b8cf86b [2021-04-15T12:54:02.779Z] ---> 0ee717944259 [2021-04-15T12:54:02.779Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-04-15T12:54:03.059Z] ---> Running in 145d038cfbda [2021-04-15T12:54:03.330Z] Removing intermediate container 145d038cfbda [2021-04-15T12:54:03.330Z] ---> d716f99d7ffa [2021-04-15T12:54:03.330Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-04-15T12:54:03.603Z] ---> Running in 170338b7a983 [2021-04-15T12:54:04.584Z] --2021-04-15 12:54:04-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-04-15T12:54:04.584Z] Resolving github.com... 140.82.113.4 [2021-04-15T12:54:04.584Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-04-15T12:54:04.858Z] HTTP request sent, awaiting response... 302 Found [2021-04-15T12:54:04.858Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-04-15T12:54:04.859Z] --2021-04-15 12:54:04-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-04-15T12:54:04.859Z] Resolving codeload.github.com... 140.82.112.9 [2021-04-15T12:54:04.859Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-04-15T12:54:04.859Z] HTTP request sent, awaiting response... 200 OK [2021-04-15T12:54:04.859Z] Length: unspecified [application/x-gzip] [2021-04-15T12:54:04.859Z] Saving to: 'STDOUT' [2021-04-15T12:54:04.859Z]  [2021-04-15T12:54:04.859Z] 0K .......... .......... .......... .......... .......... 1.63M [2021-04-15T12:54:04.859Z] 50K .......... .......... .......... .......... .......... 2.88M [2021-04-15T12:54:04.859Z] 100K .......... .......... .......... .......... .......... 11.9M [2021-04-15T12:54:05.136Z] 150K .......... .......... .......... .......... .......... 2.65M [2021-04-15T12:54:05.136Z] 200K .......... .......... .......... .......... .......... 7.54M [2021-04-15T12:54:05.136Z] 250K .......... .......... .......... .......... .......... 3.16M [2021-04-15T12:54:05.136Z] 300K .......... .......... .......... .......... .......... 3.90M [2021-04-15T12:54:05.136Z] 350K .......... .......... .......... .......... .......... 4.42M [2021-04-15T12:54:05.136Z] 400K .......... .......... .......... .......... .......... 3.70M [2021-04-15T12:54:05.136Z] 450K .......... .......... .......... .......... .......... 3.66M [2021-04-15T12:54:05.136Z] 500K .......... .......... .......... .......... .......... 6.36M [2021-04-15T12:54:05.136Z] 550K .......... .......... .......... .......... .......... 4.74M [2021-04-15T12:54:05.136Z] 600K .......... .......... .......... .......... .......... 796K [2021-04-15T12:54:05.136Z] 650K .......... .......... .......... .......... .......... 1.80M [2021-04-15T12:54:05.136Z] 700K ..                             11.6M=0.2s [2021-04-15T12:54:05.136Z] [2021-04-15T12:54:05.136Z] 2021-04-15 12:54:05 (2.75 MB/s) - written to stdout [719348] [2021-04-15T12:54:05.136Z] [2021-04-15T12:54:05.410Z] -- The C compiler identification is GNU 8.3.0 [2021-04-15T12:54:05.683Z] -- The CXX compiler identification is GNU 8.3.0 [2021-04-15T12:54:05.683Z] -- Check for working C compiler: /usr/bin/cc [2021-04-15T12:54:05.957Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-15T12:54:05.957Z] -- Detecting C compiler ABI info [2021-04-15T12:54:06.230Z] -- Detecting C compiler ABI info - done [2021-04-15T12:54:06.230Z] -- Detecting C compile features [2021-04-15T12:54:07.206Z] -- Detecting C compile features - done [2021-04-15T12:54:07.206Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-04-15T12:54:07.206Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-04-15T12:54:07.206Z] -- Detecting CXX compiler ABI info [2021-04-15T12:54:07.478Z] -- Detecting CXX compiler ABI info - done [2021-04-15T12:54:07.478Z] -- Detecting CXX compile features [2021-04-15T12:54:09.449Z] -- Detecting CXX compile features - done [2021-04-15T12:54:09.449Z] -- Looking for include file endian.h [2021-04-15T12:54:09.449Z] -- Looking for include file endian.h - found [2021-04-15T12:54:09.449Z] -- Check if the system is big endian [2021-04-15T12:54:09.449Z] -- Searching 16 bit integer [2021-04-15T12:54:09.449Z] -- Looking for sys/types.h [2021-04-15T12:54:09.449Z] -- Looking for sys/types.h - found [2021-04-15T12:54:09.449Z] -- Looking for stdint.h [2021-04-15T12:54:09.721Z] -- Looking for stdint.h - found [2021-04-15T12:54:09.721Z] -- Looking for stddef.h [2021-04-15T12:54:09.993Z] -- Looking for stddef.h - found [2021-04-15T12:54:09.993Z] -- Check size of unsigned short [2021-04-15T12:54:10.264Z] -- Check size of unsigned short - done [2021-04-15T12:54:10.265Z] -- Using unsigned short [2021-04-15T12:54:10.537Z] -- Check if the system is big endian - little endian [2021-04-15T12:54:10.537Z] -- Check size of size_t [2021-04-15T12:54:10.816Z] -- Check size of size_t - done [2021-04-15T12:54:10.816Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-04-15T12:54:10.816Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-04-15T12:54:10.816Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-04-15T12:54:10.816Z] CMake did not find one. [2021-04-15T12:54:10.816Z] [2021-04-15T12:54:10.816Z] Could not find a package configuration file provided by "cJSON" with any of [2021-04-15T12:54:10.816Z] the following names: [2021-04-15T12:54:10.816Z] [2021-04-15T12:54:10.816Z] cJSONConfig.cmake [2021-04-15T12:54:10.816Z] cjson-config.cmake [2021-04-15T12:54:10.816Z] [2021-04-15T12:54:10.816Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-04-15T12:54:10.816Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-04-15T12:54:10.816Z] provides a separate development package or SDK, be sure it has been [2021-04-15T12:54:10.816Z] installed. [2021-04-15T12:54:10.816Z] [2021-04-15T12:54:10.816Z] [2021-04-15T12:54:10.816Z] -- Configuring done [2021-04-15T12:54:11.086Z] -- Generating done [2021-04-15T12:54:11.086Z] -- Build files have been written to: /tmp/cbor [2021-04-15T12:54:11.086Z] Scanning dependencies of target cbor_shared [2021-04-15T12:54:11.359Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-04-15T12:54:11.954Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-04-15T12:54:12.549Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-04-15T12:54:12.819Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-04-15T12:54:13.411Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-04-15T12:54:13.688Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-04-15T12:54:13.959Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-04-15T12:54:13.959Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-04-15T12:54:14.230Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-04-15T12:54:14.504Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-04-15T12:54:15.096Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-04-15T12:54:15.367Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-04-15T12:54:15.642Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-04-15T12:54:16.238Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-04-15T12:54:16.238Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-04-15T12:54:16.509Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-04-15T12:54:16.780Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-04-15T12:54:17.053Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-04-15T12:54:17.324Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-04-15T12:54:17.597Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-04-15T12:54:17.870Z] [ 40%] Linking C shared library libcbor.so [2021-04-15T12:54:17.870Z] [ 40%] Built target cbor_shared [2021-04-15T12:54:17.870Z] Scanning dependencies of target cbor [2021-04-15T12:54:17.870Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-04-15T12:54:18.846Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-04-15T12:54:19.441Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-04-15T12:54:19.441Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-04-15T12:54:20.884Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-04-15T12:54:20.884Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-04-15T12:54:21.155Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-04-15T12:54:21.155Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-04-15T12:54:21.426Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-04-15T12:54:21.698Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-04-15T12:54:22.292Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-04-15T12:54:22.565Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-04-15T12:54:23.160Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-04-15T12:54:23.432Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-04-15T12:54:23.705Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-04-15T12:54:23.979Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-04-15T12:54:24.252Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-04-15T12:54:24.528Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-04-15T12:54:24.801Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-04-15T12:54:25.074Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-04-15T12:54:25.074Z] [ 80%] Linking C static library libcbor.a [2021-04-15T12:54:25.347Z] [ 80%] Built target cbor [2021-04-15T12:54:25.347Z] Scanning dependencies of target create_items [2021-04-15T12:54:25.347Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-04-15T12:54:25.347Z] [ 84%] Linking C executable create_items [2021-04-15T12:54:25.625Z] [ 84%] Built target create_items [2021-04-15T12:54:25.625Z] Scanning dependencies of target readfile [2021-04-15T12:54:25.625Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-04-15T12:54:25.897Z] [ 88%] Linking C executable readfile [2021-04-15T12:54:25.897Z] [ 88%] Built target readfile [2021-04-15T12:54:25.897Z] Scanning dependencies of target streaming_parser [2021-04-15T12:54:25.897Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-04-15T12:54:26.169Z] [ 92%] Linking C executable streaming_parser [2021-04-15T12:54:26.169Z] [ 92%] Built target streaming_parser [2021-04-15T12:54:26.169Z] Scanning dependencies of target sort [2021-04-15T12:54:26.169Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-04-15T12:54:26.440Z] [ 96%] Linking C executable sort [2021-04-15T12:54:26.440Z] [ 96%] Built target sort [2021-04-15T12:54:26.711Z] Scanning dependencies of target hello [2021-04-15T12:54:26.711Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-04-15T12:54:26.711Z] [100%] Linking C executable hello [2021-04-15T12:54:26.711Z] [100%] Built target hello [2021-04-15T12:54:26.983Z] Install the project... [2021-04-15T12:54:26.983Z] -- Install configuration: "Release" [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/lib64/libcbor.a [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/lib64/libcbor.so [2021-04-15T12:54:26.983Z] -- Up-to-date: /usr/local/include/cbor [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/ints.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/data.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/common.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/strings.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/tags.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/internal [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor/maps.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/include/cbor.h [2021-04-15T12:54:26.983Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-04-15T12:54:29.608Z] Removing intermediate container 170338b7a983 [2021-04-15T12:54:29.608Z] ---> 2a1941d3847d [2021-04-15T12:54:29.608Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-04-15T12:54:29.608Z] ---> Running in 8592b853565d [2021-04-15T12:54:31.579Z] Removing intermediate container 8592b853565d [2021-04-15T12:54:31.579Z] ---> 9d450b0aeef8 [2021-04-15T12:54:31.579Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-04-15T12:54:32.174Z] ---> ad6c199046da [2021-04-15T12:54:32.174Z] Step 8/21 : COPY src /tmp/sdk/src [2021-04-15T12:54:32.910Z] Running on prd-centos7-docker-4c-2g-274 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [Pipeline] ws [2021-04-15T12:54:32.925Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2021-04-15T12:54:33.155Z] ---> 1aa6b2d5070e [2021-04-15T12:54:33.155Z] Step 9/21 : COPY include /tmp/sdk/include [2021-04-15T12:54:34.132Z] ---> e18d43da22ec [2021-04-15T12:54:34.132Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-04-15T12:54:34.727Z] ---> 658788e90e18 [2021-04-15T12:54:34.727Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-04-15T12:54:35.322Z] ---> 8dd500079844 [2021-04-15T12:54:35.322Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-04-15T12:54:36.299Z] ---> 8de395993898 [2021-04-15T12:54:36.299Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-04-15T12:54:36.299Z] ---> Running in 8832a05565db [2021-04-15T12:54:37.729Z] + CPPCHECK=false [2021-04-15T12:54:37.730Z] + DOCGEN=false [2021-04-15T12:54:37.730Z] + TOMLVER=SDK-0.2 [2021-04-15T12:54:37.730Z] + CUTILVER=1.1.4 [2021-04-15T12:54:37.730Z] + '[' 0 -gt 0 ] [2021-04-15T12:54:37.730Z] + readlink -f ./scripts/build.sh [2021-04-15T12:54:37.730Z] + dirname /tmp/sdk/scripts/build.sh [2021-04-15T12:54:37.730Z] + dirname /tmp/sdk/scripts [2021-04-15T12:54:37.730Z] + ROOT=/tmp/sdk [2021-04-15T12:54:37.730Z] + cd /tmp/sdk [2021-04-15T12:54:37.730Z] + '[' '!' -d deps ] [2021-04-15T12:54:37.730Z] + mkdir deps [2021-04-15T12:54:37.730Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-15T12:54:37.730Z] + tar -C deps -z -x -f - [2021-04-15T12:54:37.730Z] --2021-04-15 12:54:37-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-15T12:54:37.730Z] Resolving github.com... 140.82.113.4 [2021-04-15T12:54:37.730Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-04-15T12:54:37.730Z] HTTP request sent, awaiting response... 302 Found [2021-04-15T12:54:37.730Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-04-15T12:54:37.730Z] --2021-04-15 12:54:37-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-04-15T12:54:37.730Z] Resolving codeload.github.com... 140.82.112.9 [2021-04-15T12:54:37.730Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-04-15T12:54:37.730Z] HTTP request sent, awaiting response... 200 OK [2021-04-15T12:54:37.730Z] Length: unspecified [application/x-gzip] [2021-04-15T12:54:37.730Z] Saving to: 'STDOUT' [2021-04-15T12:54:37.730Z]  [2021-04-15T12:54:37.730Z] 0K .......... ...... 1019K=0.02s [2021-04-15T12:54:37.730Z] [2021-04-15T12:54:37.730Z] 2021-04-15 12:54:37 (1019 KB/s) - written to stdout [16451] [2021-04-15T12:54:37.730Z] [2021-04-15T12:54:38.001Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-04-15T12:54:38.001Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-15T12:54:38.001Z] + tar -C deps -z -x -f - [2021-04-15T12:54:38.001Z] --2021-04-15 12:54:37-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-15T12:54:38.001Z] Resolving github.com... 140.82.113.4 [2021-04-15T12:54:38.001Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-04-15T12:54:38.001Z] HTTP request sent, awaiting response... 302 Found [2021-04-15T12:54:38.001Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-04-15T12:54:38.001Z] --2021-04-15 12:54:37-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-04-15T12:54:38.001Z] Resolving codeload.github.com... 140.82.112.9 [2021-04-15T12:54:38.001Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-04-15T12:54:38.272Z] HTTP request sent, awaiting response... 200 OK [2021-04-15T12:54:38.272Z] Length: unspecified [application/x-gzip] [2021-04-15T12:54:38.272Z] Saving to: 'STDOUT' [2021-04-15T12:54:38.272Z]  [2021-04-15T12:54:38.272Z] 0K .......... .......... .......... .......... .......... 1.49M [2021-04-15T12:54:38.272Z] 50K .......... .......... .......... .......... .......... 2.95M [2021-04-15T12:54:38.272Z] 100K .......... .......... .......... .......... .......... 3.41M [2021-04-15T12:54:38.272Z] 150K .......... .......... .......  2.38M=0.07s [2021-04-15T12:54:38.272Z] [2021-04-15T12:54:38.272Z] 2021-04-15 12:54:38 (2.31 MB/s) - written to stdout [181796] [2021-04-15T12:54:38.272Z] [2021-04-15T12:54:38.272Z] + mkdir -p src/c/iot [2021-04-15T12:54:38.272Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-04-15T12:54:38.272Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-04-15T12:54:38.272Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-04-15T12:54:38.272Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-04-15T12:54:38.272Z] + mkdir -p include/iot [2021-04-15T12:54:38.272Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-04-15T12:54:38.272Z] + mkdir -p include/iot/os [2021-04-15T12:54:38.272Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-04-15T12:54:38.272Z] + mkdir -p /tmp/sdk/build/release [2021-04-15T12:54:38.272Z] + cd /tmp/sdk/build/release [2021-04-15T12:54:38.272Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-04-15T12:54:38.864Z] -- The C compiler identification is GNU 8.3.0 [2021-04-15T12:54:38.864Z] -- Check for working C compiler: /usr/bin/cc [2021-04-15T12:54:38.864Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-15T12:54:38.864Z] -- Detecting C compiler ABI info [2021-04-15T12:54:39.138Z] -- Detecting C compiler ABI info - done [2021-04-15T12:54:39.138Z] -- Detecting C compile features [2021-04-15T12:54:40.111Z] -- Detecting C compile features - done [2021-04-15T12:54:40.111Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-15T12:54:40.111Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-15T12:54:40.111Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-15T12:54:40.111Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-15T12:54:40.111Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-15T12:54:40.111Z] -- C SDK 0.0.0 for Linux [2021-04-15T12:54:40.111Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-15T12:54:40.382Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-15T12:54:40.383Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-15T12:54:40.383Z] -- Configuring done [2021-04-15T12:54:40.654Z] -- Generating done [2021-04-15T12:54:40.654Z] -- Build files have been written to: /tmp/sdk/build/release [2021-04-15T12:54:40.654Z] + + maketee all release.log package [2021-04-15T12:54:40.654Z] [2021-04-15T12:54:40.654Z] Scanning dependencies of target csdk [2021-04-15T12:54:40.926Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-15T12:54:41.520Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-15T12:54:41.827Z] using credential edgex-jenkins-ssh [2021-04-15T12:54:41.857Z] Cloning the remote Git repository [2021-04-15T12:54:42.112Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-15T12:54:41.953Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-04-15T12:54:42.064Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2021-04-15T12:54:42.249Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-15T12:54:42.249Z] > git --version # timeout=10 [2021-04-15T12:54:42.330Z] > git --version # 'git version 2.24.3' [2021-04-15T12:54:42.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T12:54:42.435Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T12:54:43.538Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-15T12:54:44.131Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-15T12:54:43.459Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-15T12:54:43.487Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T12:54:43.509Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-15T12:54:43.544Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-15T12:54:43.544Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T12:54:43.556Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-15T12:54:44.243Z] Merging remotes/origin/master commit 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac into PR head commit 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f [2021-04-15T12:54:44.403Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-15T12:54:44.948Z] Merge succeeded, producing 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f [2021-04-15T12:54:44.949Z] Checking out Revision 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f (PR-336) [2021-04-15T12:54:45.372Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-15T12:54:44.287Z] > git config core.sparsecheckout # timeout=10 [2021-04-15T12:54:44.330Z] > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 [2021-04-15T12:54:44.608Z] > git remote # timeout=10 [2021-04-15T12:54:44.689Z] > git config --get remote.origin.url # timeout=10 [2021-04-15T12:54:44.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T12:54:44.780Z] > git merge 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac # timeout=10 [2021-04-15T12:54:44.862Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-15T12:54:44.954Z] > git config core.sparsecheckout # timeout=10 [2021-04-15T12:54:45.022Z] > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 [2021-04-15T12:54:46.799Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-15T12:54:47.390Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-15T12:54:47.983Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-15T12:54:48.578Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-15T12:54:48.851Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-15T12:54:48.851Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-15T12:54:49.125Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-15T12:54:50.347Z] Commit message: "feat: create new devices from json/toml files in configured directory (#47)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-15T12:54:51.735Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-04-15T12:54:52.010Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-15T12:54:52.603Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-15T12:54:52.859Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2021-04-15T12:54:52.874Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [Pipeline] sh [2021-04-15T12:54:53.146Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-15T12:54:53.739Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-15T12:54:53.744Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-15T12:54:54.232Z] + true [2021-04-15T12:54:54.232Z] + sudo service docker restart [2021-04-15T12:54:54.232Z] Redirecting to /bin/systemctl restart docker.service [2021-04-15T12:54:56.350Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-15T12:54:56.351Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-15T12:54:56.623Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-15T12:54:57.002Z] provisioning config files... [2021-04-15T12:54:57.046Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config8715640156437756063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-15T12:54:57.215Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-15T12:54:57.454Z] ---> docker-login.sh [2021-04-15T12:54:57.455Z] nexus3.edgexfoundry.org:10001 [2021-04-15T12:54:57.806Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-15T12:54:57.806Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-15T12:54:58.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T12:54:58.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T12:54:58.452Z] Configure a credential helper to remove this warning. See [2021-04-15T12:54:58.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T12:54:58.452Z] [2021-04-15T12:54:58.452Z] Login Succeeded [2021-04-15T12:54:58.452Z] nexus3.edgexfoundry.org:10002 [2021-04-15T12:54:58.775Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-15T12:54:59.046Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-15T12:54:59.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T12:54:59.638Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-15T12:54:59.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T12:54:59.644Z] Configure a credential helper to remove this warning. See [2021-04-15T12:54:59.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T12:54:59.644Z] [2021-04-15T12:54:59.644Z] Login Succeeded [2021-04-15T12:54:59.644Z] nexus3.edgexfoundry.org:10003 [2021-04-15T12:54:59.914Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-15T12:54:59.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T12:55:00.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T12:55:00.248Z] Configure a credential helper to remove this warning. See [2021-04-15T12:55:00.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T12:55:00.248Z] [2021-04-15T12:55:00.248Z] Login Succeeded [2021-04-15T12:55:00.248Z] nexus3.edgexfoundry.org:10004 [2021-04-15T12:55:00.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T12:55:01.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T12:55:01.208Z] Configure a credential helper to remove this warning. See [2021-04-15T12:55:01.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T12:55:01.209Z] [2021-04-15T12:55:01.209Z] Login Succeeded [2021-04-15T12:55:01.209Z] docker.io [2021-04-15T12:55:01.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T12:55:01.882Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-15T12:55:02.156Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-15T12:55:02.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T12:55:02.209Z] Configure a credential helper to remove this warning. See [2021-04-15T12:55:02.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T12:55:02.209Z] [2021-04-15T12:55:02.209Z] Login Succeeded [2021-04-15T12:55:02.209Z] ---> docker-login.sh ends [Pipeline] } [2021-04-15T12:55:02.376Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-04-15T12:55:02.755Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [Pipeline] echo [2021-04-15T12:55:02.957Z] ========================================================= [2021-04-15T12:55:02.957Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-04-15T12:55:02.957Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-15T12:55:03.031Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-15T12:55:03.402Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2021-04-15T12:55:04.069Z] Sending build context to Docker daemon 2.523MB [2021-04-15T12:55:04.069Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-04-15T12:55:04.069Z] Step 2/21 : FROM ${BASE} as builder [2021-04-15T12:55:04.358Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-04-15T12:55:04.358Z] e7c96db7181b: Pulling fs layer [2021-04-15T12:55:04.358Z] 4c13bbce0fe7: Pulling fs layer [2021-04-15T12:55:04.358Z] 6059c847ac2f: Pulling fs layer [2021-04-15T12:55:04.358Z] 4c13bbce0fe7: Verifying Checksum [2021-04-15T12:55:04.358Z] 4c13bbce0fe7: Download complete [2021-04-15T12:55:04.739Z] e7c96db7181b: Verifying Checksum [2021-04-15T12:55:04.739Z] e7c96db7181b: Download complete [2021-04-15T12:55:06.256Z] e7c96db7181b: Pull complete [2021-04-15T12:55:06.560Z] 4c13bbce0fe7: Pull complete [2021-04-15T12:55:07.321Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-15T12:55:07.596Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-15T12:55:07.869Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-15T12:55:08.465Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-15T12:55:09.059Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-15T12:55:10.836Z] 6059c847ac2f: Download complete [2021-04-15T12:55:11.028Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-15T12:55:12.455Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-15T12:55:15.829Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-15T12:55:16.105Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-15T12:55:16.377Z] [ 73%] Linking C shared library libcsdk.so [2021-04-15T12:55:16.649Z] [ 73%] Built target csdk [2021-04-15T12:55:16.649Z] Scanning dependencies of target template [2021-04-15T12:55:16.649Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-15T12:55:17.242Z] [ 76%] Linking C executable template [2021-04-15T12:55:17.515Z] [ 76%] Built target template [2021-04-15T12:55:17.515Z] Scanning dependencies of target device-counter [2021-04-15T12:55:17.515Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-15T12:55:18.108Z] [ 80%] Linking C executable device-counter [2021-04-15T12:55:18.381Z] [ 80%] Built target device-counter [2021-04-15T12:55:18.381Z] Scanning dependencies of target device-random [2021-04-15T12:55:18.381Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-15T12:55:18.655Z] [ 83%] Linking C executable device-random [2021-04-15T12:55:18.928Z] [ 83%] Built target device-random [2021-04-15T12:55:18.928Z] Scanning dependencies of target device-gyro [2021-04-15T12:55:18.928Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-15T12:55:19.539Z] [ 86%] Linking C executable device-gyro [2021-04-15T12:55:19.539Z] [ 86%] Built target device-gyro [2021-04-15T12:55:19.539Z] Scanning dependencies of target device-bitfields [2021-04-15T12:55:19.539Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-15T12:55:20.133Z] [ 90%] Linking C executable device-bitfields [2021-04-15T12:55:20.133Z] [ 90%] Built target device-bitfields [2021-04-15T12:55:20.133Z] Scanning dependencies of target template-discovery [2021-04-15T12:55:20.406Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-15T12:55:21.001Z] [ 93%] Linking C executable template-discovery [2021-04-15T12:55:21.280Z] [ 93%] Built target template-discovery [2021-04-15T12:55:21.280Z] Scanning dependencies of target device-file [2021-04-15T12:55:21.280Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-15T12:55:21.874Z] [ 96%] Linking C executable device-file [2021-04-15T12:55:21.874Z] [ 96%] Built target device-file [2021-04-15T12:55:21.874Z] Scanning dependencies of target device-terminal [2021-04-15T12:55:21.874Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-15T12:55:22.471Z] [100%] Linking C executable device-terminal [2021-04-15T12:55:22.743Z] [100%] Built target device-terminal [2021-04-15T12:55:22.743Z] Run CPack packaging tool... [2021-04-15T12:55:22.743Z] CPack: Create package using TGZ [2021-04-15T12:55:22.743Z] CPack: Install projects [2021-04-15T12:55:22.743Z] CPack: - Run preinstall target for: Csdk [2021-04-15T12:55:23.353Z] CPack: - Install project: Csdk [2021-04-15T12:55:23.354Z] CPack: Create package [2021-04-15T12:55:23.354Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-04-15T12:55:23.354Z] + '[' false '=' true ] [2021-04-15T12:55:23.354Z] + '[' false '=' true ] [2021-04-15T12:55:23.354Z] + mkdir -p /tmp/sdk/build/debug [2021-04-15T12:55:23.354Z] + cd /tmp/sdk/build/debug [2021-04-15T12:55:23.354Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-04-15T12:55:23.949Z] -- The C compiler identification is GNU 8.3.0 [2021-04-15T12:55:23.949Z] -- Check for working C compiler: /usr/bin/cc [2021-04-15T12:55:23.949Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-15T12:55:23.949Z] -- Detecting C compiler ABI info [2021-04-15T12:55:24.222Z] -- Detecting C compiler ABI info - done [2021-04-15T12:55:24.222Z] -- Detecting C compile features [2021-04-15T12:55:25.202Z] -- Detecting C compile features - done [2021-04-15T12:55:25.202Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-15T12:55:25.202Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-15T12:55:25.202Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-15T12:55:25.202Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-15T12:55:25.202Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-15T12:55:25.202Z] -- C SDK 0.0.0 for Linux [2021-04-15T12:55:25.202Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-15T12:55:25.202Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-15T12:55:25.476Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-15T12:55:25.476Z] -- Configuring done [2021-04-15T12:55:25.750Z] -- Generating done [2021-04-15T12:55:25.750Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-04-15T12:55:25.750Z] + + maketee [2021-04-15T12:55:25.750Z] debug.log [2021-04-15T12:55:25.750Z] Scanning dependencies of target csdk [2021-04-15T12:55:26.024Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-15T12:55:26.273Z] 6059c847ac2f: Pull complete [2021-04-15T12:55:26.273Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-04-15T12:55:26.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-04-15T12:55:26.273Z] ---> 5eabd8fd8ba2 [2021-04-15T12:55:26.273Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2021-04-15T12:55:26.297Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-15T12:55:26.570Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-15T12:55:26.975Z] ---> Running in 2ac2e3c8e3e7 [2021-04-15T12:55:27.169Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-15T12:55:27.445Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-15T12:55:27.445Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-15T12:55:28.042Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-15T12:55:28.637Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-15T12:55:28.637Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-15T12:55:28.744Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-15T12:55:28.913Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-15T12:55:29.190Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-15T12:55:29.462Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-15T12:55:29.736Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-15T12:55:29.784Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-15T12:55:30.011Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-15T12:55:30.067Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-15T12:55:30.067Z] (2/8) Installing libuuid (2.33-r0) [2021-04-15T12:55:30.394Z] (3/8) Installing libblkid (2.33-r0) [2021-04-15T12:55:30.394Z] (4/8) Installing libfdisk (2.33-r0) [2021-04-15T12:55:30.605Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-04-15T12:55:30.684Z] (5/8) Installing libmount (2.33-r0) [2021-04-15T12:55:30.684Z] (6/8) Installing libsmartcols (2.33-r0) [2021-04-15T12:55:30.879Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-15T12:55:30.879Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-15T12:55:31.051Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-04-15T12:55:31.153Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-15T12:55:31.391Z] (8/8) Installing wget (1.20.3-r0) [2021-04-15T12:55:31.434Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-15T12:55:31.705Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-15T12:55:31.732Z] Executing busybox-1.29.3-r10.trigger [2021-04-15T12:55:31.732Z] OK: 272 MiB in 83 packages [2021-04-15T12:55:32.682Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-15T12:55:32.682Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-15T12:55:32.682Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-15T12:55:32.953Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-15T12:55:33.225Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-15T12:55:33.498Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-15T12:55:33.758Z] Removing intermediate container 2ac2e3c8e3e7 [2021-04-15T12:55:33.758Z] ---> 3e4f463b5500 [2021-04-15T12:55:33.758Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-04-15T12:55:33.758Z] ---> Running in 21c119fdc6e7 [2021-04-15T12:55:33.774Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-15T12:55:33.774Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-15T12:55:34.047Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-15T12:55:34.196Z] Removing intermediate container 21c119fdc6e7 [2021-04-15T12:55:34.196Z] ---> 51476272eddc [2021-04-15T12:55:34.196Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-04-15T12:55:34.196Z] ---> Running in c2a5b4c24e1c [2021-04-15T12:55:34.321Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-15T12:55:34.594Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-15T12:55:34.832Z] --2021-04-15 12:55:34-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-04-15T12:55:34.832Z] Resolving github.com... 140.82.114.3 [2021-04-15T12:55:34.832Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-04-15T12:55:34.867Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-15T12:55:35.139Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-15T12:55:35.222Z] HTTP request sent, awaiting response... 302 Found [2021-04-15T12:55:35.222Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-04-15T12:55:35.222Z] --2021-04-15 12:55:34-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-04-15T12:55:35.222Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-15T12:55:35.223Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-15T12:55:35.223Z] HTTP request sent, awaiting response... 200 OK [2021-04-15T12:55:35.223Z] Length: unspecified [application/x-gzip] [2021-04-15T12:55:35.223Z] Saving to: 'STDOUT' [2021-04-15T12:55:35.223Z]  [2021-04-15T12:55:35.223Z] 0K .......... .......... .......... .......... .......... 1023K [2021-04-15T12:55:35.414Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-15T12:55:35.691Z] 50K .......... .......... .......... .......... .......... 2.73M [2021-04-15T12:55:35.691Z] 100K .......... .......... .......... .......... .......... 22.5M [2021-04-15T12:55:35.691Z] 150K .......... .......... .......... .......... .......... 25.5M [2021-04-15T12:55:35.691Z] 200K .......... .......... .......... .......... .......... 280K [2021-04-15T12:55:35.691Z] 250K .......... .......... .......... .......... .......... 421K [2021-04-15T12:55:35.691Z] 300K .......... .......... .......... .......... .......... 3.48M [2021-04-15T12:55:35.691Z] 350K .......... .......... .......... .......... .......... 3.07M [2021-04-15T12:55:35.691Z] 400K .......... .......... .......... .......... .......... 1.54M [2021-04-15T12:55:35.691Z] 450K .......... .......... .......... .......... .......... 2.42M [2021-04-15T12:55:35.691Z] 500K .......... .......... .......... .......... .......... 7.33M [2021-04-15T12:55:35.691Z] 550K .......... .......... .......... .......... .......... 1.49M [2021-04-15T12:55:36.024Z] 600K .......... .......... .......... .......... .......... 922K [2021-04-15T12:55:36.024Z] 650K .......... .......... .......... .......... .......... 1.45M [2021-04-15T12:55:36.024Z] 700K .. 20.0M=0.6s [2021-04-15T12:55:36.024Z] [2021-04-15T12:55:36.024Z] 2021-04-15 12:55:35 (1.19 MB/s) - written to stdout [719348] [2021-04-15T12:55:36.024Z] [2021-04-15T12:55:36.361Z] -- The C compiler identification is GNU 8.3.0 [2021-04-15T12:55:36.361Z] -- The CXX compiler identification is GNU 8.3.0 [2021-04-15T12:55:36.361Z] -- Check for working C compiler: /usr/bin/cc [2021-04-15T12:55:36.389Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-15T12:55:36.661Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-15T12:55:36.742Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-15T12:55:36.742Z] -- Detecting C compiler ABI info [2021-04-15T12:55:36.742Z] -- Detecting C compiler ABI info - done [2021-04-15T12:55:36.742Z] -- Detecting C compile features [2021-04-15T12:55:36.937Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-15T12:55:37.219Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-15T12:55:37.489Z] -- Detecting C compile features - done [2021-04-15T12:55:37.489Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-04-15T12:55:37.489Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-04-15T12:55:37.489Z] -- Detecting CXX compiler ABI info [2021-04-15T12:55:37.489Z] -- Detecting CXX compiler ABI info - done [2021-04-15T12:55:37.489Z] -- Detecting CXX compile features [2021-04-15T12:55:37.491Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-15T12:55:38.471Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-15T12:55:38.631Z] -- Detecting CXX compile features - done [2021-04-15T12:55:38.631Z] -- Looking for include file endian.h [2021-04-15T12:55:38.631Z] -- Looking for include file endian.h - found [2021-04-15T12:55:38.631Z] -- Check if the system is big endian [2021-04-15T12:55:38.631Z] -- Searching 16 bit integer [2021-04-15T12:55:38.631Z] -- Looking for sys/types.h [2021-04-15T12:55:38.745Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-15T12:55:38.977Z] -- Looking for sys/types.h - found [2021-04-15T12:55:38.977Z] -- Looking for stdint.h [2021-04-15T12:55:38.977Z] -- Looking for stdint.h - found [2021-04-15T12:55:38.977Z] -- Looking for stddef.h [2021-04-15T12:55:39.409Z] -- Looking for stddef.h - found [2021-04-15T12:55:39.410Z] -- Check size of unsigned short [2021-04-15T12:55:39.410Z] -- Check size of unsigned short - done [2021-04-15T12:55:39.410Z] -- Using unsigned short [2021-04-15T12:55:39.726Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-15T12:55:39.726Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-15T12:55:40.001Z] [ 73%] Linking C shared library libcsdk.so [2021-04-15T12:55:40.185Z] -- Check if the system is big endian - little endian [2021-04-15T12:55:40.185Z] -- Check size of size_t [2021-04-15T12:55:40.274Z] [ 73%] Built target csdk [2021-04-15T12:55:40.274Z] Scanning dependencies of target template [2021-04-15T12:55:40.274Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-15T12:55:40.465Z] -- Check size of size_t - done [2021-04-15T12:55:40.465Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-04-15T12:55:40.465Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-04-15T12:55:40.465Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-04-15T12:55:40.465Z] CMake did not find one. [2021-04-15T12:55:40.465Z] [2021-04-15T12:55:40.465Z] Could not find a package configuration file provided by "cJSON" with any of [2021-04-15T12:55:40.465Z] the following names: [2021-04-15T12:55:40.465Z] [2021-04-15T12:55:40.465Z] cJSONConfig.cmake [2021-04-15T12:55:40.465Z] cjson-config.cmake [2021-04-15T12:55:40.465Z] [2021-04-15T12:55:40.465Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-04-15T12:55:40.465Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-04-15T12:55:40.465Z] provides a separate development package or SDK, be sure it has been [2021-04-15T12:55:40.465Z] installed. [2021-04-15T12:55:40.465Z] [2021-04-15T12:55:40.465Z] [2021-04-15T12:55:40.465Z] -- Configuring done [2021-04-15T12:55:40.548Z] [ 76%] Linking C executable template [2021-04-15T12:55:40.813Z] -- Generating done [2021-04-15T12:55:40.813Z] -- Build files have been written to: /tmp/cbor [2021-04-15T12:55:40.813Z] Scanning dependencies of target cbor_shared [2021-04-15T12:55:40.813Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-04-15T12:55:40.821Z] [ 76%] Built target template [2021-04-15T12:55:40.821Z] Scanning dependencies of target device-counter [2021-04-15T12:55:40.821Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-15T12:55:41.093Z] [ 80%] Linking C executable device-counter [2021-04-15T12:55:41.366Z] [ 80%] Built target device-counter [2021-04-15T12:55:41.366Z] Scanning dependencies of target device-random [2021-04-15T12:55:41.366Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-15T12:55:41.641Z] [ 83%] Linking C executable device-random [2021-04-15T12:55:41.720Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-04-15T12:55:41.916Z] [ 83%] Built target device-random [2021-04-15T12:55:41.916Z] Scanning dependencies of target device-gyro [2021-04-15T12:55:41.916Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-15T12:55:41.916Z] [ 86%] Linking C executable device-gyro [2021-04-15T12:55:41.998Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-04-15T12:55:41.998Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-04-15T12:55:42.190Z] [ 86%] Built target device-gyro [2021-04-15T12:55:42.190Z] Scanning dependencies of target device-bitfields [2021-04-15T12:55:42.190Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-15T12:55:42.312Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-04-15T12:55:42.312Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-04-15T12:55:42.465Z] [ 90%] Linking C executable device-bitfields [2021-04-15T12:55:42.627Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-04-15T12:55:42.628Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-04-15T12:55:42.746Z] [ 90%] Built target device-bitfields [2021-04-15T12:55:42.746Z] Scanning dependencies of target template-discovery [2021-04-15T12:55:42.746Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-15T12:55:43.019Z] [ 93%] Linking C executable template-discovery [2021-04-15T12:55:43.049Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-04-15T12:55:43.049Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-04-15T12:55:43.292Z] [ 93%] Built target template-discovery [2021-04-15T12:55:43.292Z] Scanning dependencies of target device-file [2021-04-15T12:55:43.292Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-15T12:55:43.342Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-04-15T12:55:43.564Z] [ 96%] Linking C executable device-file [2021-04-15T12:55:43.637Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-04-15T12:55:43.637Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-04-15T12:55:43.838Z] [ 96%] Built target device-file [2021-04-15T12:55:43.838Z] Scanning dependencies of target device-terminal [2021-04-15T12:55:43.838Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-15T12:55:43.998Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-04-15T12:55:43.999Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-04-15T12:55:43.999Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-04-15T12:55:44.112Z] [100%] Linking C executable device-terminal [2021-04-15T12:55:44.364Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-04-15T12:55:44.364Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-04-15T12:55:44.398Z] [100%] Built target device-terminal [2021-04-15T12:55:44.398Z] make: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.398Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.398Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.398Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.645Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-04-15T12:55:44.645Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-04-15T12:55:44.670Z] [ 73%] Built target csdk [2021-04-15T12:55:44.670Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.670Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.670Z] [ 76%] Built target template [2021-04-15T12:55:44.670Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.670Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.670Z] [ 80%] Built target device-counter [2021-04-15T12:55:44.670Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.670Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.670Z] [ 83%] Built target device-random [2021-04-15T12:55:44.670Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.670Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.670Z] [ 86%] Built target device-gyro [2021-04-15T12:55:44.670Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.670Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.670Z] [ 90%] Built target device-bitfields [2021-04-15T12:55:44.670Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.670Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.670Z] [ 93%] Built target template-discovery [2021-04-15T12:55:44.670Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.944Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.944Z] [ 96%] Built target device-file [2021-04-15T12:55:44.944Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.944Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.944Z] [100%] Built target device-terminal [2021-04-15T12:55:44.944Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.944Z] Install the project... [2021-04-15T12:55:44.944Z] -- Install configuration: "Release" [2021-04-15T12:55:44.944Z] -- Installing: /usr/local/lib/libcsdk.so [2021-04-15T12:55:44.944Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-04-15T12:55:44.944Z] -- Up-to-date: /usr/local/include [2021-04-15T12:55:44.944Z] -- Installing: /usr/local/include/edgex [2021-04-15T12:55:44.944Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-04-15T12:55:44.944Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-04-15T12:55:44.944Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-04-15T12:55:44.944Z] -- Installing: /usr/local/include/edgex/devices.h [2021-04-15T12:55:44.944Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-04-15T12:55:44.944Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/devsdk [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/json.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/container.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/component.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/typecode.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/iot.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/time.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/hash.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/logger.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/os [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/data.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/thread.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/os.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/base64.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/defs.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/include/iot/config.h [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-04-15T12:55:44.945Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-04-15T12:55:44.945Z] make: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:55:44.952Z] [ 40%] Linking C shared library libcbor.so [2021-04-15T12:55:44.952Z] [ 40%] Built target cbor_shared [2021-04-15T12:55:44.952Z] Scanning dependencies of target cbor [2021-04-15T12:55:44.952Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-04-15T12:55:45.255Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-04-15T12:55:45.889Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-04-15T12:55:45.889Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-04-15T12:55:46.195Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-04-15T12:55:46.517Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-04-15T12:55:46.795Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-04-15T12:55:46.795Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-04-15T12:55:47.139Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-04-15T12:55:47.139Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-04-15T12:55:47.547Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-04-15T12:55:47.547Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-04-15T12:55:47.568Z] Removing intermediate container 8832a05565db [2021-04-15T12:55:47.568Z] ---> c9840194e008 [2021-04-15T12:55:47.568Z] Step 14/21 : FROM ${BASE} [2021-04-15T12:55:47.568Z] ---> b23d30803547 [2021-04-15T12:55:47.568Z] Step 15/21 : LABEL maintainer="IOTech " [2021-04-15T12:55:47.568Z] ---> Running in 7ff311568ea0 [2021-04-15T12:55:47.568Z] Removing intermediate container 7ff311568ea0 [2021-04-15T12:55:47.568Z] ---> e9b34df21a55 [2021-04-15T12:55:47.568Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-04-15T12:55:47.842Z] ---> Running in fd9bd1b884d7 [2021-04-15T12:55:47.863Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-04-15T12:55:47.863Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-04-15T12:55:48.263Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-04-15T12:55:48.263Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-04-15T12:55:48.553Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-04-15T12:55:48.553Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-04-15T12:55:48.817Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-15T12:55:48.836Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-04-15T12:55:49.227Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-04-15T12:55:49.227Z] [ 80%] Linking C static library libcbor.a [2021-04-15T12:55:49.227Z] [ 80%] Built target cbor [2021-04-15T12:55:49.227Z] Scanning dependencies of target create_items [2021-04-15T12:55:49.227Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-04-15T12:55:49.543Z] [ 84%] Linking C executable create_items [2021-04-15T12:55:49.543Z] [ 84%] Built target create_items [2021-04-15T12:55:49.543Z] Scanning dependencies of target readfile [2021-04-15T12:55:49.543Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-04-15T12:55:49.543Z] [ 88%] Linking C executable readfile [2021-04-15T12:55:49.543Z] [ 88%] Built target readfile [2021-04-15T12:55:49.543Z] Scanning dependencies of target streaming_parser [2021-04-15T12:55:49.543Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-04-15T12:55:49.811Z] [ 92%] Linking C executable streaming_parser [2021-04-15T12:55:49.811Z] [ 92%] Built target streaming_parser [2021-04-15T12:55:49.811Z] Scanning dependencies of target sort [2021-04-15T12:55:49.811Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-04-15T12:55:49.811Z] [ 96%] Linking C executable sort [2021-04-15T12:55:49.811Z] [ 96%] Built target sort [2021-04-15T12:55:49.811Z] Scanning dependencies of target hello [2021-04-15T12:55:49.811Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-04-15T12:55:50.133Z] [100%] Linking C executable hello [2021-04-15T12:55:50.133Z] [100%] Built target hello [2021-04-15T12:55:50.133Z] Install the project... [2021-04-15T12:55:50.133Z] -- Install configuration: "Release" [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/lib64/libcbor.a [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/lib64/libcbor.so [2021-04-15T12:55:50.133Z] -- Up-to-date: /usr/local/include/cbor [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/common.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/data.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/internal [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/ints.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/maps.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/strings.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor/tags.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/include/cbor.h [2021-04-15T12:55:50.133Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-04-15T12:55:50.247Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-15T12:55:50.517Z] (1/3) Installing curl (7.64.0-r5) [2021-04-15T12:55:50.517Z] (2/3) Installing libuuid (2.33-r0) [2021-04-15T12:55:50.517Z] (3/3) Installing wget (1.20.3-r0) [2021-04-15T12:55:50.788Z] Executing busybox-1.29.3-r10.trigger [2021-04-15T12:55:50.788Z] OK: 281 MiB in 78 packages [2021-04-15T12:55:51.777Z] Removing intermediate container fd9bd1b884d7 [2021-04-15T12:55:51.777Z] ---> 7726f725ceb9 [2021-04-15T12:55:51.777Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-04-15T12:55:52.757Z] ---> bd9a800af463 [2021-04-15T12:55:52.757Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-04-15T12:55:53.352Z] ---> 3195b69d1723 [2021-04-15T12:55:53.352Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-04-15T12:55:53.604Z] Removing intermediate container c2a5b4c24e1c [2021-04-15T12:55:53.604Z] ---> b56c90a6ae3c [2021-04-15T12:55:53.604Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-04-15T12:55:53.604Z] ---> Running in a4fe2c713d88 [2021-04-15T12:55:53.950Z] ---> 8150015a4ddb [2021-04-15T12:55:53.950Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-04-15T12:55:54.935Z] ---> a89ae57e2005 [2021-04-15T12:55:54.935Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-04-15T12:55:55.531Z] ---> 6dd5e234ea2e [2021-04-15T12:55:55.531Z] Successfully built 6dd5e234ea2e [2021-04-15T12:55:55.531Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-15T12:55:55.752Z] Removing intermediate container a4fe2c713d88 [2021-04-15T12:55:55.752Z] ---> d9f7e062afb8 [2021-04-15T12:55:55.752Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-04-15T12:55:55.981Z] + docker inspect -f . ci-base-image-arm64 [2021-04-15T12:55:55.981Z] . [Pipeline] withDockerContainer [2021-04-15T12:55:56.220Z] prd-ubuntu18.04-docker-arm64-4c-16g-273 does not seem to be running inside a container [2021-04-15T12:55:56.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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-04-15T12:55:56.477Z] ---> 5f94da7c9598 [2021-04-15T12:55:56.477Z] Step 8/21 : COPY src /tmp/sdk/src [2021-04-15T12:55:57.699Z] $ docker top 27d3a15aae63e55fedff1141f76bbd97367959fe3357356a86f5b6ef03bf4bfb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T12:55:58.656Z] ---> 16e04cabeedc [2021-04-15T12:55:58.656Z] Step 9/21 : COPY include /tmp/sdk/include [2021-04-15T12:55:58.661Z] + make test [2021-04-15T12:55:58.661Z] echo "make test" [2021-04-15T12:55:58.661Z] make test [Pipeline] } [2021-04-15T12:55:58.678Z] $ docker stop --time=1 27d3a15aae63e55fedff1141f76bbd97367959fe3357356a86f5b6ef03bf4bfb [2021-04-15T12:55:58.989Z] ---> 5e6822aa9817 [2021-04-15T12:55:58.989Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-04-15T12:55:59.304Z] ---> c8cc8dc3acfa [2021-04-15T12:55:59.304Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-04-15T12:56:00.516Z] ---> 0ca829bce1a4 [2021-04-15T12:56:00.516Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-04-15T12:56:00.567Z] $ docker rm -f 27d3a15aae63e55fedff1141f76bbd97367959fe3357356a86f5b6ef03bf4bfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-04-15T12:56:01.150Z] ---> eb87fb78bf3e [2021-04-15T12:56:01.150Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-04-15T12:56:01.513Z] ---> Running in 53686e6e0b4d [2021-04-15T12:56:03.015Z] + CPPCHECK=false [2021-04-15T12:56:03.015Z] + DOCGEN=false [2021-04-15T12:56:03.015Z] + TOMLVER=SDK-0.2 [2021-04-15T12:56:03.015Z] + CUTILVER=1.1.4 [2021-04-15T12:56:03.015Z] + '[' 0 -gt 0 ] [2021-04-15T12:56:03.015Z] + readlink -f ./scripts/build.sh [2021-04-15T12:56:03.015Z] + dirname /tmp/sdk/scripts/build.sh [2021-04-15T12:56:03.015Z] + dirname /tmp/sdk/scripts [2021-04-15T12:56:03.015Z] + ROOT=/tmp/sdk [2021-04-15T12:56:03.015Z] + cd /tmp/sdk [2021-04-15T12:56:03.015Z] + '[' '!' -d deps ] [2021-04-15T12:56:03.015Z] + mkdir deps [2021-04-15T12:56:03.015Z] + tar -C deps -z -x -f - [2021-04-15T12:56:03.015Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-15T12:56:03.015Z] --2021-04-15 12:56:02-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-15T12:56:03.015Z] Resolving github.com... 140.82.114.3 [2021-04-15T12:56:03.015Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-04-15T12:56:03.588Z] HTTP request sent, awaiting response... 302 Found [2021-04-15T12:56:03.588Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-04-15T12:56:03.588Z] --2021-04-15 12:56:03-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-04-15T12:56:03.588Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-15T12:56:03.588Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-15T12:56:03.588Z] HTTP request sent, awaiting response... 200 OK [2021-04-15T12:56:03.588Z] Length: unspecified [application/x-gzip] [2021-04-15T12:56:03.588Z] Saving to: 'STDOUT' [2021-04-15T12:56:03.588Z] [2021-04-15T12:56:03.588Z] 0K .......... ...... 616K=0.03s [2021-04-15T12:56:03.588Z] [2021-04-15T12:56:03.588Z] 2021-04-15 12:56:03 (616 KB/s) - written to stdout [16451] [2021-04-15T12:56:03.588Z] [Pipeline] sh [2021-04-15T12:56:03.948Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-04-15T12:56:03.948Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-15T12:56:03.948Z] + tar -C deps -z -x -f - [2021-04-15T12:56:03.948Z] --2021-04-15 12:56:03-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-15T12:56:03.948Z] Resolving github.com... 140.82.114.3 [2021-04-15T12:56:03.948Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-04-15T12:56:03.948Z] HTTP request sent, awaiting response... 302 Found [2021-04-15T12:56:03.948Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-04-15T12:56:03.948Z] --2021-04-15 12:56:03-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-04-15T12:56:03.948Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-15T12:56:03.948Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-15T12:56:04.226Z] HTTP request sent, awaiting response... 200 OK [2021-04-15T12:56:04.226Z] Length: unspecified [application/x-gzip] [2021-04-15T12:56:04.226Z] Saving to: 'STDOUT' [2021-04-15T12:56:04.226Z] [2021-04-15T12:56:04.226Z] 0K .......... .......... .......... .......... .......... 1.18M [2021-04-15T12:56:04.226Z] 50K .......... .......... .......... .......... .......... 2.09M [2021-04-15T12:56:04.226Z] 100K .......... .......... .......... .......... .......... 2.89M [2021-04-15T12:56:04.226Z] 150K .......... .......... ....... 2.61M=0.09s [2021-04-15T12:56:04.226Z] [2021-04-15T12:56:04.226Z] 2021-04-15 12:56:04 (1.88 MB/s) - written to stdout [181796] [2021-04-15T12:56:04.226Z] [2021-04-15T12:56:04.226Z] + mkdir -p src/c/iot [2021-04-15T12:56:04.226Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-04-15T12:56:04.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-15T12:56:04.507Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-04-15T12:56:04.507Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-04-15T12:56:04.508Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-04-15T12:56:04.508Z] + mkdir -p include/iot [2021-04-15T12:56:04.508Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-04-15T12:56:04.508Z] + mkdir -p include/iot/os [2021-04-15T12:56:04.508Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-04-15T12:56:04.508Z] + mkdir -p /tmp/sdk/build/release [2021-04-15T12:56:04.508Z] + cd /tmp/sdk/build/release [2021-04-15T12:56:04.508Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-04-15T12:56:04.508Z] -- The C compiler identification is GNU 8.3.0 [2021-04-15T12:56:04.508Z] -- Check for working C compiler: /usr/bin/cc [2021-04-15T12:56:04.602Z] + ls -al . [2021-04-15T12:56:04.602Z] total 192 [2021-04-15T12:56:04.602Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 12:53 . [2021-04-15T12:56:04.602Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 12:53 .. [2021-04-15T12:56:04.602Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 12:53 .git [2021-04-15T12:56:04.602Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 12:53 .github [2021-04-15T12:56:04.602Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 15 12:53 .gitignore [2021-04-15T12:56:04.602Z] -rw-rw-r-- 1 jenkins jenkins 3104 Apr 15 12:53 Attribution.txt [2021-04-15T12:56:04.602Z] -rw-rw-r-- 1 jenkins jenkins 7129 Apr 15 12:53 CHANGES [2021-04-15T12:56:04.602Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 15 12:53 Doxyfile [2021-04-15T12:56:04.602Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 15 12:53 Jenkinsfile [2021-04-15T12:56:04.602Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 15 12:53 LICENSE [2021-04-15T12:56:04.602Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 15 12:53 Makefile [2021-04-15T12:56:04.602Z] -rw-rw-r-- 1 jenkins jenkins 2694 Apr 15 12:53 README.md [2021-04-15T12:56:04.602Z] -rw-rw-r-- 1 jenkins jenkins 6654 Apr 15 12:53 README.v2.md [2021-04-15T12:56:04.602Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 12:51 VERSION [2021-04-15T12:56:04.602Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 12:53 docs [2021-04-15T12:56:04.602Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 12:53 include [2021-04-15T12:56:04.602Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 12:53 scripts [2021-04-15T12:56:04.602Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 12:53 src [Pipeline] isUnix [Pipeline] sh [2021-04-15T12:56:04.788Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-15T12:56:04.788Z] -- Detecting C compiler ABI info [2021-04-15T12:56:04.788Z] -- Detecting C compiler ABI info - done [2021-04-15T12:56:04.788Z] -- Detecting C compile features [2021-04-15T12:56:04.942Z] + 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=5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f --label arch=arm64 --label version=0.0.0 . [2021-04-15T12:56:05.542Z] Sending build context to Docker daemon 2.522MB [2021-04-15T12:56:05.542Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-04-15T12:56:05.542Z] Step 2/15 : FROM ${BASE} [2021-04-15T12:56:05.542Z] ---> 6dd5e234ea2e [2021-04-15T12:56:05.542Z] Step 3/15 : LABEL maintainer="IOTech " [2021-04-15T12:56:05.678Z] -- Detecting C compile features - done [2021-04-15T12:56:05.678Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-15T12:56:05.678Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-15T12:56:05.678Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-15T12:56:05.678Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-15T12:56:05.678Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-15T12:56:05.678Z] -- C SDK 0.0.0 for Linux [2021-04-15T12:56:05.678Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-15T12:56:05.678Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-15T12:56:05.678Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-15T12:56:05.678Z] -- Configuring done [2021-04-15T12:56:05.678Z] -- Generating done [2021-04-15T12:56:05.678Z] -- Build files have been written to: /tmp/sdk/build/release [2021-04-15T12:56:05.678Z] + make all package [2021-04-15T12:56:05.678Z] + tee release.log [2021-04-15T12:56:05.814Z] ---> Running in 989eec71e507 [2021-04-15T12:56:06.093Z] Removing intermediate container 989eec71e507 [2021-04-15T12:56:06.093Z] ---> 3b7d34306ee9 [2021-04-15T12:56:06.094Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2021-04-15T12:56:06.135Z] Scanning dependencies of target csdk [2021-04-15T12:56:06.135Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-15T12:56:06.370Z] ---> Running in 0d37aaa4bf42 [2021-04-15T12:56:07.316Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-15T12:56:07.346Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-15T12:56:07.674Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-15T12:56:08.009Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-15T12:56:08.323Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-15T12:56:08.594Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-15T12:56:08.594Z] (2/6) Installing libblkid (2.33-r0) [2021-04-15T12:56:08.649Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-15T12:56:08.649Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-15T12:56:08.866Z] (3/6) Installing libfdisk (2.33-r0) [2021-04-15T12:56:08.866Z] (4/6) Installing libmount (2.33-r0) [2021-04-15T12:56:08.866Z] (5/6) Installing libsmartcols (2.33-r0) [2021-04-15T12:56:08.971Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-15T12:56:09.137Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-04-15T12:56:09.420Z] Executing busybox-1.29.3-r10.trigger [2021-04-15T12:56:09.420Z] OK: 286 MiB in 84 packages [2021-04-15T12:56:09.653Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-15T12:56:09.937Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-15T12:56:09.937Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-15T12:56:10.257Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-15T12:56:10.567Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-15T12:56:10.567Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-15T12:56:10.850Z] Removing intermediate container 0d37aaa4bf42 [2021-04-15T12:56:10.850Z] ---> 60579381b1b3 [2021-04-15T12:56:10.850Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-04-15T12:56:10.918Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-15T12:56:11.447Z] ---> 76d814c6e089 [2021-04-15T12:56:11.447Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-04-15T12:56:12.020Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-04-15T12:56:12.020Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-15T12:56:12.020Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-15T12:56:12.021Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-15T12:56:12.302Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-15T12:56:12.427Z] ---> 264c94f224e9 [2021-04-15T12:56:12.427Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-04-15T12:56:12.577Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-15T12:56:13.864Z] ---> 221332b10119 [2021-04-15T12:56:13.864Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-04-15T12:56:14.319Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-15T12:56:14.319Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-15T12:56:14.319Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-15T12:56:14.459Z] ---> 1405a4364bdc [2021-04-15T12:56:14.459Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-04-15T12:56:14.640Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-15T12:56:14.936Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-15T12:56:14.936Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-15T12:56:15.239Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-15T12:56:15.439Z] ---> 8edc57adbacd [2021-04-15T12:56:15.439Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-04-15T12:56:15.563Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-15T12:56:15.854Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-15T12:56:15.854Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-15T12:56:16.146Z] ---> b39990d56cea [2021-04-15T12:56:16.146Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-04-15T12:56:16.146Z] ---> Running in bea7add65cdc [2021-04-15T12:56:16.751Z] Removing intermediate container bea7add65cdc [2021-04-15T12:56:16.751Z] ---> 770ecc2e71a4 [2021-04-15T12:56:16.751Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-04-15T12:56:16.751Z] ---> Running in 9c99b416c065 [2021-04-15T12:56:16.890Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-15T12:56:16.890Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-15T12:56:17.363Z] Removing intermediate container 9c99b416c065 [2021-04-15T12:56:17.363Z] ---> 1d22a5749fc7 [2021-04-15T12:56:17.363Z] Step 13/15 : LABEL arch=arm64 [2021-04-15T12:56:17.363Z] ---> Running in 0f13cbcfe400 [2021-04-15T12:56:17.809Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-15T12:56:17.809Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-15T12:56:17.982Z] Removing intermediate container 0f13cbcfe400 [2021-04-15T12:56:17.982Z] ---> e0cb55fcb39c [2021-04-15T12:56:17.982Z] Step 14/15 : LABEL git_sha=5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f [2021-04-15T12:56:17.982Z] ---> Running in 09f9471ad243 [2021-04-15T12:56:18.597Z] Removing intermediate container 09f9471ad243 [2021-04-15T12:56:18.597Z] ---> 16b17eae68eb [2021-04-15T12:56:18.597Z] Step 15/15 : LABEL version=0.0.0 [2021-04-15T12:56:18.597Z] ---> Running in c9fe83ab40a0 [2021-04-15T12:56:19.204Z] Removing intermediate container c9fe83ab40a0 [2021-04-15T12:56:19.204Z] ---> b34f0467cf08 [2021-04-15T12:56:19.204Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-15T12:56:19.204Z] Successfully built b34f0467cf08 [2021-04-15T12:56:19.204Z] 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] } [2021-04-15T12:56:20.174Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-15T12:56:20.174Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-15T12:56:20.174Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-15T12:56:20.484Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-15T12:56:20.784Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-15T12:56:21.733Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-15T12:56:22.394Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-15T12:56:23.896Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-15T12:56:24.199Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-15T12:56:24.541Z] [ 73%] Linking C shared library libcsdk.so [2021-04-15T12:56:24.541Z] [ 73%] Built target csdk [2021-04-15T12:56:24.842Z] Scanning dependencies of target template [2021-04-15T12:56:24.842Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-15T12:56:25.182Z] [ 76%] Linking C executable template [2021-04-15T12:56:25.182Z] [ 76%] Built target template [2021-04-15T12:56:25.182Z] Scanning dependencies of target device-counter [2021-04-15T12:56:25.182Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-15T12:56:25.518Z] [ 80%] Linking C executable device-counter [2021-04-15T12:56:25.519Z] [ 80%] Built target device-counter [2021-04-15T12:56:25.519Z] Scanning dependencies of target device-random [2021-04-15T12:56:25.519Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-15T12:56:25.808Z] [ 83%] Linking C executable device-random [2021-04-15T12:56:26.184Z] [ 83%] Built target device-random [2021-04-15T12:56:26.184Z] Scanning dependencies of target device-gyro [2021-04-15T12:56:26.184Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-15T12:56:26.458Z] [ 86%] Linking C executable device-gyro [2021-04-15T12:56:26.458Z] [ 86%] Built target device-gyro [2021-04-15T12:56:26.458Z] Scanning dependencies of target device-bitfields [2021-04-15T12:56:26.458Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-15T12:56:26.791Z] [ 90%] Linking C executable device-bitfields [2021-04-15T12:56:27.071Z] [ 90%] Built target device-bitfields [2021-04-15T12:56:27.071Z] Scanning dependencies of target template-discovery [2021-04-15T12:56:27.071Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-15T12:56:27.407Z] [ 93%] Linking C executable template-discovery [2021-04-15T12:56:27.407Z] [ 93%] Built target template-discovery [2021-04-15T12:56:27.407Z] Scanning dependencies of target device-file [2021-04-15T12:56:27.407Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-15T12:56:27.685Z] [ 96%] Linking C executable device-file [2021-04-15T12:56:28.010Z] [ 96%] Built target device-file [2021-04-15T12:56:28.010Z] Scanning dependencies of target device-terminal [2021-04-15T12:56:28.010Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-15T12:56:28.287Z] [100%] Linking C executable device-terminal [2021-04-15T12:56:28.287Z] [100%] Built target device-terminal [2021-04-15T12:56:28.287Z] Run CPack packaging tool... [2021-04-15T12:56:28.647Z] CPack: Create package using TGZ [2021-04-15T12:56:28.647Z] CPack: Install projects [2021-04-15T12:56:28.647Z] CPack: - Run preinstall target for: Csdk [2021-04-15T12:56:29.016Z] CPack: - Install project: Csdk [2021-04-15T12:56:29.347Z] CPack: Create package [2021-04-15T12:56:29.347Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-04-15T12:56:29.347Z] + '[' false '=' true ] [2021-04-15T12:56:29.347Z] + '[' false '=' true ] [2021-04-15T12:56:29.347Z] + mkdir -p /tmp/sdk/build/debug [2021-04-15T12:56:29.347Z] + cd /tmp/sdk/build/debug [2021-04-15T12:56:29.347Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-04-15T12:56:29.347Z] -- The C compiler identification is GNU 8.3.0 [2021-04-15T12:56:29.659Z] -- Check for working C compiler: /usr/bin/cc [2021-04-15T12:56:29.659Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-15T12:56:29.659Z] -- Detecting C compiler ABI info [2021-04-15T12:56:29.953Z] -- Detecting C compiler ABI info - done [2021-04-15T12:56:29.953Z] -- Detecting C compile features [2021-04-15T12:56:30.249Z] -- Detecting C compile features - done [2021-04-15T12:56:30.249Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-15T12:56:30.580Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-15T12:56:30.580Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-15T12:56:30.580Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-15T12:56:30.580Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-15T12:56:30.580Z] -- C SDK 0.0.0 for Linux [2021-04-15T12:56:30.580Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-15T12:56:30.580Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-15T12:56:30.580Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-15T12:56:30.580Z] -- Configuring done [2021-04-15T12:56:30.881Z] -- Generating done [2021-04-15T12:56:30.881Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-04-15T12:56:30.881Z] + make [2021-04-15T12:56:30.881Z] + tee debug.log [2021-04-15T12:56:30.881Z] Scanning dependencies of target csdk [2021-04-15T12:56:30.881Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-15T12:56:31.198Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-15T12:56:31.199Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-15T12:56:31.541Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-15T12:56:31.855Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-15T12:56:31.855Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-15T12:56:31.855Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-15T12:56:32.154Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-15T12:56:32.457Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-15T12:56:32.782Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-15T12:56:32.782Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-15T12:56:33.116Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-15T12:56:33.116Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-15T12:56:33.116Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-15T12:56:33.756Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-04-15T12:56:33.756Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-15T12:56:33.756Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-15T12:56:34.071Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-15T12:56:34.071Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-15T12:56:34.362Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-15T12:56:34.974Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-15T12:56:34.975Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-15T12:56:34.975Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-15T12:56:35.266Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-15T12:56:35.266Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-15T12:56:35.266Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-15T12:56:35.643Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-15T12:56:35.643Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-15T12:56:35.919Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-15T12:56:35.919Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-15T12:56:36.697Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-15T12:56:36.697Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-15T12:56:37.039Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-15T12:56:37.039Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-15T12:56:37.740Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-15T12:56:37.740Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-15T12:56:38.041Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-15T12:56:38.041Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-15T12:56:38.349Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-15T12:56:38.666Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-15T12:56:38.978Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-15T12:56:39.286Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-15T12:56:39.608Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-15T12:56:39.608Z] [ 73%] Linking C shared library libcsdk.so [2021-04-15T12:56:39.608Z] [ 73%] Built target csdk [2021-04-15T12:56:39.608Z] Scanning dependencies of target template [2021-04-15T12:56:39.608Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-15T12:56:39.909Z] [ 76%] Linking C executable template [2021-04-15T12:56:39.909Z] [ 76%] Built target template [2021-04-15T12:56:39.909Z] Scanning dependencies of target device-counter [2021-04-15T12:56:40.178Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-15T12:56:40.178Z] [ 80%] Linking C executable device-counter [2021-04-15T12:56:40.461Z] [ 80%] Built target device-counter [2021-04-15T12:56:40.461Z] Scanning dependencies of target device-random [2021-04-15T12:56:40.461Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-15T12:56:40.772Z] [ 83%] Linking C executable device-random [2021-04-15T12:56:40.772Z] [ 83%] Built target device-random [2021-04-15T12:56:40.772Z] Scanning dependencies of target device-gyro [2021-04-15T12:56:40.772Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-15T12:56:40.772Z] [ 86%] Linking C executable device-gyro [2021-04-15T12:56:41.042Z] [ 86%] Built target device-gyro [2021-04-15T12:56:41.042Z] Scanning dependencies of target device-bitfields [2021-04-15T12:56:41.042Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-15T12:56:41.337Z] [ 90%] Linking C executable device-bitfields [2021-04-15T12:56:41.337Z] [ 90%] Built target device-bitfields [2021-04-15T12:56:41.337Z] Scanning dependencies of target template-discovery [2021-04-15T12:56:41.337Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-15T12:56:41.639Z] [ 93%] Linking C executable template-discovery [2021-04-15T12:56:41.639Z] [ 93%] Built target template-discovery [2021-04-15T12:56:41.933Z] Scanning dependencies of target device-file [2021-04-15T12:56:41.933Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-15T12:56:41.933Z] [ 96%] Linking C executable device-file [2021-04-15T12:56:42.250Z] [ 96%] Built target device-file [2021-04-15T12:56:42.250Z] Scanning dependencies of target device-terminal [2021-04-15T12:56:42.250Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-15T12:56:42.560Z] [100%] Linking C executable device-terminal [2021-04-15T12:56:42.560Z] [100%] Built target device-terminal [2021-04-15T12:56:42.560Z] make: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:56:42.560Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:56:42.560Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:56:42.560Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:56:42.837Z] [ 73%] Built target csdk [2021-04-15T12:56:42.837Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:56:42.837Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:56:42.837Z] [ 76%] Built target template [2021-04-15T12:56:42.837Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:56:42.837Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:56:42.837Z] [ 80%] Built target device-counter [2021-04-15T12:56:42.837Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:56:42.837Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:56:42.837Z] [ 83%] Built target device-random [2021-04-15T12:56:42.837Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:56:42.837Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:56:42.837Z] [ 86%] Built target device-gyro [2021-04-15T12:56:42.837Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:56:42.837Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:56:42.837Z] [ 90%] Built target device-bitfields [2021-04-15T12:56:42.837Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:56:42.837Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:56:42.837Z] [ 93%] Built target template-discovery [2021-04-15T12:56:42.837Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:56:43.144Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:56:43.144Z] [ 96%] Built target device-file [2021-04-15T12:56:43.144Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-15T12:56:43.144Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:56:43.144Z] [100%] Built target device-terminal [2021-04-15T12:56:43.144Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:56:43.144Z] Install the project... [2021-04-15T12:56:43.144Z] -- Install configuration: "Release" [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/lib/libcsdk.so [2021-04-15T12:56:43.144Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-04-15T12:56:43.144Z] -- Up-to-date: /usr/local/include [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/devsdk [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/edgex [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/edgex/devices.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/base64.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/component.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/config.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/container.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/data.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/hash.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/iot.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/json.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/logger.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/os.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/thread.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/time.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/typecode.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/os [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/include/iot/defs.h [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-04-15T12:56:43.144Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-04-15T12:56:43.144Z] make: Leaving directory '/tmp/sdk/build/release' [2021-04-15T12:56:45.872Z] Removing intermediate container 53686e6e0b4d [2021-04-15T12:56:45.872Z] ---> f61f32800325 [2021-04-15T12:56:45.872Z] Step 14/21 : FROM ${BASE} [2021-04-15T12:56:45.872Z] ---> 5eabd8fd8ba2 [2021-04-15T12:56:45.872Z] Step 15/21 : LABEL maintainer="IOTech " [2021-04-15T12:56:45.872Z] ---> Running in bfeaaac550ec [2021-04-15T12:56:46.520Z] Removing intermediate container bfeaaac550ec [2021-04-15T12:56:46.521Z] ---> 5119c3094656 [2021-04-15T12:56:46.521Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-04-15T12:56:46.521Z] ---> Running in f3152098241c [2021-04-15T12:56:48.012Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-15T12:56:49.482Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-15T12:56:50.141Z] (1/3) Installing curl (7.64.0-r5) [2021-04-15T12:56:50.539Z] (2/3) Installing libuuid (2.33-r0) [2021-04-15T12:56:50.539Z] (3/3) Installing wget (1.20.3-r0) [2021-04-15T12:56:50.855Z] Executing busybox-1.29.3-r10.trigger [2021-04-15T12:56:50.855Z] OK: 268 MiB in 78 packages [2021-04-15T12:56:52.446Z] Removing intermediate container f3152098241c [2021-04-15T12:56:52.446Z] ---> 24eb827389d3 [2021-04-15T12:56:52.446Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-04-15T12:56:53.120Z] ---> 98d113b2459e [2021-04-15T12:56:53.120Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-04-15T12:56:53.737Z] ---> d90075a92c5e [2021-04-15T12:56:53.737Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-04-15T12:56:54.383Z] ---> f894c11567eb [2021-04-15T12:56:54.383Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-04-15T12:56:55.213Z] ---> fe7e47fa7fcb [2021-04-15T12:56:55.213Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-04-15T12:56:57.097Z] ---> 9d1b82f57e50 [2021-04-15T12:56:57.097Z] Successfully built 9d1b82f57e50 [2021-04-15T12:56:57.097Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-15T12:56:57.658Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-15T12:56:57.925Z] . [Pipeline] withDockerContainer [2021-04-15T12:56:58.104Z] prd-centos7-docker-4c-2g-274 does not seem to be running inside a container [2021-04-15T12:56:58.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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-04-15T12:57:00.221Z] $ docker top 308bacb838b4e6b9c9d7220a0a84776fc7ee488da2e3e20298b82bf8790d0afb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T12:57:01.411Z] + make test [2021-04-15T12:57:01.411Z] echo "make test" [2021-04-15T12:57:01.411Z] make test [Pipeline] } [2021-04-15T12:57:01.465Z] $ docker stop --time=1 308bacb838b4e6b9c9d7220a0a84776fc7ee488da2e3e20298b82bf8790d0afb [2021-04-15T12:57:03.322Z] $ docker rm -f 308bacb838b4e6b9c9d7220a0a84776fc7ee488da2e3e20298b82bf8790d0afb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-15T12:57:04.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-15T12:57:04.668Z] + ls -al . [2021-04-15T12:57:04.668Z] total 160 [2021-04-15T12:57:04.668Z] drwxrwxr-x. 8 jenkins jenkins 260 Apr 15 12:54 . [2021-04-15T12:57:04.668Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 15 12:54 .. [2021-04-15T12:57:04.668Z] -rw-rw-r--. 1 jenkins jenkins 3104 Apr 15 12:54 Attribution.txt [2021-04-15T12:57:04.668Z] -rw-rw-r--. 1 jenkins jenkins 7129 Apr 15 12:54 CHANGES [2021-04-15T12:57:04.668Z] drwxrwxr-x. 2 jenkins jenkins 121 Apr 15 12:54 docs [2021-04-15T12:57:04.668Z] -rw-rw-r--. 1 jenkins jenkins 108574 Apr 15 12:54 Doxyfile [2021-04-15T12:57:04.668Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 15 12:54 .git [2021-04-15T12:57:04.668Z] drwxrwxr-x. 2 jenkins jenkins 81 Apr 15 12:54 .github [2021-04-15T12:57:04.668Z] -rw-rw-r--. 1 jenkins jenkins 176 Apr 15 12:54 .gitignore [2021-04-15T12:57:04.668Z] drwxrwxr-x. 4 jenkins jenkins 33 Apr 15 12:54 include [2021-04-15T12:57:04.668Z] -rw-rw-r--. 1 jenkins jenkins 784 Apr 15 12:54 Jenkinsfile [2021-04-15T12:57:04.668Z] -rw-rw-r--. 1 jenkins jenkins 10174 Apr 15 12:54 LICENSE [2021-04-15T12:57:04.668Z] -rw-rw-r--. 1 jenkins jenkins 444 Apr 15 12:54 Makefile [2021-04-15T12:57:04.668Z] -rw-rw-r--. 1 jenkins jenkins 2694 Apr 15 12:54 README.md [2021-04-15T12:57:04.668Z] -rw-rw-r--. 1 jenkins jenkins 6654 Apr 15 12:54 README.v2.md [2021-04-15T12:57:04.668Z] drwxrwxr-x. 2 jenkins jenkins 98 Apr 15 12:54 scripts [2021-04-15T12:57:04.668Z] drwxrwxr-x. 4 jenkins jenkins 50 Apr 15 12:54 src [2021-04-15T12:57:04.668Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 15 12:51 VERSION [Pipeline] isUnix [Pipeline] sh [2021-04-15T12:57:05.496Z] + 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=5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f --label arch=amd64 --label version=0.0.0 . [2021-04-15T12:57:06.215Z] Sending build context to Docker daemon 2.523MB [2021-04-15T12:57:06.215Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-04-15T12:57:06.215Z] Step 2/15 : FROM ${BASE} [2021-04-15T12:57:06.215Z] ---> 9d1b82f57e50 [2021-04-15T12:57:06.215Z] Step 3/15 : LABEL maintainer="IOTech " [2021-04-15T12:57:06.902Z] ---> Running in 641772dc1d29 [2021-04-15T12:57:07.190Z] Removing intermediate container 641772dc1d29 [2021-04-15T12:57:07.190Z] ---> 44d965a7d541 [2021-04-15T12:57:07.190Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2021-04-15T12:57:07.484Z] ---> Running in fcd67b4edb36 [2021-04-15T12:57:09.175Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-15T12:57:10.285Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-15T12:57:10.961Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-15T12:57:10.961Z] (2/6) Installing libblkid (2.33-r0) [2021-04-15T12:57:11.242Z] (3/6) Installing libfdisk (2.33-r0) [2021-04-15T12:57:11.242Z] (4/6) Installing libmount (2.33-r0) [2021-04-15T12:57:11.512Z] (5/6) Installing libsmartcols (2.33-r0) [2021-04-15T12:57:11.512Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-04-15T12:57:12.141Z] Executing busybox-1.29.3-r10.trigger [2021-04-15T12:57:12.141Z] OK: 272 MiB in 84 packages [2021-04-15T12:57:13.026Z] Removing intermediate container fcd67b4edb36 [2021-04-15T12:57:13.026Z] ---> 74ca00d4d729 [2021-04-15T12:57:13.026Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-04-15T12:57:14.684Z] ---> de108a80b4b4 [2021-04-15T12:57:14.684Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-04-15T12:57:15.738Z] ---> ae0a537f6629 [2021-04-15T12:57:15.738Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-04-15T12:57:16.889Z] ---> b9ca6fd9e449 [2021-04-15T12:57:16.889Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-04-15T12:57:17.221Z] ---> 52fb632a2b1b [2021-04-15T12:57:17.221Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-04-15T12:57:17.549Z] ---> f5fbb4f25fb8 [2021-04-15T12:57:17.549Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-04-15T12:57:18.285Z] ---> 987f4769ac66 [2021-04-15T12:57:18.285Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-04-15T12:57:18.285Z] ---> Running in 49392325ec6f [2021-04-15T12:57:19.026Z] Removing intermediate container 49392325ec6f [2021-04-15T12:57:19.026Z] ---> 261a4412e484 [2021-04-15T12:57:19.026Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-04-15T12:57:19.397Z] ---> Running in bc5edca5bfb5 [2021-04-15T12:57:19.397Z] Removing intermediate container bc5edca5bfb5 [2021-04-15T12:57:19.397Z] ---> dba0b7a3f6a3 [2021-04-15T12:57:19.397Z] Step 13/15 : LABEL arch=amd64 [2021-04-15T12:57:19.397Z] ---> Running in 7428a7b6e15c [2021-04-15T12:57:19.688Z] Removing intermediate container 7428a7b6e15c [2021-04-15T12:57:19.688Z] ---> 159038f3a399 [2021-04-15T12:57:19.688Z] Step 14/15 : LABEL git_sha=5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f [2021-04-15T12:57:20.002Z] ---> Running in c9c7333832d2 [2021-04-15T12:57:20.002Z] Removing intermediate container c9c7333832d2 [2021-04-15T12:57:20.002Z] ---> 2488a43c1f5f [2021-04-15T12:57:20.002Z] Step 15/15 : LABEL version=0.0.0 [2021-04-15T12:57:20.416Z] ---> Running in e82b50ebce8a [2021-04-15T12:57:20.753Z] Removing intermediate container e82b50ebce8a [2021-04-15T12:57:20.753Z] ---> 21a1576148f3 [2021-04-15T12:57:20.753Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-15T12:57:20.753Z] Successfully built 21a1576148f3 [2021-04-15T12:57:20.753Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-15T12:57:21.829Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T12:57:22.598Z] ---> package-listing.sh [2021-04-15T12:57:22.598Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-15T12:57:22.598Z] ++ facter osfamily [2021-04-15T12:57:22.891Z] + OS_FAMILY=redhat [2021-04-15T12:57:22.891Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-336 [2021-04-15T12:57:22.891Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-15T12:57:22.891Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-15T12:57:22.891Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-15T12:57:22.891Z] + PACKAGES=/tmp/packages_start.txt [2021-04-15T12:57:22.891Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-336 ']' [2021-04-15T12:57:22.891Z] + PACKAGES=/tmp/packages_end.txt [2021-04-15T12:57:22.891Z] + case "${OS_FAMILY}" in [2021-04-15T12:57:22.891Z] + rpm -qa [2021-04-15T12:57:22.891Z] + sort [2021-04-15T12:57:31.315Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-15T12:57:31.315Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-15T12:57:31.315Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-15T12:57:31.315Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-336 ']' [2021-04-15T12:57:31.315Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-336/archives/ [2021-04-15T12:57:31.315Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-336/archives/ [Pipeline] echo [2021-04-15T12:57:31.334Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-15T12:57:31.726Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-15T12:57:32.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-15T12:57:32.714Z] [2021-04-15T12:57:32.714Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-15T12:57:33.064Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-15T12:57:33.344Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-15T12:57:33.344Z] df20fa9351a1: Pulling fs layer [2021-04-15T12:57:33.344Z] 36b3adc4ff6f: Pulling fs layer [2021-04-15T12:57:33.344Z] 8ad3a11d3b57: Pulling fs layer [2021-04-15T12:57:33.344Z] 46f8f816bc3b: Pulling fs layer [2021-04-15T12:57:33.344Z] 93b61091891f: Pulling fs layer [2021-04-15T12:57:33.344Z] 93b9cdb0e59b: Pulling fs layer [2021-04-15T12:57:33.344Z] 5e14af77c1be: Pulling fs layer [2021-04-15T12:57:33.344Z] 01666e4c0597: Pulling fs layer [2021-04-15T12:57:33.344Z] aa168da1d23b: Pulling fs layer [2021-04-15T12:57:33.344Z] 93b61091891f: Waiting [2021-04-15T12:57:33.344Z] 93b9cdb0e59b: Waiting [2021-04-15T12:57:33.344Z] 5e14af77c1be: Waiting [2021-04-15T12:57:33.344Z] 01666e4c0597: Waiting [2021-04-15T12:57:33.344Z] aa168da1d23b: Waiting [2021-04-15T12:57:33.344Z] 46f8f816bc3b: Waiting [2021-04-15T12:57:33.344Z] 36b3adc4ff6f: Download complete [2021-04-15T12:57:33.344Z] 46f8f816bc3b: Verifying Checksum [2021-04-15T12:57:33.344Z] 46f8f816bc3b: Download complete [2021-04-15T12:57:33.638Z] 93b61091891f: Verifying Checksum [2021-04-15T12:57:33.638Z] 93b61091891f: Download complete [2021-04-15T12:57:33.638Z] 93b9cdb0e59b: Verifying Checksum [2021-04-15T12:57:33.638Z] 93b9cdb0e59b: Download complete [2021-04-15T12:57:33.638Z] df20fa9351a1: Verifying Checksum [2021-04-15T12:57:33.638Z] df20fa9351a1: Download complete [2021-04-15T12:57:33.638Z] 5e14af77c1be: Verifying Checksum [2021-04-15T12:57:33.638Z] 5e14af77c1be: Download complete [2021-04-15T12:57:33.638Z] 01666e4c0597: Verifying Checksum [2021-04-15T12:57:33.638Z] 01666e4c0597: Download complete [2021-04-15T12:57:34.667Z] 8ad3a11d3b57: Verifying Checksum [2021-04-15T12:57:34.667Z] 8ad3a11d3b57: Download complete [2021-04-15T12:57:35.072Z] df20fa9351a1: Pull complete [2021-04-15T12:57:35.426Z] 36b3adc4ff6f: Pull complete [2021-04-15T12:57:38.341Z] 8ad3a11d3b57: Pull complete [2021-04-15T12:57:38.341Z] 46f8f816bc3b: Pull complete [2021-04-15T12:57:39.526Z] 93b61091891f: Pull complete [2021-04-15T12:57:39.940Z] 93b9cdb0e59b: Pull complete [2021-04-15T12:57:40.267Z] 5e14af77c1be: Pull complete [2021-04-15T12:57:40.645Z] 01666e4c0597: Pull complete [2021-04-15T12:57:42.822Z] aa168da1d23b: Verifying Checksum [2021-04-15T12:57:42.823Z] aa168da1d23b: Download complete [2021-04-15T12:58:06.163Z] aa168da1d23b: Pull complete [2021-04-15T12:58:06.163Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-15T12:58:06.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-15T12:58:06.163Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-15T12:58:06.713Z] prd-centos7-docker-4c-2g-272 does not seem to be running inside a container [2021-04-15T12:58:06.909Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-336 -v /w/workspace/edgexfoundry_device-sdk-c_PR-336:/w/workspace/edgexfoundry_device-sdk-c_PR-336:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-15T12:58:11.061Z] $ docker top b890d8b62a48d4ab0462d9bf6e5b9ac276f7b50461c82ffee34b23495fbe3f28 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T12:58:12.233Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-15T12:58:12.932Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-15T12:58:13.282Z] + ls /var/log/sa-host [2021-04-15T12:58:13.282Z] + sadf -c /var/log/sa-host/sa15 [2021-04-15T12:58:13.282Z] file_magic: OK [2021-04-15T12:58:13.282Z] HZ: Using current value: 100 [2021-04-15T12:58:13.282Z] file_header: OK [2021-04-15T12:58:13.282Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-15T12:58:13.282Z] Statistics: [2021-04-15T12:58:13.282Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-15T12:58:13.282Z] File successfully converted to sysstat format version 12.2.1 [2021-04-15T12:58:13.282Z] + sadf -c /var/log/sa-host/sa23 [2021-04-15T12:58:13.282Z] file_magic: OK [2021-04-15T12:58:13.282Z] HZ: Using current value: 100 [2021-04-15T12:58:13.282Z] file_header: OK [2021-04-15T12:58:13.282Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-15T12:58:13.282Z] Statistics: [2021-04-15T12:58:13.282Z] Hnuu...uuuununununu... [2021-04-15T12:58:13.282Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-15T12:58:13.939Z] provisioning config files... [2021-04-15T12:58:13.964Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/config2984445852777688955tmp [Pipeline] { [Pipeline] echo [2021-04-15T12:58:14.022Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T12:58:14.871Z] ---> create-netrc.sh [Pipeline] } [2021-04-15T12:58:15.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-15T12:58:15.208Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T12:58:16.008Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-15T12:58:16.132Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T12:58:17.347Z] ---> sudo-logs.sh [2021-04-15T12:58:17.348Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-15T12:58:17.387Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T12:58:18.552Z] ---> job-cost.sh [2021-04-15T12:58:18.552Z] lf-activate-venv: SKIPPING [2021-04-15T12:58:18.552Z] INFO: No Stack... [2021-04-15T12:58:20.185Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-15T12:58:20.609Z] INFO: Archiving Costs [Pipeline] echo [2021-04-15T12:58:20.631Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T12:58:21.783Z] ---> logs-deploy.sh [2021-04-15T12:58:21.783Z] lf-activate-venv: SKIPPING [2021-04-15T12:58:21.783Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-336/3 [2021-04-15T12:58:21.783Z] INFO: archiving workspace using pattern(s): [2021-04-15T12:58:25.469Z] Archives upload complete. [2021-04-15T12:58:25.469Z] INFO: archiving logs to Nexus