Pull request #323 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from cc8eb66e59855b5380063143aa7806901ab6b39e+b1e46617e5a0ed805d96c3bfac3e1e8765df3ccd (bb6afd4b11200d39c4088b2c17f716732754ef16) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-323/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-323/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 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-26498 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 cc8eb66e59855b5380063143aa7806901ab6b39e Merge succeeded, producing cc8eb66e59855b5380063143aa7806901ab6b39e Checking out Revision cc8eb66e59855b5380063143aa7806901ab6b39e (PR-323) > git config core.sparsecheckout # timeout=10 > git checkout -f cc8eb66e59855b5380063143aa7806901ab6b39e # 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 cc8eb66e59855b5380063143aa7806901ab6b39e # timeout=10 Commit message: "fix: update v2 REST API with recent changes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:26:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:26:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:26:13 ========================================================= 13:26:13 EdgeX Global Pipelines Version Info 13:26:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:26:14 ------------------- 13:26:14 stable info: 13:26:14 ------------------- 13:26:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:26:14 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 13:26:14 Message: update stable to v1.0.179 13:26:15 ------------------- 13:26:15 experimental info: 13:26:15 ------------------- 13:26:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:26:15 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 13:26:15 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:26:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 13:26:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 13:26:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:26:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:26:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:26:16 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 13:26:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 13:26:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 13:26:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:26:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 13:26:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:26:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:26:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:26:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:26:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:26:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:26:18 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 13:26:18 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 13:26:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-323 [Pipeline] echo 13:26:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-323 [Pipeline] echo 13:26:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-323 [Pipeline] echo 13:26:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc8eb66e59855b5380063143aa7806901ab6b39e [Pipeline] echo 13:26:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc8eb66 [Pipeline] echo 13:26:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:26:19 provisioning config files... 13:26:19 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-323@tmp/config5273524877894006676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:26:19 ---> docker-login.sh 13:26:19 nexus3.edgexfoundry.org:10001 13:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:20 Configure a credential helper to remove this warning. See 13:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:20 13:26:20 Login Succeeded 13:26:20 nexus3.edgexfoundry.org:10002 13:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:20 Configure a credential helper to remove this warning. See 13:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:20 13:26:20 Login Succeeded 13:26:20 nexus3.edgexfoundry.org:10003 13:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:20 Configure a credential helper to remove this warning. See 13:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:20 13:26:20 Login Succeeded 13:26:20 nexus3.edgexfoundry.org:10004 13:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:20 Configure a credential helper to remove this warning. See 13:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:20 13:26:20 Login Succeeded 13:26:20 docker.io 13:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:21 Configure a credential helper to remove this warning. See 13:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:21 13:26:21 Login Succeeded 13:26:21 ---> docker-login.sh ends [Pipeline] } 13:26:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 13:26:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:26:23 13:26:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:26:23 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:26:23 latest: Pulling from edgex-devops/git-semver 13:26:23 31603596830f: Pulling fs layer 13:26:23 2a8b12db71e7: Pulling fs layer 13:26:23 6ca5941a6612: Pulling fs layer 13:26:23 ecc8261a40a4: Pulling fs layer 13:26:23 ecc8261a40a4: Waiting 13:26:23 2a8b12db71e7: Verifying Checksum 13:26:23 2a8b12db71e7: Download complete 13:26:23 31603596830f: Verifying Checksum 13:26:23 31603596830f: Download complete 13:26:24 ecc8261a40a4: Verifying Checksum 13:26:24 ecc8261a40a4: Download complete 13:26:24 6ca5941a6612: Download complete 13:26:24 31603596830f: Pull complete 13:26:24 2a8b12db71e7: Pull complete 13:26:25 6ca5941a6612: Pull complete 13:26:25 ecc8261a40a4: Pull complete 13:26:25 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 13:26:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:26:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:26:25 prd-centos7-docker-4c-2g-26498 does not seem to be running inside a container 13:26:26 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:26:28 $ docker top 82f72165385b5ff504bbd382a58ddb4652851e57a38a9a87c5b2e360494808fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:26:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:26:28 [ssh-agent] Looking for ssh-agent implementation... 13:26:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:26:28 $ docker exec 82f72165385b5ff504bbd382a58ddb4652851e57a38a9a87c5b2e360494808fe ssh-agent 13:26:29 SSH_AUTH_SOCK=/tmp/ssh-EnLlLyQzwrNv/agent.11 13:26:29 SSH_AGENT_PID=16 13:26:29 Running ssh-add (command line suppressed) 13:26:29 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-323@tmp/private_key_5551692943198450800.key (/w/workspace/edgexfoundry_device-sdk-c_PR-323@tmp/private_key_5551692943198450800.key) 13:26:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:26:29 + git tag --points-at HEAD [Pipeline] } 13:26:29 $ docker exec --env ******** --env ******** 82f72165385b5ff504bbd382a58ddb4652851e57a38a9a87c5b2e360494808fe ssh-agent -k 13:26:30 unset SSH_AUTH_SOCK; 13:26:30 unset SSH_AGENT_PID; 13:26:30 echo Agent pid 16 killed; 13:26:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:26:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:26:30 [ssh-agent] Looking for ssh-agent implementation... 13:26:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:26:30 $ docker exec 82f72165385b5ff504bbd382a58ddb4652851e57a38a9a87c5b2e360494808fe ssh-agent 13:26:30 SSH_AUTH_SOCK=/tmp/ssh-kOR2vqORVNNa/agent.46 13:26:30 SSH_AGENT_PID=51 13:26:30 Running ssh-add (command line suppressed) 13:26:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-323@tmp/private_key_484282845453365921.key (/w/workspace/edgexfoundry_device-sdk-c_PR-323@tmp/private_key_484282845453365921.key) 13:26:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:26:31 + git semver init 13:26:31 # -> Open(): unable to determine branch for HEAD 13:26:31 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-323/.git 13:26:31 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-323 13:26:31 # $SEMVER_REMOTE_NAME = origin 13:26:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:26:31 # $SEMVER_USER_NAME = edgex-jenkins 13:26:31 # $SEMVER_BRANCH = PR-323 13:26:31 # $SEMVER_TEMP = /tmp/semver-035749581 13:26:31 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 13:26:32 # '/tmp/semver-035749581' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-323/.semver' 13:26:32 # -> Force: false 13:26:32 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-323/.semver [Pipeline] } 13:26:32 $ docker exec --env ******** --env ******** 82f72165385b5ff504bbd382a58ddb4652851e57a38a9a87c5b2e360494808fe ssh-agent -k 13:26:32 unset SSH_AUTH_SOCK; 13:26:32 unset SSH_AGENT_PID; 13:26:32 echo Agent pid 51 killed; 13:26:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:26:33 + git semver [Pipeline] } 13:26:33 $ docker stop --time=1 82f72165385b5ff504bbd382a58ddb4652851e57a38a9a87c5b2e360494808fe 13:26:34 $ docker rm -f 82f72165385b5ff504bbd382a58ddb4652851e57a38a9a87c5b2e360494808fe [Pipeline] // withDockerContainer [Pipeline] sh 13:26:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:26:35 Stashed 1 file(s) [Pipeline] echo 13:26:35 [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 13:26:51 Still waiting to schedule task 13:26:51 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26498’ 13:26:51 Still waiting to schedule task 13:26:51 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 13:28:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26499 in /w/workspace/edgexfoundry_device-sdk-c_PR-323 [Pipeline] { [Pipeline] ws 13:28:39 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 13:28:44 using credential edgex-jenkins-ssh 13:28:44 Cloning the remote Git repository 13:28:44 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:28:44 > git init /w/workspace/device-sdk-c/1 # timeout=10 13:28:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:28:45 > git --version # timeout=10 13:28:45 > git --version # 'git version 2.17.1' 13:28:45 using GIT_SSH to set credentials SSH Credentials for GitHub 13:28:45 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:28:47 Merging remotes/origin/master commit b1e46617e5a0ed805d96c3bfac3e1e8765df3ccd into PR head commit cc8eb66e59855b5380063143aa7806901ab6b39e 13:28:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:28:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:28:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:28:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:28:46 using GIT_SSH to set credentials SSH Credentials for GitHub 13:28:46 > 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 13:28:47 > git config core.sparsecheckout # timeout=10 13:28:47 > git checkout -f cc8eb66e59855b5380063143aa7806901ab6b39e # timeout=10 13:28:47 Merge succeeded, producing cc8eb66e59855b5380063143aa7806901ab6b39e 13:28:47 Checking out Revision cc8eb66e59855b5380063143aa7806901ab6b39e (PR-323) 13:28:47 > git remote # timeout=10 13:28:47 > git config --get remote.origin.url # timeout=10 13:28:47 using GIT_SSH to set credentials SSH Credentials for GitHub 13:28:47 > git merge b1e46617e5a0ed805d96c3bfac3e1e8765df3ccd # timeout=10 13:28:47 > git rev-parse HEAD^{commit} # timeout=10 13:28:47 > git config core.sparsecheckout # timeout=10 13:28:47 > git checkout -f cc8eb66e59855b5380063143aa7806901ab6b39e # timeout=10 13:28:51 Commit message: "fix: update v2 REST API with recent changes" 13:28:51 > git --version # timeout=10 13:28:51 > git --version # 'git version 2.17.1' 13:28:51 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:28:53 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 13:28:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:28:54 + sudo service docker restart 13:28:54 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:28:57 provisioning config files... 13:28:57 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config5787302793884662398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:28:57 ---> docker-login.sh 13:28:57 nexus3.edgexfoundry.org:10001 13:28:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:59 Configure a credential helper to remove this warning. See 13:28:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:59 13:28:59 Login Succeeded 13:28:59 nexus3.edgexfoundry.org:10002 13:28:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:59 Configure a credential helper to remove this warning. See 13:28:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:59 13:28:59 Login Succeeded 13:28:59 nexus3.edgexfoundry.org:10003 13:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:00 Configure a credential helper to remove this warning. See 13:29:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:00 13:29:00 Login Succeeded 13:29:00 nexus3.edgexfoundry.org:10004 13:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:00 Configure a credential helper to remove this warning. See 13:29:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:00 13:29:00 Login Succeeded 13:29:00 docker.io 13:29:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:01 Configure a credential helper to remove this warning. See 13:29:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:01 13:29:01 Login Succeeded 13:29:01 ---> docker-login.sh ends [Pipeline] } 13:29:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:29:02 ========================================================= 13:29:02 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 13:29:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:29:02 + 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 . 13:29:03 Sending build context to Docker daemon 2.5MB 13:29:03 Step 1/21 : ARG BASE=alpine:3.12 13:29:03 Step 2/21 : FROM ${BASE} as builder 13:29:03 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 13:29:03 0362ad1dd800: Pulling fs layer 13:29:03 f2cdb1532d8b: Pulling fs layer 13:29:03 37ed683be191: Pulling fs layer 13:29:03 f2cdb1532d8b: Verifying Checksum 13:29:03 f2cdb1532d8b: Download complete 13:29:03 0362ad1dd800: Verifying Checksum 13:29:03 0362ad1dd800: Download complete 13:29:04 0362ad1dd800: Pull complete 13:29:04 f2cdb1532d8b: Pull complete 13:29:05 37ed683be191: Verifying Checksum 13:29:05 37ed683be191: Download complete 13:29:15 37ed683be191: Pull complete 13:29:15 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 13:29:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 13:29:15 ---> b23d30803547 13:29:15 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 13:29:16 ---> Running in 12c8f41404e9 13:29:17 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:29:18 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:29:19 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 13:29:19 (2/8) Installing libuuid (2.33-r0) 13:29:19 (3/8) Installing libblkid (2.33-r0) 13:29:19 (4/8) Installing libfdisk (2.33-r0) 13:29:19 (5/8) Installing libmount (2.33-r0) 13:29:19 (6/8) Installing libsmartcols (2.33-r0) 13:29:19 (7/8) Installing util-linux-dev (2.33-r0) 13:29:20 (8/8) Installing wget (1.20.3-r0) 13:29:20 Executing busybox-1.29.3-r10.trigger 13:29:20 OK: 285 MiB in 83 packages 13:29:21 Removing intermediate container 12c8f41404e9 13:29:21 ---> 3aee5556ab3d 13:29:21 Step 4/21 : ENV CBOR_VERSION=0.5.0 13:29:21 ---> Running in c1f7efd04949 13:29:22 Removing intermediate container c1f7efd04949 13:29:22 ---> 2b1336efc6ee 13:29:22 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 13:29:22 ---> Running in 4739ae8ddfd7 13:29:23 --2021-02-15 13:29:23-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:29:23 Resolving github.com... 140.82.112.3 13:29:23 Connecting to github.com|140.82.112.3|:443... connected. 13:29:23 HTTP request sent, awaiting response... 302 Found 13:29:23 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:29:23 --2021-02-15 13:29:23-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:29:23 Resolving codeload.github.com... 140.82.112.10 13:29:23 Connecting to codeload.github.com|140.82.112.10|:443... connected. 13:29:23 HTTP request sent, awaiting response... 200 OK 13:29:23 Length: unspecified [application/x-gzip] 13:29:23 Saving to: 'STDOUT' 13:29:23  13:29:24 0K .......... .......... .......... .......... .......... 1.19M 13:29:24 50K .......... .......... .......... .......... .......... 2.40M 13:29:24 100K .......... .......... .......... .......... .......... 11.9M 13:29:24 150K .......... .......... .......... .......... .......... 3.08M 13:29:24 200K .......... .......... .......... .......... .......... 9.80M 13:29:24 250K .......... .......... .......... .......... .......... 2.87M 13:29:24 300K .......... .......... .......... .......... .......... 6.01M 13:29:24 350K .......... .......... .......... .......... .......... 4.61M 13:29:24 400K .......... .......... .......... .......... .......... 3.56M 13:29:24 450K .......... .......... .......... .......... .......... 3.63M 13:29:24 500K .......... .......... .......... .......... .......... 7.52M 13:29:24 550K .......... .......... .......... .......... .......... 3.16M 13:29:24 600K .......... .......... .......... .......... .......... 808K 13:29:24 650K .......... .......... .......... .......... .......... 3.33M 13:29:24 700K ..    338K=0.3s 13:29:24 13:29:24 2021-02-15 13:29:24 (2.69 MB/s) - written to stdout [719348] 13:29:24 13:29:24 -- The C compiler identification is GNU 8.3.0 13:29:24 -- The CXX compiler identification is GNU 8.3.0 13:29:24 -- Check for working C compiler: /usr/bin/cc 13:29:24 -- Check for working C compiler: /usr/bin/cc -- works 13:29:24 -- Detecting C compiler ABI info 13:29:25 -- Detecting C compiler ABI info - done 13:29:25 -- Detecting C compile features 13:29:26 -- Detecting C compile features - done 13:29:26 -- Check for working CXX compiler: /usr/bin/c++ 13:29:26 -- Check for working CXX compiler: /usr/bin/c++ -- works 13:29:26 -- Detecting CXX compiler ABI info 13:29:26 -- Detecting CXX compiler ABI info - done 13:29:26 -- Detecting CXX compile features 13:29:27 -- Detecting CXX compile features - done 13:29:28 -- Looking for include file endian.h 13:29:28 -- Looking for include file endian.h - found 13:29:28 -- Check if the system is big endian 13:29:28 -- Searching 16 bit integer 13:29:28 -- Looking for sys/types.h 13:29:28 -- Looking for sys/types.h - found 13:29:28 -- Looking for stdint.h 13:29:28 -- Looking for stdint.h - found 13:29:28 -- Looking for stddef.h 13:29:28 -- Looking for stddef.h - found 13:29:28 -- Check size of unsigned short 13:29:29 -- Check size of unsigned short - done 13:29:29 -- Using unsigned short 13:29:29 -- Check if the system is big endian - little endian 13:29:29 -- Check size of size_t 13:29:29 -- Check size of size_t - done 13:29:29 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:29:29 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:29:29 asked CMake to find a package configuration file provided by "cJSON", but 13:29:29 CMake did not find one. 13:29:29 13:29:29 Could not find a package configuration file provided by "cJSON" with any of 13:29:29 the following names: 13:29:29 13:29:29 cJSONConfig.cmake 13:29:29 cjson-config.cmake 13:29:29 13:29:29 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:29:29 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:29:29 provides a separate development package or SDK, be sure it has been 13:29:29 installed. 13:29:29 13:29:29 13:29:29 -- Configuring done 13:29:30 -- Generating done 13:29:30 -- Build files have been written to: /tmp/cbor 13:29:30 Scanning dependencies of target cbor_shared 13:29:30 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:29:31 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:29:31 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:29:31 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:29:32 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:29:32 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:29:32 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:29:32 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:29:32 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:29:33 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:29:33 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:29:34 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:29:34 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:29:34 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:29:34 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:29:35 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:29:35 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:29:35 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:29:36 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:29:36 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:29:36 [ 40%] Linking C shared library libcbor.so 13:29:36 [ 40%] Built target cbor_shared 13:29:36 Scanning dependencies of target cbor 13:29:36 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:29:37 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:29:37 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:29:38 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:29:39 Running on prd-centos7-docker-4c-2g-26500 in /w/workspace/edgexfoundry_device-sdk-c_PR-323 [Pipeline] { 13:29:39 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [Pipeline] ws 13:29:39 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 13:29:39 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:29:39 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:29:39 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:29:39 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:29:41 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:29:41 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:29:41 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:29:41 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:29:41 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:29:42 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:29:42 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:29:42 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:29:43 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:29:43 using credential edgex-jenkins-ssh 13:29:43 Cloning the remote Git repository 13:29:43 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:29:43 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:29:43 [ 80%] Linking C static library libcbor.a 13:29:43 [ 80%] Built target cbor 13:29:43 Scanning dependencies of target create_items 13:29:43 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:29:43 [ 84%] Linking C executable create_items 13:29:43 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:29:43 > git init /w/workspace/device-sdk-c/1 # timeout=10 13:29:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:29:43 > git --version # timeout=10 13:29:43 > git --version # 'git version 2.24.3' 13:29:43 using GIT_SSH to set credentials SSH Credentials for GitHub 13:29:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:29:44 [ 84%] Built target create_items 13:29:44 Scanning dependencies of target readfile 13:29:44 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:29:44 [ 88%] Linking C executable readfile 13:29:44 [ 88%] Built target readfile 13:29:44 Scanning dependencies of target streaming_parser 13:29:44 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:29:44 Merging remotes/origin/master commit b1e46617e5a0ed805d96c3bfac3e1e8765df3ccd into PR head commit cc8eb66e59855b5380063143aa7806901ab6b39e 13:29:44 [ 92%] Linking C executable streaming_parser 13:29:44 [ 92%] Built target streaming_parser 13:29:44 Scanning dependencies of target sort 13:29:44 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:29:44 Merge succeeded, producing cc8eb66e59855b5380063143aa7806901ab6b39e 13:29:44 Checking out Revision cc8eb66e59855b5380063143aa7806901ab6b39e (PR-323) 13:29:44 [ 96%] Linking C executable sort 13:29:44 [ 96%] Built target sort 13:29:44 Scanning dependencies of target hello 13:29:44 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:29:45 [100%] Linking C executable hello 13:29:45 [100%] Built target hello 13:29:45 Install the project... 13:29:45 -- Install configuration: "Release" 13:29:45 -- Installing: /usr/local/include/cbor/configuration.h 13:29:45 -- Installing: /usr/local/lib64/libcbor.a 13:29:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:29:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:29:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:29:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:29:44 using GIT_SSH to set credentials SSH Credentials for GitHub 13:29:44 > 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 13:29:44 > git config core.sparsecheckout # timeout=10 13:29:44 > git checkout -f cc8eb66e59855b5380063143aa7806901ab6b39e # timeout=10 13:29:44 > git remote # timeout=10 13:29:44 > git config --get remote.origin.url # timeout=10 13:29:44 using GIT_SSH to set credentials SSH Credentials for GitHub 13:29:44 > git merge b1e46617e5a0ed805d96c3bfac3e1e8765df3ccd # timeout=10 13:29:44 > git rev-parse HEAD^{commit} # timeout=10 13:29:44 > git config core.sparsecheckout # timeout=10 13:29:44 > git checkout -f cc8eb66e59855b5380063143aa7806901ab6b39e # timeout=10 13:29:45 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:29:45 -- Installing: /usr/local/lib64/libcbor.so.0 13:29:45 -- Installing: /usr/local/lib64/libcbor.so 13:29:45 -- Up-to-date: /usr/local/include/cbor 13:29:45 -- Installing: /usr/local/include/cbor/streaming.h 13:29:45 -- Installing: /usr/local/include/cbor/ints.h 13:29:45 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:29:45 -- Installing: /usr/local/include/cbor/bytestrings.h 13:29:45 -- Installing: /usr/local/include/cbor/encoding.h 13:29:45 -- Installing: /usr/local/include/cbor/serialization.h 13:29:45 -- Installing: /usr/local/include/cbor/data.h 13:29:45 -- Installing: /usr/local/include/cbor/common.h 13:29:45 -- Installing: /usr/local/include/cbor/callbacks.h 13:29:45 -- Installing: /usr/local/include/cbor/strings.h 13:29:45 -- Installing: /usr/local/include/cbor/tags.h 13:29:45 -- Installing: /usr/local/include/cbor/internal 13:29:45 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:29:45 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:29:45 -- Installing: /usr/local/include/cbor/internal/stack.h 13:29:45 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:29:45 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:29:45 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:29:45 -- Installing: /usr/local/include/cbor/arrays.h 13:29:45 -- Installing: /usr/local/include/cbor/maps.h 13:29:45 -- Installing: /usr/local/include/cbor.h 13:29:45 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:29:47 Removing intermediate container 4739ae8ddfd7 13:29:47 ---> 6c2cfe4abffb 13:29:47 Step 6/21 : RUN mkdir /tmp/sdk 13:29:47 ---> Running in 4dd27538a34f 13:29:48 Commit message: "fix: update v2 REST API with recent changes" 13:29:48 > git --version # timeout=10 13:29:48 > git --version # 'git version 2.24.3' 13:29:48 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:29:49 Removing intermediate container 4dd27538a34f 13:29:49 ---> a1316526d3b8 13:29:49 Step 7/21 : COPY VERSION /tmp/sdk 13:29:50 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 13:29:50 ---> 19df6f37d421 13:29:50 Step 8/21 : COPY src /tmp/sdk/src 13:29:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:29:50 + sudo service docker restart 13:29:50 + true 13:29:50 Redirecting to /bin/systemctl restart docker.service 13:29:51 ---> bc1345243376 13:29:51 Step 9/21 : COPY include /tmp/sdk/include [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:29:51 provisioning config files... 13:29:51 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2885936594616775859tmp [Pipeline] { 13:29:51 ---> 9cf713ced34d 13:29:51 Step 10/21 : COPY scripts /tmp/sdk/scripts [Pipeline] libraryResource [Pipeline] sh 13:29:52 ---> docker-login.sh 13:29:52 nexus3.edgexfoundry.org:10001 13:29:52 ---> dd836fdae614 13:29:52 Step 11/21 : COPY LICENSE /tmp/sdk 13:29:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:52 Configure a credential helper to remove this warning. See 13:29:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:52 13:29:52 Login Succeeded 13:29:52 nexus3.edgexfoundry.org:10002 13:29:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:52 Configure a credential helper to remove this warning. See 13:29:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:52 13:29:52 Login Succeeded 13:29:52 nexus3.edgexfoundry.org:10003 13:29:53 ---> 2ac9f3a46428 13:29:53 Step 12/21 : COPY Attribution.txt /tmp/sdk 13:29:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:53 Configure a credential helper to remove this warning. See 13:29:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:53 13:29:53 Login Succeeded 13:29:53 nexus3.edgexfoundry.org:10004 13:29:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:53 Configure a credential helper to remove this warning. See 13:29:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:53 13:29:53 Login Succeeded 13:29:53 docker.io 13:29:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:53 Configure a credential helper to remove this warning. See 13:29:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:53 13:29:53 Login Succeeded 13:29:53 ---> docker-login.sh ends [Pipeline] } 13:29:53 Deleting 1 temporary files 13:29:53 ---> bc26f4b30ebc 13:29:53 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 13:29:53 ---> Running in 4ac7e1fbd7d4 [Pipeline] echo 13:29:54 ========================================================= 13:29:54 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 13:29:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:29:54 + 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 . 13:29:54 Sending build context to Docker daemon 2.501MB 13:29:54 Step 1/21 : ARG BASE=alpine:3.12 13:29:54 Step 2/21 : FROM ${BASE} as builder 13:29:54 latest: Pulling from edgex-devops/edgex-gcc-base 13:29:54 e7c96db7181b: Pulling fs layer 13:29:54 4c13bbce0fe7: Pulling fs layer 13:29:54 6059c847ac2f: Pulling fs layer 13:29:54 4c13bbce0fe7: Verifying Checksum 13:29:54 4c13bbce0fe7: Download complete 13:29:54 + CPPCHECK=false 13:29:54 + DOCGEN=false 13:29:54 + TOMLVER=SDK-0.2 13:29:54 + CUTILVER=1.1.4 13:29:54 + '[' 0 -gt 0 ] 13:29:54 + readlink -f ./scripts/build.sh 13:29:54 + dirname /tmp/sdk/scripts/build.sh 13:29:54 + dirname /tmp/sdk/scripts 13:29:54 + ROOT=/tmp/sdk 13:29:54 + cd /tmp/sdk 13:29:54 + '[' '!' -d deps ] 13:29:54 + mkdir deps 13:29:54 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:29:54 + tar -C deps -z -x -f - 13:29:54 --2021-02-15 13:29:54-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:29:54 Resolving github.com... 140.82.112.3 13:29:54 Connecting to github.com|140.82.112.3|:443... connected. 13:29:55 HTTP request sent, awaiting response... 302 Found 13:29:55 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:29:55 --2021-02-15 13:29:55-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:29:55 Resolving codeload.github.com... 140.82.112.10 13:29:55 Connecting to codeload.github.com|140.82.112.10|:443... connected. 13:29:55 HTTP request sent, awaiting response... 200 OK 13:29:55 Length: unspecified [application/x-gzip] 13:29:55 Saving to: 'STDOUT' 13:29:55 13:29:55 0K .......... ......  878K=0.02s 13:29:55 13:29:55 2021-02-15 13:29:55 (878 KB/s) - written to stdout [16451] 13:29:55 13:29:55 e7c96db7181b: Verifying Checksum 13:29:55 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:29:55 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 13:29:55 + tar -C deps -z -x -f - 13:29:55 --2021-02-15 13:29:55-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 13:29:55 Resolving github.com... 140.82.112.3 13:29:55 Connecting to github.com|140.82.112.3|:443... connected. 13:29:55 HTTP request sent, awaiting response... 302 Found 13:29:55 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 13:29:55 --2021-02-15 13:29:55-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 13:29:55 Resolving codeload.github.com... 140.82.112.10 13:29:55 Connecting to codeload.github.com|140.82.112.10|:443... connected. 13:29:55 e7c96db7181b: Pull complete 13:29:55 HTTP request sent, awaiting response... 200 OK 13:29:55 Length: unspecified [application/x-gzip] 13:29:55 Saving to: 'STDOUT' 13:29:55 13:29:55 0K .......... .......... .......... .......... .......... 1.44M 13:29:55 50K .......... .......... .......... .......... .......... 3.08M 13:29:55 100K .......... .......... .......... .......... .......... 5.50M 13:29:55 150K .......... .......... .......   1.51M=0.08s 13:29:55 13:29:55 2021-02-15 13:29:55 (2.27 MB/s) - written to stdout [181796] 13:29:55 13:29:55 + mkdir -p src/c/iot 13:29:55 + 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 13:29:55 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 13:29:55 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 13:29:55 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 13:29:55 + mkdir -p include/iot 13:29:55 + 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 13:29:55 + mkdir -p include/iot/os 13:29:55 + 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 13:29:55 + mkdir -p /tmp/sdk/build/release 13:29:55 + cd /tmp/sdk/build/release 13:29:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:29:56 4c13bbce0fe7: Pull complete 13:29:56 -- The C compiler identification is GNU 8.3.0 13:29:56 -- Check for working C compiler: /usr/bin/cc 13:29:56 -- Check for working C compiler: /usr/bin/cc -- works 13:29:56 -- Detecting C compiler ABI info 13:29:56 -- Detecting C compiler ABI info - done 13:29:56 -- Detecting C compile features 13:29:56 6059c847ac2f: Verifying Checksum 13:29:56 6059c847ac2f: Download complete 13:29:57 -- Detecting C compile features - done 13:29:57 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:29:57 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:29:57 -- Found LIBYAML: /usr/lib/libyaml.so 13:29:57 -- Found LIBUUID: /usr/lib/libuuid.so 13:29:57 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:29:57 -- C SDK 0.0.0 for Linux 13:29:57 -- Performing Test CSDK_HAVE_ATOMIC 13:29:57 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:29:57 -- Found Curses: /usr/lib/libcurses.so 13:29:57 -- Configuring done 13:29:58 -- Generating done 13:29:58 -- Build files have been written to: /tmp/sdk/build/release 13:29:58 + make 13:29:58 + tee release.log 13:29:58 Scanning dependencies of target csdk 13:29:58 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:29:58 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 13:29:59 [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:29:59 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:30:01 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:30:02 6059c847ac2f: Pull complete 13:30:02 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 13:30:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 13:30:02 ---> 5eabd8fd8ba2 13:30:02 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 13:30:02 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:30:02 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:30:03 [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:30:03 ---> Running in cfb1427af501 13:30:04 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:30:04 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:30:05 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 13:30:05 (2/8) Installing libuuid (2.33-r0) 13:30:05 (3/8) Installing libblkid (2.33-r0) 13:30:05 [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:30:05 (4/8) Installing libfdisk (2.33-r0) 13:30:05 (5/8) Installing libmount (2.33-r0) 13:30:05 (6/8) Installing libsmartcols (2.33-r0) 13:30:05 (7/8) Installing util-linux-dev (2.33-r0) 13:30:05 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:30:06 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:30:06 (8/8) Installing wget (1.20.3-r0) 13:30:06 Executing busybox-1.29.3-r10.trigger 13:30:06 OK: 272 MiB in 83 packages 13:30:07 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:30:07 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:30:07 Removing intermediate container cfb1427af501 13:30:07 ---> 3a7aaf6eecb3 13:30:07 Step 4/21 : ENV CBOR_VERSION=0.5.0 13:30:07 ---> Running in 5dfd65d64e5f 13:30:07 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:30:07 Removing intermediate container 5dfd65d64e5f 13:30:07 ---> d08d5a011a2d 13:30:07 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 13:30:07 ---> Running in db02567ad952 13:30:07 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:30:08 --2021-02-15 13:30:08-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:30:08 Resolving github.com... 140.82.112.3 13:30:08 Connecting to github.com|140.82.112.3|:443... connected. 13:30:08 HTTP request sent, awaiting response... 302 Found 13:30:08 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:30:08 --2021-02-15 13:30:08-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:30:08 Resolving codeload.github.com... 140.82.112.10 13:30:08 Connecting to codeload.github.com|140.82.112.10|:443... connected. 13:30:08 HTTP request sent, awaiting response... 200 OK 13:30:08 Length: unspecified [application/x-gzip] 13:30:08 Saving to: 'STDOUT' 13:30:08 13:30:08 0K .......... .......... .......... .......... .......... 1.61M 13:30:08 50K .......... .......... .......... .......... .......... 2.99M 13:30:08 100K .......... .......... .......... .......... .......... 40.4M 13:30:08 150K .......... .......... .......... .......... .......... 3.39M 13:30:08 200K .......... .......... .......... .......... .......... 3.50M 13:30:08 250K .......... .......... .......... .......... .......... 40.9M 13:30:08 300K .......... .......... .......... .......... .......... 3.19M 13:30:08 350K .......... .......... .......... .......... .......... 2.93M 13:30:08 400K .......... .......... .......... .......... .......... 3.77M 13:30:08 450K .......... .......... .......... .......... .......... 2.97M 13:30:08 500K .......... .......... .......... .......... .......... 3.21M 13:30:08 550K .......... .......... .......... .......... .......... 3.12M 13:30:08 600K .......... .......... .......... .......... .......... 3.30M 13:30:08 650K .......... .......... .......... .......... .......... 1.65M 13:30:08 700K .. 46.7M=0.2s 13:30:08 13:30:08 2021-02-15 13:30:08 (3.21 MB/s) - written to stdout [719348] 13:30:08 13:30:09 -- The C compiler identification is GNU 8.3.0 13:30:09 -- The CXX compiler identification is GNU 8.3.0 13:30:09 -- Check for working C compiler: /usr/bin/cc 13:30:09 -- Check for working C compiler: /usr/bin/cc -- works 13:30:09 -- Detecting C compiler ABI info 13:30:09 -- Detecting C compiler ABI info - done 13:30:09 -- Detecting C compile features 13:30:09 -- Detecting C compile features - done 13:30:09 -- Check for working CXX compiler: /usr/bin/c++ 13:30:09 -- Check for working CXX compiler: /usr/bin/c++ -- works 13:30:09 -- Detecting CXX compiler ABI info 13:30:09 -- Detecting CXX compiler ABI info - done 13:30:09 -- Detecting CXX compile features 13:30:10 -- Detecting CXX compile features - done 13:30:10 -- Looking for include file endian.h 13:30:10 -- Looking for include file endian.h - found 13:30:10 -- Check if the system is big endian 13:30:10 -- Searching 16 bit integer 13:30:10 -- Looking for sys/types.h 13:30:10 -- Looking for sys/types.h - found 13:30:10 -- Looking for stdint.h 13:30:10 -- Looking for stdint.h - found 13:30:10 -- Looking for stddef.h 13:30:10 -- Looking for stddef.h - found 13:30:10 -- Check size of unsigned short 13:30:10 -- Check size of unsigned short - done 13:30:10 -- Using unsigned short 13:30:10 -- Check if the system is big endian - little endian 13:30:10 -- Check size of size_t 13:30:10 -- Check size of size_t - done 13:30:10 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:30:10 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:30:10 asked CMake to find a package configuration file provided by "cJSON", but 13:30:10 CMake did not find one. 13:30:10 13:30:10 Could not find a package configuration file provided by "cJSON" with any of 13:30:10 the following names: 13:30:10 13:30:10 cJSONConfig.cmake 13:30:10 cjson-config.cmake 13:30:10 13:30:10 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:30:10 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:30:10 provides a separate development package or SDK, be sure it has been 13:30:10 installed. 13:30:10 13:30:10 13:30:10 -- Configuring done 13:30:10 -- Generating done 13:30:10 -- Build files have been written to: /tmp/cbor 13:30:10 Scanning dependencies of target cbor_shared 13:30:10 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:30:11 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:30:11 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:30:11 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:30:11 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:30:11 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:30:11 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:30:11 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:30:11 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:30:11 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:30:11 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:30:11 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:30:11 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:30:12 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:30:12 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:30:12 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:30:12 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:30:12 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:30:12 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:30:12 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:30:12 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:30:12 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:30:12 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:30:12 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:30:12 [ 40%] Linking C shared library libcbor.so 13:30:12 [ 40%] Built target cbor_shared 13:30:12 Scanning dependencies of target cbor 13:30:12 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:30:13 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:30:13 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:30:13 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:30:13 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:30:13 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:30:13 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:30:13 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:30:13 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:30:13 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:30:13 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:30:14 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:30:14 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:30:14 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:30:14 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:30:14 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:30:14 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:30:14 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:30:14 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:30:14 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:30:14 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:30:14 [ 80%] Linking C static library libcbor.a 13:30:14 [ 80%] Built target cbor 13:30:14 Scanning dependencies of target create_items 13:30:14 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:30:14 [ 84%] Linking C executable create_items 13:30:14 [ 84%] Built target create_items 13:30:15 Scanning dependencies of target readfile 13:30:15 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:30:15 [ 88%] Linking C executable readfile 13:30:15 [ 88%] Built target readfile 13:30:15 Scanning dependencies of target streaming_parser 13:30:15 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:30:15 [ 92%] Linking C executable streaming_parser 13:30:15 [ 92%] Built target streaming_parser 13:30:15 Scanning dependencies of target sort 13:30:15 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:30:15 [ 96%] Linking C executable sort 13:30:15 [ 96%] Built target sort 13:30:15 Scanning dependencies of target hello 13:30:15 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:30:15 [100%] Linking C executable hello 13:30:15 [100%] Built target hello 13:30:15 Install the project... 13:30:15 -- Install configuration: "Release" 13:30:15 -- Installing: /usr/local/include/cbor/configuration.h 13:30:15 -- Installing: /usr/local/lib64/libcbor.a 13:30:15 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:30:15 -- Installing: /usr/local/lib64/libcbor.so.0 13:30:15 -- Installing: /usr/local/lib64/libcbor.so 13:30:15 -- Up-to-date: /usr/local/include/cbor 13:30:15 -- Installing: /usr/local/include/cbor/arrays.h 13:30:15 -- Installing: /usr/local/include/cbor/bytestrings.h 13:30:15 -- Installing: /usr/local/include/cbor/callbacks.h 13:30:15 -- Installing: /usr/local/include/cbor/common.h 13:30:15 -- Installing: /usr/local/include/cbor/data.h 13:30:15 -- Installing: /usr/local/include/cbor/encoding.h 13:30:15 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:30:15 -- Installing: /usr/local/include/cbor/internal 13:30:15 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:30:15 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:30:15 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:30:15 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:30:15 -- Installing: /usr/local/include/cbor/internal/stack.h 13:30:15 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:30:15 -- Installing: /usr/local/include/cbor/ints.h 13:30:15 -- Installing: /usr/local/include/cbor/maps.h 13:30:15 -- Installing: /usr/local/include/cbor/serialization.h 13:30:15 -- Installing: /usr/local/include/cbor/streaming.h 13:30:15 -- Installing: /usr/local/include/cbor/strings.h 13:30:15 -- Installing: /usr/local/include/cbor/tags.h 13:30:15 -- Installing: /usr/local/include/cbor.h 13:30:15 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:30:15 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:30:15 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:30:15 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:30:16 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:30:16 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:30:16 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:30:17 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:30:18 Removing intermediate container db02567ad952 13:30:18 ---> 903a5a11249c 13:30:18 Step 6/21 : RUN mkdir /tmp/sdk 13:30:18 ---> Running in bed216db3f70 13:30:18 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:30:18 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:30:19 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:30:19 Removing intermediate container bed216db3f70 13:30:19 ---> fd989edf598c 13:30:19 Step 7/21 : COPY VERSION /tmp/sdk 13:30:19 ---> 5018f978a3ab 13:30:19 Step 8/21 : COPY src /tmp/sdk/src 13:30:20 ---> 0f72473c6f9e 13:30:20 Step 9/21 : COPY include /tmp/sdk/include 13:30:20 ---> b76de9045eec 13:30:20 Step 10/21 : COPY scripts /tmp/sdk/scripts 13:30:20 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:30:20 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:30:21 ---> 652f40f8292b 13:30:21 Step 11/21 : COPY LICENSE /tmp/sdk 13:30:21 ---> acc3003082bf 13:30:21 Step 12/21 : COPY Attribution.txt /tmp/sdk 13:30:21 ---> 2e237457e315 13:30:21 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:30:21 ---> Running in 2ca3ec21c1e5 13:30:22 + CPPCHECK=false 13:30:22 + DOCGEN=false 13:30:22 + TOMLVER=SDK-0.2 13:30:22 + CUTILVER=1.1.4 13:30:22 + '[' 0 -gt 0 ] 13:30:22 + readlink -f ./scripts/build.sh 13:30:22 + dirname /tmp/sdk/scripts/build.sh 13:30:22 + dirname /tmp/sdk/scripts 13:30:22 + ROOT=/tmp/sdk 13:30:22 + cd /tmp/sdk 13:30:22 + '[' '!' -d deps ] 13:30:22 + mkdir deps 13:30:22 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:30:22 + tar -C deps -z -x -f - 13:30:22 --2021-02-15 13:30:21-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:30:22 Resolving github.com... 140.82.114.4 13:30:22 Connecting to github.com|140.82.114.4|:443... connected. 13:30:22 HTTP request sent, awaiting response... 302 Found 13:30:22 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:30:22 --2021-02-15 13:30:22-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:30:22 Resolving codeload.github.com... 140.82.112.10 13:30:22 Connecting to codeload.github.com|140.82.112.10|:443... connected. 13:30:22 HTTP request sent, awaiting response... 200 OK 13:30:22 Length: unspecified [application/x-gzip] 13:30:22 Saving to: 'STDOUT' 13:30:22  13:30:22 0K .......... ......  969K=0.02s 13:30:22 13:30:22 2021-02-15 13:30:22 (969 KB/s) - written to stdout [16451] 13:30:22 13:30:22 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:30:22 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 13:30:22 + tar -C deps -z -x -f - 13:30:22 --2021-02-15 13:30:22-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 13:30:22 Resolving github.com... 140.82.114.4 13:30:22 Connecting to github.com|140.82.114.4|:443... connected. 13:30:22 HTTP request sent, awaiting response... 302 Found 13:30:22 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 13:30:22 --2021-02-15 13:30:22-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 13:30:22 Resolving codeload.github.com... 140.82.112.10 13:30:22 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:30:22 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:30:22 Connecting to codeload.github.com|140.82.112.10|:443... connected. 13:30:22 HTTP request sent, awaiting response... 200 OK 13:30:22 Length: unspecified [application/x-gzip] 13:30:22 Saving to: 'STDOUT' 13:30:22  13:30:22 0K .......... .......... .......... .......... .......... 1.33M 13:30:22 50K .......... .......... .......... .......... .......... 2.64M 13:30:22 100K .......... .......... .......... .......... .......... 36.4M 13:30:22 150K .......... .......... ....... 4.62M=0.06s 13:30:22 13:30:22 2021-02-15 13:30:22 (2.78 MB/s) - written to stdout [181796] 13:30:22 13:30:22 + mkdir -p src/c/iot 13:30:22 + 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 13:30:22 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 13:30:22 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 13:30:22 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 13:30:22 + mkdir -p include/iot 13:30:22 + 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 13:30:22 + mkdir -p include/iot/os 13:30:22 + 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 13:30:22 + mkdir -p /tmp/sdk/build/release 13:30:22 + cd /tmp/sdk/build/release 13:30:22 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:30:22 -- The C compiler identification is GNU 8.3.0 13:30:22 -- Check for working C compiler: /usr/bin/cc 13:30:22 -- Check for working C compiler: /usr/bin/cc -- works 13:30:22 -- Detecting C compiler ABI info 13:30:22 -- Detecting C compiler ABI info - done 13:30:22 -- Detecting C compile features 13:30:23 -- Detecting C compile features - done 13:30:23 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:30:23 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:30:23 -- Found LIBYAML: /usr/lib/libyaml.so 13:30:23 -- Found LIBUUID: /usr/lib/libuuid.so 13:30:23 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:30:23 -- C SDK 0.0.0 for Linux 13:30:23 -- Performing Test CSDK_HAVE_ATOMIC 13:30:23 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:30:23 -- Found Curses: /usr/lib/libcurses.so 13:30:23 -- Configuring done 13:30:23 -- Generating done 13:30:23 -- Build files have been written to: /tmp/sdk/build/release 13:30:23 + make 13:30:23 + tee release.log 13:30:23 Scanning dependencies of target csdk 13:30:23 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:30:23 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 13:30:23 [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:30:23 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:30:24 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:30:24 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:30:24 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:30:25 [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:30:25 [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:30:25 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:30:25 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:30:25 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:30:26 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:30:26 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:30:26 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:30:27 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:30:27 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:30:27 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:30:27 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:30:27 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:30:27 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:30:27 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:30:27 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:30:28 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:30:28 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:30:28 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:30:28 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:30:28 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:30:28 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:30:28 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:30:29 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:30:29 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:30:29 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:30:29 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:30:29 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:30:29 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:30:29 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:30:30 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:30:30 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:30:30 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:30:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:30:31 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:30:31 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:30:31 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:30:32 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:30:32 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:30:32 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:30:33 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:30:34 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:30:34 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:30:34 [ 73%] Linking C shared library libcsdk.so 13:30:34 [ 73%] Built target csdk 13:30:34 Scanning dependencies of target template 13:30:34 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:30:34 [ 76%] Linking C executable template 13:30:34 [ 76%] Built target template 13:30:34 Scanning dependencies of target device-counter 13:30:34 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:30:34 [ 80%] Linking C executable device-counter 13:30:34 [ 80%] Built target device-counter 13:30:34 Scanning dependencies of target device-random 13:30:34 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:30:34 [ 83%] Linking C executable device-random 13:30:34 [ 83%] Built target device-random 13:30:34 Scanning dependencies of target device-gyro 13:30:34 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:30:35 [ 86%] Linking C executable device-gyro 13:30:35 [ 86%] Built target device-gyro 13:30:35 Scanning dependencies of target device-bitfields 13:30:35 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:30:35 [ 90%] Linking C executable device-bitfields 13:30:35 [ 90%] Built target device-bitfields 13:30:35 Scanning dependencies of target template-discovery 13:30:35 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:30:35 [ 93%] Linking C executable template-discovery 13:30:35 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:30:35 [ 93%] Built target template-discovery 13:30:35 Scanning dependencies of target device-file 13:30:35 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:30:35 [ 96%] Linking C executable device-file 13:30:35 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:30:35 [ 96%] Built target device-file 13:30:35 Scanning dependencies of target device-terminal 13:30:35 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:30:35 [100%] Linking C executable device-terminal 13:30:36 [100%] Built target device-terminal 13:30:36 + make package 13:30:36 + tee -a release.log 13:30:36 [ 73%] Built target csdk 13:30:36 [ 76%] Built target template 13:30:36 [ 80%] Built target device-counter 13:30:36 [ 83%] Built target device-random 13:30:36 [ 86%] Built target device-gyro 13:30:36 [ 90%] Built target device-bitfields 13:30:36 [ 93%] Built target template-discovery 13:30:36 [ 96%] Built target device-file 13:30:36 [100%] Built target device-terminal 13:30:36 [ 73%] Linking C shared library libcsdk.so 13:30:36 [ 73%] Built target csdk 13:30:36 Scanning dependencies of target template 13:30:36 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:30:36 Run CPack packaging tool... 13:30:36 CPack: Create package using TGZ 13:30:36 CPack: Install projects 13:30:36 CPack: - Run preinstall target for: Csdk 13:30:36 CPack: - Install project: Csdk 13:30:36 CPack: Create package 13:30:36 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:30:36 + '[' false '=' true ] 13:30:36 + '[' false '=' true ] 13:30:36 + mkdir -p /tmp/sdk/build/debug 13:30:36 + cd /tmp/sdk/build/debug 13:30:36 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:30:36 -- The C compiler identification is GNU 8.3.0 13:30:36 -- Check for working C compiler: /usr/bin/cc 13:30:36 -- Check for working C compiler: /usr/bin/cc -- works 13:30:36 -- Detecting C compiler ABI info 13:30:36 -- Detecting C compiler ABI info - done 13:30:36 -- Detecting C compile features 13:30:36 [ 76%] Linking C executable template 13:30:37 -- Detecting C compile features - done 13:30:37 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:30:37 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:30:37 -- Found LIBYAML: /usr/lib/libyaml.so 13:30:37 -- Found LIBUUID: /usr/lib/libuuid.so 13:30:37 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:30:37 -- C SDK 0.0.0 for Linux 13:30:37 -- Performing Test CSDK_HAVE_ATOMIC 13:30:37 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:30:37 -- Found Curses: /usr/lib/libcurses.so 13:30:37 -- Configuring done 13:30:37 -- Generating done 13:30:37 -- Build files have been written to: /tmp/sdk/build/debug 13:30:37 + make 13:30:37 + tee debug.log 13:30:37 [ 76%] Built target template 13:30:37 Scanning dependencies of target device-counter 13:30:37 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:30:37 Scanning dependencies of target csdk 13:30:37 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:30:37 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 13:30:37 [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:30:37 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:30:37 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:30:37 [ 80%] Linking C executable device-counter 13:30:37 [ 80%] Built target device-counter 13:30:38 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:30:38 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:30:38 Scanning dependencies of target device-random 13:30:38 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:30:38 [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:30:38 [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:30:38 [ 83%] Linking C executable device-random 13:30:38 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:30:38 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:30:38 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:30:38 [ 83%] Built target device-random 13:30:38 Scanning dependencies of target device-gyro 13:30:38 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:30:38 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:30:38 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:30:38 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:30:39 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:30:39 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:30:39 [ 86%] Linking C executable device-gyro 13:30:39 [ 86%] Built target device-gyro 13:30:39 Scanning dependencies of target device-bitfields 13:30:39 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:30:39 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:30:39 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:30:39 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:30:39 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:30:39 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:30:39 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:30:39 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:30:39 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:30:39 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:30:39 [ 90%] Linking C executable device-bitfields 13:30:39 [ 90%] Built target device-bitfields 13:30:39 Scanning dependencies of target template-discovery 13:30:40 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:30:40 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:30:40 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:30:40 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:30:40 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:30:40 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:30:40 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:30:40 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:30:40 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:30:40 [ 93%] Linking C executable template-discovery 13:30:40 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:30:40 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:30:41 [ 93%] Built target template-discovery 13:30:41 Scanning dependencies of target device-file 13:30:41 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:30:41 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:30:41 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:30:41 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:30:41 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:30:41 [ 96%] Linking C executable device-file 13:30:41 [ 96%] Built target device-file 13:30:41 Scanning dependencies of target device-terminal 13:30:41 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:30:41 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:30:41 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:30:41 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:30:41 [ 73%] Linking C shared library libcsdk.so 13:30:41 [ 73%] Built target csdk 13:30:42 [100%] Linking C executable device-terminal 13:30:42 Scanning dependencies of target template 13:30:42 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:30:42 [ 76%] Linking C executable template 13:30:42 [ 76%] Built target template 13:30:42 Scanning dependencies of target device-counter 13:30:42 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:30:42 [ 80%] Linking C executable device-counter 13:30:42 [100%] Built target device-terminal 13:30:42 + make package 13:30:42 + tee -a release.log 13:30:42 [ 73%] Built target csdk 13:30:42 [ 80%] Built target device-counter 13:30:42 Scanning dependencies of target device-random 13:30:42 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:30:42 [ 83%] Linking C executable device-random 13:30:42 [ 83%] Built target device-random 13:30:42 Scanning dependencies of target device-gyro 13:30:42 [ 76%] Built target template 13:30:42 [ 80%] Built target device-counter 13:30:42 [ 83%] Built target device-random 13:30:42 [ 86%] Built target device-gyro 13:30:42 [ 90%] Built target device-bitfields 13:30:42 [ 93%] Built target template-discovery 13:30:42 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:30:42 [ 86%] Linking C executable device-gyro 13:30:42 [ 86%] Built target device-gyro 13:30:42 Scanning dependencies of target device-bitfields 13:30:42 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:30:42 [ 90%] Linking C executable device-bitfields 13:30:43 [ 96%] Built target device-file 13:30:43 [100%] Built target device-terminal 13:30:43 Run CPack packaging tool... 13:30:43 CPack: Create package using TGZ 13:30:43 CPack: Install projects 13:30:43 CPack: - Run preinstall target for: Csdk 13:30:43 [ 90%] Built target device-bitfields 13:30:43 Scanning dependencies of target template-discovery 13:30:43 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:30:43 [ 93%] Linking C executable template-discovery 13:30:43 [ 93%] Built target template-discovery 13:30:43 Scanning dependencies of target device-file 13:30:43 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:30:43 [ 96%] Linking C executable device-file 13:30:43 [ 96%] Built target device-file 13:30:43 Scanning dependencies of target device-terminal 13:30:43 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:30:43 [100%] Linking C executable device-terminal 13:30:43 [100%] Built target device-terminal 13:30:43 make: Entering directory '/tmp/sdk/build/release' 13:30:43 make[1]: Entering directory '/tmp/sdk/build/release' 13:30:43 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:43 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:43 [ 73%] Built target csdk 13:30:43 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:43 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:43 [ 76%] Built target template 13:30:43 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:43 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:43 [ 80%] Built target device-counter 13:30:43 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:43 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:43 [ 83%] Built target device-random 13:30:43 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:43 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:43 [ 86%] Built target device-gyro 13:30:43 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:43 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:43 [ 90%] Built target device-bitfields 13:30:43 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:43 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:43 [ 93%] Built target template-discovery 13:30:43 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:43 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:43 CPack: - Install project: Csdk 13:30:43 CPack: Create package 13:30:43 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:30:43 + '[' false '=' true ] 13:30:43 + '[' false '=' true ] 13:30:43 + mkdir -p /tmp/sdk/build/debug 13:30:43 + cd /tmp/sdk/build/debug 13:30:43 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:30:43 [ 96%] Built target device-file 13:30:43 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:43 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:43 [100%] Built target device-terminal 13:30:43 make[1]: Leaving directory '/tmp/sdk/build/release' 13:30:43 Install the project... 13:30:43 -- Install configuration: "Release" 13:30:43 -- Installing: /usr/local/lib/libcsdk.so 13:30:43 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:30:43 -- Up-to-date: /usr/local/include 13:30:43 -- Installing: /usr/local/include/devsdk 13:30:43 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:30:43 -- Installing: /usr/local/include/devsdk/devsdk.h 13:30:43 -- Installing: /usr/local/include/edgex 13:30:43 -- Installing: /usr/local/include/edgex/devices.h 13:30:43 -- Installing: /usr/local/include/edgex/edgex-base.h 13:30:43 -- Installing: /usr/local/include/edgex/edgex.h 13:30:43 -- Installing: /usr/local/include/edgex/error.h 13:30:43 -- Installing: /usr/local/include/edgex/os.h 13:30:43 -- Installing: /usr/local/include/edgex/profiles.h 13:30:43 -- Installing: /usr/local/include/edgex/rest-server.h 13:30:43 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:30:43 -- Installing: /usr/local/include/iot 13:30:43 -- Installing: /usr/local/include/iot/base64.h 13:30:43 -- Installing: /usr/local/include/iot/component.h 13:30:43 -- Installing: /usr/local/include/iot/config.h 13:30:43 -- Installing: /usr/local/include/iot/container.h 13:30:43 -- Installing: /usr/local/include/iot/data.h 13:30:43 -- Installing: /usr/local/include/iot/hash.h 13:30:43 -- Installing: /usr/local/include/iot/iot.h 13:30:43 -- Installing: /usr/local/include/iot/json.h 13:30:43 -- Installing: /usr/local/include/iot/logger.h 13:30:43 -- Installing: /usr/local/include/iot/os.h 13:30:43 -- Installing: /usr/local/include/iot/scheduler.h 13:30:43 -- Installing: /usr/local/include/iot/thread.h 13:30:43 -- Installing: /usr/local/include/iot/threadpool.h 13:30:43 -- Installing: /usr/local/include/iot/time.h 13:30:43 -- Installing: /usr/local/include/iot/typecode.h 13:30:43 -- Installing: /usr/local/include/iot/os 13:30:43 -- Installing: /usr/local/include/iot/os/linux.h 13:30:43 -- Installing: /usr/local/include/iot/os/macos.h 13:30:43 -- Installing: /usr/local/include/iot/os/zephyr.h 13:30:43 -- Installing: /usr/local/include/iot/defs.h 13:30:43 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:30:43 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:30:43 make: Leaving directory '/tmp/sdk/build/release' 13:30:43 -- The C compiler identification is GNU 8.3.0 13:30:43 -- Check for working C compiler: /usr/bin/cc 13:30:44 -- Check for working C compiler: /usr/bin/cc -- works 13:30:44 -- Detecting C compiler ABI info 13:30:44 -- Detecting C compiler ABI info - done 13:30:44 -- Detecting C compile features 13:30:45 -- Detecting C compile features - done 13:30:45 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:30:45 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:30:45 -- Found LIBYAML: /usr/lib/libyaml.so 13:30:45 -- Found LIBUUID: /usr/lib/libuuid.so 13:30:45 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:30:45 -- C SDK 0.0.0 for Linux 13:30:45 -- Performing Test CSDK_HAVE_ATOMIC 13:30:45 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:30:45 -- Found Curses: /usr/lib/libcurses.so 13:30:45 -- Configuring done 13:30:45 Removing intermediate container 2ca3ec21c1e5 13:30:45 ---> be7ad1dea299 13:30:45 Step 14/21 : FROM ${BASE} 13:30:45 ---> 5eabd8fd8ba2 13:30:45 Step 15/21 : LABEL maintainer="IOTech " 13:30:45 ---> Running in f28e79c6abe9 13:30:46 -- Generating done 13:30:46 -- Build files have been written to: /tmp/sdk/build/debug 13:30:46 + make 13:30:46 + tee debug.log 13:30:46 Scanning dependencies of target csdk 13:30:46 Removing intermediate container f28e79c6abe9 13:30:46 ---> 85103a8e651e 13:30:46 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 13:30:46 ---> Running in 2850235cc9df 13:30:46 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:30:46 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 13:30:46 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:30:46 [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:30:47 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:30:47 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:30:47 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:30:47 (1/3) Installing curl (7.64.0-r5) 13:30:47 (2/3) Installing libuuid (2.33-r0) 13:30:47 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:30:47 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:30:48 (3/3) Installing wget (1.20.3-r0) 13:30:48 Executing busybox-1.29.3-r10.trigger 13:30:48 OK: 268 MiB in 78 packages 13:30:48 [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:30:49 Removing intermediate container 2850235cc9df 13:30:49 ---> 040b9c5c92ec 13:30:49 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:30:49 ---> 4c1d79e51aeb 13:30:49 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:30:49 [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:30:49 ---> e32136a28845 13:30:49 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 13:30:49 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:30:49 ---> d2dea953b451 13:30:49 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:30:49 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:30:49 ---> 047ae8962341 13:30:49 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:30:49 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:30:50 ---> 034d26606766 13:30:50 Successfully built 034d26606766 13:30:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } 13:30:50 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [Pipeline] // script [Pipeline] } 13:30:50 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:30:50 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:30:51 + docker inspect -f . ci-base-image-x86_64 13:30:51 . [Pipeline] withDockerContainer 13:30:51 prd-centos7-docker-4c-2g-26500 does not seem to be running inside a container 13:30:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:30:51 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:30:51 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:30:51 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:30:52 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:30:52 $ docker top c1452bb0da7ca094e4888a46629b9e6152169b3394840e3719aebf5065f6874e -eo pid,comm [Pipeline] { 13:30:52 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [Pipeline] sh 13:30:52 + make test 13:30:52 echo "make test" 13:30:52 make test [Pipeline] } 13:30:52 $ docker stop --time=1 c1452bb0da7ca094e4888a46629b9e6152169b3394840e3719aebf5065f6874e 13:30:53 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:30:53 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:30:53 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:30:53 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:30:53 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:30:54 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:30:54 $ docker rm -f c1452bb0da7ca094e4888a46629b9e6152169b3394840e3719aebf5065f6874e [Pipeline] // withDockerContainer 13:30:54 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [Pipeline] } [Pipeline] // script [Pipeline] } 13:30:54 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 13:30:54 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:30:54 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:30:55 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:30:55 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:30:56 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:30:56 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:30:57 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [Pipeline] sh 13:30:57 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:30:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:30:57 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:30:57 + ls -al . 13:30:57 total 160 13:30:57 drwxrwxr-x. 8 jenkins jenkins 260 Feb 15 13:29 . 13:30:57 drwxrwxr-x. 4 jenkins jenkins 28 Feb 15 13:29 .. 13:30:57 -rw-rw-r--. 1 jenkins jenkins 3104 Feb 15 13:29 Attribution.txt 13:30:57 -rw-rw-r--. 1 jenkins jenkins 6712 Feb 15 13:29 CHANGES 13:30:57 drwxrwxr-x. 2 jenkins jenkins 144 Feb 15 13:29 docs 13:30:57 -rw-rw-r--. 1 jenkins jenkins 108574 Feb 15 13:29 Doxyfile 13:30:57 drwxrwxr-x. 8 jenkins jenkins 179 Feb 15 13:29 .git 13:30:57 drwxrwxr-x. 2 jenkins jenkins 81 Feb 15 13:29 .github 13:30:57 -rw-rw-r--. 1 jenkins jenkins 176 Feb 15 13:29 .gitignore 13:30:57 drwxrwxr-x. 4 jenkins jenkins 33 Feb 15 13:29 include 13:30:57 -rw-rw-r--. 1 jenkins jenkins 784 Feb 15 13:29 Jenkinsfile 13:30:57 -rw-rw-r--. 1 jenkins jenkins 10174 Feb 15 13:29 LICENSE 13:30:57 -rw-rw-r--. 1 jenkins jenkins 449 Feb 15 13:29 Makefile 13:30:57 -rw-rw-r--. 1 jenkins jenkins 2697 Feb 15 13:29 README.md 13:30:57 -rw-rw-r--. 1 jenkins jenkins 6378 Feb 15 13:29 README.v2.md 13:30:57 drwxrwxr-x. 2 jenkins jenkins 98 Feb 15 13:29 scripts 13:30:57 drwxrwxr-x. 4 jenkins jenkins 50 Feb 15 13:29 src 13:30:57 -rw-rw-r--. 1 jenkins jenkins 5 Feb 15 13:26 VERSION 13:30:57 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [Pipeline] isUnix [Pipeline] sh 13:30:58 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:30:58 + 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=cc8eb66e59855b5380063143aa7806901ab6b39e --label arch=amd64 --label version=0.0.0 . 13:30:58 Sending build context to Docker daemon 2.501MB 13:30:58 Step 1/15 : ARG BASE=alpine:3.12 13:30:58 Step 2/15 : FROM ${BASE} 13:30:58 ---> 034d26606766 13:30:58 Step 3/15 : LABEL maintainer="IOTech " 13:30:58 ---> Running in a8901b5ed9ae 13:30:59 Removing intermediate container a8901b5ed9ae 13:30:59 ---> 6bea9ac6af91 13:30:59 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 13:30:59 ---> Running in 678f0df55c13 13:30:59 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:30:59 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:31:00 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:31:00 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:31:00 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:31:00 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:31:00 [ 73%] Linking C shared library libcsdk.so 13:31:01 [ 73%] Built target csdk 13:31:01 Scanning dependencies of target template 13:31:01 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:31:01 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 13:31:01 (2/6) Installing libblkid (2.33-r0) 13:31:01 (3/6) Installing libfdisk (2.33-r0) 13:31:01 (4/6) Installing libmount (2.33-r0) 13:31:01 [ 76%] Linking C executable template 13:31:01 (5/6) Installing libsmartcols (2.33-r0) 13:31:01 (6/6) Installing util-linux-dev (2.33-r0) 13:31:01 [ 76%] Built target template 13:31:01 Scanning dependencies of target device-counter 13:31:01 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:31:01 Executing busybox-1.29.3-r10.trigger 13:31:01 OK: 272 MiB in 84 packages 13:31:01 [ 80%] Linking C executable device-counter 13:31:02 [ 80%] Built target device-counter 13:31:02 Scanning dependencies of target device-random 13:31:02 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:31:02 [ 83%] Linking C executable device-random 13:31:02 [ 83%] Built target device-random 13:31:02 Scanning dependencies of target device-gyro 13:31:02 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:31:02 Removing intermediate container 678f0df55c13 13:31:02 ---> dda58ae11431 13:31:02 Step 5/15 : COPY VERSION /edgex-c-sdk/ 13:31:02 ---> 602ff855d54f 13:31:02 Step 6/15 : COPY src /edgex-c-sdk/src/ 13:31:02 [ 86%] Linking C executable device-gyro 13:31:03 [ 86%] Built target device-gyro 13:31:03 Scanning dependencies of target device-bitfields 13:31:03 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:31:03 [ 90%] Linking C executable device-bitfields 13:31:03 [ 90%] Built target device-bitfields 13:31:03 ---> 020a626fcc29 13:31:03 Step 7/15 : COPY include /edgex-c-sdk/include/ 13:31:03 Scanning dependencies of target template-discovery 13:31:03 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:31:04 ---> ee7af7620035 13:31:04 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 13:31:04 ---> 8da164b2c594 13:31:04 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 13:31:04 [ 93%] Linking C executable template-discovery 13:31:04 [ 93%] Built target template-discovery 13:31:04 Scanning dependencies of target device-file 13:31:04 ---> 7c48d00902d5 13:31:04 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 13:31:04 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:31:04 ---> 2314a3c98a0f 13:31:04 Step 11/15 : WORKDIR /edgex-c-sdk 13:31:04 ---> Running in d7e9db391b06 13:31:04 [ 96%] Linking C executable device-file 13:31:04 [ 96%] Built target device-file 13:31:04 Scanning dependencies of target device-terminal 13:31:04 Removing intermediate container d7e9db391b06 13:31:04 ---> 75cfe10e8af3 13:31:04 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:31:04 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:31:05 ---> Running in 815823f88d0f 13:31:05 Removing intermediate container 815823f88d0f 13:31:05 ---> ee0932e0f1cd 13:31:05 Step 13/15 : LABEL arch=amd64 13:31:05 ---> Running in 1e9609ab35ac 13:31:05 [100%] Linking C executable device-terminal 13:31:05 [100%] Built target device-terminal 13:31:05 Removing intermediate container 1e9609ab35ac 13:31:05 ---> cfb87f78bc50 13:31:05 Step 14/15 : LABEL git_sha=cc8eb66e59855b5380063143aa7806901ab6b39e 13:31:05 ---> Running in 8eff31ec5849 13:31:05 make: Entering directory '/tmp/sdk/build/release' 13:31:05 make[1]: Entering directory '/tmp/sdk/build/release' 13:31:05 make[2]: Entering directory '/tmp/sdk/build/release' 13:31:05 make[2]: Leaving directory '/tmp/sdk/build/release' 13:31:05 [ 73%] Built target csdk 13:31:05 make[2]: Entering directory '/tmp/sdk/build/release' 13:31:05 make[2]: Leaving directory '/tmp/sdk/build/release' 13:31:05 [ 76%] Built target template 13:31:05 make[2]: Entering directory '/tmp/sdk/build/release' 13:31:05 make[2]: Leaving directory '/tmp/sdk/build/release' 13:31:05 [ 80%] Built target device-counter 13:31:05 make[2]: Entering directory '/tmp/sdk/build/release' 13:31:05 make[2]: Leaving directory '/tmp/sdk/build/release' 13:31:05 [ 83%] Built target device-random 13:31:05 make[2]: Entering directory '/tmp/sdk/build/release' 13:31:05 Removing intermediate container 8eff31ec5849 13:31:05 ---> e142316c4a26 13:31:05 Step 15/15 : LABEL version=0.0.0 13:31:05 ---> Running in 27d77f955826 13:31:05 make[2]: Leaving directory '/tmp/sdk/build/release' 13:31:05 [ 86%] Built target device-gyro 13:31:05 make[2]: Entering directory '/tmp/sdk/build/release' 13:31:05 make[2]: Leaving directory '/tmp/sdk/build/release' 13:31:05 [ 90%] Built target device-bitfields 13:31:05 make[2]: Entering directory '/tmp/sdk/build/release' 13:31:05 make[2]: Leaving directory '/tmp/sdk/build/release' 13:31:05 [ 93%] Built target template-discovery 13:31:05 make[2]: Entering directory '/tmp/sdk/build/release' 13:31:05 make[2]: Leaving directory '/tmp/sdk/build/release' 13:31:05 [ 96%] Built target device-file 13:31:05 make[2]: Entering directory '/tmp/sdk/build/release' 13:31:05 make[2]: Leaving directory '/tmp/sdk/build/release' 13:31:05 [100%] Built target device-terminal 13:31:05 make[1]: Leaving directory '/tmp/sdk/build/release' 13:31:05 Install the project... 13:31:05 -- Install configuration: "Release" 13:31:05 -- Installing: /usr/local/lib/libcsdk.so 13:31:05 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:31:05 -- Up-to-date: /usr/local/include 13:31:05 -- Installing: /usr/local/include/edgex 13:31:05 -- Installing: /usr/local/include/edgex/error.h 13:31:05 -- Installing: /usr/local/include/edgex/rest-server.h 13:31:05 -- Installing: /usr/local/include/edgex/edgex-base.h 13:31:05 -- Installing: /usr/local/include/edgex/edgex.h 13:31:05 -- Installing: /usr/local/include/edgex/devices.h 13:31:05 -- Installing: /usr/local/include/edgex/os.h 13:31:05 -- Installing: /usr/local/include/edgex/profiles.h 13:31:05 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:31:05 -- Installing: /usr/local/include/devsdk 13:31:05 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:31:05 -- Installing: /usr/local/include/devsdk/devsdk.h 13:31:05 -- Installing: /usr/local/include/iot 13:31:05 -- Installing: /usr/local/include/iot/json.h 13:31:05 -- Installing: /usr/local/include/iot/container.h 13:31:05 -- Installing: /usr/local/include/iot/component.h 13:31:05 -- Installing: /usr/local/include/iot/typecode.h 13:31:05 -- Installing: /usr/local/include/iot/iot.h 13:31:05 -- Installing: /usr/local/include/iot/time.h 13:31:05 -- Installing: /usr/local/include/iot/hash.h 13:31:05 -- Installing: /usr/local/include/iot/logger.h 13:31:05 -- Installing: /usr/local/include/iot/os 13:31:05 Removing intermediate container 27d77f955826 13:31:05 ---> 340dd0fa89d0 13:31:05 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:31:05 Successfully built 340dd0fa89d0 13:31:05 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script 13:31:06 -- Installing: /usr/local/include/iot/os/zephyr.h 13:31:06 -- Installing: /usr/local/include/iot/os/linux.h 13:31:06 -- Installing: /usr/local/include/iot/os/macos.h 13:31:06 -- Installing: /usr/local/include/iot/scheduler.h 13:31:06 -- Installing: /usr/local/include/iot/data.h 13:31:06 -- Installing: /usr/local/include/iot/thread.h 13:31:06 -- Installing: /usr/local/include/iot/os.h 13:31:06 -- Installing: /usr/local/include/iot/base64.h 13:31:06 -- Installing: /usr/local/include/iot/defs.h 13:31:06 -- Installing: /usr/local/include/iot/threadpool.h 13:31:06 -- Installing: /usr/local/include/iot/config.h 13:31:06 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:31:06 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:31:06 make: Leaving directory '/tmp/sdk/build/release' [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:31:08 Removing intermediate container 4ac7e1fbd7d4 13:31:08 ---> 848a5d8c4c49 13:31:08 Step 14/21 : FROM ${BASE} 13:31:08 ---> b23d30803547 13:31:08 Step 15/21 : LABEL maintainer="IOTech " 13:31:08 ---> Running in a76a35ef9569 13:31:08 Removing intermediate container a76a35ef9569 13:31:08 ---> 78d11e0249c7 13:31:08 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 13:31:08 ---> Running in 6cf4513e4140 13:31:09 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:31:10 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:31:11 (1/3) Installing curl (7.64.0-r5) 13:31:11 (2/3) Installing libuuid (2.33-r0) 13:31:11 (3/3) Installing wget (1.20.3-r0) 13:31:11 Executing busybox-1.29.3-r10.trigger 13:31:11 OK: 281 MiB in 78 packages 13:31:13 Removing intermediate container 6cf4513e4140 13:31:13 ---> 198b191de3ae 13:31:13 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:31:13 ---> 0c3fa8f5706d 13:31:13 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:31:14 ---> bfe6a6990e92 13:31:14 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 13:31:15 ---> 021a4f29d140 13:31:15 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:31:15 ---> 933c8dcdb8e9 13:31:15 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:31:16 ---> a60f7395e6f8 13:31:16 Successfully built a60f7395e6f8 13:31:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:31:17 + docker inspect -f . ci-base-image-arm64 13:31:17 . [Pipeline] withDockerContainer 13:31:18 prd-ubuntu18.04-docker-arm64-4c-16g-26499 does not seem to be running inside a container 13:31:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:31:19 $ docker top b57752d41807850eff85fc4fa0ee33b0e4a6659e7d23a17f830e0f4e2a655c6f -eo pid,comm [Pipeline] { [Pipeline] sh 13:31:21 + make test 13:31:21 echo "make test" 13:31:21 make test [Pipeline] } 13:31:21 $ docker stop --time=1 b57752d41807850eff85fc4fa0ee33b0e4a6659e7d23a17f830e0f4e2a655c6f 13:31:23 $ docker rm -f b57752d41807850eff85fc4fa0ee33b0e4a6659e7d23a17f830e0f4e2a655c6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:31:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:31:24 + ls -al . 13:31:24 total 192 13:31:24 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 13:28 . 13:31:24 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 13:28 .. 13:31:24 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 13:28 .git 13:31:24 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 13:28 .github 13:31:24 -rw-rw-r-- 1 jenkins jenkins 176 Feb 15 13:28 .gitignore 13:31:24 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 15 13:28 Attribution.txt 13:31:24 -rw-rw-r-- 1 jenkins jenkins 6712 Feb 15 13:28 CHANGES 13:31:24 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 15 13:28 Doxyfile 13:31:24 -rw-rw-r-- 1 jenkins jenkins 784 Feb 15 13:28 Jenkinsfile 13:31:24 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 15 13:28 LICENSE 13:31:24 -rw-rw-r-- 1 jenkins jenkins 449 Feb 15 13:28 Makefile 13:31:24 -rw-rw-r-- 1 jenkins jenkins 2697 Feb 15 13:28 README.md 13:31:24 -rw-rw-r-- 1 jenkins jenkins 6378 Feb 15 13:28 README.v2.md 13:31:24 -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 13:26 VERSION 13:31:24 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 13:28 docs 13:31:24 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 13:28 include 13:31:24 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 13:28 scripts 13:31:24 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 13:28 src [Pipeline] isUnix [Pipeline] sh 13:31:24 + 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=cc8eb66e59855b5380063143aa7806901ab6b39e --label arch=arm64 --label version=0.0.0 . 13:31:25 Sending build context to Docker daemon 2.5MB 13:31:25 Step 1/15 : ARG BASE=alpine:3.12 13:31:25 Step 2/15 : FROM ${BASE} 13:31:25 ---> a60f7395e6f8 13:31:25 Step 3/15 : LABEL maintainer="IOTech " 13:31:25 ---> Running in 7535921c110a 13:31:26 Removing intermediate container 7535921c110a 13:31:26 ---> 79a9a9838a8d 13:31:26 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 13:31:26 ---> Running in c1f08a1e23f1 13:31:27 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:31:28 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:31:28 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 13:31:28 (2/6) Installing libblkid (2.33-r0) 13:31:28 (3/6) Installing libfdisk (2.33-r0) 13:31:28 (4/6) Installing libmount (2.33-r0) 13:31:29 (5/6) Installing libsmartcols (2.33-r0) 13:31:29 (6/6) Installing util-linux-dev (2.33-r0) 13:31:29 Executing busybox-1.29.3-r10.trigger 13:31:29 OK: 286 MiB in 84 packages 13:31:31 Removing intermediate container c1f08a1e23f1 13:31:31 ---> b23afc331773 13:31:31 Step 5/15 : COPY VERSION /edgex-c-sdk/ 13:31:31 ---> 402cd2d9901d 13:31:31 Step 6/15 : COPY src /edgex-c-sdk/src/ 13:31:32 ---> 3566f4964fc5 13:31:32 Step 7/15 : COPY include /edgex-c-sdk/include/ 13:31:33 ---> 3baa27107808 13:31:33 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 13:31:33 ---> 74fddf66b19e 13:31:33 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 13:31:34 ---> 218b48170e06 13:31:34 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 13:31:35 ---> ef82b5d4b4d3 13:31:35 Step 11/15 : WORKDIR /edgex-c-sdk 13:31:35 ---> Running in e919475a7475 13:31:36 Removing intermediate container e919475a7475 13:31:36 ---> 8a8dc16325f7 13:31:36 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:31:36 ---> Running in 9c4c4f80eb66 13:31:36 Removing intermediate container 9c4c4f80eb66 13:31:36 ---> 48da1f70b0b6 13:31:36 Step 13/15 : LABEL arch=arm64 13:31:36 ---> Running in 463fd3c0ae57 13:31:37 Removing intermediate container 463fd3c0ae57 13:31:37 ---> 05662311047b 13:31:37 Step 14/15 : LABEL git_sha=cc8eb66e59855b5380063143aa7806901ab6b39e 13:31:37 ---> Running in e11c590c5d73 13:31:37 Removing intermediate container e11c590c5d73 13:31:37 ---> b0707902989e 13:31:37 Step 15/15 : LABEL version=0.0.0 13:31:38 ---> Running in 4eb4fb4d3535 13:31:38 Removing intermediate container 4eb4fb4d3535 13:31:38 ---> 7b986d93f84d 13:31:38 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:31:38 Successfully built 7b986d93f84d 13:31:38 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 13:31:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:31:43 ---> package-listing.sh 13:31:43 ++ facter osfamily 13:31:43 ++ tr '[:upper:]' '[:lower:]' 13:31:43 + OS_FAMILY=redhat 13:31:43 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-323 13:31:43 + START_PACKAGES=/tmp/packages_start.txt 13:31:43 + END_PACKAGES=/tmp/packages_end.txt 13:31:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:31:43 + PACKAGES=/tmp/packages_start.txt 13:31:43 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-323 ']' 13:31:43 + PACKAGES=/tmp/packages_end.txt 13:31:43 + case "${OS_FAMILY}" in 13:31:43 + rpm -qa 13:31:43 + sort 13:31:48 + '[' -f /tmp/packages_start.txt ']' 13:31:48 + '[' -f /tmp/packages_end.txt ']' 13:31:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:31:48 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-323 ']' 13:31:48 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-323/archives/ 13:31:48 + 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 13:31:48 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 13:31:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:31:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:31:49 13:31:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:31:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:31:49 alpine: Pulling from edgex-lftools-log-publisher 13:31:49 df20fa9351a1: Pulling fs layer 13:31:49 36b3adc4ff6f: Pulling fs layer 13:31:49 8ad3a11d3b57: Pulling fs layer 13:31:49 46f8f816bc3b: Pulling fs layer 13:31:49 93b61091891f: Pulling fs layer 13:31:49 93b9cdb0e59b: Pulling fs layer 13:31:49 5e14af77c1be: Pulling fs layer 13:31:49 01666e4c0597: Pulling fs layer 13:31:49 aa168da1d23b: Pulling fs layer 13:31:49 93b9cdb0e59b: Waiting 13:31:49 5e14af77c1be: Waiting 13:31:49 01666e4c0597: Waiting 13:31:49 46f8f816bc3b: Waiting 13:31:49 93b61091891f: Waiting 13:31:49 aa168da1d23b: Waiting 13:31:49 36b3adc4ff6f: Verifying Checksum 13:31:49 36b3adc4ff6f: Download complete 13:31:49 46f8f816bc3b: Verifying Checksum 13:31:49 46f8f816bc3b: Download complete 13:31:50 df20fa9351a1: Verifying Checksum 13:31:50 df20fa9351a1: Download complete 13:31:50 93b9cdb0e59b: Verifying Checksum 13:31:50 93b9cdb0e59b: Download complete 13:31:50 93b61091891f: Verifying Checksum 13:31:50 93b61091891f: Download complete 13:31:50 5e14af77c1be: Download complete 13:31:50 01666e4c0597: Verifying Checksum 13:31:50 01666e4c0597: Download complete 13:31:50 df20fa9351a1: Pull complete 13:31:50 36b3adc4ff6f: Pull complete 13:31:50 8ad3a11d3b57: Verifying Checksum 13:31:50 8ad3a11d3b57: Download complete 13:31:51 8ad3a11d3b57: Pull complete 13:31:51 46f8f816bc3b: Pull complete 13:31:52 93b61091891f: Pull complete 13:31:52 aa168da1d23b: Verifying Checksum 13:31:52 aa168da1d23b: Download complete 13:31:52 93b9cdb0e59b: Pull complete 13:31:52 5e14af77c1be: Pull complete 13:31:53 01666e4c0597: Pull complete 13:31:59 aa168da1d23b: Pull complete 13:31:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 13:31:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:31:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:32:00 prd-centos7-docker-4c-2g-26498 does not seem to be running inside a container 13:32:00 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 13:32:03 $ docker top 4137e9f8d1847b8309404fd1b1e4a99fe644640960011f5a7c662ee642f66333 -eo pid,comm [Pipeline] { [Pipeline] sh 13:32:04 + touch /tmp/pre-build-complete [Pipeline] sh 13:32:04 + mkdir -p /var/log/sa [Pipeline] sh 13:32:04 + ls /var/log/sa-host 13:32:04 + sadf -c /var/log/sa-host/sa15 13:32:04 file_magic: OK 13:32:04 HZ: Using current value: 100 13:32:04 file_header: OK 13:32:04 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 13:32:04 Statistics: 13:32:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:32:04 File successfully converted to sysstat format version 12.2.1 13:32:04 + sadf -c /var/log/sa-host/sa23 13:32:04 file_magic: OK 13:32:04 HZ: Using current value: 100 13:32:04 file_header: OK 13:32:04 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 13:32:04 Statistics: 13:32:04 Hnuu...uuuununununu... 13:32:04 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:32:05 provisioning config files... 13:32:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-323@tmp/config4530118637849566856tmp [Pipeline] { [Pipeline] echo 13:32:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:32:06 ---> create-netrc.sh [Pipeline] } 13:32:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 13:32:06 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 13:32:06 ---> python-tools-install.sh [Pipeline] echo 13:32:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:32:06 ---> sudo-logs.sh 13:32:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:32:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:32:07 ---> job-cost.sh 13:32:07 lf-activate-venv: SKIPPING 13:32:07 INFO: No Stack... 13:32:08 INFO: Retrieving Pricing Info for: v1-standard-2 13:32:08 INFO: Archiving Costs [Pipeline] echo 13:32:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:32:09 ---> logs-deploy.sh 13:32:09 lf-activate-venv: SKIPPING 13:32:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-323/1 13:32:09 INFO: archiving workspace using pattern(s): 13:32:10 Archives upload complete. 13:32:10 INFO: archiving logs to Nexus 13:32:11 ---> uname -a: 13:32:11 Linux prd-centos7-docker-4c-2g-26498.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 13:32:11 13:32:11 13:32:11 ---> lscpu: 13:32:11 Architecture: x86_64 13:32:11 CPU op-mode(s): 32-bit, 64-bit 13:32:11 Byte Order: Little Endian 13:32:11 Address sizes: 40 bits physical, 48 bits virtual 13:32:11 CPU(s): 4 13:32:11 On-line CPU(s) list: 0-3 13:32:11 Thread(s) per core: 1 13:32:11 Core(s) per socket: 1 13:32:11 Socket(s): 4 13:32:11 NUMA node(s): 1 13:32:11 Vendor ID: GenuineIntel 13:32:11 CPU family: 6 13:32:11 Model: 44 13:32:11 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 13:32:11 Stepping: 1 13:32:11 CPU MHz: 2933.442 13:32:11 BogoMIPS: 5866.88 13:32:11 Virtualization: VT-x 13:32:11 Hypervisor vendor: KVM 13:32:11 Virtualization type: full 13:32:11 L1d cache: 128 KiB 13:32:11 L1i cache: 128 KiB 13:32:11 L2 cache: 16 MiB 13:32:11 L3 cache: 64 MiB 13:32:11 NUMA node0 CPU(s): 0-3 13:32:11 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 13:32:11 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 13:32:11 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 13:32:11 Vulnerability Meltdown: Mitigation; PTI 13:32:11 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:32:11 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 13:32:11 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 13:32:11 Vulnerability Srbds: Not affected 13:32:11 Vulnerability Tsx async abort: Not affected 13:32:11 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 13:32:11 13:32:11 13:32:11 ---> nproc: 13:32:11 4 13:32:11 13:32:11 13:32:11 ---> df -h: 13:32:11 Filesystem Size Used Available Use% Mounted on 13:32:11 overlay 50.0G 7.3G 42.7G 15% / 13:32:11 tmpfs 64.0M 0 64.0M 0% /dev 13:32:11 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 13:32:11 shm 64.0M 0 64.0M 0% /dev/shm 13:32:11 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 13:32:11 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 13:32:11 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 13:32:11 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 13:32:11 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 13:32:11 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-323 13:32:11 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-323@tmp 13:32:11 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 13:32:11 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 13:32:11 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 13:32:11 13:32:11 13:32:11 ---> free -m: 13:32:11 total used free shared buff/cache available 13:32:11 Mem: 1837 689 95 0 1052 1043 13:32:11 Swap: 1023 1 1022 13:32:11 13:32:11 13:32:11 ---> ip addr: 13:32:11 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 13:32:11 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 13:32:11 inet 127.0.0.1/8 scope host lo 13:32:11 valid_lft forever preferred_lft forever 13:32:11 inet6 ::1/128 scope host 13:32:11 valid_lft forever preferred_lft forever 13:32:11 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 13:32:11 link/ether fa:16:3e:43:f1:09 brd ff:ff:ff:ff:ff:ff 13:32:11 inet 10.30.123.215/23 brd 10.30.123.255 scope global dynamic eth0 13:32:11 valid_lft 86005sec preferred_lft 86005sec 13:32:11 inet6 fe80::f816:3eff:fe43:f109/64 scope link 13:32:11 valid_lft forever preferred_lft forever 13:32:11 3: docker0: mtu 1500 qdisc noqueue state DOWN 13:32:11 link/ether 02:42:89:26:b3:4b brd ff:ff:ff:ff:ff:ff 13:32:11 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 13:32:11 valid_lft forever preferred_lft forever 13:32:11 inet6 fe80::42:89ff:fe26:b34b/64 scope link 13:32:11 valid_lft forever preferred_lft forever 13:32:11 13:32:11 13:32:11 ---> sar -b -r -n DEV: 13:32:11 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/15/21 _x86_64_ (4 CPU) 13:32:11 13:32:11 13:25:22 LINUX RESTART (4 CPU) 13:32:11 13:32:11 13:26:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:32:11 13:27:01 49.49 15.08 34.41 0.00 4623.27 3247.39 0.00 13:32:11 13:28:01 1.61 0.00 1.61 0.00 0.00 30.38 0.00 13:32:11 13:29:01 0.27 0.00 0.27 0.00 0.00 3.41 0.00 13:32:11 13:30:01 0.28 0.00 0.28 0.00 0.00 3.20 0.00 13:32:11 13:31:01 0.25 0.00 0.25 0.00 0.00 2.61 0.00 13:32:11 13:32:01 118.03 69.90 48.13 0.00 5696.05 17295.70 0.00 13:32:11 Average: 28.38 14.20 14.18 0.00 1722.71 3439.87 0.00 13:32:11 13:32:11 13:26:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:32:11 13:27:01 153768 0 583784 31.03 2620 1141372 1097248 37.45 394688 1133104 124 13:32:11 13:28:01 159468 0 578080 30.72 2620 1141376 1077272 36.77 393816 1129312 16 13:32:11 13:29:01 157188 0 580352 30.84 2620 1141384 1077464 36.77 393528 1132332 16 13:32:11 13:30:01 157332 0 580208 30.84 2620 1141384 1077380 36.77 405368 1120124 16 13:32:11 13:31:01 156576 0 580956 30.88 2620 1141392 1077356 36.77 403652 1122816 20 13:32:11 13:32:01 159776 0 684824 36.40 2620 1034324 1270816 43.37 452116 1002112 20108 13:32:11 Average: 157351 0 598034 31.78 2620 1123539 1112923 37.98 407195 1106633 3383 13:32:11 13:32:11 13:26:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:32:11 13:27:01 eth0 368.34 255.93 736.12 78.97 0.00 0.00 0.00 0.00 13:32:11 13:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:32:11 13:27:01 docker0 9.82 6.99 1.03 22.54 0.00 0.00 0.00 0.00 13:32:11 13:28:01 eth0 0.73 0.08 0.06 0.01 0.00 0.00 0.00 0.00 13:32:11 13:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:32:11 13:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:32:11 13:29:01 eth0 4.00 2.06 3.09 0.28 0.00 0.00 0.00 0.00 13:32:11 13:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:32:11 13:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:32:11 13:30:01 eth0 0.93 0.58 0.46 0.25 0.00 0.00 0.00 0.00 13:32:11 13:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:32:11 13:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:32:11 13:31:01 eth0 0.20 0.18 0.08 0.07 0.00 0.00 0.00 0.00 13:32:11 13:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:32:11 13:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:32:11 13:32:01 eth0 202.99 165.94 2161.69 17.36 0.00 0.00 0.00 0.00 13:32:11 13:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:32:11 13:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:32:11 Average: eth0 96.28 70.87 484.73 16.16 0.00 0.00 0.00 0.00 13:32:11 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:32:11 Average: docker0 1.64 1.16 0.17 3.76 0.00 0.00 0.00 0.00 13:32:11 13:32:11 13:32:11 ---> sar -P ALL: 13:32:11 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/15/21 _x86_64_ (4 CPU) 13:32:11 13:32:11 13:25:22 LINUX RESTART (4 CPU) 13:32:11 13:32:11 13:26:01 CPU %user %nice %system %iowait %steal %idle 13:32:11 13:27:01 all 6.40 0.00 3.07 1.20 0.06 89.27 13:32:11 13:27:01 0 6.54 0.00 2.91 0.15 0.03 90.37 13:32:11 13:27:01 1 5.85 0.00 3.08 1.72 0.08 89.27 13:32:11 13:27:01 2 6.54 0.00 3.34 2.21 0.07 87.85 13:32:11 13:27:01 3 6.66 0.00 2.97 0.72 0.05 89.60 13:32:11 13:28:01 all 0.12 0.00 0.06 0.00 0.00 99.82 13:32:11 13:28:01 0 0.32 0.00 0.07 0.00 0.00 99.62 13:32:11 13:28:01 1 0.07 0.00 0.07 0.00 0.00 99.87 13:32:11 13:28:01 2 0.02 0.00 0.05 0.00 0.00 99.93 13:32:11 13:28:01 3 0.07 0.00 0.05 0.00 0.00 99.88 13:32:11 13:29:01 all 0.20 0.00 0.05 0.00 0.02 99.73 13:32:11 13:29:01 0 0.53 0.00 0.05 0.00 0.02 99.40 13:32:11 13:29:01 1 0.08 0.00 0.03 0.00 0.02 99.87 13:32:11 13:29:01 2 0.08 0.00 0.07 0.00 0.02 99.83 13:32:11 13:29:01 3 0.10 0.00 0.05 0.00 0.02 99.83 13:32:11 13:30:01 all 0.17 0.00 0.04 0.00 0.00 99.79 13:32:11 13:30:01 0 0.53 0.00 0.02 0.00 0.00 99.45 13:32:11 13:30:01 1 0.08 0.00 0.07 0.00 0.00 99.85 13:32:11 13:30:01 2 0.03 0.00 0.07 0.00 0.00 99.90 13:32:11 13:30:01 3 0.02 0.00 0.02 0.00 0.00 99.97 13:32:11 13:31:01 all 0.16 0.00 0.05 0.00 0.00 99.79 13:32:11 13:31:01 0 0.52 0.00 0.03 0.00 0.00 99.45 13:32:11 13:31:01 1 0.07 0.00 0.07 0.00 0.00 99.87 13:32:11 13:31:01 2 0.03 0.00 0.05 0.00 0.02 99.90 13:32:11 13:31:01 3 0.02 0.00 0.03 0.00 0.00 99.95 13:32:11 13:32:01 all 5.54 0.00 3.88 1.84 0.05 88.69 13:32:11 13:32:01 0 5.46 0.00 4.32 0.84 0.03 89.34 13:32:11 13:32:01 1 6.00 0.00 3.90 2.45 0.03 87.62 13:32:11 13:32:01 2 5.59 0.00 3.84 3.36 0.07 87.15 13:32:11 13:32:01 3 5.12 0.00 3.47 0.71 0.05 90.65 13:32:11 Average: all 2.08 0.00 1.19 0.50 0.02 96.21 13:32:11 Average: 0 2.30 0.00 1.22 0.16 0.01 96.29 13:32:11 Average: 1 2.02 0.00 1.20 0.69 0.02 96.08 13:32:11 Average: 2 2.04 0.00 1.23 0.92 0.03 95.78 13:32:11 Average: 3 1.98 0.00 1.09 0.24 0.02 96.67 13:32:11 13:32:11 13:32:11