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 3025ff941fea1dc6e6a28e228f43da5c6c26a4e6+06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f (f8917c0c8d82f46065439a435a8daa0f3dc7b91d) 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-ssh4310942340913537021.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-ssh3919518537448168587.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-ssh7840787591694557136.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-ssh8610904165421755168.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-ssh4143385046526128793.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 Running on prd-centos7-docker-4c-2g-368 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-ssh892995334912670648.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 3025ff941fea1dc6e6a28e228f43da5c6c26a4e6 Merge succeeded, producing e2cb4032230305e585a713cf79ac50a32557883c Checking out Revision e2cb4032230305e585a713cf79ac50a32557883c (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-ssh3996573751788964584.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 3025ff941fea1dc6e6a28e228f43da5c6c26a4e6 # 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-ssh4130859787530426067.key > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2cb4032230305e585a713cf79ac50a32557883c # 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:05:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:05:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:05:53 ========================================================= 16:05:53 EdgeX Global Pipelines Version Info 16:05:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk dc3ff0f1699aa99a52bfb21f6f08698a555aa4ee # timeout=10 16:05:54 ------------------- 16:05:54 stable info: 16:05:54 ------------------- 16:05:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:05:54 Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 16:05:54 Message: update stable to v1.0.197 16:05:55 ------------------- 16:05:55 experimental info: 16:05:55 ------------------- 16:05:55 Commited By: **** collab-it+edgex@linuxfoundation.org 16:05:55 Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 16:05:55 Message: update experimental to v1.0.197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:05:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 16:05:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2cb4032230305e585a713cf79ac50a32557883c [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2cb403 [Pipeline] echo 16:05:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:05:56 provisioning config files... 16:05:56 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config2348022622409348899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:05:56 ---> docker-login.sh 16:05:56 nexus3.edgexfoundry.org:10001 16:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:57 Configure a credential helper to remove this warning. See 16:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:57 16:05:57 Login Succeeded 16:05:57 nexus3.edgexfoundry.org:10002 16:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:57 Configure a credential helper to remove this warning. See 16:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:57 16:05:57 Login Succeeded 16:05:57 nexus3.edgexfoundry.org:10003 16:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:57 Configure a credential helper to remove this warning. See 16:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:57 16:05:57 Login Succeeded 16:05:57 nexus3.edgexfoundry.org:10004 16:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:57 Configure a credential helper to remove this warning. See 16:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:57 16:05:57 Login Succeeded 16:05:57 docker.io 16:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:58 Configure a credential helper to remove this warning. See 16:05:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:58 16:05:58 Login Succeeded 16:05:58 ---> docker-login.sh ends [Pipeline] } 16:05:58 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:05:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:05:59 16:05:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:05:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:05:59 latest: Pulling from edgex-devops/git-semver 16:05:59 31603596830f: Pulling fs layer 16:05:59 b6dc333f4379: Pulling fs layer 16:05:59 3d9ef1400e77: Pulling fs layer 16:05:59 fd332fbdc1db: Pulling fs layer 16:05:59 fd332fbdc1db: Waiting 16:05:59 b6dc333f4379: Verifying Checksum 16:05:59 b6dc333f4379: Download complete 16:06:00 31603596830f: Verifying Checksum 16:06:00 31603596830f: Download complete 16:06:00 31603596830f: Pull complete 16:06:00 fd332fbdc1db: Verifying Checksum 16:06:00 fd332fbdc1db: Download complete 16:06:00 b6dc333f4379: Pull complete 16:06:00 3d9ef1400e77: Verifying Checksum 16:06:00 3d9ef1400e77: Download complete 16:06:01 3d9ef1400e77: Pull complete 16:06:01 fd332fbdc1db: Pull complete 16:06:01 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 16:06:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:06:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:06:01 prd-centos7-docker-4c-2g-368 does not seem to be running inside a container 16:06:01 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:06:02 $ docker top 42eb512aace37da57bad1dbdd013de4c696785a1bdaba13957b33762102171f6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:06:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:06:02 [ssh-agent] Looking for ssh-agent implementation... 16:06:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:06:02 $ docker exec 42eb512aace37da57bad1dbdd013de4c696785a1bdaba13957b33762102171f6 ssh-agent 16:06:02 SSH_AUTH_SOCK=/tmp/ssh-6VFe9QFEdWqv/agent.13 16:06:02 SSH_AGENT_PID=19 16:06:02 Running ssh-add (command line suppressed) 16:06:02 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_8574926841362087853.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_8574926841362087853.key) 16:06:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:06:03 + git tag --points-at HEAD [Pipeline] } 16:06:03 $ docker exec --env ******** --env ******** 42eb512aace37da57bad1dbdd013de4c696785a1bdaba13957b33762102171f6 ssh-agent -k 16:06:03 unset SSH_AUTH_SOCK; 16:06:03 unset SSH_AGENT_PID; 16:06:03 echo Agent pid 19 killed; 16:06:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:06:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:06:03 [ssh-agent] Looking for ssh-agent implementation... 16:06:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:06:03 $ docker exec 42eb512aace37da57bad1dbdd013de4c696785a1bdaba13957b33762102171f6 ssh-agent 16:06:03 SSH_AUTH_SOCK=/tmp/ssh-ChzuLj4wso2b/agent.52 16:06:03 SSH_AGENT_PID=58 16:06:03 Running ssh-add (command line suppressed) 16:06:03 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_4050347536657784478.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_4050347536657784478.key) 16:06:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:06:04 + git semver init 16:06:04 # -> Open(): unable to determine branch for HEAD 16:06:04 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.git 16:06:04 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-357 16:06:04 # $SEMVER_REMOTE_NAME = origin 16:06:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:06:04 # $SEMVER_USER_NAME = edgex-jenkins 16:06:04 # $SEMVER_BRANCH = PR-357 16:06:04 # $SEMVER_TEMP = /tmp/semver-975635523 16:06:04 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 16:06:05 # '/tmp/semver-975635523' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver' 16:06:05 # -> Force: false 16:06:05 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver [Pipeline] } 16:06:05 $ docker exec --env ******** --env ******** 42eb512aace37da57bad1dbdd013de4c696785a1bdaba13957b33762102171f6 ssh-agent -k 16:06:05 unset SSH_AUTH_SOCK; 16:06:05 unset SSH_AGENT_PID; 16:06:05 echo Agent pid 58 killed; 16:06:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:06:05 + git semver [Pipeline] } 16:06:05 $ docker stop --time=1 42eb512aace37da57bad1dbdd013de4c696785a1bdaba13957b33762102171f6 16:06:06 $ docker rm -f 42eb512aace37da57bad1dbdd013de4c696785a1bdaba13957b33762102171f6 [Pipeline] // withDockerContainer [Pipeline] sh 16:06:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:06:07 Stashed 1 file(s) [Pipeline] echo 16:06:07 [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:06:22 Still waiting to schedule task 16:06:22 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:06:22 Still waiting to schedule task 16:06:22 ‘prd-centos7-blackbox-4c-2g-76’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 16:06:22 ‘prd-centos7-blackbox-4c-2g-77’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 16:06:22 ‘prd-ubuntu18.04-docker-arm64-4c-16g-369’ is offline 16:08:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-371 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws 16:08:38 Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout 16:08:38 Selected Git installation does not exist. Using Default 16:08:38 The recommended git tool is: NONE 16:08:44 using credential edgex-jenkins-ssh 16:08:44 Cloning the remote Git repository 16:08:44 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:08:44 > git init /w/workspace/device-sdk-c/4 # timeout=10 16:08:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:08:45 > git --version # timeout=10 16:08:45 > git --version # 'git version 2.17.1' 16:08:45 using GIT_SSH to set credentials SSH Credentials for GitHub 16:08:45 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:08:47 Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit 3025ff941fea1dc6e6a28e228f43da5c6c26a4e6 16:08:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:08:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:08:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:08:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:08:46 using GIT_SSH to set credentials SSH Credentials for GitHub 16:08:46 > 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:08:47 > git config core.sparsecheckout # timeout=10 16:08:47 > git checkout -f 3025ff941fea1dc6e6a28e228f43da5c6c26a4e6 # timeout=10 16:08:47 Merge succeeded, producing c4bf5835aa2a26a1a11e468256961ec2bf2bcd58 16:08:47 Checking out Revision c4bf5835aa2a26a1a11e468256961ec2bf2bcd58 (PR-357) 16:08:47 > git remote # timeout=10 16:08:47 > git config --get remote.origin.url # timeout=10 16:08:47 using GIT_SSH to set credentials SSH Credentials for GitHub 16:08:47 > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 16:08:47 > git rev-parse HEAD^{commit} # timeout=10 16:08:47 > git config core.sparsecheckout # timeout=10 16:08:47 > git checkout -f c4bf5835aa2a26a1a11e468256961ec2bf2bcd58 # timeout=10 16:08:52 Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" 16:08:52 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:08:52 provisioning config files... 16:08:52 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config607675544606456033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:53 ---> docker-login.sh 16:08:53 nexus3.edgexfoundry.org:10001 16:08:52 > git rev-list --no-walk dc3ff0f1699aa99a52bfb21f6f08698a555aa4ee # timeout=10 16:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:54 Configure a credential helper to remove this warning. See 16:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:54 16:08:54 Login Succeeded 16:08:54 nexus3.edgexfoundry.org:10002 16:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:55 Configure a credential helper to remove this warning. See 16:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:55 16:08:55 Login Succeeded 16:08:55 nexus3.edgexfoundry.org:10003 16:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:56 Configure a credential helper to remove this warning. See 16:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:56 16:08:56 Login Succeeded 16:08:56 nexus3.edgexfoundry.org:10004 16:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:56 Configure a credential helper to remove this warning. See 16:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:56 16:08:56 Login Succeeded 16:08:56 docker.io 16:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:57 Configure a credential helper to remove this warning. See 16:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:57 16:08:57 Login Succeeded 16:08:57 ---> docker-login.sh ends [Pipeline] } 16:08:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:08:58 ========================================================= 16:08:58 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 16:08:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:08:58 + 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:08:59 Sending build context to Docker daemon 2.69MB 16:08:59 Step 1/25 : ARG BASE=alpine:3.12 16:08:59 Step 2/25 : FROM ${BASE} as builder 16:08:59 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 16:08:59 d2f70382dc9a: Pulling fs layer 16:08:59 b08cc2eccb4b: Pulling fs layer 16:08:59 7b69db201801: Pulling fs layer 16:08:59 b08cc2eccb4b: Verifying Checksum 16:08:59 b08cc2eccb4b: Download complete 16:08:59 d2f70382dc9a: Verifying Checksum 16:09:00 d2f70382dc9a: Pull complete 16:09:01 b08cc2eccb4b: Pull complete 16:09:02 7b69db201801: Verifying Checksum 16:09:02 7b69db201801: Download complete 16:09:11 7b69db201801: Pull complete 16:09:11 Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba 16:09:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 16:09:11 ---> 759262b18b23 16:09:11 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:09:13 ---> Running in 3ee843c51213 16:09:15 Connecting to iotech.jfrog.io (54.229.110.245:443) 16:09:15 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:09:15 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:09:15 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 16:09:17 Removing intermediate container 3ee843c51213 16:09:17 ---> d454bba2dac5 16:09:17 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:09:17 ---> Running in b39aeea13699 16:09:20 Removing intermediate container b39aeea13699 16:09:20 ---> 205aa6a3b2bc 16:09:20 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:09:20 ---> Running in 90ee4ad6528b 16:09:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:09:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:09:22 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:09:23 (1/22) Installing hiredis (0.14.1-r0) 16:09:23 (2/22) Installing hiredis-dev (0.14.1-r0) 16:09:24 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 16:09:24 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 16:09:25 (5/22) Installing libblkid (2.35.2-r0) 16:09:25 (6/22) Installing blkid (2.35.2-r0) 16:09:26 (7/22) Installing libcap-ng (0.7.10-r1) 16:09:26 (8/22) Installing setpriv (2.35.2-r0) 16:09:26 (9/22) Installing libmount (2.35.2-r0) 16:09:26 (10/22) Installing libsmartcols (2.35.2-r0) 16:09:26 (11/22) Installing findmnt (2.35.2-r0) 16:09:26 (12/22) Installing mcookie (2.35.2-r0) 16:09:26 (13/22) Installing hexdump (2.35.2-r0) 16:09:26 (14/22) Installing lsblk (2.35.2-r0) 16:09:26 (15/22) Installing libuuid (2.35.2-r0) 16:09:27 (16/22) Installing libfdisk (2.35.2-r0) 16:09:27 (17/22) Installing sfdisk (2.35.2-r0) 16:09:27 (18/22) Installing cfdisk (2.35.2-r0) 16:09:27 (19/22) Installing util-linux (2.35.2-r0) 16:09:27 (20/22) Installing util-linux-dev (2.35.2-r0) 16:09:27 (21/22) Installing libidn2 (2.3.0-r0) 16:09:27 (22/22) Installing wget (1.20.3-r1) 16:09:28 Executing busybox-1.31.1-r20.trigger 16:09:28 OK: 276 MiB in 97 packages 16:09:30 Removing intermediate container 90ee4ad6528b 16:09:30 ---> cf5938ccd06f 16:09:30 Step 6/25 : ENV CBOR_VERSION=0.5.0 16:09:30 ---> Running in 2dbdda956d52 16:09:31 Removing intermediate container 2dbdda956d52 16:09:31 ---> dfdbba0cae10 16:09:31 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:09:31 ---> Running in c43b7e43f783 16:09:33 --2021-07-28 16:09:33-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:09:33 Resolving github.com (github.com)... 140.82.112.3 16:09:33 Connecting to github.com (github.com)|140.82.112.3|:443... connected. 16:09:33 HTTP request sent, awaiting response... 302 Found 16:09:33 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:09:33 --2021-07-28 16:09:33-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:09:33 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 16:09:33 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 16:09:33 HTTP request sent, awaiting response... 200 OK 16:09:33 Length: unspecified [application/x-gzip] 16:09:33 Saving to: 'STDOUT' 16:09:33  16:09:33 0K .......... .......... .......... .......... .......... 1.46M 16:09:33 50K .......... .......... .......... .......... .......... 3.47M 16:09:33 100K .......... .......... .......... .......... .......... 3.25M 16:09:33 150K .......... .......... .......... .......... .......... 10.9M 16:09:33 200K .......... .......... .......... .......... .......... 8.49M 16:09:33 250K .......... .......... .......... .......... .......... 3.35M 16:09:33 300K .......... .......... .......... .......... .......... 3.15M 16:09:33 350K .......... .......... .......... .......... .......... 6.03M 16:09:33 400K .......... .......... .......... .......... .......... 2.84M 16:09:34 450K .......... .......... .......... .......... .......... 3.50M 16:09:34 500K .......... .......... .......... .......... .......... 6.00M 16:09:34 550K .......... .......... .......... .......... .......... 2.26M 16:09:34 600K .......... .......... .......... .......... .......... 805K 16:09:34 650K .......... .......... .......... .......... .......... 1.96M 16:09:34 700K ..          1.53M=0.3s 16:09:34 16:09:34 2021-07-28 16:09:33 (2.64 MB/s) - written to stdout [719348] 16:09:34 16:09:34 -- The C compiler identification is GNU 9.3.0 16:09:34 -- The CXX compiler identification is GNU 9.3.0 16:09:34 -- Check for working C compiler: /usr/bin/cc 16:09:35 -- Check for working C compiler: /usr/bin/cc - works 16:09:35 -- Detecting C compiler ABI info 16:09:35 -- Detecting C compiler ABI info - done 16:09:35 -- Detecting C compile features 16:09:35 -- Detecting C compile features - done 16:09:35 -- Check for working CXX compiler: /usr/bin/c++ 16:09:36 -- Check for working CXX compiler: /usr/bin/c++ - works 16:09:36 -- Detecting CXX compiler ABI info 16:09:36 -- Detecting CXX compiler ABI info - done 16:09:36 -- Detecting CXX compile features 16:09:36 -- Detecting CXX compile features - done 16:09:36 -- Looking for include file endian.h 16:09:36 -- Looking for include file endian.h - found 16:09:36 -- Check if the system is big endian 16:09:36 -- Searching 16 bit integer 16:09:36 -- Looking for sys/types.h 16:09:36 -- Looking for sys/types.h - found 16:09:36 -- Looking for stdint.h 16:09:37 -- Looking for stdint.h - found 16:09:37 -- Looking for stddef.h 16:09:37 -- Looking for stddef.h - found 16:09:37 -- Check size of unsigned short 16:09:38 -- Check size of unsigned short - done 16:09:38 -- Searching 16 bit integer - Using unsigned short 16:09:38 -- Check if the system is big endian - little endian 16:09:38 -- Check size of size_t 16:09:38 -- Check size of size_t - done 16:09:38 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:09:38 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:09:38 asked CMake to find a package configuration file provided by "cJSON", but 16:09:38 CMake did not find one. 16:09:38 16:09:38 Could not find a package configuration file provided by "cJSON" with any of 16:09:38 the following names: 16:09:38 16:09:38 cJSONConfig.cmake 16:09:38 cjson-config.cmake 16:09:38 16:09:38 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:09:38 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:09:38 provides a separate development package or SDK, be sure it has been 16:09:38 installed. 16:09:38 16:09:38 16:09:38 -- Configuring done 16:09:38 -- Generating done 16:09:38 -- Build files have been written to: /tmp/cbor 16:09:39 Scanning dependencies of target cbor_shared 16:09:39 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:09:40 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:09:41 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:09:41 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:09:42 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:09:42 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:09:42 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:09:42 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:09:43 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:09:43 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:09:44 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:09:44 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:09:44 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:09:45 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:09:45 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:09:45 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:09:46 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:09:46 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:09:46 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:09:47 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:09:47 [ 40%] Linking C shared library libcbor.so 16:09:47 [ 40%] Built target cbor_shared 16:09:47 Scanning dependencies of target cbor 16:09:47 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:09:48 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:09:49 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:09:49 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:09:52 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:09:52 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:09:52 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:09:53 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:09:53 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:09:53 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:09:54 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:09:55 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:09:55 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:09:56 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:09:56 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:09:57 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:09:57 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:09:58 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:09:58 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:09:58 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:09:58 [ 80%] Linking C static library libcbor.a 16:09:58 [ 80%] Built target cbor 16:09:58 Scanning dependencies of target sort 16:09:58 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:09:59 [ 84%] Linking C executable sort 16:09:59 [ 84%] Built target sort 16:09:59 Scanning dependencies of target readfile 16:09:59 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:09:59 [ 88%] Linking C executable readfile 16:09:59 [ 88%] Built target readfile 16:09:59 Scanning dependencies of target streaming_parser 16:09:59 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:09:59 [ 92%] Linking C executable streaming_parser 16:10:00 [ 92%] Built target streaming_parser 16:10:00 Scanning dependencies of target hello 16:10:00 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:10:00 [ 96%] Linking C executable hello 16:10:00 [ 96%] Built target hello 16:10:00 Scanning dependencies of target create_items 16:10:00 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:10:00 [100%] Linking C executable create_items 16:10:01 [100%] Built target create_items 16:10:01 Install the project... 16:10:01 -- Install configuration: "Release" 16:10:01 -- Installing: /usr/local/include/cbor/configuration.h 16:10:01 -- Installing: /usr/local/lib64/libcbor.a 16:10:01 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:10:01 -- Installing: /usr/local/lib64/libcbor.so.0 16:10:01 -- Installing: /usr/local/lib64/libcbor.so 16:10:01 -- Up-to-date: /usr/local/include/cbor 16:10:01 -- Installing: /usr/local/include/cbor/streaming.h 16:10:01 -- Installing: /usr/local/include/cbor/ints.h 16:10:01 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:10:01 -- Installing: /usr/local/include/cbor/bytestrings.h 16:10:01 -- Installing: /usr/local/include/cbor/encoding.h 16:10:01 -- Installing: /usr/local/include/cbor/serialization.h 16:10:01 -- Installing: /usr/local/include/cbor/data.h 16:10:01 -- Installing: /usr/local/include/cbor/common.h 16:10:01 -- Installing: /usr/local/include/cbor/callbacks.h 16:10:01 -- Installing: /usr/local/include/cbor/strings.h 16:10:01 -- Installing: /usr/local/include/cbor/tags.h 16:10:01 -- Installing: /usr/local/include/cbor/internal 16:10:01 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:10:01 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:10:01 -- Installing: /usr/local/include/cbor/internal/stack.h 16:10:01 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:10:01 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:10:01 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:10:01 -- Installing: /usr/local/include/cbor/arrays.h 16:10:01 -- Installing: /usr/local/include/cbor/maps.h 16:10:01 -- Installing: /usr/local/include/cbor.h 16:10:01 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:10:04 Removing intermediate container c43b7e43f783 16:10:04 ---> e9edcd60cde4 16:10:04 Step 8/25 : RUN mkdir /tmp/sdk 16:10:04 ---> Running in 2f2e68c51cba 16:10:06 Removing intermediate container 2f2e68c51cba 16:10:06 ---> 642e295f3039 16:10:06 Step 9/25 : COPY VERSION /tmp/sdk 16:10:07 ---> 2dae8cba6ece 16:10:07 Step 10/25 : COPY src /tmp/sdk/src 16:10:08 ---> 3836befeb32e 16:10:08 Step 11/25 : COPY include /tmp/sdk/include 16:10:09 ---> 7ca74acb0244 16:10:09 Step 12/25 : COPY scripts /tmp/sdk/scripts 16:10:10 ---> e5df650b7e1f 16:10:10 Step 13/25 : COPY LICENSE /tmp/sdk 16:10:11 ---> 051042416739 16:10:11 Step 14/25 : COPY Attribution.txt /tmp/sdk 16:10:12 ---> bafd2e8a004f 16:10:12 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:10:12 ---> Running in b5d7531259da 16:10:14 + CPPCHECK=false 16:10:14 + DOCGEN=false 16:10:14 + TOMLVER=SDK-0.2 16:10:14 + CUTILVER=1.1.4 16:10:14 + '[' 0 -gt 0 ] 16:10:14 + readlink -f ./scripts/build.sh 16:10:14 + dirname /tmp/sdk/scripts/build.sh 16:10:14 + dirname /tmp/sdk/scripts 16:10:14 + ROOT=/tmp/sdk 16:10:14 + cd /tmp/sdk 16:10:14 + '[' '!' -d deps ] 16:10:14 + mkdir deps 16:10:14 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:10:14 + tar -C deps -z -x -f - 16:10:14 --2021-07-28 16:10:13-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:10:14 Resolving github.com (github.com)... 140.82.113.4 16:10:14 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 16:10:14 HTTP request sent, awaiting response... 302 Found 16:10:14 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:10:14 --2021-07-28 16:10:13-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:10:14 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 16:10:14 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 16:10:14 HTTP request sent, awaiting response... 200 OK 16:10:14 Length: unspecified [application/x-gzip] 16:10:14 Saving to: 'STDOUT' 16:10:14  16:10:14 0K .......... ......  1.02M=0.02s 16:10:14 16:10:14 2021-07-28 16:10:14 (1.02 MB/s) - written to stdout [16451] 16:10:14 16:10:14 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:10:14 + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -z 16:10:14 -x -f - 16:10:14 --2021-07-28 16:10:14-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:10:14 Resolving github.com (github.com)... 140.82.113.4 16:10:14 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 16:10:14 HTTP request sent, awaiting response... 302 Found 16:10:14 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 16:10:14 --2021-07-28 16:10:14-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 16:10:14 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 16:10:14 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 16:10:14 HTTP request sent, awaiting response... 200 OK 16:10:14 Length: unspecified [application/x-gzip] 16:10:14 Saving to: 'STDOUT' 16:10:14  16:10:14 0K .......... .......... .......... .......... .......... 1.32M 16:10:14 50K .......... .......... .......... .......... .......... 1023K 16:10:14 100K .......... .......... .......... .......... .......... 1.37M 16:10:14 150K .......... .......... ....... 1.55M=0.1s 16:10:14 16:10:14 2021-07-28 16:10:14 (1.25 MB/s) - written to stdout [181796] 16:10:14 16:10:14 + mkdir -p src/c/iot 16:10:14 + 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:10:14 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 16:10:14 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 16:10:14 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 16:10:14 + mkdir -p include/iot 16:10:14 + 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:10:14 + mkdir -p include/iot/os 16:10:14 + 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:10:14 + mkdir -p /tmp/sdk/build/release 16:10:14 + cd /tmp/sdk/build/release 16:10:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:10:15 -- The C compiler identification is GNU 9.3.0 16:10:15 -- Check for working C compiler: /usr/bin/cc 16:10:15 -- Check for working C compiler: /usr/bin/cc - works 16:10:15 -- Detecting C compiler ABI info 16:10:15 -- Detecting C compiler ABI info - done 16:10:15 -- Detecting C compile features 16:10:15 -- Detecting C compile features - done 16:10:15 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:10:16 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 16:10:16 -- Found LIBYAML: /usr/lib/libyaml.so 16:10:16 -- Found LIBUUID: /usr/lib/libuuid.so 16:10:16 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:10:16 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:10:16 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:10:16 -- C SDK 0.0.0 for Linux 16:10:16 -- Performing Test CSDK_HAVE_ATOMIC 16:10:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:10:16 -- Found Curses: /usr/lib/libcurses.so 16:10:17 -- Configuring done 16:10:17 -- Generating done 16:10:17 -- Build files have been written to: /tmp/sdk/build/release 16:10:17 + make all package 16:10:17 + tee release.log 16:10:17 Scanning dependencies of target csdk 16:10:17 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:10:18 Running on prd-centos7-docker-4c-2g-373 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws 16:10:18 Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout 16:10:18 Selected Git installation does not exist. Using Default 16:10:18 The recommended git tool is: NONE 16:10:18 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:10:19 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:10:21 using credential edgex-jenkins-ssh 16:10:21 Cloning the remote Git repository 16:10:21 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:10:21 > git init /w/workspace/device-sdk-c/4 # timeout=10 16:10:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:10:21 > git --version # timeout=10 16:10:21 > git --version # 'git version 2.24.4' 16:10:21 using GIT_SSH to set credentials SSH Credentials for GitHub 16:10:21 [INFO] Currently running in a labeled security context 16:10:21 [INFO] Currently SELinux is 'enforcing' on the host 16:10:21 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/4@tmp/jenkins-gitclient-ssh107207583673878848.key 16:10:22 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:10:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:10:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:10:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:10:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:10:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:10:22 using GIT_SSH to set credentials SSH Credentials for GitHub 16:10:22 [INFO] Currently running in a labeled security context 16:10:22 [INFO] Currently SELinux is 'enforcing' on the host 16:10:22 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/4@tmp/jenkins-gitclient-ssh960540049999766504.key 16:10:22 > 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:10:22 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:10:23 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:10:23 Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit 3025ff941fea1dc6e6a28e228f43da5c6c26a4e6 16:10:23 Merge succeeded, producing d6172f51d6ba2c74d7fbfdef490329ded0c747ad 16:10:23 Checking out Revision d6172f51d6ba2c74d7fbfdef490329ded0c747ad (PR-357) 16:10:23 > git config core.sparsecheckout # timeout=10 16:10:23 > git checkout -f 3025ff941fea1dc6e6a28e228f43da5c6c26a4e6 # timeout=10 16:10:23 > git remote # timeout=10 16:10:23 > git config --get remote.origin.url # timeout=10 16:10:23 using GIT_SSH to set credentials SSH Credentials for GitHub 16:10:23 [INFO] Currently running in a labeled security context 16:10:23 [INFO] Currently SELinux is 'enforcing' on the host 16:10:23 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/4@tmp/jenkins-gitclient-ssh193245260712161380.key 16:10:23 > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 16:10:23 > git rev-parse HEAD^{commit} # timeout=10 16:10:23 > git config core.sparsecheckout # timeout=10 16:10:23 > git checkout -f d6172f51d6ba2c74d7fbfdef490329ded0c747ad # timeout=10 16:10:24 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:10:24 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:10:24 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:10:26 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:10:27 Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" 16:10:27 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:10:27 provisioning config files... 16:10:27 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config6641112024737217013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:27 > git rev-list --no-walk dc3ff0f1699aa99a52bfb21f6f08698a555aa4ee # timeout=10 16:10:27 ---> docker-login.sh 16:10:27 nexus3.edgexfoundry.org:10001 16:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:28 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:28 Configure a credential helper to remove this warning. See 16:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:28 16:10:28 Login Succeeded 16:10:28 nexus3.edgexfoundry.org:10002 16:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:28 Configure a credential helper to remove this warning. See 16:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:28 16:10:28 Login Succeeded 16:10:28 nexus3.edgexfoundry.org:10003 16:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:28 Configure a credential helper to remove this warning. See 16:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:28 16:10:28 Login Succeeded 16:10:28 nexus3.edgexfoundry.org:10004 16:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:28 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:28 Configure a credential helper to remove this warning. See 16:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:28 16:10:28 Login Succeeded 16:10:28 docker.io 16:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:29 Configure a credential helper to remove this warning. See 16:10:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:29 16:10:29 Login Succeeded 16:10:29 ---> docker-login.sh ends [Pipeline] } 16:10:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:10:29 ========================================================= 16:10:29 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 16:10:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:10:29 + 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:10:29 Sending build context to Docker daemon 2.691MB 16:10:29 Step 1/25 : ARG BASE=alpine:3.12 16:10:29 Step 2/25 : FROM ${BASE} as builder 16:10:29 latest: Pulling from edgex-devops/edgex-gcc-base 16:10:29 339de151aab4: Pulling fs layer 16:10:29 3691962f683c: Pulling fs layer 16:10:29 e1147bf81a45: Pulling fs layer 16:10:29 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:10:29 3691962f683c: Verifying Checksum 16:10:29 3691962f683c: Download complete 16:10:29 339de151aab4: Verifying Checksum 16:10:29 339de151aab4: Download complete 16:10:30 339de151aab4: Pull complete 16:10:30 3691962f683c: Pull complete 16:10:30 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:10:30 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:10:31 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:10:31 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:10:35 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:10:36 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:10:36 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:10:36 e1147bf81a45: Verifying Checksum 16:10:36 e1147bf81a45: Download complete 16:10:36 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:10:37 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:10:38 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:10:38 e1147bf81a45: Pull complete 16:10:38 Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee 16:10:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 16:10:38 ---> ac6a0feb3254 16:10:38 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:10:39 ---> Running in 0b65139ee9cb 16:10:39 Connecting to iotech.jfrog.io (54.170.66.44:443) 16:10:40 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:10:40 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:10:40 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 16:10:40 Removing intermediate container 0b65139ee9cb 16:10:40 ---> 8ae9989d6b9e 16:10:40 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:10:40 ---> Running in 7ba520eaa3c1 16:10:40 Removing intermediate container 7ba520eaa3c1 16:10:40 ---> 6066dbcc0419 16:10:40 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:10:40 ---> Running in 4c7a0ad2ce7b 16:10:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:10:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:10:42 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:10:42 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:10:42 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:10:42 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:10:43 (1/22) Installing hiredis (0.14.1-r0) 16:10:43 (2/22) Installing hiredis-dev (0.14.1-r0) 16:10:43 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:10:44 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 16:10:44 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 16:10:44 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:10:44 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:10:45 (5/22) Installing libblkid (2.35.2-r0) 16:10:45 (6/22) Installing blkid (2.35.2-r0) 16:10:45 (7/22) Installing libcap-ng (0.7.10-r1) 16:10:45 (8/22) Installing setpriv (2.35.2-r0) 16:10:46 (9/22) Installing libmount (2.35.2-r0) 16:10:46 (10/22) Installing libsmartcols (2.35.2-r0) 16:10:46 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:10:46 (11/22) Installing findmnt (2.35.2-r0) 16:10:47 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:10:47 (12/22) Installing mcookie (2.35.2-r0) 16:10:47 (13/22) Installing hexdump (2.35.2-r0) 16:10:47 (14/22) Installing lsblk (2.35.2-r0) 16:10:47 (15/22) Installing libuuid (2.35.2-r0) 16:10:47 (16/22) Installing libfdisk (2.35.2-r0) 16:10:48 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:10:48 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:10:48 (17/22) Installing sfdisk (2.35.2-r0) 16:10:48 (18/22) Installing cfdisk (2.35.2-r0) 16:10:48 (19/22) Installing util-linux (2.35.2-r0) 16:10:51 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:10:52 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:10:53 (20/22) Installing util-linux-dev (2.35.2-r0) 16:10:53 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:10:53 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:10:56 (21/22) Installing libidn2 (2.3.0-r0) 16:10:56 (22/22) Installing wget (1.20.3-r1) 16:10:57 Executing busybox-1.31.1-r20.trigger 16:10:57 OK: 295 MiB in 97 packages 16:10:57 Removing intermediate container 4c7a0ad2ce7b 16:10:57 ---> 72febb678073 16:10:57 Step 6/25 : ENV CBOR_VERSION=0.5.0 16:10:57 ---> Running in b820d3aaa6b3 16:10:57 Removing intermediate container b820d3aaa6b3 16:10:57 ---> 8ffe49aec976 16:10:57 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:10:57 ---> Running in 90b3d43a07f8 16:10:58 --2021-07-28 16:10:58-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:10:58 Resolving github.com (github.com)... 140.82.112.4 16:10:58 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 16:10:58 HTTP request sent, awaiting response... 302 Found 16:10:58 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:10:58 --2021-07-28 16:10:58-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:10:58 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 16:10:58 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 16:10:58 HTTP request sent, awaiting response... 200 OK 16:10:58 Length: unspecified [application/x-gzip] 16:10:58 Saving to: 'STDOUT' 16:10:58 16:10:58 0K .......... .......... .......... .......... .......... 1.37M 16:10:58 50K .......... .......... .......... .......... .......... 2.90M 16:10:58 100K .......... .......... .......... .......... .......... 21.2M 16:10:58 150K .......... .......... .......... .......... .......... 1.98M 16:10:58 200K .......... .......... .......... .......... .......... 19.6M 16:10:58 250K .......... .......... .......... .......... .......... 6.75M 16:10:58 300K .......... .......... .......... .......... .......... 9.52M 16:10:58 350K .......... .......... .......... .......... .......... 9.61M 16:10:58 400K .......... .......... .......... .......... .......... 9.93M 16:10:58 450K .......... .......... .......... .......... .......... 12.8M 16:10:58 500K .......... .......... .......... .......... .......... 24.7M 16:10:58 550K .......... .......... .......... .......... .......... 5.27M 16:10:58 600K .......... .......... .......... .......... .......... 5.30M 16:10:58 650K .......... .......... .......... .......... .......... 6.58M 16:10:58 700K .. 96.3M=0.1s 16:10:58 16:10:58 2021-07-28 16:10:58 (5.05 MB/s) - written to stdout [719348] 16:10:58 16:10:58 -- The C compiler identification is GNU 9.3.0 16:10:58 -- The CXX compiler identification is GNU 9.3.0 16:10:58 -- Check for working C compiler: /usr/bin/cc 16:10:58 -- Check for working C compiler: /usr/bin/cc - works 16:10:58 -- Detecting C compiler ABI info 16:10:58 -- Detecting C compiler ABI info - done 16:10:58 -- Detecting C compile features 16:10:58 -- Detecting C compile features - done 16:10:58 -- Check for working CXX compiler: /usr/bin/c++ 16:10:59 -- Check for working CXX compiler: /usr/bin/c++ - works 16:10:59 -- Detecting CXX compiler ABI info 16:10:59 -- Detecting CXX compiler ABI info - done 16:10:59 -- Detecting CXX compile features 16:10:59 -- Detecting CXX compile features - done 16:10:59 -- Looking for include file endian.h 16:10:59 -- Looking for include file endian.h - found 16:10:59 -- Check if the system is big endian 16:10:59 -- Searching 16 bit integer 16:10:59 -- Looking for sys/types.h 16:10:59 -- Looking for sys/types.h - found 16:10:59 -- Looking for stdint.h 16:10:59 -- Looking for stdint.h - found 16:10:59 -- Looking for stddef.h 16:10:59 -- Looking for stddef.h - found 16:10:59 -- Check size of unsigned short 16:10:59 -- Check size of unsigned short - done 16:10:59 -- Searching 16 bit integer - Using unsigned short 16:10:59 -- Check if the system is big endian - little endian 16:10:59 -- Check size of size_t 16:10:59 -- Check size of size_t - done 16:10:59 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:10:59 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:10:59 asked CMake to find a package configuration file provided by "cJSON", but 16:10:59 CMake did not find one. 16:10:59 16:10:59 Could not find a package configuration file provided by "cJSON" with any of 16:10:59 the following names: 16:10:59 16:10:59 cJSONConfig.cmake 16:10:59 cjson-config.cmake 16:10:59 16:10:59 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:10:59 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:10:59 provides a separate development package or SDK, be sure it has been 16:10:59 installed. 16:10:59 16:10:59 16:10:59 -- Configuring done 16:10:59 -- Generating done 16:10:59 -- Build files have been written to: /tmp/cbor 16:10:59 Scanning dependencies of target cbor_shared 16:10:59 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:10:59 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:10:59 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:10:59 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:10:59 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:11:00 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:11:00 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:11:00 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:11:00 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:11:00 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:11:00 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:11:00 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:11:00 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:11:00 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:11:00 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:11:00 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:11:00 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:11:00 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:11:00 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:11:00 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:11:01 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:11:01 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:11:01 [ 40%] Linking C shared library libcbor.so 16:11:01 [ 40%] Built target cbor_shared 16:11:01 Scanning dependencies of target cbor 16:11:01 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:11:01 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:11:01 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:11:01 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:11:01 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:11:01 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:11:01 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:11:01 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:11:01 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:11:01 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:11:01 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:11:02 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:11:02 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:11:02 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:11:02 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:11:02 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:11:02 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:11:02 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:11:02 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:11:02 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:11:02 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:11:02 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:11:02 [ 80%] Linking C static library libcbor.a 16:11:02 [ 80%] Built target cbor 16:11:02 Scanning dependencies of target sort 16:11:02 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:11:03 [ 84%] Linking C executable sort 16:11:03 [ 84%] Built target sort 16:11:03 Scanning dependencies of target readfile 16:11:03 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:11:03 [ 88%] Linking C executable readfile 16:11:03 [ 88%] Built target readfile 16:11:03 Scanning dependencies of target streaming_parser 16:11:03 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:11:03 [ 92%] Linking C executable streaming_parser 16:11:03 [ 92%] Built target streaming_parser 16:11:03 Scanning dependencies of target hello 16:11:03 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:11:03 [ 96%] Linking C executable hello 16:11:03 [ 96%] Built target hello 16:11:03 Scanning dependencies of target create_items 16:11:03 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:11:03 [100%] Linking C executable create_items 16:11:03 [100%] Built target create_items 16:11:03 Install the project... 16:11:03 -- Install configuration: "Release" 16:11:03 -- Installing: /usr/local/include/cbor/configuration.h 16:11:03 -- Installing: /usr/local/lib64/libcbor.a 16:11:03 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:11:03 -- Installing: /usr/local/lib64/libcbor.so.0 16:11:03 -- Installing: /usr/local/lib64/libcbor.so 16:11:03 -- Up-to-date: /usr/local/include/cbor 16:11:03 -- Installing: /usr/local/include/cbor/arrays.h 16:11:03 -- Installing: /usr/local/include/cbor/bytestrings.h 16:11:03 -- Installing: /usr/local/include/cbor/callbacks.h 16:11:03 -- Installing: /usr/local/include/cbor/common.h 16:11:03 -- Installing: /usr/local/include/cbor/data.h 16:11:03 -- Installing: /usr/local/include/cbor/encoding.h 16:11:03 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:11:03 -- Installing: /usr/local/include/cbor/internal 16:11:03 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:11:03 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:11:03 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:11:03 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:11:03 -- Installing: /usr/local/include/cbor/internal/stack.h 16:11:03 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:11:03 -- Installing: /usr/local/include/cbor/ints.h 16:11:03 -- Installing: /usr/local/include/cbor/maps.h 16:11:03 -- Installing: /usr/local/include/cbor/serialization.h 16:11:03 -- Installing: /usr/local/include/cbor/streaming.h 16:11:03 -- Installing: /usr/local/include/cbor/strings.h 16:11:03 -- Installing: /usr/local/include/cbor/tags.h 16:11:03 -- Installing: /usr/local/include/cbor.h 16:11:03 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:11:03 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:11:03 Removing intermediate container 90b3d43a07f8 16:11:03 ---> 6174836334b2 16:11:03 Step 8/25 : RUN mkdir /tmp/sdk 16:11:03 ---> Running in aeca1a845a72 16:11:04 Removing intermediate container aeca1a845a72 16:11:04 ---> d1bb169c9f43 16:11:04 Step 9/25 : COPY VERSION /tmp/sdk 16:11:04 ---> 53bc8ea17369 16:11:04 Step 10/25 : COPY src /tmp/sdk/src 16:11:04 ---> 1bcfd894152e 16:11:04 Step 11/25 : COPY include /tmp/sdk/include 16:11:04 ---> f3272af809dc 16:11:04 Step 12/25 : COPY scripts /tmp/sdk/scripts 16:11:05 ---> b46ba03888bf 16:11:05 Step 13/25 : COPY LICENSE /tmp/sdk 16:11:05 ---> 4256072a1966 16:11:05 Step 14/25 : COPY Attribution.txt /tmp/sdk 16:11:05 ---> b3bee013bd17 16:11:05 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:11:05 ---> Running in 5b889049e56d 16:11:05 + CPPCHECK=false 16:11:05 + DOCGEN=false 16:11:05 + TOMLVER=SDK-0.2 16:11:05 + CUTILVER=1.1.4 16:11:05 + '[' 0 -gt 0 ] 16:11:05 + readlink -f ./scripts/build.sh 16:11:05 + dirname /tmp/sdk/scripts/build.sh 16:11:05 + dirname /tmp/sdk/scripts 16:11:05 + ROOT=/tmp/sdk 16:11:05 + cd /tmp/sdk 16:11:05 + '[' '!' -d deps ] 16:11:05 + mkdir deps 16:11:05 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:11:05 + tar -C deps -z -x -f - 16:11:05 --2021-07-28 16:11:05-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:11:06 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:11:06 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:11:07 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:11:07 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:11:08 Resolving github.com (github.com)... 140.82.114.4 16:11:08 Connecting to github.com (github.com)|140.82.114.4|:443... connected. 16:11:08 HTTP request sent, awaiting response... 302 Found 16:11:08 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:11:08 --2021-07-28 16:11:08-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:11:08 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 16:11:08 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 16:11:08 HTTP request sent, awaiting response... 200 OK 16:11:08 Length: unspecified [application/x-gzip] 16:11:08 Saving to: 'STDOUT' 16:11:08  16:11:08 0K .......... ...... 942K=0.02s 16:11:08 16:11:08 2021-07-28 16:11:08 (942 KB/s) - written to stdout [16451] 16:11:08 16:11:08 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:11:08 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:11:08 + tar -C deps -z -x -f - 16:11:08 --2021-07-28 16:11:08-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:11:08 Resolving github.com (github.com)... 140.82.114.4 16:11:08 Connecting to github.com (github.com)|140.82.114.4|:443... connected. 16:11:08 HTTP request sent, awaiting response... 302 Found 16:11:08 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 16:11:08 --2021-07-28 16:11:08-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 16:11:08 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 16:11:08 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 16:11:08 HTTP request sent, awaiting response... 200 OK 16:11:08 Length: unspecified [application/x-gzip] 16:11:08 Saving to: 'STDOUT' 16:11:08 16:11:08 0K .......... .......... .......... .......... .......... 1.31M 16:11:08 50K .......... .......... .......... .......... .......... 3.77M 16:11:08 100K .......... .......... .......... .......... .......... 7.35M 16:11:08 150K .......... .......... ....... 1.54M=0.07s 16:11:08 16:11:08 2021-07-28 16:11:08 (2.33 MB/s) - written to stdout [181796] 16:11:08 16:11:08 + mkdir -p src/c/iot 16:11:08 + 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:11:08 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 16:11:08 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 16:11:08 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 16:11:08 + mkdir -p include/iot 16:11:08 + 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:11:08 + mkdir -p include/iot/os 16:11:08 + 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:11:08 + mkdir -p /tmp/sdk/build/release 16:11:08 + cd /tmp/sdk/build/release 16:11:08 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:11:08 -- The C compiler identification is GNU 9.3.0 16:11:08 -- Check for working C compiler: /usr/bin/cc 16:11:08 -- Check for working C compiler: /usr/bin/cc - works 16:11:08 -- Detecting C compiler ABI info 16:11:08 -- Detecting C compiler ABI info - done 16:11:08 -- Detecting C compile features 16:11:08 -- Detecting C compile features - done 16:11:08 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:11:08 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 16:11:08 -- Found LIBYAML: /usr/lib/libyaml.so 16:11:08 -- Found LIBUUID: /usr/lib/libuuid.so 16:11:08 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:11:08 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:11:08 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:11:08 -- C SDK 0.0.0 for Linux 16:11:08 -- Performing Test CSDK_HAVE_ATOMIC 16:11:09 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:11:09 -- Found Curses: /usr/lib/libcurses.so 16:11:09 -- Configuring done 16:11:09 -- Generating done 16:11:09 -- Build files have been written to: /tmp/sdk/build/release 16:11:09 + make all package 16:11:09 + tee release.log 16:11:09 Scanning dependencies of target csdk 16:11:09 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:11:09 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:11:09 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:11:09 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:11:09 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:11:09 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:11:09 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:11:09 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:11:10 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:11:10 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:11:10 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:11:10 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:11:10 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:11:11 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:11:11 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:11:11 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:11:11 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:11:11 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:11:11 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:11:11 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:11:11 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:11:11 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:11:11 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:11:11 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:11:12 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:11:12 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:11:12 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:11:12 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:11:12 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:11:12 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:11:13 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:11:13 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:11:13 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:11:13 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:11:13 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:11:13 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:11:13 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:11:13 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:11:14 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:11:14 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:11:14 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:11:14 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:11:15 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:11:15 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:11:15 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:11:15 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:11:15 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:11:15 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:11:16 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:11:16 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:11:16 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:11:16 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:11:16 [ 75%] Linking C shared library libcsdk.so 16:11:16 [ 75%] Linking C shared library libcsdk.so 16:11:16 [ 75%] Built target csdk 16:11:16 Scanning dependencies of target template 16:11:16 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:11:16 [ 75%] Built target csdk 16:11:16 Scanning dependencies of target template 16:11:16 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:11:16 [ 78%] Linking C executable template 16:11:16 [ 78%] Built target template 16:11:16 Scanning dependencies of target device-counter 16:11:16 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:11:17 [ 81%] Linking C executable device-counter 16:11:17 [ 81%] Built target device-counter 16:11:17 Scanning dependencies of target device-random 16:11:17 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:11:17 [ 84%] Linking C executable device-random 16:11:17 [ 84%] Built target device-random 16:11:17 Scanning dependencies of target device-gyro 16:11:17 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:11:17 [ 87%] Linking C executable device-gyro 16:11:17 [ 87%] Built target device-gyro 16:11:17 Scanning dependencies of target device-bitfields 16:11:17 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:11:17 [ 90%] Linking C executable device-bitfields 16:11:17 [ 90%] Built target device-bitfields 16:11:17 Scanning dependencies of target template-discovery 16:11:17 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:11:17 [ 93%] Linking C executable template-discovery 16:11:17 [ 93%] Built target template-discovery 16:11:17 Scanning dependencies of target device-file 16:11:17 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:11:17 [ 78%] Linking C executable template 16:11:17 [ 78%] Built target template 16:11:17 Scanning dependencies of target device-counter 16:11:17 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:11:18 [ 96%] Linking C executable device-file 16:11:18 [ 96%] Built target device-file 16:11:18 Scanning dependencies of target device-terminal 16:11:18 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:11:18 [100%] Linking C executable device-terminal 16:11:18 [100%] Built target device-terminal 16:11:18 Run CPack packaging tool... 16:11:18 CPack: Create package using TGZ 16:11:18 CPack: Install projects 16:11:18 CPack: - Run preinstall target for: Csdk 16:11:18 [ 81%] Linking C executable device-counter 16:11:18 [ 81%] Built target device-counter 16:11:18 Scanning dependencies of target device-random 16:11:18 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:11:18 CPack: - Install project: Csdk [] 16:11:18 CPack: Create package 16:11:18 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:11:18 + '[' false '=' true ] 16:11:18 + '[' false '=' true ] 16:11:18 + mkdir -p /tmp/sdk/build/debug 16:11:18 + cd /tmp/sdk/build/debug 16:11:18 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:11:18 -- The C compiler identification is GNU 9.3.0 16:11:18 -- Check for working C compiler: /usr/bin/cc 16:11:18 -- Check for working C compiler: /usr/bin/cc - works 16:11:18 -- Detecting C compiler ABI info 16:11:18 -- Detecting C compiler ABI info - done 16:11:18 -- Detecting C compile features 16:11:18 -- Detecting C compile features - done 16:11:18 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:11:18 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 16:11:18 -- Found LIBYAML: /usr/lib/libyaml.so 16:11:18 -- Found LIBUUID: /usr/lib/libuuid.so 16:11:18 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:11:18 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:11:18 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:11:18 -- C SDK 0.0.0 for Linux 16:11:18 -- Performing Test CSDK_HAVE_ATOMIC 16:11:18 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:11:19 -- Found Curses: /usr/lib/libcurses.so 16:11:19 -- Configuring done 16:11:19 -- Generating done 16:11:19 -- Build files have been written to: /tmp/sdk/build/debug 16:11:19 + make 16:11:19 + tee debug.log 16:11:19 Scanning dependencies of target csdk 16:11:19 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:11:19 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:11:19 [ 84%] Linking C executable device-random 16:11:19 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:11:19 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:11:19 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:11:19 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:11:19 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:11:19 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:11:19 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:11:19 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:11:19 [ 84%] Built target device-random 16:11:19 Scanning dependencies of target device-gyro 16:11:19 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:11:19 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:11:19 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:11:19 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:11:20 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:11:20 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:11:20 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:11:20 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:11:20 [ 87%] Linking C executable device-gyro 16:11:20 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:11:20 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:11:20 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:11:20 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:11:20 [ 87%] Built target device-gyro 16:11:20 Scanning dependencies of target device-bitfields 16:11:20 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:11:20 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:11:20 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:11:20 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:11:21 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:11:21 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:11:21 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:11:21 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:11:21 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:11:21 [ 90%] Linking C executable device-bitfields 16:11:21 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:11:21 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:11:21 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:11:21 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:11:21 [ 90%] Built target device-bitfields 16:11:21 Scanning dependencies of target template-discovery 16:11:21 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:11:21 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:11:21 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:11:21 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:11:21 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:11:21 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:11:21 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:11:22 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:11:22 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:11:22 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:11:22 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:11:22 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:11:22 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:11:22 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:11:22 [ 93%] Linking C executable template-discovery 16:11:22 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:11:22 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:11:22 [ 93%] Built target template-discovery 16:11:23 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:11:23 [ 75%] Linking C shared library libcsdk.so 16:11:23 [ 75%] Built target csdk 16:11:23 Scanning dependencies of target template 16:11:23 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:11:23 [ 78%] Linking C executable template 16:11:23 Scanning dependencies of target device-file 16:11:23 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:11:23 [ 78%] Built target template 16:11:23 Scanning dependencies of target device-counter 16:11:23 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:11:23 [ 81%] Linking C executable device-counter 16:11:23 [ 81%] Built target device-counter 16:11:23 Scanning dependencies of target device-random 16:11:23 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:11:23 [ 84%] Linking C executable device-random 16:11:23 [ 96%] Linking C executable device-file 16:11:23 [ 84%] Built target device-random 16:11:23 Scanning dependencies of target device-gyro 16:11:23 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:11:23 [ 87%] Linking C executable device-gyro 16:11:23 [ 87%] Built target device-gyro 16:11:23 Scanning dependencies of target device-bitfields 16:11:23 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:11:23 [ 90%] Linking C executable device-bitfields 16:11:23 [ 90%] Built target device-bitfields 16:11:23 Scanning dependencies of target template-discovery 16:11:23 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:11:23 [ 93%] Linking C executable template-discovery 16:11:23 [ 93%] Built target template-discovery 16:11:23 Scanning dependencies of target device-file 16:11:23 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:11:24 [ 96%] Built target device-file 16:11:24 Scanning dependencies of target device-terminal 16:11:24 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:11:24 [ 96%] Linking C executable device-file 16:11:24 [ 96%] Built target device-file 16:11:24 Scanning dependencies of target device-terminal 16:11:24 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:11:24 [100%] Linking C executable device-terminal 16:11:24 [100%] Built target device-terminal 16:11:24 make: Entering directory '/tmp/sdk/build/release' 16:11:24 make[1]: Entering directory '/tmp/sdk/build/release' 16:11:24 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:24 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:24 [ 75%] Built target csdk 16:11:24 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:24 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:24 [ 78%] Built target template 16:11:24 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:24 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:24 [ 81%] Built target device-counter 16:11:24 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:24 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:24 [ 84%] Built target device-random 16:11:24 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:24 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:24 [ 87%] Built target device-gyro 16:11:24 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:24 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:24 [ 90%] Built target device-bitfields 16:11:24 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:24 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:24 [ 93%] Built target template-discovery 16:11:24 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:24 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:24 [ 96%] Built target device-file 16:11:24 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:24 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:24 [100%] Built target device-terminal 16:11:24 make[1]: Leaving directory '/tmp/sdk/build/release' 16:11:24 Install the project... 16:11:24 -- Install configuration: "Release" 16:11:24 -- Installing: /usr/local/lib/libcsdk.so 16:11:24 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:11:24 -- Up-to-date: /usr/local/include 16:11:24 -- Installing: /usr/local/include/devsdk 16:11:24 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:11:24 -- Installing: /usr/local/include/devsdk/devsdk.h 16:11:24 -- Installing: /usr/local/include/edgex 16:11:24 -- Installing: /usr/local/include/edgex/devices.h 16:11:24 -- Installing: /usr/local/include/edgex/edgex-base.h 16:11:24 -- Installing: /usr/local/include/edgex/edgex.h 16:11:24 -- Installing: /usr/local/include/edgex/profiles.h 16:11:24 -- Installing: /usr/local/include/edgex/rest-server.h 16:11:24 -- Installing: /usr/local/include/edgex/secrets.h 16:11:24 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:11:24 -- Installing: /usr/local/include/iot 16:11:24 -- Installing: /usr/local/include/iot/base64.h 16:11:24 -- Installing: /usr/local/include/iot/component.h 16:11:24 -- Installing: /usr/local/include/iot/config.h 16:11:24 -- Installing: /usr/local/include/iot/container.h 16:11:24 -- Installing: /usr/local/include/iot/data.h 16:11:24 -- Installing: /usr/local/include/iot/hash.h 16:11:24 -- Installing: /usr/local/include/iot/iot.h 16:11:24 -- Installing: /usr/local/include/iot/json.h 16:11:24 -- Installing: /usr/local/include/iot/logger.h 16:11:24 -- Installing: /usr/local/include/iot/os.h 16:11:24 -- Installing: /usr/local/include/iot/scheduler.h 16:11:24 -- Installing: /usr/local/include/iot/thread.h 16:11:24 -- Installing: /usr/local/include/iot/threadpool.h 16:11:24 -- Installing: /usr/local/include/iot/time.h 16:11:24 -- Installing: /usr/local/include/iot/typecode.h 16:11:24 -- Installing: /usr/local/include/iot/os 16:11:24 -- Installing: /usr/local/include/iot/os/linux.h 16:11:24 -- Installing: /usr/local/include/iot/os/macos.h 16:11:24 -- Installing: /usr/local/include/iot/os/zephyr.h 16:11:24 -- Installing: /usr/local/include/iot/defs.h 16:11:24 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:11:24 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:11:24 make: Leaving directory '/tmp/sdk/build/release' 16:11:24 [100%] Linking C executable device-terminal 16:11:24 [100%] Built target device-terminal 16:11:24 Removing intermediate container 5b889049e56d 16:11:24 ---> f28a688c7b22 16:11:24 Step 16/25 : FROM ${BASE} 16:11:24 ---> ac6a0feb3254 16:11:24 Step 17/25 : LABEL maintainer="IOTech " 16:11:24 ---> Running in 27d0b96324e8 16:11:24 Removing intermediate container 27d0b96324e8 16:11:24 ---> 9b9c1ad167cc 16:11:24 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:11:24 ---> Running in dfd686a19808 16:11:25 Run CPack packaging tool... 16:11:25 CPack: Create package using TGZ 16:11:25 CPack: Install projects 16:11:25 CPack: - Run preinstall target for: Csdk 16:11:25 Connecting to iotech.jfrog.io (54.229.110.245:443) 16:11:25 CPack: - Install project: Csdk [] 16:11:25 CPack: Create package 16:11:25 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:11:25 + '[' false '=' true ] 16:11:25 + '[' false '=' true ] 16:11:25 + mkdir -p /tmp/sdk/build/debug 16:11:25 + cd /tmp/sdk/build/debug 16:11:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:11:25 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:11:25 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:11:25 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 16:11:25 Removing intermediate container dfd686a19808 16:11:25 ---> a14990b66b01 16:11:25 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:11:25 ---> Running in 57b268fa2d02 16:11:26 Removing intermediate container 57b268fa2d02 16:11:26 ---> e8760ea7d587 16:11:26 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:11:26 ---> Running in b15ca5658d34 16:11:26 -- The C compiler identification is GNU 9.3.0 16:11:26 -- Check for working C compiler: /usr/bin/cc 16:11:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:11:26 -- Check for working C compiler: /usr/bin/cc - works 16:11:26 -- Detecting C compiler ABI info 16:11:26 -- Detecting C compiler ABI info - done 16:11:26 -- Detecting C compile features 16:11:26 -- Detecting C compile features - done 16:11:26 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:11:27 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 16:11:27 -- Found LIBYAML: /usr/lib/libyaml.so 16:11:27 -- Found LIBUUID: /usr/lib/libuuid.so 16:11:27 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:11:27 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:11:27 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:11:27 -- C SDK 0.0.0 for Linux 16:11:27 -- Performing Test CSDK_HAVE_ATOMIC 16:11:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:11:27 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:11:27 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:11:27 -- Found Curses: /usr/lib/libcurses.so 16:11:27 -- Configuring done 16:11:28 -- Generating done 16:11:28 -- Build files have been written to: /tmp/sdk/build/debug 16:11:28 + make 16:11:28 + tee debug.log 16:11:28 Scanning dependencies of target csdk 16:11:28 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:11:28 (1/7) Installing curl (7.78.0-r0) 16:11:28 (2/7) Installing hiredis (0.14.1-r0) 16:11:28 (3/7) Installing hiredis-dev (0.14.1-r0) 16:11:28 (4/7) Installing libuuid (2.35.2-r0) 16:11:28 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 16:11:28 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:11:29 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:11:29 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:11:30 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:11:30 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:11:30 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:11:31 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:11:31 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:11:31 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:11:32 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:11:33 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:11:33 (6/7) Installing libidn2 (2.3.0-r0) 16:11:33 (7/7) Installing wget (1.20.3-r1) 16:11:33 Executing busybox-1.31.1-r20.trigger 16:11:33 OK: 286 MiB in 82 packages 16:11:33 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:11:33 Removing intermediate container b15ca5658d34 16:11:33 ---> 2c83b0e1931c 16:11:33 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:11:33 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:11:33 ---> 77c19283ca9d 16:11:33 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:11:33 ---> 3965ccf63473 16:11:33 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 16:11:33 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:11:34 ---> 917c1083caf2 16:11:34 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:11:34 ---> 826d17ede8fe 16:11:34 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:11:34 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:11:34 ---> 8687fe7f448e 16:11:34 Successfully built 8687fe7f448e 16:11:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 16:11:34 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:11:34 + docker inspect -f . ci-base-image-x86_64 16:11:34 . [Pipeline] withDockerContainer 16:11:35 prd-centos7-docker-4c-2g-373 does not seem to be running inside a container 16:11:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:11:35 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:11:35 $ docker top c324b6fe504bdb105ddfc0299441d6f87cdcffba8c7c3ec4eb1c70c8eb1cc4ce -eo pid,comm [Pipeline] { [Pipeline] sh 16:11:35 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:11:35 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:11:35 + make test 16:11:35 echo "make test" 16:11:35 make test [Pipeline] } 16:11:35 $ docker stop --time=1 c324b6fe504bdb105ddfc0299441d6f87cdcffba8c7c3ec4eb1c70c8eb1cc4ce 16:11:36 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:11:36 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:11:36 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:11:37 $ docker rm -f c324b6fe504bdb105ddfc0299441d6f87cdcffba8c7c3ec4eb1c70c8eb1cc4ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 16:11:37 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:11:37 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:11:38 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:11:38 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:11:38 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:11:38 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:11:39 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:11:39 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:11:39 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [Pipeline] sh 16:11:40 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:11:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:11:40 + ls -al . 16:11:40 total 160 16:11:40 drwxrwxr-x. 8 jenkins jenkins 260 Jul 28 16:10 . 16:11:40 drwxrwxr-x. 4 jenkins jenkins 28 Jul 28 16:10 .. 16:11:40 -rw-rw-r--. 1 jenkins jenkins 3104 Jul 28 16:10 Attribution.txt 16:11:40 -rw-rw-r--. 1 jenkins jenkins 7556 Jul 28 16:10 CHANGES 16:11:40 drwxrwxr-x. 2 jenkins jenkins 121 Jul 28 16:10 docs 16:11:40 -rw-rw-r--. 1 jenkins jenkins 108574 Jul 28 16:10 Doxyfile 16:11:40 drwxrwxr-x. 8 jenkins jenkins 179 Jul 28 16:10 .git 16:11:40 drwxrwxr-x. 2 jenkins jenkins 81 Jul 28 16:10 .github 16:11:40 -rw-rw-r--. 1 jenkins jenkins 176 Jul 28 16:10 .gitignore 16:11:40 drwxrwxr-x. 4 jenkins jenkins 33 Jul 28 16:10 include 16:11:40 -rw-rw-r--. 1 jenkins jenkins 784 Jul 28 16:10 Jenkinsfile 16:11:40 -rw-rw-r--. 1 jenkins jenkins 10174 Jul 28 16:10 LICENSE 16:11:40 -rw-rw-r--. 1 jenkins jenkins 444 Jul 28 16:10 Makefile 16:11:40 -rw-rw-r--. 1 jenkins jenkins 4090 Jul 28 16:10 README.md 16:11:40 -rw-rw-r--. 1 jenkins jenkins 7090 Jul 28 16:10 README.v2.md 16:11:40 drwxrwxr-x. 2 jenkins jenkins 98 Jul 28 16:10 scripts 16:11:40 drwxrwxr-x. 4 jenkins jenkins 50 Jul 28 16:10 src 16:11:40 -rw-rw-r--. 1 jenkins jenkins 5 Jul 28 16:06 VERSION [Pipeline] isUnix [Pipeline] sh 16:11:40 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:11:40 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:11:40 + 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=d6172f51d6ba2c74d7fbfdef490329ded0c747ad --label arch=amd64 --label version=0.0.0 . 16:11:40 Sending build context to Docker daemon 2.691MB 16:11:40 Step 1/17 : ARG BASE=alpine:3.12 16:11:40 Step 2/17 : FROM ${BASE} 16:11:40 ---> 8687fe7f448e 16:11:40 Step 3/17 : LABEL maintainer="IOTech " 16:11:40 ---> Running in e2394e04230b 16:11:40 Removing intermediate container e2394e04230b 16:11:40 ---> 23b5e1acf11b 16:11:40 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:11:41 ---> Running in 923aa3f64a6c 16:11:41 --2021-07-28 16:11:41-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 16:11:41 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:11:41 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:11:42 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.170.66.44, 54.195.244.87 16:11:42 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. 16:11:42 HTTP request sent, awaiting response... 200 OK 16:11:42 Length: 451 [application/octet-stream] 16:11:42 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:11:42  16:11:42 0K 100% 50.9M=0s 16:11:42 16:11:42 2021-07-28 16:11:42 (50.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 16:11:42 16:11:42 Removing intermediate container 923aa3f64a6c 16:11:42 ---> d9765c281fc0 16:11:42 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:11:42 ---> Running in e2c9dac7ff8f 16:11:43 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:11:43 Removing intermediate container e2c9dac7ff8f 16:11:43 ---> 7bc372b9ae05 16:11:43 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:11:43 ---> Running in ce9d494e9ebb 16:11:43 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:11:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:11:44 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:11:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:11:44 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:11:44 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:11:44 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:11:45 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 16:11:45 (2/16) Installing libblkid (2.35.2-r0) 16:11:45 (3/16) Installing blkid (2.35.2-r0) 16:11:45 (4/16) Installing libcap-ng (0.7.10-r1) 16:11:45 (5/16) Installing setpriv (2.35.2-r0) 16:11:45 (6/16) Installing libmount (2.35.2-r0) 16:11:45 (7/16) Installing libsmartcols (2.35.2-r0) 16:11:45 (8/16) Installing findmnt (2.35.2-r0) 16:11:46 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:11:46 (9/16) Installing mcookie (2.35.2-r0) 16:11:46 (10/16) Installing hexdump (2.35.2-r0) 16:11:46 (11/16) Installing lsblk (2.35.2-r0) 16:11:46 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:11:46 (12/16) Installing libfdisk (2.35.2-r0) 16:11:46 (13/16) Installing sfdisk (2.35.2-r0) 16:11:46 (14/16) Installing cfdisk (2.35.2-r0) 16:11:46 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:11:46 (15/16) Installing util-linux (2.35.2-r0) 16:11:46 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:11:47 (16/16) Installing util-linux-dev (2.35.2-r0) 16:11:47 Executing busybox-1.31.1-r20.trigger 16:11:47 OK: 295 MiB in 98 packages 16:11:47 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:11:47 Removing intermediate container ce9d494e9ebb 16:11:47 ---> 59474a3406eb 16:11:47 Step 7/17 : COPY VERSION /edgex-c-sdk/ 16:11:47 ---> 082868846653 16:11:47 Step 8/17 : COPY src /edgex-c-sdk/src/ 16:11:48 ---> 13d45eb18b5d 16:11:48 Step 9/17 : COPY include /edgex-c-sdk/include/ 16:11:48 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:11:48 ---> e2593f9bd497 16:11:48 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 16:11:48 ---> 59d6c5f072db 16:11:48 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 16:11:48 ---> aea5d801681c 16:11:48 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 16:11:48 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:11:48 ---> 2e5341fe1cbe 16:11:48 Step 13/17 : WORKDIR /edgex-c-sdk 16:11:48 ---> Running in b8c2d454501f 16:11:48 Removing intermediate container b8c2d454501f 16:11:48 ---> ef56fc3b8a78 16:11:48 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:11:48 ---> Running in 7c0a4281bfc1 16:11:48 [ 75%] Linking C shared library libcsdk.so 16:11:49 Removing intermediate container 7c0a4281bfc1 16:11:49 ---> 599f077466c7 16:11:49 Step 15/17 : LABEL arch=amd64 16:11:49 ---> Running in 946f43a17af6 16:11:49 Removing intermediate container 946f43a17af6 16:11:49 ---> e7c7a2512f16 16:11:49 Step 16/17 : LABEL git_sha=d6172f51d6ba2c74d7fbfdef490329ded0c747ad 16:11:49 ---> Running in 4bae0c0968c0 16:11:49 Removing intermediate container 4bae0c0968c0 16:11:49 ---> 6d8fed1b8b30 16:11:49 Step 17/17 : LABEL version=0.0.0 16:11:49 [ 75%] Built target csdk 16:11:49 ---> Running in 92ada67a85a8 16:11:49 Removing intermediate container 92ada67a85a8 16:11:49 ---> cdafb5f02cdb 16:11:49 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:11:49 Successfully built cdafb5f02cdb 16:11:49 Successfully tagged device-sdk:latest [Pipeline] } 16:11:49 Scanning dependencies of target template 16:11:49 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [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] } 16:11:49 [ 78%] Linking C executable template [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:11:50 [ 78%] Built target template 16:11:50 Scanning dependencies of target device-counter 16:11:50 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:11:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:11:50 16:11:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:11:50 [ 81%] Linking C executable device-counter 16:11:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:11:50 latest: Pulling from edgex-lftools-log-publisher 16:11:50 b4d181a07f80: Pulling fs layer 16:11:50 a1111a8f2ec3: Pulling fs layer 16:11:50 ed53099fbce6: Pulling fs layer 16:11:50 dc539afda2c1: Pulling fs layer 16:11:50 77bc0d833cb6: Pulling fs layer 16:11:50 9065ff56babe: Pulling fs layer 16:11:50 d287ab97295c: Pulling fs layer 16:11:50 77bc0d833cb6: Waiting 16:11:50 9065ff56babe: Waiting 16:11:50 d287ab97295c: Waiting 16:11:50 dc539afda2c1: Waiting 16:11:50 [ 81%] Built target device-counter 16:11:50 Scanning dependencies of target device-random 16:11:50 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:11:50 [ 84%] Linking C executable device-random 16:11:51 [ 84%] Built target device-random 16:11:51 Scanning dependencies of target device-gyro 16:11:51 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:11:51 a1111a8f2ec3: Verifying Checksum 16:11:51 a1111a8f2ec3: Download complete 16:11:51 dc539afda2c1: Verifying Checksum 16:11:51 dc539afda2c1: Download complete 16:11:51 [ 87%] Linking C executable device-gyro 16:11:51 77bc0d833cb6: Verifying Checksum 16:11:51 77bc0d833cb6: Download complete 16:11:51 9065ff56babe: Verifying Checksum 16:11:51 9065ff56babe: Download complete 16:11:51 [ 87%] Built target device-gyro 16:11:51 Scanning dependencies of target device-bitfields 16:11:51 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:11:52 [ 90%] Linking C executable device-bitfields 16:11:52 [ 90%] Built target device-bitfields 16:11:52 Scanning dependencies of target template-discovery 16:11:52 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:11:53 [ 93%] Linking C executable template-discovery 16:11:53 [ 93%] Built target template-discovery 16:11:53 ed53099fbce6: Verifying Checksum 16:11:53 ed53099fbce6: Download complete 16:11:53 Scanning dependencies of target device-file 16:11:53 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:11:53 [ 96%] Linking C executable device-file 16:11:53 [ 96%] Built target device-file 16:11:53 Scanning dependencies of target device-terminal 16:11:53 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:11:54 [100%] Linking C executable device-terminal 16:11:54 [100%] Built target device-terminal 16:11:54 make: Entering directory '/tmp/sdk/build/release' 16:11:54 make[1]: Entering directory '/tmp/sdk/build/release' 16:11:54 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:54 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:54 [ 75%] Built target csdk 16:11:54 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:54 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:54 [ 78%] Built target template 16:11:54 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:54 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:54 [ 81%] Built target device-counter 16:11:54 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:54 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:54 [ 84%] Built target device-random 16:11:54 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:55 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:55 [ 87%] Built target device-gyro 16:11:55 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:55 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:55 [ 90%] Built target device-bitfields 16:11:55 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:55 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:55 [ 93%] Built target template-discovery 16:11:55 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:55 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:55 [ 96%] Built target device-file 16:11:55 make[2]: Entering directory '/tmp/sdk/build/release' 16:11:55 make[2]: Leaving directory '/tmp/sdk/build/release' 16:11:55 [100%] Built target device-terminal 16:11:55 make[1]: Leaving directory '/tmp/sdk/build/release' 16:11:55 b4d181a07f80: Verifying Checksum 16:11:55 b4d181a07f80: Download complete 16:11:55 Install the project... 16:11:55 -- Install configuration: "Release" 16:11:55 -- Installing: /usr/local/lib/libcsdk.so 16:11:55 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:11:55 -- Up-to-date: /usr/local/include 16:11:55 -- Installing: /usr/local/include/edgex 16:11:55 -- Installing: /usr/local/include/edgex/rest-server.h 16:11:55 -- Installing: /usr/local/include/edgex/edgex-base.h 16:11:55 -- Installing: /usr/local/include/edgex/edgex.h 16:11:55 -- Installing: /usr/local/include/edgex/devices.h 16:11:55 -- Installing: /usr/local/include/edgex/secrets.h 16:11:55 -- Installing: /usr/local/include/edgex/profiles.h 16:11:55 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:11:55 -- Installing: /usr/local/include/devsdk 16:11:55 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:11:55 -- Installing: /usr/local/include/devsdk/devsdk.h 16:11:55 -- Installing: /usr/local/include/iot 16:11:55 -- Installing: /usr/local/include/iot/json.h 16:11:55 -- Installing: /usr/local/include/iot/container.h 16:11:55 -- Installing: /usr/local/include/iot/component.h 16:11:55 -- Installing: /usr/local/include/iot/typecode.h 16:11:55 -- Installing: /usr/local/include/iot/iot.h 16:11:55 -- Installing: /usr/local/include/iot/time.h 16:11:55 -- Installing: /usr/local/include/iot/hash.h 16:11:55 -- Installing: /usr/local/include/iot/logger.h 16:11:55 -- Installing: /usr/local/include/iot/os 16:11:55 -- Installing: /usr/local/include/iot/os/zephyr.h 16:11:55 -- Installing: /usr/local/include/iot/os/linux.h 16:11:55 -- Installing: /usr/local/include/iot/os/macos.h 16:11:55 -- Installing: /usr/local/include/iot/scheduler.h 16:11:55 -- Installing: /usr/local/include/iot/data.h 16:11:55 -- Installing: /usr/local/include/iot/thread.h 16:11:55 -- Installing: /usr/local/include/iot/os.h 16:11:55 -- Installing: /usr/local/include/iot/base64.h 16:11:55 -- Installing: /usr/local/include/iot/defs.h 16:11:55 -- Installing: /usr/local/include/iot/threadpool.h 16:11:55 -- Installing: /usr/local/include/iot/config.h 16:11:55 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:11:55 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:11:55 make: Leaving directory '/tmp/sdk/build/release' 16:11:55 b4d181a07f80: Pull complete 16:11:56 a1111a8f2ec3: Pull complete 16:11:56 ed53099fbce6: Pull complete 16:11:56 dc539afda2c1: Pull complete 16:11:56 77bc0d833cb6: Pull complete 16:11:57 9065ff56babe: Pull complete 16:11:58 Removing intermediate container b5d7531259da 16:11:58 ---> 987bb1296d27 16:11:58 Step 16/25 : FROM ${BASE} 16:11:58 ---> 759262b18b23 16:11:58 Step 17/25 : LABEL maintainer="IOTech " 16:11:58 ---> Running in a656ce8f7add 16:11:58 Removing intermediate container a656ce8f7add 16:11:58 ---> b7925b316cbc 16:11:58 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:11:59 ---> Running in b8821c3a796f 16:12:00 Connecting to iotech.jfrog.io (54.229.110.245:443) 16:12:00 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:12:00 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:12:00 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 16:12:01 Removing intermediate container b8821c3a796f 16:12:01 ---> 6009da3bd780 16:12:01 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:12:01 ---> Running in 3e2ee69066f7 16:12:03 d287ab97295c: Verifying Checksum 16:12:03 d287ab97295c: Download complete 16:12:04 Removing intermediate container 3e2ee69066f7 16:12:04 ---> 5eb422953bd5 16:12: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:12:04 ---> Running in 20074000701a 16:12:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:12:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:12:07 d287ab97295c: Pull complete 16:12:07 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:12:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:12:07 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:12:07 prd-centos7-docker-4c-2g-373 does not seem to be running inside a container 16:12:07 $ 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/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:12:08 (1/7) Installing curl (7.78.0-r0) 16:12:08 (2/7) Installing hiredis (0.14.1-r0) 16:12:08 (3/7) Installing hiredis-dev (0.14.1-r0) 16:12:08 (4/7) Installing libuuid (2.35.2-r0) 16:12:08 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 16:12:09 $ docker top 3b8d9507285f9273b94bf45bbe8032513eab56dea440c969d5837084ad0bccc6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:12:10 (6/7) Installing libidn2 (2.3.0-r0) 16:12:10 (7/7) Installing wget (1.20.3-r1) 16:12:10 ---> job-cost.sh 16:12:10 lf-activate-venv: SKIPPING 16:12:10 INFO: No Stack... 16:12:10 Executing busybox-1.31.1-r20.trigger 16:12:10 OK: 267 MiB in 82 packages 16:12:11 INFO: Retrieving Pricing Info for: v3-standard-2 16:12:11 INFO: Archiving Costs [Pipeline] sh 16:12:11 + cat /w/workspace/device-sdk-c/4/archives/cost.csv 16:12:11 + cut -d, -f6 [Pipeline] lock 16:12:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-4-stack-cost] 16:12:12 Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-4-stack-cost] did not exist. Created. 16:12:12 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-4-stack-cost] [Pipeline] { [Pipeline] unstash 16:12:12 Removing intermediate container 20074000701a 16:12:12 ---> d03790d29087 16:12:12 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [Pipeline] sh 16:12:12 + echo total: 0.05999999865889549 [Pipeline] stash 16:12:12 Stashed 1 file(s) [Pipeline] } 16:12:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:12:12 $ docker stop --time=1 3b8d9507285f9273b94bf45bbe8032513eab56dea440c969d5837084ad0bccc6 16:12:13 ---> c865a0e62809 16:12:13 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:12:13 ---> 575921e4cc33 16:12:13 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 16:12:13 $ docker rm -f 3b8d9507285f9273b94bf45bbe8032513eab56dea440c969d5837084ad0bccc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:12:15 ---> 832831921c29 16:12:15 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:12:16 ---> 5d3ebed8f146 16:12:16 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:12:17 ---> 23a70b375031 16:12:17 Successfully built 23a70b375031 16:12:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:12:18 + docker inspect -f . ci-base-image-arm64 16:12:18 . [Pipeline] withDockerContainer 16:12:18 prd-ubuntu18.04-docker-arm64-4c-16g-371 does not seem to be running inside a container 16:12:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:12:20 $ docker top dbe933ad46ff797ef560d2cc129220330b6b4ce70b170151e1d51daab95e2d27 -eo pid,comm [Pipeline] { [Pipeline] sh 16:12:21 + make test 16:12:21 echo "make test" 16:12:21 make test [Pipeline] } 16:12:21 $ docker stop --time=1 dbe933ad46ff797ef560d2cc129220330b6b4ce70b170151e1d51daab95e2d27 16:12:23 $ docker rm -f dbe933ad46ff797ef560d2cc129220330b6b4ce70b170151e1d51daab95e2d27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:12:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:12:24 + ls -al . 16:12:24 total 192 16:12:24 drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 16:08 . 16:12:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 16:08 .. 16:12:24 drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 16:08 .git 16:12:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 16:08 .github 16:12:24 -rw-rw-r-- 1 jenkins jenkins 176 Jul 28 16:08 .gitignore 16:12:24 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 28 16:08 Attribution.txt 16:12:24 -rw-rw-r-- 1 jenkins jenkins 7556 Jul 28 16:08 CHANGES 16:12:24 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 28 16:08 Doxyfile 16:12:24 -rw-rw-r-- 1 jenkins jenkins 784 Jul 28 16:08 Jenkinsfile 16:12:24 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 28 16:08 LICENSE 16:12:24 -rw-rw-r-- 1 jenkins jenkins 444 Jul 28 16:08 Makefile 16:12:24 -rw-rw-r-- 1 jenkins jenkins 4090 Jul 28 16:08 README.md 16:12:24 -rw-rw-r-- 1 jenkins jenkins 7090 Jul 28 16:08 README.v2.md 16:12:24 -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 16:06 VERSION 16:12:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 16:08 docs 16:12:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 16:08 include 16:12:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 16:08 scripts 16:12:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 16:08 src [Pipeline] isUnix [Pipeline] sh 16:12:24 + 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=c4bf5835aa2a26a1a11e468256961ec2bf2bcd58 --label arch=arm64 --label version=0.0.0 . 16:12:25 Sending build context to Docker daemon 2.69MB 16:12:25 Step 1/17 : ARG BASE=alpine:3.12 16:12:25 Step 2/17 : FROM ${BASE} 16:12:25 ---> 23a70b375031 16:12:25 Step 3/17 : LABEL maintainer="IOTech " 16:12:25 ---> Running in 3d3411783266 16:12:26 Removing intermediate container 3d3411783266 16:12:26 ---> 67254d0904aa 16:12:26 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:12:27 ---> Running in 2910ea7105e9 16:12:28 --2021-07-28 16:12:28-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 16:12:28 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.195.244.87, 54.170.66.44 16:12:28 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. 16:12:28 HTTP request sent, awaiting response... 200 OK 16:12:28 Length: 451 [application/octet-stream] 16:12:28 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:12:28 16:12:28 0K  100% 17.7M=0s 16:12:28 16:12:28 2021-07-28 16:12:28 (17.7 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 16:12:28 16:12:30 Removing intermediate container 2910ea7105e9 16:12:30 ---> d55038af482c 16:12:30 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:12:30 ---> Running in 608c27889071 16:12:32 Removing intermediate container 608c27889071 16:12:32 ---> 407a72d411e0 16:12:32 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:12:32 ---> Running in 2040a9bee68c 16:12:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:12:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:12:35 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:12:36 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 16:12:36 (2/16) Installing libblkid (2.35.2-r0) 16:12:36 (3/16) Installing blkid (2.35.2-r0) 16:12:36 (4/16) Installing libcap-ng (0.7.10-r1) 16:12:36 (5/16) Installing setpriv (2.35.2-r0) 16:12:36 (6/16) Installing libmount (2.35.2-r0) 16:12:36 (7/16) Installing libsmartcols (2.35.2-r0) 16:12:36 (8/16) Installing findmnt (2.35.2-r0) 16:12:36 (9/16) Installing mcookie (2.35.2-r0) 16:12:36 (10/16) Installing hexdump (2.35.2-r0) 16:12:37 (11/16) Installing lsblk (2.35.2-r0) 16:12:37 (12/16) Installing libfdisk (2.35.2-r0) 16:12:37 (13/16) Installing sfdisk (2.35.2-r0) 16:12:37 (14/16) Installing cfdisk (2.35.2-r0) 16:12:37 (15/16) Installing util-linux (2.35.2-r0) 16:12:37 (16/16) Installing util-linux-dev (2.35.2-r0) 16:12:38 Executing busybox-1.31.1-r20.trigger 16:12:38 OK: 276 MiB in 98 packages 16:12:40 Removing intermediate container 2040a9bee68c 16:12:40 ---> a0d5428ad440 16:12:40 Step 7/17 : COPY VERSION /edgex-c-sdk/ 16:12:40 ---> 5de873040ea7 16:12:40 Step 8/17 : COPY src /edgex-c-sdk/src/ 16:12:42 ---> e166a0730388 16:12:42 Step 9/17 : COPY include /edgex-c-sdk/include/ 16:12:42 ---> 21581046cb99 16:12:42 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 16:12:43 ---> 424a6cbb5223 16:12:43 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 16:12:44 ---> 0195c2f39179 16:12:44 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 16:12:45 ---> ffc4cbd347c6 16:12:45 Step 13/17 : WORKDIR /edgex-c-sdk 16:12:45 ---> Running in 185559deffd2 16:12:46 Removing intermediate container 185559deffd2 16:12:46 ---> e4cb31346a50 16:12:46 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:12:46 ---> Running in 51a8dadcc6a5 16:12:46 Removing intermediate container 51a8dadcc6a5 16:12:46 ---> 8f83bb27b10b 16:12:46 Step 15/17 : LABEL arch=arm64 16:12:47 ---> Running in 9bc6648c22f9 16:12:47 Removing intermediate container 9bc6648c22f9 16:12:47 ---> 7d9048958f95 16:12:47 Step 16/17 : LABEL git_sha=c4bf5835aa2a26a1a11e468256961ec2bf2bcd58 16:12:47 ---> Running in a879d05b9d4e 16:12:48 Removing intermediate container a879d05b9d4e 16:12:48 ---> c956f5809d01 16:12:48 Step 17/17 : LABEL version=0.0.0 16:12:48 ---> Running in 46f865802f58 16:12:49 Removing intermediate container 46f865802f58 16:12:49 ---> bd59523e78da 16:12:49 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:12:49 Successfully built bd59523e78da 16:12:49 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:12:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:12:50 16:12:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:12:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:12:50 arm64: Pulling from edgex-lftools-log-publisher 16:12:50 448f6bf000e3: Pulling fs layer 16:12:50 f757da607395: Pulling fs layer 16:12:50 05883995daec: Pulling fs layer 16:12:50 8603b9c90790: Pulling fs layer 16:12:50 1560dd03e051: Pulling fs layer 16:12:50 27f5ce0e4adf: Pulling fs layer 16:12:50 c2d8d7efcc4b: Pulling fs layer 16:12:50 8603b9c90790: Waiting 16:12:50 1560dd03e051: Waiting 16:12:50 27f5ce0e4adf: Waiting 16:12:50 c2d8d7efcc4b: Waiting 16:12:50 f757da607395: Verifying Checksum 16:12:50 f757da607395: Download complete 16:12:50 8603b9c90790: Verifying Checksum 16:12:50 8603b9c90790: Download complete 16:12:51 1560dd03e051: Verifying Checksum 16:12:51 1560dd03e051: Download complete 16:12:51 27f5ce0e4adf: Download complete 16:12:51 05883995daec: Verifying Checksum 16:12:51 05883995daec: Download complete 16:12:52 448f6bf000e3: Download complete 16:12:54 c2d8d7efcc4b: Verifying Checksum 16:12:54 c2d8d7efcc4b: Download complete 16:12:55 448f6bf000e3: Pull complete 16:12:56 f757da607395: Pull complete 16:12:57 05883995daec: Pull complete 16:12:58 8603b9c90790: Pull complete 16:12:59 1560dd03e051: Pull complete 16:12:59 27f5ce0e4adf: Pull complete 16:13:15 c2d8d7efcc4b: Pull complete 16:13:15 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 16:13:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:13:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:13:15 prd-ubuntu18.04-docker-arm64-4c-16g-371 does not seem to be running inside a container 16:13:16 $ 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/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:13:20 $ docker top 1910ae26de2cf8c2307f63cc3289d428c770fda6d8f821e40cdade0fef9a2bab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:13:21 ---> job-cost.sh 16:13:21 lf-activate-venv: SKIPPING 16:13:21 INFO: No Stack... 16:13:22 INFO: Retrieving Pricing Info for: v2-standard-4 16:13:22 INFO: Archiving Costs [Pipeline] sh 16:13:23 + cat /w/workspace/device-sdk-c/4/archives/cost.csv 16:13:23 + cut -d, -f6 [Pipeline] lock 16:13:23 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-4-stack-cost] 16:13:23 Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-4-stack-cost] did not exist. Created. 16:13:23 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:13:24 /w/workspace/device-sdk-c/4@tmp/durable-828bf78e/script.sh: 1: /w/workspace/device-sdk-c/4@tmp/durable-828bf78e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 16:13:25 + echo total: 0.18000000715255737 [Pipeline] stash 16:13:25 Warning: overwriting stash ‘stack-cost’ 16:13:25 Stashed 1 file(s) [Pipeline] } 16:13:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:13:25 $ docker stop --time=1 1910ae26de2cf8c2307f63cc3289d428c770fda6d8f821e40cdade0fef9a2bab 16:13:27 $ docker rm -f 1910ae26de2cf8c2307f63cc3289d428c770fda6d8f821e40cdade0fef9a2bab [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:13:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:13:29 ---> package-listing.sh 16:13:29 ++ facter osfamily 16:13:29 ++ tr '[:upper:]' '[:lower:]' 16:13:29 + OS_FAMILY=redhat 16:13:29 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-357 16:13:29 + START_PACKAGES=/tmp/packages_start.txt 16:13:29 + END_PACKAGES=/tmp/packages_end.txt 16:13:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:13:29 + PACKAGES=/tmp/packages_start.txt 16:13:29 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' 16:13:29 + PACKAGES=/tmp/packages_end.txt 16:13:29 + case "${OS_FAMILY}" in 16:13:29 + rpm -qa 16:13:29 + sort 16:13:30 + '[' -f /tmp/packages_start.txt ']' 16:13:30 + '[' -f /tmp/packages_end.txt ']' 16:13:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:13:30 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' 16:13:30 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ 16:13:30 + 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:13:30 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:13:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:13:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:13:30 16:13:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:13:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:13:31 latest: Pulling from edgex-lftools-log-publisher 16:13:31 b4d181a07f80: Pulling fs layer 16:13:31 a1111a8f2ec3: Pulling fs layer 16:13:31 ed53099fbce6: Pulling fs layer 16:13:31 dc539afda2c1: Pulling fs layer 16:13:31 77bc0d833cb6: Pulling fs layer 16:13:31 9065ff56babe: Pulling fs layer 16:13:31 d287ab97295c: Pulling fs layer 16:13:31 77bc0d833cb6: Waiting 16:13:31 9065ff56babe: Waiting 16:13:31 d287ab97295c: Waiting 16:13:31 dc539afda2c1: Waiting 16:13:31 a1111a8f2ec3: Verifying Checksum 16:13:31 a1111a8f2ec3: Download complete 16:13:31 dc539afda2c1: Verifying Checksum 16:13:31 dc539afda2c1: Download complete 16:13:32 77bc0d833cb6: Verifying Checksum 16:13:32 77bc0d833cb6: Download complete 16:13:32 9065ff56babe: Verifying Checksum 16:13:32 9065ff56babe: Download complete 16:13:32 ed53099fbce6: Verifying Checksum 16:13:32 ed53099fbce6: Download complete 16:13:33 b4d181a07f80: Verifying Checksum 16:13:33 b4d181a07f80: Download complete 16:13:34 b4d181a07f80: Pull complete 16:13:34 a1111a8f2ec3: Pull complete 16:13:34 ed53099fbce6: Pull complete 16:13:34 dc539afda2c1: Pull complete 16:13:34 77bc0d833cb6: Pull complete 16:13:35 9065ff56babe: Pull complete 16:13:40 d287ab97295c: Verifying Checksum 16:13:40 d287ab97295c: Download complete 16:13:43 d287ab97295c: Pull complete 16:13:43 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:13:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:13:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:13:44 prd-centos7-docker-4c-2g-368 does not seem to be running inside a container 16:13:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:13:46 $ docker top 4c2e363cfe3906785be138ec2059eb85e75251d1b40aaec3b1cf910cb8cbe623 -eo pid,comm [Pipeline] { [Pipeline] sh 16:13:46 + touch /tmp/pre-build-complete [Pipeline] sh 16:13:47 + mkdir -p /var/log/sysstat [Pipeline] sh 16:13:47 + ls /var/log/sa-host 16:13:47 + sadf -c /var/log/sa-host/sa05 16:13:47 file_magic: OK 16:13:47 HZ: Using current value: 100 16:13:47 file_header: OK 16:13:47 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:13:47 Statistics: 16:13:47 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:13:47 File successfully converted to sysstat format version 12.0.3 16:13:47 + sadf -c /var/log/sa-host/sa28 16:13:47 file_magic: OK 16:13:47 HZ: Using current value: 100 16:13:47 file_header: OK 16:13:47 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:13:47 Statistics: 16:13:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:13:47 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:13:47 provisioning config files... 16:13:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config6793362363211780685tmp [Pipeline] { [Pipeline] echo 16:13:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:13:48 ---> create-netrc.sh [Pipeline] } 16:13:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:13:48 ---> python-tools-install.sh [Pipeline] echo 16:13:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:13:48 ---> sudo-logs.sh 16:13:48 Archiving 'sudo' log.. 16:13:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-368.vexxhost.local: Name or service not known 16:13:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-368.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 16:13:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:13:49 ---> job-cost.sh 16:13:49 lf-activate-venv: SKIPPING 16:13:49 DEBUG: total: 0.18000000715255737 16:13:49 INFO: Retrieving Stack Cost... 16:13:49 INFO: Retrieving Pricing Info for: v3-standard-2 16:13:50 INFO: Archiving Costs [Pipeline] echo 16:13:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:13:50 ---> logs-deploy.sh 16:13:50 lf-activate-venv: SKIPPING 16:13:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-357/4 16:13:50 INFO: archiving workspace using pattern(s): 16:13:51 Archives upload complete. 16:13:51 INFO: archiving logs to Nexus 16:13:52 ---> uname -a: 16:13:52 Linux prd-centos7-docker-4c-2g-368.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:13:52 16:13:52 16:13:52 ---> lscpu: 16:13:52 Architecture: x86_64 16:13:52 CPU op-mode(s): 32-bit, 64-bit 16:13:52 Byte Order: Little Endian 16:13:52 Address sizes: 40 bits physical, 48 bits virtual 16:13:52 CPU(s): 2 16:13:52 On-line CPU(s) list: 0,1 16:13:52 Thread(s) per core: 1 16:13:52 Core(s) per socket: 1 16:13:52 Socket(s): 2 16:13:52 NUMA node(s): 1 16:13:52 Vendor ID: AuthenticAMD 16:13:52 CPU family: 23 16:13:52 Model: 49 16:13:52 Model name: AMD EPYC-Rome Processor 16:13:52 Stepping: 0 16:13:52 CPU MHz: 2799.998 16:13:52 BogoMIPS: 5599.99 16:13:52 Virtualization: AMD-V 16:13:52 Hypervisor vendor: KVM 16:13:52 Virtualization type: full 16:13:52 L1d cache: 32K 16:13:52 L1i cache: 32K 16:13:52 L2 cache: 512K 16:13:52 L3 cache: 16384K 16:13:52 NUMA node0 CPU(s): 0,1 16:13:52 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:13:52 16:13:52 16:13:52 ---> nproc: 16:13:52 2 16:13:52 16:13:52 16:13:52 ---> df -h: 16:13:52 Filesystem Size Used Avail Use% Mounted on 16:13:52 overlay 40G 7.7G 33G 20% / 16:13:52 tmpfs 64M 0 64M 0% /dev 16:13:52 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 16:13:52 shm 64M 0 64M 0% /dev/shm 16:13:52 /dev/vda1 40G 7.7G 33G 20% /facter-os 16:13:52 16:13:52 16:13:52 ---> sar -b -r -n DEV: 16:13:52 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:13:52 16:13:52 16:05:07 LINUX RESTART (2 CPU) 16:13:52 16:13:52 16:06:01 tps rtps wtps bread/s bwrtn/s 16:13:52 16:07:01 16.13 0.67 15.47 352.45 2913.77 16:13:52 16:08:01 0.57 0.00 0.57 0.00 10.04 16:13:52 16:09:01 0.28 0.00 0.28 0.00 3.20 16:13:52 16:10:01 0.18 0.00 0.18 0.00 3.00 16:13:52 16:11:01 0.23 0.00 0.23 0.00 2.38 16:13:52 16:12:01 0.37 0.00 0.37 0.00 5.48 16:13:52 16:13:01 0.23 0.00 0.23 0.00 2.97 16:13:52 Average: 2.57 0.10 2.48 50.37 420.29 16:13:52 16:13:52 16:06:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:13:52 16:07:01 5465700 0 804032 10.04 2620 1736580 1269748 14.02 581212 1563112 20 16:13:52 16:08:01 5471152 0 798576 9.97 2620 1736584 1206012 13.32 578440 1561652 16 16:13:52 16:09:01 5470232 0 799496 9.98 2620 1736584 1206072 13.32 574720 1565844 20 16:13:52 16:10:01 5469280 0 800440 9.99 2620 1736592 1206024 13.32 575456 1566444 12 16:13:52 16:11:01 5466632 0 803084 10.03 2620 1736596 1205988 13.31 574540 1569988 20 16:13:52 16:12:01 5468200 0 801512 10.01 2620 1736600 1205784 13.31 573252 1569988 8 16:13:52 16:13:01 5466388 0 803316 10.03 2620 1736608 1205784 13.31 575160 1569988 8 16:13:52 Average: 5468226 0 801494 10.01 2620 1736592 1215059 13.41 576111 1566717 15 16:13:52 16:13:52 16:06:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:13:52 16:07:01 eth0 43.57 34.52 53.80 9.86 0.00 0.00 0.00 0.00 16:13:52 16:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:52 16:07:01 docker0 16.77 13.29 1.59 26.85 0.00 0.00 0.00 0.00 16:13:52 16:08:01 eth0 1.97 0.60 0.62 0.37 0.00 0.00 0.00 0.00 16:13:52 16:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:52 16:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:52 16:09:01 eth0 0.77 0.32 0.30 0.23 0.00 0.00 0.00 0.00 16:13:52 16:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:52 16:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:52 16:10:01 eth0 1.03 0.33 0.32 0.20 0.00 0.00 0.00 0.00 16:13:52 16:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:52 16:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:52 16:11:01 eth0 0.73 0.42 0.41 0.26 0.00 0.00 0.00 0.00 16:13:52 16:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:52 16:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:52 16:12:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:13:52 16:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:52 16:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:52 16:13:01 eth0 0.18 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:13:52 16:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:52 16:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:52 Average: eth0 6.91 5.19 7.93 1.56 0.00 0.00 0.00 0.00 16:13:52 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:52 Average: docker0 2.40 1.90 0.23 3.84 0.00 0.00 0.00 0.00 16:13:52 16:13:52 16:13:52 ---> sar -P ALL: 16:13:52 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:13:52 16:13:52 16:05:07 LINUX RESTART (2 CPU) 16:13:52 16:13:52 16:06:01 CPU %user %nice %system %iowait %steal %idle 16:13:52 16:07:01 all 1.90 0.00 0.96 0.36 0.03 96.75 16:13:52 16:07:01 0 1.78 0.00 1.01 0.52 0.03 96.66 16:13:52 16:07:01 1 2.01 0.00 0.91 0.20 0.03 96.84 16:13:52 16:08:01 all 0.24 0.00 0.11 0.00 0.02 99.63 16:13:52 16:08:01 0 0.08 0.00 0.13 0.00 0.02 99.77 16:13:52 16:08:01 1 0.40 0.00 0.08 0.00 0.02 99.50 16:13:52 16:09:01 all 0.23 0.00 0.05 0.00 0.03 99.69 16:13:52 16:09:01 0 0.05 0.00 0.05 0.00 0.02 99.88 16:13:52 16:09:01 1 0.42 0.00 0.05 0.00 0.03 99.50 16:13:52 16:10:01 all 0.09 0.00 0.06 0.00 0.02 99.83 16:13:52 16:10:01 0 0.07 0.00 0.05 0.00 0.03 99.85 16:13:52 16:10:01 1 0.12 0.00 0.07 0.00 0.00 99.82 16:13:52 16:11:01 all 0.14 0.00 0.06 0.00 0.03 99.77 16:13:52 16:11:01 0 0.13 0.00 0.07 0.00 0.03 99.77 16:13:52 16:11:01 1 0.15 0.00 0.05 0.00 0.02 99.78 16:13:52 16:12:01 all 0.22 0.00 0.05 0.00 0.02 99.72 16:13:52 16:12:01 0 0.03 0.00 0.05 0.00 0.02 99.90 16:13:52 16:12:01 1 0.40 0.00 0.05 0.00 0.02 99.53 16:13:52 16:13:01 all 0.22 0.00 0.08 0.00 0.02 99.69 16:13:52 16:13:01 0 0.05 0.00 0.08 0.00 0.02 99.85 16:13:52 16:13:01 1 0.38 0.00 0.07 0.00 0.02 99.53 16:13:52 Average: all 0.43 0.00 0.19 0.05 0.02 99.30 16:13:52 Average: 0 0.31 0.00 0.21 0.07 0.02 99.38 16:13:52 Average: 1 0.55 0.00 0.18 0.03 0.02 99.22 16:13:52 16:13:52 16:13:52