Pull request #331 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from faf7e9b42be0248c17063f68c1f9b8916e20c11f+603e15a22e98ad0ffc0e9ce671b1afa02ea84060 (02e7d2fb182f4760d6cc8246c87a2df70ca2aefd) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29653 in /w/workspace/edgexfoundry_device-sdk-c_PR-331 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-331 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit faf7e9b42be0248c17063f68c1f9b8916e20c11f Merge succeeded, producing faf7e9b42be0248c17063f68c1f9b8916e20c11f Checking out Revision faf7e9b42be0248c17063f68c1f9b8916e20c11f (PR-331) > git config core.sparsecheckout # timeout=10 > git checkout -f faf7e9b42be0248c17063f68c1f9b8916e20c11f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f faf7e9b42be0248c17063f68c1f9b8916e20c11f # timeout=10 Commit message: "feat: create new devices from json/toml files in configured directory fix: update AutoEvent marshaling for v2 fix: null-terminate incoming http data docs: update metrics documentation for v2" First time build. Skipping changelog. > git rev-list --no-walk 06ade1fa7729c29c4541d63534fa6253b829bfc5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:40:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:40:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:40:44 ========================================================= 16:40:44 EdgeX Global Pipelines Version Info 16:40:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:40:46 ------------------- 16:40:46 stable info: 16:40:46 ------------------- 16:40:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:40:46 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 16:40:46 Message: update stable to v1.0.184 16:40:47 ------------------- 16:40:47 experimental info: 16:40:47 ------------------- 16:40:47 Commited By: **** collab-it+edgex@linuxfoundation.org 16:40:47 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 16:40:47 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:40:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 16:40:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 16:40:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:40:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:40:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:40:48 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 16:40:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 16:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 16:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 16:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:40:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:40:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:40:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:40:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:40:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:40:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-331 [Pipeline] echo 16:40:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-331 [Pipeline] echo 16:40:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-331 [Pipeline] echo 16:40:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = faf7e9b42be0248c17063f68c1f9b8916e20c11f [Pipeline] echo 16:40:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = faf7e9b [Pipeline] echo 16:40:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:40:51 provisioning config files... 16:40:51 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/config1134648696586721083tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:40:52 ---> docker-login.sh 16:40:52 nexus3.edgexfoundry.org:10001 16:40:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:52 Configure a credential helper to remove this warning. See 16:40:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:52 16:40:52 Login Succeeded 16:40:52 nexus3.edgexfoundry.org:10002 16:40:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:52 Configure a credential helper to remove this warning. See 16:40:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:52 16:40:52 Login Succeeded 16:40:52 nexus3.edgexfoundry.org:10003 16:40:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:52 Configure a credential helper to remove this warning. See 16:40:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:52 16:40:52 Login Succeeded 16:40:52 nexus3.edgexfoundry.org:10004 16:40:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:53 Configure a credential helper to remove this warning. See 16:40:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:53 16:40:53 Login Succeeded 16:40:53 docker.io 16:40:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:53 Configure a credential helper to remove this warning. See 16:40:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:53 16:40:53 Login Succeeded 16:40:53 ---> docker-login.sh ends [Pipeline] } 16:40:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:40:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:40:55 16:40:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:40:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:40:55 latest: Pulling from edgex-devops/git-semver 16:40:55 31603596830f: Pulling fs layer 16:40:55 2a8b12db71e7: Pulling fs layer 16:40:55 6ca5941a6612: Pulling fs layer 16:40:55 ecc8261a40a4: Pulling fs layer 16:40:55 ecc8261a40a4: Waiting 16:40:55 2a8b12db71e7: Verifying Checksum 16:40:55 2a8b12db71e7: Download complete 16:40:55 31603596830f: Verifying Checksum 16:40:55 31603596830f: Download complete 16:40:55 ecc8261a40a4: Verifying Checksum 16:40:55 ecc8261a40a4: Download complete 16:40:56 6ca5941a6612: Verifying Checksum 16:40:56 6ca5941a6612: Download complete 16:40:56 31603596830f: Pull complete 16:40:56 2a8b12db71e7: Pull complete 16:40:57 6ca5941a6612: Pull complete 16:40:57 ecc8261a40a4: Pull complete 16:40:57 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:40:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:40:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:40:57 prd-centos7-docker-4c-2g-29653 does not seem to be running inside a container 16:40:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-331 -v /w/workspace/edgexfoundry_device-sdk-c_PR-331:/w/workspace/edgexfoundry_device-sdk-c_PR-331:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:40:59 $ docker top e30c50430ff0d2acc861776529f9fe6481123e60528706b7fbbd9806ff01a4e9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:41:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:41:00 [ssh-agent] Looking for ssh-agent implementation... 16:41:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:41:00 $ docker exec e30c50430ff0d2acc861776529f9fe6481123e60528706b7fbbd9806ff01a4e9 ssh-agent 16:41:00 SSH_AUTH_SOCK=/tmp/ssh-Gi5iNymugCJ2/agent.11 16:41:00 SSH_AGENT_PID=16 16:41:00 Running ssh-add (command line suppressed) 16:41:00 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_5248350159903569917.key (/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_5248350159903569917.key) 16:41:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:41:01 + git tag --points-at HEAD [Pipeline] } 16:41:01 $ docker exec --env ******** --env ******** e30c50430ff0d2acc861776529f9fe6481123e60528706b7fbbd9806ff01a4e9 ssh-agent -k 16:41:01 unset SSH_AUTH_SOCK; 16:41:01 unset SSH_AGENT_PID; 16:41:01 echo Agent pid 16 killed; 16:41:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:41:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:41:01 [ssh-agent] Looking for ssh-agent implementation... 16:41:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:41:01 $ docker exec e30c50430ff0d2acc861776529f9fe6481123e60528706b7fbbd9806ff01a4e9 ssh-agent 16:41:01 SSH_AUTH_SOCK=/tmp/ssh-DdfgYQZzdAhT/agent.44 16:41:01 SSH_AGENT_PID=49 16:41:02 Running ssh-add (command line suppressed) 16:41:02 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_4284043501241848571.key (/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_4284043501241848571.key) 16:41:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:41:02 + git semver init 16:41:02 # -> Open(): unable to determine branch for HEAD 16:41:02 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-331/.git 16:41:02 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-331 16:41:02 # $SEMVER_REMOTE_NAME = origin 16:41:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:41:02 # $SEMVER_USER_NAME = edgex-jenkins 16:41:02 # $SEMVER_BRANCH = PR-331 16:41:02 # $SEMVER_TEMP = /tmp/semver-082575621 16:41:02 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 16:41:05 # '/tmp/semver-082575621' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-331/.semver' 16:41:05 # -> Force: false 16:41:05 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-331/.semver [Pipeline] } 16:41:05 $ docker exec --env ******** --env ******** e30c50430ff0d2acc861776529f9fe6481123e60528706b7fbbd9806ff01a4e9 ssh-agent -k 16:41:05 unset SSH_AUTH_SOCK; 16:41:05 unset SSH_AGENT_PID; 16:41:05 echo Agent pid 49 killed; 16:41:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:41:05 + git semver [Pipeline] } 16:41:05 $ docker stop --time=1 e30c50430ff0d2acc861776529f9fe6481123e60528706b7fbbd9806ff01a4e9 16:41:07 $ docker rm -f e30c50430ff0d2acc861776529f9fe6481123e60528706b7fbbd9806ff01a4e9 [Pipeline] // withDockerContainer [Pipeline] sh 16:41:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:41:08 Stashed 1 file(s) [Pipeline] echo 16:41:08 [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 16:41:23 Still waiting to schedule task 16:41:23 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29653’ 16:41:23 Still waiting to schedule task 16:41:23 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:43:12 Running on prd-ubuntu18.04-docker-arm64-4c-16g-29654 in /w/workspace/edgexfoundry_device-sdk-c_PR-331 [Pipeline] { [Pipeline] ws 16:43:12 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout 16:43:17 using credential edgex-jenkins-ssh 16:43:17 Cloning the remote Git repository 16:43:17 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:43:17 > git init /w/workspace/device-sdk-c/3 # timeout=10 16:43:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:43:17 > git --version # timeout=10 16:43:17 > git --version # 'git version 2.17.1' 16:43:17 using GIT_SSH to set credentials SSH Credentials for GitHub 16:43:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:43:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:43:19 Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit faf7e9b42be0248c17063f68c1f9b8916e20c11f 16:43:19 Merge succeeded, producing faf7e9b42be0248c17063f68c1f9b8916e20c11f 16:43:19 Checking out Revision faf7e9b42be0248c17063f68c1f9b8916e20c11f (PR-331) 16:43:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:43:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:43:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:43:18 using GIT_SSH to set credentials SSH Credentials for GitHub 16:43:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:43:19 > git config core.sparsecheckout # timeout=10 16:43:19 > git checkout -f faf7e9b42be0248c17063f68c1f9b8916e20c11f # timeout=10 16:43:19 > git remote # timeout=10 16:43:19 > git config --get remote.origin.url # timeout=10 16:43:19 using GIT_SSH to set credentials SSH Credentials for GitHub 16:43:19 > git merge 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 16:43:19 > git rev-parse HEAD^{commit} # timeout=10 16:43:19 > git config core.sparsecheckout # timeout=10 16:43:19 > git checkout -f faf7e9b42be0248c17063f68c1f9b8916e20c11f # timeout=10 16:43:24 Commit message: "feat: create new devices from json/toml files in configured directory fix: update AutoEvent marshaling for v2 fix: null-terminate incoming http data docs: update metrics documentation for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:43:25 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:43:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:43:26 + sudo service docker restart 16:43:26 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:43:29 provisioning config files... 16:43:29 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config4620717129634572441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:43:29 ---> docker-login.sh 16:43:29 nexus3.edgexfoundry.org:10001 16:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:30 Configure a credential helper to remove this warning. See 16:43:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:30 16:43:30 Login Succeeded 16:43:30 nexus3.edgexfoundry.org:10002 16:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:31 Configure a credential helper to remove this warning. See 16:43:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:31 16:43:31 Login Succeeded 16:43:31 nexus3.edgexfoundry.org:10003 16:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:32 Configure a credential helper to remove this warning. See 16:43:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:32 16:43:32 Login Succeeded 16:43:32 nexus3.edgexfoundry.org:10004 16:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:32 Configure a credential helper to remove this warning. See 16:43:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:32 16:43:32 Login Succeeded 16:43:32 docker.io 16:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:33 Configure a credential helper to remove this warning. See 16:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:33 16:43:33 Login Succeeded 16:43:33 ---> docker-login.sh ends [Pipeline] } 16:43:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:43:33 ========================================================= 16:43:33 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 16:43:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:43:34 + 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 . 16:43:34 Sending build context to Docker daemon 2.515MB 16:43:34 Step 1/21 : ARG BASE=alpine:3.12 16:43:34 Step 2/21 : FROM ${BASE} as builder 16:43:34 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 16:43:34 0362ad1dd800: Pulling fs layer 16:43:34 f2cdb1532d8b: Pulling fs layer 16:43:34 37ed683be191: Pulling fs layer 16:43:34 f2cdb1532d8b: Verifying Checksum 16:43:34 f2cdb1532d8b: Download complete 16:43:35 0362ad1dd800: Verifying Checksum 16:43:35 0362ad1dd800: Download complete 16:43:36 0362ad1dd800: Pull complete 16:43:36 f2cdb1532d8b: Pull complete 16:43:37 37ed683be191: Verifying Checksum 16:43:37 37ed683be191: Download complete 16:43:47 37ed683be191: Pull complete 16:43:47 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 16:43:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 16:43:47 ---> b23d30803547 16:43:47 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 16:43:48 ---> Running in d0cbd44ea20b 16:43:49 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:43:50 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:43:50 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 16:43:50 (2/8) Installing libuuid (2.33-r0) 16:43:50 (3/8) Installing libblkid (2.33-r0) 16:43:50 (4/8) Installing libfdisk (2.33-r0) 16:43:51 (5/8) Installing libmount (2.33-r0) 16:43:51 (6/8) Installing libsmartcols (2.33-r0) 16:43:51 (7/8) Installing util-linux-dev (2.33-r0) 16:43:51 (8/8) Installing wget (1.20.3-r0) 16:43:51 Executing busybox-1.29.3-r10.trigger 16:43:51 OK: 285 MiB in 83 packages 16:43:53 Removing intermediate container d0cbd44ea20b 16:43:53 ---> b154b35aa128 16:43:53 Step 4/21 : ENV CBOR_VERSION=0.5.0 16:43:53 ---> Running in bbe722e5a9c2 16:43:53 Removing intermediate container bbe722e5a9c2 16:43:53 ---> 51cafdd54ae5 16:43:53 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 16:43:53 ---> Running in 332c6c6456fd 16:43:54 --2021-03-12 16:43:54-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:43:54 Resolving github.com... 140.82.113.3 16:43:54 Connecting to github.com|140.82.113.3|:443... connected. 16:43:54 HTTP request sent, awaiting response... 302 Found 16:43:54 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:43:54 --2021-03-12 16:43:54-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:43:54 Resolving codeload.github.com... 140.82.113.9 16:43:54 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:43:54 HTTP request sent, awaiting response... 200 OK 16:43:54 Length: unspecified [application/x-gzip] 16:43:54 Saving to: 'STDOUT' 16:43:54 16:43:55 0K .......... .......... .......... .......... .......... 1.31M 16:43:55 50K .......... .......... .......... .......... .......... 2.53M 16:43:55 100K .......... .......... .......... .......... .......... 2.88M 16:43:55 150K .......... .......... .......... .......... .......... 12.6M 16:43:55 200K .......... .......... .......... .......... .......... 9.75M 16:43:55 250K .......... .......... .......... .......... .......... 3.30M 16:43:55 300K .......... .......... .......... .......... .......... 3.71M 16:43:55 350K .......... .......... .......... .......... .......... 4.16M 16:43:55 400K .......... .......... .......... .......... .......... 4.40M 16:43:55 450K .......... .......... .......... .......... .......... 3.85M 16:43:55 500K .......... .......... .......... .......... .......... 10.5M 16:43:55 550K .......... .......... .......... .......... .......... 1.74M 16:43:55 600K .......... .......... .......... .......... .......... 1.02M 16:43:55 650K .......... .......... .......... .......... .......... 2.39M 16:43:55 700K .. 9.11M=0.2s 16:43:55 16:43:55 2021-03-12 16:43:55 (2.77 MB/s) - written to stdout [719348] 16:43:55 16:43:55 -- The C compiler identification is GNU 8.3.0 16:43:55 -- The CXX compiler identification is GNU 8.3.0 16:43:55 -- Check for working C compiler: /usr/bin/cc 16:43:56 -- Check for working C compiler: /usr/bin/cc -- works 16:43:56 -- Detecting C compiler ABI info 16:43:56 -- Detecting C compiler ABI info - done 16:43:56 -- Detecting C compile features 16:43:56 -- Detecting C compile features - done 16:43:57 -- Check for working CXX compiler: /usr/bin/c++ 16:43:57 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:43:57 -- Detecting CXX compiler ABI info 16:43:57 -- Detecting CXX compiler ABI info - done 16:43:57 -- Detecting CXX compile features 16:43:59 -- Detecting CXX compile features - done 16:43:59 -- Looking for include file endian.h 16:43:59 -- Looking for include file endian.h - found 16:43:59 -- Check if the system is big endian 16:43:59 -- Searching 16 bit integer 16:43:59 -- Looking for sys/types.h 16:43:59 -- Looking for sys/types.h - found 16:43:59 -- Looking for stdint.h 16:43:59 -- Looking for stdint.h - found 16:43:59 -- Looking for stddef.h 16:43:59 -- Looking for stddef.h - found 16:43:59 -- Check size of unsigned short 16:44:00 -- Check size of unsigned short - done 16:44:00 -- Using unsigned short 16:44:00 -- Check if the system is big endian - little endian 16:44:00 -- Check size of size_t 16:44:00 -- Check size of size_t - done 16:44:00 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:44:00 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:44:00 asked CMake to find a package configuration file provided by "cJSON", but 16:44:00 CMake did not find one. 16:44:00 16:44:00 Could not find a package configuration file provided by "cJSON" with any of 16:44:00 the following names: 16:44:00 16:44:00 cJSONConfig.cmake 16:44:00 cjson-config.cmake 16:44:00 16:44:00 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:44:00 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:44:00 provides a separate development package or SDK, be sure it has been 16:44:00 installed. 16:44:00 16:44:00 16:44:00 -- Configuring done 16:44:01 -- Generating done 16:44:01 -- Build files have been written to: /tmp/cbor 16:44:01 Scanning dependencies of target cbor_shared 16:44:01 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:44:02 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:44:02 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:44:02 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:44:03 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:44:03 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:44:03 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:44:03 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:44:04 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:44:04 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:44:04 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:44:05 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:44:05 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:44:05 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:44:06 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:44:06 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:44:06 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:44:06 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:44:07 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:44:07 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:44:07 [ 40%] Linking C shared library libcbor.so 16:44:07 Running on prd-centos7-docker-4c-2g-29655 in /w/workspace/edgexfoundry_device-sdk-c_PR-331 [Pipeline] { [Pipeline] ws 16:44:07 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout 16:44:07 [ 40%] Built target cbor_shared 16:44:07 Scanning dependencies of target cbor 16:44:07 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:44:08 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:44:08 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:44:09 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:44:09 using credential edgex-jenkins-ssh 16:44:10 Cloning the remote Git repository 16:44:10 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:44:10 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:44:10 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:44:10 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:44:10 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:44:10 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:44:10 > git init /w/workspace/device-sdk-c/3 # timeout=10 16:44:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:44:10 > git --version # timeout=10 16:44:10 > git --version # 'git version 2.24.3' 16:44:10 using GIT_SSH to set credentials SSH Credentials for GitHub 16:44:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:44:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:44:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:44:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:44:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:44:10 using GIT_SSH to set credentials SSH Credentials for GitHub 16:44:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:44:11 Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit faf7e9b42be0248c17063f68c1f9b8916e20c11f 16:44:11 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:44:11 Merge succeeded, producing faf7e9b42be0248c17063f68c1f9b8916e20c11f 16:44:11 Checking out Revision faf7e9b42be0248c17063f68c1f9b8916e20c11f (PR-331) 16:44:12 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:44:11 > git config core.sparsecheckout # timeout=10 16:44:11 > git checkout -f faf7e9b42be0248c17063f68c1f9b8916e20c11f # timeout=10 16:44:11 > git remote # timeout=10 16:44:11 > git config --get remote.origin.url # timeout=10 16:44:11 using GIT_SSH to set credentials SSH Credentials for GitHub 16:44:11 > git merge 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 16:44:11 > git rev-parse HEAD^{commit} # timeout=10 16:44:11 > git config core.sparsecheckout # timeout=10 16:44:11 > git checkout -f faf7e9b42be0248c17063f68c1f9b8916e20c11f # timeout=10 16:44:12 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:44:12 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:44:12 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:44:13 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:44:13 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:44:13 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:44:14 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:44:14 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:44:14 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:44:14 [ 80%] Linking C static library libcbor.a 16:44:14 [ 80%] Built target cbor 16:44:14 Scanning dependencies of target create_items 16:44:14 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:44:15 [ 84%] Linking C executable create_items 16:44:15 [ 84%] Built target create_items 16:44:15 Scanning dependencies of target readfile 16:44:15 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:44:15 Commit message: "feat: create new devices from json/toml files in configured directory fix: update AutoEvent marshaling for v2 fix: null-terminate incoming http data docs: update metrics documentation for v2" 16:44:15 [ 88%] Linking C executable readfile 16:44:15 [ 88%] Built target readfile 16:44:15 Scanning dependencies of target streaming_parser [Pipeline] withEnv [Pipeline] { 16:44:15 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:44:15 [ 92%] Linking C executable streaming_parser [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:44:15 [ 92%] Built target streaming_parser 16:44:15 Scanning dependencies of target sort 16:44:15 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:44:16 [ 96%] Linking C executable sort 16:44:16 [ 96%] Built target sort 16:44:16 Scanning dependencies of target hello 16:44:16 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:44:16 [100%] Linking C executable hello 16:44:16 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:44:16 [100%] Built target hello 16:44:16 Install the project... 16:44:16 -- Install configuration: "Release" 16:44:16 -- Installing: /usr/local/include/cbor/configuration.h 16:44:16 -- Installing: /usr/local/lib64/libcbor.a 16:44:16 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:44:16 -- Installing: /usr/local/lib64/libcbor.so.0 16:44:16 -- Installing: /usr/local/lib64/libcbor.so 16:44:16 -- Up-to-date: /usr/local/include/cbor 16:44:16 -- Installing: /usr/local/include/cbor/streaming.h 16:44:16 -- Installing: /usr/local/include/cbor/ints.h 16:44:16 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:44:16 -- Installing: /usr/local/include/cbor/bytestrings.h 16:44:16 -- Installing: /usr/local/include/cbor/encoding.h 16:44:16 -- Installing: /usr/local/include/cbor/serialization.h 16:44:16 -- Installing: /usr/local/include/cbor/data.h 16:44:16 -- Installing: /usr/local/include/cbor/common.h 16:44:16 -- Installing: /usr/local/include/cbor/callbacks.h 16:44:16 -- Installing: /usr/local/include/cbor/strings.h 16:44:16 -- Installing: /usr/local/include/cbor/tags.h 16:44:16 -- Installing: /usr/local/include/cbor/internal 16:44:16 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:44:16 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:44:16 -- Installing: /usr/local/include/cbor/internal/stack.h 16:44:16 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:44:16 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:44:16 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:44:16 -- Installing: /usr/local/include/cbor/arrays.h 16:44:16 -- Installing: /usr/local/include/cbor/maps.h 16:44:16 -- Installing: /usr/local/include/cbor.h 16:44:16 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:44:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:44:17 + sudo service docker restart 16:44:17 + true 16:44:17 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:44:18 provisioning config files... 16:44:18 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config3395148365957900927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:44:18 ---> docker-login.sh 16:44:18 nexus3.edgexfoundry.org:10001 16:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:18 Configure a credential helper to remove this warning. See 16:44:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:18 16:44:18 Login Succeeded 16:44:18 nexus3.edgexfoundry.org:10002 16:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:19 Configure a credential helper to remove this warning. See 16:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:19 16:44:19 Login Succeeded 16:44:19 nexus3.edgexfoundry.org:10003 16:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:19 Removing intermediate container 332c6c6456fd 16:44:19 ---> 2750c087fdd7 16:44:19 Step 6/21 : RUN mkdir /tmp/sdk 16:44:19 ---> Running in 420d74d06bc7 16:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:19 Configure a credential helper to remove this warning. See 16:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:19 16:44:19 Login Succeeded 16:44:19 nexus3.edgexfoundry.org:10004 16:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:19 Configure a credential helper to remove this warning. See 16:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:19 16:44:19 Login Succeeded 16:44:19 docker.io 16:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:19 Configure a credential helper to remove this warning. See 16:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:19 16:44:19 Login Succeeded 16:44:19 ---> docker-login.sh ends [Pipeline] } 16:44:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:44:20 ========================================================= 16:44:20 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 16:44:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:44:20 + 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 . 16:44:20 Sending build context to Docker daemon 2.516MB 16:44:20 Step 1/21 : ARG BASE=alpine:3.12 16:44:20 Step 2/21 : FROM ${BASE} as builder 16:44:20 latest: Pulling from edgex-devops/edgex-gcc-base 16:44:20 e7c96db7181b: Pulling fs layer 16:44:20 4c13bbce0fe7: Pulling fs layer 16:44:20 6059c847ac2f: Pulling fs layer 16:44:20 4c13bbce0fe7: Verifying Checksum 16:44:20 4c13bbce0fe7: Download complete 16:44:21 Removing intermediate container 420d74d06bc7 16:44:21 ---> f87297604215 16:44:21 Step 7/21 : COPY VERSION /tmp/sdk 16:44:21 e7c96db7181b: Verifying Checksum 16:44:21 e7c96db7181b: Download complete 16:44:21 ---> 3b1e75962c47 16:44:21 Step 8/21 : COPY src /tmp/sdk/src 16:44:21 e7c96db7181b: Pull complete 16:44:21 4c13bbce0fe7: Pull complete 16:44:22 ---> 002576bd2379 16:44:22 Step 9/21 : COPY include /tmp/sdk/include 16:44:22 6059c847ac2f: Verifying Checksum 16:44:22 6059c847ac2f: Download complete 16:44:22 ---> 7bec846e33d0 16:44:22 Step 10/21 : COPY scripts /tmp/sdk/scripts 16:44:23 ---> 25e613cc038c 16:44:23 Step 11/21 : COPY LICENSE /tmp/sdk 16:44:24 ---> 770433514621 16:44:24 Step 12/21 : COPY Attribution.txt /tmp/sdk 16:44:25 ---> 2275575fece4 16:44:25 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:44:25 ---> Running in eed74693a8fe 16:44:26 + CPPCHECK=false 16:44:26 + DOCGEN=false 16:44:26 + TOMLVER=SDK-0.2 16:44:26 + CUTILVER=1.1.4 16:44:26 + '[' 0 -gt 0 ] 16:44:26 + readlink -f ./scripts/build.sh 16:44:26 + dirname /tmp/sdk/scripts/build.sh 16:44:26 + dirname /tmp/sdk/scripts 16:44:26 + ROOT=/tmp/sdk 16:44:26 + cd /tmp/sdk 16:44:26 + '[' '!' -d deps ] 16:44:26 + mkdir deps 16:44:26 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:44:26 --2021-03-12 16:44:26-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:44:26 + tar -C deps -z -x -f - 16:44:26 Resolving github.com... 140.82.114.4 16:44:26 Connecting to github.com|140.82.114.4|:443... connected. 16:44:26 HTTP request sent, awaiting response... 302 Found 16:44:26 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:44:26 --2021-03-12 16:44:26-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:44:26 Resolving codeload.github.com... 140.82.113.9 16:44:26 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:44:26 HTTP request sent, awaiting response... 200 OK 16:44:26 Length: unspecified [application/x-gzip] 16:44:26 Saving to: 'STDOUT' 16:44:26  16:44:26 0K .......... ......  862K=0.02s 16:44:26 16:44:26 2021-03-12 16:44:26 (862 KB/s) - written to stdout [16451] 16:44:26 16:44:26 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:44:26 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:44:26 -x -f - 16:44:26 --2021-03-12 16:44:26-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:44:26 Resolving github.com... 140.82.114.4 16:44:26 Connecting to github.com|140.82.114.4|:443... connected. 16:44:26 HTTP request sent, awaiting response... 302 Found 16:44:26 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 16:44:26 --2021-03-12 16:44:26-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 16:44:26 Resolving codeload.github.com... 140.82.113.9 16:44:26 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:44:26 HTTP request sent, awaiting response... 200 OK 16:44:26 Length: unspecified [application/x-gzip] 16:44:26 Saving to: 'STDOUT' 16:44:26  16:44:26 0K .......... .......... .......... .......... .......... 1.19M 16:44:26 50K .......... .......... .......... .......... .......... 2.44M 16:44:27 100K .......... .......... .......... .......... .......... 2.52M 16:44:27 150K .......... .......... .......                    6.89M=0.08s 16:44:27 16:44:27 2021-03-12 16:44:26 (2.06 MB/s) - written to stdout [181796] 16:44:27 16:44:27 + mkdir -p src/c/iot 16:44:27 + 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 16:44:27 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 16:44:27 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 16:44:27 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 16:44:27 + mkdir -p include/iot 16:44:27 + 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 16:44:27 + mkdir -p include/iot/os 16:44:27 + 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 16:44:27 + mkdir -p /tmp/sdk/build/release 16:44:27 + cd /tmp/sdk/build/release 16:44:27 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:44:27 -- The C compiler identification is GNU 8.3.0 16:44:27 -- Check for working C compiler: /usr/bin/cc 16:44:27 -- Check for working C compiler: /usr/bin/cc -- works 16:44:27 -- Detecting C compiler ABI info 16:44:28 -- Detecting C compiler ABI info - done 16:44:28 -- Detecting C compile features 16:44:28 6059c847ac2f: Pull complete 16:44:28 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 16:44:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 16:44:28 ---> 5eabd8fd8ba2 16:44:28 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 16:44:28 -- Detecting C compile features - done 16:44:28 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:44:28 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:44:28 -- Found LIBYAML: /usr/lib/libyaml.so 16:44:28 -- Found LIBUUID: /usr/lib/libuuid.so 16:44:28 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:44:28 -- C SDK 0.0.0 for Linux 16:44:28 -- Performing Test CSDK_HAVE_ATOMIC 16:44:28 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:44:28 -- Found Curses: /usr/lib/libcurses.so 16:44:29 ---> Running in eb23dc438061 16:44:29 -- Configuring done 16:44:29 -- Generating done 16:44:29 -- Build files have been written to: /tmp/sdk/build/release 16:44:29 + make all package 16:44:29 + tee release.log 16:44:29 Scanning dependencies of target csdk 16:44:29 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:44:29 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:44:30 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:44:30 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:44:30 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 16:44:30 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:44:30 (2/8) Installing libuuid (2.33-r0) 16:44:30 (3/8) Installing libblkid (2.33-r0) 16:44:30 (4/8) Installing libfdisk (2.33-r0) 16:44:31 (5/8) Installing libmount (2.33-r0) 16:44:31 (6/8) Installing libsmartcols (2.33-r0) 16:44:31 (7/8) Installing util-linux-dev (2.33-r0) 16:44:32 (8/8) Installing wget (1.20.3-r0) 16:44:32 Executing busybox-1.29.3-r10.trigger 16:44:32 OK: 272 MiB in 83 packages 16:44:32 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:44:32 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:44:32 Removing intermediate container eb23dc438061 16:44:32 ---> ef5c9d378dc3 16:44:32 Step 4/21 : ENV CBOR_VERSION=0.5.0 16:44:32 ---> Running in f1aa6079a616 16:44:33 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:44:33 Removing intermediate container f1aa6079a616 16:44:33 ---> 98ff17046342 16:44:33 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 16:44:33 ---> Running in 43d86a20fea8 16:44:33 --2021-03-12 16:44:33-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:44:33 Resolving github.com... 140.82.114.4 16:44:33 Connecting to github.com|140.82.114.4|:443... connected. 16:44:33 HTTP request sent, awaiting response... 302 Found 16:44:33 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:44:33 --2021-03-12 16:44:33-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:44:33 Resolving codeload.github.com... 140.82.113.9 16:44:33 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:44:33 HTTP request sent, awaiting response... 200 OK 16:44:33 Length: unspecified [application/x-gzip] 16:44:33 Saving to: 'STDOUT' 16:44:33 16:44:33 0K .......... .......... .......... .......... .......... 1.45M 16:44:33 50K .......... .......... .......... .......... .......... 2.91M 16:44:33 100K .......... .......... .......... .......... .......... 24.4M 16:44:33 150K .......... .......... .......... .......... .......... 21.6M 16:44:33 200K .......... .......... .......... .......... .......... 3.35M 16:44:33 250K .......... .......... .......... .......... .......... 9.61M 16:44:33 300K .......... .......... .......... .......... .......... 9.32M 16:44:33 350K .......... .......... .......... .......... .......... 9.98M 16:44:33 400K .......... .......... .......... .......... .......... 9.85M 16:44:33 450K .......... .......... .......... .......... .......... 8.06M 16:44:33 500K .......... .......... .......... .......... .......... 17.1M 16:44:33 550K .......... .......... .......... .......... .......... 8.73M 16:44:33 600K .......... .......... .......... .......... .......... 1.97M 16:44:33 650K .......... .......... .......... .......... .......... 4.61M 16:44:33 700K .. 40.8M=0.1s 16:44:33 16:44:33 2021-03-12 16:44:33 (4.92 MB/s) - written to stdout [719348] 16:44:33 16:44:33 -- The C compiler identification is GNU 8.3.0 16:44:34 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:44:34 -- The CXX compiler identification is GNU 8.3.0 16:44:34 -- Check for working C compiler: /usr/bin/cc 16:44:34 -- Check for working C compiler: /usr/bin/cc -- works 16:44:34 -- Detecting C compiler ABI info 16:44:34 -- Detecting C compiler ABI info - done 16:44:34 -- Detecting C compile features 16:44:34 -- Detecting C compile features - done 16:44:34 -- Check for working CXX compiler: /usr/bin/c++ 16:44:34 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:44:34 -- Detecting CXX compiler ABI info 16:44:34 -- Detecting CXX compiler ABI info - done 16:44:34 -- Detecting CXX compile features 16:44:35 -- Detecting CXX compile features - done 16:44:35 -- Looking for include file endian.h 16:44:35 -- Looking for include file endian.h - found 16:44:35 -- Check if the system is big endian 16:44:35 -- Searching 16 bit integer 16:44:35 -- Looking for sys/types.h 16:44:35 -- Looking for sys/types.h - found 16:44:35 -- Looking for stdint.h 16:44:35 -- Looking for stdint.h - found 16:44:35 -- Looking for stddef.h 16:44:35 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:44:35 -- Looking for stddef.h - found 16:44:35 -- Check size of unsigned short 16:44:35 -- Check size of unsigned short - done 16:44:35 -- Using unsigned short 16:44:35 -- Check if the system is big endian - little endian 16:44:35 -- Check size of size_t 16:44:35 -- Check size of size_t - done 16:44:35 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:44:35 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:44:35 asked CMake to find a package configuration file provided by "cJSON", but 16:44:35 CMake did not find one. 16:44:35 16:44:35 Could not find a package configuration file provided by "cJSON" with any of 16:44:35 the following names: 16:44:35 16:44:35 cJSONConfig.cmake 16:44:35 cjson-config.cmake 16:44:35 16:44:35 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:44:35 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:44:35 provides a separate development package or SDK, be sure it has been 16:44:35 installed. 16:44:35 16:44:35 16:44:35 -- Configuring done 16:44:35 -- Generating done 16:44:35 -- Build files have been written to: /tmp/cbor 16:44:35 Scanning dependencies of target cbor_shared 16:44:35 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:44:36 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:44:36 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:44:36 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:44:36 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:44:36 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:44:36 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:44:36 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:44:36 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:44:36 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:44:36 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:44:36 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:44:36 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:44:36 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:44:37 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:44:37 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:44:37 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:44:37 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:44:37 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:44:37 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:44:37 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:44:37 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:44:37 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:44:37 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:44:37 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:44:37 [ 40%] Linking C shared library libcbor.so 16:44:37 [ 40%] Built target cbor_shared 16:44:37 Scanning dependencies of target cbor 16:44:37 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:44:37 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:44:37 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:44:37 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:44:38 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:44:38 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:44:38 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:44:38 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:44:38 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:44:38 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:44:38 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:44:38 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:44:38 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:44:38 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:44:39 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:44:39 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:44:39 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:44:39 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:44:39 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:44:39 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:44:39 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:44:39 [ 80%] Linking C static library libcbor.a 16:44:39 [ 80%] Built target cbor 16:44:39 Scanning dependencies of target create_items 16:44:39 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:44:39 [ 84%] Linking C executable create_items 16:44:39 [ 84%] Built target create_items 16:44:39 Scanning dependencies of target readfile 16:44:39 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:44:39 [ 88%] Linking C executable readfile 16:44:39 [ 88%] Built target readfile 16:44:39 Scanning dependencies of target streaming_parser 16:44:39 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:44:39 [ 92%] Linking C executable streaming_parser 16:44:39 [ 92%] Built target streaming_parser 16:44:39 Scanning dependencies of target sort 16:44:39 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:44:39 [ 96%] Linking C executable sort 16:44:39 [ 96%] Built target sort 16:44:39 Scanning dependencies of target hello 16:44:39 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:44:40 [100%] Linking C executable hello 16:44:40 [100%] Built target hello 16:44:40 Install the project... 16:44:40 -- Install configuration: "Release" 16:44:40 -- Installing: /usr/local/include/cbor/configuration.h 16:44:40 -- Installing: /usr/local/lib64/libcbor.a 16:44:40 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:44:40 -- Installing: /usr/local/lib64/libcbor.so.0 16:44:40 -- Installing: /usr/local/lib64/libcbor.so 16:44:40 -- Up-to-date: /usr/local/include/cbor 16:44:40 -- Installing: /usr/local/include/cbor/arrays.h 16:44:40 -- Installing: /usr/local/include/cbor/bytestrings.h 16:44:40 -- Installing: /usr/local/include/cbor/callbacks.h 16:44:40 -- Installing: /usr/local/include/cbor/common.h 16:44:40 -- Installing: /usr/local/include/cbor/data.h 16:44:40 -- Installing: /usr/local/include/cbor/encoding.h 16:44:40 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:44:40 -- Installing: /usr/local/include/cbor/internal 16:44:40 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:44:40 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:44:40 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:44:40 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:44:40 -- Installing: /usr/local/include/cbor/internal/stack.h 16:44:40 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:44:40 -- Installing: /usr/local/include/cbor/ints.h 16:44:40 -- Installing: /usr/local/include/cbor/maps.h 16:44:40 -- Installing: /usr/local/include/cbor/serialization.h 16:44:40 -- Installing: /usr/local/include/cbor/streaming.h 16:44:40 -- Installing: /usr/local/include/cbor/strings.h 16:44:40 -- Installing: /usr/local/include/cbor/tags.h 16:44:40 -- Installing: /usr/local/include/cbor.h 16:44:40 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:44:40 [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:44:40 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:44:41 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:44:41 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:44:41 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:44:42 Removing intermediate container 43d86a20fea8 16:44:42 ---> 9fda66b88f47 16:44:42 Step 6/21 : RUN mkdir /tmp/sdk 16:44:42 ---> Running in 1cd5f183ff22 16:44:42 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:44:43 Removing intermediate container 1cd5f183ff22 16:44:43 ---> a0547358664f 16:44:43 Step 7/21 : COPY VERSION /tmp/sdk 16:44:43 ---> fc1ba33540e5 16:44:43 Step 8/21 : COPY src /tmp/sdk/src 16:44:44 ---> 6b7b1711e38b 16:44:44 Step 9/21 : COPY include /tmp/sdk/include 16:44:44 ---> 6b1c977ec500 16:44:44 Step 10/21 : COPY scripts /tmp/sdk/scripts 16:44:44 ---> a9cfa2687d72 16:44:44 Step 11/21 : COPY LICENSE /tmp/sdk 16:44:44 ---> ab28fbfd3fa7 16:44:44 Step 12/21 : COPY Attribution.txt /tmp/sdk 16:44:45 ---> 4182b0c404d1 16:44:45 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:44:45 ---> Running in ee39856fb7ee 16:44:45 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:44:45 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:44:45 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:44:45 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:44:45 + CPPCHECK=false 16:44:45 + DOCGEN=false 16:44:45 + TOMLVER=SDK-0.2 16:44:45 + CUTILVER=1.1.4 16:44:45 + '[' 0 -gt 0 ] 16:44:45 + readlink -f ./scripts/build.sh 16:44:45 + dirname /tmp/sdk/scripts/build.sh 16:44:45 + dirname /tmp/sdk/scripts 16:44:45 + ROOT=/tmp/sdk 16:44:45 + cd /tmp/sdk 16:44:45 + '[' '!' -d deps ] 16:44:45 + mkdir deps 16:44:45 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:44:45 + tar -C deps -z -x -f - 16:44:45 --2021-03-12 16:44:45-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:44:45 Resolving github.com... 140.82.114.4 16:44:45 Connecting to github.com|140.82.114.4|:443... connected. 16:44:45 HTTP request sent, awaiting response... 302 Found 16:44:45 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:44:45 --2021-03-12 16:44:45-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:44:45 Resolving codeload.github.com... 140.82.113.9 16:44:45 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:44:45 HTTP request sent, awaiting response... 200 OK 16:44:45 Length: unspecified [application/x-gzip] 16:44:45 Saving to: 'STDOUT' 16:44:45  16:44:45 0K .......... ...... 1.06M=0.01s 16:44:45 16:44:45 2021-03-12 16:44:45 (1.06 MB/s) - written to stdout [16451] 16:44:45 16:44:45 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:44:45 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:44:45 + tar -C deps -z -x -f - 16:44:45 --2021-03-12 16:44:45-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:44:46 Resolving github.com... 140.82.114.4 16:44:46 Connecting to github.com|140.82.114.4|:443... connected. 16:44:46 HTTP request sent, awaiting response... 302 Found 16:44:46 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 16:44:46 --2021-03-12 16:44:46-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 16:44:46 Resolving codeload.github.com... 140.82.113.9 16:44:46 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:44:46 HTTP request sent, awaiting response... 200 OK 16:44:46 Length: unspecified [application/x-gzip] 16:44:46 Saving to: 'STDOUT' 16:44:46 16:44:46 0K .......... .......... .......... .......... .......... 1.51M 16:44:46 50K .......... .......... .......... .......... .......... 2.78M 16:44:46 100K .......... .......... .......... .......... .......... 32.2M 16:44:46 150K .......... .......... ....... 1.76M=0.07s 16:44:46 16:44:46 2021-03-12 16:44:46 (2.60 MB/s) - written to stdout [181796] 16:44:46 16:44:46 + mkdir -p src/c/iot 16:44:46 + 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 16:44:46 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 16:44:46 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 16:44:46 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 16:44:46 + mkdir -p include/iot 16:44:46 + 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 16:44:46 + mkdir -p include/iot/os 16:44:46 + 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 16:44:46 + mkdir -p /tmp/sdk/build/release 16:44:46 + cd /tmp/sdk/build/release 16:44:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:44:46 -- The C compiler identification is GNU 8.3.0 16:44:46 -- Check for working C compiler: /usr/bin/cc 16:44:46 -- Check for working C compiler: /usr/bin/cc -- works 16:44:46 -- Detecting C compiler ABI info 16:44:46 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:44:46 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:44:46 -- Detecting C compiler ABI info - done 16:44:46 -- Detecting C compile features 16:44:47 -- Detecting C compile features - done 16:44:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:44:47 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:44:47 -- Found LIBYAML: /usr/lib/libyaml.so 16:44:47 -- Found LIBUUID: /usr/lib/libuuid.so 16:44:47 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:44:47 -- C SDK 0.0.0 for Linux 16:44:47 -- Performing Test CSDK_HAVE_ATOMIC 16:44:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:44:47 -- Found Curses: /usr/lib/libcurses.so 16:44:47 -- Configuring done 16:44:47 -- Generating done 16:44:47 -- Build files have been written to: /tmp/sdk/build/release 16:44:47 + make all package 16:44:47 + tee release.log 16:44:47 Scanning dependencies of target csdk 16:44:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:44:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:44:47 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:44:47 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:44:47 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:44:47 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:44:48 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:44:48 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:44:48 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:44:48 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:44:48 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:44:48 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:44:48 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:44:49 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:44:49 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:44:49 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:44:49 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:44:49 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:44:49 [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:44:50 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:44:50 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:44:50 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:44:50 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:44:50 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:44:50 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:44:50 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:44:51 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:44:51 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:44:51 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:44:51 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:44:51 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:44:51 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:44:51 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:44:51 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:44:51 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:44:52 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:44:52 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:44:52 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:44:52 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:44:52 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:44:52 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:44:53 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:44:54 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:44:54 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:44:54 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:44:54 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:44:54 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:44:55 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:44:55 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:44:56 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:44:56 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:44:56 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:44:56 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:44:56 [ 73%] Linking C shared library libcsdk.so 16:44:56 [ 73%] Built target csdk 16:44:56 Scanning dependencies of target template 16:44:56 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:44:56 [ 76%] Linking C executable template 16:44:56 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:44:57 [ 76%] Built target template 16:44:57 Scanning dependencies of target device-counter 16:44:57 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:44:57 [ 80%] Linking C executable device-counter 16:44:57 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:44:57 [ 80%] Built target device-counter 16:44:57 Scanning dependencies of target device-random 16:44:57 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:44:57 [ 83%] Linking C executable device-random 16:44:57 [ 83%] Built target device-random 16:44:57 Scanning dependencies of target device-gyro 16:44:57 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:44:57 [ 86%] Linking C executable device-gyro 16:44:57 [ 86%] Built target device-gyro 16:44:57 Scanning dependencies of target device-bitfields 16:44:57 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:44:57 [ 90%] Linking C executable device-bitfields 16:44:57 [ 90%] Built target device-bitfields 16:44:57 Scanning dependencies of target template-discovery 16:44:57 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:44:57 [ 93%] Linking C executable template-discovery 16:44:58 [ 93%] Built target template-discovery 16:44:58 Scanning dependencies of target device-file 16:44:58 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:44:58 [ 96%] Linking C executable device-file 16:44:58 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:44:58 [ 96%] Built target device-file 16:44:58 Scanning dependencies of target device-terminal 16:44:58 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:44:58 [100%] Linking C executable device-terminal 16:44:58 [100%] Built target device-terminal 16:44:58 Run CPack packaging tool... 16:44:58 CPack: Create package using TGZ 16:44:58 CPack: Install projects 16:44:58 CPack: - Run preinstall target for: Csdk 16:44:58 CPack: - Install project: Csdk 16:44:58 CPack: Create package 16:44:58 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:44:58 + '[' false '=' true ] 16:44:58 + '[' false '=' true ] 16:44:58 + mkdir -p /tmp/sdk/build/debug 16:44:58 + cd /tmp/sdk/build/debug 16:44:58 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:44:58 -- The C compiler identification is GNU 8.3.0 16:44:58 -- Check for working C compiler: /usr/bin/cc 16:44:58 -- Check for working C compiler: /usr/bin/cc -- works 16:44:58 -- Detecting C compiler ABI info 16:44:59 -- Detecting C compiler ABI info - done 16:44:59 -- Detecting C compile features 16:44:59 -- Detecting C compile features - done 16:44:59 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:44:59 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:44:59 -- Found LIBYAML: /usr/lib/libyaml.so 16:44:59 -- Found LIBUUID: /usr/lib/libuuid.so 16:44:59 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:44:59 -- C SDK 0.0.0 for Linux 16:44:59 -- Performing Test CSDK_HAVE_ATOMIC 16:44:59 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:44:59 -- Found Curses: /usr/lib/libcurses.so 16:44:59 -- Configuring done 16:44:59 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:44:59 -- Generating done 16:44:59 -- Build files have been written to: /tmp/sdk/build/debug 16:44:59 + make 16:44:59 + tee debug.log 16:44:59 Scanning dependencies of target csdk 16:44:59 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:44:59 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:44:59 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:44:59 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:45:00 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:45:00 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:45:00 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:45:00 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:45:00 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:45:00 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:45:00 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:45:00 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:45:00 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:45:00 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:45:00 [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:45:00 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:45:00 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:45:01 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:45:01 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:45:01 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:45:01 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:45:01 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:45:01 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:45:01 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:45:01 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:45:01 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:45:01 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:45:02 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:45:02 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:45:02 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:45:02 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:45:02 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:45:02 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:45:02 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:45:02 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:45:02 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:45:02 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:45:02 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:45:03 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:45:03 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:45:03 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:45:03 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:45:03 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:45:03 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:45:03 [ 73%] Linking C shared library libcsdk.so 16:45:03 [ 73%] Built target csdk 16:45:03 Scanning dependencies of target template 16:45:03 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:45:04 [ 76%] Linking C executable template 16:45:04 [ 76%] Built target template 16:45:04 Scanning dependencies of target device-counter 16:45:04 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:45:04 [ 80%] Linking C executable device-counter 16:45:04 [ 80%] Built target device-counter 16:45:04 Scanning dependencies of target device-random 16:45:04 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:45:04 [ 83%] Linking C executable device-random 16:45:04 [ 83%] Built target device-random 16:45:04 Scanning dependencies of target device-gyro 16:45:04 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:45:04 [ 86%] Linking C executable device-gyro 16:45:04 [ 86%] Built target device-gyro 16:45:04 Scanning dependencies of target device-bitfields 16:45:04 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:45:04 [ 90%] Linking C executable device-bitfields 16:45:04 [ 90%] Built target device-bitfields 16:45:04 Scanning dependencies of target template-discovery 16:45:04 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:45:04 [ 93%] Linking C executable template-discovery 16:45:04 [ 93%] Built target template-discovery 16:45:04 Scanning dependencies of target device-file 16:45:04 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:45:04 [ 96%] Linking C executable device-file 16:45:04 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:45:04 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:45:05 [ 96%] Built target device-file 16:45:05 Scanning dependencies of target device-terminal 16:45:05 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:45:05 [100%] Linking C executable device-terminal 16:45:05 [100%] Built target device-terminal 16:45:05 make: Entering directory '/tmp/sdk/build/release' 16:45:05 make[1]: Entering directory '/tmp/sdk/build/release' 16:45:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:05 [ 73%] Built target csdk 16:45:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:05 [ 76%] Built target template 16:45:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:05 [ 80%] Built target device-counter 16:45:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:05 [ 83%] Built target device-random 16:45:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:05 [ 86%] Built target device-gyro 16:45:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:05 [ 90%] Built target device-bitfields 16:45:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:05 [ 93%] Built target template-discovery 16:45:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:05 [ 96%] Built target device-file 16:45:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:05 [100%] Built target device-terminal 16:45:05 make[1]: Leaving directory '/tmp/sdk/build/release' 16:45:05 Install the project... 16:45:05 -- Install configuration: "Release" 16:45:05 -- Installing: /usr/local/lib/libcsdk.so 16:45:05 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:45:05 -- Up-to-date: /usr/local/include 16:45:05 -- Installing: /usr/local/include/devsdk 16:45:05 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:45:05 -- Installing: /usr/local/include/devsdk/devsdk.h 16:45:05 -- Installing: /usr/local/include/edgex 16:45:05 -- Installing: /usr/local/include/edgex/devices.h 16:45:05 -- Installing: /usr/local/include/edgex/edgex-base.h 16:45:05 -- Installing: /usr/local/include/edgex/edgex.h 16:45:05 -- Installing: /usr/local/include/edgex/profiles.h 16:45:05 -- Installing: /usr/local/include/edgex/rest-server.h 16:45:05 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:45:05 -- Installing: /usr/local/include/iot 16:45:05 -- Installing: /usr/local/include/iot/base64.h 16:45:05 -- Installing: /usr/local/include/iot/component.h 16:45:05 -- Installing: /usr/local/include/iot/config.h 16:45:05 -- Installing: /usr/local/include/iot/container.h 16:45:05 -- Installing: /usr/local/include/iot/data.h 16:45:05 -- Installing: /usr/local/include/iot/hash.h 16:45:05 -- Installing: /usr/local/include/iot/iot.h 16:45:05 -- Installing: /usr/local/include/iot/json.h 16:45:05 -- Installing: /usr/local/include/iot/logger.h 16:45:05 -- Installing: /usr/local/include/iot/os.h 16:45:05 -- Installing: /usr/local/include/iot/scheduler.h 16:45:05 -- Installing: /usr/local/include/iot/thread.h 16:45:05 -- Installing: /usr/local/include/iot/threadpool.h 16:45:05 -- Installing: /usr/local/include/iot/time.h 16:45:05 -- Installing: /usr/local/include/iot/typecode.h 16:45:05 -- Installing: /usr/local/include/iot/os 16:45:05 -- Installing: /usr/local/include/iot/os/linux.h 16:45:05 -- Installing: /usr/local/include/iot/os/macos.h 16:45:05 -- Installing: /usr/local/include/iot/os/zephyr.h 16:45:05 -- Installing: /usr/local/include/iot/defs.h 16:45:05 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:45:05 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:45:05 make: Leaving directory '/tmp/sdk/build/release' 16:45:05 [ 73%] Linking C shared library libcsdk.so 16:45:05 [ 73%] Built target csdk 16:45:05 Scanning dependencies of target template 16:45:05 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:45:06 [ 76%] Linking C executable template 16:45:06 [ 76%] Built target template 16:45:06 Scanning dependencies of target device-counter 16:45:06 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:45:07 [ 80%] Linking C executable device-counter 16:45:07 [ 80%] Built target device-counter 16:45:07 Scanning dependencies of target device-random 16:45:07 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:45:07 Removing intermediate container ee39856fb7ee 16:45:07 ---> f8d1299a1191 16:45:07 Step 14/21 : FROM ${BASE} 16:45:07 ---> 5eabd8fd8ba2 16:45:07 Step 15/21 : LABEL maintainer="IOTech " 16:45:07 ---> Running in 6bd759aff73c 16:45:07 Removing intermediate container 6bd759aff73c 16:45:07 ---> 3a7fca532501 16:45:07 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 16:45:07 [ 83%] Linking C executable device-random 16:45:07 ---> Running in e625db789b62 16:45:08 [ 83%] Built target device-random 16:45:08 Scanning dependencies of target device-gyro 16:45:08 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:45:08 [ 86%] Linking C executable device-gyro 16:45:08 [ 86%] Built target device-gyro 16:45:08 Scanning dependencies of target device-bitfields 16:45:08 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:45:08 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:45:09 [ 90%] Linking C executable device-bitfields 16:45:09 [ 90%] Built target device-bitfields 16:45:09 Scanning dependencies of target template-discovery 16:45:09 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:45:09 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:45:09 (1/3) Installing curl (7.64.0-r5) 16:45:09 (2/3) Installing libuuid (2.33-r0) 16:45:09 [ 93%] Linking C executable template-discovery 16:45:09 (3/3) Installing wget (1.20.3-r0) 16:45:09 Executing busybox-1.29.3-r10.trigger 16:45:09 OK: 268 MiB in 78 packages 16:45:10 [ 93%] Built target template-discovery 16:45:10 Scanning dependencies of target device-file 16:45:10 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:45:10 Removing intermediate container e625db789b62 16:45:10 ---> c8012dc8a976 16:45:10 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:45:10 ---> 58773527b84d 16:45:10 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:45:10 [ 96%] Linking C executable device-file 16:45:11 ---> dea8222f989c 16:45:11 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 16:45:11 [ 96%] Built target device-file 16:45:11 Scanning dependencies of target device-terminal 16:45:11 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:45:11 ---> 5e4e50f08f03 16:45:11 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:45:11 ---> 0b89c347632c 16:45:11 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:45:11 [100%] Linking C executable device-terminal 16:45:11 ---> 385ebc3f84cf 16:45:11 Successfully built 385ebc3f84cf 16:45:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script 16:45:11 [100%] Built target device-terminal 16:45:11 Run CPack packaging tool... 16:45:11 CPack: Create package using TGZ 16:45:11 CPack: Install projects 16:45:11 CPack: - Run preinstall target for: Csdk [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:45:12 + docker inspect -f . ci-base-image-x86_64 16:45:12 . [Pipeline] withDockerContainer 16:45:12 CPack: - Install project: Csdk 16:45:12 CPack: Create package 16:45:12 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:45:12 + '[' false '=' true ] 16:45:12 + '[' false '=' true ] 16:45:12 + mkdir -p /tmp/sdk/build/debug 16:45:12 + cd /tmp/sdk/build/debug 16:45:12 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:45:12 prd-centos7-docker-4c-2g-29655 does not seem to be running inside a container 16:45:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:45:12 -- The C compiler identification is GNU 8.3.0 16:45:12 -- Check for working C compiler: /usr/bin/cc 16:45:13 -- Check for working C compiler: /usr/bin/cc -- works 16:45:13 -- Detecting C compiler ABI info 16:45:13 $ docker top 5154610f492743ef4c17958cd322f5fb89103657a2a215d439b35e8095cda398 -eo pid,comm 16:45:13 -- Detecting C compiler ABI info - done 16:45:13 -- Detecting C compile features [Pipeline] { [Pipeline] sh 16:45:13 + make test 16:45:13 echo "make test" 16:45:13 make test [Pipeline] } 16:45:13 $ docker stop --time=1 5154610f492743ef4c17958cd322f5fb89103657a2a215d439b35e8095cda398 16:45:14 -- Detecting C compile features - done 16:45:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:45:14 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:45:14 -- Found LIBYAML: /usr/lib/libyaml.so 16:45:14 -- Found LIBUUID: /usr/lib/libuuid.so 16:45:14 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:45:14 -- C SDK 0.0.0 for Linux 16:45:14 -- Performing Test CSDK_HAVE_ATOMIC 16:45:14 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:45:14 -- Found Curses: /usr/lib/libcurses.so 16:45:14 -- Configuring done 16:45:14 -- Generating done 16:45:14 -- Build files have been written to: /tmp/sdk/build/debug 16:45:14 + + teemake 16:45:14 debug.log 16:45:14 Scanning dependencies of target csdk 16:45:15 $ docker rm -f 5154610f492743ef4c17958cd322f5fb89103657a2a215d439b35e8095cda398 16:45:15 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 16:45:15 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 16:45:15 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:45:16 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:45:16 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:45:16 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:45:17 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:45:17 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:45:17 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [Pipeline] sh 16:45:18 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:45:18 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:45:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:45:18 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:45:18 + ls -al . 16:45:18 total 160 16:45:18 drwxrwxr-x. 8 jenkins jenkins 260 Mar 12 16:44 . 16:45:18 drwxrwxr-x. 4 jenkins jenkins 28 Mar 12 16:44 .. 16:45:18 -rw-rw-r--. 1 jenkins jenkins 3104 Mar 12 16:44 Attribution.txt 16:45:18 -rw-rw-r--. 1 jenkins jenkins 6927 Mar 12 16:44 CHANGES 16:45:18 drwxrwxr-x. 2 jenkins jenkins 121 Mar 12 16:44 docs 16:45:18 -rw-rw-r--. 1 jenkins jenkins 108574 Mar 12 16:44 Doxyfile 16:45:18 drwxrwxr-x. 8 jenkins jenkins 179 Mar 12 16:44 .git 16:45:18 drwxrwxr-x. 2 jenkins jenkins 81 Mar 12 16:44 .github 16:45:18 -rw-rw-r--. 1 jenkins jenkins 176 Mar 12 16:44 .gitignore 16:45:18 drwxrwxr-x. 4 jenkins jenkins 33 Mar 12 16:44 include 16:45:18 -rw-rw-r--. 1 jenkins jenkins 784 Mar 12 16:44 Jenkinsfile 16:45:18 -rw-rw-r--. 1 jenkins jenkins 10174 Mar 12 16:44 LICENSE 16:45:18 -rw-rw-r--. 1 jenkins jenkins 444 Mar 12 16:44 Makefile 16:45:18 -rw-rw-r--. 1 jenkins jenkins 2694 Mar 12 16:44 README.md 16:45:18 -rw-rw-r--. 1 jenkins jenkins 6654 Mar 12 16:44 README.v2.md 16:45:18 drwxrwxr-x. 2 jenkins jenkins 98 Mar 12 16:44 scripts 16:45:18 drwxrwxr-x. 4 jenkins jenkins 50 Mar 12 16:44 src 16:45:18 -rw-rw-r--. 1 jenkins jenkins 5 Mar 12 16:41 VERSION [Pipeline] isUnix [Pipeline] sh 16:45:18 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:45:19 + 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=faf7e9b42be0248c17063f68c1f9b8916e20c11f --label arch=amd64 --label version=0.0.0 . 16:45:19 Sending build context to Docker daemon 2.516MB 16:45:19 Step 1/15 : ARG BASE=alpine:3.12 16:45:19 Step 2/15 : FROM ${BASE} 16:45:19 ---> 385ebc3f84cf 16:45:19 Step 3/15 : LABEL maintainer="IOTech " 16:45:19 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:45:19 ---> Running in 40b13771baed 16:45:19 [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:45:19 Removing intermediate container 40b13771baed 16:45:19 ---> 2e93973f0ecc 16:45:19 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 16:45:19 ---> Running in 8c8f0de96211 16:45:19 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:45:19 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:45:20 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:45:20 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:45:20 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:45:20 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:45:21 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:45:21 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 16:45:21 (2/6) Installing libblkid (2.33-r0) 16:45:21 (3/6) Installing libfdisk (2.33-r0) 16:45:21 (4/6) Installing libmount (2.33-r0) 16:45:21 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:45:21 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:45:21 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:45:21 (5/6) Installing libsmartcols (2.33-r0) 16:45:21 (6/6) Installing util-linux-dev (2.33-r0) 16:45:22 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:45:22 Executing busybox-1.29.3-r10.trigger 16:45:22 OK: 272 MiB in 84 packages 16:45:22 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:45:22 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:45:22 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:45:22 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:45:23 Removing intermediate container 8c8f0de96211 16:45:23 ---> c9e1a127892e 16:45:23 Step 5/15 : COPY VERSION /edgex-c-sdk/ 16:45:23 ---> 2982410add2d 16:45:23 Step 6/15 : COPY src /edgex-c-sdk/src/ 16:45:23 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:45:23 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:45:23 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:45:23 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:45:23 ---> d2330f0efc24 16:45:23 Step 7/15 : COPY include /edgex-c-sdk/include/ 16:45:23 ---> 2eeefe9b5d2f 16:45:23 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 16:45:24 ---> 3ffd695df7aa 16:45:24 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 16:45:24 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:45:24 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:45:24 ---> 98cb2d9b94a8 16:45:24 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 16:45:24 ---> 9ac6b40da149 16:45:24 Step 11/15 : WORKDIR /edgex-c-sdk 16:45:24 ---> Running in d87a0924e727 16:45:25 Removing intermediate container d87a0924e727 16:45:25 ---> 81d5ab721d2c 16:45:25 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:45:25 ---> Running in 836aaf67dfc5 16:45:25 Removing intermediate container 836aaf67dfc5 16:45:25 ---> 57f25626591a 16:45:25 Step 13/15 : LABEL arch=amd64 16:45:25 ---> Running in f89ca0931ccf 16:45:25 Removing intermediate container f89ca0931ccf 16:45:25 ---> 507f3a14f56b 16:45:25 Step 14/15 : LABEL git_sha=faf7e9b42be0248c17063f68c1f9b8916e20c11f 16:45:25 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:45:25 ---> Running in 974f7632fc17 16:45:25 Removing intermediate container 974f7632fc17 16:45:25 ---> 0eaf7bd6d44e 16:45:25 Step 15/15 : LABEL version=0.0.0 16:45:25 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:45:25 ---> Running in fcdb9e34f2d9 16:45:25 Removing intermediate container fcdb9e34f2d9 16:45:25 ---> 88ab77ca4ae3 16:45:25 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:45:25 Successfully built 88ab77ca4ae3 16:45:25 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } 16:45:26 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 16:45:26 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv 16:45:26 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:45:27 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:45:27 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:45:28 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:45:28 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:45:29 [ 73%] Linking C shared library libcsdk.so 16:45:29 [ 73%] Built target csdk 16:45:29 Scanning dependencies of target template 16:45:29 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:45:29 [ 76%] Linking C executable template 16:45:29 [ 76%] Built target template 16:45:29 Scanning dependencies of target device-counter 16:45:29 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:45:30 [ 80%] Linking C executable device-counter 16:45:30 [ 80%] Built target device-counter 16:45:30 Scanning dependencies of target device-random 16:45:30 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:45:30 [ 83%] Linking C executable device-random 16:45:30 [ 83%] Built target device-random 16:45:30 Scanning dependencies of target device-gyro 16:45:30 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:45:31 [ 86%] Linking C executable device-gyro 16:45:31 [ 86%] Built target device-gyro 16:45:31 Scanning dependencies of target device-bitfields 16:45:31 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:45:31 [ 90%] Linking C executable device-bitfields 16:45:31 [ 90%] Built target device-bitfields 16:45:31 Scanning dependencies of target template-discovery 16:45:31 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:45:32 [ 93%] Linking C executable template-discovery 16:45:32 [ 93%] Built target template-discovery 16:45:32 Scanning dependencies of target device-file 16:45:32 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:45:32 [ 96%] Linking C executable device-file 16:45:32 [ 96%] Built target device-file 16:45:32 Scanning dependencies of target device-terminal 16:45:32 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:45:33 [100%] Linking C executable device-terminal 16:45:33 [100%] Built target device-terminal 16:45:33 make: Entering directory '/tmp/sdk/build/release' 16:45:33 make[1]: Entering directory '/tmp/sdk/build/release' 16:45:33 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:33 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:33 [ 73%] Built target csdk 16:45:33 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:33 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:33 [ 76%] Built target template 16:45:33 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:33 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:33 [ 80%] Built target device-counter 16:45:33 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:33 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:33 [ 83%] Built target device-random 16:45:33 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:33 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:33 [ 86%] Built target device-gyro 16:45:33 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:33 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:33 [ 90%] Built target device-bitfields 16:45:33 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:33 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:33 [ 93%] Built target template-discovery 16:45:33 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:33 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:33 [ 96%] Built target device-file 16:45:33 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:33 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:33 [100%] Built target device-terminal 16:45:33 make[1]: Leaving directory '/tmp/sdk/build/release' 16:45:33 Install the project... 16:45:33 -- Install configuration: "Release" 16:45:33 -- Installing: /usr/local/lib/libcsdk.so 16:45:33 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:45:33 -- Up-to-date: /usr/local/include 16:45:33 -- Installing: /usr/local/include/edgex 16:45:33 -- Installing: /usr/local/include/edgex/rest-server.h 16:45:33 -- Installing: /usr/local/include/edgex/edgex-base.h 16:45:33 -- Installing: /usr/local/include/edgex/edgex.h 16:45:33 -- Installing: /usr/local/include/edgex/devices.h 16:45:33 -- Installing: /usr/local/include/edgex/profiles.h 16:45:33 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:45:33 -- Installing: /usr/local/include/devsdk 16:45:33 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:45:33 -- Installing: /usr/local/include/devsdk/devsdk.h 16:45:33 -- Installing: /usr/local/include/iot 16:45:33 -- Installing: /usr/local/include/iot/json.h 16:45:33 -- Installing: /usr/local/include/iot/container.h 16:45:33 -- Installing: /usr/local/include/iot/component.h 16:45:33 -- Installing: /usr/local/include/iot/typecode.h 16:45:33 -- Installing: /usr/local/include/iot/iot.h 16:45:33 -- Installing: /usr/local/include/iot/time.h 16:45:33 -- Installing: /usr/local/include/iot/hash.h 16:45:33 -- Installing: /usr/local/include/iot/logger.h 16:45:33 -- Installing: /usr/local/include/iot/os 16:45:33 -- Installing: /usr/local/include/iot/os/zephyr.h 16:45:33 -- Installing: /usr/local/include/iot/os/linux.h 16:45:33 -- Installing: /usr/local/include/iot/os/macos.h 16:45:33 -- Installing: /usr/local/include/iot/scheduler.h 16:45:33 -- Installing: /usr/local/include/iot/data.h 16:45:33 -- Installing: /usr/local/include/iot/thread.h 16:45:33 -- Installing: /usr/local/include/iot/os.h 16:45:33 -- Installing: /usr/local/include/iot/base64.h 16:45:33 -- Installing: /usr/local/include/iot/defs.h 16:45:33 -- Installing: /usr/local/include/iot/threadpool.h 16:45:33 -- Installing: /usr/local/include/iot/config.h 16:45:33 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:45:33 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:45:33 make: Leaving directory '/tmp/sdk/build/release' 16:45:36 Removing intermediate container eed74693a8fe 16:45:36 ---> 8cc0c85c3e8f 16:45:36 Step 14/21 : FROM ${BASE} 16:45:36 ---> b23d30803547 16:45:36 Step 15/21 : LABEL maintainer="IOTech " 16:45:36 ---> Running in c14abbc424fa 16:45:36 Removing intermediate container c14abbc424fa 16:45:36 ---> 94b3335051c0 16:45:36 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 16:45:36 ---> Running in c972b240073a 16:45:38 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:45:38 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:45:39 (1/3) Installing curl (7.64.0-r5) 16:45:39 (2/3) Installing libuuid (2.33-r0) 16:45:39 (3/3) Installing wget (1.20.3-r0) 16:45:39 Executing busybox-1.29.3-r10.trigger 16:45:39 OK: 281 MiB in 78 packages 16:45:40 Removing intermediate container c972b240073a 16:45:40 ---> 779b1fe8c1aa 16:45:40 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:45:41 ---> 4b16fa90444b 16:45:41 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:45:42 ---> 381d51e1f093 16:45:42 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 16:45:42 ---> 52523fc34807 16:45:42 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:45:43 ---> 75cfdf99e8c4 16:45:43 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:45:44 ---> f64a6e7e0130 16:45:44 Successfully built f64a6e7e0130 16:45:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:45:45 + docker inspect -f . ci-base-image-arm64 16:45:45 . [Pipeline] withDockerContainer 16:45:45 prd-ubuntu18.04-docker-arm64-4c-16g-29654 does not seem to be running inside a container 16:45:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:45:47 $ docker top ad15ced5e211d5fe4daa392b4f052cd8eb585d22f57066593fd6644d476f0152 -eo pid,comm [Pipeline] { [Pipeline] sh 16:45:48 + make test 16:45:48 echo "make test" 16:45:48 make test [Pipeline] } 16:45:48 $ docker stop --time=1 ad15ced5e211d5fe4daa392b4f052cd8eb585d22f57066593fd6644d476f0152 16:45:50 $ docker rm -f ad15ced5e211d5fe4daa392b4f052cd8eb585d22f57066593fd6644d476f0152 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:45:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:45:51 + ls -al . 16:45:51 total 192 16:45:51 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 16:43 . 16:45:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 16:43 .. 16:45:51 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 16:43 .git 16:45:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 16:43 .github 16:45:51 -rw-rw-r-- 1 jenkins jenkins 176 Mar 12 16:43 .gitignore 16:45:51 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 12 16:43 Attribution.txt 16:45:51 -rw-rw-r-- 1 jenkins jenkins 6927 Mar 12 16:43 CHANGES 16:45:51 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 12 16:43 Doxyfile 16:45:51 -rw-rw-r-- 1 jenkins jenkins 784 Mar 12 16:43 Jenkinsfile 16:45:51 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 12 16:43 LICENSE 16:45:51 -rw-rw-r-- 1 jenkins jenkins 444 Mar 12 16:43 Makefile 16:45:51 -rw-rw-r-- 1 jenkins jenkins 2694 Mar 12 16:43 README.md 16:45:51 -rw-rw-r-- 1 jenkins jenkins 6654 Mar 12 16:43 README.v2.md 16:45:51 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 16:41 VERSION 16:45:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 16:43 docs 16:45:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 16:43 include 16:45:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 16:43 scripts 16:45:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 16:43 src [Pipeline] isUnix [Pipeline] sh 16:45:52 + 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=faf7e9b42be0248c17063f68c1f9b8916e20c11f --label arch=arm64 --label version=0.0.0 . 16:45:52 Sending build context to Docker daemon 2.515MB 16:45:52 Step 1/15 : ARG BASE=alpine:3.12 16:45:52 Step 2/15 : FROM ${BASE} 16:45:52 ---> f64a6e7e0130 16:45:52 Step 3/15 : LABEL maintainer="IOTech " 16:45:53 ---> Running in b44d0e91ed60 16:45:53 Removing intermediate container b44d0e91ed60 16:45:53 ---> 5bb85b38957c 16:45:53 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 16:45:53 ---> Running in 69953090bd86 16:45:54 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:45:55 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:45:55 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 16:45:55 (2/6) Installing libblkid (2.33-r0) 16:45:56 (3/6) Installing libfdisk (2.33-r0) 16:45:56 (4/6) Installing libmount (2.33-r0) 16:45:56 (5/6) Installing libsmartcols (2.33-r0) 16:45:56 (6/6) Installing util-linux-dev (2.33-r0) 16:45:56 Executing busybox-1.29.3-r10.trigger 16:45:56 OK: 286 MiB in 84 packages 16:45:58 Removing intermediate container 69953090bd86 16:45:58 ---> 19c42b2a97a8 16:45:58 Step 5/15 : COPY VERSION /edgex-c-sdk/ 16:45:58 ---> 2de6d23319b8 16:45:58 Step 6/15 : COPY src /edgex-c-sdk/src/ 16:45:59 ---> 2e8590322b4b 16:45:59 Step 7/15 : COPY include /edgex-c-sdk/include/ 16:46:00 ---> 3ed3bf484c24 16:46:00 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 16:46:00 ---> f7dcdb3cd5cf 16:46:00 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 16:46:01 ---> 66ba91120a8a 16:46:01 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 16:46:02 ---> d81be0e50364 16:46:02 Step 11/15 : WORKDIR /edgex-c-sdk 16:46:02 ---> Running in f343d6743b14 16:46:03 Removing intermediate container f343d6743b14 16:46:03 ---> c81433ea24ac 16:46:03 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:46:03 ---> Running in b3868ffd0cd7 16:46:03 Removing intermediate container b3868ffd0cd7 16:46:03 ---> 02f3237c026e 16:46:03 Step 13/15 : LABEL arch=arm64 16:46:03 ---> Running in 7011a9379428 16:46:04 Removing intermediate container 7011a9379428 16:46:04 ---> c0d462802852 16:46:04 Step 14/15 : LABEL git_sha=faf7e9b42be0248c17063f68c1f9b8916e20c11f 16:46:04 ---> Running in dd8be1a08b7b 16:46:05 Removing intermediate container dd8be1a08b7b 16:46:05 ---> 69d4ac0ba628 16:46:05 Step 15/15 : LABEL version=0.0.0 16:46:05 ---> Running in 70194606ed7d 16:46:05 Removing intermediate container 70194606ed7d 16:46:05 ---> 05cc31523d50 16:46:05 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:46:05 Successfully built 05cc31523d50 16:46:05 Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 16:46:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:46:08 ---> package-listing.sh 16:46:08 ++ facter osfamily 16:46:08 ++ tr '[:upper:]' '[:lower:]' 16:46:08 + OS_FAMILY=redhat 16:46:08 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-331 16:46:08 + START_PACKAGES=/tmp/packages_start.txt 16:46:08 + END_PACKAGES=/tmp/packages_end.txt 16:46:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:46:08 + PACKAGES=/tmp/packages_start.txt 16:46:08 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-331 ']' 16:46:08 + PACKAGES=/tmp/packages_end.txt 16:46:08 + case "${OS_FAMILY}" in 16:46:08 + sort 16:46:08 + rpm -qa 16:46:13 + '[' -f /tmp/packages_start.txt ']' 16:46:13 + '[' -f /tmp/packages_end.txt ']' 16:46:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:46:13 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-331 ']' 16:46:13 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-331/archives/ 16:46:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-331/archives/ [Pipeline] echo 16:46:13 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-331/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:46:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:46:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:46:14 16:46:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:46:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:46:14 alpine: Pulling from edgex-lftools-log-publisher 16:46:14 df20fa9351a1: Pulling fs layer 16:46:14 36b3adc4ff6f: Pulling fs layer 16:46:14 8ad3a11d3b57: Pulling fs layer 16:46:14 46f8f816bc3b: Pulling fs layer 16:46:14 93b61091891f: Pulling fs layer 16:46:14 93b9cdb0e59b: Pulling fs layer 16:46:14 5e14af77c1be: Pulling fs layer 16:46:14 01666e4c0597: Pulling fs layer 16:46:14 aa168da1d23b: Pulling fs layer 16:46:14 93b61091891f: Waiting 16:46:14 93b9cdb0e59b: Waiting 16:46:14 5e14af77c1be: Waiting 16:46:14 01666e4c0597: Waiting 16:46:14 aa168da1d23b: Waiting 16:46:14 46f8f816bc3b: Waiting 16:46:14 36b3adc4ff6f: Verifying Checksum 16:46:14 36b3adc4ff6f: Download complete 16:46:14 46f8f816bc3b: Verifying Checksum 16:46:14 46f8f816bc3b: Download complete 16:46:15 df20fa9351a1: Verifying Checksum 16:46:15 df20fa9351a1: Download complete 16:46:15 93b61091891f: Verifying Checksum 16:46:15 93b61091891f: Download complete 16:46:15 93b9cdb0e59b: Verifying Checksum 16:46:15 93b9cdb0e59b: Download complete 16:46:15 5e14af77c1be: Verifying Checksum 16:46:15 5e14af77c1be: Download complete 16:46:15 01666e4c0597: Verifying Checksum 16:46:15 01666e4c0597: Download complete 16:46:15 df20fa9351a1: Pull complete 16:46:15 8ad3a11d3b57: Verifying Checksum 16:46:15 8ad3a11d3b57: Download complete 16:46:15 36b3adc4ff6f: Pull complete 16:46:16 8ad3a11d3b57: Pull complete 16:46:16 46f8f816bc3b: Pull complete 16:46:16 93b61091891f: Pull complete 16:46:17 93b9cdb0e59b: Pull complete 16:46:17 aa168da1d23b: Verifying Checksum 16:46:17 aa168da1d23b: Download complete 16:46:17 5e14af77c1be: Pull complete 16:46:17 01666e4c0597: Pull complete 16:46:25 aa168da1d23b: Pull complete 16:46:25 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:46:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:46:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:46:25 prd-centos7-docker-4c-2g-29653 does not seem to be running inside a container 16:46:26 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-331/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-331 -v /w/workspace/edgexfoundry_device-sdk-c_PR-331:/w/workspace/edgexfoundry_device-sdk-c_PR-331:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:46:28 $ docker top 8d36fcff97d35c36050cab0ea4a51417861ad96feafc31f8462c62c2cdc69490 -eo pid,comm [Pipeline] { [Pipeline] sh 16:46:28 + touch /tmp/pre-build-complete [Pipeline] sh 16:46:29 + mkdir -p /var/log/sa [Pipeline] sh 16:46:29 + ls /var/log/sa-host 16:46:29 + sadf -c /var/log/sa-host/sa12 16:46:29 file_magic: OK 16:46:29 HZ: Using current value: 100 16:46:29 file_header: OK 16:46:29 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 16:46:29 Statistics: 16:46:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:46:29 File successfully converted to sysstat format version 12.2.1 16:46:29 + sadf -c /var/log/sa-host/sa23 16:46:29 file_magic: OK 16:46:29 HZ: Using current value: 100 16:46:29 file_header: OK 16:46:29 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 16:46:29 Statistics: 16:46:29 Hnuu...uuuununununu... 16:46:29 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:46:29 provisioning config files... 16:46:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/config7190662586874131053tmp [Pipeline] { [Pipeline] echo 16:46:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:46:30 ---> create-netrc.sh [Pipeline] } 16:46:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:46:30 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:46:30 ---> python-tools-install.sh [Pipeline] echo 16:46:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:46:31 ---> sudo-logs.sh 16:46:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:46:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:46:31 ---> job-cost.sh 16:46:31 lf-activate-venv: SKIPPING 16:46:31 INFO: No Stack... 16:46:32 INFO: Retrieving Pricing Info for: v1-standard-2 16:46:32 INFO: Archiving Costs [Pipeline] echo 16:46:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:46:33 ---> logs-deploy.sh 16:46:33 lf-activate-venv: SKIPPING 16:46:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-331/3 16:46:33 INFO: archiving workspace using pattern(s): 16:46:35 Archives upload complete. 16:46:35 INFO: archiving logs to Nexus 16:46:36 ---> uname -a: 16:46:36 Linux prd-centos7-docker-4c-2g-29653.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 16:46:36 16:46:36 16:46:36 ---> lscpu: 16:46:36 Architecture: x86_64 16:46:36 CPU op-mode(s): 32-bit, 64-bit 16:46:36 Byte Order: Little Endian 16:46:36 Address sizes: 40 bits physical, 48 bits virtual 16:46:36 CPU(s): 4 16:46:36 On-line CPU(s) list: 0-3 16:46:36 Thread(s) per core: 1 16:46:36 Core(s) per socket: 1 16:46:36 Socket(s): 4 16:46:36 NUMA node(s): 1 16:46:36 Vendor ID: GenuineIntel 16:46:36 CPU family: 6 16:46:36 Model: 44 16:46:36 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 16:46:36 Stepping: 1 16:46:36 CPU MHz: 2933.436 16:46:36 BogoMIPS: 5866.87 16:46:36 Virtualization: VT-x 16:46:36 Hypervisor vendor: KVM 16:46:36 Virtualization type: full 16:46:36 L1d cache: 128 KiB 16:46:36 L1i cache: 128 KiB 16:46:36 L2 cache: 16 MiB 16:46:36 L3 cache: 64 MiB 16:46:36 NUMA node0 CPU(s): 0-3 16:46:36 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 16:46:36 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 16:46:36 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 16:46:36 Vulnerability Meltdown: Mitigation; PTI 16:46:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:46:36 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:46:36 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:46:36 Vulnerability Srbds: Not affected 16:46:36 Vulnerability Tsx async abort: Not affected 16:46:36 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 16:46:36 16:46:36 16:46:36 ---> nproc: 16:46:36 4 16:46:36 16:46:36 16:46:36 ---> df -h: 16:46:36 Filesystem Size Used Available Use% Mounted on 16:46:36 overlay 50.0G 7.3G 42.7G 15% / 16:46:36 tmpfs 64.0M 0 64.0M 0% /dev 16:46:36 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 16:46:36 shm 64.0M 0 64.0M 0% /dev/shm 16:46:36 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 16:46:36 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 16:46:36 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 16:46:36 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 16:46:36 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 16:46:36 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 16:46:36 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 16:46:36 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 16:46:36 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-331 16:46:36 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp 16:46:36 16:46:36 16:46:36 ---> free -m: 16:46:36 total used free shared buff/cache available 16:46:36 Mem: 1837 689 111 0 1036 1043 16:46:36 Swap: 1023 1 1022 16:46:36 16:46:36 16:46:36 ---> ip addr: 16:46:36 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 16:46:36 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:46:36 inet 127.0.0.1/8 scope host lo 16:46:36 valid_lft forever preferred_lft forever 16:46:36 inet6 ::1/128 scope host 16:46:36 valid_lft forever preferred_lft forever 16:46:36 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 16:46:36 link/ether fa:16:3e:aa:91:96 brd ff:ff:ff:ff:ff:ff 16:46:36 inet 10.30.123.52/23 brd 10.30.123.255 scope global dynamic eth0 16:46:36 valid_lft 86011sec preferred_lft 86011sec 16:46:36 inet6 fe80::f816:3eff:feaa:9196/64 scope link 16:46:36 valid_lft forever preferred_lft forever 16:46:36 3: docker0: mtu 1500 qdisc noqueue state DOWN 16:46:36 link/ether 02:42:86:12:db:10 brd ff:ff:ff:ff:ff:ff 16:46:36 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 16:46:36 valid_lft forever preferred_lft forever 16:46:36 inet6 fe80::42:86ff:fe12:db10/64 scope link 16:46:36 valid_lft forever preferred_lft forever 16:46:36 16:46:36 16:46:36 ---> sar -b -r -n DEV: 16:46:36 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/12/21 _x86_64_ (4 CPU) 16:46:36 16:46:36 16:39:54 LINUX RESTART (4 CPU) 16:46:36 16:46:36 16:41:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:46:36 16:42:01 7.89 1.85 6.04 0.00 105.46 236.45 0.00 16:46:36 16:43:01 0.48 0.00 0.48 0.00 0.00 8.11 0.00 16:46:36 16:44:01 0.25 0.00 0.25 0.00 0.00 2.98 0.00 16:46:36 16:45:02 0.18 0.00 0.18 0.00 0.00 1.88 0.00 16:46:36 16:46:01 0.29 0.00 0.29 0.00 0.00 4.42 0.00 16:46:36 Average: 1.82 0.37 1.45 0.00 21.17 50.95 0.00 16:46:36 16:46:36 16:41:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:46:36 16:42:01 157628 0 590224 31.37 2620 1131072 1110256 37.89 408024 1117108 24 16:46:36 16:43:01 163876 0 583968 31.04 2620 1131080 1072744 36.61 405512 1113784 16 16:46:36 16:44:01 161888 0 585952 31.14 2620 1131084 1072756 36.61 419564 1101912 8 16:46:36 16:45:02 162224 0 585616 31.12 2620 1131084 1072792 36.61 419572 1101912 12 16:46:36 16:46:01 161928 0 585904 31.14 2620 1131092 1072648 36.61 424088 1097824 8 16:46:36 Average: 161509 0 586333 31.16 2620 1131082 1080239 36.87 415352 1106508 14 16:46:36 16:46:36 16:41:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:46:36 16:42:01 eth0 24.63 23.24 36.69 18.64 0.00 0.00 0.00 0.00 16:46:36 16:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:36 16:42:01 docker0 9.32 6.24 1.10 22.43 0.00 0.00 0.00 0.00 16:46:36 16:43:01 eth0 1.00 0.37 0.32 0.17 0.00 0.00 0.00 0.00 16:46:36 16:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:36 16:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:36 16:44:01 eth0 3.36 1.33 2.41 0.30 0.00 0.00 0.00 0.00 16:46:36 16:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:36 16:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:36 16:45:02 eth0 0.50 0.35 0.27 0.20 0.00 0.00 0.00 0.00 16:46:36 16:45:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:36 16:45:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:36 16:46:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 16:46:36 16:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:36 16:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:36 Average: eth0 5.96 5.11 7.98 3.89 0.00 0.00 0.00 0.00 16:46:36 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:36 Average: docker0 1.87 1.25 0.22 4.50 0.00 0.00 0.00 0.00 16:46:36 16:46:36 16:46:36 ---> sar -P ALL: 16:46:36 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/12/21 _x86_64_ (4 CPU) 16:46:36 16:46:36 16:39:54 LINUX RESTART (4 CPU) 16:46:36 16:46:36 16:41:01 CPU %user %nice %system %iowait %steal %idle 16:46:36 16:42:01 all 0.93 0.00 0.49 0.04 0.01 98.54 16:46:36 16:42:01 0 0.68 0.00 0.52 0.05 0.02 98.73 16:46:36 16:42:01 1 0.75 0.00 0.38 0.02 0.02 98.83 16:46:36 16:42:01 2 1.55 0.00 0.60 0.02 0.00 97.83 16:46:36 16:42:01 3 0.72 0.00 0.45 0.07 0.00 98.76 16:46:36 16:43:01 all 0.15 0.00 0.05 0.00 0.01 99.79 16:46:36 16:43:01 0 0.03 0.00 0.05 0.00 0.00 99.92 16:46:36 16:43:01 1 0.08 0.00 0.08 0.00 0.00 99.83 16:46:36 16:43:01 2 0.45 0.00 0.03 0.00 0.02 99.50 16:46:36 16:43:01 3 0.05 0.00 0.02 0.00 0.02 99.92 16:46:36 16:44:01 all 0.15 0.00 0.10 0.00 0.02 99.73 16:46:36 16:44:01 0 0.05 0.00 0.08 0.00 0.02 99.85 16:46:36 16:44:01 1 0.07 0.00 0.10 0.00 0.03 99.80 16:46:36 16:44:01 2 0.12 0.00 0.13 0.00 0.02 99.73 16:46:36 16:44:01 3 0.38 0.00 0.08 0.00 0.00 99.53 16:46:36 16:45:02 all 0.18 0.00 0.03 0.00 0.00 99.79 16:46:36 16:45:02 0 0.02 0.00 0.02 0.00 0.00 99.97 16:46:36 16:45:02 1 0.07 0.00 0.05 0.00 0.00 99.88 16:46:36 16:45:02 2 0.05 0.00 0.05 0.00 0.00 99.90 16:46:36 16:45:02 3 0.57 0.00 0.02 0.00 0.00 99.42 16:46:36 16:46:01 all 0.15 0.00 0.06 0.00 0.00 99.79 16:46:36 16:46:01 0 0.02 0.00 0.05 0.00 0.00 99.93 16:46:36 16:46:01 1 0.03 0.00 0.08 0.00 0.00 99.88 16:46:36 16:46:01 2 0.05 0.00 0.08 0.00 0.00 99.86 16:46:36 16:46:01 3 0.49 0.00 0.02 0.00 0.02 99.47 16:46:36 Average: all 0.31 0.00 0.15 0.01 0.01 99.53 16:46:36 Average: 0 0.16 0.00 0.14 0.01 0.01 99.68 16:46:36 Average: 1 0.20 0.00 0.14 0.00 0.01 99.65 16:46:36 Average: 2 0.45 0.00 0.18 0.00 0.01 99.36 16:46:36 Average: 3 0.44 0.00 0.12 0.01 0.01 99.42 16:46:36 16:46:36 16:46:36