Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f+1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 (998ad8209e67abfe5c64ae7d183290b227e6a32b) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1059 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-336 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 into PR head commit 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f Merge succeeded, producing 3368c6102e343318f874eea1e60513bd5090189e Checking out Revision 3368c6102e343318f874eea1e60513bd5090189e (PR-336) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3368c6102e343318f874eea1e60513bd5090189e # timeout=10 Commit message: "Merge commit '1a58ea05ec7eb3db9f90d47fb79c2f2571766c40' into HEAD" > git rev-list --no-walk 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:55:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:55:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:55:37 ========================================================= 02:55:37 EdgeX Global Pipelines Version Info 02:55:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:55:39 ------------------- 02:55:39 stable info: 02:55:39 ------------------- 02:55:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:55:39 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 02:55:39 Message: update stable to v1.0.186 02:55:40 ------------------- 02:55:40 experimental info: 02:55:40 ------------------- 02:55:40 Commited By: **** collab-it+edgex@linuxfoundation.org 02:55:40 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 02:55:40 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-336 [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-336 [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-336 [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3368c6102e343318f874eea1e60513bd5090189e [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3368c61 [Pipeline] echo 02:55:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:55:40 provisioning config files... 02:55:40 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/config8499560084183604972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:55:41 ---> docker-login.sh 02:55:41 nexus3.edgexfoundry.org:10001 02:55:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:41 Configure a credential helper to remove this warning. See 02:55:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:41 02:55:41 Login Succeeded 02:55:41 nexus3.edgexfoundry.org:10002 02:55:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:41 Configure a credential helper to remove this warning. See 02:55:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:41 02:55:41 Login Succeeded 02:55:41 nexus3.edgexfoundry.org:10003 02:55:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:41 Configure a credential helper to remove this warning. See 02:55:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:41 02:55:41 Login Succeeded 02:55:41 nexus3.edgexfoundry.org:10004 02:55:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:42 Configure a credential helper to remove this warning. See 02:55:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:42 02:55:42 Login Succeeded 02:55:42 docker.io 02:55:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:42 Configure a credential helper to remove this warning. See 02:55:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:42 02:55:42 Login Succeeded 02:55:42 ---> docker-login.sh ends [Pipeline] } 02:55:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 02:55:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:55:43 02:55:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:55:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:55:44 latest: Pulling from edgex-devops/git-semver 02:55:44 31603596830f: Pulling fs layer 02:55:44 2a8b12db71e7: Pulling fs layer 02:55:44 6ca5941a6612: Pulling fs layer 02:55:44 ecc8261a40a4: Pulling fs layer 02:55:44 ecc8261a40a4: Waiting 02:55:44 2a8b12db71e7: Verifying Checksum 02:55:44 2a8b12db71e7: Download complete 02:55:44 31603596830f: Verifying Checksum 02:55:44 31603596830f: Download complete 02:55:44 6ca5941a6612: Verifying Checksum 02:55:44 6ca5941a6612: Download complete 02:55:44 ecc8261a40a4: Verifying Checksum 02:55:44 ecc8261a40a4: Download complete 02:55:44 31603596830f: Pull complete 02:55:44 2a8b12db71e7: Pull complete 02:55:45 6ca5941a6612: Pull complete 02:55:45 ecc8261a40a4: Pull complete 02:55:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:55:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:55:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:55:46 prd-centos7-docker-4c-2g-1059 does not seem to be running inside a container 02:55:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-336 -v /w/workspace/edgexfoundry_device-sdk-c_PR-336:/w/workspace/edgexfoundry_device-sdk-c_PR-336:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:55:48 $ docker top 5265bd64a6ff781eb02e68e24757f550856b4e761ed4588c9eb7227c960e57f9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:55:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:55:48 [ssh-agent] Looking for ssh-agent implementation... 02:55:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:55:48 $ docker exec 5265bd64a6ff781eb02e68e24757f550856b4e761ed4588c9eb7227c960e57f9 ssh-agent 02:55:48 SSH_AUTH_SOCK=/tmp/ssh-NlJGsxUk8BiE/agent.12 02:55:48 SSH_AGENT_PID=17 02:55:48 Running ssh-add (command line suppressed) 02:55:49 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_4135414449028416747.key (/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_4135414449028416747.key) 02:55:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:55:49 + git tag --points-at HEAD [Pipeline] } 02:55:49 $ docker exec --env ******** --env ******** 5265bd64a6ff781eb02e68e24757f550856b4e761ed4588c9eb7227c960e57f9 ssh-agent -k 02:55:49 unset SSH_AUTH_SOCK; 02:55:49 unset SSH_AGENT_PID; 02:55:49 echo Agent pid 17 killed; 02:55:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:55:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:55:49 [ssh-agent] Looking for ssh-agent implementation... 02:55:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:55:49 $ docker exec 5265bd64a6ff781eb02e68e24757f550856b4e761ed4588c9eb7227c960e57f9 ssh-agent 02:55:50 SSH_AUTH_SOCK=/tmp/ssh-Db0iTjjHArwF/agent.48 02:55:50 SSH_AGENT_PID=53 02:55:50 Running ssh-add (command line suppressed) 02:55:50 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_3443768518940466295.key (/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_3443768518940466295.key) 02:55:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:55:50 + git semver init 02:55:50 # -> Open(): unable to determine branch for HEAD 02:55:50 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-336/.git 02:55:50 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-336 02:55:50 # $SEMVER_REMOTE_NAME = origin 02:55:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:55:50 # $SEMVER_USER_NAME = edgex-jenkins 02:55:50 # $SEMVER_BRANCH = PR-336 02:55:50 # $SEMVER_TEMP = /tmp/semver-686995029 02:55:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 02:55:51 # '/tmp/semver-686995029' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-336/.semver' 02:55:51 # -> Force: false 02:55:51 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-336/.semver [Pipeline] } 02:55:51 $ docker exec --env ******** --env ******** 5265bd64a6ff781eb02e68e24757f550856b4e761ed4588c9eb7227c960e57f9 ssh-agent -k 02:55:51 unset SSH_AUTH_SOCK; 02:55:51 unset SSH_AGENT_PID; 02:55:51 echo Agent pid 53 killed; 02:55:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:55:51 + git semver [Pipeline] } 02:55:51 $ docker stop --time=1 5265bd64a6ff781eb02e68e24757f550856b4e761ed4588c9eb7227c960e57f9 02:55:53 $ docker rm -f 5265bd64a6ff781eb02e68e24757f550856b4e761ed4588c9eb7227c960e57f9 [Pipeline] // withDockerContainer [Pipeline] sh 02:55:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:55:53 Stashed 1 file(s) [Pipeline] echo 02:55:53 [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 02:56:08 Still waiting to schedule task 02:56:08 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1059’ 02:56:08 Still waiting to schedule task 02:56:08 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:58:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1060 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [Pipeline] ws 02:58:04 Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout 02:58:09 using credential edgex-jenkins-ssh 02:58:09 Cloning the remote Git repository 02:58:09 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 02:58:09 > git init /w/workspace/device-sdk-c/4 # timeout=10 02:58:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 02:58:09 > git --version # timeout=10 02:58:09 > git --version # 'git version 2.17.1' 02:58:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:58:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:58:11 Merging remotes/origin/master commit 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 into PR head commit 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f 02:58:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 02:58:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:58:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 02:58:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 02:58:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:58:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:58:11 > git config core.sparsecheckout # timeout=10 02:58:11 > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 02:58:11 > git remote # timeout=10 02:58:11 > git config --get remote.origin.url # timeout=10 02:58:11 using GIT_SSH to set credentials SSH Credentials for GitHub 02:58:11 > git merge 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 # timeout=10 02:58:11 Merge succeeded, producing 4f6c1f8649e74517d3ea15ebf2af0f5eac8ba7fb 02:58:11 Checking out Revision 4f6c1f8649e74517d3ea15ebf2af0f5eac8ba7fb (PR-336) 02:58:11 > git rev-parse HEAD^{commit} # timeout=10 02:58:11 > git config core.sparsecheckout # timeout=10 02:58:11 > git checkout -f 4f6c1f8649e74517d3ea15ebf2af0f5eac8ba7fb # timeout=10 02:58:16 Commit message: "Merge commit '1a58ea05ec7eb3db9f90d47fb79c2f2571766c40' into HEAD" 02:58:16 > git rev-list --no-walk 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:58:17 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:58:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:58:18 + sudo service docker restart 02:58:18 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:58:21 provisioning config files... 02:58:21 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config512503850632679327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:58:21 ---> docker-login.sh 02:58:21 nexus3.edgexfoundry.org:10001 02:58:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:22 Configure a credential helper to remove this warning. See 02:58:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:22 02:58:22 Login Succeeded 02:58:22 nexus3.edgexfoundry.org:10002 02:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:23 Configure a credential helper to remove this warning. See 02:58:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:23 02:58:23 Login Succeeded 02:58:23 nexus3.edgexfoundry.org:10003 02:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:23 Configure a credential helper to remove this warning. See 02:58:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:23 02:58:23 Login Succeeded 02:58:23 nexus3.edgexfoundry.org:10004 02:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:24 Configure a credential helper to remove this warning. See 02:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:24 02:58:24 Login Succeeded 02:58:24 docker.io 02:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:24 Configure a credential helper to remove this warning. See 02:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:24 02:58:24 Login Succeeded 02:58:24 ---> docker-login.sh ends [Pipeline] } 02:58:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:58:24 ========================================================= 02:58:24 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 02:58:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:58:25 + 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 . 02:58:25 Sending build context to Docker daemon 2.533MB 02:58:25 Step 1/21 : ARG BASE=alpine:3.12 02:58:25 Step 2/21 : FROM ${BASE} as builder 02:58:25 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 02:58:25 0362ad1dd800: Pulling fs layer 02:58:25 f2cdb1532d8b: Pulling fs layer 02:58:25 37ed683be191: Pulling fs layer 02:58:25 f2cdb1532d8b: Verifying Checksum 02:58:25 f2cdb1532d8b: Download complete 02:58:26 0362ad1dd800: Verifying Checksum 02:58:26 0362ad1dd800: Download complete 02:58:26 0362ad1dd800: Pull complete 02:58:27 f2cdb1532d8b: Pull complete 02:58:28 37ed683be191: Verifying Checksum 02:58:28 37ed683be191: Download complete 02:58:38 37ed683be191: Pull complete 02:58:38 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 02:58:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 02:58:38 ---> b23d30803547 02:58:38 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 02:58:38 ---> Running in 2dfd1990ae24 02:58:40 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 02:58:41 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 02:58:41 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 02:58:41 (2/8) Installing libuuid (2.33-r0) 02:58:41 (3/8) Installing libblkid (2.33-r0) 02:58:42 (4/8) Installing libfdisk (2.33-r0) 02:58:42 (5/8) Installing libmount (2.33-r0) 02:58:42 (6/8) Installing libsmartcols (2.33-r0) 02:58:42 (7/8) Installing util-linux-dev (2.33-r0) 02:58:42 (8/8) Installing wget (1.20.3-r0) 02:58:43 Executing busybox-1.29.3-r10.trigger 02:58:43 OK: 285 MiB in 83 packages 02:58:43 Running on prd-centos7-docker-4c-2g-1061 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [Pipeline] ws 02:58:43 Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout 02:58:44 Removing intermediate container 2dfd1990ae24 02:58:44 ---> 7d59b74939c8 02:58:44 Step 4/21 : ENV CBOR_VERSION=0.5.0 02:58:44 ---> Running in 7d1a68c7e92d 02:58:44 Removing intermediate container 7d1a68c7e92d 02:58:44 ---> 7bb0f25c9408 02:58:44 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 02:58:45 ---> Running in 4b0ffb54d5f3 02:58:45 using credential edgex-jenkins-ssh 02:58:45 Cloning the remote Git repository 02:58:46 --2021-04-20 02:58:46-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 02:58:46 Resolving github.com... 140.82.112.3 02:58:46 Connecting to github.com|140.82.112.3|:443... connected. 02:58:46 HTTP request sent, awaiting response... 302 Found 02:58:46 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 02:58:46 --2021-04-20 02:58:46-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 02:58:46 Resolving codeload.github.com... 140.82.114.9 02:58:46 Connecting to codeload.github.com|140.82.114.9|:443... connected. 02:58:46 HTTP request sent, awaiting response... 200 OK 02:58:46 Length: unspecified [application/x-gzip] 02:58:46 Saving to: 'STDOUT' 02:58:46  02:58:46 0K .......... .......... .......... .......... .......... 1.56M 02:58:46 50K .......... .......... .......... .......... .......... 2.91M 02:58:46 100K .......... .......... .......... .......... .......... 10.7M 02:58:46 150K .......... .......... .......... .......... .......... 5.10M 02:58:46 200K .......... .......... .......... .......... .......... 13.9M 02:58:46 250K .......... .......... .......... .......... .......... 2.73M 02:58:46 300K .......... .......... .......... .......... .......... 5.19M 02:58:46 350K .......... .......... .......... .......... .......... 5.61M 02:58:46 400K .......... .......... .......... .......... .......... 3.24M 02:58:46 450K .......... .......... .......... .......... .......... 3.50M 02:58:46 500K .......... .......... .......... .......... .......... 6.89M 02:58:46 550K .......... .......... .......... .......... .......... 2.83M 02:58:46 600K .......... .......... .......... .......... .......... 873K 02:58:46 650K .......... .......... .......... .......... .......... 2.06M 02:58:46 700K ..               995K=0.2s 02:58:46 02:58:46 2021-04-20 02:58:46 (2.88 MB/s) - written to stdout [719348] 02:58:46 02:58:45 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 02:58:45 > git init /w/workspace/device-sdk-c/4 # timeout=10 02:58:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 02:58:46 > git --version # timeout=10 02:58:46 > git --version # 'git version 2.24.3' 02:58:46 using GIT_SSH to set credentials SSH Credentials for GitHub 02:58:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:58:47 -- The C compiler identification is GNU 8.3.0 02:58:47 -- The CXX compiler identification is GNU 8.3.0 02:58:47 -- Check for working C compiler: /usr/bin/cc 02:58:47 Merging remotes/origin/master commit 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 into PR head commit 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f 02:58:47 Merge succeeded, producing 44033a8acd54ed9c354d9bd53853c00664285088 02:58:47 Checking out Revision 44033a8acd54ed9c354d9bd53853c00664285088 (PR-336) 02:58:47 -- Check for working C compiler: /usr/bin/cc -- works 02:58:47 -- Detecting C compiler ABI info 02:58:47 -- Detecting C compiler ABI info - done 02:58:47 -- Detecting C compile features 02:58:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 02:58:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:58:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 02:58:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 02:58:46 using GIT_SSH to set credentials SSH Credentials for GitHub 02:58:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:58:47 > git config core.sparsecheckout # timeout=10 02:58:47 > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 02:58:47 > git remote # timeout=10 02:58:47 > git config --get remote.origin.url # timeout=10 02:58:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:58:47 > git merge 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 # timeout=10 02:58:47 > git rev-parse HEAD^{commit} # timeout=10 02:58:47 > git config core.sparsecheckout # timeout=10 02:58:47 > git checkout -f 44033a8acd54ed9c354d9bd53853c00664285088 # timeout=10 02:58:48 -- Detecting C compile features - done 02:58:48 -- Check for working CXX compiler: /usr/bin/c++ 02:58:48 -- Check for working CXX compiler: /usr/bin/c++ -- works 02:58:48 -- Detecting CXX compiler ABI info 02:58:49 -- Detecting CXX compiler ABI info - done 02:58:49 -- Detecting CXX compile features 02:58:50 -- Detecting CXX compile features - done 02:58:50 -- Looking for include file endian.h 02:58:50 -- Looking for include file endian.h - found 02:58:50 -- Check if the system is big endian 02:58:50 -- Searching 16 bit integer 02:58:50 -- Looking for sys/types.h 02:58:50 -- Looking for sys/types.h - found 02:58:50 -- Looking for stdint.h 02:58:51 Commit message: "Merge commit '1a58ea05ec7eb3db9f90d47fb79c2f2571766c40' into HEAD" 02:58:51 > git rev-list --no-walk 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 02:58:51 -- Looking for stdint.h - found 02:58:51 -- Looking for stddef.h [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:58:51 -- Looking for stddef.h - found 02:58:51 -- Check size of unsigned short 02:58:51 -- Check size of unsigned short - done 02:58:51 -- Using unsigned short 02:58:52 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json 02:58:52 -- Check if the system is big endian - little endian 02:58:52 -- Check size of size_t [Pipeline] sh 02:58:52 -- Check size of size_t - done 02:58:52 CMake Warning at examples/CMakeLists.txt:16 (find_package): 02:58:52 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 02:58:52 asked CMake to find a package configuration file provided by "cJSON", but 02:58:52 CMake did not find one. 02:58:52 02:58:52 Could not find a package configuration file provided by "cJSON" with any of 02:58:52 the following names: 02:58:52 02:58:52 cJSONConfig.cmake 02:58:52 cjson-config.cmake 02:58:52 02:58:52 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 02:58:52 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 02:58:52 provides a separate development package or SDK, be sure it has been 02:58:52 installed. 02:58:52 02:58:52 02:58:52 -- Configuring done 02:58:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:58:52 -- Generating done 02:58:52 -- Build files have been written to: /tmp/cbor 02:58:52 Scanning dependencies of target cbor_shared 02:58:52 + sudo service docker restart 02:58:52 + true 02:58:52 Redirecting to /bin/systemctl restart docker.service 02:58:52 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 02:58:53 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 02:58:54 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:58:54 provisioning config files... 02:58:54 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config8424584086535798935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:58:54 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 02:58:54 ---> docker-login.sh 02:58:54 nexus3.edgexfoundry.org:10001 02:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:54 Configure a credential helper to remove this warning. See 02:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:54 02:58:54 Login Succeeded 02:58:54 nexus3.edgexfoundry.org:10002 02:58:54 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 02:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:55 Configure a credential helper to remove this warning. See 02:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:55 02:58:55 Login Succeeded 02:58:55 nexus3.edgexfoundry.org:10003 02:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:55 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 02:58:55 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 02:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:55 Configure a credential helper to remove this warning. See 02:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:55 02:58:55 Login Succeeded 02:58:55 nexus3.edgexfoundry.org:10004 02:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:55 Configure a credential helper to remove this warning. See 02:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:55 02:58:55 Login Succeeded 02:58:55 docker.io 02:58:55 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 02:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:55 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 02:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:55 Configure a credential helper to remove this warning. See 02:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:55 02:58:55 Login Succeeded 02:58:55 ---> docker-login.sh ends [Pipeline] } 02:58:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:58:55 ========================================================= 02:58:55 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 02:58:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:58:56 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 02:58:56 + 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 . 02:58:56 Sending build context to Docker daemon 2.534MB 02:58:56 Step 1/21 : ARG BASE=alpine:3.12 02:58:56 Step 2/21 : FROM ${BASE} as builder 02:58:56 latest: Pulling from edgex-devops/edgex-gcc-base 02:58:56 e7c96db7181b: Pulling fs layer 02:58:56 4c13bbce0fe7: Pulling fs layer 02:58:56 6059c847ac2f: Pulling fs layer 02:58:56 4c13bbce0fe7: Download complete 02:58:56 e7c96db7181b: Verifying Checksum 02:58:56 e7c96db7181b: Download complete 02:58:56 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 02:58:56 e7c96db7181b: Pull complete 02:58:56 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 02:58:57 4c13bbce0fe7: Pull complete 02:58:57 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 02:58:57 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 02:58:57 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 02:58:57 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 02:58:58 6059c847ac2f: Verifying Checksum 02:58:58 6059c847ac2f: Download complete 02:58:58 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 02:58:58 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 02:58:58 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 02:58:59 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 02:58:59 [ 40%] Linking C shared library libcbor.so 02:58:59 [ 40%] Built target cbor_shared 02:58:59 Scanning dependencies of target cbor 02:58:59 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 02:59:00 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 02:59:00 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 02:59:00 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 02:59:02 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 02:59:02 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 02:59:02 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 02:59:02 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 02:59:02 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 02:59:03 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 02:59:03 6059c847ac2f: Pull complete 02:59:03 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 02:59:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 02:59:03 ---> 5eabd8fd8ba2 02:59:03 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 02:59:04 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 02:59:04 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 02:59:04 ---> Running in 6e4b82fe6cdd 02:59:04 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 02:59:04 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 02:59:05 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 02:59:05 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 02:59:05 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 02:59:05 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 02:59:05 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 02:59:06 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 02:59:06 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 02:59:06 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 02:59:06 (2/8) Installing libuuid (2.33-r0) 02:59:06 (3/8) Installing libblkid (2.33-r0) 02:59:06 (4/8) Installing libfdisk (2.33-r0) 02:59:06 (5/8) Installing libmount (2.33-r0) 02:59:06 (6/8) Installing libsmartcols (2.33-r0) 02:59:06 (7/8) Installing util-linux-dev (2.33-r0) 02:59:06 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 02:59:06 [ 80%] Linking C static library libcbor.a 02:59:06 [ 80%] Built target cbor 02:59:06 Scanning dependencies of target create_items 02:59:06 (8/8) Installing wget (1.20.3-r0) 02:59:06 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 02:59:06 [ 84%] Linking C executable create_items 02:59:06 [ 84%] Built target create_items 02:59:06 Scanning dependencies of target readfile 02:59:07 Executing busybox-1.29.3-r10.trigger 02:59:07 OK: 272 MiB in 83 packages 02:59:07 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 02:59:07 [ 88%] Linking C executable readfile 02:59:07 [ 88%] Built target readfile 02:59:07 Scanning dependencies of target streaming_parser 02:59:07 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 02:59:07 [ 92%] Linking C executable streaming_parser 02:59:07 [ 92%] Built target streaming_parser 02:59:07 Scanning dependencies of target sort 02:59:07 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 02:59:08 [ 96%] Linking C executable sort 02:59:08 [ 96%] Built target sort 02:59:08 Scanning dependencies of target hello 02:59:08 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 02:59:08 Removing intermediate container 6e4b82fe6cdd 02:59:08 ---> 95b0058f84c3 02:59:08 Step 4/21 : ENV CBOR_VERSION=0.5.0 02:59:08 ---> Running in f4f23b6c18bf 02:59:08 Removing intermediate container f4f23b6c18bf 02:59:08 ---> 027e0d817f08 02:59:08 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 02:59:08 ---> Running in 5cb0b095a355 02:59:08 [100%] Linking C executable hello 02:59:08 [100%] Built target hello 02:59:08 Install the project... 02:59:08 -- Install configuration: "Release" 02:59:08 -- Installing: /usr/local/include/cbor/configuration.h 02:59:08 -- Installing: /usr/local/lib64/libcbor.a 02:59:08 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 02:59:08 -- Installing: /usr/local/lib64/libcbor.so.0 02:59:08 -- Installing: /usr/local/lib64/libcbor.so 02:59:08 -- Up-to-date: /usr/local/include/cbor 02:59:08 -- Installing: /usr/local/include/cbor/streaming.h 02:59:08 -- Installing: /usr/local/include/cbor/ints.h 02:59:08 -- Installing: /usr/local/include/cbor/floats_ctrls.h 02:59:08 -- Installing: /usr/local/include/cbor/bytestrings.h 02:59:08 -- Installing: /usr/local/include/cbor/encoding.h 02:59:08 -- Installing: /usr/local/include/cbor/serialization.h 02:59:08 -- Installing: /usr/local/include/cbor/data.h 02:59:08 -- Installing: /usr/local/include/cbor/common.h 02:59:08 -- Installing: /usr/local/include/cbor/callbacks.h 02:59:08 -- Installing: /usr/local/include/cbor/strings.h 02:59:08 -- Installing: /usr/local/include/cbor/tags.h 02:59:08 -- Installing: /usr/local/include/cbor/internal 02:59:08 -- Installing: /usr/local/include/cbor/internal/encoders.h 02:59:08 -- Installing: /usr/local/include/cbor/internal/loaders.h 02:59:08 -- Installing: /usr/local/include/cbor/internal/stack.h 02:59:08 -- Installing: /usr/local/include/cbor/internal/unicode.h 02:59:08 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 02:59:08 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 02:59:08 -- Installing: /usr/local/include/cbor/arrays.h 02:59:08 -- Installing: /usr/local/include/cbor/maps.h 02:59:08 -- Installing: /usr/local/include/cbor.h 02:59:08 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 02:59:08 --2021-04-20 02:59:08-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 02:59:08 Resolving github.com... 140.82.112.3 02:59:08 Connecting to github.com|140.82.112.3|:443... connected. 02:59:08 HTTP request sent, awaiting response... 302 Found 02:59:08 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 02:59:08 --2021-04-20 02:59:08-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 02:59:08 Resolving codeload.github.com... 140.82.114.9 02:59:08 Connecting to codeload.github.com|140.82.114.9|:443... connected. 02:59:08 HTTP request sent, awaiting response... 200 OK 02:59:08 Length: unspecified [application/x-gzip] 02:59:08 Saving to: 'STDOUT' 02:59:08 02:59:08 0K .......... .......... .......... .......... .......... 1.62M 02:59:08 50K .......... .......... .......... .......... .......... 3.25M 02:59:08 100K .......... .......... .......... .......... .......... 23.7M 02:59:08 150K .......... .......... .......... .......... .......... 3.70M 02:59:08 200K .......... .......... .......... .......... .......... 19.8M 02:59:08 250K .......... .......... .......... .......... .......... 11.4M 02:59:08 300K .......... .......... .......... .......... .......... 7.83M 02:59:08 350K .......... .......... .......... .......... .......... 7.19M 02:59:08 400K .......... .......... .......... .......... .......... 6.21M 02:59:08 450K .......... .......... .......... .......... .......... 8.92M 02:59:08 500K .......... .......... .......... .......... .......... 23.7M 02:59:08 550K .......... .......... .......... .......... .......... 4.28M 02:59:08 600K .......... .......... .......... .......... .......... 2.55M 02:59:08 650K .......... .......... .......... .......... .......... 5.29M 02:59:08 700K .. 46.7M=0.1s 02:59:08 02:59:08 2021-04-20 02:59:08 (5.06 MB/s) - written to stdout [719348] 02:59:08 02:59:09 -- The C compiler identification is GNU 8.3.0 02:59:09 -- The CXX compiler identification is GNU 8.3.0 02:59:09 -- Check for working C compiler: /usr/bin/cc 02:59:09 -- Check for working C compiler: /usr/bin/cc -- works 02:59:09 -- Detecting C compiler ABI info 02:59:09 -- Detecting C compiler ABI info - done 02:59:09 -- Detecting C compile features 02:59:09 -- Detecting C compile features - done 02:59:09 -- Check for working CXX compiler: /usr/bin/c++ 02:59:09 -- Check for working CXX compiler: /usr/bin/c++ -- works 02:59:09 -- Detecting CXX compiler ABI info 02:59:09 -- Detecting CXX compiler ABI info - done 02:59:09 -- Detecting CXX compile features 02:59:10 -- Detecting CXX compile features - done 02:59:10 -- Looking for include file endian.h 02:59:10 -- Looking for include file endian.h - found 02:59:10 -- Check if the system is big endian 02:59:10 -- Searching 16 bit integer 02:59:10 -- Looking for sys/types.h 02:59:10 -- Looking for sys/types.h - found 02:59:10 -- Looking for stdint.h 02:59:10 -- Looking for stdint.h - found 02:59:10 -- Looking for stddef.h 02:59:10 -- Looking for stddef.h - found 02:59:10 -- Check size of unsigned short 02:59:10 -- Check size of unsigned short - done 02:59:10 -- Using unsigned short 02:59:10 -- Check if the system is big endian - little endian 02:59:10 -- Check size of size_t 02:59:10 -- Check size of size_t - done 02:59:10 CMake Warning at examples/CMakeLists.txt:16 (find_package): 02:59:10 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 02:59:10 asked CMake to find a package configuration file provided by "cJSON", but 02:59:10 CMake did not find one. 02:59:10 02:59:10 Could not find a package configuration file provided by "cJSON" with any of 02:59:10 the following names: 02:59:10 02:59:10 cJSONConfig.cmake 02:59:10 cjson-config.cmake 02:59:10 02:59:10 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 02:59:10 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 02:59:10 provides a separate development package or SDK, be sure it has been 02:59:10 installed. 02:59:10 02:59:10 02:59:10 -- Configuring done 02:59:10 -- Generating done 02:59:10 -- Build files have been written to: /tmp/cbor 02:59:10 Removing intermediate container 4b0ffb54d5f3 02:59:10 ---> b618b03a4595 02:59:10 Step 6/21 : RUN mkdir /tmp/sdk 02:59:10 ---> Running in 05e628a985ac 02:59:11 Scanning dependencies of target cbor_shared 02:59:11 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 02:59:11 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 02:59:11 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 02:59:11 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 02:59:11 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 02:59:11 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 02:59:11 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 02:59:11 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 02:59:11 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 02:59:11 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 02:59:12 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 02:59:12 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 02:59:12 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 02:59:12 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 02:59:12 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 02:59:12 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 02:59:12 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 02:59:12 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 02:59:12 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 02:59:12 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 02:59:12 [ 40%] Linking C shared library libcbor.so 02:59:12 [ 40%] Built target cbor_shared 02:59:12 Scanning dependencies of target cbor 02:59:12 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 02:59:12 Removing intermediate container 05e628a985ac 02:59:12 ---> 82705759b90d 02:59:12 Step 7/21 : COPY VERSION /tmp/sdk 02:59:13 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 02:59:13 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 02:59:13 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 02:59:13 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 02:59:13 ---> 0b7b80ed2ea2 02:59:13 Step 8/21 : COPY src /tmp/sdk/src 02:59:13 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 02:59:13 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 02:59:13 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 02:59:13 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 02:59:13 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 02:59:13 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 02:59:14 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 02:59:14 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 02:59:14 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 02:59:14 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 02:59:14 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 02:59:14 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 02:59:14 ---> e794f7d916ee 02:59:14 Step 9/21 : COPY include /tmp/sdk/include 02:59:14 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 02:59:14 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 02:59:14 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 02:59:14 [ 80%] Linking C static library libcbor.a 02:59:15 [ 80%] Built target cbor 02:59:15 Scanning dependencies of target create_items 02:59:15 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 02:59:15 [ 84%] Linking C executable create_items 02:59:15 [ 84%] Built target create_items 02:59:15 Scanning dependencies of target readfile 02:59:15 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 02:59:15 [ 88%] Linking C executable readfile 02:59:15 [ 88%] Built target readfile 02:59:15 Scanning dependencies of target streaming_parser 02:59:15 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 02:59:15 ---> 4fb196861b8d 02:59:15 Step 10/21 : COPY scripts /tmp/sdk/scripts 02:59:15 [ 92%] Linking C executable streaming_parser 02:59:15 [ 92%] Built target streaming_parser 02:59:15 Scanning dependencies of target sort 02:59:15 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 02:59:15 [ 96%] Linking C executable sort 02:59:15 [ 96%] Built target sort 02:59:15 Scanning dependencies of target hello 02:59:15 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 02:59:15 [100%] Linking C executable hello 02:59:15 [100%] Built target hello 02:59:15 Install the project... 02:59:15 -- Install configuration: "Release" 02:59:15 -- Installing: /usr/local/include/cbor/configuration.h 02:59:15 -- Installing: /usr/local/lib64/libcbor.a 02:59:15 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 02:59:15 -- Installing: /usr/local/lib64/libcbor.so.0 02:59:15 -- Installing: /usr/local/lib64/libcbor.so 02:59:15 -- Up-to-date: /usr/local/include/cbor 02:59:15 -- Installing: /usr/local/include/cbor/arrays.h 02:59:15 -- Installing: /usr/local/include/cbor/bytestrings.h 02:59:15 -- Installing: /usr/local/include/cbor/callbacks.h 02:59:15 -- Installing: /usr/local/include/cbor/common.h 02:59:15 -- Installing: /usr/local/include/cbor/data.h 02:59:15 -- Installing: /usr/local/include/cbor/encoding.h 02:59:15 -- Installing: /usr/local/include/cbor/floats_ctrls.h 02:59:15 -- Installing: /usr/local/include/cbor/internal 02:59:15 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 02:59:15 -- Installing: /usr/local/include/cbor/internal/encoders.h 02:59:15 -- Installing: /usr/local/include/cbor/internal/loaders.h 02:59:15 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 02:59:15 -- Installing: /usr/local/include/cbor/internal/stack.h 02:59:15 -- Installing: /usr/local/include/cbor/internal/unicode.h 02:59:15 -- Installing: /usr/local/include/cbor/ints.h 02:59:15 -- Installing: /usr/local/include/cbor/maps.h 02:59:15 -- Installing: /usr/local/include/cbor/serialization.h 02:59:15 -- Installing: /usr/local/include/cbor/streaming.h 02:59:15 -- Installing: /usr/local/include/cbor/strings.h 02:59:15 -- Installing: /usr/local/include/cbor/tags.h 02:59:15 -- Installing: /usr/local/include/cbor.h 02:59:15 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 02:59:16 ---> 369660a36441 02:59:16 Step 11/21 : COPY LICENSE /tmp/sdk 02:59:16 ---> 0f684a7e0e51 02:59:16 Step 12/21 : COPY Attribution.txt /tmp/sdk 02:59:17 ---> 3619aaa538fc 02:59:17 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 02:59:17 ---> Running in 2d255806868c 02:59:18 Removing intermediate container 5cb0b095a355 02:59:18 ---> 5e28bab58a9f 02:59:18 Step 6/21 : RUN mkdir /tmp/sdk 02:59:18 ---> Running in c8fd337136c5 02:59:18 + CPPCHECK=false 02:59:18 + DOCGEN=false 02:59:18 + TOMLVER=SDK-0.2 02:59:18 + CUTILVER=1.1.4 02:59:18 + '[' 0 -gt 0 ] 02:59:18 + readlink -f ./scripts/build.sh 02:59:18 + dirname /tmp/sdk/scripts/build.sh 02:59:18 + dirname /tmp/sdk/scripts 02:59:18 + ROOT=/tmp/sdk 02:59:18 + cd /tmp/sdk 02:59:18 + '[' '!' -d deps ] 02:59:18 + mkdir deps 02:59:18 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 02:59:18 + tar -C deps -z -x -f - 02:59:18 --2021-04-20 02:59:18-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 02:59:18 Resolving github.com... 140.82.112.3 02:59:18 Connecting to github.com|140.82.112.3|:443... connected. 02:59:18 HTTP request sent, awaiting response... 302 Found 02:59:18 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 02:59:18 --2021-04-20 02:59:18-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 02:59:18 Resolving codeload.github.com... 140.82.114.9 02:59:18 Connecting to codeload.github.com|140.82.114.9|:443... connected. 02:59:18 HTTP request sent, awaiting response... 200 OK 02:59:18 Length: unspecified [application/x-gzip] 02:59:18 Saving to: 'STDOUT' 02:59:18  02:59:18 0K .......... ......  1.07M=0.01s 02:59:18 02:59:18 2021-04-20 02:59:18 (1.07 MB/s) - written to stdout [16451] 02:59:18 02:59:18 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 02:59:18 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 02:59:18 + tar -C deps -z -x -f - 02:59:18 --2021-04-20 02:59:18-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 02:59:18 Resolving github.com... 140.82.112.3 02:59:18 Connecting to github.com|140.82.112.3|:443... connected. 02:59:19 Removing intermediate container c8fd337136c5 02:59:19 ---> 07a0f88e9556 02:59:19 Step 7/21 : COPY VERSION /tmp/sdk 02:59:19 HTTP request sent, awaiting response... 302 Found 02:59:19 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 02:59:19 --2021-04-20 02:59:18-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 02:59:19 Resolving codeload.github.com... 140.82.114.9 02:59:19 Connecting to codeload.github.com|140.82.114.9|:443... connected. 02:59:19 HTTP request sent, awaiting response... 200 OK 02:59:19 Length: unspecified [application/x-gzip] 02:59:19 Saving to: 'STDOUT' 02:59:19  02:59:19 ---> 8fb865e6d261 02:59:19 Step 8/21 : COPY src /tmp/sdk/src 02:59:19 0K .......... .......... .......... .......... .......... 1.43M 02:59:19 50K .......... .......... .......... .......... .......... 2.68M 02:59:19 100K .......... .......... .......... .......... .......... 3.19M 02:59:19 150K .......... .......... ....... 4.02M=0.07s 02:59:19 02:59:19 2021-04-20 02:59:19 (2.33 MB/s) - written to stdout [181796] 02:59:19 02:59:19 + mkdir -p src/c/iot 02:59:19 + 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 02:59:19 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 02:59:19 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 02:59:19 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 02:59:19 + mkdir -p include/iot 02:59:19 + 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 02:59:19 + mkdir -p include/iot/os 02:59:19 + 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 02:59:19 + mkdir -p /tmp/sdk/build/release 02:59:19 + cd /tmp/sdk/build/release 02:59:19 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 02:59:19 -- The C compiler identification is GNU 8.3.0 02:59:19 -- Check for working C compiler: /usr/bin/cc 02:59:19 -- Check for working C compiler: /usr/bin/cc -- works 02:59:19 -- Detecting C compiler ABI info 02:59:20 -- Detecting C compiler ABI info - done 02:59:20 -- Detecting C compile features 02:59:20 ---> 7c3aee641a5e 02:59:20 Step 9/21 : COPY include /tmp/sdk/include 02:59:20 ---> 468d045ffc71 02:59:20 Step 10/21 : COPY scripts /tmp/sdk/scripts 02:59:20 ---> 194e0138899c 02:59:20 Step 11/21 : COPY LICENSE /tmp/sdk 02:59:20 ---> d4aa0dc030ed 02:59:20 Step 12/21 : COPY Attribution.txt /tmp/sdk 02:59:21 ---> 92e37813d9fb 02:59:21 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 02:59:21 ---> Running in bc89cab72122 02:59:21 -- Detecting C compile features - done 02:59:21 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:59:21 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 02:59:21 -- Found LIBYAML: /usr/lib/libyaml.so 02:59:21 -- Found LIBUUID: /usr/lib/libuuid.so 02:59:21 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 02:59:21 -- C SDK 0.0.0 for Linux 02:59:21 -- Performing Test CSDK_HAVE_ATOMIC 02:59:21 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:59:21 -- Found Curses: /usr/lib/libcurses.so 02:59:21 -- Configuring done 02:59:21 + CPPCHECK=false 02:59:21 + DOCGEN=false 02:59:21 + TOMLVER=SDK-0.2 02:59:21 + CUTILVER=1.1.4 02:59:21 + '[' 0 -gt 0 ] 02:59:21 + readlink -f ./scripts/build.sh 02:59:21 + dirname /tmp/sdk/scripts/build.sh 02:59:21 + dirname /tmp/sdk/scripts 02:59:21 + ROOT=/tmp/sdk 02:59:21 + cd /tmp/sdk 02:59:21 + '[' '!' -d deps ] 02:59:21 + mkdir deps 02:59:21 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 02:59:21 + tar -C deps -z -x -f - 02:59:21 --2021-04-20 02:59:21-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 02:59:21 Resolving github.com... 140.82.112.3 02:59:21 Connecting to github.com|140.82.112.3|:443... connected. 02:59:21 HTTP request sent, awaiting response... 302 Found 02:59:21 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 02:59:21 --2021-04-20 02:59:21-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 02:59:21 Resolving codeload.github.com... 140.82.114.9 02:59:21 Connecting to codeload.github.com|140.82.114.9|:443... connected. 02:59:21 HTTP request sent, awaiting response... 200 OK 02:59:21 Length: unspecified [application/x-gzip] 02:59:21 Saving to: 'STDOUT' 02:59:21  02:59:21 0K .......... ...... 1.05M=0.01s 02:59:21 02:59:21 2021-04-20 02:59:21 (1.05 MB/s) - written to stdout [16451] 02:59:21 02:59:21 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 02:59:21 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 02:59:21 + tar -C deps -z -x -f - 02:59:21 --2021-04-20 02:59:21-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 02:59:21 -- Generating done 02:59:21 -- Build files have been written to: /tmp/sdk/build/release 02:59:21 + make all package 02:59:21 + tee release.log 02:59:21 Scanning dependencies of target csdk 02:59:21 Resolving github.com... 140.82.112.3 02:59:21 Connecting to github.com|140.82.112.3|:443... connected. 02:59:21 HTTP request sent, awaiting response... 302 Found 02:59:21 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 02:59:21 --2021-04-20 02:59:21-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 02:59:21 Resolving codeload.github.com... 140.82.114.9 02:59:21 Connecting to codeload.github.com|140.82.114.9|:443... connected. 02:59:21 HTTP request sent, awaiting response... 200 OK 02:59:21 Length: unspecified [application/x-gzip] 02:59:21 Saving to: 'STDOUT' 02:59:21 02:59:21 0K .......... .......... .......... .......... .......... 1.42M 02:59:21 50K .......... .......... .......... .......... .......... 2.82M 02:59:21 100K .......... .......... .......... .......... .......... 41.3M 02:59:21 150K .......... .......... .......  3.50M=0.06s 02:59:21 02:59:21 2021-04-20 02:59:21 (2.86 MB/s) - written to stdout [181796] 02:59:21 02:59:21 + mkdir -p src/c/iot 02:59:21 + 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 02:59:21 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 02:59:21 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 02:59:21 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 02:59:21 + mkdir -p include/iot 02:59:21 + 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 02:59:21 + mkdir -p include/iot/os 02:59:21 + 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 02:59:21 + mkdir -p /tmp/sdk/build/release 02:59:21 + cd /tmp/sdk/build/release 02:59:21 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 02:59:21 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:59:22 -- The C compiler identification is GNU 8.3.0 02:59:22 -- Check for working C compiler: /usr/bin/cc 02:59:22 -- Check for working C compiler: /usr/bin/cc -- works 02:59:22 -- Detecting C compiler ABI info 02:59:22 -- Detecting C compiler ABI info - done 02:59:22 -- Detecting C compile features 02:59:22 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 02:59:22 -- Detecting C compile features - done 02:59:22 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:59:22 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 02:59:22 -- Found LIBYAML: /usr/lib/libyaml.so 02:59:22 -- Found LIBUUID: /usr/lib/libuuid.so 02:59:22 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 02:59:22 -- C SDK 0.0.0 for Linux 02:59:22 -- Performing Test CSDK_HAVE_ATOMIC 02:59:22 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:59:22 -- Found Curses: /usr/lib/libcurses.so 02:59:22 -- Configuring done 02:59:22 -- Generating done 02:59:22 -- Build files have been written to: /tmp/sdk/build/release 02:59:22 + make all package 02:59:22 + tee release.log 02:59:22 Scanning dependencies of target csdk 02:59:22 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:59:22 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:59:22 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 02:59:23 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:59:23 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 02:59:23 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:59:23 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:59:24 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:59:24 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:59:24 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:59:24 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 02:59:24 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:59:24 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:59:25 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 02:59:25 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:59:25 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:59:25 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:59:25 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:59:26 [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:59:26 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 02:59:26 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 02:59:26 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 02:59:26 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 02:59:26 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 02:59:26 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:59:26 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 02:59:27 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 02:59:27 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 02:59:27 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 02:59:27 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 02:59:27 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 02:59:27 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 02:59:27 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 02:59:27 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 02:59:27 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 02:59:28 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:59:28 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:59:28 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:59:28 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:59:28 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 02:59:28 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:59:29 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:59:30 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:59:30 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:59:30 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:59:30 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:59:30 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 02:59:30 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:59:30 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:59:30 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:59:30 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:59:31 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:59:31 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 02:59:32 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:59:32 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:59:32 [ 73%] Linking C shared library libcsdk.so 02:59:32 [ 73%] Built target csdk 02:59:32 Scanning dependencies of target template 02:59:32 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:59:32 [ 76%] Linking C executable template 02:59:33 [ 76%] Built target template 02:59:33 Scanning dependencies of target device-counter 02:59:33 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:59:33 [ 80%] Linking C executable device-counter 02:59:33 [ 80%] Built target device-counter 02:59:33 Scanning dependencies of target device-random 02:59:33 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:59:33 [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:59:33 [ 83%] Linking C executable device-random 02:59:33 [ 83%] Built target device-random 02:59:33 Scanning dependencies of target device-gyro 02:59:33 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:59:33 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 02:59:33 [ 86%] Linking C executable device-gyro 02:59:33 [ 86%] Built target device-gyro 02:59:33 Scanning dependencies of target device-bitfields 02:59:33 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:59:33 [ 90%] Linking C executable device-bitfields 02:59:33 [ 90%] Built target device-bitfields 02:59:33 Scanning dependencies of target template-discovery 02:59:33 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:59:33 [ 93%] Linking C executable template-discovery 02:59:34 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 02:59:34 [ 93%] Built target template-discovery 02:59:34 Scanning dependencies of target device-file 02:59:34 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:59:34 [ 96%] Linking C executable device-file 02:59:34 [ 96%] Built target device-file 02:59:34 Scanning dependencies of target device-terminal 02:59:34 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:59:34 [100%] Linking C executable device-terminal 02:59:34 [100%] Built target device-terminal 02:59:34 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 02:59:34 Run CPack packaging tool... 02:59:34 CPack: Create package using TGZ 02:59:34 CPack: Install projects 02:59:34 CPack: - Run preinstall target for: Csdk 02:59:34 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 02:59:34 CPack: - Install project: Csdk 02:59:34 CPack: Create package 02:59:34 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 02:59:34 + '[' false '=' true ] 02:59:34 + '[' false '=' true ] 02:59:34 + mkdir -p /tmp/sdk/build/debug 02:59:34 + cd /tmp/sdk/build/debug 02:59:34 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 02:59:34 -- The C compiler identification is GNU 8.3.0 02:59:34 -- Check for working C compiler: /usr/bin/cc 02:59:34 -- Check for working C compiler: /usr/bin/cc -- works 02:59:34 -- Detecting C compiler ABI info 02:59:35 -- Detecting C compiler ABI info - done 02:59:35 -- Detecting C compile features 02:59:35 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 02:59:35 -- Detecting C compile features - done 02:59:35 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:59:35 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 02:59:35 -- Found LIBYAML: /usr/lib/libyaml.so 02:59:35 -- Found LIBUUID: /usr/lib/libuuid.so 02:59:35 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 02:59:35 -- C SDK 0.0.0 for Linux 02:59:35 -- Performing Test CSDK_HAVE_ATOMIC 02:59:35 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:59:35 -- Found Curses: /usr/lib/libcurses.so 02:59:35 -- Configuring done 02:59:35 -- Generating done 02:59:35 -- Build files have been written to: /tmp/sdk/build/debug 02:59:35 + make 02:59:35 + tee debug.log 02:59:35 Scanning dependencies of target csdk 02:59:35 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:59:35 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 02:59:35 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:59:35 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 02:59:36 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:59:36 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:59:36 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:59:36 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:59:36 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:59:36 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:59:36 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:59:36 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 02:59:36 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:59:36 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:59:36 [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:59:37 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 02:59:37 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 02:59:37 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 02:59:37 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 02:59:37 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 02:59:37 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 02:59:37 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 02:59:37 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 02:59:37 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 02:59:37 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 02:59:37 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 02:59:37 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 02:59:37 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 02:59:37 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 02:59:37 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 02:59:38 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 02:59:38 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 02:59:38 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 02:59:38 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:59:38 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:59:38 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 02:59:38 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:59:38 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 02:59:38 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:59:38 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 02:59:39 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:59:39 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:59:39 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:59:39 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 02:59:39 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:59:39 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:59:39 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 02:59:39 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:59:39 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:59:40 [ 73%] Linking C shared library libcsdk.so 02:59:40 [ 73%] Built target csdk 02:59:40 Scanning dependencies of target template 02:59:40 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:59:40 [ 76%] Linking C executable template 02:59:40 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 02:59:40 [ 76%] Built target template 02:59:40 Scanning dependencies of target device-counter 02:59:40 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:59:40 [ 80%] Linking C executable device-counter 02:59:40 [ 80%] Built target device-counter 02:59:40 Scanning dependencies of target device-random 02:59:40 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:59:40 [ 83%] Linking C executable device-random 02:59:40 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 02:59:40 [ 83%] Built target device-random 02:59:40 Scanning dependencies of target device-gyro 02:59:40 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:59:40 [ 86%] Linking C executable device-gyro 02:59:40 [ 86%] Built target device-gyro 02:59:40 Scanning dependencies of target device-bitfields 02:59:40 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:59:40 [ 90%] Linking C executable device-bitfields 02:59:40 [ 90%] Built target device-bitfields 02:59:40 Scanning dependencies of target template-discovery 02:59:40 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:59:40 [ 93%] Linking C executable template-discovery 02:59:41 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 02:59:41 [ 93%] Built target template-discovery 02:59:41 Scanning dependencies of target device-file 02:59:41 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:59:41 [ 96%] Linking C executable device-file 02:59:41 [ 96%] Built target device-file 02:59:41 Scanning dependencies of target device-terminal 02:59:41 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:59:41 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 02:59:41 [100%] Linking C executable device-terminal 02:59:41 [100%] Built target device-terminal 02:59:41 make: Entering directory '/tmp/sdk/build/release' 02:59:41 make[1]: Entering directory '/tmp/sdk/build/release' 02:59:41 make[2]: Entering directory '/tmp/sdk/build/release' 02:59:41 make[2]: Leaving directory '/tmp/sdk/build/release' 02:59:41 [ 73%] Built target csdk 02:59:41 make[2]: Entering directory '/tmp/sdk/build/release' 02:59:41 make[2]: Leaving directory '/tmp/sdk/build/release' 02:59:41 [ 76%] Built target template 02:59:41 make[2]: Entering directory '/tmp/sdk/build/release' 02:59:41 make[2]: Leaving directory '/tmp/sdk/build/release' 02:59:41 [ 80%] Built target device-counter 02:59:41 make[2]: Entering directory '/tmp/sdk/build/release' 02:59:41 make[2]: Leaving directory '/tmp/sdk/build/release' 02:59:41 [ 83%] Built target device-random 02:59:41 make[2]: Entering directory '/tmp/sdk/build/release' 02:59:41 make[2]: Leaving directory '/tmp/sdk/build/release' 02:59:41 [ 86%] Built target device-gyro 02:59:41 make[2]: Entering directory '/tmp/sdk/build/release' 02:59:41 make[2]: Leaving directory '/tmp/sdk/build/release' 02:59:41 [ 90%] Built target device-bitfields 02:59:41 make[2]: Entering directory '/tmp/sdk/build/release' 02:59:41 make[2]: Leaving directory '/tmp/sdk/build/release' 02:59:41 [ 93%] Built target template-discovery 02:59:41 make[2]: Entering directory '/tmp/sdk/build/release' 02:59:41 make[2]: Leaving directory '/tmp/sdk/build/release' 02:59:41 [ 96%] Built target device-file 02:59:41 make[2]: Entering directory '/tmp/sdk/build/release' 02:59:41 make[2]: Leaving directory '/tmp/sdk/build/release' 02:59:41 [100%] Built target device-terminal 02:59:41 make[1]: Leaving directory '/tmp/sdk/build/release' 02:59:41 Install the project... 02:59:41 -- Install configuration: "Release" 02:59:41 -- Installing: /usr/local/lib/libcsdk.so 02:59:41 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 02:59:41 -- Up-to-date: /usr/local/include 02:59:41 -- Installing: /usr/local/include/devsdk 02:59:41 -- Installing: /usr/local/include/devsdk/devsdk-base.h 02:59:41 -- Installing: /usr/local/include/devsdk/devsdk.h 02:59:41 -- Installing: /usr/local/include/edgex 02:59:41 -- Installing: /usr/local/include/edgex/devices.h 02:59:41 -- Installing: /usr/local/include/edgex/edgex-base.h 02:59:41 -- Installing: /usr/local/include/edgex/edgex.h 02:59:41 -- Installing: /usr/local/include/edgex/profiles.h 02:59:41 -- Installing: /usr/local/include/edgex/rest-server.h 02:59:41 -- Installing: /usr/local/include/edgex/csdk-defs.h 02:59:41 -- Installing: /usr/local/include/iot 02:59:41 -- Installing: /usr/local/include/iot/base64.h 02:59:41 -- Installing: /usr/local/include/iot/component.h 02:59:41 -- Installing: /usr/local/include/iot/config.h 02:59:41 -- Installing: /usr/local/include/iot/container.h 02:59:41 -- Installing: /usr/local/include/iot/data.h 02:59:41 -- Installing: /usr/local/include/iot/hash.h 02:59:41 -- Installing: /usr/local/include/iot/iot.h 02:59:41 -- Installing: /usr/local/include/iot/json.h 02:59:41 -- Installing: /usr/local/include/iot/logger.h 02:59:41 -- Installing: /usr/local/include/iot/os.h 02:59:41 -- Installing: /usr/local/include/iot/scheduler.h 02:59:41 -- Installing: /usr/local/include/iot/thread.h 02:59:41 -- Installing: /usr/local/include/iot/threadpool.h 02:59:41 -- Installing: /usr/local/include/iot/time.h 02:59:41 -- Installing: /usr/local/include/iot/typecode.h 02:59:41 -- Installing: /usr/local/include/iot/os 02:59:41 -- Installing: /usr/local/include/iot/os/linux.h 02:59:41 -- Installing: /usr/local/include/iot/os/macos.h 02:59:41 -- Installing: /usr/local/include/iot/os/zephyr.h 02:59:41 -- Installing: /usr/local/include/iot/defs.h 02:59:41 -- Installing: /usr/local/share/device-sdk-c/LICENSE 02:59:41 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 02:59:41 make: Leaving directory '/tmp/sdk/build/release' 02:59:43 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:59:43 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:59:44 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 02:59:44 Removing intermediate container bc89cab72122 02:59:44 ---> c2598feea437 02:59:44 Step 14/21 : FROM ${BASE} 02:59:44 ---> 5eabd8fd8ba2 02:59:44 Step 15/21 : LABEL maintainer="IOTech " 02:59:44 ---> Running in 5003370031b3 02:59:44 Removing intermediate container 5003370031b3 02:59:44 ---> b6d41f16821e 02:59:44 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 02:59:44 ---> Running in cad98562fae9 02:59:44 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:59:44 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 02:59:45 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 02:59:46 (1/3) Installing curl (7.64.0-r5) 02:59:46 (2/3) Installing libuuid (2.33-r0) 02:59:46 (3/3) Installing wget (1.20.3-r0) 02:59:46 Executing busybox-1.29.3-r10.trigger 02:59:46 OK: 268 MiB in 78 packages 02:59:47 Removing intermediate container cad98562fae9 02:59:47 ---> e862eaf25dcc 02:59:47 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 02:59:47 ---> a039139b026e 02:59:47 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 02:59:47 ---> fc1ddcc61319 02:59:47 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 02:59:47 ---> a13b73adcefe 02:59:47 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 02:59:48 ---> edbcbd903da9 02:59:48 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 02:59:48 ---> 9b5855e32d74 02:59:48 Successfully built 9b5855e32d74 02:59:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:59:48 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:59:48 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:59:48 + docker inspect -f . ci-base-image-x86_64 02:59:48 . [Pipeline] withDockerContainer 02:59:49 prd-centos7-docker-4c-2g-1061 does not seem to be running inside a container 02:59:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@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 02:59:49 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:59:49 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:59:50 $ docker top cdb0f9984a5a7feaf8fd1534b4d8db18055fae7d280470f0494381b1cf82ec64 -eo pid,comm [Pipeline] { [Pipeline] sh 02:59:50 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:59:50 + make test 02:59:50 echo "make test" 02:59:50 make test [Pipeline] } 02:59:50 $ docker stop --time=1 cdb0f9984a5a7feaf8fd1534b4d8db18055fae7d280470f0494381b1cf82ec64 02:59:51 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:59:51 $ docker rm -f cdb0f9984a5a7feaf8fd1534b4d8db18055fae7d280470f0494381b1cf82ec64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 02:59:53 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [Pipeline] sh 02:59:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:59:55 + ls -al . 02:59:55 total 160 02:59:55 drwxrwxr-x. 8 jenkins jenkins 260 Apr 20 02:58 . 02:59:55 drwxrwxr-x. 4 jenkins jenkins 28 Apr 20 02:58 .. 02:59:55 -rw-rw-r--. 1 jenkins jenkins 3104 Apr 20 02:58 Attribution.txt 02:59:55 -rw-rw-r--. 1 jenkins jenkins 7129 Apr 20 02:58 CHANGES 02:59:55 drwxrwxr-x. 2 jenkins jenkins 121 Apr 20 02:58 docs 02:59:55 -rw-rw-r--. 1 jenkins jenkins 108574 Apr 20 02:58 Doxyfile 02:59:55 drwxrwxr-x. 8 jenkins jenkins 179 Apr 20 02:58 .git 02:59:55 drwxrwxr-x. 2 jenkins jenkins 81 Apr 20 02:58 .github 02:59:55 -rw-rw-r--. 1 jenkins jenkins 176 Apr 20 02:58 .gitignore 02:59:55 drwxrwxr-x. 4 jenkins jenkins 33 Apr 20 02:58 include 02:59:55 -rw-rw-r--. 1 jenkins jenkins 784 Apr 20 02:58 Jenkinsfile 02:59:55 -rw-rw-r--. 1 jenkins jenkins 10174 Apr 20 02:58 LICENSE 02:59:55 -rw-rw-r--. 1 jenkins jenkins 444 Apr 20 02:58 Makefile 02:59:55 -rw-rw-r--. 1 jenkins jenkins 4005 Apr 20 02:58 README.md 02:59:55 -rw-rw-r--. 1 jenkins jenkins 6654 Apr 20 02:58 README.v2.md 02:59:55 drwxrwxr-x. 2 jenkins jenkins 98 Apr 20 02:58 scripts 02:59:55 drwxrwxr-x. 4 jenkins jenkins 50 Apr 20 02:58 src 02:59:55 -rw-rw-r--. 1 jenkins jenkins 5 Apr 20 02:55 VERSION [Pipeline] isUnix [Pipeline] sh 02:59:55 + 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=3368c6102e343318f874eea1e60513bd5090189e --label arch=amd64 --label version=0.0.0 . 02:59:55 Sending build context to Docker daemon 2.534MB 02:59:55 Step 1/15 : ARG BASE=alpine:3.12 02:59:55 Step 2/15 : FROM ${BASE} 02:59:55 ---> 9b5855e32d74 02:59:55 Step 3/15 : LABEL maintainer="IOTech " 02:59:56 ---> Running in 767ac37e5994 02:59:56 Removing intermediate container 767ac37e5994 02:59:56 ---> 2df95b86b117 02:59:56 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 02:59:56 ---> Running in 8809d6c96f09 02:59:56 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:59:56 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 02:59:57 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:59:57 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 02:59:57 [ 73%] Linking C shared library libcsdk.so 02:59:57 [ 73%] Built target csdk 02:59:57 Scanning dependencies of target template 02:59:57 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:59:58 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 02:59:58 (2/6) Installing libblkid (2.33-r0) 02:59:58 (3/6) Installing libfdisk (2.33-r0) 02:59:58 (4/6) Installing libmount (2.33-r0) 02:59:58 [ 76%] Linking C executable template 02:59:58 (5/6) Installing libsmartcols (2.33-r0) 02:59:58 (6/6) Installing util-linux-dev (2.33-r0) 02:59:58 [ 76%] Built target template 02:59:58 Scanning dependencies of target device-counter 02:59:58 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:59:58 Executing busybox-1.29.3-r10.trigger 02:59:58 OK: 272 MiB in 84 packages 02:59:59 [ 80%] Linking C executable device-counter 02:59:59 [ 80%] Built target device-counter 02:59:59 Scanning dependencies of target device-random 02:59:59 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:59:59 Removing intermediate container 8809d6c96f09 02:59:59 ---> 67b94516e812 02:59:59 Step 5/15 : COPY VERSION /edgex-c-sdk/ 02:59:59 ---> a6926b1fb434 02:59:59 Step 6/15 : COPY src /edgex-c-sdk/src/ 02:59:59 [ 83%] Linking C executable device-random 02:59:59 [ 83%] Built target device-random 02:59:59 Scanning dependencies of target device-gyro 02:59:59 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 03:00:00 ---> 1df3a788654c 03:00:00 Step 7/15 : COPY include /edgex-c-sdk/include/ 03:00:00 ---> 1f448edc00b9 03:00:00 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 03:00:00 [ 86%] Linking C executable device-gyro 03:00:00 [ 86%] Built target device-gyro 03:00:00 ---> 8b39fe8eb37a 03:00:00 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 03:00:00 Scanning dependencies of target device-bitfields 03:00:00 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 03:00:00 ---> f11e7338ddfa 03:00:00 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 03:00:01 [ 90%] Linking C executable device-bitfields 03:00:01 ---> 5b9859e6e9e2 03:00:01 Step 11/15 : WORKDIR /edgex-c-sdk 03:00:01 ---> Running in 61c62605fcca 03:00:01 [ 90%] Built target device-bitfields 03:00:01 Scanning dependencies of target template-discovery 03:00:01 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 03:00:01 Removing intermediate container 61c62605fcca 03:00:01 ---> 6137755459bc 03:00:01 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 03:00:01 ---> Running in fd2bce597ccb 03:00:01 Removing intermediate container fd2bce597ccb 03:00:01 ---> f00196be3b39 03:00:01 Step 13/15 : LABEL arch=amd64 03:00:01 ---> Running in 4934e8e042a6 03:00:01 Removing intermediate container 4934e8e042a6 03:00:01 ---> 051d4f9d85f5 03:00:01 Step 14/15 : LABEL git_sha=3368c6102e343318f874eea1e60513bd5090189e 03:00:01 [ 93%] Linking C executable template-discovery 03:00:02 ---> Running in 9ccfee9d6f71 03:00:02 Removing intermediate container 9ccfee9d6f71 03:00:02 ---> 67b0e4107c5f 03:00:02 Step 15/15 : LABEL version=0.0.0 03:00:02 ---> Running in d8ecedb97061 03:00:02 [ 93%] Built target template-discovery 03:00:02 Scanning dependencies of target device-file 03:00:02 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 03:00:02 Removing intermediate container d8ecedb97061 03:00:02 ---> aba7197ea538 03:00:02 [Warning] One or more build-args [MAKE ARCH] were not consumed 03:00:02 Successfully built aba7197ea538 03:00:02 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:00:02 [ 96%] Linking C executable device-file 03:00:03 [ 96%] Built target device-file 03:00:03 Scanning dependencies of target device-terminal 03:00:03 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 03:00:03 [100%] Linking C executable device-terminal 03:00:03 [100%] Built target device-terminal 03:00:03 Run CPack packaging tool... 03:00:03 CPack: Create package using TGZ 03:00:03 CPack: Install projects 03:00:03 CPack: - Run preinstall target for: Csdk 03:00:04 CPack: - Install project: Csdk 03:00:04 CPack: Create package 03:00:04 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 03:00:04 + '[' false '=' true ] 03:00:04 + '[' false '=' true ] 03:00:04 + mkdir -p /tmp/sdk/build/debug 03:00:04 + cd /tmp/sdk/build/debug 03:00:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 03:00:04 -- The C compiler identification is GNU 8.3.0 03:00:04 -- Check for working C compiler: /usr/bin/cc 03:00:05 -- Check for working C compiler: /usr/bin/cc -- works 03:00:05 -- Detecting C compiler ABI info 03:00:05 -- Detecting C compiler ABI info - done 03:00:05 -- Detecting C compile features 03:00:05 -- Detecting C compile features - done 03:00:06 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 03:00:06 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 03:00:06 -- Found LIBYAML: /usr/lib/libyaml.so 03:00:06 -- Found LIBUUID: /usr/lib/libuuid.so 03:00:06 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 03:00:06 -- C SDK 0.0.0 for Linux 03:00:06 -- Performing Test CSDK_HAVE_ATOMIC 03:00:06 -- Performing Test CSDK_HAVE_ATOMIC - Success 03:00:06 -- Found Curses: /usr/lib/libcurses.so 03:00:06 -- Configuring done 03:00:06 -- Generating done 03:00:06 -- Build files have been written to: /tmp/sdk/build/debug 03:00:06 + make 03:00:06 + tee debug.log 03:00:06 Scanning dependencies of target csdk 03:00:07 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 03:00:07 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 03:00:07 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 03:00:08 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 03:00:08 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 03:00:08 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 03:00:09 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 03:00:09 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 03:00:09 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 03:00:10 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 03:00:10 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 03:00:10 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 03:00:10 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 03:00:10 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 03:00:11 [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 03:00:11 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 03:00:12 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 03:00:12 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 03:00:12 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 03:00:12 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 03:00:13 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 03:00:13 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 03:00:13 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 03:00:14 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 03:00:14 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 03:00:14 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 03:00:14 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 03:00:15 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 03:00:15 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 03:00:15 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 03:00:15 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 03:00:15 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 03:00:16 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 03:00:16 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 03:00:17 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 03:00:17 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 03:00:17 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 03:00:18 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 03:00:18 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 03:00:19 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 03:00:20 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 03:00:20 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 03:00:20 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 03:00:21 [ 73%] Linking C shared library libcsdk.so 03:00:21 [ 73%] Built target csdk 03:00:21 Scanning dependencies of target template 03:00:21 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 03:00:21 [ 76%] Linking C executable template 03:00:21 [ 76%] Built target template 03:00:21 Scanning dependencies of target device-counter 03:00:21 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 03:00:22 [ 80%] Linking C executable device-counter 03:00:22 [ 80%] Built target device-counter 03:00:22 Scanning dependencies of target device-random 03:00:22 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 03:00:22 [ 83%] Linking C executable device-random 03:00:22 [ 83%] Built target device-random 03:00:22 Scanning dependencies of target device-gyro 03:00:22 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 03:00:23 [ 86%] Linking C executable device-gyro 03:00:23 [ 86%] Built target device-gyro 03:00:23 Scanning dependencies of target device-bitfields 03:00:23 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 03:00:23 [ 90%] Linking C executable device-bitfields 03:00:23 [ 90%] Built target device-bitfields 03:00:23 Scanning dependencies of target template-discovery 03:00:23 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 03:00:24 [ 93%] Linking C executable template-discovery 03:00:24 [ 93%] Built target template-discovery 03:00:24 Scanning dependencies of target device-file 03:00:24 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 03:00:24 [ 96%] Linking C executable device-file 03:00:24 [ 96%] Built target device-file 03:00:25 Scanning dependencies of target device-terminal 03:00:25 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 03:00:25 [100%] Linking C executable device-terminal 03:00:25 [100%] Built target device-terminal 03:00:25 make: Entering directory '/tmp/sdk/build/release' 03:00:25 make[1]: Entering directory '/tmp/sdk/build/release' 03:00:25 make[2]: Entering directory '/tmp/sdk/build/release' 03:00:25 make[2]: Leaving directory '/tmp/sdk/build/release' 03:00:25 [ 73%] Built target csdk 03:00:25 make[2]: Entering directory '/tmp/sdk/build/release' 03:00:25 make[2]: Leaving directory '/tmp/sdk/build/release' 03:00:25 [ 76%] Built target template 03:00:25 make[2]: Entering directory '/tmp/sdk/build/release' 03:00:25 make[2]: Leaving directory '/tmp/sdk/build/release' 03:00:25 [ 80%] Built target device-counter 03:00:25 make[2]: Entering directory '/tmp/sdk/build/release' 03:00:25 make[2]: Leaving directory '/tmp/sdk/build/release' 03:00:25 [ 83%] Built target device-random 03:00:25 make[2]: Entering directory '/tmp/sdk/build/release' 03:00:25 make[2]: Leaving directory '/tmp/sdk/build/release' 03:00:25 [ 86%] Built target device-gyro 03:00:25 make[2]: Entering directory '/tmp/sdk/build/release' 03:00:25 make[2]: Leaving directory '/tmp/sdk/build/release' 03:00:25 [ 90%] Built target device-bitfields 03:00:25 make[2]: Entering directory '/tmp/sdk/build/release' 03:00:25 make[2]: Leaving directory '/tmp/sdk/build/release' 03:00:25 [ 93%] Built target template-discovery 03:00:25 make[2]: Entering directory '/tmp/sdk/build/release' 03:00:25 make[2]: Leaving directory '/tmp/sdk/build/release' 03:00:25 [ 96%] Built target device-file 03:00:25 make[2]: Entering directory '/tmp/sdk/build/release' 03:00:25 make[2]: Leaving directory '/tmp/sdk/build/release' 03:00:25 [100%] Built target device-terminal 03:00:25 make[1]: Leaving directory '/tmp/sdk/build/release' 03:00:25 Install the project... 03:00:26 -- Install configuration: "Release" 03:00:26 -- Installing: /usr/local/lib/libcsdk.so 03:00:26 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 03:00:26 -- Up-to-date: /usr/local/include 03:00:26 -- Installing: /usr/local/include/edgex 03:00:26 -- Installing: /usr/local/include/edgex/rest-server.h 03:00:26 -- Installing: /usr/local/include/edgex/edgex-base.h 03:00:26 -- Installing: /usr/local/include/edgex/edgex.h 03:00:26 -- Installing: /usr/local/include/edgex/devices.h 03:00:26 -- Installing: /usr/local/include/edgex/profiles.h 03:00:26 -- Installing: /usr/local/include/edgex/csdk-defs.h 03:00:26 -- Installing: /usr/local/include/devsdk 03:00:26 -- Installing: /usr/local/include/devsdk/devsdk-base.h 03:00:26 -- Installing: /usr/local/include/devsdk/devsdk.h 03:00:26 -- Installing: /usr/local/include/iot 03:00:26 -- Installing: /usr/local/include/iot/json.h 03:00:26 -- Installing: /usr/local/include/iot/container.h 03:00:26 -- Installing: /usr/local/include/iot/component.h 03:00:26 -- Installing: /usr/local/include/iot/typecode.h 03:00:26 -- Installing: /usr/local/include/iot/iot.h 03:00:26 -- Installing: /usr/local/include/iot/time.h 03:00:26 -- Installing: /usr/local/include/iot/hash.h 03:00:26 -- Installing: /usr/local/include/iot/logger.h 03:00:26 -- Installing: /usr/local/include/iot/os 03:00:26 -- Installing: /usr/local/include/iot/os/zephyr.h 03:00:26 -- Installing: /usr/local/include/iot/os/linux.h 03:00:26 -- Installing: /usr/local/include/iot/os/macos.h 03:00:26 -- Installing: /usr/local/include/iot/scheduler.h 03:00:26 -- Installing: /usr/local/include/iot/data.h 03:00:26 -- Installing: /usr/local/include/iot/thread.h 03:00:26 -- Installing: /usr/local/include/iot/os.h 03:00:26 -- Installing: /usr/local/include/iot/base64.h 03:00:26 -- Installing: /usr/local/include/iot/defs.h 03:00:26 -- Installing: /usr/local/include/iot/threadpool.h 03:00:26 -- Installing: /usr/local/include/iot/config.h 03:00:26 -- Installing: /usr/local/share/device-sdk-c/LICENSE 03:00:26 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 03:00:26 make: Leaving directory '/tmp/sdk/build/release' 03:00:28 Removing intermediate container 2d255806868c 03:00:28 ---> 6b80423beb70 03:00:28 Step 14/21 : FROM ${BASE} 03:00:28 ---> b23d30803547 03:00:28 Step 15/21 : LABEL maintainer="IOTech " 03:00:28 ---> Running in 3c6dd93f7f44 03:00:29 Removing intermediate container 3c6dd93f7f44 03:00:29 ---> 990b0482a60a 03:00:29 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 03:00:29 ---> Running in 81f33a9d9b39 03:00:30 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 03:00:31 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 03:00:31 (1/3) Installing curl (7.64.0-r5) 03:00:31 (2/3) Installing libuuid (2.33-r0) 03:00:31 (3/3) Installing wget (1.20.3-r0) 03:00:31 Executing busybox-1.29.3-r10.trigger 03:00:31 OK: 281 MiB in 78 packages 03:00:33 Removing intermediate container 81f33a9d9b39 03:00:33 ---> d12a57616c62 03:00:33 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 03:00:33 ---> 09ebc955a618 03:00:33 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 03:00:34 ---> 2f7d75f33a60 03:00:34 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 03:00:35 ---> 1455518b2ece 03:00:35 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 03:00:36 ---> 982bd22de93c 03:00:36 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 03:00:36 ---> 78cc99ba4f6e 03:00:36 Successfully built 78cc99ba4f6e 03:00:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:00:37 + docker inspect -f . ci-base-image-arm64 03:00:37 . [Pipeline] withDockerContainer 03:00:37 prd-ubuntu18.04-docker-arm64-4c-16g-1060 does not seem to be running inside a container 03:00:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@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 03:00:39 $ docker top d6494d46afc0d1a172fbda9d20e7bfe2111372dd1ae1d37fd2b06b69ed3b4d7c -eo pid,comm [Pipeline] { [Pipeline] sh 03:00:40 + make test 03:00:40 echo "make test" 03:00:40 make test [Pipeline] } 03:00:40 $ docker stop --time=1 d6494d46afc0d1a172fbda9d20e7bfe2111372dd1ae1d37fd2b06b69ed3b4d7c 03:00:42 $ docker rm -f d6494d46afc0d1a172fbda9d20e7bfe2111372dd1ae1d37fd2b06b69ed3b4d7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:00:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:00:43 + ls -al . 03:00:43 total 192 03:00:43 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 02:58 . 03:00:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 02:58 .. 03:00:43 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 02:58 .git 03:00:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 02:58 .github 03:00:43 -rw-rw-r-- 1 jenkins jenkins 176 Apr 20 02:58 .gitignore 03:00:43 -rw-rw-r-- 1 jenkins jenkins 3104 Apr 20 02:58 Attribution.txt 03:00:43 -rw-rw-r-- 1 jenkins jenkins 7129 Apr 20 02:58 CHANGES 03:00:43 -rw-rw-r-- 1 jenkins jenkins 108574 Apr 20 02:58 Doxyfile 03:00:43 -rw-rw-r-- 1 jenkins jenkins 784 Apr 20 02:58 Jenkinsfile 03:00:43 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 20 02:58 LICENSE 03:00:43 -rw-rw-r-- 1 jenkins jenkins 444 Apr 20 02:58 Makefile 03:00:43 -rw-rw-r-- 1 jenkins jenkins 4005 Apr 20 02:58 README.md 03:00:43 -rw-rw-r-- 1 jenkins jenkins 6654 Apr 20 02:58 README.v2.md 03:00:43 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 02:55 VERSION 03:00:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 02:58 docs 03:00:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 02:58 include 03:00:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 02:58 scripts 03:00:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 02:58 src [Pipeline] isUnix [Pipeline] sh 03:00:43 + 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=3368c6102e343318f874eea1e60513bd5090189e --label arch=arm64 --label version=0.0.0 . 03:00:44 Sending build context to Docker daemon 2.533MB 03:00:44 Step 1/15 : ARG BASE=alpine:3.12 03:00:44 Step 2/15 : FROM ${BASE} 03:00:44 ---> 78cc99ba4f6e 03:00:44 Step 3/15 : LABEL maintainer="IOTech " 03:00:44 ---> Running in 53149be6e5a5 03:00:44 Removing intermediate container 53149be6e5a5 03:00:44 ---> 1053f6c87b1d 03:00:44 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 03:00:44 ---> Running in add46c605ca3 03:00:45 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 03:00:46 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 03:00:47 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 03:00:47 (2/6) Installing libblkid (2.33-r0) 03:00:47 (3/6) Installing libfdisk (2.33-r0) 03:00:47 (4/6) Installing libmount (2.33-r0) 03:00:47 (5/6) Installing libsmartcols (2.33-r0) 03:00:47 (6/6) Installing util-linux-dev (2.33-r0) 03:00:48 Executing busybox-1.29.3-r10.trigger 03:00:48 OK: 286 MiB in 84 packages 03:00:49 Removing intermediate container add46c605ca3 03:00:49 ---> 213886648ffb 03:00:49 Step 5/15 : COPY VERSION /edgex-c-sdk/ 03:00:50 ---> d08f9b85821a 03:00:50 Step 6/15 : COPY src /edgex-c-sdk/src/ 03:00:51 ---> 3ddf469d4e4f 03:00:51 Step 7/15 : COPY include /edgex-c-sdk/include/ 03:00:52 ---> a63f853f39aa 03:00:52 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 03:00:52 ---> 60be2532c491 03:00:52 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 03:00:53 ---> 1aba6aa96662 03:00:53 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 03:00:54 ---> 5f20f5347874 03:00:54 Step 11/15 : WORKDIR /edgex-c-sdk 03:00:54 ---> Running in eb27b1756ab8 03:00:54 Removing intermediate container eb27b1756ab8 03:00:54 ---> 911d2dd92a3d 03:00:54 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 03:00:54 ---> Running in 35a46866aa06 03:00:55 Removing intermediate container 35a46866aa06 03:00:55 ---> dc1fdf592f45 03:00:55 Step 13/15 : LABEL arch=arm64 03:00:55 ---> Running in 29f7b57e6528 03:00:55 Removing intermediate container 29f7b57e6528 03:00:55 ---> cce3c163a4b9 03:00:55 Step 14/15 : LABEL git_sha=3368c6102e343318f874eea1e60513bd5090189e 03:00:55 ---> Running in e657a3dd9fbd 03:00:56 Removing intermediate container e657a3dd9fbd 03:00:56 ---> 8340694a5d15 03:00:56 Step 15/15 : LABEL version=0.0.0 03:00:56 ---> Running in 6c6058876edd 03:00:56 Removing intermediate container 6c6058876edd 03:00:56 ---> fbda4701cb0c 03:00:56 [Warning] One or more build-args [ARCH MAKE] were not consumed 03:00:57 Successfully built fbda4701cb0c 03:00:57 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 03:00:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:00:58 ---> package-listing.sh 03:00:58 ++ facter osfamily 03:00:58 ++ tr '[:upper:]' '[:lower:]' 03:00:58 + OS_FAMILY=redhat 03:00:58 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-336 03:00:58 + START_PACKAGES=/tmp/packages_start.txt 03:00:58 + END_PACKAGES=/tmp/packages_end.txt 03:00:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:00:58 + PACKAGES=/tmp/packages_start.txt 03:00:58 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-336 ']' 03:00:58 + PACKAGES=/tmp/packages_end.txt 03:00:58 + case "${OS_FAMILY}" in 03:00:58 + rpm -qa 03:00:58 + sort 03:01:03 + '[' -f /tmp/packages_start.txt ']' 03:01:03 + '[' -f /tmp/packages_end.txt ']' 03:01:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:01:03 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-336 ']' 03:01:03 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-336/archives/ 03:01:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-336/archives/ [Pipeline] echo 03:01:03 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:01:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:01:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:01:04 03:01:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:01:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:01:04 alpine: Pulling from edgex-lftools-log-publisher 03:01:04 df20fa9351a1: Pulling fs layer 03:01:04 36b3adc4ff6f: Pulling fs layer 03:01:04 8ad3a11d3b57: Pulling fs layer 03:01:04 46f8f816bc3b: Pulling fs layer 03:01:04 93b61091891f: Pulling fs layer 03:01:04 93b9cdb0e59b: Pulling fs layer 03:01:04 5e14af77c1be: Pulling fs layer 03:01:04 01666e4c0597: Pulling fs layer 03:01:04 aa168da1d23b: Pulling fs layer 03:01:04 46f8f816bc3b: Waiting 03:01:04 93b61091891f: Waiting 03:01:04 93b9cdb0e59b: Waiting 03:01:04 5e14af77c1be: Waiting 03:01:04 01666e4c0597: Waiting 03:01:04 aa168da1d23b: Waiting 03:01:04 36b3adc4ff6f: Verifying Checksum 03:01:04 36b3adc4ff6f: Download complete 03:01:04 46f8f816bc3b: Verifying Checksum 03:01:04 46f8f816bc3b: Download complete 03:01:04 df20fa9351a1: Download complete 03:01:05 93b9cdb0e59b: Verifying Checksum 03:01:05 93b9cdb0e59b: Download complete 03:01:05 5e14af77c1be: Verifying Checksum 03:01:05 5e14af77c1be: Download complete 03:01:05 93b61091891f: Download complete 03:01:05 01666e4c0597: Verifying Checksum 03:01:05 01666e4c0597: Download complete 03:01:05 df20fa9351a1: Pull complete 03:01:05 8ad3a11d3b57: Verifying Checksum 03:01:05 8ad3a11d3b57: Download complete 03:01:05 36b3adc4ff6f: Pull complete 03:01:06 8ad3a11d3b57: Pull complete 03:01:07 aa168da1d23b: Verifying Checksum 03:01:07 aa168da1d23b: Download complete 03:01:07 46f8f816bc3b: Pull complete 03:01:08 93b61091891f: Pull complete 03:01:08 93b9cdb0e59b: Pull complete 03:01:08 5e14af77c1be: Pull complete 03:01:08 01666e4c0597: Pull complete 03:01:16 aa168da1d23b: Pull complete 03:01:16 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:01:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:01:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:01:16 prd-centos7-docker-4c-2g-1059 does not seem to be running inside a container 03:01:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-336 -v /w/workspace/edgexfoundry_device-sdk-c_PR-336:/w/workspace/edgexfoundry_device-sdk-c_PR-336:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:01:20 $ docker top 433331f8993a40cc1ac01660880a3f933d16903368a32e010f5ff08c560f58d1 -eo pid,comm [Pipeline] { [Pipeline] sh 03:01:21 + touch /tmp/pre-build-complete [Pipeline] sh 03:01:21 + mkdir -p /var/log/sa [Pipeline] sh 03:01:21 + ls /var/log/sa-host 03:01:21 + sadf -c /var/log/sa-host/sa20 03:01:21 file_magic: OK 03:01:21 HZ: Using current value: 100 03:01:21 file_header: OK 03:01:21 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 03:01:21 Statistics: 03:01:21 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:01:21 File successfully converted to sysstat format version 12.2.1 03:01:21 + sadf -c /var/log/sa-host/sa23 03:01:21 file_magic: OK 03:01:21 HZ: Using current value: 100 03:01:21 file_header: OK 03:01:21 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 03:01:21 Statistics: 03:01:21 Hnuu...uuuununununu... 03:01:21 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:01:22 provisioning config files... 03:01:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/config5521206785525492130tmp [Pipeline] { [Pipeline] echo 03:01:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:01:22 ---> create-netrc.sh [Pipeline] } 03:01:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 03:01:22 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 03:01:23 ---> python-tools-install.sh [Pipeline] echo 03:01:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:01:23 ---> sudo-logs.sh 03:01:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:01:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:01:24 ---> job-cost.sh 03:01:24 lf-activate-venv: SKIPPING 03:01:24 INFO: No Stack... 03:01:25 INFO: Retrieving Pricing Info for: v1-standard-2 03:01:25 INFO: Archiving Costs [Pipeline] echo 03:01:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:01:25 ---> logs-deploy.sh 03:01:25 lf-activate-venv: SKIPPING 03:01:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-336/4 03:01:25 INFO: archiving workspace using pattern(s): 03:01:27 Archives upload complete. 03:01:27 INFO: archiving logs to Nexus 03:01:28 ---> uname -a: 03:01:28 Linux prd-centos7-docker-4c-2g-1059.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 03:01:28 03:01:28 03:01:28 ---> lscpu: 03:01:28 Architecture: x86_64 03:01:28 CPU op-mode(s): 32-bit, 64-bit 03:01:28 Byte Order: Little Endian 03:01:28 Address sizes: 40 bits physical, 48 bits virtual 03:01:28 CPU(s): 4 03:01:28 On-line CPU(s) list: 0-3 03:01:28 Thread(s) per core: 1 03:01:28 Core(s) per socket: 1 03:01:28 Socket(s): 4 03:01:28 NUMA node(s): 1 03:01:28 Vendor ID: GenuineIntel 03:01:28 CPU family: 6 03:01:28 Model: 44 03:01:28 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 03:01:28 Stepping: 1 03:01:28 CPU MHz: 2933.438 03:01:28 BogoMIPS: 5866.87 03:01:28 Virtualization: VT-x 03:01:28 Hypervisor vendor: KVM 03:01:28 Virtualization type: full 03:01:28 L1d cache: 128 KiB 03:01:28 L1i cache: 128 KiB 03:01:28 L2 cache: 16 MiB 03:01:28 L3 cache: 64 MiB 03:01:28 NUMA node0 CPU(s): 0-3 03:01:28 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 03:01:28 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 03:01:28 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 03:01:28 Vulnerability Meltdown: Mitigation; PTI 03:01:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:01:28 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 03:01:28 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 03:01:28 Vulnerability Srbds: Not affected 03:01:28 Vulnerability Tsx async abort: Not affected 03:01:28 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 03:01:28 03:01:28 03:01:28 ---> nproc: 03:01:28 4 03:01:28 03:01:28 03:01:28 ---> df -h: 03:01:28 Filesystem Size Used Available Use% Mounted on 03:01:28 overlay 50.0G 7.3G 42.7G 15% / 03:01:28 tmpfs 64.0M 0 64.0M 0% /dev 03:01:28 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 03:01:28 shm 64.0M 0 64.0M 0% /dev/shm 03:01:28 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 03:01:28 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 03:01:28 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 03:01:28 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 03:01:28 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 03:01:28 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-336 03:01:28 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 03:01:28 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp 03:01:28 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 03:01:28 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 03:01:28 03:01:28 03:01:28 ---> free -m: 03:01:28 total used free shared buff/cache available 03:01:28 Mem: 1837 711 113 0 1012 1021 03:01:28 Swap: 1023 0 1023 03:01:28 03:01:28 03:01:28 ---> ip addr: 03:01:28 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 03:01:28 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 03:01:28 inet 127.0.0.1/8 scope host lo 03:01:28 valid_lft forever preferred_lft forever 03:01:28 inet6 ::1/128 scope host 03:01:28 valid_lft forever preferred_lft forever 03:01:28 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 03:01:28 link/ether fa:16:3e:05:cb:25 brd ff:ff:ff:ff:ff:ff 03:01:28 inet 10.30.122.90/23 brd 10.30.123.255 scope global dynamic eth0 03:01:28 valid_lft 86016sec preferred_lft 86016sec 03:01:28 inet6 fe80::f816:3eff:fe05:cb25/64 scope link 03:01:28 valid_lft forever preferred_lft forever 03:01:28 3: docker0: mtu 1500 qdisc noqueue state DOWN 03:01:28 link/ether 02:42:12:29:19:df brd ff:ff:ff:ff:ff:ff 03:01:28 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 03:01:28 valid_lft forever preferred_lft forever 03:01:28 inet6 fe80::42:12ff:fe29:19df/64 scope link 03:01:28 valid_lft forever preferred_lft forever 03:01:28 03:01:28 03:01:28 ---> sar -b -r -n DEV: 03:01:28 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 04/20/21 _x86_64_ (4 CPU) 03:01:28 03:01:28 02:54:53 LINUX RESTART (4 CPU) 03:01:28 03:01:28 02:56:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:01:28 02:57:01 2.03 0.00 2.03 0.00 0.00 44.11 0.00 03:01:28 02:58:01 0.40 0.00 0.40 0.00 0.00 5.81 0.00 03:01:28 02:59:01 0.23 0.00 0.23 0.00 0.00 2.98 0.00 03:01:28 03:00:01 0.18 0.00 0.18 0.00 0.00 1.88 0.00 03:01:28 03:01:01 37.96 37.66 0.30 0.00 3398.30 3.95 0.00 03:01:28 Average: 8.16 7.53 0.63 0.00 679.84 11.75 0.00 03:01:28 03:01:28 02:56:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:01:28 02:57:01 144032 0 597064 31.73 2620 1137828 1068868 36.48 411992 1126488 12 03:01:28 02:58:01 142432 0 598652 31.82 2620 1137840 1068952 36.48 412336 1128216 8 03:01:28 02:59:01 140052 0 601028 31.94 2620 1137844 1069120 36.49 414572 1128216 8 03:01:28 03:00:01 141352 0 599728 31.87 2620 1137844 1068868 36.48 411532 1129816 8 03:01:28 03:01:01 71704 0 629668 33.47 2620 1177552 1106916 37.78 426736 1184144 68 03:01:28 Average: 127914 0 605228 32.17 2620 1145782 1076545 36.74 415434 1139376 21 03:01:28 03:01:28 02:56:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:01:28 02:57:01 eth0 0.40 0.08 0.02 0.01 0.00 0.00 0.00 0.00 03:01:28 02:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:01:28 02:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:01:28 02:58:01 eth0 3.91 1.97 3.08 0.13 0.00 0.00 0.00 0.00 03:01:28 02:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:01:28 02:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:01:28 02:59:01 eth0 1.43 0.77 0.58 0.38 0.00 0.00 0.00 0.00 03:01:28 02:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:01:28 02:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:01:28 03:00:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 0.00 03:01:28 03:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:01:28 03:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:01:28 03:01:01 eth0 4.61 2.73 4.34 1.66 0.00 0.00 0.00 0.00 03:01:28 03:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:01:28 03:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:01:28 Average: eth0 2.09 1.13 1.61 0.44 0.00 0.00 0.00 0.00 03:01:28 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:01:28 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:01:28 03:01:28 03:01:28 ---> sar -P ALL: 03:01:28 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 04/20/21 _x86_64_ (4 CPU) 03:01:28 03:01:28 02:54:53 LINUX RESTART (4 CPU) 03:01:28 03:01:28 02:56:01 CPU %user %nice %system %iowait %steal %idle 03:01:28 02:57:01 all 0.19 0.00 0.05 0.00 0.00 99.76 03:01:28 02:57:01 0 0.05 0.00 0.05 0.00 0.00 99.90 03:01:28 02:57:01 1 0.12 0.00 0.07 0.00 0.02 99.80 03:01:28 02:57:01 2 0.52 0.00 0.03 0.00 0.00 99.45 03:01:28 02:57:01 3 0.07 0.00 0.03 0.00 0.00 99.90 03:01:28 02:58:01 all 0.19 0.00 0.12 0.00 0.02 99.67 03:01:28 02:58:01 0 0.07 0.00 0.17 0.00 0.02 99.75 03:01:28 02:58:01 1 0.12 0.00 0.08 0.00 0.02 99.78 03:01:28 02:58:01 2 0.53 0.00 0.13 0.00 0.02 99.32 03:01:28 02:58:01 3 0.05 0.00 0.10 0.00 0.02 99.83 03:01:28 02:59:01 all 0.08 0.00 0.05 0.00 0.00 99.87 03:01:28 02:59:01 0 0.05 0.00 0.03 0.00 0.00 99.92 03:01:28 02:59:01 1 0.07 0.00 0.03 0.00 0.00 99.90 03:01:28 02:59:01 2 0.15 0.00 0.08 0.00 0.00 99.77 03:01:28 02:59:01 3 0.03 0.00 0.05 0.00 0.00 99.92 03:01:28 03:00:01 all 0.13 0.00 0.03 0.00 0.00 99.84 03:01:28 03:00:01 0 0.03 0.00 0.02 0.00 0.00 99.95 03:01:28 03:00:01 1 0.05 0.00 0.03 0.00 0.00 99.92 03:01:28 03:00:01 2 0.40 0.00 0.07 0.00 0.00 99.53 03:01:28 03:00:01 3 0.02 0.00 0.02 0.00 0.02 99.95 03:01:28 03:01:01 all 0.64 0.00 0.26 0.87 0.00 98.22 03:01:28 03:01:01 0 0.35 0.00 0.18 0.02 0.00 99.45 03:01:28 03:01:01 1 0.30 0.00 0.22 0.37 0.02 99.10 03:01:28 03:01:01 2 0.63 0.00 0.08 0.32 0.00 98.97 03:01:28 03:01:01 3 1.29 0.00 0.57 2.79 0.00 95.35 03:01:28 Average: all 0.24 0.00 0.10 0.17 0.01 99.47 03:01:28 Average: 0 0.11 0.00 0.09 0.00 0.00 99.79 03:01:28 Average: 1 0.13 0.00 0.09 0.07 0.01 99.70 03:01:28 Average: 2 0.45 0.00 0.08 0.06 0.00 99.41 03:01:28 Average: 3 0.29 0.00 0.15 0.56 0.01 98.99 03:01:28 03:01:28 03:01:28