Pull request #323 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 7ad117a825f59d4b1585001b9d81f9b067de5d39+b1e46617e5a0ed805d96c3bfac3e1e8765df3ccd (3c141251285ceb7a5a75bf59790b7c1a81a0863e) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-26502 in /w/workspace/edgexfoundry_device-sdk-c_PR-323 [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-323 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/323/head:refs/remotes/origin/PR-323 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b1e46617e5a0ed805d96c3bfac3e1e8765df3ccd into PR head commit 7ad117a825f59d4b1585001b9d81f9b067de5d39 Merge succeeded, producing 7ad117a825f59d4b1585001b9d81f9b067de5d39 Checking out Revision 7ad117a825f59d4b1585001b9d81f9b067de5d39 (PR-323) > git config core.sparsecheckout # timeout=10 > git checkout -f 7ad117a825f59d4b1585001b9d81f9b067de5d39 # 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 b1e46617e5a0ed805d96c3bfac3e1e8765df3ccd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ad117a825f59d4b1585001b9d81f9b067de5d39 # timeout=10 Commit message: "refactor: clarity on boolean returns" > git rev-list --no-walk cc8eb66e59855b5380063143aa7806901ab6b39e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-15T14:07:16.167Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-15T14:07:16.480Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-15T14:07:16.580Z] ========================================================= [2021-02-15T14:07:16.580Z] EdgeX Global Pipelines Version Info [2021-02-15T14:07:16.580Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:07:21.903Z] ------------------- [2021-02-15T14:07:21.903Z] stable info: [2021-02-15T14:07:21.903Z] ------------------- [2021-02-15T14:07:21.903Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-15T14:07:21.903Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-15T14:07:21.903Z] Message: update stable to v1.0.179 [2021-02-15T14:07:23.018Z] ------------------- [2021-02-15T14:07:23.018Z] experimental info: [2021-02-15T14:07:23.018Z] ------------------- [2021-02-15T14:07:23.018Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-15T14:07:23.018Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-15T14:07:23.018Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-15T14:07:23.351Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-02-15T14:07:23.489Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-02-15T14:07:23.594Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-15T14:07:23.693Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-15T14:07:23.787Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-15T14:07:23.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-02-15T14:07:23.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-02-15T14:07:24.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-02-15T14:07:24.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-15T14:07:24.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-02-15T14:07:24.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-15T14:07:24.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-15T14:07:24.574Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-15T14:07:24.668Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-15T14:07:24.757Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-15T14:07:24.866Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-15T14:07:24.957Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-15T14:07:25.047Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-15T14:07:25.147Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-323 [Pipeline] echo [2021-02-15T14:07:25.249Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-323 [Pipeline] echo [2021-02-15T14:07:25.337Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-323 [Pipeline] echo [2021-02-15T14:07:25.423Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ad117a825f59d4b1585001b9d81f9b067de5d39 [Pipeline] echo [2021-02-15T14:07:25.520Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ad117a [Pipeline] echo [2021-02-15T14:07:25.604Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-15T14:07:25.787Z] provisioning config files... [2021-02-15T14:07:25.838Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-323@tmp/config1411364416967595849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:07:26.858Z] ---> docker-login.sh [2021-02-15T14:07:26.858Z] nexus3.edgexfoundry.org:10001 [2021-02-15T14:07:27.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:07:28.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:07:28.255Z] Configure a credential helper to remove this warning. See [2021-02-15T14:07:28.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:07:28.255Z] [2021-02-15T14:07:28.255Z] Login Succeeded [2021-02-15T14:07:28.255Z] nexus3.edgexfoundry.org:10002 [2021-02-15T14:07:28.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:07:28.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:07:28.638Z] Configure a credential helper to remove this warning. See [2021-02-15T14:07:28.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:07:28.638Z] [2021-02-15T14:07:28.638Z] Login Succeeded [2021-02-15T14:07:28.638Z] nexus3.edgexfoundry.org:10003 [2021-02-15T14:07:29.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:07:29.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:07:29.727Z] Configure a credential helper to remove this warning. See [2021-02-15T14:07:29.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:07:29.727Z] [2021-02-15T14:07:29.727Z] Login Succeeded [2021-02-15T14:07:29.727Z] nexus3.edgexfoundry.org:10004 [2021-02-15T14:07:30.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:07:30.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:07:30.404Z] Configure a credential helper to remove this warning. See [2021-02-15T14:07:30.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:07:30.404Z] [2021-02-15T14:07:30.404Z] Login Succeeded [2021-02-15T14:07:30.404Z] docker.io [2021-02-15T14:07:30.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:07:31.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:07:31.494Z] Configure a credential helper to remove this warning. See [2021-02-15T14:07:31.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:07:31.494Z] [2021-02-15T14:07:31.494Z] Login Succeeded [2021-02-15T14:07:31.494Z] ---> docker-login.sh ends [Pipeline] } [2021-02-15T14:07:31.670Z] 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-02-15T14:07:33.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-15T14:07:33.994Z] [2021-02-15T14:07:33.994Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:07:34.633Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-15T14:07:34.995Z] latest: Pulling from edgex-devops/git-semver [2021-02-15T14:07:34.995Z] 31603596830f: Pulling fs layer [2021-02-15T14:07:34.995Z] 2a8b12db71e7: Pulling fs layer [2021-02-15T14:07:34.995Z] 6ca5941a6612: Pulling fs layer [2021-02-15T14:07:34.995Z] ecc8261a40a4: Pulling fs layer [2021-02-15T14:07:34.995Z] ecc8261a40a4: Waiting [2021-02-15T14:07:34.995Z] 2a8b12db71e7: Verifying Checksum [2021-02-15T14:07:34.996Z] 2a8b12db71e7: Download complete [2021-02-15T14:07:35.910Z] 31603596830f: Verifying Checksum [2021-02-15T14:07:35.910Z] 31603596830f: Download complete [2021-02-15T14:07:36.229Z] ecc8261a40a4: Verifying Checksum [2021-02-15T14:07:36.229Z] ecc8261a40a4: Download complete [2021-02-15T14:07:36.972Z] 31603596830f: Pull complete [2021-02-15T14:07:37.273Z] 6ca5941a6612: Verifying Checksum [2021-02-15T14:07:37.273Z] 6ca5941a6612: Download complete [2021-02-15T14:07:37.915Z] 2a8b12db71e7: Pull complete [2021-02-15T14:07:39.389Z] 6ca5941a6612: Pull complete [2021-02-15T14:07:39.389Z] ecc8261a40a4: Pull complete [2021-02-15T14:07:39.389Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-15T14:07:39.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-15T14:07:39.389Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-15T14:07:40.187Z] prd-centos7-docker-4c-2g-26502 does not seem to be running inside a container [2021-02-15T14:07:40.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-323 -v /w/workspace/edgexfoundry_device-sdk-c_PR-323:/w/workspace/edgexfoundry_device-sdk-c_PR-323:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-323@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-15T14:07:45.777Z] $ docker top 5f3504c203a5856acf6fbc1cfc96e8e66328a9199f5091eacf9dea7169e46905 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-15T14:07:46.633Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-15T14:07:46.633Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-15T14:07:47.675Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-15T14:07:47.680Z] $ docker exec 5f3504c203a5856acf6fbc1cfc96e8e66328a9199f5091eacf9dea7169e46905 ssh-agent [2021-02-15T14:07:48.139Z] SSH_AUTH_SOCK=/tmp/ssh-tEctW8JHlLmd/agent.12 [2021-02-15T14:07:48.139Z] SSH_AGENT_PID=17 [2021-02-15T14:07:48.172Z] Running ssh-add (command line suppressed) [2021-02-15T14:07:48.542Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-323@tmp/private_key_345394423182326184.key (/w/workspace/edgexfoundry_device-sdk-c_PR-323@tmp/private_key_345394423182326184.key) [2021-02-15T14:07:48.652Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-15T14:07:49.268Z] + git tag --points-at HEAD [Pipeline] } [2021-02-15T14:07:50.807Z] $ docker exec --env ******** --env ******** 5f3504c203a5856acf6fbc1cfc96e8e66328a9199f5091eacf9dea7169e46905 ssh-agent -k [2021-02-15T14:07:51.500Z] unset SSH_AUTH_SOCK; [2021-02-15T14:07:51.501Z] unset SSH_AGENT_PID; [2021-02-15T14:07:51.501Z] echo Agent pid 17 killed; [2021-02-15T14:07:51.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-15T14:07:51.756Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-15T14:07:51.756Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-15T14:07:52.115Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-15T14:07:52.128Z] $ docker exec 5f3504c203a5856acf6fbc1cfc96e8e66328a9199f5091eacf9dea7169e46905 ssh-agent [2021-02-15T14:07:52.370Z] SSH_AUTH_SOCK=/tmp/ssh-Pk8q9LmXI22f/agent.46 [2021-02-15T14:07:52.370Z] SSH_AGENT_PID=52 [2021-02-15T14:07:52.410Z] Running ssh-add (command line suppressed) [2021-02-15T14:07:53.401Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-323@tmp/private_key_715280739822914194.key (/w/workspace/edgexfoundry_device-sdk-c_PR-323@tmp/private_key_715280739822914194.key) [2021-02-15T14:07:54.185Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-15T14:07:55.692Z] + git semver init [2021-02-15T14:07:55.693Z] # -> Open(): unable to determine branch for HEAD [2021-02-15T14:07:55.693Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-323/.git [2021-02-15T14:07:55.693Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-323 [2021-02-15T14:07:55.693Z] # $SEMVER_REMOTE_NAME = origin [2021-02-15T14:07:55.693Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-15T14:07:55.693Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-15T14:07:55.693Z] # $SEMVER_BRANCH = PR-323 [2021-02-15T14:07:55.693Z] # $SEMVER_TEMP = /tmp/semver-134535417 [2021-02-15T14:07:55.693Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-02-15T14:07:57.990Z] # '/tmp/semver-134535417' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-323/.semver' [2021-02-15T14:07:57.990Z] # -> Force: false [2021-02-15T14:07:57.990Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-323/.semver [Pipeline] } [2021-02-15T14:07:58.030Z] $ docker exec --env ******** --env ******** 5f3504c203a5856acf6fbc1cfc96e8e66328a9199f5091eacf9dea7169e46905 ssh-agent -k [2021-02-15T14:07:58.413Z] unset SSH_AUTH_SOCK; [2021-02-15T14:07:58.415Z] unset SSH_AGENT_PID; [2021-02-15T14:07:58.415Z] echo Agent pid 52 killed; [2021-02-15T14:07:58.503Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-15T14:07:59.234Z] + git semver [Pipeline] } [2021-02-15T14:07:59.543Z] $ docker stop --time=1 5f3504c203a5856acf6fbc1cfc96e8e66328a9199f5091eacf9dea7169e46905 [2021-02-15T14:08:01.581Z] $ docker rm -f 5f3504c203a5856acf6fbc1cfc96e8e66328a9199f5091eacf9dea7169e46905 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-15T14:08:03.252Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-15T14:08:05.297Z] Stashed 1 file(s) [Pipeline] echo [2021-02-15T14:08:05.300Z] [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-02-15T14:08:20.676Z] Still waiting to schedule task [2021-02-15T14:08:20.676Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26502’ [2021-02-15T14:08:20.679Z] Still waiting to schedule task [2021-02-15T14:08:20.679Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-15T14:10:07.418Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-26503 in /w/workspace/edgexfoundry_device-sdk-c_PR-323 [Pipeline] { [Pipeline] ws [2021-02-15T14:10:07.476Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2021-02-15T14:10:12.178Z] using credential edgex-jenkins-ssh [2021-02-15T14:10:12.239Z] Cloning the remote Git repository [2021-02-15T14:10:12.305Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-02-15T14:10:12.441Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2021-02-15T14:10:12.541Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-15T14:10:12.541Z] > git --version # timeout=10 [2021-02-15T14:10:12.570Z] > git --version # 'git version 2.17.1' [2021-02-15T14:10:12.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-15T14:10:12.632Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-15T14:10:13.623Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-15T14:10:13.641Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-15T14:10:13.672Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-15T14:10:13.705Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-15T14:10:13.705Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-15T14:10:13.716Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/323/head:refs/remotes/origin/PR-323 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-15T14:10:14.344Z] Merging remotes/origin/master commit b1e46617e5a0ed805d96c3bfac3e1e8765df3ccd into PR head commit 7ad117a825f59d4b1585001b9d81f9b067de5d39 [2021-02-15T14:10:14.573Z] Merge succeeded, producing 7ad117a825f59d4b1585001b9d81f9b067de5d39 [2021-02-15T14:10:14.574Z] Checking out Revision 7ad117a825f59d4b1585001b9d81f9b067de5d39 (PR-323) [2021-02-15T14:10:14.364Z] > git config core.sparsecheckout # timeout=10 [2021-02-15T14:10:14.383Z] > git checkout -f 7ad117a825f59d4b1585001b9d81f9b067de5d39 # timeout=10 [2021-02-15T14:10:14.493Z] > git remote # timeout=10 [2021-02-15T14:10:14.509Z] > git config --get remote.origin.url # timeout=10 [2021-02-15T14:10:14.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-15T14:10:14.539Z] > git merge b1e46617e5a0ed805d96c3bfac3e1e8765df3ccd # timeout=10 [2021-02-15T14:10:14.561Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-15T14:10:14.582Z] > git config core.sparsecheckout # timeout=10 [2021-02-15T14:10:14.598Z] > git checkout -f 7ad117a825f59d4b1585001b9d81f9b067de5d39 # timeout=10 [2021-02-15T14:10:19.085Z] Commit message: "refactor: clarity on boolean returns" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-15T14:10:20.750Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-15T14:10:21.195Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-15T14:10:21.533Z] + true [2021-02-15T14:10:21.533Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-15T14:10:24.222Z] provisioning config files... [2021-02-15T14:10:24.263Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config1338697559165995014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:10:24.678Z] ---> docker-login.sh [2021-02-15T14:10:24.678Z] nexus3.edgexfoundry.org:10001 [2021-02-15T14:10:25.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:10:25.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:10:25.934Z] Configure a credential helper to remove this warning. See [2021-02-15T14:10:25.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:10:25.934Z] [2021-02-15T14:10:25.934Z] Login Succeeded [2021-02-15T14:10:25.934Z] nexus3.edgexfoundry.org:10002 [2021-02-15T14:10:26.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:10:26.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:10:26.486Z] Configure a credential helper to remove this warning. See [2021-02-15T14:10:26.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:10:26.486Z] [2021-02-15T14:10:26.486Z] Login Succeeded [2021-02-15T14:10:26.486Z] nexus3.edgexfoundry.org:10003 [2021-02-15T14:10:26.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:10:27.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:10:27.035Z] Configure a credential helper to remove this warning. See [2021-02-15T14:10:27.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:10:27.035Z] [2021-02-15T14:10:27.035Z] Login Succeeded [2021-02-15T14:10:27.035Z] nexus3.edgexfoundry.org:10004 [2021-02-15T14:10:27.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:10:27.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:10:27.583Z] Configure a credential helper to remove this warning. See [2021-02-15T14:10:27.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:10:27.583Z] [2021-02-15T14:10:27.583Z] Login Succeeded [2021-02-15T14:10:27.583Z] docker.io [2021-02-15T14:10:28.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:10:28.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:10:28.452Z] Configure a credential helper to remove this warning. See [2021-02-15T14:10:28.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:10:28.452Z] [2021-02-15T14:10:28.452Z] Login Succeeded [2021-02-15T14:10:28.452Z] ---> docker-login.sh ends [Pipeline] } [2021-02-15T14:10:28.469Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-15T14:10:28.891Z] ========================================================= [2021-02-15T14:10:28.891Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-02-15T14:10:28.891Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:10:29.304Z] + 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-02-15T14:10:29.909Z] Sending build context to Docker daemon 2.512MB [2021-02-15T14:10:29.909Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-02-15T14:10:29.909Z] Step 2/21 : FROM ${BASE} as builder [2021-02-15T14:10:29.909Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-02-15T14:10:29.909Z] 0362ad1dd800: Pulling fs layer [2021-02-15T14:10:29.909Z] f2cdb1532d8b: Pulling fs layer [2021-02-15T14:10:29.909Z] 37ed683be191: Pulling fs layer [2021-02-15T14:10:29.909Z] f2cdb1532d8b: Verifying Checksum [2021-02-15T14:10:29.909Z] f2cdb1532d8b: Download complete [2021-02-15T14:10:30.504Z] 0362ad1dd800: Verifying Checksum [2021-02-15T14:10:30.504Z] 0362ad1dd800: Download complete [2021-02-15T14:10:31.489Z] 0362ad1dd800: Pull complete [2021-02-15T14:10:31.762Z] f2cdb1532d8b: Pull complete [2021-02-15T14:10:32.740Z] 37ed683be191: Verifying Checksum [2021-02-15T14:10:32.740Z] 37ed683be191: Download complete [2021-02-15T14:10:39.602Z] Running on prd-centos7-docker-4c-2g-26504 in /w/workspace/edgexfoundry_device-sdk-c_PR-323 [Pipeline] { [Pipeline] ws [2021-02-15T14:10:39.709Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2021-02-15T14:10:42.413Z] using credential edgex-jenkins-ssh [2021-02-15T14:10:42.475Z] Cloning the remote Git repository [2021-02-15T14:10:42.915Z] 37ed683be191: Pull complete [2021-02-15T14:10:42.915Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-02-15T14:10:42.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-02-15T14:10:42.915Z] ---> b23d30803547 [2021-02-15T14:10:42.915Z] 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-02-15T14:10:42.134Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-02-15T14:10:42.248Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2021-02-15T14:10:42.350Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-15T14:10:42.350Z] > git --version # timeout=10 [2021-02-15T14:10:42.361Z] > git --version # 'git version 2.24.3' [2021-02-15T14:10:42.362Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-15T14:10:42.402Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-15T14:10:43.507Z] ---> Running in e62b085cb69e [2021-02-15T14:10:44.037Z] Merging remotes/origin/master commit b1e46617e5a0ed805d96c3bfac3e1e8765df3ccd into PR head commit 7ad117a825f59d4b1585001b9d81f9b067de5d39 [2021-02-15T14:10:44.151Z] Merge succeeded, producing 7ad117a825f59d4b1585001b9d81f9b067de5d39 [2021-02-15T14:10:44.152Z] Checking out Revision 7ad117a825f59d4b1585001b9d81f9b067de5d39 (PR-323) [2021-02-15T14:10:43.186Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-15T14:10:43.196Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-15T14:10:43.211Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-15T14:10:43.226Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-15T14:10:43.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-15T14:10:43.232Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/323/head:refs/remotes/origin/PR-323 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-15T14:10:43.807Z] > git config core.sparsecheckout # timeout=10 [2021-02-15T14:10:43.813Z] > git checkout -f 7ad117a825f59d4b1585001b9d81f9b067de5d39 # timeout=10 [2021-02-15T14:10:43.871Z] > git remote # timeout=10 [2021-02-15T14:10:43.880Z] > git config --get remote.origin.url # timeout=10 [2021-02-15T14:10:43.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-15T14:10:43.898Z] > git merge b1e46617e5a0ed805d96c3bfac3e1e8765df3ccd # timeout=10 [2021-02-15T14:10:43.911Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-15T14:10:43.924Z] > git config core.sparsecheckout # timeout=10 [2021-02-15T14:10:43.935Z] > git checkout -f 7ad117a825f59d4b1585001b9d81f9b067de5d39 # timeout=10 [2021-02-15T14:10:44.504Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-15T14:10:45.478Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-15T14:10:45.749Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-15T14:10:46.018Z] (2/8) Installing libuuid (2.33-r0) [2021-02-15T14:10:46.019Z] (3/8) Installing libblkid (2.33-r0) [2021-02-15T14:10:46.019Z] (4/8) Installing libfdisk (2.33-r0) [2021-02-15T14:10:46.288Z] (5/8) Installing libmount (2.33-r0) [2021-02-15T14:10:46.288Z] (6/8) Installing libsmartcols (2.33-r0) [2021-02-15T14:10:46.288Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-02-15T14:10:46.881Z] (8/8) Installing wget (1.20.3-r0) [2021-02-15T14:10:46.881Z] Executing busybox-1.29.3-r10.trigger [2021-02-15T14:10:47.153Z] OK: 285 MiB in 83 packages [2021-02-15T14:10:47.667Z] Commit message: "refactor: clarity on boolean returns" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-15T14:10:48.595Z] Removing intermediate container e62b085cb69e [2021-02-15T14:10:48.595Z] ---> 392dcb7b0e3e [2021-02-15T14:10:48.595Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-02-15T14:10:48.595Z] ---> Running in 5c7a11e097da [2021-02-15T14:10:48.866Z] Removing intermediate container 5c7a11e097da [2021-02-15T14:10:48.866Z] ---> b3ff0e2569a0 [2021-02-15T14:10:48.866Z] 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-02-15T14:10:48.898Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-15T14:10:49.140Z] ---> Running in 50071a69c60e [2021-02-15T14:10:49.244Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-15T14:10:49.549Z] + sudo service docker restart [2021-02-15T14:10:49.549Z] + true [2021-02-15T14:10:49.549Z] Redirecting to /bin/systemctl restart docker.service [2021-02-15T14:10:50.122Z] --2021-02-15 14:10:49-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-02-15T14:10:50.122Z] Resolving github.com... 140.82.112.4 [2021-02-15T14:10:50.122Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-02-15T14:10:50.396Z] HTTP request sent, awaiting response... 302 Found [2021-02-15T14:10:50.396Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-02-15T14:10:50.396Z] --2021-02-15 14:10:50-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-02-15T14:10:50.396Z] Resolving codeload.github.com... 140.82.114.9 [2021-02-15T14:10:50.396Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-02-15T14:10:50.396Z] HTTP request sent, awaiting response... 200 OK [2021-02-15T14:10:50.396Z] Length: unspecified [application/x-gzip] [2021-02-15T14:10:50.396Z] Saving to: 'STDOUT' [2021-02-15T14:10:50.396Z]  [2021-02-15T14:10:50.396Z] 0K .......... .......... .......... .......... .......... 1.45M [2021-02-15T14:10:50.396Z] 50K .......... .......... .......... .......... .......... 2.78M [2021-02-15T14:10:50.396Z] 100K .......... .......... .......... .......... .......... 12.5M [2021-02-15T14:10:50.396Z] 150K .......... .......... .......... .......... .......... 4.02M [2021-02-15T14:10:50.396Z] 200K .......... .......... .......... .......... .......... 10.6M [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-15T14:10:50.574Z] provisioning config files... [2021-02-15T14:10:50.603Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config38110959063163962tmp [Pipeline] { [2021-02-15T14:10:50.673Z] 250K .......... .......... .......... .......... .......... 3.39M [2021-02-15T14:10:50.673Z] 300K .......... .......... .......... .......... .......... 3.83M [2021-02-15T14:10:50.673Z] 350K .......... .......... .......... .......... .......... 4.09M [2021-02-15T14:10:50.673Z] 400K .......... .......... .......... .......... .......... 3.68M [2021-02-15T14:10:50.673Z] 450K .......... .......... .......... .......... .......... 3.97M [2021-02-15T14:10:50.673Z] 500K .......... .......... .......... .......... .......... 9.19M [2021-02-15T14:10:50.673Z] 550K .......... .......... .......... .......... .......... 2.51M [2021-02-15T14:10:50.673Z] 600K .......... .......... .......... .......... .......... 872K [2021-02-15T14:10:50.673Z] 650K .......... .......... .......... .......... .......... 2.18M [2021-02-15T14:10:50.673Z] 700K ..   4.10M=0.2s [2021-02-15T14:10:50.673Z] [2021-02-15T14:10:50.673Z] 2021-02-15 14:10:50 (2.84 MB/s) - written to stdout [719348] [2021-02-15T14:10:50.673Z] [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:10:50.949Z] -- The C compiler identification is GNU 8.3.0 [2021-02-15T14:10:51.021Z] ---> docker-login.sh [2021-02-15T14:10:51.021Z] nexus3.edgexfoundry.org:10001 [2021-02-15T14:10:51.223Z] -- The CXX compiler identification is GNU 8.3.0 [2021-02-15T14:10:51.223Z] -- Check for working C compiler: /usr/bin/cc [2021-02-15T14:10:51.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:10:51.499Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-15T14:10:51.499Z] -- Detecting C compiler ABI info [2021-02-15T14:10:51.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:10:51.555Z] Configure a credential helper to remove this warning. See [2021-02-15T14:10:51.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:10:51.555Z] [2021-02-15T14:10:51.555Z] Login Succeeded [2021-02-15T14:10:51.555Z] nexus3.edgexfoundry.org:10002 [2021-02-15T14:10:51.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:10:51.775Z] -- Detecting C compiler ABI info - done [2021-02-15T14:10:51.775Z] -- Detecting C compile features [2021-02-15T14:10:51.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:10:51.818Z] Configure a credential helper to remove this warning. See [2021-02-15T14:10:51.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:10:51.818Z] [2021-02-15T14:10:51.818Z] Login Succeeded [2021-02-15T14:10:51.818Z] nexus3.edgexfoundry.org:10003 [2021-02-15T14:10:51.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:10:52.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:10:52.082Z] Configure a credential helper to remove this warning. See [2021-02-15T14:10:52.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:10:52.082Z] [2021-02-15T14:10:52.082Z] Login Succeeded [2021-02-15T14:10:52.082Z] nexus3.edgexfoundry.org:10004 [2021-02-15T14:10:52.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:10:52.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:10:52.082Z] Configure a credential helper to remove this warning. See [2021-02-15T14:10:52.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:10:52.082Z] [2021-02-15T14:10:52.082Z] Login Succeeded [2021-02-15T14:10:52.082Z] docker.io [2021-02-15T14:10:52.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:10:52.371Z] -- Detecting C compile features - done [2021-02-15T14:10:52.371Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-02-15T14:10:52.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:10:52.613Z] Configure a credential helper to remove this warning. See [2021-02-15T14:10:52.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:10:52.613Z] [2021-02-15T14:10:52.613Z] Login Succeeded [2021-02-15T14:10:52.613Z] ---> docker-login.sh ends [Pipeline] } [2021-02-15T14:10:52.622Z] Deleting 1 temporary files [2021-02-15T14:10:52.643Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-02-15T14:10:52.643Z] -- Detecting CXX compiler ABI info [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-02-15T14:10:52.915Z] -- Detecting CXX compiler ABI info - done [2021-02-15T14:10:52.915Z] -- Detecting CXX compile features [Pipeline] echo [2021-02-15T14:10:52.919Z] ========================================================= [2021-02-15T14:10:52.919Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-02-15T14:10:52.919Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:10:53.302Z] + 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-02-15T14:10:53.302Z] Sending build context to Docker daemon 2.513MB [2021-02-15T14:10:53.302Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-02-15T14:10:53.302Z] Step 2/21 : FROM ${BASE} as builder [2021-02-15T14:10:53.566Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-02-15T14:10:53.566Z] e7c96db7181b: Pulling fs layer [2021-02-15T14:10:53.566Z] 4c13bbce0fe7: Pulling fs layer [2021-02-15T14:10:53.566Z] 6059c847ac2f: Pulling fs layer [2021-02-15T14:10:53.566Z] 4c13bbce0fe7: Download complete [2021-02-15T14:10:53.566Z] e7c96db7181b: Verifying Checksum [2021-02-15T14:10:53.566Z] e7c96db7181b: Download complete [2021-02-15T14:10:53.882Z] e7c96db7181b: Pull complete [2021-02-15T14:10:54.177Z] 4c13bbce0fe7: Pull complete [2021-02-15T14:10:54.341Z] -- Detecting CXX compile features - done [2021-02-15T14:10:54.615Z] -- Looking for include file endian.h [2021-02-15T14:10:54.615Z] -- Looking for include file endian.h - found [2021-02-15T14:10:54.615Z] -- Check if the system is big endian [2021-02-15T14:10:54.615Z] -- Searching 16 bit integer [2021-02-15T14:10:54.615Z] -- Looking for sys/types.h [2021-02-15T14:10:54.889Z] -- Looking for sys/types.h - found [2021-02-15T14:10:54.889Z] -- Looking for stdint.h [2021-02-15T14:10:55.131Z] 6059c847ac2f: Verifying Checksum [2021-02-15T14:10:55.131Z] 6059c847ac2f: Download complete [2021-02-15T14:10:55.163Z] -- Looking for stdint.h - found [2021-02-15T14:10:55.163Z] -- Looking for stddef.h [2021-02-15T14:10:55.444Z] -- Looking for stddef.h - found [2021-02-15T14:10:55.444Z] -- Check size of unsigned short [2021-02-15T14:10:55.716Z] -- Check size of unsigned short - done [2021-02-15T14:10:55.716Z] -- Using unsigned short [2021-02-15T14:10:55.989Z] -- Check if the system is big endian - little endian [2021-02-15T14:10:55.989Z] -- Check size of size_t [2021-02-15T14:10:56.261Z] -- Check size of size_t - done [2021-02-15T14:10:56.261Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-02-15T14:10:56.261Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-02-15T14:10:56.261Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-02-15T14:10:56.261Z] CMake did not find one. [2021-02-15T14:10:56.261Z] [2021-02-15T14:10:56.261Z] Could not find a package configuration file provided by "cJSON" with any of [2021-02-15T14:10:56.261Z] the following names: [2021-02-15T14:10:56.261Z] [2021-02-15T14:10:56.261Z] cJSONConfig.cmake [2021-02-15T14:10:56.261Z] cjson-config.cmake [2021-02-15T14:10:56.261Z] [2021-02-15T14:10:56.261Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-02-15T14:10:56.261Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-02-15T14:10:56.261Z] provides a separate development package or SDK, be sure it has been [2021-02-15T14:10:56.261Z] installed. [2021-02-15T14:10:56.261Z] [2021-02-15T14:10:56.261Z] [2021-02-15T14:10:56.261Z] -- Configuring done [2021-02-15T14:10:56.533Z] -- Generating done [2021-02-15T14:10:56.533Z] -- Build files have been written to: /tmp/cbor [2021-02-15T14:10:56.533Z] Scanning dependencies of target cbor_shared [2021-02-15T14:10:56.533Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-02-15T14:10:57.523Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-02-15T14:10:57.795Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-02-15T14:10:58.065Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-02-15T14:10:58.656Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-02-15T14:10:58.927Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-02-15T14:10:59.199Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-02-15T14:10:59.199Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-02-15T14:10:59.471Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-02-15T14:10:59.749Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-02-15T14:11:00.343Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-02-15T14:11:00.459Z] 6059c847ac2f: Pull complete [2021-02-15T14:11:00.459Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-02-15T14:11:00.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-02-15T14:11:00.459Z] ---> 5eabd8fd8ba2 [2021-02-15T14:11:00.459Z] 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-02-15T14:11:00.615Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-02-15T14:11:00.886Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-02-15T14:11:01.415Z] ---> Running in 80e4d7083a0c [2021-02-15T14:11:01.485Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-02-15T14:11:01.485Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-02-15T14:11:01.760Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-02-15T14:11:02.034Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-02-15T14:11:02.307Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-02-15T14:11:02.370Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-15T14:11:02.579Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-02-15T14:11:02.851Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-02-15T14:11:03.122Z] [ 40%] Linking C shared library libcbor.so [2021-02-15T14:11:03.122Z] [ 40%] Built target cbor_shared [2021-02-15T14:11:03.122Z] Scanning dependencies of target cbor [2021-02-15T14:11:03.122Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-02-15T14:11:03.323Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-15T14:11:03.587Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-15T14:11:03.587Z] (2/8) Installing libuuid (2.33-r0) [2021-02-15T14:11:03.587Z] (3/8) Installing libblkid (2.33-r0) [2021-02-15T14:11:03.850Z] (4/8) Installing libfdisk (2.33-r0) [2021-02-15T14:11:03.850Z] (5/8) Installing libmount (2.33-r0) [2021-02-15T14:11:04.096Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-02-15T14:11:04.113Z] (6/8) Installing libsmartcols (2.33-r0) [2021-02-15T14:11:04.113Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-02-15T14:11:04.376Z] (8/8) Installing wget (1.20.3-r0) [2021-02-15T14:11:04.641Z] Executing busybox-1.29.3-r10.trigger [2021-02-15T14:11:04.641Z] OK: 272 MiB in 83 packages [2021-02-15T14:11:04.693Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-02-15T14:11:04.693Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-02-15T14:11:05.220Z] Removing intermediate container 80e4d7083a0c [2021-02-15T14:11:05.220Z] ---> 9c518003e735 [2021-02-15T14:11:05.220Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-02-15T14:11:05.220Z] ---> Running in 6cb6d3527b6c [2021-02-15T14:11:05.486Z] Removing intermediate container 6cb6d3527b6c [2021-02-15T14:11:05.486Z] ---> 6abd9fd526b0 [2021-02-15T14:11:05.486Z] 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-02-15T14:11:05.486Z] ---> Running in b0de12ad73eb [2021-02-15T14:11:06.069Z] --2021-02-15 14:11:06-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-02-15T14:11:06.069Z] Resolving github.com... 140.82.112.4 [2021-02-15T14:11:06.069Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-02-15T14:11:06.121Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-02-15T14:11:06.121Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-02-15T14:11:06.335Z] HTTP request sent, awaiting response... 302 Found [2021-02-15T14:11:06.335Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-02-15T14:11:06.335Z] --2021-02-15 14:11:06-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-02-15T14:11:06.335Z] Resolving codeload.github.com... 140.82.114.9 [2021-02-15T14:11:06.335Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-02-15T14:11:06.336Z] HTTP request sent, awaiting response... 200 OK [2021-02-15T14:11:06.336Z] Length: unspecified [application/x-gzip] [2021-02-15T14:11:06.336Z] Saving to: 'STDOUT' [2021-02-15T14:11:06.336Z] [2021-02-15T14:11:06.336Z] 0K .......... .......... .......... .......... .......... 1.59M [2021-02-15T14:11:06.336Z] 50K .......... .......... .......... .......... .......... 3.32M [2021-02-15T14:11:06.336Z] 100K .......... .......... .......... .......... .......... 21.0M [2021-02-15T14:11:06.336Z] 150K .......... .......... .......... .......... .......... 30.1M [2021-02-15T14:11:06.336Z] 200K .......... .......... .......... .......... .......... 4.02M [2021-02-15T14:11:06.336Z] 250K .......... .......... .......... .......... .......... 6.31M [2021-02-15T14:11:06.336Z] 300K .......... .......... .......... .......... .......... 9.99M [2021-02-15T14:11:06.336Z] 350K .......... .......... .......... .......... .......... 7.43M [2021-02-15T14:11:06.336Z] 400K .......... .......... .......... .......... .......... 8.22M [2021-02-15T14:11:06.336Z] 450K .......... .......... .......... .......... .......... 6.61M [2021-02-15T14:11:06.336Z] 500K .......... .......... .......... .......... .......... 14.5M [2021-02-15T14:11:06.336Z] 550K .......... .......... .......... .......... .......... 5.46M [2021-02-15T14:11:06.391Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-02-15T14:11:06.603Z] 600K .......... .......... .......... .......... .......... 1.80M [2021-02-15T14:11:06.604Z] 650K .......... .......... .......... .......... .......... 3.46M [2021-02-15T14:11:06.604Z] 700K .. 41.5M=0.1s [2021-02-15T14:11:06.604Z] [2021-02-15T14:11:06.604Z] 2021-02-15 14:11:06 (4.65 MB/s) - written to stdout [719348] [2021-02-15T14:11:06.604Z] [2021-02-15T14:11:06.604Z] -- The C compiler identification is GNU 8.3.0 [2021-02-15T14:11:06.664Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-02-15T14:11:06.664Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-02-15T14:11:06.868Z] -- The CXX compiler identification is GNU 8.3.0 [2021-02-15T14:11:06.868Z] -- Check for working C compiler: /usr/bin/cc [2021-02-15T14:11:06.868Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-15T14:11:06.868Z] -- Detecting C compiler ABI info [2021-02-15T14:11:06.868Z] -- Detecting C compiler ABI info - done [2021-02-15T14:11:06.868Z] -- Detecting C compile features [2021-02-15T14:11:07.135Z] -- Detecting C compile features - done [2021-02-15T14:11:07.135Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-02-15T14:11:07.262Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-02-15T14:11:07.399Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-02-15T14:11:07.399Z] -- Detecting CXX compiler ABI info [2021-02-15T14:11:07.399Z] -- Detecting CXX compiler ABI info - done [2021-02-15T14:11:07.399Z] -- Detecting CXX compile features [2021-02-15T14:11:07.855Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-02-15T14:11:07.977Z] -- Detecting CXX compile features - done [2021-02-15T14:11:07.977Z] -- Looking for include file endian.h [2021-02-15T14:11:07.977Z] -- Looking for include file endian.h - found [2021-02-15T14:11:07.977Z] -- Check if the system is big endian [2021-02-15T14:11:07.977Z] -- Searching 16 bit integer [2021-02-15T14:11:07.977Z] -- Looking for sys/types.h [2021-02-15T14:11:07.977Z] -- Looking for sys/types.h - found [2021-02-15T14:11:07.977Z] -- Looking for stdint.h [2021-02-15T14:11:08.127Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-02-15T14:11:08.241Z] -- Looking for stdint.h - found [2021-02-15T14:11:08.241Z] -- Looking for stddef.h [2021-02-15T14:11:08.241Z] -- Looking for stddef.h - found [2021-02-15T14:11:08.241Z] -- Check size of unsigned short [2021-02-15T14:11:08.241Z] -- Check size of unsigned short - done [2021-02-15T14:11:08.241Z] -- Using unsigned short [2021-02-15T14:11:08.399Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-02-15T14:11:08.504Z] -- Check if the system is big endian - little endian [2021-02-15T14:11:08.504Z] -- Check size of size_t [2021-02-15T14:11:08.504Z] -- Check size of size_t - done [2021-02-15T14:11:08.504Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-02-15T14:11:08.504Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-02-15T14:11:08.504Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-02-15T14:11:08.504Z] CMake did not find one. [2021-02-15T14:11:08.504Z] [2021-02-15T14:11:08.504Z] Could not find a package configuration file provided by "cJSON" with any of [2021-02-15T14:11:08.504Z] the following names: [2021-02-15T14:11:08.504Z] [2021-02-15T14:11:08.504Z] cJSONConfig.cmake [2021-02-15T14:11:08.504Z] cjson-config.cmake [2021-02-15T14:11:08.504Z] [2021-02-15T14:11:08.504Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-02-15T14:11:08.504Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-02-15T14:11:08.504Z] provides a separate development package or SDK, be sure it has been [2021-02-15T14:11:08.504Z] installed. [2021-02-15T14:11:08.504Z] [2021-02-15T14:11:08.504Z] [2021-02-15T14:11:08.504Z] -- Configuring done [2021-02-15T14:11:08.671Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-02-15T14:11:08.767Z] -- Generating done [2021-02-15T14:11:08.767Z] -- Build files have been written to: /tmp/cbor [2021-02-15T14:11:08.767Z] Scanning dependencies of target cbor_shared [2021-02-15T14:11:08.767Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-02-15T14:11:08.945Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-02-15T14:11:09.029Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-02-15T14:11:09.029Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-02-15T14:11:09.218Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-02-15T14:11:09.291Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-02-15T14:11:09.292Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-02-15T14:11:09.292Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-02-15T14:11:09.490Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-02-15T14:11:09.557Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-02-15T14:11:09.557Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-02-15T14:11:09.557Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-02-15T14:11:09.557Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-02-15T14:11:09.761Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-02-15T14:11:09.821Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-02-15T14:11:09.821Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-02-15T14:11:10.033Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-02-15T14:11:10.085Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-02-15T14:11:10.085Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-02-15T14:11:10.085Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-02-15T14:11:10.306Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-02-15T14:11:10.348Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-02-15T14:11:10.348Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-02-15T14:11:10.348Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-02-15T14:11:10.579Z] [ 80%] Linking C static library libcbor.a [2021-02-15T14:11:10.579Z] [ 80%] Built target cbor [2021-02-15T14:11:10.579Z] Scanning dependencies of target create_items [2021-02-15T14:11:10.579Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-02-15T14:11:10.610Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-02-15T14:11:10.610Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-02-15T14:11:10.610Z] [ 40%] Linking C shared library libcbor.so [2021-02-15T14:11:10.610Z] [ 40%] Built target cbor_shared [2021-02-15T14:11:10.610Z] Scanning dependencies of target cbor [2021-02-15T14:11:10.610Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-02-15T14:11:10.850Z] [ 84%] Linking C executable create_items [2021-02-15T14:11:10.850Z] [ 84%] Built target create_items [2021-02-15T14:11:10.850Z] Scanning dependencies of target readfile [2021-02-15T14:11:10.872Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-02-15T14:11:11.123Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-02-15T14:11:11.124Z] [ 88%] Linking C executable readfile [2021-02-15T14:11:11.134Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-02-15T14:11:11.134Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-02-15T14:11:11.394Z] [ 88%] Built target readfile [2021-02-15T14:11:11.394Z] Scanning dependencies of target streaming_parser [2021-02-15T14:11:11.394Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-02-15T14:11:11.396Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-02-15T14:11:11.396Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-02-15T14:11:11.660Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-02-15T14:11:11.660Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-02-15T14:11:11.660Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-02-15T14:11:11.665Z] [ 92%] Linking C executable streaming_parser [2021-02-15T14:11:11.666Z] [ 92%] Built target streaming_parser [2021-02-15T14:11:11.666Z] Scanning dependencies of target sort [2021-02-15T14:11:11.666Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-02-15T14:11:11.925Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-02-15T14:11:11.925Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-02-15T14:11:11.938Z] [ 96%] Linking C executable sort [2021-02-15T14:11:11.938Z] [ 96%] Built target sort [2021-02-15T14:11:11.938Z] Scanning dependencies of target hello [2021-02-15T14:11:11.938Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-02-15T14:11:12.191Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-02-15T14:11:12.191Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-02-15T14:11:12.210Z] [100%] Linking C executable hello [2021-02-15T14:11:12.210Z] [100%] Built target hello [2021-02-15T14:11:12.210Z] Install the project... [2021-02-15T14:11:12.210Z] -- Install configuration: "Release" [2021-02-15T14:11:12.210Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-02-15T14:11:12.457Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-02-15T14:11:12.457Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-02-15T14:11:12.457Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/lib64/libcbor.a [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/lib64/libcbor.so [2021-02-15T14:11:12.482Z] -- Up-to-date: /usr/local/include/cbor [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/ints.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/data.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/common.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/strings.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/tags.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/internal [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor/maps.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/include/cbor.h [2021-02-15T14:11:12.482Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-02-15T14:11:12.721Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-02-15T14:11:12.721Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-02-15T14:11:12.721Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-02-15T14:11:12.721Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-02-15T14:11:12.984Z] [ 80%] Linking C static library libcbor.a [2021-02-15T14:11:12.984Z] [ 80%] Built target cbor [2021-02-15T14:11:12.984Z] Scanning dependencies of target create_items [2021-02-15T14:11:12.984Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-02-15T14:11:12.984Z] [ 84%] Linking C executable create_items [2021-02-15T14:11:12.984Z] [ 84%] Built target create_items [2021-02-15T14:11:12.984Z] Scanning dependencies of target readfile [2021-02-15T14:11:12.984Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-02-15T14:11:13.247Z] [ 88%] Linking C executable readfile [2021-02-15T14:11:13.247Z] [ 88%] Built target readfile [2021-02-15T14:11:13.247Z] Scanning dependencies of target streaming_parser [2021-02-15T14:11:13.247Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-02-15T14:11:13.247Z] [ 92%] Linking C executable streaming_parser [2021-02-15T14:11:13.247Z] [ 92%] Built target streaming_parser [2021-02-15T14:11:13.247Z] Scanning dependencies of target sort [2021-02-15T14:11:13.247Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-02-15T14:11:13.512Z] [ 96%] Linking C executable sort [2021-02-15T14:11:13.512Z] [ 96%] Built target sort [2021-02-15T14:11:13.512Z] Scanning dependencies of target hello [2021-02-15T14:11:13.512Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-02-15T14:11:13.512Z] [100%] Linking C executable hello [2021-02-15T14:11:13.512Z] [100%] Built target hello [2021-02-15T14:11:13.512Z] Install the project... [2021-02-15T14:11:13.512Z] -- Install configuration: "Release" [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/lib64/libcbor.a [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/lib64/libcbor.so [2021-02-15T14:11:13.512Z] -- Up-to-date: /usr/local/include/cbor [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/common.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/data.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/internal [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/ints.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/maps.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/strings.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor/tags.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/include/cbor.h [2021-02-15T14:11:13.512Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-02-15T14:11:14.457Z] Removing intermediate container 50071a69c60e [2021-02-15T14:11:14.457Z] ---> 39e4d0bc2032 [2021-02-15T14:11:14.457Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-02-15T14:11:14.728Z] ---> Running in c2dbb6352e03 [2021-02-15T14:11:15.440Z] Removing intermediate container b0de12ad73eb [2021-02-15T14:11:15.440Z] ---> ebcedf15baac [2021-02-15T14:11:15.440Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-02-15T14:11:15.440Z] ---> Running in 4ac5dd071dda [2021-02-15T14:11:16.695Z] Removing intermediate container c2dbb6352e03 [2021-02-15T14:11:16.695Z] ---> f61d866343c0 [2021-02-15T14:11:16.695Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-02-15T14:11:16.837Z] Removing intermediate container 4ac5dd071dda [2021-02-15T14:11:16.837Z] ---> b1f73651edb1 [2021-02-15T14:11:16.837Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-02-15T14:11:17.101Z] ---> 64a33e9d159d [2021-02-15T14:11:17.101Z] Step 8/21 : COPY src /tmp/sdk/src [2021-02-15T14:11:17.671Z] ---> 2f8ad2520377 [2021-02-15T14:11:17.672Z] Step 8/21 : COPY src /tmp/sdk/src [2021-02-15T14:11:18.052Z] ---> 8ad06dfce427 [2021-02-15T14:11:18.053Z] Step 9/21 : COPY include /tmp/sdk/include [2021-02-15T14:11:18.267Z] ---> 654e93acd71a [2021-02-15T14:11:18.267Z] Step 9/21 : COPY include /tmp/sdk/include [2021-02-15T14:11:18.315Z] ---> 3d6e5b3a7dc5 [2021-02-15T14:11:18.316Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-02-15T14:11:18.892Z] ---> c03084d7c646 [2021-02-15T14:11:18.892Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-02-15T14:11:18.892Z] ---> 50748f1a81d9 [2021-02-15T14:11:18.892Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-02-15T14:11:19.249Z] ---> 229f02c62a4a [2021-02-15T14:11:19.249Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-02-15T14:11:19.468Z] ---> b4c56defeea4 [2021-02-15T14:11:19.468Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-02-15T14:11:19.468Z] ---> Running in b3e2077fe88e [2021-02-15T14:11:19.842Z] ---> d8916ba55666 [2021-02-15T14:11:19.842Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-02-15T14:11:20.051Z] + CPPCHECK=false [2021-02-15T14:11:20.051Z] + DOCGEN=false [2021-02-15T14:11:20.051Z] + TOMLVER=SDK-0.2 [2021-02-15T14:11:20.051Z] + CUTILVER=1.1.4 [2021-02-15T14:11:20.051Z] + '[' 0 -gt 0 ] [2021-02-15T14:11:20.051Z] + readlink -f ./scripts/build.sh [2021-02-15T14:11:20.051Z] + dirname /tmp/sdk/scripts/build.sh [2021-02-15T14:11:20.051Z] + dirname /tmp/sdk/scripts [2021-02-15T14:11:20.051Z] + ROOT=/tmp/sdk [2021-02-15T14:11:20.051Z] + cd /tmp/sdk [2021-02-15T14:11:20.051Z] + '[' '!' -d deps ] [2021-02-15T14:11:20.051Z] + mkdir deps [2021-02-15T14:11:20.051Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-15T14:11:20.051Z] + tar -C deps -z -x -f - [2021-02-15T14:11:20.051Z] --2021-02-15 14:11:19-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-15T14:11:20.051Z] Resolving github.com... 140.82.112.4 [2021-02-15T14:11:20.051Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-02-15T14:11:20.051Z] HTTP request sent, awaiting response... 302 Found [2021-02-15T14:11:20.051Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-02-15T14:11:20.051Z] --2021-02-15 14:11:19-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-02-15T14:11:20.051Z] Resolving codeload.github.com... 140.82.114.9 [2021-02-15T14:11:20.051Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-02-15T14:11:20.314Z] HTTP request sent, awaiting response... 200 OK [2021-02-15T14:11:20.314Z] Length: unspecified [application/x-gzip] [2021-02-15T14:11:20.314Z] Saving to: 'STDOUT' [2021-02-15T14:11:20.314Z] [2021-02-15T14:11:20.314Z] 0K .......... ......  922K=0.02s [2021-02-15T14:11:20.314Z] [2021-02-15T14:11:20.314Z] 2021-02-15 14:11:20 (922 KB/s) - written to stdout [16451] [2021-02-15T14:11:20.314Z] [2021-02-15T14:11:20.314Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-02-15T14:11:20.314Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-15T14:11:20.314Z] + tar -C deps -z -x -f - [2021-02-15T14:11:20.314Z] --2021-02-15 14:11:20-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-15T14:11:20.314Z] Resolving github.com... 140.82.112.4 [2021-02-15T14:11:20.314Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-02-15T14:11:20.436Z] ---> bef99708052d [2021-02-15T14:11:20.436Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-02-15T14:11:20.580Z] HTTP request sent, awaiting response... 302 Found [2021-02-15T14:11:20.580Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-02-15T14:11:20.580Z] --2021-02-15 14:11:20-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-02-15T14:11:20.580Z] Resolving codeload.github.com... 140.82.114.9 [2021-02-15T14:11:20.580Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-02-15T14:11:20.580Z] HTTP request sent, awaiting response... 200 OK [2021-02-15T14:11:20.580Z] Length: unspecified [application/x-gzip] [2021-02-15T14:11:20.580Z] Saving to: 'STDOUT' [2021-02-15T14:11:20.580Z] [2021-02-15T14:11:20.581Z] 0K .......... .......... .......... .......... .......... 1.52M [2021-02-15T14:11:20.581Z] 50K .......... .......... .......... .......... .......... 3.03M [2021-02-15T14:11:20.581Z] 100K .......... .......... .......... .......... .......... 45.1M [2021-02-15T14:11:20.581Z] 150K .......... .......... ....... 4.11M=0.06s [2021-02-15T14:11:20.581Z] [2021-02-15T14:11:20.581Z] 2021-02-15 14:11:20 (3.11 MB/s) - written to stdout [181796] [2021-02-15T14:11:20.581Z] [2021-02-15T14:11:20.581Z] + mkdir -p src/c/iot [2021-02-15T14:11:20.581Z] + 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-02-15T14:11:20.581Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-02-15T14:11:20.581Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-02-15T14:11:20.581Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-02-15T14:11:20.581Z] + mkdir -p include/iot [2021-02-15T14:11:20.581Z] + 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-02-15T14:11:20.581Z] + mkdir -p include/iot/os [2021-02-15T14:11:20.581Z] + 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-02-15T14:11:20.581Z] + mkdir -p /tmp/sdk/build/release [2021-02-15T14:11:20.581Z] + cd /tmp/sdk/build/release [2021-02-15T14:11:20.581Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-02-15T14:11:20.843Z] -- The C compiler identification is GNU 8.3.0 [2021-02-15T14:11:20.843Z] -- Check for working C compiler: /usr/bin/cc [2021-02-15T14:11:20.843Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-15T14:11:20.843Z] -- Detecting C compiler ABI info [2021-02-15T14:11:21.029Z] ---> 67fea8c501cb [2021-02-15T14:11:21.030Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-02-15T14:11:21.106Z] -- Detecting C compiler ABI info - done [2021-02-15T14:11:21.107Z] -- Detecting C compile features [2021-02-15T14:11:21.308Z] ---> Running in d6dcb65a820e [2021-02-15T14:11:21.369Z] -- Detecting C compile features - done [2021-02-15T14:11:21.369Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-15T14:11:21.369Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-15T14:11:21.369Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-15T14:11:21.369Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-15T14:11:21.369Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-15T14:11:21.369Z] -- C SDK 0.0.0 for Linux [2021-02-15T14:11:21.369Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-15T14:11:21.369Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-15T14:11:21.369Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-15T14:11:21.369Z] -- Configuring done [2021-02-15T14:11:21.369Z] -- Generating done [2021-02-15T14:11:21.369Z] -- Build files have been written to: /tmp/sdk/build/release [2021-02-15T14:11:21.369Z] + make [2021-02-15T14:11:21.369Z] + tee release.log [2021-02-15T14:11:21.633Z] Scanning dependencies of target csdk [2021-02-15T14:11:21.633Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-15T14:11:21.896Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2021-02-15T14:11:21.896Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-15T14:11:22.165Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-15T14:11:22.280Z] + CPPCHECK=false [2021-02-15T14:11:22.280Z] + DOCGEN=false [2021-02-15T14:11:22.280Z] + TOMLVER=SDK-0.2 [2021-02-15T14:11:22.280Z] + CUTILVER=1.1.4 [2021-02-15T14:11:22.280Z] + '[' 0 -gt 0 ] [2021-02-15T14:11:22.280Z] + readlink -f ./scripts/build.sh [2021-02-15T14:11:22.280Z] + dirname /tmp/sdk/scripts/build.sh [2021-02-15T14:11:22.280Z] + dirname /tmp/sdk/scripts [2021-02-15T14:11:22.280Z] + ROOT=/tmp/sdk [2021-02-15T14:11:22.280Z] + cd /tmp/sdk [2021-02-15T14:11:22.280Z] + '[' '!' -d deps ] [2021-02-15T14:11:22.280Z] + mkdir deps [2021-02-15T14:11:22.280Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-15T14:11:22.280Z] + tar -C deps -z -x -f - [2021-02-15T14:11:22.280Z] --2021-02-15 14:11:22-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-15T14:11:22.280Z] Resolving github.com... 140.82.112.4 [2021-02-15T14:11:22.280Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-02-15T14:11:22.428Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-15T14:11:22.551Z] HTTP request sent, awaiting response... 302 Found [2021-02-15T14:11:22.551Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-02-15T14:11:22.551Z] --2021-02-15 14:11:22-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-02-15T14:11:22.551Z] Resolving codeload.github.com... 140.82.114.9 [2021-02-15T14:11:22.551Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-02-15T14:11:22.551Z] HTTP request sent, awaiting response... 200 OK [2021-02-15T14:11:22.551Z] Length: unspecified [application/x-gzip] [2021-02-15T14:11:22.551Z] Saving to: 'STDOUT' [2021-02-15T14:11:22.551Z]  [2021-02-15T14:11:22.551Z] 0K .......... ......   938K=0.02s [2021-02-15T14:11:22.551Z] [2021-02-15T14:11:22.551Z] 2021-02-15 14:11:22 (938 KB/s) - written to stdout [16451] [2021-02-15T14:11:22.551Z] [2021-02-15T14:11:22.551Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-02-15T14:11:22.551Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-15T14:11:22.551Z] + tar -C deps -z -x -f - [2021-02-15T14:11:22.551Z] --2021-02-15 14:11:22-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-15T14:11:22.551Z] Resolving github.com... 140.82.112.4 [2021-02-15T14:11:22.551Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-02-15T14:11:22.693Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-15T14:11:22.693Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-15T14:11:22.825Z] HTTP request sent, awaiting response... 302 Found [2021-02-15T14:11:22.826Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-02-15T14:11:22.826Z] --2021-02-15 14:11:22-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-02-15T14:11:22.826Z] Resolving codeload.github.com... 140.82.114.9 [2021-02-15T14:11:22.826Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-02-15T14:11:22.826Z] HTTP request sent, awaiting response... 200 OK [2021-02-15T14:11:22.826Z] Length: unspecified [application/x-gzip] [2021-02-15T14:11:22.826Z] Saving to: 'STDOUT' [2021-02-15T14:11:22.826Z]  [2021-02-15T14:11:22.826Z] 0K .......... .......... .......... .......... .......... 1.39M [2021-02-15T14:11:22.826Z] 50K .......... .......... .......... .......... .......... 2.72M [2021-02-15T14:11:22.826Z] 100K .......... .......... .......... .......... .......... 7.80M [2021-02-15T14:11:22.826Z] 150K .......... .......... .......                    1.49M=0.08s [2021-02-15T14:11:22.826Z] [2021-02-15T14:11:22.826Z] 2021-02-15 14:11:22 (2.24 MB/s) - written to stdout [181796] [2021-02-15T14:11:22.826Z] [2021-02-15T14:11:22.826Z] + mkdir -p src/c/iot [2021-02-15T14:11:22.826Z] + 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-02-15T14:11:22.826Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-02-15T14:11:22.826Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-02-15T14:11:22.826Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-02-15T14:11:22.826Z] + mkdir -p include/iot [2021-02-15T14:11:22.826Z] + 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-02-15T14:11:22.826Z] + mkdir -p include/iot/os [2021-02-15T14:11:22.826Z] + 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-02-15T14:11:22.826Z] + mkdir -p /tmp/sdk/build/release [2021-02-15T14:11:22.826Z] + cd /tmp/sdk/build/release [2021-02-15T14:11:22.826Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-02-15T14:11:22.957Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-15T14:11:23.099Z] -- The C compiler identification is GNU 8.3.0 [2021-02-15T14:11:23.371Z] -- Check for working C compiler: /usr/bin/cc [2021-02-15T14:11:23.534Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-15T14:11:23.643Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-15T14:11:23.643Z] -- Detecting C compiler ABI info [2021-02-15T14:11:23.643Z] -- Detecting C compiler ABI info - done [2021-02-15T14:11:23.799Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-15T14:11:23.915Z] -- Detecting C compile features [2021-02-15T14:11:24.063Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-15T14:11:24.063Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-15T14:11:24.326Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-15T14:11:24.326Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-15T14:11:24.326Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-15T14:11:24.509Z] -- Detecting C compile features - done [2021-02-15T14:11:24.509Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-15T14:11:24.509Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-15T14:11:24.509Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-15T14:11:24.509Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-15T14:11:24.509Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-15T14:11:24.509Z] -- C SDK 0.0.0 for Linux [2021-02-15T14:11:24.509Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-15T14:11:24.782Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-15T14:11:24.782Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-15T14:11:25.052Z] -- Configuring done [2021-02-15T14:11:25.273Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-15T14:11:25.322Z] -- Generating done [2021-02-15T14:11:25.322Z] -- Build files have been written to: /tmp/sdk/build/release [2021-02-15T14:11:25.322Z] + + maketee [2021-02-15T14:11:25.322Z] release.log [2021-02-15T14:11:25.322Z] Scanning dependencies of target csdk [2021-02-15T14:11:25.537Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-15T14:11:25.537Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-15T14:11:25.537Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-15T14:11:25.594Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-15T14:11:25.800Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-15T14:11:26.185Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2021-02-15T14:11:26.374Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-15T14:11:26.459Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-15T14:11:26.637Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-15T14:11:26.637Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-15T14:11:26.637Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-15T14:11:26.900Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-15T14:11:26.900Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-15T14:11:27.051Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-15T14:11:27.163Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-15T14:11:27.163Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-15T14:11:27.426Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-15T14:11:27.426Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-15T14:11:28.001Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-15T14:11:28.001Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-15T14:11:28.577Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-15T14:11:28.577Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-15T14:11:29.015Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-15T14:11:29.288Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-15T14:11:29.526Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-15T14:11:29.561Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-15T14:11:29.789Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-15T14:11:30.051Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-15T14:11:30.051Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-15T14:11:30.314Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-15T14:11:30.530Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-15T14:11:30.582Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-15T14:11:31.157Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-15T14:11:32.114Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-15T14:11:32.114Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-15T14:11:32.380Z] [ 73%] Linking C shared library libcsdk.so [2021-02-15T14:11:32.380Z] [ 73%] Built target csdk [2021-02-15T14:11:32.380Z] Scanning dependencies of target template [2021-02-15T14:11:32.380Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-15T14:11:32.498Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-15T14:11:32.643Z] [ 76%] Linking C executable template [2021-02-15T14:11:32.643Z] [ 76%] Built target template [2021-02-15T14:11:32.643Z] Scanning dependencies of target device-counter [2021-02-15T14:11:32.643Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-15T14:11:32.911Z] [ 80%] Linking C executable device-counter [2021-02-15T14:11:32.911Z] [ 80%] Built target device-counter [2021-02-15T14:11:32.911Z] Scanning dependencies of target device-random [2021-02-15T14:11:32.911Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-15T14:11:33.092Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-15T14:11:33.173Z] [ 83%] Linking C executable device-random [2021-02-15T14:11:33.173Z] [ 83%] Built target device-random [2021-02-15T14:11:33.173Z] Scanning dependencies of target device-gyro [2021-02-15T14:11:33.173Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-15T14:11:33.173Z] [ 86%] Linking C executable device-gyro [2021-02-15T14:11:33.436Z] [ 86%] Built target device-gyro [2021-02-15T14:11:33.436Z] Scanning dependencies of target device-bitfields [2021-02-15T14:11:33.436Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-15T14:11:33.436Z] [ 90%] Linking C executable device-bitfields [2021-02-15T14:11:33.683Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-15T14:11:33.700Z] [ 90%] Built target device-bitfields [2021-02-15T14:11:33.700Z] Scanning dependencies of target template-discovery [2021-02-15T14:11:33.700Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-15T14:11:33.700Z] [ 93%] Linking C executable template-discovery [2021-02-15T14:11:34.053Z] [ 93%] Built target template-discovery [2021-02-15T14:11:34.053Z] Scanning dependencies of target device-file [2021-02-15T14:11:34.053Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-15T14:11:34.053Z] [ 96%] Linking C executable device-file [2021-02-15T14:11:34.053Z] [ 96%] Built target device-file [2021-02-15T14:11:34.277Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-15T14:11:34.331Z] Scanning dependencies of target device-terminal [2021-02-15T14:11:34.331Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-15T14:11:34.331Z] [100%] Linking C executable device-terminal [2021-02-15T14:11:34.331Z] [100%] Built target device-terminal [2021-02-15T14:11:34.331Z] + + maketee -a package release.log [2021-02-15T14:11:34.331Z] [2021-02-15T14:11:34.554Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-15T14:11:34.596Z] [ 73%] Built target csdk [2021-02-15T14:11:34.596Z] [ 76%] Built target template [2021-02-15T14:11:34.596Z] [ 80%] Built target device-counter [2021-02-15T14:11:34.596Z] [ 83%] Built target device-random [2021-02-15T14:11:34.596Z] [ 86%] Built target device-gyro [2021-02-15T14:11:34.596Z] [ 90%] Built target device-bitfields [2021-02-15T14:11:34.596Z] [ 93%] Built target template-discovery [2021-02-15T14:11:34.596Z] [ 96%] Built target device-file [2021-02-15T14:11:34.596Z] [100%] Built target device-terminal [2021-02-15T14:11:34.596Z] Run CPack packaging tool... [2021-02-15T14:11:34.826Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-15T14:11:34.859Z] CPack: Create package using TGZ [2021-02-15T14:11:34.859Z] CPack: Install projects [2021-02-15T14:11:34.859Z] CPack: - Run preinstall target for: Csdk [2021-02-15T14:11:34.859Z] CPack: - Install project: Csdk [2021-02-15T14:11:34.859Z] CPack: Create package [2021-02-15T14:11:35.098Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-15T14:11:35.123Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-02-15T14:11:35.123Z] + '[' false '=' true ] [2021-02-15T14:11:35.123Z] + '[' false '=' true ] [2021-02-15T14:11:35.123Z] + mkdir -p /tmp/sdk/build/debug [2021-02-15T14:11:35.123Z] + cd /tmp/sdk/build/debug [2021-02-15T14:11:35.123Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-02-15T14:11:35.124Z] -- The C compiler identification is GNU 8.3.0 [2021-02-15T14:11:35.124Z] -- Check for working C compiler: /usr/bin/cc [2021-02-15T14:11:35.124Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-15T14:11:35.124Z] -- Detecting C compiler ABI info [2021-02-15T14:11:35.385Z] -- Detecting C compiler ABI info - done [2021-02-15T14:11:35.385Z] -- Detecting C compile features [2021-02-15T14:11:35.649Z] -- Detecting C compile features - done [2021-02-15T14:11:35.649Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-15T14:11:35.649Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-15T14:11:35.649Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-15T14:11:35.649Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-15T14:11:35.649Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-15T14:11:35.649Z] -- C SDK 0.0.0 for Linux [2021-02-15T14:11:35.649Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-15T14:11:35.649Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-15T14:11:35.649Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-15T14:11:35.649Z] -- Configuring done [2021-02-15T14:11:35.912Z] -- Generating done [2021-02-15T14:11:35.912Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-02-15T14:11:35.912Z] + make [2021-02-15T14:11:35.912Z] + tee debug.log [2021-02-15T14:11:35.912Z] Scanning dependencies of target csdk [2021-02-15T14:11:35.912Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-15T14:11:35.912Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2021-02-15T14:11:36.175Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-15T14:11:36.175Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-15T14:11:36.438Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-15T14:11:36.438Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-15T14:11:36.438Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-15T14:11:36.700Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-15T14:11:36.963Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-15T14:11:36.963Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-15T14:11:36.963Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-15T14:11:37.225Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-15T14:11:37.225Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-15T14:11:37.225Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-15T14:11:37.226Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-15T14:11:37.488Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-15T14:11:37.750Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-15T14:11:37.750Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-15T14:11:37.750Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-15T14:11:38.012Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-15T14:11:38.276Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-15T14:11:38.276Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-15T14:11:38.276Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-15T14:11:38.276Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-15T14:11:38.465Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-15T14:11:38.538Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-15T14:11:38.538Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-15T14:11:38.538Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-15T14:11:38.538Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-15T14:11:38.739Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-15T14:11:38.801Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-15T14:11:38.801Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-15T14:11:38.801Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-15T14:11:39.063Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-15T14:11:39.064Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-15T14:11:39.064Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-15T14:11:39.332Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-15T14:11:39.604Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-15T14:11:39.637Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-15T14:11:39.637Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-15T14:11:39.637Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-15T14:11:39.637Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-15T14:11:39.899Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-15T14:11:40.162Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-15T14:11:40.162Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-15T14:11:40.196Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-15T14:11:40.426Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-15T14:11:40.690Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-15T14:11:40.690Z] [ 73%] Linking C shared library libcsdk.so [2021-02-15T14:11:40.690Z] [ 73%] Built target csdk [2021-02-15T14:11:40.690Z] Scanning dependencies of target template [2021-02-15T14:11:40.690Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-15T14:11:40.690Z] [ 76%] Linking C executable template [2021-02-15T14:11:40.953Z] [ 76%] Built target template [2021-02-15T14:11:40.953Z] Scanning dependencies of target device-counter [2021-02-15T14:11:40.953Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-15T14:11:40.954Z] [ 80%] Linking C executable device-counter [2021-02-15T14:11:40.954Z] [ 80%] Built target device-counter [2021-02-15T14:11:40.954Z] Scanning dependencies of target device-random [2021-02-15T14:11:41.216Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-15T14:11:41.216Z] [ 83%] Linking C executable device-random [2021-02-15T14:11:41.216Z] [ 83%] Built target device-random [2021-02-15T14:11:41.216Z] Scanning dependencies of target device-gyro [2021-02-15T14:11:41.216Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-15T14:11:41.216Z] [ 86%] Linking C executable device-gyro [2021-02-15T14:11:41.479Z] [ 86%] Built target device-gyro [2021-02-15T14:11:41.480Z] Scanning dependencies of target device-bitfields [2021-02-15T14:11:41.480Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-15T14:11:41.480Z] [ 90%] Linking C executable device-bitfields [2021-02-15T14:11:41.480Z] [ 90%] Built target device-bitfields [2021-02-15T14:11:41.480Z] Scanning dependencies of target template-discovery [2021-02-15T14:11:41.480Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-15T14:11:41.742Z] [ 93%] Linking C executable template-discovery [2021-02-15T14:11:41.742Z] [ 93%] Built target template-discovery [2021-02-15T14:11:41.742Z] Scanning dependencies of target device-file [2021-02-15T14:11:41.742Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-15T14:11:41.742Z] [ 96%] Linking C executable device-file [2021-02-15T14:11:42.005Z] [ 96%] Built target device-file [2021-02-15T14:11:42.005Z] Scanning dependencies of target device-terminal [2021-02-15T14:11:42.005Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-15T14:11:42.005Z] [100%] Linking C executable device-terminal [2021-02-15T14:11:42.005Z] [100%] Built target device-terminal [2021-02-15T14:11:42.005Z] make: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] [ 73%] Built target csdk [2021-02-15T14:11:42.270Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] [ 76%] Built target template [2021-02-15T14:11:42.270Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] [ 80%] Built target device-counter [2021-02-15T14:11:42.270Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] [ 83%] Built target device-random [2021-02-15T14:11:42.270Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] [ 86%] Built target device-gyro [2021-02-15T14:11:42.270Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] [ 90%] Built target device-bitfields [2021-02-15T14:11:42.270Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] [ 93%] Built target template-discovery [2021-02-15T14:11:42.270Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] [ 96%] Built target device-file [2021-02-15T14:11:42.270Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] [100%] Built target device-terminal [2021-02-15T14:11:42.270Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.270Z] Install the project... [2021-02-15T14:11:42.270Z] -- Install configuration: "Release" [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/lib/libcsdk.so [2021-02-15T14:11:42.270Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-02-15T14:11:42.270Z] -- Up-to-date: /usr/local/include [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/devsdk [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/edgex [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/edgex/devices.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/edgex/error.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/edgex/os.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/base64.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/component.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/config.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/container.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/data.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/hash.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/iot.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/json.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/logger.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/os.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/thread.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/time.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/typecode.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/os [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/include/iot/defs.h [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-02-15T14:11:42.270Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-02-15T14:11:42.270Z] make: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:11:42.803Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-15T14:11:42.804Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-15T14:11:43.074Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-15T14:11:43.667Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-15T14:11:43.942Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-15T14:11:44.214Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-15T14:11:44.834Z] Removing intermediate container b3e2077fe88e [2021-02-15T14:11:44.834Z] ---> ab131ce9f80f [2021-02-15T14:11:44.834Z] Step 14/21 : FROM ${BASE} [2021-02-15T14:11:44.834Z] ---> 5eabd8fd8ba2 [2021-02-15T14:11:44.834Z] Step 15/21 : LABEL maintainer="IOTech " [2021-02-15T14:11:44.834Z] ---> Running in 90db95512d7e [2021-02-15T14:11:44.834Z] Removing intermediate container 90db95512d7e [2021-02-15T14:11:44.834Z] ---> 6289537bf2ea [2021-02-15T14:11:44.834Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-02-15T14:11:45.097Z] ---> Running in 7f495a3a5d9a [2021-02-15T14:11:45.277Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-15T14:11:45.595Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-15T14:11:46.050Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-15T14:11:46.246Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-15T14:11:46.528Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-15T14:11:46.625Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-15T14:11:46.888Z] (1/3) Installing curl (7.64.0-r5) [2021-02-15T14:11:47.150Z] (2/3) Installing libuuid (2.33-r0) [2021-02-15T14:11:47.150Z] (3/3) Installing wget (1.20.3-r0) [2021-02-15T14:11:47.412Z] Executing busybox-1.29.3-r10.trigger [2021-02-15T14:11:47.412Z] OK: 268 MiB in 78 packages [2021-02-15T14:11:47.675Z] Removing intermediate container 7f495a3a5d9a [2021-02-15T14:11:47.675Z] ---> 3ff9a7d66835 [2021-02-15T14:11:47.675Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-02-15T14:11:47.938Z] ---> cea1dc52ef2f [2021-02-15T14:11:47.938Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-02-15T14:11:48.199Z] ---> 11ae848ed3ea [2021-02-15T14:11:48.199Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-02-15T14:11:48.462Z] ---> 8e2ab75883e9 [2021-02-15T14:11:48.462Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-02-15T14:11:48.518Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-15T14:11:48.724Z] ---> df2a9b659462 [2021-02-15T14:11:48.724Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-02-15T14:11:48.791Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-15T14:11:48.986Z] ---> 4fbb5639406b [2021-02-15T14:11:48.986Z] Successfully built 4fbb5639406b [2021-02-15T14:11:48.986Z] 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-02-15T14:11:49.769Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-15T14:11:49.951Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-15T14:11:49.951Z] . [Pipeline] withDockerContainer [2021-02-15T14:11:50.041Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-15T14:11:50.067Z] prd-centos7-docker-4c-2g-26504 does not seem to be running inside a container [2021-02-15T14:11:50.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-15T14:11:50.929Z] $ docker top 22c5656225ba1e5c4bba15b6fe141da7d44ef20551723c4d9cd6b7a40f7ec9bd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-15T14:11:51.509Z] + make test [2021-02-15T14:11:51.509Z] echo "make test" [2021-02-15T14:11:51.509Z] make test [Pipeline] } [2021-02-15T14:11:51.524Z] $ docker stop --time=1 22c5656225ba1e5c4bba15b6fe141da7d44ef20551723c4d9cd6b7a40f7ec9bd [2021-02-15T14:11:52.867Z] $ docker rm -f 22c5656225ba1e5c4bba15b6fe141da7d44ef20551723c4d9cd6b7a40f7ec9bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-02-15T14:11:54.325Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-15T14:11:54.920Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-15T14:11:55.192Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-15T14:11:55.464Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [Pipeline] sh [2021-02-15T14:11:56.036Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-15T14:11:56.352Z] + ls -al . [2021-02-15T14:11:56.352Z] total 160 [2021-02-15T14:11:56.352Z] drwxrwxr-x. 8 jenkins jenkins 260 Feb 15 14:10 . [2021-02-15T14:11:56.352Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 15 14:10 .. [2021-02-15T14:11:56.352Z] -rw-rw-r--. 1 jenkins jenkins 3104 Feb 15 14:10 Attribution.txt [2021-02-15T14:11:56.352Z] -rw-rw-r--. 1 jenkins jenkins 6712 Feb 15 14:10 CHANGES [2021-02-15T14:11:56.352Z] drwxrwxr-x. 2 jenkins jenkins 144 Feb 15 14:10 docs [2021-02-15T14:11:56.352Z] -rw-rw-r--. 1 jenkins jenkins 108574 Feb 15 14:10 Doxyfile [2021-02-15T14:11:56.352Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 15 14:10 .git [2021-02-15T14:11:56.352Z] drwxrwxr-x. 2 jenkins jenkins 81 Feb 15 14:10 .github [2021-02-15T14:11:56.352Z] -rw-rw-r--. 1 jenkins jenkins 176 Feb 15 14:10 .gitignore [2021-02-15T14:11:56.352Z] drwxrwxr-x. 4 jenkins jenkins 33 Feb 15 14:10 include [2021-02-15T14:11:56.352Z] -rw-rw-r--. 1 jenkins jenkins 784 Feb 15 14:10 Jenkinsfile [2021-02-15T14:11:56.352Z] -rw-rw-r--. 1 jenkins jenkins 10174 Feb 15 14:10 LICENSE [2021-02-15T14:11:56.352Z] -rw-rw-r--. 1 jenkins jenkins 449 Feb 15 14:10 Makefile [2021-02-15T14:11:56.352Z] -rw-rw-r--. 1 jenkins jenkins 2697 Feb 15 14:10 README.md [2021-02-15T14:11:56.352Z] -rw-rw-r--. 1 jenkins jenkins 6378 Feb 15 14:10 README.v2.md [2021-02-15T14:11:56.352Z] drwxrwxr-x. 2 jenkins jenkins 98 Feb 15 14:10 scripts [2021-02-15T14:11:56.352Z] drwxrwxr-x. 4 jenkins jenkins 50 Feb 15 14:10 src [2021-02-15T14:11:56.352Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 15 14:08 VERSION [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:11:56.462Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-15T14:11:56.659Z] + 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=7ad117a825f59d4b1585001b9d81f9b067de5d39 --label arch=amd64 --label version=0.0.0 . [2021-02-15T14:11:56.659Z] Sending build context to Docker daemon 2.513MB [2021-02-15T14:11:56.659Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-02-15T14:11:56.659Z] Step 2/15 : FROM ${BASE} [2021-02-15T14:11:56.659Z] ---> 4fbb5639406b [2021-02-15T14:11:56.659Z] Step 3/15 : LABEL maintainer="IOTech " [2021-02-15T14:11:57.237Z] ---> Running in 28c2e73101b3 [2021-02-15T14:11:57.502Z] Removing intermediate container 28c2e73101b3 [2021-02-15T14:11:57.502Z] ---> 06c2a639f6a6 [2021-02-15T14:11:57.502Z] 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-02-15T14:11:57.502Z] ---> Running in dcf4ab403b5d [2021-02-15T14:11:57.895Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-15T14:11:58.079Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-15T14:11:59.024Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-15T14:11:59.286Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-15T14:11:59.286Z] (2/6) Installing libblkid (2.33-r0) [2021-02-15T14:11:59.286Z] (3/6) Installing libfdisk (2.33-r0) [2021-02-15T14:11:59.313Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-15T14:11:59.549Z] (4/6) Installing libmount (2.33-r0) [2021-02-15T14:11:59.549Z] (5/6) Installing libsmartcols (2.33-r0) [2021-02-15T14:11:59.812Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-02-15T14:12:00.077Z] Executing busybox-1.29.3-r10.trigger [2021-02-15T14:12:00.077Z] OK: 272 MiB in 84 packages [2021-02-15T14:12:00.657Z] Removing intermediate container dcf4ab403b5d [2021-02-15T14:12:00.657Z] ---> ba2d43f2788e [2021-02-15T14:12:00.657Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-02-15T14:12:00.923Z] ---> 5adaaa218572 [2021-02-15T14:12:00.923Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-02-15T14:12:01.871Z] ---> 47f442cd5867 [2021-02-15T14:12:01.871Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-02-15T14:12:02.134Z] ---> 6de1c0f0c6bf [2021-02-15T14:12:02.134Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-02-15T14:12:02.397Z] ---> 1ef7e7c8cb06 [2021-02-15T14:12:02.397Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-02-15T14:12:02.661Z] ---> 415d305b31c2 [2021-02-15T14:12:02.661Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-02-15T14:12:02.683Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-15T14:12:02.923Z] ---> 80acc4ba68dc [2021-02-15T14:12:02.923Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-02-15T14:12:02.955Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-15T14:12:03.186Z] ---> Running in 70defd2e191f [2021-02-15T14:12:03.186Z] Removing intermediate container 70defd2e191f [2021-02-15T14:12:03.186Z] ---> aa2714b0a669 [2021-02-15T14:12:03.186Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-02-15T14:12:03.454Z] ---> Running in 719549c26940 [2021-02-15T14:12:03.454Z] Removing intermediate container 719549c26940 [2021-02-15T14:12:03.454Z] ---> 100b26178d62 [2021-02-15T14:12:03.454Z] Step 13/15 : LABEL arch=amd64 [2021-02-15T14:12:03.545Z] [ 73%] Linking C shared library libcsdk.so [2021-02-15T14:12:03.545Z] [ 73%] Built target csdk [2021-02-15T14:12:03.545Z] Scanning dependencies of target template [2021-02-15T14:12:03.545Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-15T14:12:03.716Z] ---> Running in c23dadf35723 [2021-02-15T14:12:03.716Z] Removing intermediate container c23dadf35723 [2021-02-15T14:12:03.716Z] ---> 9cb96248735c [2021-02-15T14:12:03.716Z] Step 14/15 : LABEL git_sha=7ad117a825f59d4b1585001b9d81f9b067de5d39 [2021-02-15T14:12:03.979Z] ---> Running in 878efe0f65c7 [2021-02-15T14:12:03.979Z] Removing intermediate container 878efe0f65c7 [2021-02-15T14:12:03.979Z] ---> 8e2ae22fc77f [2021-02-15T14:12:03.979Z] Step 15/15 : LABEL version=0.0.0 [2021-02-15T14:12:03.979Z] ---> Running in e231c9b97679 [2021-02-15T14:12:04.133Z] [ 76%] Linking C executable template [2021-02-15T14:12:04.242Z] Removing intermediate container e231c9b97679 [2021-02-15T14:12:04.242Z] ---> 2499929d9e9d [2021-02-15T14:12:04.242Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-02-15T14:12:04.242Z] Successfully built 2499929d9e9d [2021-02-15T14:12:04.242Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2021-02-15T14:12:04.402Z] [ 76%] Built target template [2021-02-15T14:12:04.402Z] Scanning dependencies of target device-counter [2021-02-15T14:12:04.402Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [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 [2021-02-15T14:12:04.998Z] [ 80%] Linking C executable device-counter [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2021-02-15T14:12:05.283Z] [ 80%] Built target device-counter [2021-02-15T14:12:05.284Z] Scanning dependencies of target device-random [2021-02-15T14:12:05.284Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [Pipeline] } [2021-02-15T14:12:05.554Z] [ 83%] Linking C executable device-random [2021-02-15T14:12:05.826Z] [ 83%] Built target device-random [2021-02-15T14:12:05.826Z] Scanning dependencies of target device-gyro [2021-02-15T14:12:05.826Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-15T14:12:06.418Z] [ 86%] Linking C executable device-gyro [2021-02-15T14:12:06.418Z] [ 86%] Built target device-gyro [2021-02-15T14:12:06.418Z] Scanning dependencies of target device-bitfields [2021-02-15T14:12:06.418Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-15T14:12:07.009Z] [ 90%] Linking C executable device-bitfields [2021-02-15T14:12:07.009Z] [ 90%] Built target device-bitfields [2021-02-15T14:12:07.009Z] Scanning dependencies of target template-discovery [2021-02-15T14:12:07.279Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-15T14:12:07.872Z] [ 93%] Linking C executable template-discovery [2021-02-15T14:12:08.145Z] [ 93%] Built target template-discovery [2021-02-15T14:12:08.145Z] Scanning dependencies of target device-file [2021-02-15T14:12:08.145Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-15T14:12:08.736Z] [ 96%] Linking C executable device-file [2021-02-15T14:12:08.736Z] [ 96%] Built target device-file [2021-02-15T14:12:08.736Z] Scanning dependencies of target device-terminal [2021-02-15T14:12:08.736Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-15T14:12:09.328Z] [100%] Linking C executable device-terminal [2021-02-15T14:12:09.598Z] [100%] Built target device-terminal [2021-02-15T14:12:09.598Z] + make package [2021-02-15T14:12:09.598Z] + tee -a release.log [2021-02-15T14:12:09.868Z] [ 73%] Built target csdk [2021-02-15T14:12:09.868Z] [ 76%] Built target template [2021-02-15T14:12:09.868Z] [ 80%] Built target device-counter [2021-02-15T14:12:09.868Z] [ 83%] Built target device-random [2021-02-15T14:12:09.868Z] [ 86%] Built target device-gyro [2021-02-15T14:12:09.868Z] [ 90%] Built target device-bitfields [2021-02-15T14:12:10.140Z] [ 93%] Built target template-discovery [2021-02-15T14:12:10.140Z] [ 96%] Built target device-file [2021-02-15T14:12:10.140Z] [100%] Built target device-terminal [2021-02-15T14:12:10.140Z] Run CPack packaging tool... [2021-02-15T14:12:10.140Z] CPack: Create package using TGZ [2021-02-15T14:12:10.140Z] CPack: Install projects [2021-02-15T14:12:10.140Z] CPack: - Run preinstall target for: Csdk [2021-02-15T14:12:10.731Z] CPack: - Install project: Csdk [2021-02-15T14:12:10.731Z] CPack: Create package [2021-02-15T14:12:10.731Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-02-15T14:12:10.731Z] + '[' false '=' true ] [2021-02-15T14:12:10.731Z] + '[' false '=' true ] [2021-02-15T14:12:10.731Z] + mkdir -p /tmp/sdk/build/debug [2021-02-15T14:12:10.731Z] + cd /tmp/sdk/build/debug [2021-02-15T14:12:10.731Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-02-15T14:12:11.001Z] -- The C compiler identification is GNU 8.3.0 [2021-02-15T14:12:11.272Z] -- Check for working C compiler: /usr/bin/cc [2021-02-15T14:12:11.272Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-15T14:12:11.272Z] -- Detecting C compiler ABI info [2021-02-15T14:12:11.542Z] -- Detecting C compiler ABI info - done [2021-02-15T14:12:11.542Z] -- Detecting C compile features [2021-02-15T14:12:12.514Z] -- Detecting C compile features - done [2021-02-15T14:12:12.514Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-15T14:12:12.514Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-15T14:12:12.514Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-15T14:12:12.514Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-15T14:12:12.514Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-15T14:12:12.514Z] -- C SDK 0.0.0 for Linux [2021-02-15T14:12:12.514Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-15T14:12:12.514Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-15T14:12:12.786Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-15T14:12:12.786Z] -- Configuring done [2021-02-15T14:12:13.059Z] -- Generating done [2021-02-15T14:12:13.059Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-02-15T14:12:13.059Z] + make [2021-02-15T14:12:13.059Z] + tee debug.log [2021-02-15T14:12:13.059Z] Scanning dependencies of target csdk [2021-02-15T14:12:13.330Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-15T14:12:13.599Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2021-02-15T14:12:13.869Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-15T14:12:14.143Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-15T14:12:14.734Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-15T14:12:15.004Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-15T14:12:15.277Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-15T14:12:15.549Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-15T14:12:16.141Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-15T14:12:16.413Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-15T14:12:16.688Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-15T14:12:16.960Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-15T14:12:17.233Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-15T14:12:17.503Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-15T14:12:17.775Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-15T14:12:18.749Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-15T14:12:18.749Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-15T14:12:19.019Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-15T14:12:19.291Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-15T14:12:19.562Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-15T14:12:20.536Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-15T14:12:20.536Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-15T14:12:20.536Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-15T14:12:20.809Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-15T14:12:21.081Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-15T14:12:21.353Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-15T14:12:21.627Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-15T14:12:21.899Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-15T14:12:22.172Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-15T14:12:22.172Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-15T14:12:22.765Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-15T14:12:22.765Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-15T14:12:23.359Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-15T14:12:23.629Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-15T14:12:24.605Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-15T14:12:24.877Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-15T14:12:25.151Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-15T14:12:25.151Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-15T14:12:25.741Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-15T14:12:26.333Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-15T14:12:26.925Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-15T14:12:27.519Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-15T14:12:27.801Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-15T14:12:28.075Z] [ 73%] Linking C shared library libcsdk.so [2021-02-15T14:12:28.346Z] [ 73%] Built target csdk [2021-02-15T14:12:28.346Z] Scanning dependencies of target template [2021-02-15T14:12:28.346Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-15T14:12:28.617Z] [ 76%] Linking C executable template [2021-02-15T14:12:28.889Z] [ 76%] Built target template [2021-02-15T14:12:28.889Z] Scanning dependencies of target device-counter [2021-02-15T14:12:28.889Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-15T14:12:29.161Z] [ 80%] Linking C executable device-counter [2021-02-15T14:12:29.434Z] [ 80%] Built target device-counter [2021-02-15T14:12:29.435Z] Scanning dependencies of target device-random [2021-02-15T14:12:29.435Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-15T14:12:29.704Z] [ 83%] Linking C executable device-random [2021-02-15T14:12:29.975Z] [ 83%] Built target device-random [2021-02-15T14:12:29.975Z] Scanning dependencies of target device-gyro [2021-02-15T14:12:29.975Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-15T14:12:30.247Z] [ 86%] Linking C executable device-gyro [2021-02-15T14:12:30.247Z] [ 86%] Built target device-gyro [2021-02-15T14:12:30.247Z] Scanning dependencies of target device-bitfields [2021-02-15T14:12:30.521Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-15T14:12:30.521Z] [ 90%] Linking C executable device-bitfields [2021-02-15T14:12:30.793Z] [ 90%] Built target device-bitfields [2021-02-15T14:12:30.793Z] Scanning dependencies of target template-discovery [2021-02-15T14:12:30.793Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-15T14:12:31.067Z] [ 93%] Linking C executable template-discovery [2021-02-15T14:12:31.340Z] [ 93%] Built target template-discovery [2021-02-15T14:12:31.340Z] Scanning dependencies of target device-file [2021-02-15T14:12:31.340Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-15T14:12:31.613Z] [ 96%] Linking C executable device-file [2021-02-15T14:12:31.887Z] [ 96%] Built target device-file [2021-02-15T14:12:31.887Z] Scanning dependencies of target device-terminal [2021-02-15T14:12:31.887Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-15T14:12:32.157Z] [100%] Linking C executable device-terminal [2021-02-15T14:12:32.431Z] [100%] Built target device-terminal [2021-02-15T14:12:32.431Z] make: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.703Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.703Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.703Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.703Z] [ 73%] Built target csdk [2021-02-15T14:12:32.703Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.703Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.703Z] [ 76%] Built target template [2021-02-15T14:12:32.703Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.703Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.703Z] [ 80%] Built target device-counter [2021-02-15T14:12:32.703Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.703Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.703Z] [ 83%] Built target device-random [2021-02-15T14:12:32.703Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.703Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.977Z] [ 86%] Built target device-gyro [2021-02-15T14:12:32.977Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.977Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.977Z] [ 90%] Built target device-bitfields [2021-02-15T14:12:32.977Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.977Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.977Z] [ 93%] Built target template-discovery [2021-02-15T14:12:32.977Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.977Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.977Z] [ 96%] Built target device-file [2021-02-15T14:12:32.977Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.977Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.977Z] [100%] Built target device-terminal [2021-02-15T14:12:32.977Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:12:32.977Z] Install the project... [2021-02-15T14:12:32.977Z] -- Install configuration: "Release" [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/lib/libcsdk.so [2021-02-15T14:12:32.977Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-02-15T14:12:32.977Z] -- Up-to-date: /usr/local/include [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/edgex [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/edgex/error.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/edgex/devices.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/edgex/os.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/devsdk [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/json.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/container.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/component.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/typecode.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/iot.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/time.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/hash.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/logger.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/os [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/data.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/thread.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/os.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/base64.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/defs.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/include/iot/config.h [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-02-15T14:12:32.977Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-02-15T14:12:33.249Z] make: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:12:35.220Z] Removing intermediate container d6dcb65a820e [2021-02-15T14:12:35.220Z] ---> eed7deb26980 [2021-02-15T14:12:35.220Z] Step 14/21 : FROM ${BASE} [2021-02-15T14:12:35.220Z] ---> b23d30803547 [2021-02-15T14:12:35.220Z] Step 15/21 : LABEL maintainer="IOTech " [2021-02-15T14:12:35.494Z] ---> Running in ea8e7c4296bc [2021-02-15T14:12:36.087Z] Removing intermediate container ea8e7c4296bc [2021-02-15T14:12:36.087Z] ---> 9321fbfe76ca [2021-02-15T14:12:36.087Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-02-15T14:12:36.087Z] ---> Running in 4a62161261f7 [2021-02-15T14:12:37.062Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-15T14:12:38.036Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-15T14:12:38.642Z] (1/3) Installing curl (7.64.0-r5) [2021-02-15T14:12:38.642Z] (2/3) Installing libuuid (2.33-r0) [2021-02-15T14:12:38.642Z] (3/3) Installing wget (1.20.3-r0) [2021-02-15T14:12:38.920Z] Executing busybox-1.29.3-r10.trigger [2021-02-15T14:12:38.920Z] OK: 281 MiB in 78 packages [2021-02-15T14:12:40.418Z] Removing intermediate container 4a62161261f7 [2021-02-15T14:12:40.418Z] ---> 3165cdf85221 [2021-02-15T14:12:40.418Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-02-15T14:12:41.017Z] ---> 80a50034bdf4 [2021-02-15T14:12:41.017Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-02-15T14:12:41.612Z] ---> 83ad886c3bfb [2021-02-15T14:12:41.612Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-02-15T14:12:42.587Z] ---> d3d2442835a5 [2021-02-15T14:12:42.587Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-02-15T14:12:43.181Z] ---> a929dc931d70 [2021-02-15T14:12:43.181Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-02-15T14:12:43.775Z] ---> 44244e20095f [2021-02-15T14:12:43.775Z] Successfully built 44244e20095f [2021-02-15T14:12:44.045Z] 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-02-15T14:12:44.825Z] + docker inspect -f . ci-base-image-arm64 [2021-02-15T14:12:44.825Z] . [Pipeline] withDockerContainer [2021-02-15T14:12:45.088Z] prd-ubuntu18.04-docker-arm64-4c-16g-26503 does not seem to be running inside a container [2021-02-15T14:12:45.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-15T14:12:46.750Z] $ docker top afd6e7f1833719b510388882f1e4f56bb9c68ff4031a8520c02e86c37e163492 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-15T14:12:47.799Z] + make test [2021-02-15T14:12:47.800Z] echo "make test" [2021-02-15T14:12:47.800Z] make test [Pipeline] } [2021-02-15T14:12:47.826Z] $ docker stop --time=1 afd6e7f1833719b510388882f1e4f56bb9c68ff4031a8520c02e86c37e163492 [2021-02-15T14:12:49.754Z] $ docker rm -f afd6e7f1833719b510388882f1e4f56bb9c68ff4031a8520c02e86c37e163492 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-15T14:12:50.741Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-15T14:12:51.070Z] + ls -al . [2021-02-15T14:12:51.070Z] total 192 [2021-02-15T14:12:51.070Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 14:10 . [2021-02-15T14:12:51.070Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 14:10 .. [2021-02-15T14:12:51.070Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 14:10 .git [2021-02-15T14:12:51.070Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 14:10 .github [2021-02-15T14:12:51.070Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 15 14:10 .gitignore [2021-02-15T14:12:51.070Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 15 14:10 Attribution.txt [2021-02-15T14:12:51.070Z] -rw-rw-r-- 1 jenkins jenkins 6712 Feb 15 14:10 CHANGES [2021-02-15T14:12:51.070Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 15 14:10 Doxyfile [2021-02-15T14:12:51.070Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 15 14:10 Jenkinsfile [2021-02-15T14:12:51.070Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 15 14:10 LICENSE [2021-02-15T14:12:51.070Z] -rw-rw-r-- 1 jenkins jenkins 449 Feb 15 14:10 Makefile [2021-02-15T14:12:51.070Z] -rw-rw-r-- 1 jenkins jenkins 2697 Feb 15 14:10 README.md [2021-02-15T14:12:51.070Z] -rw-rw-r-- 1 jenkins jenkins 6378 Feb 15 14:10 README.v2.md [2021-02-15T14:12:51.070Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 14:08 VERSION [2021-02-15T14:12:51.070Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 14:10 docs [2021-02-15T14:12:51.070Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 14:10 include [2021-02-15T14:12:51.070Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 14:10 scripts [2021-02-15T14:12:51.070Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 14:10 src [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:12:51.411Z] + 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=7ad117a825f59d4b1585001b9d81f9b067de5d39 --label arch=arm64 --label version=0.0.0 . [2021-02-15T14:12:52.015Z] Sending build context to Docker daemon 2.512MB [2021-02-15T14:12:52.015Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-02-15T14:12:52.015Z] Step 2/15 : FROM ${BASE} [2021-02-15T14:12:52.015Z] ---> 44244e20095f [2021-02-15T14:12:52.015Z] Step 3/15 : LABEL maintainer="IOTech " [2021-02-15T14:12:52.015Z] ---> Running in 6fa3dea9ca74 [2021-02-15T14:12:52.619Z] Removing intermediate container 6fa3dea9ca74 [2021-02-15T14:12:52.619Z] ---> f9f47c41cd9d [2021-02-15T14:12:52.619Z] 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-02-15T14:12:52.619Z] ---> Running in 96efb02849dd [2021-02-15T14:12:54.045Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-15T14:12:54.634Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-15T14:12:55.223Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-15T14:12:55.223Z] (2/6) Installing libblkid (2.33-r0) [2021-02-15T14:12:55.223Z] (3/6) Installing libfdisk (2.33-r0) [2021-02-15T14:12:55.491Z] (4/6) Installing libmount (2.33-r0) [2021-02-15T14:12:55.491Z] (5/6) Installing libsmartcols (2.33-r0) [2021-02-15T14:12:55.491Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-02-15T14:12:56.082Z] Executing busybox-1.29.3-r10.trigger [2021-02-15T14:12:56.082Z] OK: 286 MiB in 84 packages [2021-02-15T14:12:57.514Z] Removing intermediate container 96efb02849dd [2021-02-15T14:12:57.514Z] ---> 145bec75517f [2021-02-15T14:12:57.514Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-02-15T14:12:58.104Z] ---> f194af39bdc5 [2021-02-15T14:12:58.104Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-02-15T14:12:59.074Z] ---> 1f9419ef5cde [2021-02-15T14:12:59.074Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-02-15T14:12:59.666Z] ---> 7776f59b760f [2021-02-15T14:12:59.666Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-02-15T14:13:00.259Z] ---> fb629f04df8f [2021-02-15T14:13:00.259Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-02-15T14:13:01.234Z] ---> 285d3e9e2777 [2021-02-15T14:13:01.234Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-02-15T14:13:01.830Z] ---> e9ab2c5b7d45 [2021-02-15T14:13:01.830Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-02-15T14:13:01.830Z] ---> Running in 1207ad356b4c [2021-02-15T14:13:02.422Z] Removing intermediate container 1207ad356b4c [2021-02-15T14:13:02.422Z] ---> 93895134dc61 [2021-02-15T14:13:02.422Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-02-15T14:13:02.693Z] ---> Running in 8c7d6562d9d3 [2021-02-15T14:13:02.962Z] Removing intermediate container 8c7d6562d9d3 [2021-02-15T14:13:02.963Z] ---> 45fea012c9e8 [2021-02-15T14:13:02.963Z] Step 13/15 : LABEL arch=arm64 [2021-02-15T14:13:03.234Z] ---> Running in f0d4d4bfb66b [2021-02-15T14:13:03.826Z] Removing intermediate container f0d4d4bfb66b [2021-02-15T14:13:03.826Z] ---> a0478845bb0e [2021-02-15T14:13:03.826Z] Step 14/15 : LABEL git_sha=7ad117a825f59d4b1585001b9d81f9b067de5d39 [2021-02-15T14:13:03.826Z] ---> Running in ab3f452343ce [2021-02-15T14:13:04.100Z] Removing intermediate container ab3f452343ce [2021-02-15T14:13:04.100Z] ---> 050938f2b8f2 [2021-02-15T14:13:04.100Z] Step 15/15 : LABEL version=0.0.0 [2021-02-15T14:13:04.373Z] ---> Running in 303896433a2b [2021-02-15T14:13:04.964Z] Removing intermediate container 303896433a2b [2021-02-15T14:13:04.964Z] ---> f6daafa1fff1 [2021-02-15T14:13:04.964Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-02-15T14:13:04.964Z] Successfully built f6daafa1fff1 [2021-02-15T14:13:04.964Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [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-02-15T14:13:07.689Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:13:08.588Z] ---> package-listing.sh [2021-02-15T14:13:08.589Z] ++ facter osfamily [2021-02-15T14:13:08.589Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-15T14:13:08.589Z] + OS_FAMILY=redhat [2021-02-15T14:13:08.589Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-323 [2021-02-15T14:13:08.589Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-15T14:13:08.589Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-15T14:13:08.589Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-15T14:13:08.589Z] + PACKAGES=/tmp/packages_start.txt [2021-02-15T14:13:08.589Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-323 ']' [2021-02-15T14:13:08.589Z] + PACKAGES=/tmp/packages_end.txt [2021-02-15T14:13:08.589Z] + case "${OS_FAMILY}" in [2021-02-15T14:13:08.589Z] + rpm -qa [2021-02-15T14:13:08.589Z] + sort [2021-02-15T14:13:20.289Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-15T14:13:20.289Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-15T14:13:20.289Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-15T14:13:20.289Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-323 ']' [2021-02-15T14:13:20.289Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-323/archives/ [2021-02-15T14:13:20.289Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-323/archives/ [Pipeline] echo [2021-02-15T14:13:20.305Z] 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-323/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-15T14:13:20.824Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:13:21.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-15T14:13:22.775Z] [2021-02-15T14:13:22.775Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:13:23.400Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-15T14:13:23.785Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-15T14:13:23.785Z] df20fa9351a1: Pulling fs layer [2021-02-15T14:13:23.785Z] 36b3adc4ff6f: Pulling fs layer [2021-02-15T14:13:23.785Z] 8ad3a11d3b57: Pulling fs layer [2021-02-15T14:13:23.785Z] 46f8f816bc3b: Pulling fs layer [2021-02-15T14:13:23.785Z] 93b61091891f: Pulling fs layer [2021-02-15T14:13:23.785Z] 93b9cdb0e59b: Pulling fs layer [2021-02-15T14:13:23.785Z] 5e14af77c1be: Pulling fs layer [2021-02-15T14:13:23.785Z] 01666e4c0597: Pulling fs layer [2021-02-15T14:13:23.785Z] aa168da1d23b: Pulling fs layer [2021-02-15T14:13:23.785Z] 93b9cdb0e59b: Waiting [2021-02-15T14:13:23.785Z] 5e14af77c1be: Waiting [2021-02-15T14:13:23.785Z] 01666e4c0597: Waiting [2021-02-15T14:13:23.785Z] aa168da1d23b: Waiting [2021-02-15T14:13:23.785Z] 46f8f816bc3b: Waiting [2021-02-15T14:13:23.785Z] 93b61091891f: Waiting [2021-02-15T14:13:24.104Z] 36b3adc4ff6f: Download complete [2021-02-15T14:13:24.104Z] 46f8f816bc3b: Verifying Checksum [2021-02-15T14:13:24.104Z] 46f8f816bc3b: Download complete [2021-02-15T14:13:24.477Z] df20fa9351a1: Verifying Checksum [2021-02-15T14:13:24.477Z] df20fa9351a1: Download complete [2021-02-15T14:13:24.477Z] 93b61091891f: Verifying Checksum [2021-02-15T14:13:24.477Z] 93b61091891f: Download complete [2021-02-15T14:13:24.821Z] 93b9cdb0e59b: Verifying Checksum [2021-02-15T14:13:24.821Z] 93b9cdb0e59b: Download complete [2021-02-15T14:13:24.821Z] 5e14af77c1be: Verifying Checksum [2021-02-15T14:13:24.821Z] 5e14af77c1be: Download complete [2021-02-15T14:13:24.821Z] 01666e4c0597: Verifying Checksum [2021-02-15T14:13:24.821Z] 01666e4c0597: Download complete [2021-02-15T14:13:26.854Z] 8ad3a11d3b57: Verifying Checksum [2021-02-15T14:13:26.854Z] 8ad3a11d3b57: Download complete [2021-02-15T14:13:26.854Z] df20fa9351a1: Pull complete [2021-02-15T14:13:28.556Z] 36b3adc4ff6f: Pull complete [2021-02-15T14:13:30.481Z] 8ad3a11d3b57: Pull complete [2021-02-15T14:13:31.247Z] 46f8f816bc3b: Pull complete [2021-02-15T14:13:32.140Z] 93b61091891f: Pull complete [2021-02-15T14:13:32.140Z] 93b9cdb0e59b: Pull complete [2021-02-15T14:13:32.657Z] 5e14af77c1be: Pull complete [2021-02-15T14:13:34.082Z] 01666e4c0597: Pull complete [2021-02-15T14:13:38.312Z] aa168da1d23b: Verifying Checksum [2021-02-15T14:13:38.312Z] aa168da1d23b: Download complete [2021-02-15T14:13:57.704Z] aa168da1d23b: Pull complete [2021-02-15T14:13:57.704Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-15T14:13:57.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-15T14:13:57.704Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-15T14:13:58.549Z] prd-centos7-docker-4c-2g-26502 does not seem to be running inside a container [2021-02-15T14:13:59.340Z] $ 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-323/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-323 -v /w/workspace/edgexfoundry_device-sdk-c_PR-323:/w/workspace/edgexfoundry_device-sdk-c_PR-323:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-323@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-323@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-15T14:14:06.967Z] $ docker top ee6df2006a27b4af55e3ba51c179b40fc5e3dc7fb641f9dafbeafdc12adbf4e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-15T14:14:08.327Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-15T14:14:09.112Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-15T14:14:10.318Z] + ls /var/log/sa-host [2021-02-15T14:14:10.318Z] + sadf -c /var/log/sa-host/sa15 [2021-02-15T14:14:10.318Z] file_magic: OK [2021-02-15T14:14:10.318Z] HZ: Using current value: 100 [2021-02-15T14:14:10.318Z] file_header: OK [2021-02-15T14:14:10.318Z] 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-02-15T14:14:10.318Z] Statistics: [2021-02-15T14:14:10.318Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-15T14:14:10.318Z] File successfully converted to sysstat format version 12.2.1 [2021-02-15T14:14:10.318Z] + sadf -c /var/log/sa-host/sa23 [2021-02-15T14:14:10.318Z] file_magic: OK [2021-02-15T14:14:10.318Z] HZ: Using current value: 100 [2021-02-15T14:14:10.318Z] file_header: OK [2021-02-15T14:14:10.318Z] 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-02-15T14:14:10.318Z] Statistics: [2021-02-15T14:14:10.318Z] Hnuu...uuuununununu... [2021-02-15T14:14:10.318Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-15T14:14:10.902Z] provisioning config files... [2021-02-15T14:14:11.374Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-323@tmp/config4211023947858366307tmp [Pipeline] { [Pipeline] echo [2021-02-15T14:14:12.246Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:14:13.931Z] ---> create-netrc.sh [Pipeline] } [2021-02-15T14:14:13.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-15T14:14:14.122Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:14:15.129Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-15T14:14:15.890Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:14:16.765Z] ---> sudo-logs.sh [2021-02-15T14:14:16.765Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-15T14:14:17.187Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:14:18.672Z] ---> job-cost.sh [2021-02-15T14:14:19.037Z] lf-activate-venv: SKIPPING [2021-02-15T14:14:19.037Z] INFO: No Stack... [2021-02-15T14:14:20.640Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-15T14:14:21.260Z] INFO: Archiving Costs [Pipeline] echo [2021-02-15T14:14:21.650Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:14:24.164Z] ---> logs-deploy.sh [2021-02-15T14:14:24.165Z] lf-activate-venv: SKIPPING [2021-02-15T14:14:24.165Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-323/2 [2021-02-15T14:14:24.165Z] INFO: archiving workspace using pattern(s): [2021-02-15T14:14:27.062Z] Archives upload complete. [2021-02-15T14:14:27.062Z] INFO: archiving logs to Nexus