Pull request #357 updated Connecting to https://api.github.com using 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 f2aa274282d6113e368cbfbbfa19ef7d70884739+06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f (dc39d3e35b7e7634ab9915163d476f5ad8050a8a) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7638963876319935653.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision db16f8292de5a0132d944c4e76ede2ca4f84da27 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3116016537824421976.key > 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 db16f8292de5a0132d944c4e76ede2ca4f84da27 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5931930280849551606.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision db16f8292de5a0132d944c4e76ede2ca4f84da27 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f db16f8292de5a0132d944c4e76ede2ca4f84da27 # timeout=10 Commit message: "Merge pull request #343 from ernestojeda/pipeline-optimizations" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3761139184073062446.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh646968974154924149.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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: device-sdk 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 ‘prd-centos7-docker-4c-2g-374’ is offline Running on prd-centos7-docker-4c-2g-375 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-357 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh7083699216593985095.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit f2aa274282d6113e368cbfbbfa19ef7d70884739 Merge succeeded, producing fd46fa9650321171e7b3c02cd9fe07cae2cc9634 Checking out Revision fd46fa9650321171e7b3c02cd9fe07cae2cc9634 (PR-357) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh8216922134035274693.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2aa274282d6113e368cbfbbfa19ef7d70884739 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh6858899768426403705.key > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd46fa9650321171e7b3c02cd9fe07cae2cc9634 # timeout=10 Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:19:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:19:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:19:02 ========================================================= 16:19:02 EdgeX Global Pipelines Version Info 16:19:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d6172f51d6ba2c74d7fbfdef490329ded0c747ad # timeout=10 16:19:04 ------------------- 16:19:04 stable info: 16:19:04 ------------------- 16:19:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:19:04 Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 16:19:04 Message: update stable to v1.0.197 16:19:04 ------------------- 16:19:04 experimental info: 16:19:04 ------------------- 16:19:04 Commited By: **** collab-it+edgex@linuxfoundation.org 16:19:04 Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 16:19:04 Message: update experimental to v1.0.197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:19:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 16:19:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 16:19:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:19:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd46fa9650321171e7b3c02cd9fe07cae2cc9634 [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd46fa9 [Pipeline] echo 16:19:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:19:05 provisioning config files... 16:19:05 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config3235525432861520029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:05 ---> docker-login.sh 16:19:05 nexus3.edgexfoundry.org:10001 16:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:06 Configure a credential helper to remove this warning. See 16:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:06 16:19:06 Login Succeeded 16:19:06 nexus3.edgexfoundry.org:10002 16:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:06 Configure a credential helper to remove this warning. See 16:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:06 16:19:06 Login Succeeded 16:19:06 nexus3.edgexfoundry.org:10003 16:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:06 Configure a credential helper to remove this warning. See 16:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:06 16:19:06 Login Succeeded 16:19:06 nexus3.edgexfoundry.org:10004 16:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:06 Configure a credential helper to remove this warning. See 16:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:06 16:19:06 Login Succeeded 16:19:06 docker.io 16:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:06 Configure a credential helper to remove this warning. See 16:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:06 16:19:06 Login Succeeded 16:19:06 ---> docker-login.sh ends [Pipeline] } 16:19:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:19:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:19:07 16:19:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:19:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:19:08 latest: Pulling from edgex-devops/git-semver 16:19:08 31603596830f: Pulling fs layer 16:19:08 b6dc333f4379: Pulling fs layer 16:19:08 3d9ef1400e77: Pulling fs layer 16:19:08 fd332fbdc1db: Pulling fs layer 16:19:08 fd332fbdc1db: Waiting 16:19:08 b6dc333f4379: Verifying Checksum 16:19:08 b6dc333f4379: Download complete 16:19:08 31603596830f: Verifying Checksum 16:19:08 31603596830f: Download complete 16:19:08 fd332fbdc1db: Verifying Checksum 16:19:08 fd332fbdc1db: Download complete 16:19:08 31603596830f: Pull complete 16:19:08 b6dc333f4379: Pull complete 16:19:09 3d9ef1400e77: Download complete 16:19:09 3d9ef1400e77: Pull complete 16:19:09 fd332fbdc1db: Pull complete 16:19:09 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 16:19:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:19:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:19:10 prd-centos7-docker-4c-2g-375 does not seem to be running inside a container 16:19:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@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:10004/edgex-devops/git-semver:latest cat 16:19:10 $ docker top 28a8a02db02cae407db3ed3613e1f72bb3f1a4fa425bb84b9f7d5566ecf8875c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:19:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:19:11 [ssh-agent] Looking for ssh-agent implementation... 16:19:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:19:11 $ docker exec 28a8a02db02cae407db3ed3613e1f72bb3f1a4fa425bb84b9f7d5566ecf8875c ssh-agent 16:19:11 SSH_AUTH_SOCK=/tmp/ssh-6tOwenXTIJze/agent.13 16:19:11 SSH_AGENT_PID=20 16:19:11 Running ssh-add (command line suppressed) 16:19:11 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_288586864727323976.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_288586864727323976.key) 16:19:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:19:11 + git tag --points-at HEAD [Pipeline] } 16:19:11 $ docker exec --env ******** --env ******** 28a8a02db02cae407db3ed3613e1f72bb3f1a4fa425bb84b9f7d5566ecf8875c ssh-agent -k 16:19:11 unset SSH_AUTH_SOCK; 16:19:11 unset SSH_AGENT_PID; 16:19:11 echo Agent pid 20 killed; 16:19:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:19:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:19:11 [ssh-agent] Looking for ssh-agent implementation... 16:19:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:19:12 $ docker exec 28a8a02db02cae407db3ed3613e1f72bb3f1a4fa425bb84b9f7d5566ecf8875c ssh-agent 16:19:12 SSH_AUTH_SOCK=/tmp/ssh-tiKpROy2lhpi/agent.55 16:19:12 SSH_AGENT_PID=61 16:19:12 Running ssh-add (command line suppressed) 16:19:12 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_136776705764002682.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_136776705764002682.key) 16:19:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:19:12 + git semver init 16:19:12 # -> Open(): unable to determine branch for HEAD 16:19:12 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.git 16:19:12 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-357 16:19:12 # $SEMVER_REMOTE_NAME = origin 16:19:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:19:12 # $SEMVER_USER_NAME = edgex-jenkins 16:19:12 # $SEMVER_BRANCH = PR-357 16:19:12 # $SEMVER_TEMP = /tmp/semver-349323268 16:19:12 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 16:19:13 # '/tmp/semver-349323268' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver' 16:19:13 # -> Force: false 16:19:13 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver [Pipeline] } 16:19:13 $ docker exec --env ******** --env ******** 28a8a02db02cae407db3ed3613e1f72bb3f1a4fa425bb84b9f7d5566ecf8875c ssh-agent -k 16:19:13 unset SSH_AUTH_SOCK; 16:19:13 unset SSH_AGENT_PID; 16:19:13 echo Agent pid 61 killed; 16:19:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:19:13 + git semver [Pipeline] } 16:19:13 $ docker stop --time=1 28a8a02db02cae407db3ed3613e1f72bb3f1a4fa425bb84b9f7d5566ecf8875c 16:19:14 $ docker rm -f 28a8a02db02cae407db3ed3613e1f72bb3f1a4fa425bb84b9f7d5566ecf8875c [Pipeline] // withDockerContainer [Pipeline] sh 16:19:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:19:15 Stashed 1 file(s) [Pipeline] echo 16:19:15 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 16:19:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-372 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws 16:19:16 Running in /w/workspace/device-sdk-c/6 [Pipeline] { [Pipeline] checkout 16:19:16 Selected Git installation does not exist. Using Default 16:19:16 The recommended git tool is: NONE 16:19:20 using credential edgex-jenkins-ssh 16:19:20 Cloning the remote Git repository 16:19:20 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:19:20 > git init /w/workspace/device-sdk-c/6 # timeout=10 16:19:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:19:20 > git --version # timeout=10 16:19:20 > git --version # 'git version 2.17.1' 16:19:20 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:19:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:19:22 Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit f2aa274282d6113e368cbfbbfa19ef7d70884739 16:19:23 Merge succeeded, producing 6bad4243c91085152b09cf272f9a5e6f443993c1 16:19:23 Checking out Revision 6bad4243c91085152b09cf272f9a5e6f443993c1 (PR-357) 16:19:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:19:22 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:19:22 > git config core.sparsecheckout # timeout=10 16:19:22 > git checkout -f f2aa274282d6113e368cbfbbfa19ef7d70884739 # timeout=10 16:19:23 > git remote # timeout=10 16:19:23 > git config --get remote.origin.url # timeout=10 16:19:23 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:23 > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 16:19:23 > git rev-parse HEAD^{commit} # timeout=10 16:19:23 > git config core.sparsecheckout # timeout=10 16:19:23 > git checkout -f 6bad4243c91085152b09cf272f9a5e6f443993c1 # timeout=10 16:19:27 Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" 16:19:27 First time build. Skipping changelog. 16:19:27 > git rev-list --no-walk d6172f51d6ba2c74d7fbfdef490329ded0c747ad # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:19:27 provisioning config files... 16:19:27 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/6@tmp/config6686528138837843474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:28 ---> docker-login.sh 16:19:28 nexus3.edgexfoundry.org:10001 16:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:29 Configure a credential helper to remove this warning. See 16:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:29 16:19:29 Login Succeeded 16:19:29 nexus3.edgexfoundry.org:10002 16:19:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:30 Configure a credential helper to remove this warning. See 16:19:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:30 16:19:30 Login Succeeded 16:19:30 nexus3.edgexfoundry.org:10003 16:19:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:30 Still waiting to schedule task 16:19:30 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:19:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:30 Configure a credential helper to remove this warning. See 16:19:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:30 16:19:30 Login Succeeded 16:19:30 nexus3.edgexfoundry.org:10004 16:19:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:31 Configure a credential helper to remove this warning. See 16:19:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:31 16:19:31 Login Succeeded 16:19:31 docker.io 16:19:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:32 Configure a credential helper to remove this warning. See 16:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:32 16:19:32 Login Succeeded 16:19:32 ---> docker-login.sh ends [Pipeline] } 16:19:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:19:32 ========================================================= 16:19:32 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 16:19:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:19:33 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 16:19:33 Sending build context to Docker daemon 2.691MB 16:19:33 Step 1/25 : ARG BASE=alpine:3.12 16:19:33 Step 2/25 : FROM ${BASE} as builder 16:19:34 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 16:19:34 d2f70382dc9a: Pulling fs layer 16:19:34 b08cc2eccb4b: Pulling fs layer 16:19:34 7b69db201801: Pulling fs layer 16:19:34 b08cc2eccb4b: Download complete 16:19:34 d2f70382dc9a: Verifying Checksum 16:19:34 d2f70382dc9a: Download complete 16:19:34 d2f70382dc9a: Pull complete 16:19:35 b08cc2eccb4b: Pull complete 16:19:36 7b69db201801: Verifying Checksum 16:19:36 7b69db201801: Download complete 16:19:45 7b69db201801: Pull complete 16:19:45 Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba 16:19:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 16:19:45 ---> 759262b18b23 16:19:45 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:19:47 ---> Running in 0d034da9afdb 16:19:49 Connecting to iotech.jfrog.io (54.229.110.245:443) 16:19:49 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:19:49 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:19:49 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 16:19:50 Removing intermediate container 0d034da9afdb 16:19:50 ---> adcffac15881 16:19:50 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:19:50 ---> Running in 9682d712dbf0 16:19:53 Removing intermediate container 9682d712dbf0 16:19:53 ---> 06019d5176bf 16:19:53 Step 5/25 : 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 paho-mqtt-c-dev hiredis-dev 16:19:53 ---> Running in f8bf4ba83067 16:19:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:19:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:19:55 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:19:56 (1/22) Installing hiredis (0.14.1-r0) 16:19:56 (2/22) Installing hiredis-dev (0.14.1-r0) 16:19:56 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 16:19:56 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 16:19:58 (5/22) Installing libblkid (2.35.2-r0) 16:19:58 (6/22) Installing blkid (2.35.2-r0) 16:19:58 (7/22) Installing libcap-ng (0.7.10-r1) 16:19:58 (8/22) Installing setpriv (2.35.2-r0) 16:19:58 (9/22) Installing libmount (2.35.2-r0) 16:19:58 (10/22) Installing libsmartcols (2.35.2-r0) 16:19:58 (11/22) Installing findmnt (2.35.2-r0) 16:19:58 (12/22) Installing mcookie (2.35.2-r0) 16:19:59 (13/22) Installing hexdump (2.35.2-r0) 16:19:59 (14/22) Installing lsblk (2.35.2-r0) 16:19:59 (15/22) Installing libuuid (2.35.2-r0) 16:19:59 (16/22) Installing libfdisk (2.35.2-r0) 16:19:59 (17/22) Installing sfdisk (2.35.2-r0) 16:19:59 (18/22) Installing cfdisk (2.35.2-r0) 16:19:59 (19/22) Installing util-linux (2.35.2-r0) 16:19:59 (20/22) Installing util-linux-dev (2.35.2-r0) 16:20:00 (21/22) Installing libidn2 (2.3.0-r0) 16:20:00 (22/22) Installing wget (1.20.3-r1) 16:20:00 Executing busybox-1.31.1-r20.trigger 16:20:00 OK: 276 MiB in 97 packages 16:20:02 Removing intermediate container f8bf4ba83067 16:20:02 ---> 3cb6c26abd09 16:20:02 Step 6/25 : ENV CBOR_VERSION=0.5.0 16:20:02 ---> Running in 344099e93a40 16:20:03 Removing intermediate container 344099e93a40 16:20:03 ---> 6f0488792b56 16:20:03 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 16:20:03 ---> Running in 96f639e3a230 16:20:04 --2021-07-28 16:20:04-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:20:04 Resolving github.com (github.com)... 140.82.112.4 16:20:04 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 16:20:04 HTTP request sent, awaiting response... 302 Found 16:20:04 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:20:04 --2021-07-28 16:20:04-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:20:04 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 16:20:04 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 16:20:04 HTTP request sent, awaiting response... 200 OK 16:20:04 Length: unspecified [application/x-gzip] 16:20:04 Saving to: 'STDOUT' 16:20:04  16:20:04 0K .......... .......... .......... .......... .......... 1.27M 16:20:04 50K .......... .......... .......... .......... .......... 2.54M 16:20:04 100K .......... .......... .......... .......... .......... 2.74M 16:20:04 150K .......... .......... .......... .......... .......... 11.0M 16:20:04 200K .......... .......... .......... .......... .......... 13.5M 16:20:05 250K .......... .......... .......... .......... .......... 2.96M 16:20:05 300K .......... .......... .......... .......... .......... 4.12M 16:20:05 350K .......... .......... .......... .......... .......... 4.92M 16:20:05 400K .......... .......... .......... .......... .......... 5.27M 16:20:05 450K .......... .......... .......... .......... .......... 4.75M 16:20:05 500K .......... .......... .......... .......... .......... 4.73M 16:20:05 550K .......... .......... .......... .......... .......... 6.78M 16:20:05 600K .......... .......... .......... .......... .......... 1012K 16:20:05 650K .......... .......... .......... .......... .......... 1.27M 16:20:05 700K ..    8.10M=0.2s 16:20:05 16:20:05 2021-07-28 16:20:05 (2.78 MB/s) - written to stdout [719348] 16:20:05 16:20:05 -- The C compiler identification is GNU 9.3.0 16:20:05 -- The CXX compiler identification is GNU 9.3.0 16:20:05 -- Check for working C compiler: /usr/bin/cc 16:20:05 -- Check for working C compiler: /usr/bin/cc - works 16:20:05 -- Detecting C compiler ABI info 16:20:06 -- Detecting C compiler ABI info - done 16:20:06 -- Detecting C compile features 16:20:06 -- Detecting C compile features - done 16:20:06 -- Check for working CXX compiler: /usr/bin/c++ 16:20:06 -- Check for working CXX compiler: /usr/bin/c++ - works 16:20:06 -- Detecting CXX compiler ABI info 16:20:06 -- Detecting CXX compiler ABI info - done 16:20:07 -- Detecting CXX compile features 16:20:07 -- Detecting CXX compile features - done 16:20:07 -- Looking for include file endian.h 16:20:07 -- Looking for include file endian.h - found 16:20:07 -- Check if the system is big endian 16:20:07 -- Searching 16 bit integer 16:20:07 -- Looking for sys/types.h 16:20:07 -- Looking for sys/types.h - found 16:20:07 -- Looking for stdint.h 16:20:07 -- Looking for stdint.h - found 16:20:07 -- Looking for stddef.h 16:20:07 -- Looking for stddef.h - found 16:20:07 -- Check size of unsigned short 16:20:08 -- Check size of unsigned short - done 16:20:08 -- Searching 16 bit integer - Using unsigned short 16:20:08 -- Check if the system is big endian - little endian 16:20:08 -- Check size of size_t 16:20:08 -- Check size of size_t - done 16:20:08 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:20:08 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:20:08 asked CMake to find a package configuration file provided by "cJSON", but 16:20:08 CMake did not find one. 16:20:08 16:20:08 Could not find a package configuration file provided by "cJSON" with any of 16:20:08 the following names: 16:20:08 16:20:08 cJSONConfig.cmake 16:20:08 cjson-config.cmake 16:20:08 16:20:08 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:20:08 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:20:08 provides a separate development package or SDK, be sure it has been 16:20:08 installed. 16:20:08 16:20:08 16:20:08 -- Configuring done 16:20:09 -- Generating done 16:20:09 -- Build files have been written to: /tmp/cbor 16:20:09 Scanning dependencies of target cbor_shared 16:20:09 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:20:09 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:20:10 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:20:10 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:20:11 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:20:11 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:20:11 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:20:11 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:20:12 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:20:12 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:20:13 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:20:13 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:20:13 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:20:14 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:20:14 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:20:14 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:20:14 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:20:15 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:20:15 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:20:15 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:20:15 [ 40%] Linking C shared library libcbor.so 16:20:16 [ 40%] Built target cbor_shared 16:20:16 Scanning dependencies of target cbor 16:20:16 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:20:17 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:20:17 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:20:17 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:20:19 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:20:19 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:20:19 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:20:20 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:20:20 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:20:20 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:20:21 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:20:21 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:20:22 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:20:22 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:20:22 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:20:23 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:20:23 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:20:23 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:20:23 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:20:24 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:20:24 [ 80%] Linking C static library libcbor.a 16:20:24 [ 80%] Built target cbor 16:20:24 Scanning dependencies of target sort 16:20:24 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:20:24 [ 84%] Linking C executable sort 16:20:24 [ 84%] Built target sort 16:20:24 Scanning dependencies of target readfile 16:20:24 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:20:24 [ 88%] Linking C executable readfile 16:20:24 [ 88%] Built target readfile 16:20:24 Scanning dependencies of target streaming_parser 16:20:24 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:20:25 [ 92%] Linking C executable streaming_parser 16:20:25 [ 92%] Built target streaming_parser 16:20:25 Scanning dependencies of target hello 16:20:25 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:20:25 [ 96%] Linking C executable hello 16:20:25 [ 96%] Built target hello 16:20:25 Scanning dependencies of target create_items 16:20:25 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:20:25 [100%] Linking C executable create_items 16:20:26 [100%] Built target create_items 16:20:26 Install the project... 16:20:26 -- Install configuration: "Release" 16:20:26 -- Installing: /usr/local/include/cbor/configuration.h 16:20:26 -- Installing: /usr/local/lib64/libcbor.a 16:20:26 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:20:26 -- Installing: /usr/local/lib64/libcbor.so.0 16:20:26 -- Installing: /usr/local/lib64/libcbor.so 16:20:26 -- Up-to-date: /usr/local/include/cbor 16:20:26 -- Installing: /usr/local/include/cbor/streaming.h 16:20:26 -- Installing: /usr/local/include/cbor/ints.h 16:20:26 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:20:26 -- Installing: /usr/local/include/cbor/bytestrings.h 16:20:26 -- Installing: /usr/local/include/cbor/encoding.h 16:20:26 -- Installing: /usr/local/include/cbor/serialization.h 16:20:26 -- Installing: /usr/local/include/cbor/data.h 16:20:26 -- Installing: /usr/local/include/cbor/common.h 16:20:26 -- Installing: /usr/local/include/cbor/callbacks.h 16:20:26 -- Installing: /usr/local/include/cbor/strings.h 16:20:26 -- Installing: /usr/local/include/cbor/tags.h 16:20:26 -- Installing: /usr/local/include/cbor/internal 16:20:26 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:20:26 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:20:26 -- Installing: /usr/local/include/cbor/internal/stack.h 16:20:26 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:20:26 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:20:26 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:20:26 -- Installing: /usr/local/include/cbor/arrays.h 16:20:26 -- Installing: /usr/local/include/cbor/maps.h 16:20:26 -- Installing: /usr/local/include/cbor.h 16:20:26 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:20:28 Removing intermediate container 96f639e3a230 16:20:28 ---> c1ab237588a2 16:20:28 Step 8/25 : RUN mkdir /tmp/sdk 16:20:28 ---> Running in 3cce1f8d7b46 16:20:30 Removing intermediate container 3cce1f8d7b46 16:20:30 ---> d152fd68db31 16:20:30 Step 9/25 : COPY VERSION /tmp/sdk 16:20:31 ---> 9a6db6dc64fa 16:20:31 Step 10/25 : COPY src /tmp/sdk/src 16:20:32 ---> 3e78ab9fbe4f 16:20:32 Step 11/25 : COPY include /tmp/sdk/include 16:20:33 ---> 7d8796037578 16:20:33 Step 12/25 : COPY scripts /tmp/sdk/scripts 16:20:34 ---> 97a1478450dd 16:20:34 Step 13/25 : COPY LICENSE /tmp/sdk 16:20:35 ---> 18f9b815f5ce 16:20:35 Step 14/25 : COPY Attribution.txt /tmp/sdk 16:20:35 ---> 205383220acd 16:20:35 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:20:36 ---> Running in 3d6bc68059b8 16:20:37 + CPPCHECK=false 16:20:37 + DOCGEN=false 16:20:37 + TOMLVER=SDK-0.2 16:20:37 + CUTILVER=1.1.4 16:20:37 + '[' 0 -gt 0 ] 16:20:37 + readlink -f ./scripts/build.sh 16:20:37 + dirname /tmp/sdk/scripts/build.sh 16:20:37 + dirname /tmp/sdk/scripts 16:20:37 + ROOT=/tmp/sdk 16:20:37 + cd /tmp/sdk 16:20:37 + '[' '!' -d deps ] 16:20:37 + mkdir deps 16:20:37 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:20:37 + tar -C deps -z -x -f - 16:20:37 --2021-07-28 16:20:37-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:20:37 Resolving github.com (github.com)... 140.82.112.4 16:20:37 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 16:20:37 HTTP request sent, awaiting response... 302 Found 16:20:37 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:20:37 --2021-07-28 16:20:37-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:20:37 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 16:20:37 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 16:20:37 HTTP request sent, awaiting response... 200 OK 16:20:37 Length: unspecified [application/x-gzip] 16:20:37 Saving to: 'STDOUT' 16:20:37  16:20:37 0K .......... ......  894K=0.02s 16:20:37 16:20:37 2021-07-28 16:20:37 (894 KB/s) - written to stdout [16451] 16:20:37 16:20:37 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:20:37 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:20:37 + tar -C deps -z -x -f - 16:20:37 --2021-07-28 16:20:37-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:20:37 Resolving github.com (github.com)... 140.82.112.4 16:20:37 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 16:20:37 HTTP request sent, awaiting response... 302 Found 16:20:37 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 16:20:37 --2021-07-28 16:20:37-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 16:20:37 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 16:20:37 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 16:20:37 HTTP request sent, awaiting response... 200 OK 16:20:37 Length: unspecified [application/x-gzip] 16:20:37 Saving to: 'STDOUT' 16:20:37 16:20:37 0K .......... .......... .......... .......... .......... 1.39M 16:20:37 50K .......... .......... .......... .......... .......... 2.84M 16:20:37 100K .......... .......... .......... .......... .......... 2.74M 16:20:37 150K .......... .......... ....... 4.46M=0.08s 16:20:37 16:20:37 2021-07-28 16:20:37 (2.27 MB/s) - written to stdout [181796] 16:20:37 16:20:38 + mkdir -p src/c/iot 16:20: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 16:20:38 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 16:20:38 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 16:20:38 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 16:20:38 + mkdir -p include/iot 16:20: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 16:20:38 + mkdir -p include/iot/os 16:20: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 16:20:38 + mkdir -p /tmp/sdk/build/release 16:20:38 + cd /tmp/sdk/build/release 16:20:38 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:20:38 -- The C compiler identification is GNU 9.3.0 16:20:38 -- Check for working C compiler: /usr/bin/cc 16:20:38 -- Check for working C compiler: /usr/bin/cc - works 16:20:38 -- Detecting C compiler ABI info 16:20:39 -- Detecting C compiler ABI info - done 16:20:39 -- Detecting C compile features 16:20:39 -- Detecting C compile features - done 16:20:39 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:20:39 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 16:20:39 -- Found LIBYAML: /usr/lib/libyaml.so 16:20:39 -- Found LIBUUID: /usr/lib/libuuid.so 16:20:39 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:20:39 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:20:39 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:20:39 -- C SDK 0.0.0 for Linux 16:20:39 -- Performing Test CSDK_HAVE_ATOMIC 16:20:39 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:20:39 -- Found Curses: /usr/lib/libcurses.so 16:20:39 -- Configuring done 16:20:40 -- Generating done 16:20:40 -- Build files have been written to: /tmp/sdk/build/release 16:20:40 + make all package 16:20:40 + tee release.log 16:20:40 Scanning dependencies of target csdk 16:20:40 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:20:41 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:20:41 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:20:43 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:20:43 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:20:44 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:20:44 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:20:45 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:20:45 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:20:46 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:20:48 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:20:48 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:20:49 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:20:50 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:20:50 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:20:50 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:20:50 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:20:53 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:20:53 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:20:54 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:20:54 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:20:54 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:20:55 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:20:58 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:20:58 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:20:58 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:20:58 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:20:59 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:20:59 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:21:00 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:21:01 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:21:01 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:21:01 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:21:03 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:21:04 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:21:04 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:21:05 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:21:09 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:21:10 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:21:10 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:21:11 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:21:12 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:21:13 Running on prd-centos7-docker-4c-2g-376 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws 16:21:13 Running in /w/workspace/device-sdk-c/6 [Pipeline] { [Pipeline] checkout 16:21:13 Selected Git installation does not exist. Using Default 16:21:13 The recommended git tool is: NONE 16:21:14 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:21:14 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:21:14 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:21:14 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:21:16 using credential edgex-jenkins-ssh 16:21:16 Cloning the remote Git repository 16:21:16 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:21:16 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:21:16 > git init /w/workspace/device-sdk-c/6 # timeout=10 16:21:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:21:16 > git --version # timeout=10 16:21:16 > git --version # 'git version 2.24.4' 16:21:16 using GIT_SSH to set credentials SSH Credentials for GitHub 16:21:16 [INFO] Currently running in a labeled security context 16:21:16 [INFO] Currently SELinux is 'enforcing' on the host 16:21:16 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/6@tmp/jenkins-gitclient-ssh2350967540515833487.key 16:21:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:21:18 Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit f2aa274282d6113e368cbfbbfa19ef7d70884739 16:21:18 Merge succeeded, producing 66df8a1dc730d8f42e5be5e750b5933662fc1a4b 16:21:18 Checking out Revision 66df8a1dc730d8f42e5be5e750b5933662fc1a4b (PR-357) 16:21:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:21:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:21:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:21:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:21:17 using GIT_SSH to set credentials SSH Credentials for GitHub 16:21:17 [INFO] Currently running in a labeled security context 16:21:17 [INFO] Currently SELinux is 'enforcing' on the host 16:21:17 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/6@tmp/jenkins-gitclient-ssh8473271323942291993.key 16:21:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:21:18 > git config core.sparsecheckout # timeout=10 16:21:18 > git checkout -f f2aa274282d6113e368cbfbbfa19ef7d70884739 # timeout=10 16:21:18 > git remote # timeout=10 16:21:18 > git config --get remote.origin.url # timeout=10 16:21:18 using GIT_SSH to set credentials SSH Credentials for GitHub 16:21:18 [INFO] Currently running in a labeled security context 16:21:18 [INFO] Currently SELinux is 'enforcing' on the host 16:21:18 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/6@tmp/jenkins-gitclient-ssh429333046377585395.key 16:21:18 > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 16:21:18 > git rev-parse HEAD^{commit} # timeout=10 16:21:18 > git config core.sparsecheckout # timeout=10 16:21:18 > git checkout -f 66df8a1dc730d8f42e5be5e750b5933662fc1a4b # timeout=10 16:21:20 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:21:20 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:21:21 [ 75%] Linking C shared library libcsdk.so 16:21:21 [ 75%] Built target csdk 16:21:21 Scanning dependencies of target template 16:21:21 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:21:21 Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" 16:21:21 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:22 provisioning config files... 16:21:21 > git rev-list --no-walk d6172f51d6ba2c74d7fbfdef490329ded0c747ad # timeout=10 16:21:22 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/6@tmp/config4836348705129663013tmp 16:21:22 [ 78%] Linking C executable template [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:22 [ 78%] Built target template 16:21:22 Scanning dependencies of target device-counter 16:21:22 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:21:22 ---> docker-login.sh 16:21:22 nexus3.edgexfoundry.org:10001 16:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:22 Configure a credential helper to remove this warning. See 16:21:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:22 16:21:22 Login Succeeded 16:21:22 nexus3.edgexfoundry.org:10002 16:21:22 [ 81%] Linking C executable device-counter 16:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:22 Configure a credential helper to remove this warning. See 16:21:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:22 16:21:22 Login Succeeded 16:21:22 nexus3.edgexfoundry.org:10003 16:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:23 [ 81%] Built target device-counter 16:21:23 Scanning dependencies of target device-random 16:21:23 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:21:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:23 Configure a credential helper to remove this warning. See 16:21:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:23 16:21:23 Login Succeeded 16:21:23 nexus3.edgexfoundry.org:10004 16:21:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:23 Configure a credential helper to remove this warning. See 16:21:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:23 16:21:23 Login Succeeded 16:21:23 docker.io 16:21:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:23 [ 84%] Linking C executable device-random 16:21:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:23 Configure a credential helper to remove this warning. See 16:21:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:23 16:21:23 Login Succeeded 16:21:23 ---> docker-login.sh ends [Pipeline] } 16:21:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 16:21:23 [ 84%] Built target device-random 16:21:23 Scanning dependencies of target device-gyro 16:21:23 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [Pipeline] echo 16:21:24 ========================================================= 16:21:24 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 16:21:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:21:24 [ 87%] Linking C executable device-gyro 16:21:24 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 16:21:24 Sending build context to Docker daemon 2.692MB 16:21:24 Step 1/25 : ARG BASE=alpine:3.12 16:21:24 Step 2/25 : FROM ${BASE} as builder 16:21:24 [ 87%] Built target device-gyro 16:21:24 Scanning dependencies of target device-bitfields 16:21:24 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:21:24 latest: Pulling from edgex-devops/edgex-gcc-base 16:21:24 339de151aab4: Pulling fs layer 16:21:24 3691962f683c: Pulling fs layer 16:21:24 e1147bf81a45: Pulling fs layer 16:21:24 3691962f683c: Verifying Checksum 16:21:24 3691962f683c: Download complete 16:21:24 339de151aab4: Verifying Checksum 16:21:24 339de151aab4: Download complete 16:21:24 339de151aab4: Pull complete 16:21:24 3691962f683c: Pull complete 16:21:25 [ 90%] Linking C executable device-bitfields 16:21:25 [ 90%] Built target device-bitfields 16:21:25 Scanning dependencies of target template-discovery 16:21:25 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:21:25 [ 93%] Linking C executable template-discovery 16:21:26 [ 93%] Built target template-discovery 16:21:26 Scanning dependencies of target device-file 16:21:26 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:21:26 [ 96%] Linking C executable device-file 16:21:27 [ 96%] Built target device-file 16:21:27 Scanning dependencies of target device-terminal 16:21:27 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:21:27 [100%] Linking C executable device-terminal 16:21:27 [100%] Built target device-terminal 16:21:27 Run CPack packaging tool... 16:21:27 CPack: Create package using TGZ 16:21:27 CPack: Install projects 16:21:27 CPack: - Run preinstall target for: Csdk 16:21:28 e1147bf81a45: Verifying Checksum 16:21:28 e1147bf81a45: Download complete 16:21:28 CPack: - Install project: Csdk [] 16:21:28 CPack: Create package 16:21:28 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:21:28 + '[' false '=' true ] 16:21:28 + '[' false '=' true ] 16:21:28 + mkdir -p /tmp/sdk/build/debug 16:21:28 + cd /tmp/sdk/build/debug 16:21:28 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:21:28 -- The C compiler identification is GNU 9.3.0 16:21:28 -- Check for working C compiler: /usr/bin/cc 16:21:29 -- Check for working C compiler: /usr/bin/cc - works 16:21:29 -- Detecting C compiler ABI info 16:21:29 -- Detecting C compiler ABI info - done 16:21:29 -- Detecting C compile features 16:21:29 -- Detecting C compile features - done 16:21:29 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:21:29 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 16:21:29 -- Found LIBYAML: /usr/lib/libyaml.so 16:21:29 -- Found LIBUUID: /usr/lib/libuuid.so 16:21:29 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:21:29 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:21:29 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:21:29 -- C SDK 0.0.0 for Linux 16:21:29 -- Performing Test CSDK_HAVE_ATOMIC 16:21:29 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:21:30 -- Found Curses: /usr/lib/libcurses.so 16:21:30 -- Configuring done 16:21:30 -- Generating done 16:21:30 -- Build files have been written to: /tmp/sdk/build/debug 16:21:30 + make 16:21:30 + tee debug.log 16:21:30 Scanning dependencies of target csdk 16:21:30 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:21:30 e1147bf81a45: Pull complete 16:21:30 Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee 16:21:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 16:21:30 ---> ac6a0feb3254 16:21:30 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:21:31 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:21:31 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:21:31 ---> Running in fb6d209af7ad 16:21:31 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:21:32 Connecting to iotech.jfrog.io (54.170.66.44:443) 16:21:32 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:21:32 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:21:32 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 16:21:32 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:21:32 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:21:32 Removing intermediate container fb6d209af7ad 16:21:32 ---> 783eebe927c1 16:21:32 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:21:32 ---> Running in c1f5d1f78fe3 16:21:32 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:21:33 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:21:33 Removing intermediate container c1f5d1f78fe3 16:21:33 ---> aa7f17a976ef 16:21:33 Step 5/25 : 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 paho-mqtt-c-dev hiredis-dev 16:21:33 ---> Running in f7db1dd1ec97 16:21:33 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:21:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:21:33 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:21:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:21:34 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:21:34 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:21:34 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:21:34 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:21:34 (1/22) Installing hiredis (0.14.1-r0) 16:21:34 (2/22) Installing hiredis-dev (0.14.1-r0) 16:21:34 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 16:21:35 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:21:35 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 16:21:35 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:21:35 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:21:35 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:21:36 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:21:36 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:21:36 (5/22) Installing libblkid (2.35.2-r0) 16:21:36 (6/22) Installing blkid (2.35.2-r0) 16:21:36 (7/22) Installing libcap-ng (0.7.10-r1) 16:21:36 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:21:36 (8/22) Installing setpriv (2.35.2-r0) 16:21:36 (9/22) Installing libmount (2.35.2-r0) 16:21:36 (10/22) Installing libsmartcols (2.35.2-r0) 16:21:37 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:21:37 (11/22) Installing findmnt (2.35.2-r0) 16:21:37 (12/22) Installing mcookie (2.35.2-r0) 16:21:37 (13/22) Installing hexdump (2.35.2-r0) 16:21:37 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:21:37 (14/22) Installing lsblk (2.35.2-r0) 16:21:37 (15/22) Installing libuuid (2.35.2-r0) 16:21:37 (16/22) Installing libfdisk (2.35.2-r0) 16:21:37 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:21:37 (17/22) Installing sfdisk (2.35.2-r0) 16:21:37 (18/22) Installing cfdisk (2.35.2-r0) 16:21:37 (19/22) Installing util-linux (2.35.2-r0) 16:21:38 (20/22) Installing util-linux-dev (2.35.2-r0) 16:21:38 (21/22) Installing libidn2 (2.3.0-r0) 16:21:38 (22/22) Installing wget (1.20.3-r1) 16:21:38 Executing busybox-1.31.1-r20.trigger 16:21:38 OK: 295 MiB in 97 packages 16:21:38 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:21:38 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:21:38 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:21:38 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:21:39 Removing intermediate container f7db1dd1ec97 16:21:39 ---> 79d9f7c4e1cb 16:21:39 Step 6/25 : ENV CBOR_VERSION=0.5.0 16:21:39 ---> Running in a32d78dd6d6d 16:21:39 Removing intermediate container a32d78dd6d6d 16:21:39 ---> dfece5bae31d 16:21:39 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 16:21:39 ---> Running in 64952fe6647c 16:21:39 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:21:39 --2021-07-28 16:21:39-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:21:39 Resolving github.com (github.com)... 140.82.113.4 16:21:39 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 16:21:39 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:21:39 HTTP request sent, awaiting response... 302 Found 16:21:39 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:21:39 --2021-07-28 16:21:39-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:21:39 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 16:21:39 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 16:21:39 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:21:39 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:21:39 HTTP request sent, awaiting response... 200 OK 16:21:39 Length: unspecified [application/x-gzip] 16:21:39 Saving to: 'STDOUT' 16:21:39  16:21:39 0K .......... .......... .......... .......... .......... 1.35M 16:21:39 50K .......... .......... .......... .......... .......... 2.59M 16:21:39 100K .......... .......... .......... .......... .......... 35.2M 16:21:39 150K .......... .......... .......... .......... .......... 40.5M 16:21:39 200K .......... .......... .......... .......... .......... 3.16M 16:21:39 250K .......... .......... .......... .......... .......... 5.09M 16:21:39 300K .......... .......... .......... .......... .......... 9.10M 16:21:39 350K .......... .......... .......... .......... .......... 7.88M 16:21:39 400K .......... .......... .......... .......... .......... 4.81M 16:21:39 450K .......... .......... .......... .......... .......... 9.72M 16:21:39 500K .......... .......... .......... .......... .......... 14.7M 16:21:39 550K .......... .......... .......... .......... .......... 12.3M 16:21:39 600K .......... .......... .......... .......... .......... 3.61M 16:21:39 650K .......... .......... .......... .......... .......... 9.75M 16:21:39 700K .. 70.0M=0.1s 16:21:39 16:21:39 2021-07-28 16:21:39 (5.07 MB/s) - written to stdout [719348] 16:21:39 16:21:39 -- The C compiler identification is GNU 9.3.0 16:21:40 -- The CXX compiler identification is GNU 9.3.0 16:21:40 -- Check for working C compiler: /usr/bin/cc 16:21:40 -- Check for working C compiler: /usr/bin/cc - works 16:21:40 -- Detecting C compiler ABI info 16:21:40 -- Detecting C compiler ABI info - done 16:21:40 -- Detecting C compile features 16:21:40 -- Detecting C compile features - done 16:21:40 -- Check for working CXX compiler: /usr/bin/c++ 16:21:40 -- Check for working CXX compiler: /usr/bin/c++ - works 16:21:40 -- Detecting CXX compiler ABI info 16:21:40 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:21:40 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:21:40 -- Detecting CXX compiler ABI info - done 16:21:40 -- Detecting CXX compile features 16:21:40 -- Detecting CXX compile features - done 16:21:40 -- Looking for include file endian.h 16:21:40 -- Looking for include file endian.h - found 16:21:40 -- Check if the system is big endian 16:21:40 -- Searching 16 bit integer 16:21:40 -- Looking for sys/types.h 16:21:40 -- Looking for sys/types.h - found 16:21:40 -- Looking for stdint.h 16:21:40 -- Looking for stdint.h - found 16:21:40 -- Looking for stddef.h 16:21:40 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:21:40 -- Looking for stddef.h - found 16:21:40 -- Check size of unsigned short 16:21:40 -- Check size of unsigned short - done 16:21:40 -- Searching 16 bit integer - Using unsigned short 16:21:40 -- Check if the system is big endian - little endian 16:21:40 -- Check size of size_t 16:21:40 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:21:40 -- Check size of size_t - done 16:21:40 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:21:40 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:21:40 asked CMake to find a package configuration file provided by "cJSON", but 16:21:40 CMake did not find one. 16:21:40 16:21:40 Could not find a package configuration file provided by "cJSON" with any of 16:21:40 the following names: 16:21:40 16:21:40 cJSONConfig.cmake 16:21:40 cjson-config.cmake 16:21:40 16:21:40 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:21:40 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:21:40 provides a separate development package or SDK, be sure it has been 16:21:40 installed. 16:21:40 16:21:40 16:21:40 -- Configuring done 16:21:40 -- Generating done 16:21:40 -- Build files have been written to: /tmp/cbor 16:21:40 Scanning dependencies of target cbor_shared 16:21:40 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:21:40 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:21:41 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:21:41 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:21:41 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:21:41 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:21:41 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:21:41 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:21:41 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:21:41 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:21:41 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:21:41 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:21:41 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:21:41 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:21:41 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:21:42 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:21:42 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:21:42 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:21:42 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:21:42 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:21:42 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:21:42 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:21:42 [ 40%] Linking C shared library libcbor.so 16:21:42 [ 40%] Built target cbor_shared 16:21:42 Scanning dependencies of target cbor 16:21:42 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:21:42 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:21:42 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:21:42 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:21:42 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:21:42 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:21:42 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:21:43 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:21:43 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:21:43 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:21:43 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:21:43 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:21:43 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:21:43 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:21:43 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:21:43 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:21:43 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:21:43 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:21:43 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:21:43 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:21:43 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:21:43 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:21:43 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:21:43 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:21:44 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:21:44 [ 80%] Linking C static library libcbor.a 16:21:44 [ 80%] Built target cbor 16:21:44 Scanning dependencies of target sort 16:21:44 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:21:44 [ 84%] Linking C executable sort 16:21:44 [ 84%] Built target sort 16:21:44 Scanning dependencies of target readfile 16:21:44 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:21:44 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:21:44 [ 88%] Linking C executable readfile 16:21:44 [ 88%] Built target readfile 16:21:44 Scanning dependencies of target streaming_parser 16:21:44 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:21:44 [ 92%] Linking C executable streaming_parser 16:21:44 [ 92%] Built target streaming_parser 16:21:44 Scanning dependencies of target hello 16:21:44 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:21:44 [ 96%] Linking C executable hello 16:21:44 [ 96%] Built target hello 16:21:44 Scanning dependencies of target create_items 16:21:44 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:21:44 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:21:44 [100%] Linking C executable create_items 16:21:44 [100%] Built target create_items 16:21:44 Install the project... 16:21:44 -- Install configuration: "Release" 16:21:44 -- Installing: /usr/local/include/cbor/configuration.h 16:21:44 -- Installing: /usr/local/lib64/libcbor.a 16:21:44 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:21:44 -- Installing: /usr/local/lib64/libcbor.so.0 16:21:44 -- Installing: /usr/local/lib64/libcbor.so 16:21:44 -- Up-to-date: /usr/local/include/cbor 16:21:44 -- Installing: /usr/local/include/cbor/arrays.h 16:21:44 -- Installing: /usr/local/include/cbor/bytestrings.h 16:21:44 -- Installing: /usr/local/include/cbor/callbacks.h 16:21:44 -- Installing: /usr/local/include/cbor/common.h 16:21:44 -- Installing: /usr/local/include/cbor/data.h 16:21:44 -- Installing: /usr/local/include/cbor/encoding.h 16:21:44 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:21:44 -- Installing: /usr/local/include/cbor/internal 16:21:44 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:21:44 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:21:44 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:21:44 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:21:44 -- Installing: /usr/local/include/cbor/internal/stack.h 16:21:44 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:21:44 -- Installing: /usr/local/include/cbor/ints.h 16:21:44 -- Installing: /usr/local/include/cbor/maps.h 16:21:44 -- Installing: /usr/local/include/cbor/serialization.h 16:21:44 -- Installing: /usr/local/include/cbor/streaming.h 16:21:44 -- Installing: /usr/local/include/cbor/strings.h 16:21:44 -- Installing: /usr/local/include/cbor/tags.h 16:21:44 -- Installing: /usr/local/include/cbor.h 16:21:44 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:21:45 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:21:45 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:21:45 Removing intermediate container 64952fe6647c 16:21:45 ---> 6a20eaf670ce 16:21:45 Step 8/25 : RUN mkdir /tmp/sdk 16:21:45 ---> Running in 8e1f11598509 16:21:45 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:21:45 Removing intermediate container 8e1f11598509 16:21:45 ---> 97aa04c7eaf7 16:21:45 Step 9/25 : COPY VERSION /tmp/sdk 16:21:45 ---> fcd6451f6848 16:21:45 Step 10/25 : COPY src /tmp/sdk/src 16:21:46 ---> 644c7b04f930 16:21:46 Step 11/25 : COPY include /tmp/sdk/include 16:21:46 ---> f8a52a45bae6 16:21:46 Step 12/25 : COPY scripts /tmp/sdk/scripts 16:21:46 ---> a80d751cd013 16:21:46 Step 13/25 : COPY LICENSE /tmp/sdk 16:21:46 ---> bfecddab9bf0 16:21:46 Step 14/25 : COPY Attribution.txt /tmp/sdk 16:21:46 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:21:46 ---> dfc10608dbe8 16:21:46 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:21:46 ---> Running in 05b7dbebc824 16:21:46 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:21:47 + CPPCHECK=false 16:21:47 + DOCGEN=false 16:21:47 + TOMLVER=SDK-0.2 16:21:47 + CUTILVER=1.1.4 16:21:47 + '[' 0 -gt 0 ] 16:21:47 + readlink -f ./scripts/build.sh 16:21:47 + dirname /tmp/sdk/scripts/build.sh 16:21:47 + dirname /tmp/sdk/scripts 16:21:47 + ROOT=/tmp/sdk 16:21:47 + cd /tmp/sdk 16:21:47 + '[' '!' -d deps ] 16:21:47 + mkdir deps 16:21:47 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:21:47 --2021-07-28 16:21:46-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:21:47 + tar -C deps -z -x -f - 16:21:47 Resolving github.com (github.com)... 140.82.113.4 16:21:47 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 16:21:47 HTTP request sent, awaiting response... 302 Found 16:21:47 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:21:47 --2021-07-28 16:21:46-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:21:47 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 16:21:47 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 16:21:47 [ 75%] Linking C shared library libcsdk.so 16:21:47 HTTP request sent, awaiting response... 200 OK 16:21:47 Length: unspecified [application/x-gzip] 16:21:47 Saving to: 'STDOUT' 16:21:47  16:21:47 0K .......... ...... 996K=0.02s 16:21:47 16:21:47 2021-07-28 16:21:47 (996 KB/s) - written to stdout [16451] 16:21:47 16:21:47 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:21:47 + tar -C deps -z -x -f - 16:21:47 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:21:47 --2021-07-28 16:21:47-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:21:47 Resolving github.com (github.com)... 140.82.113.4 16:21:47 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 16:21:47 HTTP request sent, awaiting response... 302 Found 16:21:47 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 16:21:47 --2021-07-28 16:21:47-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 16:21:47 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 16:21:47 [ 75%] Built target csdk 16:21:47 Scanning dependencies of target template 16:21:47 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:21:47 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 16:21:47 HTTP request sent, awaiting response... 200 OK 16:21:47 Length: unspecified [application/x-gzip] 16:21:47 Saving to: 'STDOUT' 16:21:47  16:21:47 0K .......... .......... .......... .......... .......... 1.51M 16:21:47 50K .......... .......... .......... .......... .......... 2.93M 16:21:47 100K .......... .......... .......... .......... .......... 44.4M 16:21:47 150K .......... .......... ....... 6.21M=0.05s 16:21:47 16:21:47 2021-07-28 16:21:47 (3.18 MB/s) - written to stdout [181796] 16:21:47 16:21:47 + mkdir -p src/c/iot 16:21:47 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 16:21:47 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 16:21:47 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 16:21:47 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 16:21:47 + mkdir -p include/iot 16:21:47 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 16:21:47 + mkdir -p include/iot/os 16:21:47 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 16:21:47 + mkdir -p /tmp/sdk/build/release 16:21:47 + cd /tmp/sdk/build/release 16:21:47 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:21:47 [ 78%] Linking C executable template 16:21:47 -- The C compiler identification is GNU 9.3.0 16:21:47 -- Check for working C compiler: /usr/bin/cc 16:21:47 -- Check for working C compiler: /usr/bin/cc - works 16:21:47 -- Detecting C compiler ABI info 16:21:47 -- Detecting C compiler ABI info - done 16:21:47 -- Detecting C compile features 16:21:47 -- Detecting C compile features - done 16:21:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:21:47 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 16:21:47 -- Found LIBYAML: /usr/lib/libyaml.so 16:21:47 -- Found LIBUUID: /usr/lib/libuuid.so 16:21:47 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:21:47 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:21:47 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:21:47 -- C SDK 0.0.0 for Linux 16:21:47 -- Performing Test CSDK_HAVE_ATOMIC 16:21:47 [ 78%] Built target template 16:21:47 Scanning dependencies of target device-counter 16:21:47 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:21:48 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:21:48 -- Found Curses: /usr/lib/libcurses.so 16:21:48 -- Configuring done 16:21:48 -- Generating done 16:21:48 -- Build files have been written to: /tmp/sdk/build/release 16:21:48 + make all package 16:21:48 + tee release.log 16:21:48 Scanning dependencies of target csdk 16:21:48 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:21:48 [ 81%] Linking C executable device-counter 16:21:48 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:21:48 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:21:48 [ 81%] Built target device-counter 16:21:48 Scanning dependencies of target device-random 16:21:48 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:21:48 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:21:48 [ 84%] Linking C executable device-random 16:21:48 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:21:48 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:21:48 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:21:48 [ 84%] Built target device-random 16:21:48 Scanning dependencies of target device-gyro 16:21:48 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:21:49 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:21:49 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:21:49 [ 87%] Linking C executable device-gyro 16:21:49 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:21:49 [ 87%] Built target device-gyro 16:21:49 Scanning dependencies of target device-bitfields 16:21:49 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:21:49 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:21:49 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:21:49 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:21:49 [ 90%] Linking C executable device-bitfields 16:21:49 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:21:49 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:21:49 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:21:50 [ 90%] Built target device-bitfields 16:21:50 Scanning dependencies of target template-discovery 16:21:50 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:21:50 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:21:50 [ 93%] Linking C executable template-discovery 16:21:50 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:21:50 [ 93%] Built target template-discovery 16:21:50 Scanning dependencies of target device-file 16:21:50 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:21:50 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:21:50 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:21:50 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:21:50 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:21:50 [ 96%] Linking C executable device-file 16:21:51 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:21:51 [ 96%] Built target device-file 16:21:51 Scanning dependencies of target device-terminal 16:21:51 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:21:51 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:21:51 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:21:51 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:21:51 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:21:51 [100%] Linking C executable device-terminal 16:21:51 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:21:51 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:21:51 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:21:51 [100%] Built target device-terminal 16:21:51 make: Entering directory '/tmp/sdk/build/release' 16:21:51 make[1]: Entering directory '/tmp/sdk/build/release' 16:21:51 make[2]: Entering directory '/tmp/sdk/build/release' 16:21:51 make[2]: Leaving directory '/tmp/sdk/build/release' 16:21:51 [ 75%] Built target csdk 16:21:51 make[2]: Entering directory '/tmp/sdk/build/release' 16:21:51 make[2]: Leaving directory '/tmp/sdk/build/release' 16:21:51 [ 78%] Built target template 16:21:51 make[2]: Entering directory '/tmp/sdk/build/release' 16:21:51 make[2]: Leaving directory '/tmp/sdk/build/release' 16:21:51 [ 81%] Built target device-counter 16:21:51 make[2]: Entering directory '/tmp/sdk/build/release' 16:21:51 make[2]: Leaving directory '/tmp/sdk/build/release' 16:21:52 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:21:52 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:21:52 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:21:52 [ 84%] Built target device-random 16:21:52 make[2]: Entering directory '/tmp/sdk/build/release' 16:21:52 make[2]: Leaving directory '/tmp/sdk/build/release' 16:21:52 [ 87%] Built target device-gyro 16:21:52 make[2]: Entering directory '/tmp/sdk/build/release' 16:21:52 make[2]: Leaving directory '/tmp/sdk/build/release' 16:21:52 [ 90%] Built target device-bitfields 16:21:52 make[2]: Entering directory '/tmp/sdk/build/release' 16:21:52 make[2]: Leaving directory '/tmp/sdk/build/release' 16:21:52 [ 93%] Built target template-discovery 16:21:52 make[2]: Entering directory '/tmp/sdk/build/release' 16:21:52 make[2]: Leaving directory '/tmp/sdk/build/release' 16:21:52 [ 96%] Built target device-file 16:21:52 make[2]: Entering directory '/tmp/sdk/build/release' 16:21:52 make[2]: Leaving directory '/tmp/sdk/build/release' 16:21:52 [100%] Built target device-terminal 16:21:52 make[1]: Leaving directory '/tmp/sdk/build/release' 16:21:52 Install the project... 16:21:52 -- Install configuration: "Release" 16:21:52 -- Installing: /usr/local/lib/libcsdk.so 16:21:52 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:21:52 -- Up-to-date: /usr/local/include 16:21:52 -- Installing: /usr/local/include/edgex 16:21:52 -- Installing: /usr/local/include/edgex/rest-server.h 16:21:52 -- Installing: /usr/local/include/edgex/edgex-base.h 16:21:52 -- Installing: /usr/local/include/edgex/edgex.h 16:21:52 -- Installing: /usr/local/include/edgex/devices.h 16:21:52 -- Installing: /usr/local/include/edgex/secrets.h 16:21:52 -- Installing: /usr/local/include/edgex/profiles.h 16:21:52 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:21:52 -- Installing: /usr/local/include/devsdk 16:21:52 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:21:52 -- Installing: /usr/local/include/devsdk/devsdk.h 16:21:52 -- Installing: /usr/local/include/iot 16:21:52 -- Installing: /usr/local/include/iot/json.h 16:21:52 -- Installing: /usr/local/include/iot/container.h 16:21:52 -- Installing: /usr/local/include/iot/component.h 16:21:52 -- Installing: /usr/local/include/iot/typecode.h 16:21:52 -- Installing: /usr/local/include/iot/iot.h 16:21:52 -- Installing: /usr/local/include/iot/time.h 16:21:52 -- Installing: /usr/local/include/iot/hash.h 16:21:52 -- Installing: /usr/local/include/iot/logger.h 16:21:52 -- Installing: /usr/local/include/iot/os 16:21:52 -- Installing: /usr/local/include/iot/os/zephyr.h 16:21:52 -- Installing: /usr/local/include/iot/os/linux.h 16:21:52 -- Installing: /usr/local/include/iot/os/macos.h 16:21:52 -- Installing: /usr/local/include/iot/scheduler.h 16:21:52 -- Installing: /usr/local/include/iot/data.h 16:21:52 -- Installing: /usr/local/include/iot/thread.h 16:21:52 -- Installing: /usr/local/include/iot/os.h 16:21:52 -- Installing: /usr/local/include/iot/base64.h 16:21:52 -- Installing: /usr/local/include/iot/defs.h 16:21:52 -- Installing: /usr/local/include/iot/threadpool.h 16:21:52 -- Installing: /usr/local/include/iot/config.h 16:21:52 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:21:52 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:21:52 make: Leaving directory '/tmp/sdk/build/release' 16:21:52 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:21:52 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:21:52 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:21:53 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:21:53 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:21:53 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:21:53 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:21:53 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:21:54 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:21:54 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:21:54 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:21:54 Removing intermediate container 3d6bc68059b8 16:21:54 ---> e33d08302eda 16:21:54 Step 16/25 : FROM ${BASE} 16:21:54 ---> 759262b18b23 16:21:54 Step 17/25 : LABEL maintainer="IOTech " 16:21:54 ---> Running in 4341a538fef9 16:21:54 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:21:54 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:21:54 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:21:55 Removing intermediate container 4341a538fef9 16:21:55 ---> 33980dcd0707 16:21:55 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:21:55 ---> Running in cc30cce806ac 16:21:55 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:21:55 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:21:55 [ 75%] Linking C shared library libcsdk.so 16:21:55 [ 75%] Built target csdk 16:21:55 Scanning dependencies of target template 16:21:55 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:21:56 [ 78%] Linking C executable template 16:21:56 [ 78%] Built target template 16:21:56 Scanning dependencies of target device-counter 16:21:56 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:21:56 [ 81%] Linking C executable device-counter 16:21:56 Connecting to iotech.jfrog.io (54.195.244.87:443) 16:21:56 [ 81%] Built target device-counter 16:21:56 Scanning dependencies of target device-random 16:21:56 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:21:56 [ 84%] Linking C executable device-random 16:21:56 [ 84%] Built target device-random 16:21:56 Scanning dependencies of target device-gyro 16:21:56 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:21:56 [ 87%] Linking C executable device-gyro 16:21:56 [ 87%] Built target device-gyro 16:21:56 Scanning dependencies of target device-bitfields 16:21:56 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:21:56 [ 90%] Linking C executable device-bitfields 16:21:56 [ 90%] Built target device-bitfields 16:21:56 Scanning dependencies of target template-discovery 16:21:56 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:21:56 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:21:56 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:21:56 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 16:21:56 [ 93%] Linking C executable template-discovery 16:21:56 [ 93%] Built target template-discovery 16:21:56 Scanning dependencies of target device-file 16:21:56 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:21:56 [ 96%] Linking C executable device-file 16:21:57 [ 96%] Built target device-file 16:21:57 Scanning dependencies of target device-terminal 16:21:57 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:21:57 [100%] Linking C executable device-terminal 16:21:57 [100%] Built target device-terminal 16:21:57 Run CPack packaging tool... 16:21:57 CPack: Create package using TGZ 16:21:57 CPack: Install projects 16:21:57 CPack: - Run preinstall target for: Csdk 16:21:57 CPack: - Install project: Csdk [] 16:21:57 CPack: Create package 16:21:57 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:21:57 + '[' false '=' true ] 16:21:57 + '[' false '=' true ] 16:21:57 + mkdir -p /tmp/sdk/build/debug 16:21:57 + cd /tmp/sdk/build/debug 16:21:57 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:21:57 -- The C compiler identification is GNU 9.3.0 16:21:57 -- Check for working C compiler: /usr/bin/cc 16:21:57 -- Check for working C compiler: /usr/bin/cc - works 16:21:57 -- Detecting C compiler ABI info 16:21:57 -- Detecting C compiler ABI info - done 16:21:57 -- Detecting C compile features 16:21:57 -- Detecting C compile features - done 16:21:57 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:21:57 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 16:21:57 -- Found LIBYAML: /usr/lib/libyaml.so 16:21:57 -- Found LIBUUID: /usr/lib/libuuid.so 16:21:57 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:21:57 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:21:57 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:21:57 -- C SDK 0.0.0 for Linux 16:21:57 -- Performing Test CSDK_HAVE_ATOMIC 16:21:57 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:21:57 Removing intermediate container cc30cce806ac 16:21:57 ---> 12476aacf4e2 16:21:57 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:21:57 -- Found Curses: /usr/lib/libcurses.so 16:21:57 -- Configuring done 16:21:57 -- Generating done 16:21:57 -- Build files have been written to: /tmp/sdk/build/debug 16:21:57 + make 16:21:57 + tee debug.log 16:21:57 Scanning dependencies of target csdk 16:21:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:21:57 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:21:58 ---> Running in fb072d444629 16:21:58 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:21:58 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:21:58 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:21:58 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:21:58 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:21:58 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:21:58 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:21:58 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:21:58 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:21:58 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:21:58 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:21:59 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:21:59 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:21:59 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:21:59 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:21:59 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:21:59 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:21:59 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:21:59 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:21:59 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:21:59 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:21:59 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:21:59 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:21:59 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:21:59 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:21:59 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:21:59 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:21:59 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:21:59 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:21:59 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:22:00 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:22:00 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:22:00 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:22:00 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:22:00 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:22:00 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:22:00 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:22:00 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:22:00 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:22:00 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:22:00 Removing intermediate container fb072d444629 16:22:00 ---> 27bc047b9727 16:22:00 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 16:22:00 ---> Running in 036087e70e1b 16:22:00 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:22:00 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:22:00 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:22:01 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:22:01 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:22:01 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:22:01 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:22:01 [ 75%] Linking C shared library libcsdk.so 16:22:01 [ 75%] Built target csdk 16:22:01 Scanning dependencies of target template 16:22:01 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:22:01 [ 78%] Linking C executable template 16:22:01 [ 78%] Built target template 16:22:01 Scanning dependencies of target device-counter 16:22:01 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:22:01 [ 81%] Linking C executable device-counter 16:22:01 [ 81%] Built target device-counter 16:22:01 Scanning dependencies of target device-random 16:22:01 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:22:01 [ 84%] Linking C executable device-random 16:22:01 [ 84%] Built target device-random 16:22:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:22:02 Scanning dependencies of target device-gyro 16:22:02 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:22:02 [ 87%] Linking C executable device-gyro 16:22:02 [ 87%] Built target device-gyro 16:22:02 Scanning dependencies of target device-bitfields 16:22:02 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:22:02 [ 90%] Linking C executable device-bitfields 16:22:02 [ 90%] Built target device-bitfields 16:22:02 Scanning dependencies of target template-discovery 16:22:02 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:22:02 [ 93%] Linking C executable template-discovery 16:22:02 [ 93%] Built target template-discovery 16:22:02 Scanning dependencies of target device-file 16:22:02 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:22:02 [ 96%] Linking C executable device-file 16:22:02 [ 96%] Built target device-file 16:22:02 Scanning dependencies of target device-terminal 16:22:02 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:22:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:22:02 [100%] Linking C executable device-terminal 16:22:02 [100%] Built target device-terminal 16:22:02 make: Entering directory '/tmp/sdk/build/release' 16:22:02 make[1]: Entering directory '/tmp/sdk/build/release' 16:22:02 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:02 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:02 [ 75%] Built target csdk 16:22:02 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:02 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:02 [ 78%] Built target template 16:22:02 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:02 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:02 [ 81%] Built target device-counter 16:22:02 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:02 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:02 [ 84%] Built target device-random 16:22:02 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:02 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:02 [ 87%] Built target device-gyro 16:22:02 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:02 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:02 [ 90%] Built target device-bitfields 16:22:02 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:02 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:02 [ 93%] Built target template-discovery 16:22:02 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:02 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:02 [ 96%] Built target device-file 16:22:02 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:02 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:02 [100%] Built target device-terminal 16:22:02 make[1]: Leaving directory '/tmp/sdk/build/release' 16:22:02 Install the project... 16:22:02 -- Install configuration: "Release" 16:22:02 -- Installing: /usr/local/lib/libcsdk.so 16:22:02 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:22:02 -- Up-to-date: /usr/local/include 16:22:02 -- Installing: /usr/local/include/devsdk 16:22:02 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:22:02 -- Installing: /usr/local/include/devsdk/devsdk.h 16:22:02 -- Installing: /usr/local/include/edgex 16:22:02 -- Installing: /usr/local/include/edgex/devices.h 16:22:02 -- Installing: /usr/local/include/edgex/edgex-base.h 16:22:02 -- Installing: /usr/local/include/edgex/edgex.h 16:22:02 -- Installing: /usr/local/include/edgex/profiles.h 16:22:02 -- Installing: /usr/local/include/edgex/rest-server.h 16:22:02 -- Installing: /usr/local/include/edgex/secrets.h 16:22:02 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:22:02 -- Installing: /usr/local/include/iot 16:22:02 -- Installing: /usr/local/include/iot/base64.h 16:22:02 -- Installing: /usr/local/include/iot/component.h 16:22:02 -- Installing: /usr/local/include/iot/config.h 16:22:02 -- Installing: /usr/local/include/iot/container.h 16:22:02 -- Installing: /usr/local/include/iot/data.h 16:22:02 -- Installing: /usr/local/include/iot/hash.h 16:22:02 -- Installing: /usr/local/include/iot/iot.h 16:22:02 -- Installing: /usr/local/include/iot/json.h 16:22:02 -- Installing: /usr/local/include/iot/logger.h 16:22:02 -- Installing: /usr/local/include/iot/os.h 16:22:02 -- Installing: /usr/local/include/iot/scheduler.h 16:22:02 -- Installing: /usr/local/include/iot/thread.h 16:22:02 -- Installing: /usr/local/include/iot/threadpool.h 16:22:02 -- Installing: /usr/local/include/iot/time.h 16:22:02 -- Installing: /usr/local/include/iot/typecode.h 16:22:02 -- Installing: /usr/local/include/iot/os 16:22:02 -- Installing: /usr/local/include/iot/os/linux.h 16:22:02 -- Installing: /usr/local/include/iot/os/macos.h 16:22:02 -- Installing: /usr/local/include/iot/os/zephyr.h 16:22:02 -- Installing: /usr/local/include/iot/defs.h 16:22:02 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:22:02 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:22:02 make: Leaving directory '/tmp/sdk/build/release' 16:22:02 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:22:03 Removing intermediate container 05b7dbebc824 16:22:03 ---> 7687d3e615fb 16:22:03 Step 16/25 : FROM ${BASE} 16:22:03 ---> ac6a0feb3254 16:22:03 Step 17/25 : LABEL maintainer="IOTech " 16:22:03 ---> Running in 909397d081f3 16:22:03 Removing intermediate container 909397d081f3 16:22:03 ---> 5892a341ca25 16:22:03 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:22:03 ---> Running in 1f458367ddc5 16:22:03 (1/7) Installing curl (7.78.0-r0) 16:22:03 (2/7) Installing hiredis (0.14.1-r0) 16:22:03 Connecting to iotech.jfrog.io (54.229.110.245:443) 16:22:03 (3/7) Installing hiredis-dev (0.14.1-r0) 16:22:03 (4/7) Installing libuuid (2.35.2-r0) 16:22:03 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 16:22:03 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:22:03 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:22:03 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 16:22:04 Removing intermediate container 1f458367ddc5 16:22:04 ---> 83399730357d 16:22:04 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:22:04 ---> Running in 2b86e6d6e835 16:22:04 Removing intermediate container 2b86e6d6e835 16:22:04 ---> 1ca733db8f28 16:22:04 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 16:22:04 ---> Running in ef49a0c4b50a 16:22:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:22:05 (6/7) Installing libidn2 (2.3.0-r0) 16:22:05 (7/7) Installing wget (1.20.3-r1) 16:22:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:22:05 Executing busybox-1.31.1-r20.trigger 16:22:05 OK: 267 MiB in 82 packages 16:22:05 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:22:06 (1/7) Installing curl (7.78.0-r0) 16:22:06 (2/7) Installing hiredis (0.14.1-r0) 16:22:06 (3/7) Installing hiredis-dev (0.14.1-r0) 16:22:06 (4/7) Installing libuuid (2.35.2-r0) 16:22:06 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 16:22:07 Removing intermediate container 036087e70e1b 16:22:07 ---> 3472a0f13dba 16:22:07 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:22:08 (6/7) Installing libidn2 (2.3.0-r0) 16:22:08 (7/7) Installing wget (1.20.3-r1) 16:22:08 ---> e906159eed22 16:22:08 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:22:08 Executing busybox-1.31.1-r20.trigger 16:22:08 OK: 286 MiB in 82 packages 16:22:08 Removing intermediate container ef49a0c4b50a 16:22:08 ---> 010e858f2bb8 16:22:08 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:22:08 ---> befd413be05c 16:22:08 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 16:22:08 ---> 117f6c8eb688 16:22:08 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:22:08 ---> 007f5e722b47 16:22:08 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 16:22:09 ---> 7bba99f9a08c 16:22:09 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:22:09 ---> 995c6aea4bd6 16:22:09 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:22:09 ---> ec23b6c7e39f 16:22:09 Successfully built ec23b6c7e39f 16:22:09 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 16:22:09 ---> 2e4d49a49bb2 16:22:09 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:22:09 + docker inspect -f . ci-base-image-x86_64 16:22:09 . [Pipeline] withDockerContainer 16:22:10 prd-centos7-docker-4c-2g-376 does not seem to be running inside a container 16:22:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:22:10 $ docker top 05b5c3d7b759f7aaef98b35f3f5e3b34c52f895bbd9651966faae43c7a210f03 -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:10 ---> 552ac4c820ee 16:22:10 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:22:10 + make test 16:22:10 echo "make test" 16:22:10 make test [Pipeline] } 16:22:10 $ docker stop --time=1 05b5c3d7b759f7aaef98b35f3f5e3b34c52f895bbd9651966faae43c7a210f03 16:22:11 ---> d16fe795a8ed 16:22:11 Successfully built d16fe795a8ed 16:22:11 Successfully tagged ci-base-image-arm64:latest 16:22:12 $ docker rm -f 05b5c3d7b759f7aaef98b35f3f5e3b34c52f895bbd9651966faae43c7a210f03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 16:22:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:22:13 + docker inspect -f . ci-base-image-arm64 16:22:13 . [Pipeline] withDockerContainer 16:22:13 + ls -al . 16:22:13 total 160 16:22:13 drwxrwxr-x. 8 jenkins jenkins 260 Jul 28 16:21 . 16:22:13 drwxrwxr-x. 4 jenkins jenkins 28 Jul 28 16:21 .. 16:22:13 -rw-rw-r--. 1 jenkins jenkins 3104 Jul 28 16:21 Attribution.txt 16:22:13 -rw-rw-r--. 1 jenkins jenkins 7556 Jul 28 16:21 CHANGES 16:22:13 drwxrwxr-x. 2 jenkins jenkins 121 Jul 28 16:21 docs 16:22:13 -rw-rw-r--. 1 jenkins jenkins 108574 Jul 28 16:21 Doxyfile 16:22:13 drwxrwxr-x. 8 jenkins jenkins 179 Jul 28 16:21 .git 16:22:13 drwxrwxr-x. 2 jenkins jenkins 81 Jul 28 16:21 .github 16:22:13 -rw-rw-r--. 1 jenkins jenkins 176 Jul 28 16:21 .gitignore 16:22:13 drwxrwxr-x. 4 jenkins jenkins 33 Jul 28 16:21 include 16:22:13 -rw-rw-r--. 1 jenkins jenkins 784 Jul 28 16:21 Jenkinsfile 16:22:13 -rw-rw-r--. 1 jenkins jenkins 10174 Jul 28 16:21 LICENSE 16:22:13 -rw-rw-r--. 1 jenkins jenkins 444 Jul 28 16:21 Makefile 16:22:13 -rw-rw-r--. 1 jenkins jenkins 4090 Jul 28 16:21 README.md 16:22:13 -rw-rw-r--. 1 jenkins jenkins 7090 Jul 28 16:21 README.v2.md 16:22:13 drwxrwxr-x. 2 jenkins jenkins 98 Jul 28 16:21 scripts 16:22:13 drwxrwxr-x. 4 jenkins jenkins 50 Jul 28 16:21 src 16:22:13 -rw-rw-r--. 1 jenkins jenkins 5 Jul 28 16:19 VERSION 16:22:13 prd-ubuntu18.04-docker-arm64-4c-16g-372 does not seem to be running inside a container 16:22:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:22:15 $ docker top 02fa26f1dca4cce56eca27e20ecca986ef8adf477fa25b0e6ff4e8d7fc2b8145 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 16:22:16 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=66df8a1dc730d8f42e5be5e750b5933662fc1a4b --label arch=amd64 --label version=0.0.0 . 16:22:16 Sending build context to Docker daemon 2.692MB 16:22:16 Step 1/17 : ARG BASE=alpine:3.12 16:22:16 Step 2/17 : FROM ${BASE} 16:22:16 ---> ec23b6c7e39f 16:22:16 Step 3/17 : LABEL maintainer="IOTech " 16:22:16 ---> Running in 8e17e8576bad 16:22:16 Removing intermediate container 8e17e8576bad 16:22:16 ---> 0bc35df5aef3 16:22:16 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:22:16 ---> Running in c3ea57a37597 16:22:16 + make test 16:22:16 echo "make test" 16:22:16 make test [Pipeline] } 16:22:16 $ docker stop --time=1 02fa26f1dca4cce56eca27e20ecca986ef8adf477fa25b0e6ff4e8d7fc2b8145 16:22:16 --2021-07-28 16:22:16-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 16:22:16 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.195.244.87, 54.170.66.44 16:22:16 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. 16:22:17 HTTP request sent, awaiting response... 200 OK 16:22:17 Length: 451 [application/octet-stream] 16:22:17 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:22:17  16:22:17 0K 100% 39.9M=0s 16:22:17 16:22:17 2021-07-28 16:22:17 (39.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 16:22:17 16:22:17 Removing intermediate container c3ea57a37597 16:22:17 ---> eb3e9f1e11ed 16:22:17 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:22:17 ---> Running in b5b0a218df0a 16:22:17 Removing intermediate container b5b0a218df0a 16:22:17 ---> c6367f3ac897 16:22:17 Step 6/17 : 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 paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 16:22:17 ---> Running in 06fbe203076f 16:22:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:22:18 $ docker rm -f 02fa26f1dca4cce56eca27e20ecca986ef8adf477fa25b0e6ff4e8d7fc2b8145 16:22:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:22:19 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:22:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:22:19 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 16:22:19 + ls -al . 16:22:19 total 192 16:22:19 drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 16:19 . 16:22:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 16:19 .. 16:22:19 drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 16:19 .git 16:22:19 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 16:19 .github 16:22:19 -rw-rw-r-- 1 jenkins jenkins 176 Jul 28 16:19 .gitignore 16:22:19 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 28 16:19 Attribution.txt 16:22:19 -rw-rw-r-- 1 jenkins jenkins 7556 Jul 28 16:19 CHANGES 16:22:19 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 28 16:19 Doxyfile 16:22:19 -rw-rw-r-- 1 jenkins jenkins 784 Jul 28 16:19 Jenkinsfile 16:22:19 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 28 16:19 LICENSE 16:22:19 -rw-rw-r-- 1 jenkins jenkins 444 Jul 28 16:19 Makefile 16:22:19 -rw-rw-r-- 1 jenkins jenkins 4090 Jul 28 16:19 README.md 16:22:19 -rw-rw-r-- 1 jenkins jenkins 7090 Jul 28 16:19 README.v2.md 16:22:19 -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 16:19 VERSION 16:22:19 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 16:19 docs 16:22:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 16:19 include 16:22:19 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 16:19 scripts 16:22:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 16:19 src [Pipeline] isUnix [Pipeline] sh 16:22:19 (2/16) Installing libblkid (2.35.2-r0) 16:22:19 (3/16) Installing blkid (2.35.2-r0) 16:22:19 (4/16) Installing libcap-ng (0.7.10-r1) 16:22:20 (5/16) Installing setpriv (2.35.2-r0) 16:22:20 (6/16) Installing libmount (2.35.2-r0) 16:22:20 (7/16) Installing libsmartcols (2.35.2-r0) 16:22:20 + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6bad4243c91085152b09cf272f9a5e6f443993c1 --label arch=arm64 --label version=0.0.0 . 16:22:20 (8/16) Installing findmnt (2.35.2-r0) 16:22:20 (9/16) Installing mcookie (2.35.2-r0) 16:22:20 (10/16) Installing hexdump (2.35.2-r0) 16:22:20 (11/16) Installing lsblk (2.35.2-r0) 16:22:20 (12/16) Installing libfdisk (2.35.2-r0) 16:22:20 (13/16) Installing sfdisk (2.35.2-r0) 16:22:20 (14/16) Installing cfdisk (2.35.2-r0) 16:22:20 Sending build context to Docker daemon 2.691MB 16:22:20 Step 1/17 : ARG BASE=alpine:3.12 16:22:20 Step 2/17 : FROM ${BASE} 16:22:20 ---> d16fe795a8ed 16:22:20 Step 3/17 : LABEL maintainer="IOTech " 16:22:20 (15/16) Installing util-linux (2.35.2-r0) 16:22:20 ---> Running in 43271e6b8c96 16:22:21 (16/16) Installing util-linux-dev (2.35.2-r0) 16:22:21 Executing busybox-1.31.1-r20.trigger 16:22:21 OK: 295 MiB in 98 packages 16:22:21 Removing intermediate container 43271e6b8c96 16:22:21 ---> 217d85b71dc1 16:22:21 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:22:21 ---> Running in 830f5b0eab0a 16:22:21 Removing intermediate container 06fbe203076f 16:22:21 ---> 2f7451ee200e 16:22:21 Step 7/17 : COPY VERSION /edgex-c-sdk/ 16:22:21 ---> 5f7a8e2dbb30 16:22:21 Step 8/17 : COPY src /edgex-c-sdk/src/ 16:22:22 ---> e2d8b1338210 16:22:22 Step 9/17 : COPY include /edgex-c-sdk/include/ 16:22:22 ---> 85610768d3aa 16:22:22 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 16:22:22 ---> fa68ae88dcc9 16:22:22 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 16:22:22 ---> 1dd44befb075 16:22:22 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 16:22:22 ---> 536ce16d082c 16:22:22 Step 13/17 : WORKDIR /edgex-c-sdk 16:22:22 ---> Running in 81b50a10363c 16:22:22 Removing intermediate container 81b50a10363c 16:22:22 ---> bb61c7ca4148 16:22:22 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:22:22 ---> Running in c43970d8f46a 16:22:22 --2021-07-28 16:22:22-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 16:22:22 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.195.244.87, 54.170.66.44 16:22:22 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. 16:22:22 Removing intermediate container c43970d8f46a 16:22:22 ---> 0a3d7221df40 16:22:22 Step 15/17 : LABEL arch=amd64 16:22:22 ---> Running in 1233953db4d3 16:22:22 Removing intermediate container 1233953db4d3 16:22:22 ---> 6993a287f112 16:22:22 Step 16/17 : LABEL git_sha=66df8a1dc730d8f42e5be5e750b5933662fc1a4b 16:22:22 ---> Running in 45ddf1bad863 16:22:22 Removing intermediate container 45ddf1bad863 16:22:22 ---> 88c3725c5efb 16:22:22 Step 17/17 : LABEL version=0.0.0 16:22:23 HTTP request sent, awaiting response... 200 OK 16:22:23 Length: 451 [application/octet-stream] 16:22:23 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:22:23  16:22:23 0K 100% 18.1M=0s 16:22:23 16:22:23 2021-07-28 16:22:23 (18.1 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 16:22:23 16:22:23 ---> Running in 8727b776de5b 16:22:23 Removing intermediate container 8727b776de5b 16:22:23 ---> 820e1205197a 16:22:23 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:22:23 Successfully built 820e1205197a 16:22:23 Successfully tagged device-sdk: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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:22:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:23 16:22:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:22:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:24 latest: Pulling from edgex-lftools-log-publisher 16:22:24 b4d181a07f80: Pulling fs layer 16:22:24 a1111a8f2ec3: Pulling fs layer 16:22:24 ed53099fbce6: Pulling fs layer 16:22:24 dc539afda2c1: Pulling fs layer 16:22:24 77bc0d833cb6: Pulling fs layer 16:22:24 9065ff56babe: Pulling fs layer 16:22:24 d287ab97295c: Pulling fs layer 16:22:24 dc539afda2c1: Waiting 16:22:24 77bc0d833cb6: Waiting 16:22:24 9065ff56babe: Waiting 16:22:24 d287ab97295c: Waiting 16:22:24 a1111a8f2ec3: Verifying Checksum 16:22:24 a1111a8f2ec3: Download complete 16:22:24 dc539afda2c1: Verifying Checksum 16:22:24 dc539afda2c1: Download complete 16:22:24 77bc0d833cb6: Verifying Checksum 16:22:24 77bc0d833cb6: Download complete 16:22:24 Removing intermediate container 830f5b0eab0a 16:22:24 ---> d2bb217b724e 16:22:24 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:22:24 ---> Running in fbe10e03dbc5 16:22:24 9065ff56babe: Verifying Checksum 16:22:24 9065ff56babe: Download complete 16:22:25 ed53099fbce6: Verifying Checksum 16:22:25 ed53099fbce6: Download complete 16:22:25 b4d181a07f80: Verifying Checksum 16:22:25 b4d181a07f80: Download complete 16:22:27 b4d181a07f80: Pull complete 16:22:27 a1111a8f2ec3: Pull complete 16:22:27 Removing intermediate container fbe10e03dbc5 16:22:27 ---> af657b5fa7a4 16:22:27 Step 6/17 : 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 paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 16:22:27 ---> Running in b235e09181e5 16:22:27 ed53099fbce6: Pull complete 16:22:27 dc539afda2c1: Pull complete 16:22:27 77bc0d833cb6: Pull complete 16:22:27 9065ff56babe: Pull complete 16:22:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:22:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:22:29 d287ab97295c: Verifying Checksum 16:22:29 d287ab97295c: Download complete 16:22:29 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:22:30 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 16:22:30 (2/16) Installing libblkid (2.35.2-r0) 16:22:30 (3/16) Installing blkid (2.35.2-r0) 16:22:30 (4/16) Installing libcap-ng (0.7.10-r1) 16:22:30 (5/16) Installing setpriv (2.35.2-r0) 16:22:30 (6/16) Installing libmount (2.35.2-r0) 16:22:30 (7/16) Installing libsmartcols (2.35.2-r0) 16:22:30 (8/16) Installing findmnt (2.35.2-r0) 16:22:30 (9/16) Installing mcookie (2.35.2-r0) 16:22:30 (10/16) Installing hexdump (2.35.2-r0) 16:22:30 (11/16) Installing lsblk (2.35.2-r0) 16:22:31 (12/16) Installing libfdisk (2.35.2-r0) 16:22:31 (13/16) Installing sfdisk (2.35.2-r0) 16:22:31 (14/16) Installing cfdisk (2.35.2-r0) 16:22:31 (15/16) Installing util-linux (2.35.2-r0) 16:22:31 (16/16) Installing util-linux-dev (2.35.2-r0) 16:22:32 Executing busybox-1.31.1-r20.trigger 16:22:32 OK: 276 MiB in 98 packages 16:22:33 d287ab97295c: Pull complete 16:22:33 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:22:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:22:33 prd-centos7-docker-4c-2g-376 does not seem to be running inside a container 16:22:33 Removing intermediate container b235e09181e5 16:22:33 ---> bca6d339e3c5 16:22:33 Step 7/17 : COPY VERSION /edgex-c-sdk/ 16:22:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:22:34 ---> 92cda5f565fb 16:22:34 Step 8/17 : COPY src /edgex-c-sdk/src/ 16:22:35 ---> f6e49f2825de 16:22:35 Step 9/17 : COPY include /edgex-c-sdk/include/ 16:22:36 $ docker top 655ab2c713b0b96bdebc0078e9c157e61d8118ed81088e80fe4a299fca974a3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:22:36 ---> job-cost.sh 16:22:36 lf-activate-venv: SKIPPING 16:22:36 INFO: No Stack... 16:22:36 ---> 32430a4106cf 16:22:36 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 16:22:37 ---> dd7acfe1abb4 16:22:37 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 16:22:37 INFO: Retrieving Pricing Info for: v3-standard-2 16:22:37 INFO: Archiving Costs [Pipeline] sh 16:22:38 + cat /w/workspace/device-sdk-c/6/archives/cost.csv 16:22:38 + cut -d, -f6 [Pipeline] lock 16:22:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-6-stack-cost] 16:22:38 ---> be92a9103d98 16:22:38 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 16:22:38 Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-6-stack-cost] did not exist. Created. 16:22:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:22:38 + echo total: 0.05999999865889549 [Pipeline] stash 16:22:38 Stashed 1 file(s) [Pipeline] } 16:22:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-6-stack-cost] [Pipeline] // lock 16:22:38 ---> d3af72f9d555 16:22:38 Step 13/17 : WORKDIR /edgex-c-sdk [Pipeline] } 16:22:38 $ docker stop --time=1 655ab2c713b0b96bdebc0078e9c157e61d8118ed81088e80fe4a299fca974a3a 16:22:39 ---> Running in 44cad5051f5d 16:22:39 Removing intermediate container 44cad5051f5d 16:22:39 ---> f1a44441702b 16:22:39 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:22:39 ---> Running in 3ac1af501731 16:22:39 $ docker rm -f 655ab2c713b0b96bdebc0078e9c157e61d8118ed81088e80fe4a299fca974a3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:22:40 Removing intermediate container 3ac1af501731 16:22:40 ---> 3250b9f6355e 16:22:40 Step 15/17 : LABEL arch=arm64 16:22:40 ---> Running in 2516ef89d738 16:22:41 Removing intermediate container 2516ef89d738 16:22:41 ---> 88ff29aa61e4 16:22:41 Step 16/17 : LABEL git_sha=6bad4243c91085152b09cf272f9a5e6f443993c1 16:22:41 ---> Running in 8a82b74fa251 16:22:41 Removing intermediate container 8a82b74fa251 16:22:41 ---> 5434b139d8c8 16:22:41 Step 17/17 : LABEL version=0.0.0 16:22:41 ---> Running in 31c3016cc82b 16:22:42 Removing intermediate container 31c3016cc82b 16:22:42 ---> b2aa0ab944d0 16:22:42 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:22:42 Successfully built b2aa0ab944d0 16:22:42 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:22:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:22:43 16:22:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:22:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:22:44 arm64: Pulling from edgex-lftools-log-publisher 16:22:44 448f6bf000e3: Pulling fs layer 16:22:44 f757da607395: Pulling fs layer 16:22:44 05883995daec: Pulling fs layer 16:22:44 8603b9c90790: Pulling fs layer 16:22:44 1560dd03e051: Pulling fs layer 16:22:44 27f5ce0e4adf: Pulling fs layer 16:22:44 c2d8d7efcc4b: Pulling fs layer 16:22:44 8603b9c90790: Waiting 16:22:44 1560dd03e051: Waiting 16:22:44 27f5ce0e4adf: Waiting 16:22:44 c2d8d7efcc4b: Waiting 16:22:44 f757da607395: Download complete 16:22:44 8603b9c90790: Verifying Checksum 16:22:44 8603b9c90790: Download complete 16:22:44 1560dd03e051: Verifying Checksum 16:22:44 1560dd03e051: Download complete 16:22:44 27f5ce0e4adf: Verifying Checksum 16:22:44 27f5ce0e4adf: Download complete 16:22:45 05883995daec: Verifying Checksum 16:22:45 05883995daec: Download complete 16:22:45 448f6bf000e3: Download complete 16:22:48 c2d8d7efcc4b: Verifying Checksum 16:22:48 c2d8d7efcc4b: Download complete 16:22:48 448f6bf000e3: Pull complete 16:22:49 f757da607395: Pull complete 16:22:51 05883995daec: Pull complete 16:22:51 8603b9c90790: Pull complete 16:22:52 1560dd03e051: Pull complete 16:22:52 27f5ce0e4adf: Pull complete 16:23:07 c2d8d7efcc4b: Pull complete 16:23:07 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 16:23:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:23:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:23:08 prd-ubuntu18.04-docker-arm64-4c-16g-372 does not seem to be running inside a container 16:23:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:23:12 $ docker top 8a0451987a4f1c2881c1badd5d3c705f6baf90a46e5e82c0c81ba7989999537f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:23:14 ---> job-cost.sh 16:23:14 lf-activate-venv: SKIPPING 16:23:14 INFO: No Stack... 16:23:15 INFO: Retrieving Pricing Info for: v2-standard-4 16:23:15 INFO: Archiving Costs [Pipeline] sh 16:23:16 + cat /w/workspace/device-sdk-c/6/archives/cost.csv 16:23:16 + cut -d, -f6 [Pipeline] lock 16:23:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-6-stack-cost] 16:23:16 Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-6-stack-cost] did not exist. Created. 16:23:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:23:17 /w/workspace/device-sdk-c/6@tmp/durable-c1ececc4/script.sh: 1: /w/workspace/device-sdk-c/6@tmp/durable-c1ececc4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 16:23:17 + echo total: 0.18000000715255737 [Pipeline] stash 16:23:17 Warning: overwriting stash ‘stack-cost’ 16:23:18 Stashed 1 file(s) [Pipeline] } 16:23:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-6-stack-cost] [Pipeline] // lock [Pipeline] } 16:23:18 $ docker stop --time=1 8a0451987a4f1c2881c1badd5d3c705f6baf90a46e5e82c0c81ba7989999537f 16:23:19 $ docker rm -f 8a0451987a4f1c2881c1badd5d3c705f6baf90a46e5e82c0c81ba7989999537f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 16:23:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:23:22 ---> package-listing.sh 16:23:22 ++ facter osfamily 16:23:22 ++ tr '[:upper:]' '[:lower:]' 16:23:22 + OS_FAMILY=redhat 16:23:22 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-357 16:23:22 + START_PACKAGES=/tmp/packages_start.txt 16:23:22 + END_PACKAGES=/tmp/packages_end.txt 16:23:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:23:22 + PACKAGES=/tmp/packages_start.txt 16:23:22 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' 16:23:22 + PACKAGES=/tmp/packages_end.txt 16:23:22 + case "${OS_FAMILY}" in 16:23:22 + rpm -qa 16:23:22 + sort 16:23:22 + '[' -f /tmp/packages_start.txt ']' 16:23:22 + '[' -f /tmp/packages_end.txt ']' 16:23:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:23:22 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' 16:23:22 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ 16:23:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [Pipeline] echo 16:23:22 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-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:23:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:23:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:24 16:23:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:23:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:24 latest: Pulling from edgex-lftools-log-publisher 16:23:24 b4d181a07f80: Pulling fs layer 16:23:24 a1111a8f2ec3: Pulling fs layer 16:23:24 ed53099fbce6: Pulling fs layer 16:23:24 dc539afda2c1: Pulling fs layer 16:23:24 77bc0d833cb6: Pulling fs layer 16:23:24 9065ff56babe: Pulling fs layer 16:23:24 d287ab97295c: Pulling fs layer 16:23:24 77bc0d833cb6: Waiting 16:23:24 9065ff56babe: Waiting 16:23:24 d287ab97295c: Waiting 16:23:24 dc539afda2c1: Waiting 16:23:24 a1111a8f2ec3: Verifying Checksum 16:23:24 a1111a8f2ec3: Download complete 16:23:24 dc539afda2c1: Verifying Checksum 16:23:24 dc539afda2c1: Download complete 16:23:24 77bc0d833cb6: Verifying Checksum 16:23:24 77bc0d833cb6: Download complete 16:23:24 9065ff56babe: Verifying Checksum 16:23:24 9065ff56babe: Download complete 16:23:25 ed53099fbce6: Verifying Checksum 16:23:25 ed53099fbce6: Download complete 16:23:26 b4d181a07f80: Verifying Checksum 16:23:26 b4d181a07f80: Download complete 16:23:27 b4d181a07f80: Pull complete 16:23:27 a1111a8f2ec3: Pull complete 16:23:28 ed53099fbce6: Pull complete 16:23:28 dc539afda2c1: Pull complete 16:23:28 77bc0d833cb6: Pull complete 16:23:28 9065ff56babe: Pull complete 16:23:30 d287ab97295c: Verifying Checksum 16:23:30 d287ab97295c: Download complete 16:23:34 d287ab97295c: Pull complete 16:23:34 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:23:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:23:34 prd-centos7-docker-4c-2g-375 does not seem to be running inside a container 16:23:34 $ 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-357/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-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:23:37 $ docker top 72c55f8bed1bd1c504560a16729e8f9884aeddc7c11af5bb0bf54d80b01f3d26 -eo pid,comm [Pipeline] { [Pipeline] sh 16:23:37 + touch /tmp/pre-build-complete [Pipeline] sh 16:23:37 + mkdir -p /var/log/sysstat [Pipeline] sh 16:23:38 + ls /var/log/sa-host 16:23:38 + sadf -c /var/log/sa-host/sa05 16:23:38 file_magic: OK 16:23:38 HZ: Using current value: 100 16:23:38 file_header: OK 16:23:38 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:23:38 Statistics: 16:23:38 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:23:38 File successfully converted to sysstat format version 12.0.3 16:23:38 + sadf -c /var/log/sa-host/sa28 16:23:38 file_magic: OK 16:23:38 HZ: Using current value: 100 16:23:38 file_header: OK 16:23:38 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:23:38 Statistics: 16:23:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:23:38 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:23:38 provisioning config files... 16:23:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config5749479345065811241tmp [Pipeline] { [Pipeline] echo 16:23:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:23:38 ---> create-netrc.sh [Pipeline] } 16:23:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:23:39 ---> python-tools-install.sh [Pipeline] echo 16:23:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:23:39 ---> sudo-logs.sh 16:23:39 Archiving 'sudo' log.. 16:23:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-375.vexxhost.local: Name or service not known 16:23:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-375.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 16:23:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:23:39 ---> job-cost.sh 16:23:39 lf-activate-venv: SKIPPING 16:23:39 DEBUG: total: 0.18000000715255737 16:23:39 INFO: Retrieving Stack Cost... 16:23:40 INFO: Retrieving Pricing Info for: v3-standard-2 16:23:41 INFO: Archiving Costs [Pipeline] echo 16:23:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:23:41 ---> logs-deploy.sh 16:23:41 lf-activate-venv: SKIPPING 16:23:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-357/6 16:23:41 INFO: archiving workspace using pattern(s): 16:23:42 Archives upload complete. 16:23:42 INFO: archiving logs to Nexus 16:23:42 ---> uname -a: 16:23:42 Linux prd-centos7-docker-4c-2g-375.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 16:23:42 16:23:42 16:23:42 ---> lscpu: 16:23:42 Architecture: x86_64 16:23:42 CPU op-mode(s): 32-bit, 64-bit 16:23:42 Byte Order: Little Endian 16:23:42 Address sizes: 40 bits physical, 48 bits virtual 16:23:42 CPU(s): 2 16:23:42 On-line CPU(s) list: 0,1 16:23:42 Thread(s) per core: 1 16:23:42 Core(s) per socket: 1 16:23:42 Socket(s): 2 16:23:42 NUMA node(s): 1 16:23:42 Vendor ID: AuthenticAMD 16:23:42 CPU family: 23 16:23:42 Model: 49 16:23:42 Model name: AMD EPYC-Rome Processor 16:23:42 Stepping: 0 16:23:42 CPU MHz: 2799.998 16:23:42 BogoMIPS: 5599.99 16:23:42 Virtualization: AMD-V 16:23:42 Hypervisor vendor: KVM 16:23:42 Virtualization type: full 16:23:42 L1d cache: 32K 16:23:42 L1i cache: 32K 16:23:42 L2 cache: 512K 16:23:42 L3 cache: 16384K 16:23:42 NUMA node0 CPU(s): 0,1 16:23:42 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 16:23:42 16:23:42 16:23:42 ---> nproc: 16:23:42 2 16:23:42 16:23:42 16:23:42 ---> df -h: 16:23:42 Filesystem Size Used Avail Use% Mounted on 16:23:42 overlay 40G 7.7G 33G 20% / 16:23:42 tmpfs 64M 0 64M 0% /dev 16:23:42 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 16:23:42 shm 64M 0 64M 0% /dev/shm 16:23:42 /dev/vda1 40G 7.7G 33G 20% /facter-os 16:23:42 16:23:42 16:23:42 ---> sar -b -r -n DEV: 16:23:42 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/28/21 _x86_64_ (2 CPU) 16:23:42 16:23:42 16:18:23 LINUX RESTART (2 CPU) 16:23:42 16:23:42 16:19:01 tps rtps wtps bread/s bwrtn/s 16:23:42 16:20:01 32.31 3.55 28.76 2600.10 3064.98 16:23:42 16:21:01 0.32 0.00 0.32 0.00 5.15 16:23:42 16:22:01 0.27 0.00 0.27 0.00 3.73 16:23:42 16:23:01 0.20 0.00 0.20 0.00 2.58 16:23:42 Average: 8.27 0.89 7.39 650.16 769.27 16:23:42 16:23:42 16:19:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:23:42 16:20:01 5466452 0 803284 10.03 2620 1736584 1301288 14.37 578216 1563988 20 16:23:42 16:21:01 5479616 0 790116 9.87 2620 1736588 1207296 13.33 568164 1563760 16 16:23:42 16:22:01 5479248 0 790480 9.87 2620 1736592 1207428 13.33 569824 1562900 8 16:23:42 16:23:01 5477228 0 792496 9.90 2620 1736596 1207476 13.33 570796 1562896 8 16:23:42 Average: 5475636 0 794094 9.92 2620 1736590 1230872 13.59 571750 1563386 13 16:23:42 16:23:42 16:19:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:23:42 16:20:01 eth0 114.04 82.95 376.00 23.37 0.00 0.00 0.00 0.00 16:23:42 16:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:23:42 16:20:01 docker0 12.52 8.83 1.29 25.57 0.00 0.00 0.00 0.00 16:23:42 16:21:01 eth0 0.53 0.08 0.05 0.01 0.00 0.00 0.00 0.00 16:23:42 16:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:23:42 16:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:23:42 16:22:01 eth0 1.02 0.35 0.32 0.20 0.00 0.00 0.00 0.00 16:23:42 16:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:23:42 16:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:23:42 16:23:01 eth0 0.57 0.32 0.27 0.20 0.00 0.00 0.00 0.00 16:23:42 16:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:23:42 16:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:23:42 Average: eth0 29.04 20.93 94.18 5.95 0.00 0.00 0.00 0.00 16:23:42 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:23:42 Average: docker0 3.13 2.21 0.32 6.39 0.00 0.00 0.00 0.00 16:23:42 16:23:42 16:23:42 ---> sar -P ALL: 16:23:42 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/28/21 _x86_64_ (2 CPU) 16:23:42 16:23:42 16:18:23 LINUX RESTART (2 CPU) 16:23:42 16:23:42 16:19:01 CPU %user %nice %system %iowait %steal %idle 16:23:42 16:20:01 all 3.95 0.00 1.92 0.69 0.05 93.39 16:23:42 16:20:01 0 3.83 0.00 1.94 0.19 0.05 93.99 16:23:42 16:20:01 1 4.07 0.00 1.89 1.20 0.05 92.79 16:23:42 16:21:01 all 0.17 0.00 0.06 0.00 0.02 99.76 16:23:42 16:21:01 0 0.05 0.00 0.07 0.00 0.02 99.87 16:23:42 16:21:01 1 0.28 0.00 0.05 0.00 0.02 99.65 16:23:42 16:22:01 all 0.28 0.00 0.03 0.00 0.02 99.67 16:23:42 16:22:01 0 0.07 0.00 0.05 0.00 0.02 99.87 16:23:42 16:22:01 1 0.48 0.00 0.02 0.00 0.02 99.48 16:23:42 16:23:01 all 0.24 0.00 0.03 0.00 0.03 99.70 16:23:42 16:23:01 0 0.05 0.00 0.03 0.00 0.03 99.88 16:23:42 16:23:01 1 0.43 0.00 0.03 0.00 0.02 99.52 16:23:42 Average: all 1.15 0.00 0.51 0.17 0.03 98.14 16:23:42 Average: 0 0.99 0.00 0.52 0.05 0.03 98.41 16:23:42 Average: 1 1.31 0.00 0.49 0.30 0.03 97.87 16:23:42 16:23:42 16:23:42