Pull request #336 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f+3a634a1c00d95d9219bb951cd4c22fd9c49f79ac (48d717b205020774d84a00033a2a9c4f236b2c43) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-272 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-336 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac into PR head commit 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f Checking out Revision 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f (PR-336) > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 Commit message: "feat: create new devices from json/toml files in configured directory (#47)" First time build. Skipping changelog. > git rev-list --no-walk 5e4acb00c66e0ce35279f23e94e1678bc3e8a705 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:50:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:50:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:50:37 ========================================================= 12:50:37 EdgeX Global Pipelines Version Info 12:50:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:50:41 ------------------- 12:50:41 stable info: 12:50:41 ------------------- 12:50:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:50:41 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 12:50:41 Message: update stable to v1.0.186 12:50:42 ------------------- 12:50:42 experimental info: 12:50:42 ------------------- 12:50:42 Commited By: **** collab-it+edgex@linuxfoundation.org 12:50:42 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 12:50:42 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-336 [Pipeline] echo 12:50:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-336 [Pipeline] echo 12:50:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-336 [Pipeline] echo 12:50:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f [Pipeline] echo 12:50:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d9e0ef [Pipeline] echo 12:50:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 12:50:43 provisioning config files... 12:50:43 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/config1686252820395023560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:50:43 ---> docker-login.sh 12:50:43 nexus3.edgexfoundry.org:10001 12:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:45 Configure a credential helper to remove this warning. See 12:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:45 12:50:45 Login Succeeded 12:50:45 nexus3.edgexfoundry.org:10002 12:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:45 Configure a credential helper to remove this warning. See 12:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:45 12:50:45 Login Succeeded 12:50:46 nexus3.edgexfoundry.org:10003 12:50:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:47 Configure a credential helper to remove this warning. See 12:50:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:47 12:50:47 Login Succeeded 12:50:47 nexus3.edgexfoundry.org:10004 12:50:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:47 Configure a credential helper to remove this warning. See 12:50:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:47 12:50:47 Login Succeeded 12:50:47 docker.io 12:50:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:48 Configure a credential helper to remove this warning. See 12:50:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:48 12:50:48 Login Succeeded 12:50:48 ---> docker-login.sh ends [Pipeline] } 12:50:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 12:50:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:50:50 12:50:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:50:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:50:51 latest: Pulling from edgex-devops/git-semver 12:50:51 31603596830f: Pulling fs layer 12:50:51 2a8b12db71e7: Pulling fs layer 12:50:51 6ca5941a6612: Pulling fs layer 12:50:51 ecc8261a40a4: Pulling fs layer 12:50:51 ecc8261a40a4: Waiting 12:50:51 2a8b12db71e7: Verifying Checksum 12:50:51 2a8b12db71e7: Download complete 12:50:52 31603596830f: Verifying Checksum 12:50:52 31603596830f: Download complete 12:50:53 ecc8261a40a4: Verifying Checksum 12:50:53 ecc8261a40a4: Download complete 12:50:53 31603596830f: Pull complete 12:50:53 6ca5941a6612: Verifying Checksum 12:50:53 6ca5941a6612: Download complete 12:50:53 2a8b12db71e7: Pull complete 12:50:56 6ca5941a6612: Pull complete 12:50:56 ecc8261a40a4: Pull complete 12:50:56 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 12:50:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:50:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:50:57 prd-centos7-docker-4c-2g-272 does not seem to be running inside a container 12:50:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-336 -v /w/workspace/edgexfoundry_device-sdk-c_PR-336:/w/workspace/edgexfoundry_device-sdk-c_PR-336:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:51:00 $ docker top 8a7fe56023678578621b3c75c1bd17cc8167777f6f06e3662c0625b36331dc3d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:51:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:51:01 [ssh-agent] Looking for ssh-agent implementation... 12:51:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:51:02 $ docker exec 8a7fe56023678578621b3c75c1bd17cc8167777f6f06e3662c0625b36331dc3d ssh-agent 12:51:03 SSH_AUTH_SOCK=/tmp/ssh-32CLYt4SvKQi/agent.11 12:51:03 SSH_AGENT_PID=16 12:51:03 Running ssh-add (command line suppressed) 12:51:04 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_5286999070572431850.key (/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_5286999070572431850.key) 12:51:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:51:05 + git tag --points-at HEAD [Pipeline] } 12:51:05 $ docker exec --env ******** --env ******** 8a7fe56023678578621b3c75c1bd17cc8167777f6f06e3662c0625b36331dc3d ssh-agent -k 12:51:06 unset SSH_AUTH_SOCK; 12:51:06 unset SSH_AGENT_PID; 12:51:06 echo Agent pid 16 killed; 12:51:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:51:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:51:06 [ssh-agent] Looking for ssh-agent implementation... 12:51:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:51:06 $ docker exec 8a7fe56023678578621b3c75c1bd17cc8167777f6f06e3662c0625b36331dc3d ssh-agent 12:51:07 SSH_AUTH_SOCK=/tmp/ssh-FNs5xTmNbBrK/agent.45 12:51:07 SSH_AGENT_PID=50 12:51:07 Running ssh-add (command line suppressed) 12:51:08 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_6877054202963389973.key (/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_6877054202963389973.key) 12:51:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:51:09 + git semver init 12:51:09 # -> Open(): unable to determine branch for HEAD 12:51:09 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-336/.git 12:51:09 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-336 12:51:09 # $SEMVER_REMOTE_NAME = origin 12:51:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:51:09 # $SEMVER_USER_NAME = edgex-jenkins 12:51:09 # $SEMVER_BRANCH = PR-336 12:51:09 # $SEMVER_TEMP = /tmp/semver-414073174 12:51:09 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 12:51:10 # '/tmp/semver-414073174' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-336/.semver' 12:51:10 # -> Force: false 12:51:10 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-336/.semver [Pipeline] } 12:51:10 $ docker exec --env ******** --env ******** 8a7fe56023678578621b3c75c1bd17cc8167777f6f06e3662c0625b36331dc3d ssh-agent -k 12:51:11 unset SSH_AUTH_SOCK; 12:51:11 unset SSH_AGENT_PID; 12:51:11 echo Agent pid 50 killed; 12:51:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:51:12 + git semver [Pipeline] } 12:51:12 $ docker stop --time=1 8a7fe56023678578621b3c75c1bd17cc8167777f6f06e3662c0625b36331dc3d 12:51:15 $ docker rm -f 8a7fe56023678578621b3c75c1bd17cc8167777f6f06e3662c0625b36331dc3d [Pipeline] // withDockerContainer [Pipeline] sh 12:51:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:51:18 Stashed 1 file(s) [Pipeline] echo 12:51:18 [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 12:51:33 Still waiting to schedule task 12:51:33 Waiting for next available executor on ‘centos7-docker-4c-2g’ 12:51:33 Still waiting to schedule task 12:51:33 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 12:53:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-273 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [Pipeline] ws 12:53:20 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout 12:53:26 using credential edgex-jenkins-ssh 12:53:26 Cloning the remote Git repository 12:53:26 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 12:53:26 > git init /w/workspace/device-sdk-c/3 # timeout=10 12:53:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:53:26 > git --version # timeout=10 12:53:26 > git --version # 'git version 2.17.1' 12:53:26 using GIT_SSH to set credentials SSH Credentials for GitHub 12:53:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:53:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:53:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:53:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:53:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:53:28 using GIT_SSH to set credentials SSH Credentials for GitHub 12:53:28 > 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 12:53:28 Merging remotes/origin/master commit 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac into PR head commit 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f 12:53:29 Merge succeeded, producing 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f 12:53:29 Checking out Revision 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f (PR-336) 12:53:28 > git config core.sparsecheckout # timeout=10 12:53:28 > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 12:53:28 > git remote # timeout=10 12:53:29 > git config --get remote.origin.url # timeout=10 12:53:29 using GIT_SSH to set credentials SSH Credentials for GitHub 12:53:29 > git merge 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac # timeout=10 12:53:29 > git rev-parse HEAD^{commit} # timeout=10 12:53:29 > git config core.sparsecheckout # timeout=10 12:53:29 > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 12:53:33 Commit message: "feat: create new devices from json/toml files in configured directory (#47)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:53:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 12:53:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 12:53:35 + + sudo servicetrue docker 12:53:35 restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 12:53:38 provisioning config files... 12:53:38 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config6259504982923842808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:53:38 ---> docker-login.sh 12:53:38 nexus3.edgexfoundry.org:10001 12:53:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:40 Configure a credential helper to remove this warning. See 12:53:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:40 12:53:40 Login Succeeded 12:53:40 nexus3.edgexfoundry.org:10002 12:53:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:40 Configure a credential helper to remove this warning. See 12:53:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:40 12:53:40 Login Succeeded 12:53:40 nexus3.edgexfoundry.org:10003 12:53:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:41 Configure a credential helper to remove this warning. See 12:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:41 12:53:41 Login Succeeded 12:53:41 nexus3.edgexfoundry.org:10004 12:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:41 Configure a credential helper to remove this warning. See 12:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:41 12:53:41 Login Succeeded 12:53:41 docker.io 12:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:42 Configure a credential helper to remove this warning. See 12:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:42 12:53:42 Login Succeeded 12:53:42 ---> docker-login.sh ends [Pipeline] } 12:53:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:53:42 ========================================================= 12:53:42 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 12:53:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:53:43 + 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 . 12:53:43 Sending build context to Docker daemon 2.522MB 12:53:43 Step 1/21 : ARG BASE=alpine:3.12 12:53:43 Step 2/21 : FROM ${BASE} as builder 12:53:43 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 12:53:43 0362ad1dd800: Pulling fs layer 12:53:43 f2cdb1532d8b: Pulling fs layer 12:53:43 37ed683be191: Pulling fs layer 12:53:43 f2cdb1532d8b: Verifying Checksum 12:53:43 f2cdb1532d8b: Download complete 12:53:44 0362ad1dd800: Verifying Checksum 12:53:44 0362ad1dd800: Download complete 12:53:44 0362ad1dd800: Pull complete 12:53:44 f2cdb1532d8b: Pull complete 12:53:46 37ed683be191: Verifying Checksum 12:53:46 37ed683be191: Download complete 12:53:56 37ed683be191: Pull complete 12:53:56 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 12:53:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 12:53:56 ---> b23d30803547 12:53:56 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 12:53:57 ---> Running in a9d80b8cf86b 12:53:58 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 12:53:59 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 12:54:00 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 12:54:00 (2/8) Installing libuuid (2.33-r0) 12:54:00 (3/8) Installing libblkid (2.33-r0) 12:54:00 (4/8) Installing libfdisk (2.33-r0) 12:54:00 (5/8) Installing libmount (2.33-r0) 12:54:00 (6/8) Installing libsmartcols (2.33-r0) 12:54:00 (7/8) Installing util-linux-dev (2.33-r0) 12:54:01 (8/8) Installing wget (1.20.3-r0) 12:54:01 Executing busybox-1.29.3-r10.trigger 12:54:01 OK: 285 MiB in 83 packages 12:54:02 Removing intermediate container a9d80b8cf86b 12:54:02 ---> 0ee717944259 12:54:02 Step 4/21 : ENV CBOR_VERSION=0.5.0 12:54:03 ---> Running in 145d038cfbda 12:54:03 Removing intermediate container 145d038cfbda 12:54:03 ---> d716f99d7ffa 12:54:03 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 12:54:03 ---> Running in 170338b7a983 12:54:04 --2021-04-15 12:54:04-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 12:54:04 Resolving github.com... 140.82.113.4 12:54:04 Connecting to github.com|140.82.113.4|:443... connected. 12:54:04 HTTP request sent, awaiting response... 302 Found 12:54:04 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 12:54:04 --2021-04-15 12:54:04-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 12:54:04 Resolving codeload.github.com... 140.82.112.9 12:54:04 Connecting to codeload.github.com|140.82.112.9|:443... connected. 12:54:04 HTTP request sent, awaiting response... 200 OK 12:54:04 Length: unspecified [application/x-gzip] 12:54:04 Saving to: 'STDOUT' 12:54:04  12:54:04 0K .......... .......... .......... .......... .......... 1.63M 12:54:04 50K .......... .......... .......... .......... .......... 2.88M 12:54:04 100K .......... .......... .......... .......... .......... 11.9M 12:54:05 150K .......... .......... .......... .......... .......... 2.65M 12:54:05 200K .......... .......... .......... .......... .......... 7.54M 12:54:05 250K .......... .......... .......... .......... .......... 3.16M 12:54:05 300K .......... .......... .......... .......... .......... 3.90M 12:54:05 350K .......... .......... .......... .......... .......... 4.42M 12:54:05 400K .......... .......... .......... .......... .......... 3.70M 12:54:05 450K .......... .......... .......... .......... .......... 3.66M 12:54:05 500K .......... .......... .......... .......... .......... 6.36M 12:54:05 550K .......... .......... .......... .......... .......... 4.74M 12:54:05 600K .......... .......... .......... .......... .......... 796K 12:54:05 650K .......... .......... .......... .......... .......... 1.80M 12:54:05 700K ..                             11.6M=0.2s 12:54:05 12:54:05 2021-04-15 12:54:05 (2.75 MB/s) - written to stdout [719348] 12:54:05 12:54:05 -- The C compiler identification is GNU 8.3.0 12:54:05 -- The CXX compiler identification is GNU 8.3.0 12:54:05 -- Check for working C compiler: /usr/bin/cc 12:54:05 -- Check for working C compiler: /usr/bin/cc -- works 12:54:05 -- Detecting C compiler ABI info 12:54:06 -- Detecting C compiler ABI info - done 12:54:06 -- Detecting C compile features 12:54:07 -- Detecting C compile features - done 12:54:07 -- Check for working CXX compiler: /usr/bin/c++ 12:54:07 -- Check for working CXX compiler: /usr/bin/c++ -- works 12:54:07 -- Detecting CXX compiler ABI info 12:54:07 -- Detecting CXX compiler ABI info - done 12:54:07 -- Detecting CXX compile features 12:54:09 -- Detecting CXX compile features - done 12:54:09 -- Looking for include file endian.h 12:54:09 -- Looking for include file endian.h - found 12:54:09 -- Check if the system is big endian 12:54:09 -- Searching 16 bit integer 12:54:09 -- Looking for sys/types.h 12:54:09 -- Looking for sys/types.h - found 12:54:09 -- Looking for stdint.h 12:54:09 -- Looking for stdint.h - found 12:54:09 -- Looking for stddef.h 12:54:09 -- Looking for stddef.h - found 12:54:09 -- Check size of unsigned short 12:54:10 -- Check size of unsigned short - done 12:54:10 -- Using unsigned short 12:54:10 -- Check if the system is big endian - little endian 12:54:10 -- Check size of size_t 12:54:10 -- Check size of size_t - done 12:54:10 CMake Warning at examples/CMakeLists.txt:16 (find_package): 12:54:10 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 12:54:10 asked CMake to find a package configuration file provided by "cJSON", but 12:54:10 CMake did not find one. 12:54:10 12:54:10 Could not find a package configuration file provided by "cJSON" with any of 12:54:10 the following names: 12:54:10 12:54:10 cJSONConfig.cmake 12:54:10 cjson-config.cmake 12:54:10 12:54:10 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 12:54:10 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 12:54:10 provides a separate development package or SDK, be sure it has been 12:54:10 installed. 12:54:10 12:54:10 12:54:10 -- Configuring done 12:54:11 -- Generating done 12:54:11 -- Build files have been written to: /tmp/cbor 12:54:11 Scanning dependencies of target cbor_shared 12:54:11 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 12:54:11 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 12:54:12 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 12:54:12 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 12:54:13 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 12:54:13 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 12:54:13 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 12:54:13 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 12:54:14 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 12:54:14 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 12:54:15 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 12:54:15 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 12:54:15 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 12:54:16 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 12:54:16 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 12:54:16 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 12:54:16 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 12:54:17 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 12:54:17 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 12:54:17 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 12:54:17 [ 40%] Linking C shared library libcbor.so 12:54:17 [ 40%] Built target cbor_shared 12:54:17 Scanning dependencies of target cbor 12:54:17 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 12:54:18 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 12:54:19 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 12:54:19 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 12:54:20 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 12:54:20 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 12:54:21 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 12:54:21 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 12:54:21 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 12:54:21 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 12:54:22 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 12:54:22 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 12:54:23 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 12:54:23 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 12:54:23 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 12:54:23 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 12:54:24 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 12:54:24 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 12:54:24 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 12:54:25 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 12:54:25 [ 80%] Linking C static library libcbor.a 12:54:25 [ 80%] Built target cbor 12:54:25 Scanning dependencies of target create_items 12:54:25 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 12:54:25 [ 84%] Linking C executable create_items 12:54:25 [ 84%] Built target create_items 12:54:25 Scanning dependencies of target readfile 12:54:25 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 12:54:25 [ 88%] Linking C executable readfile 12:54:25 [ 88%] Built target readfile 12:54:25 Scanning dependencies of target streaming_parser 12:54:25 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 12:54:26 [ 92%] Linking C executable streaming_parser 12:54:26 [ 92%] Built target streaming_parser 12:54:26 Scanning dependencies of target sort 12:54:26 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 12:54:26 [ 96%] Linking C executable sort 12:54:26 [ 96%] Built target sort 12:54:26 Scanning dependencies of target hello 12:54:26 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 12:54:26 [100%] Linking C executable hello 12:54:26 [100%] Built target hello 12:54:26 Install the project... 12:54:26 -- Install configuration: "Release" 12:54:26 -- Installing: /usr/local/include/cbor/configuration.h 12:54:26 -- Installing: /usr/local/lib64/libcbor.a 12:54:26 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 12:54:26 -- Installing: /usr/local/lib64/libcbor.so.0 12:54:26 -- Installing: /usr/local/lib64/libcbor.so 12:54:26 -- Up-to-date: /usr/local/include/cbor 12:54:26 -- Installing: /usr/local/include/cbor/streaming.h 12:54:26 -- Installing: /usr/local/include/cbor/ints.h 12:54:26 -- Installing: /usr/local/include/cbor/floats_ctrls.h 12:54:26 -- Installing: /usr/local/include/cbor/bytestrings.h 12:54:26 -- Installing: /usr/local/include/cbor/encoding.h 12:54:26 -- Installing: /usr/local/include/cbor/serialization.h 12:54:26 -- Installing: /usr/local/include/cbor/data.h 12:54:26 -- Installing: /usr/local/include/cbor/common.h 12:54:26 -- Installing: /usr/local/include/cbor/callbacks.h 12:54:26 -- Installing: /usr/local/include/cbor/strings.h 12:54:26 -- Installing: /usr/local/include/cbor/tags.h 12:54:26 -- Installing: /usr/local/include/cbor/internal 12:54:26 -- Installing: /usr/local/include/cbor/internal/encoders.h 12:54:26 -- Installing: /usr/local/include/cbor/internal/loaders.h 12:54:26 -- Installing: /usr/local/include/cbor/internal/stack.h 12:54:26 -- Installing: /usr/local/include/cbor/internal/unicode.h 12:54:26 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 12:54:26 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 12:54:26 -- Installing: /usr/local/include/cbor/arrays.h 12:54:26 -- Installing: /usr/local/include/cbor/maps.h 12:54:26 -- Installing: /usr/local/include/cbor.h 12:54:26 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 12:54:29 Removing intermediate container 170338b7a983 12:54:29 ---> 2a1941d3847d 12:54:29 Step 6/21 : RUN mkdir /tmp/sdk 12:54:29 ---> Running in 8592b853565d 12:54:31 Removing intermediate container 8592b853565d 12:54:31 ---> 9d450b0aeef8 12:54:31 Step 7/21 : COPY VERSION /tmp/sdk 12:54:32 ---> ad6c199046da 12:54:32 Step 8/21 : COPY src /tmp/sdk/src 12:54:32 Running on prd-centos7-docker-4c-2g-274 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [Pipeline] ws 12:54:32 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout 12:54:33 ---> 1aa6b2d5070e 12:54:33 Step 9/21 : COPY include /tmp/sdk/include 12:54:34 ---> e18d43da22ec 12:54:34 Step 10/21 : COPY scripts /tmp/sdk/scripts 12:54:34 ---> 658788e90e18 12:54:34 Step 11/21 : COPY LICENSE /tmp/sdk 12:54:35 ---> 8dd500079844 12:54:35 Step 12/21 : COPY Attribution.txt /tmp/sdk 12:54:36 ---> 8de395993898 12:54:36 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 12:54:36 ---> Running in 8832a05565db 12:54:37 + CPPCHECK=false 12:54:37 + DOCGEN=false 12:54:37 + TOMLVER=SDK-0.2 12:54:37 + CUTILVER=1.1.4 12:54:37 + '[' 0 -gt 0 ] 12:54:37 + readlink -f ./scripts/build.sh 12:54:37 + dirname /tmp/sdk/scripts/build.sh 12:54:37 + dirname /tmp/sdk/scripts 12:54:37 + ROOT=/tmp/sdk 12:54:37 + cd /tmp/sdk 12:54:37 + '[' '!' -d deps ] 12:54:37 + mkdir deps 12:54:37 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:54:37 + tar -C deps -z -x -f - 12:54:37 --2021-04-15 12:54:37-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:54:37 Resolving github.com... 140.82.113.4 12:54:37 Connecting to github.com|140.82.113.4|:443... connected. 12:54:37 HTTP request sent, awaiting response... 302 Found 12:54:37 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 12:54:37 --2021-04-15 12:54:37-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 12:54:37 Resolving codeload.github.com... 140.82.112.9 12:54:37 Connecting to codeload.github.com|140.82.112.9|:443... connected. 12:54:37 HTTP request sent, awaiting response... 200 OK 12:54:37 Length: unspecified [application/x-gzip] 12:54:37 Saving to: 'STDOUT' 12:54:37  12:54:37 0K .......... ...... 1019K=0.02s 12:54:37 12:54:37 2021-04-15 12:54:37 (1019 KB/s) - written to stdout [16451] 12:54:37 12:54:38 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 12:54:38 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 12:54:38 + tar -C deps -z -x -f - 12:54:38 --2021-04-15 12:54:37-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 12:54:38 Resolving github.com... 140.82.113.4 12:54:38 Connecting to github.com|140.82.113.4|:443... connected. 12:54:38 HTTP request sent, awaiting response... 302 Found 12:54:38 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 12:54:38 --2021-04-15 12:54:37-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 12:54:38 Resolving codeload.github.com... 140.82.112.9 12:54:38 Connecting to codeload.github.com|140.82.112.9|:443... connected. 12:54:38 HTTP request sent, awaiting response... 200 OK 12:54:38 Length: unspecified [application/x-gzip] 12:54:38 Saving to: 'STDOUT' 12:54:38  12:54:38 0K .......... .......... .......... .......... .......... 1.49M 12:54:38 50K .......... .......... .......... .......... .......... 2.95M 12:54:38 100K .......... .......... .......... .......... .......... 3.41M 12:54:38 150K .......... .......... .......  2.38M=0.07s 12:54:38 12:54:38 2021-04-15 12:54:38 (2.31 MB/s) - written to stdout [181796] 12:54:38 12:54:38 + mkdir -p src/c/iot 12:54:38 + 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 12:54:38 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 12:54:38 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 12:54:38 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 12:54:38 + mkdir -p include/iot 12:54:38 + 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 12:54:38 + mkdir -p include/iot/os 12:54:38 + 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 12:54:38 + mkdir -p /tmp/sdk/build/release 12:54:38 + cd /tmp/sdk/build/release 12:54:38 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 12:54:38 -- The C compiler identification is GNU 8.3.0 12:54:38 -- Check for working C compiler: /usr/bin/cc 12:54:38 -- Check for working C compiler: /usr/bin/cc -- works 12:54:38 -- Detecting C compiler ABI info 12:54:39 -- Detecting C compiler ABI info - done 12:54:39 -- Detecting C compile features 12:54:40 -- Detecting C compile features - done 12:54:40 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:54:40 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:54:40 -- Found LIBYAML: /usr/lib/libyaml.so 12:54:40 -- Found LIBUUID: /usr/lib/libuuid.so 12:54:40 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:54:40 -- C SDK 0.0.0 for Linux 12:54:40 -- Performing Test CSDK_HAVE_ATOMIC 12:54:40 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:54:40 -- Found Curses: /usr/lib/libcurses.so 12:54:40 -- Configuring done 12:54:40 -- Generating done 12:54:40 -- Build files have been written to: /tmp/sdk/build/release 12:54:40 + + maketee all release.log package 12:54:40 12:54:40 Scanning dependencies of target csdk 12:54:40 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:54:41 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:54:41 using credential edgex-jenkins-ssh 12:54:41 Cloning the remote Git repository 12:54:42 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:54:41 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 12:54:42 > git init /w/workspace/device-sdk-c/3 # timeout=10 12:54:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:54:42 > git --version # timeout=10 12:54:42 > git --version # 'git version 2.24.3' 12:54:42 using GIT_SSH to set credentials SSH Credentials for GitHub 12:54:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:54:43 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:54:44 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:54:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:54:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:54:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:54:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:54:43 using GIT_SSH to set credentials SSH Credentials for GitHub 12:54:43 > 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 12:54:44 Merging remotes/origin/master commit 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac into PR head commit 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f 12:54:44 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:54:44 Merge succeeded, producing 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f 12:54:44 Checking out Revision 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f (PR-336) 12:54:45 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:54:44 > git config core.sparsecheckout # timeout=10 12:54:44 > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 12:54:44 > git remote # timeout=10 12:54:44 > git config --get remote.origin.url # timeout=10 12:54:44 using GIT_SSH to set credentials SSH Credentials for GitHub 12:54:44 > git merge 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac # timeout=10 12:54:44 > git rev-parse HEAD^{commit} # timeout=10 12:54:44 > git config core.sparsecheckout # timeout=10 12:54:45 > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 12:54:46 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:54:47 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:54:47 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:54:48 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:54:48 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:54:48 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:54:49 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:54:50 Commit message: "feat: create new devices from json/toml files in configured directory (#47)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:54:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:54:52 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:54:52 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:54:52 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json 12:54:52 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [Pipeline] sh 12:54:53 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:54:53 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:54:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 12:54:54 + true 12:54:54 + sudo service docker restart 12:54:54 Redirecting to /bin/systemctl restart docker.service 12:54:56 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:54:56 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:54:56 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 12:54:57 provisioning config files... 12:54:57 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config8715640156437756063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:54:57 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:54:57 ---> docker-login.sh 12:54:57 nexus3.edgexfoundry.org:10001 12:54:57 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:54:57 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:54:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:58 Configure a credential helper to remove this warning. See 12:54:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:58 12:54:58 Login Succeeded 12:54:58 nexus3.edgexfoundry.org:10002 12:54:58 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:54:59 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:59 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:59 Configure a credential helper to remove this warning. See 12:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:59 12:54:59 Login Succeeded 12:54:59 nexus3.edgexfoundry.org:10003 12:54:59 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:00 Configure a credential helper to remove this warning. See 12:55:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:00 12:55:00 Login Succeeded 12:55:00 nexus3.edgexfoundry.org:10004 12:55:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:01 Configure a credential helper to remove this warning. See 12:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:01 12:55:01 Login Succeeded 12:55:01 docker.io 12:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:01 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:55:02 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:02 Configure a credential helper to remove this warning. See 12:55:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:02 12:55:02 Login Succeeded 12:55:02 ---> docker-login.sh ends [Pipeline] } 12:55:02 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 12:55:02 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [Pipeline] echo 12:55:02 ========================================================= 12:55:02 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 12:55:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:55:03 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:55:03 + 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 . 12:55:04 Sending build context to Docker daemon 2.523MB 12:55:04 Step 1/21 : ARG BASE=alpine:3.12 12:55:04 Step 2/21 : FROM ${BASE} as builder 12:55:04 latest: Pulling from edgex-devops/edgex-gcc-base 12:55:04 e7c96db7181b: Pulling fs layer 12:55:04 4c13bbce0fe7: Pulling fs layer 12:55:04 6059c847ac2f: Pulling fs layer 12:55:04 4c13bbce0fe7: Verifying Checksum 12:55:04 4c13bbce0fe7: Download complete 12:55:04 e7c96db7181b: Verifying Checksum 12:55:04 e7c96db7181b: Download complete 12:55:06 e7c96db7181b: Pull complete 12:55:06 4c13bbce0fe7: Pull complete 12:55:07 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:55:07 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:55:07 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:55:08 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:55:09 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:55:10 6059c847ac2f: Download complete 12:55:11 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:55:12 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:55:15 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:55:16 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:55:16 [ 73%] Linking C shared library libcsdk.so 12:55:16 [ 73%] Built target csdk 12:55:16 Scanning dependencies of target template 12:55:16 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:55:17 [ 76%] Linking C executable template 12:55:17 [ 76%] Built target template 12:55:17 Scanning dependencies of target device-counter 12:55:17 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:55:18 [ 80%] Linking C executable device-counter 12:55:18 [ 80%] Built target device-counter 12:55:18 Scanning dependencies of target device-random 12:55:18 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:55:18 [ 83%] Linking C executable device-random 12:55:18 [ 83%] Built target device-random 12:55:18 Scanning dependencies of target device-gyro 12:55:18 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:55:19 [ 86%] Linking C executable device-gyro 12:55:19 [ 86%] Built target device-gyro 12:55:19 Scanning dependencies of target device-bitfields 12:55:19 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:55:20 [ 90%] Linking C executable device-bitfields 12:55:20 [ 90%] Built target device-bitfields 12:55:20 Scanning dependencies of target template-discovery 12:55:20 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:55:21 [ 93%] Linking C executable template-discovery 12:55:21 [ 93%] Built target template-discovery 12:55:21 Scanning dependencies of target device-file 12:55:21 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:55:21 [ 96%] Linking C executable device-file 12:55:21 [ 96%] Built target device-file 12:55:21 Scanning dependencies of target device-terminal 12:55:21 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:55:22 [100%] Linking C executable device-terminal 12:55:22 [100%] Built target device-terminal 12:55:22 Run CPack packaging tool... 12:55:22 CPack: Create package using TGZ 12:55:22 CPack: Install projects 12:55:22 CPack: - Run preinstall target for: Csdk 12:55:23 CPack: - Install project: Csdk 12:55:23 CPack: Create package 12:55:23 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 12:55:23 + '[' false '=' true ] 12:55:23 + '[' false '=' true ] 12:55:23 + mkdir -p /tmp/sdk/build/debug 12:55:23 + cd /tmp/sdk/build/debug 12:55:23 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 12:55:23 -- The C compiler identification is GNU 8.3.0 12:55:23 -- Check for working C compiler: /usr/bin/cc 12:55:23 -- Check for working C compiler: /usr/bin/cc -- works 12:55:23 -- Detecting C compiler ABI info 12:55:24 -- Detecting C compiler ABI info - done 12:55:24 -- Detecting C compile features 12:55:25 -- Detecting C compile features - done 12:55:25 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:55:25 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:55:25 -- Found LIBYAML: /usr/lib/libyaml.so 12:55:25 -- Found LIBUUID: /usr/lib/libuuid.so 12:55:25 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:55:25 -- C SDK 0.0.0 for Linux 12:55:25 -- Performing Test CSDK_HAVE_ATOMIC 12:55:25 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:55:25 -- Found Curses: /usr/lib/libcurses.so 12:55:25 -- Configuring done 12:55:25 -- Generating done 12:55:25 -- Build files have been written to: /tmp/sdk/build/debug 12:55:25 + + maketee 12:55:25 debug.log 12:55:25 Scanning dependencies of target csdk 12:55:26 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:55:26 6059c847ac2f: Pull complete 12:55:26 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 12:55:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 12:55:26 ---> 5eabd8fd8ba2 12:55:26 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 12:55:26 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:55:26 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:55:26 ---> Running in 2ac2e3c8e3e7 12:55:27 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:55:27 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:55:27 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:55:28 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:55:28 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:55:28 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:55:28 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 12:55:28 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:55:29 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:55:29 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:55:29 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:55:29 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 12:55:30 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:55:30 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 12:55:30 (2/8) Installing libuuid (2.33-r0) 12:55:30 (3/8) Installing libblkid (2.33-r0) 12:55:30 (4/8) Installing libfdisk (2.33-r0) 12:55:30 [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:55:30 (5/8) Installing libmount (2.33-r0) 12:55:30 (6/8) Installing libsmartcols (2.33-r0) 12:55:30 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:55:30 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:55:31 (7/8) Installing util-linux-dev (2.33-r0) 12:55:31 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:55:31 (8/8) Installing wget (1.20.3-r0) 12:55:31 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:55:31 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:55:31 Executing busybox-1.29.3-r10.trigger 12:55:31 OK: 272 MiB in 83 packages 12:55:32 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:55:32 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:55:32 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:55:32 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:55:33 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:55:33 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:55:33 Removing intermediate container 2ac2e3c8e3e7 12:55:33 ---> 3e4f463b5500 12:55:33 Step 4/21 : ENV CBOR_VERSION=0.5.0 12:55:33 ---> Running in 21c119fdc6e7 12:55:33 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:55:33 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:55:34 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:55:34 Removing intermediate container 21c119fdc6e7 12:55:34 ---> 51476272eddc 12:55:34 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 12:55:34 ---> Running in c2a5b4c24e1c 12:55:34 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:55:34 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:55:34 --2021-04-15 12:55:34-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 12:55:34 Resolving github.com... 140.82.114.3 12:55:34 Connecting to github.com|140.82.114.3|:443... connected. 12:55:34 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:55:35 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:55:35 HTTP request sent, awaiting response... 302 Found 12:55:35 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 12:55:35 --2021-04-15 12:55:34-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 12:55:35 Resolving codeload.github.com... 140.82.114.9 12:55:35 Connecting to codeload.github.com|140.82.114.9|:443... connected. 12:55:35 HTTP request sent, awaiting response... 200 OK 12:55:35 Length: unspecified [application/x-gzip] 12:55:35 Saving to: 'STDOUT' 12:55:35  12:55:35 0K .......... .......... .......... .......... .......... 1023K 12:55:35 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:55:35 50K .......... .......... .......... .......... .......... 2.73M 12:55:35 100K .......... .......... .......... .......... .......... 22.5M 12:55:35 150K .......... .......... .......... .......... .......... 25.5M 12:55:35 200K .......... .......... .......... .......... .......... 280K 12:55:35 250K .......... .......... .......... .......... .......... 421K 12:55:35 300K .......... .......... .......... .......... .......... 3.48M 12:55:35 350K .......... .......... .......... .......... .......... 3.07M 12:55:35 400K .......... .......... .......... .......... .......... 1.54M 12:55:35 450K .......... .......... .......... .......... .......... 2.42M 12:55:35 500K .......... .......... .......... .......... .......... 7.33M 12:55:35 550K .......... .......... .......... .......... .......... 1.49M 12:55:36 600K .......... .......... .......... .......... .......... 922K 12:55:36 650K .......... .......... .......... .......... .......... 1.45M 12:55:36 700K .. 20.0M=0.6s 12:55:36 12:55:36 2021-04-15 12:55:35 (1.19 MB/s) - written to stdout [719348] 12:55:36 12:55:36 -- The C compiler identification is GNU 8.3.0 12:55:36 -- The CXX compiler identification is GNU 8.3.0 12:55:36 -- Check for working C compiler: /usr/bin/cc 12:55:36 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:55:36 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:55:36 -- Check for working C compiler: /usr/bin/cc -- works 12:55:36 -- Detecting C compiler ABI info 12:55:36 -- Detecting C compiler ABI info - done 12:55:36 -- Detecting C compile features 12:55:36 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:55:37 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:55:37 -- Detecting C compile features - done 12:55:37 -- Check for working CXX compiler: /usr/bin/c++ 12:55:37 -- Check for working CXX compiler: /usr/bin/c++ -- works 12:55:37 -- Detecting CXX compiler ABI info 12:55:37 -- Detecting CXX compiler ABI info - done 12:55:37 -- Detecting CXX compile features 12:55:37 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:55:38 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:55:38 -- Detecting CXX compile features - done 12:55:38 -- Looking for include file endian.h 12:55:38 -- Looking for include file endian.h - found 12:55:38 -- Check if the system is big endian 12:55:38 -- Searching 16 bit integer 12:55:38 -- Looking for sys/types.h 12:55:38 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:55:38 -- Looking for sys/types.h - found 12:55:38 -- Looking for stdint.h 12:55:38 -- Looking for stdint.h - found 12:55:38 -- Looking for stddef.h 12:55:39 -- Looking for stddef.h - found 12:55:39 -- Check size of unsigned short 12:55:39 -- Check size of unsigned short - done 12:55:39 -- Using unsigned short 12:55:39 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:55:39 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:55:40 [ 73%] Linking C shared library libcsdk.so 12:55:40 -- Check if the system is big endian - little endian 12:55:40 -- Check size of size_t 12:55:40 [ 73%] Built target csdk 12:55:40 Scanning dependencies of target template 12:55:40 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:55:40 -- Check size of size_t - done 12:55:40 CMake Warning at examples/CMakeLists.txt:16 (find_package): 12:55:40 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 12:55:40 asked CMake to find a package configuration file provided by "cJSON", but 12:55:40 CMake did not find one. 12:55:40 12:55:40 Could not find a package configuration file provided by "cJSON" with any of 12:55:40 the following names: 12:55:40 12:55:40 cJSONConfig.cmake 12:55:40 cjson-config.cmake 12:55:40 12:55:40 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 12:55:40 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 12:55:40 provides a separate development package or SDK, be sure it has been 12:55:40 installed. 12:55:40 12:55:40 12:55:40 -- Configuring done 12:55:40 [ 76%] Linking C executable template 12:55:40 -- Generating done 12:55:40 -- Build files have been written to: /tmp/cbor 12:55:40 Scanning dependencies of target cbor_shared 12:55:40 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 12:55:40 [ 76%] Built target template 12:55:40 Scanning dependencies of target device-counter 12:55:40 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:55:41 [ 80%] Linking C executable device-counter 12:55:41 [ 80%] Built target device-counter 12:55:41 Scanning dependencies of target device-random 12:55:41 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:55:41 [ 83%] Linking C executable device-random 12:55:41 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 12:55:41 [ 83%] Built target device-random 12:55:41 Scanning dependencies of target device-gyro 12:55:41 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:55:41 [ 86%] Linking C executable device-gyro 12:55:41 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 12:55:41 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 12:55:42 [ 86%] Built target device-gyro 12:55:42 Scanning dependencies of target device-bitfields 12:55:42 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:55:42 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 12:55:42 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 12:55:42 [ 90%] Linking C executable device-bitfields 12:55:42 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 12:55:42 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 12:55:42 [ 90%] Built target device-bitfields 12:55:42 Scanning dependencies of target template-discovery 12:55:42 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:55:43 [ 93%] Linking C executable template-discovery 12:55:43 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 12:55:43 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 12:55:43 [ 93%] Built target template-discovery 12:55:43 Scanning dependencies of target device-file 12:55:43 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:55:43 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 12:55:43 [ 96%] Linking C executable device-file 12:55:43 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 12:55:43 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 12:55:43 [ 96%] Built target device-file 12:55:43 Scanning dependencies of target device-terminal 12:55:43 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:55:43 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 12:55:43 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 12:55:43 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 12:55:44 [100%] Linking C executable device-terminal 12:55:44 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 12:55:44 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 12:55:44 [100%] Built target device-terminal 12:55:44 make: Entering directory '/tmp/sdk/build/release' 12:55:44 make[1]: Entering directory '/tmp/sdk/build/release' 12:55:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:55:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:55:44 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 12:55:44 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 12:55:44 [ 73%] Built target csdk 12:55:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:55:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:55:44 [ 76%] Built target template 12:55:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:55:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:55:44 [ 80%] Built target device-counter 12:55:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:55:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:55:44 [ 83%] Built target device-random 12:55:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:55:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:55:44 [ 86%] Built target device-gyro 12:55:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:55:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:55:44 [ 90%] Built target device-bitfields 12:55:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:55:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:55:44 [ 93%] Built target template-discovery 12:55:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:55:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:55:44 [ 96%] Built target device-file 12:55:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:55:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:55:44 [100%] Built target device-terminal 12:55:44 make[1]: Leaving directory '/tmp/sdk/build/release' 12:55:44 Install the project... 12:55:44 -- Install configuration: "Release" 12:55:44 -- Installing: /usr/local/lib/libcsdk.so 12:55:44 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 12:55:44 -- Up-to-date: /usr/local/include 12:55:44 -- Installing: /usr/local/include/edgex 12:55:44 -- Installing: /usr/local/include/edgex/rest-server.h 12:55:44 -- Installing: /usr/local/include/edgex/edgex-base.h 12:55:44 -- Installing: /usr/local/include/edgex/edgex.h 12:55:44 -- Installing: /usr/local/include/edgex/devices.h 12:55:44 -- Installing: /usr/local/include/edgex/profiles.h 12:55:44 -- Installing: /usr/local/include/edgex/csdk-defs.h 12:55:44 -- Installing: /usr/local/include/devsdk 12:55:44 -- Installing: /usr/local/include/devsdk/devsdk-base.h 12:55:44 -- Installing: /usr/local/include/devsdk/devsdk.h 12:55:44 -- Installing: /usr/local/include/iot 12:55:44 -- Installing: /usr/local/include/iot/json.h 12:55:44 -- Installing: /usr/local/include/iot/container.h 12:55:44 -- Installing: /usr/local/include/iot/component.h 12:55:44 -- Installing: /usr/local/include/iot/typecode.h 12:55:44 -- Installing: /usr/local/include/iot/iot.h 12:55:44 -- Installing: /usr/local/include/iot/time.h 12:55:44 -- Installing: /usr/local/include/iot/hash.h 12:55:44 -- Installing: /usr/local/include/iot/logger.h 12:55:44 -- Installing: /usr/local/include/iot/os 12:55:44 -- Installing: /usr/local/include/iot/os/zephyr.h 12:55:44 -- Installing: /usr/local/include/iot/os/linux.h 12:55:44 -- Installing: /usr/local/include/iot/os/macos.h 12:55:44 -- Installing: /usr/local/include/iot/scheduler.h 12:55:44 -- Installing: /usr/local/include/iot/data.h 12:55:44 -- Installing: /usr/local/include/iot/thread.h 12:55:44 -- Installing: /usr/local/include/iot/os.h 12:55:44 -- Installing: /usr/local/include/iot/base64.h 12:55:44 -- Installing: /usr/local/include/iot/defs.h 12:55:44 -- Installing: /usr/local/include/iot/threadpool.h 12:55:44 -- Installing: /usr/local/include/iot/config.h 12:55:44 -- Installing: /usr/local/share/device-sdk-c/LICENSE 12:55:44 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 12:55:44 make: Leaving directory '/tmp/sdk/build/release' 12:55:44 [ 40%] Linking C shared library libcbor.so 12:55:44 [ 40%] Built target cbor_shared 12:55:44 Scanning dependencies of target cbor 12:55:44 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 12:55:45 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 12:55:45 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 12:55:45 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 12:55:46 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 12:55:46 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 12:55:46 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 12:55:46 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 12:55:47 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 12:55:47 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 12:55:47 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 12:55:47 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 12:55:47 Removing intermediate container 8832a05565db 12:55:47 ---> c9840194e008 12:55:47 Step 14/21 : FROM ${BASE} 12:55:47 ---> b23d30803547 12:55:47 Step 15/21 : LABEL maintainer="IOTech " 12:55:47 ---> Running in 7ff311568ea0 12:55:47 Removing intermediate container 7ff311568ea0 12:55:47 ---> e9b34df21a55 12:55:47 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 12:55:47 ---> Running in fd9bd1b884d7 12:55:47 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 12:55:47 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 12:55:48 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 12:55:48 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 12:55:48 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 12:55:48 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 12:55:48 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 12:55:48 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 12:55:49 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 12:55:49 [ 80%] Linking C static library libcbor.a 12:55:49 [ 80%] Built target cbor 12:55:49 Scanning dependencies of target create_items 12:55:49 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 12:55:49 [ 84%] Linking C executable create_items 12:55:49 [ 84%] Built target create_items 12:55:49 Scanning dependencies of target readfile 12:55:49 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 12:55:49 [ 88%] Linking C executable readfile 12:55:49 [ 88%] Built target readfile 12:55:49 Scanning dependencies of target streaming_parser 12:55:49 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 12:55:49 [ 92%] Linking C executable streaming_parser 12:55:49 [ 92%] Built target streaming_parser 12:55:49 Scanning dependencies of target sort 12:55:49 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 12:55:49 [ 96%] Linking C executable sort 12:55:49 [ 96%] Built target sort 12:55:49 Scanning dependencies of target hello 12:55:49 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 12:55:50 [100%] Linking C executable hello 12:55:50 [100%] Built target hello 12:55:50 Install the project... 12:55:50 -- Install configuration: "Release" 12:55:50 -- Installing: /usr/local/include/cbor/configuration.h 12:55:50 -- Installing: /usr/local/lib64/libcbor.a 12:55:50 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 12:55:50 -- Installing: /usr/local/lib64/libcbor.so.0 12:55:50 -- Installing: /usr/local/lib64/libcbor.so 12:55:50 -- Up-to-date: /usr/local/include/cbor 12:55:50 -- Installing: /usr/local/include/cbor/arrays.h 12:55:50 -- Installing: /usr/local/include/cbor/bytestrings.h 12:55:50 -- Installing: /usr/local/include/cbor/callbacks.h 12:55:50 -- Installing: /usr/local/include/cbor/common.h 12:55:50 -- Installing: /usr/local/include/cbor/data.h 12:55:50 -- Installing: /usr/local/include/cbor/encoding.h 12:55:50 -- Installing: /usr/local/include/cbor/floats_ctrls.h 12:55:50 -- Installing: /usr/local/include/cbor/internal 12:55:50 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 12:55:50 -- Installing: /usr/local/include/cbor/internal/encoders.h 12:55:50 -- Installing: /usr/local/include/cbor/internal/loaders.h 12:55:50 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 12:55:50 -- Installing: /usr/local/include/cbor/internal/stack.h 12:55:50 -- Installing: /usr/local/include/cbor/internal/unicode.h 12:55:50 -- Installing: /usr/local/include/cbor/ints.h 12:55:50 -- Installing: /usr/local/include/cbor/maps.h 12:55:50 -- Installing: /usr/local/include/cbor/serialization.h 12:55:50 -- Installing: /usr/local/include/cbor/streaming.h 12:55:50 -- Installing: /usr/local/include/cbor/strings.h 12:55:50 -- Installing: /usr/local/include/cbor/tags.h 12:55:50 -- Installing: /usr/local/include/cbor.h 12:55:50 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 12:55:50 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 12:55:50 (1/3) Installing curl (7.64.0-r5) 12:55:50 (2/3) Installing libuuid (2.33-r0) 12:55:50 (3/3) Installing wget (1.20.3-r0) 12:55:50 Executing busybox-1.29.3-r10.trigger 12:55:50 OK: 281 MiB in 78 packages 12:55:51 Removing intermediate container fd9bd1b884d7 12:55:51 ---> 7726f725ceb9 12:55:51 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 12:55:52 ---> bd9a800af463 12:55:52 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 12:55:53 ---> 3195b69d1723 12:55:53 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 12:55:53 Removing intermediate container c2a5b4c24e1c 12:55:53 ---> b56c90a6ae3c 12:55:53 Step 6/21 : RUN mkdir /tmp/sdk 12:55:53 ---> Running in a4fe2c713d88 12:55:53 ---> 8150015a4ddb 12:55:53 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 12:55:54 ---> a89ae57e2005 12:55:54 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 12:55:55 ---> 6dd5e234ea2e 12:55:55 Successfully built 6dd5e234ea2e 12:55:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:55:55 Removing intermediate container a4fe2c713d88 12:55:55 ---> d9f7e062afb8 12:55:55 Step 7/21 : COPY VERSION /tmp/sdk 12:55:55 + docker inspect -f . ci-base-image-arm64 12:55:55 . [Pipeline] withDockerContainer 12:55:56 prd-ubuntu18.04-docker-arm64-4c-16g-273 does not seem to be running inside a container 12:55:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:55:56 ---> 5f94da7c9598 12:55:56 Step 8/21 : COPY src /tmp/sdk/src 12:55:57 $ docker top 27d3a15aae63e55fedff1141f76bbd97367959fe3357356a86f5b6ef03bf4bfb -eo pid,comm [Pipeline] { [Pipeline] sh 12:55:58 ---> 16e04cabeedc 12:55:58 Step 9/21 : COPY include /tmp/sdk/include 12:55:58 + make test 12:55:58 echo "make test" 12:55:58 make test [Pipeline] } 12:55:58 $ docker stop --time=1 27d3a15aae63e55fedff1141f76bbd97367959fe3357356a86f5b6ef03bf4bfb 12:55:58 ---> 5e6822aa9817 12:55:58 Step 10/21 : COPY scripts /tmp/sdk/scripts 12:55:59 ---> c8cc8dc3acfa 12:55:59 Step 11/21 : COPY LICENSE /tmp/sdk 12:56:00 ---> 0ca829bce1a4 12:56:00 Step 12/21 : COPY Attribution.txt /tmp/sdk 12:56:00 $ docker rm -f 27d3a15aae63e55fedff1141f76bbd97367959fe3357356a86f5b6ef03bf4bfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 12:56:01 ---> eb87fb78bf3e 12:56:01 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 12:56:01 ---> Running in 53686e6e0b4d 12:56:03 + CPPCHECK=false 12:56:03 + DOCGEN=false 12:56:03 + TOMLVER=SDK-0.2 12:56:03 + CUTILVER=1.1.4 12:56:03 + '[' 0 -gt 0 ] 12:56:03 + readlink -f ./scripts/build.sh 12:56:03 + dirname /tmp/sdk/scripts/build.sh 12:56:03 + dirname /tmp/sdk/scripts 12:56:03 + ROOT=/tmp/sdk 12:56:03 + cd /tmp/sdk 12:56:03 + '[' '!' -d deps ] 12:56:03 + mkdir deps 12:56:03 + tar -C deps -z -x -f - 12:56:03 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:56:03 --2021-04-15 12:56:02-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:56:03 Resolving github.com... 140.82.114.3 12:56:03 Connecting to github.com|140.82.114.3|:443... connected. 12:56:03 HTTP request sent, awaiting response... 302 Found 12:56:03 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 12:56:03 --2021-04-15 12:56:03-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 12:56:03 Resolving codeload.github.com... 140.82.114.9 12:56:03 Connecting to codeload.github.com|140.82.114.9|:443... connected. 12:56:03 HTTP request sent, awaiting response... 200 OK 12:56:03 Length: unspecified [application/x-gzip] 12:56:03 Saving to: 'STDOUT' 12:56:03 12:56:03 0K .......... ...... 616K=0.03s 12:56:03 12:56:03 2021-04-15 12:56:03 (616 KB/s) - written to stdout [16451] 12:56:03 [Pipeline] sh 12:56:03 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 12:56:03 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 12:56:03 + tar -C deps -z -x -f - 12:56:03 --2021-04-15 12:56:03-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 12:56:03 Resolving github.com... 140.82.114.3 12:56:03 Connecting to github.com|140.82.114.3|:443... connected. 12:56:03 HTTP request sent, awaiting response... 302 Found 12:56:03 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 12:56:03 --2021-04-15 12:56:03-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 12:56:03 Resolving codeload.github.com... 140.82.114.9 12:56:03 Connecting to codeload.github.com|140.82.114.9|:443... connected. 12:56:04 HTTP request sent, awaiting response... 200 OK 12:56:04 Length: unspecified [application/x-gzip] 12:56:04 Saving to: 'STDOUT' 12:56:04 12:56:04 0K .......... .......... .......... .......... .......... 1.18M 12:56:04 50K .......... .......... .......... .......... .......... 2.09M 12:56:04 100K .......... .......... .......... .......... .......... 2.89M 12:56:04 150K .......... .......... ....... 2.61M=0.09s 12:56:04 12:56:04 2021-04-15 12:56:04 (1.88 MB/s) - written to stdout [181796] 12:56:04 12:56:04 + mkdir -p src/c/iot 12:56:04 + 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 12:56:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:56:04 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 12:56:04 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 12:56:04 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 12:56:04 + mkdir -p include/iot 12:56:04 + 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 12:56:04 + mkdir -p include/iot/os 12:56:04 + 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 12:56:04 + mkdir -p /tmp/sdk/build/release 12:56:04 + cd /tmp/sdk/build/release 12:56:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 12:56:04 -- The C compiler identification is GNU 8.3.0 12:56:04 -- Check for working C compiler: /usr/bin/cc 12:56:04 + ls -al . 12:56:04 total 192 12:56:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 12:53 . 12:56:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 12:53 .. 12:56:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 12:53 .git 12:56:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 12:53 .github 12:56:04 -rw-rw-r-- 1 jenkins jenkins 176 Apr 15 12:53 .gitignore 12:56:04 -rw-rw-r-- 1 jenkins jenkins 3104 Apr 15 12:53 Attribution.txt 12:56:04 -rw-rw-r-- 1 jenkins jenkins 7129 Apr 15 12:53 CHANGES 12:56:04 -rw-rw-r-- 1 jenkins jenkins 108574 Apr 15 12:53 Doxyfile 12:56:04 -rw-rw-r-- 1 jenkins jenkins 784 Apr 15 12:53 Jenkinsfile 12:56:04 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 15 12:53 LICENSE 12:56:04 -rw-rw-r-- 1 jenkins jenkins 444 Apr 15 12:53 Makefile 12:56:04 -rw-rw-r-- 1 jenkins jenkins 2694 Apr 15 12:53 README.md 12:56:04 -rw-rw-r-- 1 jenkins jenkins 6654 Apr 15 12:53 README.v2.md 12:56:04 -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 12:51 VERSION 12:56:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 12:53 docs 12:56:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 12:53 include 12:56:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 12:53 scripts 12:56:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 12:53 src [Pipeline] isUnix [Pipeline] sh 12:56:04 -- Check for working C compiler: /usr/bin/cc -- works 12:56:04 -- Detecting C compiler ABI info 12:56:04 -- Detecting C compiler ABI info - done 12:56:04 -- Detecting C compile features 12:56:04 + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f --label arch=arm64 --label version=0.0.0 . 12:56:05 Sending build context to Docker daemon 2.522MB 12:56:05 Step 1/15 : ARG BASE=alpine:3.12 12:56:05 Step 2/15 : FROM ${BASE} 12:56:05 ---> 6dd5e234ea2e 12:56:05 Step 3/15 : LABEL maintainer="IOTech " 12:56:05 -- Detecting C compile features - done 12:56:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:56:05 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:56:05 -- Found LIBYAML: /usr/lib/libyaml.so 12:56:05 -- Found LIBUUID: /usr/lib/libuuid.so 12:56:05 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:56:05 -- C SDK 0.0.0 for Linux 12:56:05 -- Performing Test CSDK_HAVE_ATOMIC 12:56:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:56:05 -- Found Curses: /usr/lib/libcurses.so 12:56:05 -- Configuring done 12:56:05 -- Generating done 12:56:05 -- Build files have been written to: /tmp/sdk/build/release 12:56:05 + make all package 12:56:05 + tee release.log 12:56:05 ---> Running in 989eec71e507 12:56:06 Removing intermediate container 989eec71e507 12:56:06 ---> 3b7d34306ee9 12:56:06 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 12:56:06 Scanning dependencies of target csdk 12:56:06 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:56:06 ---> Running in 0d37aaa4bf42 12:56:07 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:56:07 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 12:56:07 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:56:08 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:56:08 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 12:56:08 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 12:56:08 (2/6) Installing libblkid (2.33-r0) 12:56:08 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:56:08 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:56:08 (3/6) Installing libfdisk (2.33-r0) 12:56:08 (4/6) Installing libmount (2.33-r0) 12:56:08 (5/6) Installing libsmartcols (2.33-r0) 12:56:08 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:56:09 (6/6) Installing util-linux-dev (2.33-r0) 12:56:09 Executing busybox-1.29.3-r10.trigger 12:56:09 OK: 286 MiB in 84 packages 12:56:09 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:56:09 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:56:09 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:56:10 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:56:10 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:56:10 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:56:10 Removing intermediate container 0d37aaa4bf42 12:56:10 ---> 60579381b1b3 12:56:10 Step 5/15 : COPY VERSION /edgex-c-sdk/ 12:56:10 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:56:11 ---> 76d814c6e089 12:56:11 Step 6/15 : COPY src /edgex-c-sdk/src/ 12:56:12 [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:56:12 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:56:12 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:56:12 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:56:12 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:56:12 ---> 264c94f224e9 12:56:12 Step 7/15 : COPY include /edgex-c-sdk/include/ 12:56:12 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:56:13 ---> 221332b10119 12:56:13 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 12:56:14 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:56:14 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:56:14 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:56:14 ---> 1405a4364bdc 12:56:14 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 12:56:14 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:56:14 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:56:14 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:56:15 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:56:15 ---> 8edc57adbacd 12:56:15 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 12:56:15 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:56:15 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:56:15 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:56:16 ---> b39990d56cea 12:56:16 Step 11/15 : WORKDIR /edgex-c-sdk 12:56:16 ---> Running in bea7add65cdc 12:56:16 Removing intermediate container bea7add65cdc 12:56:16 ---> 770ecc2e71a4 12:56:16 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 12:56:16 ---> Running in 9c99b416c065 12:56:16 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:56:16 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:56:17 Removing intermediate container 9c99b416c065 12:56:17 ---> 1d22a5749fc7 12:56:17 Step 13/15 : LABEL arch=arm64 12:56:17 ---> Running in 0f13cbcfe400 12:56:17 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:56:17 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:56:17 Removing intermediate container 0f13cbcfe400 12:56:17 ---> e0cb55fcb39c 12:56:17 Step 14/15 : LABEL git_sha=5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f 12:56:17 ---> Running in 09f9471ad243 12:56:18 Removing intermediate container 09f9471ad243 12:56:18 ---> 16b17eae68eb 12:56:18 Step 15/15 : LABEL version=0.0.0 12:56:18 ---> Running in c9fe83ab40a0 12:56:19 Removing intermediate container c9fe83ab40a0 12:56:19 ---> b34f0467cf08 12:56:19 [Warning] One or more build-args [MAKE ARCH] were not consumed 12:56:19 Successfully built b34f0467cf08 12:56:19 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] } 12:56:20 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:56:20 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:56:20 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:56:20 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:56:20 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:56:21 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:56:22 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:56:23 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:56:24 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:56:24 [ 73%] Linking C shared library libcsdk.so 12:56:24 [ 73%] Built target csdk 12:56:24 Scanning dependencies of target template 12:56:24 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:56:25 [ 76%] Linking C executable template 12:56:25 [ 76%] Built target template 12:56:25 Scanning dependencies of target device-counter 12:56:25 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:56:25 [ 80%] Linking C executable device-counter 12:56:25 [ 80%] Built target device-counter 12:56:25 Scanning dependencies of target device-random 12:56:25 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:56:25 [ 83%] Linking C executable device-random 12:56:26 [ 83%] Built target device-random 12:56:26 Scanning dependencies of target device-gyro 12:56:26 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:56:26 [ 86%] Linking C executable device-gyro 12:56:26 [ 86%] Built target device-gyro 12:56:26 Scanning dependencies of target device-bitfields 12:56:26 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:56:26 [ 90%] Linking C executable device-bitfields 12:56:27 [ 90%] Built target device-bitfields 12:56:27 Scanning dependencies of target template-discovery 12:56:27 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:56:27 [ 93%] Linking C executable template-discovery 12:56:27 [ 93%] Built target template-discovery 12:56:27 Scanning dependencies of target device-file 12:56:27 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:56:27 [ 96%] Linking C executable device-file 12:56:28 [ 96%] Built target device-file 12:56:28 Scanning dependencies of target device-terminal 12:56:28 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:56:28 [100%] Linking C executable device-terminal 12:56:28 [100%] Built target device-terminal 12:56:28 Run CPack packaging tool... 12:56:28 CPack: Create package using TGZ 12:56:28 CPack: Install projects 12:56:28 CPack: - Run preinstall target for: Csdk 12:56:29 CPack: - Install project: Csdk 12:56:29 CPack: Create package 12:56:29 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 12:56:29 + '[' false '=' true ] 12:56:29 + '[' false '=' true ] 12:56:29 + mkdir -p /tmp/sdk/build/debug 12:56:29 + cd /tmp/sdk/build/debug 12:56:29 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 12:56:29 -- The C compiler identification is GNU 8.3.0 12:56:29 -- Check for working C compiler: /usr/bin/cc 12:56:29 -- Check for working C compiler: /usr/bin/cc -- works 12:56:29 -- Detecting C compiler ABI info 12:56:29 -- Detecting C compiler ABI info - done 12:56:29 -- Detecting C compile features 12:56:30 -- Detecting C compile features - done 12:56:30 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:56:30 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:56:30 -- Found LIBYAML: /usr/lib/libyaml.so 12:56:30 -- Found LIBUUID: /usr/lib/libuuid.so 12:56:30 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:56:30 -- C SDK 0.0.0 for Linux 12:56:30 -- Performing Test CSDK_HAVE_ATOMIC 12:56:30 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:56:30 -- Found Curses: /usr/lib/libcurses.so 12:56:30 -- Configuring done 12:56:30 -- Generating done 12:56:30 -- Build files have been written to: /tmp/sdk/build/debug 12:56:30 + make 12:56:30 + tee debug.log 12:56:30 Scanning dependencies of target csdk 12:56:30 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:56:31 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:56:31 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:56:31 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:56:31 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:56:31 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:56:31 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:56:32 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:56:32 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:56:32 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:56:32 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:56:33 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:56:33 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:56:33 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:56:33 [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:56:33 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:56:33 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:56:34 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:56:34 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:56:34 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:56:34 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:56:34 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:56:34 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:56:35 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:56:35 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:56:35 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:56:35 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:56:35 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:56:35 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:56:35 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:56:36 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:56:36 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:56:37 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:56:37 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:56:37 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:56:37 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:56:38 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:56:38 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:56:38 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:56:38 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:56:38 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:56:39 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:56:39 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:56:39 [ 73%] Linking C shared library libcsdk.so 12:56:39 [ 73%] Built target csdk 12:56:39 Scanning dependencies of target template 12:56:39 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:56:39 [ 76%] Linking C executable template 12:56:39 [ 76%] Built target template 12:56:39 Scanning dependencies of target device-counter 12:56:40 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:56:40 [ 80%] Linking C executable device-counter 12:56:40 [ 80%] Built target device-counter 12:56:40 Scanning dependencies of target device-random 12:56:40 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:56:40 [ 83%] Linking C executable device-random 12:56:40 [ 83%] Built target device-random 12:56:40 Scanning dependencies of target device-gyro 12:56:40 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:56:40 [ 86%] Linking C executable device-gyro 12:56:41 [ 86%] Built target device-gyro 12:56:41 Scanning dependencies of target device-bitfields 12:56:41 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:56:41 [ 90%] Linking C executable device-bitfields 12:56:41 [ 90%] Built target device-bitfields 12:56:41 Scanning dependencies of target template-discovery 12:56:41 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:56:41 [ 93%] Linking C executable template-discovery 12:56:41 [ 93%] Built target template-discovery 12:56:41 Scanning dependencies of target device-file 12:56:41 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:56:41 [ 96%] Linking C executable device-file 12:56:42 [ 96%] Built target device-file 12:56:42 Scanning dependencies of target device-terminal 12:56:42 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:56:42 [100%] Linking C executable device-terminal 12:56:42 [100%] Built target device-terminal 12:56:42 make: Entering directory '/tmp/sdk/build/release' 12:56:42 make[1]: Entering directory '/tmp/sdk/build/release' 12:56:42 make[2]: Entering directory '/tmp/sdk/build/release' 12:56:42 make[2]: Leaving directory '/tmp/sdk/build/release' 12:56:42 [ 73%] Built target csdk 12:56:42 make[2]: Entering directory '/tmp/sdk/build/release' 12:56:42 make[2]: Leaving directory '/tmp/sdk/build/release' 12:56:42 [ 76%] Built target template 12:56:42 make[2]: Entering directory '/tmp/sdk/build/release' 12:56:42 make[2]: Leaving directory '/tmp/sdk/build/release' 12:56:42 [ 80%] Built target device-counter 12:56:42 make[2]: Entering directory '/tmp/sdk/build/release' 12:56:42 make[2]: Leaving directory '/tmp/sdk/build/release' 12:56:42 [ 83%] Built target device-random 12:56:42 make[2]: Entering directory '/tmp/sdk/build/release' 12:56:42 make[2]: Leaving directory '/tmp/sdk/build/release' 12:56:42 [ 86%] Built target device-gyro 12:56:42 make[2]: Entering directory '/tmp/sdk/build/release' 12:56:42 make[2]: Leaving directory '/tmp/sdk/build/release' 12:56:42 [ 90%] Built target device-bitfields 12:56:42 make[2]: Entering directory '/tmp/sdk/build/release' 12:56:42 make[2]: Leaving directory '/tmp/sdk/build/release' 12:56:42 [ 93%] Built target template-discovery 12:56:42 make[2]: Entering directory '/tmp/sdk/build/release' 12:56:43 make[2]: Leaving directory '/tmp/sdk/build/release' 12:56:43 [ 96%] Built target device-file 12:56:43 make[2]: Entering directory '/tmp/sdk/build/release' 12:56:43 make[2]: Leaving directory '/tmp/sdk/build/release' 12:56:43 [100%] Built target device-terminal 12:56:43 make[1]: Leaving directory '/tmp/sdk/build/release' 12:56:43 Install the project... 12:56:43 -- Install configuration: "Release" 12:56:43 -- Installing: /usr/local/lib/libcsdk.so 12:56:43 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 12:56:43 -- Up-to-date: /usr/local/include 12:56:43 -- Installing: /usr/local/include/devsdk 12:56:43 -- Installing: /usr/local/include/devsdk/devsdk-base.h 12:56:43 -- Installing: /usr/local/include/devsdk/devsdk.h 12:56:43 -- Installing: /usr/local/include/edgex 12:56:43 -- Installing: /usr/local/include/edgex/devices.h 12:56:43 -- Installing: /usr/local/include/edgex/edgex-base.h 12:56:43 -- Installing: /usr/local/include/edgex/edgex.h 12:56:43 -- Installing: /usr/local/include/edgex/profiles.h 12:56:43 -- Installing: /usr/local/include/edgex/rest-server.h 12:56:43 -- Installing: /usr/local/include/edgex/csdk-defs.h 12:56:43 -- Installing: /usr/local/include/iot 12:56:43 -- Installing: /usr/local/include/iot/base64.h 12:56:43 -- Installing: /usr/local/include/iot/component.h 12:56:43 -- Installing: /usr/local/include/iot/config.h 12:56:43 -- Installing: /usr/local/include/iot/container.h 12:56:43 -- Installing: /usr/local/include/iot/data.h 12:56:43 -- Installing: /usr/local/include/iot/hash.h 12:56:43 -- Installing: /usr/local/include/iot/iot.h 12:56:43 -- Installing: /usr/local/include/iot/json.h 12:56:43 -- Installing: /usr/local/include/iot/logger.h 12:56:43 -- Installing: /usr/local/include/iot/os.h 12:56:43 -- Installing: /usr/local/include/iot/scheduler.h 12:56:43 -- Installing: /usr/local/include/iot/thread.h 12:56:43 -- Installing: /usr/local/include/iot/threadpool.h 12:56:43 -- Installing: /usr/local/include/iot/time.h 12:56:43 -- Installing: /usr/local/include/iot/typecode.h 12:56:43 -- Installing: /usr/local/include/iot/os 12:56:43 -- Installing: /usr/local/include/iot/os/linux.h 12:56:43 -- Installing: /usr/local/include/iot/os/macos.h 12:56:43 -- Installing: /usr/local/include/iot/os/zephyr.h 12:56:43 -- Installing: /usr/local/include/iot/defs.h 12:56:43 -- Installing: /usr/local/share/device-sdk-c/LICENSE 12:56:43 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 12:56:43 make: Leaving directory '/tmp/sdk/build/release' 12:56:45 Removing intermediate container 53686e6e0b4d 12:56:45 ---> f61f32800325 12:56:45 Step 14/21 : FROM ${BASE} 12:56:45 ---> 5eabd8fd8ba2 12:56:45 Step 15/21 : LABEL maintainer="IOTech " 12:56:45 ---> Running in bfeaaac550ec 12:56:46 Removing intermediate container bfeaaac550ec 12:56:46 ---> 5119c3094656 12:56:46 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 12:56:46 ---> Running in f3152098241c 12:56:48 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 12:56:49 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 12:56:50 (1/3) Installing curl (7.64.0-r5) 12:56:50 (2/3) Installing libuuid (2.33-r0) 12:56:50 (3/3) Installing wget (1.20.3-r0) 12:56:50 Executing busybox-1.29.3-r10.trigger 12:56:50 OK: 268 MiB in 78 packages 12:56:52 Removing intermediate container f3152098241c 12:56:52 ---> 24eb827389d3 12:56:52 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 12:56:53 ---> 98d113b2459e 12:56:53 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 12:56:53 ---> d90075a92c5e 12:56:53 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 12:56:54 ---> f894c11567eb 12:56:54 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 12:56:55 ---> fe7e47fa7fcb 12:56:55 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 12:56:57 ---> 9d1b82f57e50 12:56:57 Successfully built 9d1b82f57e50 12:56:57 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 12:56:57 + docker inspect -f . ci-base-image-x86_64 12:56:57 . [Pipeline] withDockerContainer 12:56:58 prd-centos7-docker-4c-2g-274 does not seem to be running inside a container 12:56:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:57:00 $ docker top 308bacb838b4e6b9c9d7220a0a84776fc7ee488da2e3e20298b82bf8790d0afb -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:01 + make test 12:57:01 echo "make test" 12:57:01 make test [Pipeline] } 12:57:01 $ docker stop --time=1 308bacb838b4e6b9c9d7220a0a84776fc7ee488da2e3e20298b82bf8790d0afb 12:57:03 $ docker rm -f 308bacb838b4e6b9c9d7220a0a84776fc7ee488da2e3e20298b82bf8790d0afb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:57:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:57:04 + ls -al . 12:57:04 total 160 12:57:04 drwxrwxr-x. 8 jenkins jenkins 260 Apr 15 12:54 . 12:57:04 drwxrwxr-x. 4 jenkins jenkins 28 Apr 15 12:54 .. 12:57:04 -rw-rw-r--. 1 jenkins jenkins 3104 Apr 15 12:54 Attribution.txt 12:57:04 -rw-rw-r--. 1 jenkins jenkins 7129 Apr 15 12:54 CHANGES 12:57:04 drwxrwxr-x. 2 jenkins jenkins 121 Apr 15 12:54 docs 12:57:04 -rw-rw-r--. 1 jenkins jenkins 108574 Apr 15 12:54 Doxyfile 12:57:04 drwxrwxr-x. 8 jenkins jenkins 179 Apr 15 12:54 .git 12:57:04 drwxrwxr-x. 2 jenkins jenkins 81 Apr 15 12:54 .github 12:57:04 -rw-rw-r--. 1 jenkins jenkins 176 Apr 15 12:54 .gitignore 12:57:04 drwxrwxr-x. 4 jenkins jenkins 33 Apr 15 12:54 include 12:57:04 -rw-rw-r--. 1 jenkins jenkins 784 Apr 15 12:54 Jenkinsfile 12:57:04 -rw-rw-r--. 1 jenkins jenkins 10174 Apr 15 12:54 LICENSE 12:57:04 -rw-rw-r--. 1 jenkins jenkins 444 Apr 15 12:54 Makefile 12:57:04 -rw-rw-r--. 1 jenkins jenkins 2694 Apr 15 12:54 README.md 12:57:04 -rw-rw-r--. 1 jenkins jenkins 6654 Apr 15 12:54 README.v2.md 12:57:04 drwxrwxr-x. 2 jenkins jenkins 98 Apr 15 12:54 scripts 12:57:04 drwxrwxr-x. 4 jenkins jenkins 50 Apr 15 12:54 src 12:57:04 -rw-rw-r--. 1 jenkins jenkins 5 Apr 15 12:51 VERSION [Pipeline] isUnix [Pipeline] sh 12:57:05 + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f --label arch=amd64 --label version=0.0.0 . 12:57:06 Sending build context to Docker daemon 2.523MB 12:57:06 Step 1/15 : ARG BASE=alpine:3.12 12:57:06 Step 2/15 : FROM ${BASE} 12:57:06 ---> 9d1b82f57e50 12:57:06 Step 3/15 : LABEL maintainer="IOTech " 12:57:06 ---> Running in 641772dc1d29 12:57:07 Removing intermediate container 641772dc1d29 12:57:07 ---> 44d965a7d541 12:57:07 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 12:57:07 ---> Running in fcd67b4edb36 12:57:09 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 12:57:10 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 12:57:10 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 12:57:10 (2/6) Installing libblkid (2.33-r0) 12:57:11 (3/6) Installing libfdisk (2.33-r0) 12:57:11 (4/6) Installing libmount (2.33-r0) 12:57:11 (5/6) Installing libsmartcols (2.33-r0) 12:57:11 (6/6) Installing util-linux-dev (2.33-r0) 12:57:12 Executing busybox-1.29.3-r10.trigger 12:57:12 OK: 272 MiB in 84 packages 12:57:13 Removing intermediate container fcd67b4edb36 12:57:13 ---> 74ca00d4d729 12:57:13 Step 5/15 : COPY VERSION /edgex-c-sdk/ 12:57:14 ---> de108a80b4b4 12:57:14 Step 6/15 : COPY src /edgex-c-sdk/src/ 12:57:15 ---> ae0a537f6629 12:57:15 Step 7/15 : COPY include /edgex-c-sdk/include/ 12:57:16 ---> b9ca6fd9e449 12:57:16 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 12:57:17 ---> 52fb632a2b1b 12:57:17 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 12:57:17 ---> f5fbb4f25fb8 12:57:17 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 12:57:18 ---> 987f4769ac66 12:57:18 Step 11/15 : WORKDIR /edgex-c-sdk 12:57:18 ---> Running in 49392325ec6f 12:57:19 Removing intermediate container 49392325ec6f 12:57:19 ---> 261a4412e484 12:57:19 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 12:57:19 ---> Running in bc5edca5bfb5 12:57:19 Removing intermediate container bc5edca5bfb5 12:57:19 ---> dba0b7a3f6a3 12:57:19 Step 13/15 : LABEL arch=amd64 12:57:19 ---> Running in 7428a7b6e15c 12:57:19 Removing intermediate container 7428a7b6e15c 12:57:19 ---> 159038f3a399 12:57:19 Step 14/15 : LABEL git_sha=5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f 12:57:20 ---> Running in c9c7333832d2 12:57:20 Removing intermediate container c9c7333832d2 12:57:20 ---> 2488a43c1f5f 12:57:20 Step 15/15 : LABEL version=0.0.0 12:57:20 ---> Running in e82b50ebce8a 12:57:20 Removing intermediate container e82b50ebce8a 12:57:20 ---> 21a1576148f3 12:57:20 [Warning] One or more build-args [ARCH MAKE] were not consumed 12:57:20 Successfully built 21a1576148f3 12:57:20 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 12:57:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:57:22 ---> package-listing.sh 12:57:22 ++ tr '[:upper:]' '[:lower:]' 12:57:22 ++ facter osfamily 12:57:22 + OS_FAMILY=redhat 12:57:22 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-336 12:57:22 + START_PACKAGES=/tmp/packages_start.txt 12:57:22 + END_PACKAGES=/tmp/packages_end.txt 12:57:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:57:22 + PACKAGES=/tmp/packages_start.txt 12:57:22 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-336 ']' 12:57:22 + PACKAGES=/tmp/packages_end.txt 12:57:22 + case "${OS_FAMILY}" in 12:57:22 + rpm -qa 12:57:22 + sort 12:57:31 + '[' -f /tmp/packages_start.txt ']' 12:57:31 + '[' -f /tmp/packages_end.txt ']' 12:57:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:57:31 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-336 ']' 12:57:31 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-336/archives/ 12:57:31 + 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 12:57:31 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 12:57:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:57:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:57:32 12:57:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 12:57:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:57:33 alpine: Pulling from edgex-lftools-log-publisher 12:57:33 df20fa9351a1: Pulling fs layer 12:57:33 36b3adc4ff6f: Pulling fs layer 12:57:33 8ad3a11d3b57: Pulling fs layer 12:57:33 46f8f816bc3b: Pulling fs layer 12:57:33 93b61091891f: Pulling fs layer 12:57:33 93b9cdb0e59b: Pulling fs layer 12:57:33 5e14af77c1be: Pulling fs layer 12:57:33 01666e4c0597: Pulling fs layer 12:57:33 aa168da1d23b: Pulling fs layer 12:57:33 93b61091891f: Waiting 12:57:33 93b9cdb0e59b: Waiting 12:57:33 5e14af77c1be: Waiting 12:57:33 01666e4c0597: Waiting 12:57:33 aa168da1d23b: Waiting 12:57:33 46f8f816bc3b: Waiting 12:57:33 36b3adc4ff6f: Download complete 12:57:33 46f8f816bc3b: Verifying Checksum 12:57:33 46f8f816bc3b: Download complete 12:57:33 93b61091891f: Verifying Checksum 12:57:33 93b61091891f: Download complete 12:57:33 93b9cdb0e59b: Verifying Checksum 12:57:33 93b9cdb0e59b: Download complete 12:57:33 df20fa9351a1: Verifying Checksum 12:57:33 df20fa9351a1: Download complete 12:57:33 5e14af77c1be: Verifying Checksum 12:57:33 5e14af77c1be: Download complete 12:57:33 01666e4c0597: Verifying Checksum 12:57:33 01666e4c0597: Download complete 12:57:34 8ad3a11d3b57: Verifying Checksum 12:57:34 8ad3a11d3b57: Download complete 12:57:35 df20fa9351a1: Pull complete 12:57:35 36b3adc4ff6f: Pull complete 12:57:38 8ad3a11d3b57: Pull complete 12:57:38 46f8f816bc3b: Pull complete 12:57:39 93b61091891f: Pull complete 12:57:39 93b9cdb0e59b: Pull complete 12:57:40 5e14af77c1be: Pull complete 12:57:40 01666e4c0597: Pull complete 12:57:42 aa168da1d23b: Verifying Checksum 12:57:42 aa168da1d23b: Download complete 12:58:06 aa168da1d23b: Pull complete 12:58:06 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 12:58:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:58:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 12:58:06 prd-centos7-docker-4c-2g-272 does not seem to be running inside a container 12:58:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-336 -v /w/workspace/edgexfoundry_device-sdk-c_PR-336:/w/workspace/edgexfoundry_device-sdk-c_PR-336:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 12:58:11 $ docker top b890d8b62a48d4ab0462d9bf6e5b9ac276f7b50461c82ffee34b23495fbe3f28 -eo pid,comm [Pipeline] { [Pipeline] sh 12:58:12 + touch /tmp/pre-build-complete [Pipeline] sh 12:58:12 + mkdir -p /var/log/sa [Pipeline] sh 12:58:13 + ls /var/log/sa-host 12:58:13 + sadf -c /var/log/sa-host/sa15 12:58:13 file_magic: OK 12:58:13 HZ: Using current value: 100 12:58:13 file_header: OK 12:58:13 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 12:58:13 Statistics: 12:58:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:58:13 File successfully converted to sysstat format version 12.2.1 12:58:13 + sadf -c /var/log/sa-host/sa23 12:58:13 file_magic: OK 12:58:13 HZ: Using current value: 100 12:58:13 file_header: OK 12:58:13 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 12:58:13 Statistics: 12:58:13 Hnuu...uuuununununu... 12:58:13 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:13 provisioning config files... 12:58:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/config2984445852777688955tmp [Pipeline] { [Pipeline] echo 12:58:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:58:14 ---> create-netrc.sh [Pipeline] } 12:58:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 12:58:15 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 12:58:16 ---> python-tools-install.sh [Pipeline] echo 12:58:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:58:17 ---> sudo-logs.sh 12:58:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:58:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:58:18 ---> job-cost.sh 12:58:18 lf-activate-venv: SKIPPING 12:58:18 INFO: No Stack... 12:58:20 INFO: Retrieving Pricing Info for: v1-standard-2 12:58:20 INFO: Archiving Costs [Pipeline] echo 12:58:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:58:21 ---> logs-deploy.sh 12:58:21 lf-activate-venv: SKIPPING 12:58:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-336/3 12:58:21 INFO: archiving workspace using pattern(s): 12:58:25 Archives upload complete. 12:58:25 INFO: archiving logs to Nexus 12:58:27 ---> uname -a: 12:58:27 Linux prd-centos7-docker-4c-2g-272.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 12:58:27 12:58:27 12:58:27 ---> lscpu: 12:58:27 Architecture: x86_64 12:58:27 CPU op-mode(s): 32-bit, 64-bit 12:58:27 Byte Order: Little Endian 12:58:27 Address sizes: 40 bits physical, 48 bits virtual 12:58:27 CPU(s): 4 12:58:27 On-line CPU(s) list: 0-3 12:58:27 Thread(s) per core: 1 12:58:27 Core(s) per socket: 1 12:58:27 Socket(s): 4 12:58:27 NUMA node(s): 1 12:58:27 Vendor ID: GenuineIntel 12:58:27 CPU family: 6 12:58:27 Model: 44 12:58:27 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 12:58:27 Stepping: 1 12:58:27 CPU MHz: 2933.438 12:58:27 BogoMIPS: 5866.87 12:58:27 Virtualization: VT-x 12:58:27 Hypervisor vendor: KVM 12:58:27 Virtualization type: full 12:58:27 L1d cache: 128 KiB 12:58:27 L1i cache: 128 KiB 12:58:27 L2 cache: 16 MiB 12:58:27 L3 cache: 64 MiB 12:58:27 NUMA node0 CPU(s): 0-3 12:58:27 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 12:58:27 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 12:58:27 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 12:58:27 Vulnerability Meltdown: Mitigation; PTI 12:58:27 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 12:58:27 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 12:58:27 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 12:58:27 Vulnerability Srbds: Not affected 12:58:27 Vulnerability Tsx async abort: Not affected 12:58:27 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 12:58:27 12:58:27 12:58:27 ---> nproc: 12:58:27 4 12:58:27 12:58:27 12:58:27 ---> df -h: 12:58:27 Filesystem Size Used Available Use% Mounted on 12:58:27 overlay 50.0G 7.3G 42.7G 15% / 12:58:27 tmpfs 64.0M 0 64.0M 0% /dev 12:58:27 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 12:58:27 shm 64.0M 0 64.0M 0% /dev/shm 12:58:27 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 12:58:27 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 12:58:27 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 12:58:27 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 12:58:27 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 12:58:27 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 12:58:27 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-336 12:58:27 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp 12:58:27 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 12:58:27 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 12:58:27 12:58:27 12:58:27 ---> free -m: 12:58:27 total used free shared buff/cache available 12:58:27 Mem: 1837 732 96 0 1008 999 12:58:27 Swap: 1023 1 1022 12:58:27 12:58:27 12:58:27 ---> ip addr: 12:58:27 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 12:58:27 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 12:58:27 inet 127.0.0.1/8 scope host lo 12:58:27 valid_lft forever preferred_lft forever 12:58:27 inet6 ::1/128 scope host 12:58:27 valid_lft forever preferred_lft forever 12:58:27 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 12:58:27 link/ether fa:16:3e:4d:f7:83 brd ff:ff:ff:ff:ff:ff 12:58:27 inet 10.30.123.239/23 brd 10.30.123.255 scope global dynamic eth0 12:58:27 valid_lft 85852sec preferred_lft 85852sec 12:58:27 inet6 fe80::f816:3eff:fe4d:f783/64 scope link 12:58:27 valid_lft forever preferred_lft forever 12:58:27 3: docker0: mtu 1500 qdisc noqueue state DOWN 12:58:27 link/ether 02:42:1e:72:c4:a8 brd ff:ff:ff:ff:ff:ff 12:58:27 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 12:58:27 valid_lft forever preferred_lft forever 12:58:27 inet6 fe80::42:1eff:fe72:c4a8/64 scope link 12:58:27 valid_lft forever preferred_lft forever 12:58:27 12:58:27 12:58:27 ---> sar -b -r -n DEV: 12:58:27 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 04/15/21 _x86_64_ (4 CPU) 12:58:27 12:58:27 12:49:04 LINUX RESTART (4 CPU) 12:58:27 12:58:27 12:50:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 12:58:27 12:51:02 59.10 19.76 39.33 0.00 5068.72 3758.85 0.00 12:58:27 12:52:01 8.38 2.42 5.96 0.00 615.84 225.28 0.00 12:58:27 12:53:01 1.70 0.00 1.70 0.00 0.00 33.68 0.00 12:58:27 12:54:01 0.35 0.00 0.35 0.00 0.00 5.43 0.00 12:58:27 12:55:01 0.27 0.00 0.27 0.00 0.00 4.20 0.00 12:58:27 12:56:01 0.42 0.00 0.42 0.00 0.00 6.75 0.00 12:58:27 12:57:01 0.33 0.00 0.33 0.00 0.00 4.24 0.00 12:58:27 12:58:01 116.50 62.77 53.72 0.00 4553.22 12970.98 0.00 12:58:27 Average: 23.55 10.69 12.86 0.00 1292.43 2139.98 0.00 12:58:27 12:58:27 12:50:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:58:27 12:51:02 151952 0 656744 34.90 2620 1070228 1428844 48.76 429764 1097720 40 12:58:27 12:52:01 146648 0 642348 34.14 2620 1089928 1188380 40.56 447484 1086280 12 12:58:27 12:53:01 162996 0 625996 33.27 2620 1089932 1053220 35.94 439372 1081328 8 12:58:27 12:54:01 160976 0 628008 33.38 2620 1089940 1053196 35.94 444704 1077988 12 12:58:27 12:55:01 162296 0 626684 33.31 2620 1089944 1052992 35.94 444452 1077012 8 12:58:27 12:56:01 162904 0 626068 33.27 2620 1089952 1052896 35.93 442084 1078772 8 12:58:27 12:57:01 163600 0 625372 33.24 2620 1089952 1052824 35.93 441800 1078772 12 12:58:27 12:58:01 77524 0 736172 39.13 2620 1065228 1489092 50.82 605940 962712 87864 12:58:27 Average: 148612 0 645924 34.33 2620 1084388 1171430 39.98 461950 1067573 10996 12:58:27 12:58:27 12:50:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:58:27 12:51:02 vethfc29fce 0.00 0.18 0.00 0.02 0.00 0.00 0.00 0.00 12:58:27 12:51:02 eth0 223.61 165.54 1024.35 64.50 0.00 0.00 0.00 0.00 12:58:27 12:51:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:58:27 12:51:02 docker0 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 12:58:27 12:52:01 eth0 27.41 29.25 44.02 35.34 0.00 0.00 0.00 0.00 12:58:27 12:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:58:27 12:52:01 docker0 6.99 5.59 0.94 23.06 0.00 0.00 0.00 0.00 12:58:27 12:53:01 eth0 1.35 0.60 2.06 0.04 0.00 0.00 0.00 0.00 12:58:27 12:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:58:27 12:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:58:27 12:54:01 eth0 1.10 0.35 0.32 0.20 0.00 0.00 0.00 0.00 12:58:27 12:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:58:27 12:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:58:27 12:55:01 eth0 0.42 0.37 0.26 0.20 0.00 0.00 0.00 0.00 12:58:27 12:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:58:27 12:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:58:27 12:56:01 eth0 0.36 0.29 0.18 0.08 0.00 0.00 0.00 0.00 12:58:27 12:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:58:27 12:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:58:27 12:57:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 12:58:27 12:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:58:27 12:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:58:27 12:58:01 eth0 199.27 160.43 2166.47 18.55 0.00 0.00 0.00 0.00 12:58:27 12:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:58:27 12:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:58:27 Average: eth0 57.26 45.02 407.93 14.96 0.00 0.00 0.00 0.00 12:58:27 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:58:27 Average: docker0 0.86 0.70 0.12 2.85 0.00 0.00 0.00 0.00 12:58:27 12:58:27 12:58:27 ---> sar -P ALL: 12:58:27 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 04/15/21 _x86_64_ (4 CPU) 12:58:27 12:58:27 12:49:04 LINUX RESTART (4 CPU) 12:58:27 12:58:27 12:50:01 CPU %user %nice %system %iowait %steal %idle 12:58:27 12:51:02 all 11.39 0.00 5.02 1.75 33.29 48.55 12:58:27 12:51:02 0 8.50 0.00 4.79 2.43 36.17 48.11 12:58:27 12:51:02 1 15.21 0.00 4.67 1.24 32.38 46.51 12:58:27 12:51:02 2 10.69 0.00 4.71 1.86 31.79 50.95 12:58:27 12:51:02 3 11.31 0.00 5.93 1.45 32.71 48.60 12:58:27 12:52:01 all 1.96 0.00 1.97 0.13 10.97 84.97 12:58:27 12:52:01 0 1.38 0.00 1.78 0.22 12.24 84.38 12:58:27 12:52:01 1 1.62 0.00 2.00 0.11 11.14 85.13 12:58:27 12:52:01 2 3.20 0.00 2.01 0.11 9.86 84.82 12:58:27 12:52:01 3 1.66 0.00 2.09 0.08 10.62 85.56 12:58:27 12:53:01 all 0.09 0.00 0.21 0.00 2.30 97.40 12:58:27 12:53:01 0 0.05 0.00 0.27 0.00 3.85 95.83 12:58:27 12:53:01 1 0.02 0.00 0.23 0.00 1.60 98.16 12:58:27 12:53:01 2 0.07 0.00 0.16 0.00 1.95 97.82 12:58:27 12:53:01 3 0.21 0.00 0.16 0.00 1.78 97.85 12:58:27 12:54:01 all 0.10 0.00 0.11 0.00 1.49 98.30 12:58:27 12:54:01 0 0.03 0.00 0.07 0.00 1.37 98.53 12:58:27 12:54:01 1 0.12 0.00 0.15 0.00 1.91 97.83 12:58:27 12:54:01 2 0.22 0.00 0.17 0.00 1.14 98.48 12:58:27 12:54:01 3 0.03 0.00 0.07 0.00 1.55 98.36 12:58:27 12:55:01 all 0.07 0.00 0.07 0.00 0.90 98.95 12:58:27 12:55:01 0 0.00 0.00 0.05 0.00 0.74 99.21 12:58:27 12:55:01 1 0.02 0.00 0.18 0.00 1.32 98.48 12:58:27 12:55:01 2 0.25 0.00 0.02 0.00 0.42 99.32 12:58:27 12:55:01 3 0.03 0.00 0.03 0.00 1.12 98.81 12:58:27 12:56:01 all 0.09 0.00 0.23 0.00 1.32 98.36 12:58:27 12:56:01 0 0.03 0.00 0.32 0.00 1.23 98.42 12:58:27 12:56:01 1 0.02 0.00 0.39 0.00 1.19 98.40 12:58:27 12:56:01 2 0.03 0.00 0.15 0.00 0.61 99.21 12:58:27 12:56:01 3 0.27 0.00 0.05 0.00 2.25 97.44 12:58:27 12:57:01 all 0.10 0.00 0.02 0.00 0.96 98.92 12:58:27 12:57:01 0 0.05 0.00 0.03 0.00 1.51 98.41 12:58:27 12:57:01 1 0.02 0.00 0.02 0.00 0.35 99.62 12:58:27 12:57:01 2 0.00 0.00 0.02 0.00 0.43 99.55 12:58:27 12:57:01 3 0.33 0.00 0.03 0.00 1.53 98.11 12:58:27 12:58:01 all 3.15 0.00 2.58 1.73 21.84 70.70 12:58:27 12:58:01 0 2.07 0.00 2.36 1.18 22.68 71.71 12:58:27 12:58:01 1 4.39 0.00 2.75 0.99 22.51 69.36 12:58:27 12:58:01 2 3.65 0.00 2.86 4.08 21.45 67.96 12:58:27 12:58:01 3 2.53 0.00 2.36 0.66 20.72 73.73 12:58:27 Average: all 2.32 0.00 1.38 0.49 9.82 85.98 12:58:27 Average: 0 1.69 0.00 1.32 0.54 10.84 85.62 12:58:27 Average: 1 2.92 0.00 1.38 0.32 9.67 85.71 12:58:27 Average: 2 2.48 0.00 1.37 0.83 9.18 86.15 12:58:27 Average: 3 2.21 0.00 1.44 0.30 9.61 86.45 12:58:27 12:58:27 12:58:27