Pull request #360 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 soda480 for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 5c62084b0a94f2729c922cf2af90d4622b9d28fd+06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f (3701afff8994a4e648b5edc04bcf989aa9c0193c) 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-ssh2629904417656248828.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh8742068559374818251.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 155abbc8877922835dbd6f2f82c828d26e35ec40 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-360/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-360/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8667838415906705194.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 155abbc8877922835dbd6f2f82c828d26e35ec40 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 155abbc8877922835dbd6f2f82c828d26e35ec40 # timeout=10 Commit message: "Merge pull request #342 from ernestojeda/fix-c-docker-image-names" > 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-ssh7677834130944035590.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-360/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-360/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3362317986614663119.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_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1009 in /w/workspace/edgexfoundry_device-sdk-c_PR-360 [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-360 # 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-360@tmp/jenkins-gitclient-ssh7079469875742004916.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 5c62084b0a94f2729c922cf2af90d4622b9d28fd Merge succeeded, producing 5c62084b0a94f2729c922cf2af90d4622b9d28fd Checking out Revision 5c62084b0a94f2729c922cf2af90d4622b9d28fd (PR-360) > 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-360@tmp/jenkins-gitclient-ssh4006158046314823080.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/360/head:refs/remotes/origin/PR-360 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c62084b0a94f2729c922cf2af90d4622b9d28fd # 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-360@tmp/jenkins-gitclient-ssh5105279400246800247.key > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c62084b0a94f2729c922cf2af90d4622b9d28fd # timeout=10 Commit message: "docs: Update build status badge" First time build. Skipping changelog. > git rev-list --no-walk 7261e7b3f0745dbfbb11b362687fb3fcf16e92c3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:07:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:07:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:07:19 ========================================================= 15:07:19 EdgeX Global Pipelines Version Info 15:07:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:07:20 ------------------- 15:07:20 stable info: 15:07:20 ------------------- 15:07:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:07:20 Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 15:07:20 Message: update stable to v1.0.199 15:07:21 ------------------- 15:07:21 experimental info: 15:07:21 ------------------- 15:07:21 Commited By: **** collab-it+edgex@linuxfoundation.org 15:07:21 Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 15:07:21 Message: update experimental to v1.0.199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:07:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:07:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:07:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-360 [Pipeline] echo 15:07:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-360 [Pipeline] echo 15:07:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-360 [Pipeline] echo 15:07:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c62084b0a94f2729c922cf2af90d4622b9d28fd [Pipeline] echo 15:07:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c62084 [Pipeline] echo 15:07:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:07:22 provisioning config files... 15:07:22 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-360@tmp/config779977682512016357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:07:22 ---> docker-login.sh 15:07:22 nexus3.edgexfoundry.org:10001 15:07:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:07:23 Configure a credential helper to remove this warning. See 15:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:07:23 15:07:23 Login Succeeded 15:07:23 nexus3.edgexfoundry.org:10002 15:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:07:23 Configure a credential helper to remove this warning. See 15:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:07:23 15:07:23 Login Succeeded 15:07:23 nexus3.edgexfoundry.org:10003 15:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:07:23 Configure a credential helper to remove this warning. See 15:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:07:23 15:07:23 Login Succeeded 15:07:23 nexus3.edgexfoundry.org:10004 15:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:07:23 Configure a credential helper to remove this warning. See 15:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:07:23 15:07:23 Login Succeeded 15:07:23 docker.io 15:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:07:24 Configure a credential helper to remove this warning. See 15:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:07:24 15:07:24 Login Succeeded 15:07:24 ---> docker-login.sh ends [Pipeline] } 15:07:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 15:07:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:07:25 15:07:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:07:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:07:27 latest: Pulling from edgex-devops/git-semver 15:07:27 31603596830f: Pulling fs layer 15:07:27 b6dc333f4379: Pulling fs layer 15:07:27 3d9ef1400e77: Pulling fs layer 15:07:27 fd332fbdc1db: Pulling fs layer 15:07:27 fd332fbdc1db: Waiting 15:07:27 b6dc333f4379: Verifying Checksum 15:07:27 b6dc333f4379: Download complete 15:07:27 31603596830f: Verifying Checksum 15:07:27 31603596830f: Download complete 15:07:27 31603596830f: Pull complete 15:07:27 fd332fbdc1db: Verifying Checksum 15:07:27 fd332fbdc1db: Download complete 15:07:28 b6dc333f4379: Pull complete 15:07:28 3d9ef1400e77: Verifying Checksum 15:07:28 3d9ef1400e77: Download complete 15:07:28 3d9ef1400e77: Pull complete 15:07:29 fd332fbdc1db: Pull complete 15:07:29 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 15:07:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:07:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:07:29 prd-centos7-docker-4c-2g-1009 does not seem to be running inside a container 15:07:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-360 -v /w/workspace/edgexfoundry_device-sdk-c_PR-360:/w/workspace/edgexfoundry_device-sdk-c_PR-360:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-360@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:07:30 $ docker top 22e1cf3debcdcd5601337b6f7b0732a98b702e8dd1509793bb2babd69debab15 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:07:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:07:30 [ssh-agent] Looking for ssh-agent implementation... 15:07:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:07:30 $ docker exec 22e1cf3debcdcd5601337b6f7b0732a98b702e8dd1509793bb2babd69debab15 ssh-agent 15:07:30 SSH_AUTH_SOCK=/tmp/ssh-2OQPGTV95xC1/agent.13 15:07:30 SSH_AGENT_PID=19 15:07:30 Running ssh-add (command line suppressed) 15:07:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-360@tmp/private_key_7000094668962309679.key (/w/workspace/edgexfoundry_device-sdk-c_PR-360@tmp/private_key_7000094668962309679.key) 15:07:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:07:31 + git tag --points-at HEAD [Pipeline] } 15:07:31 $ docker exec --env ******** --env ******** 22e1cf3debcdcd5601337b6f7b0732a98b702e8dd1509793bb2babd69debab15 ssh-agent -k 15:07:31 unset SSH_AUTH_SOCK; 15:07:31 unset SSH_AGENT_PID; 15:07:31 echo Agent pid 19 killed; 15:07:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:07:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:07:31 [ssh-agent] Looking for ssh-agent implementation... 15:07:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:07:31 $ docker exec 22e1cf3debcdcd5601337b6f7b0732a98b702e8dd1509793bb2babd69debab15 ssh-agent 15:07:31 SSH_AUTH_SOCK=/tmp/ssh-57XBKuHZ4z7o/agent.55 15:07:31 SSH_AGENT_PID=61 15:07:31 Running ssh-add (command line suppressed) 15:07:31 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-360@tmp/private_key_5107245232650171515.key (/w/workspace/edgexfoundry_device-sdk-c_PR-360@tmp/private_key_5107245232650171515.key) 15:07:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:07:32 + git semver init 15:07:32 # -> Open(): unable to determine branch for HEAD 15:07:32 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-360/.git 15:07:32 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-360 15:07:32 # $SEMVER_REMOTE_NAME = origin 15:07:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:07:32 # $SEMVER_USER_NAME = edgex-jenkins 15:07:32 # $SEMVER_BRANCH = PR-360 15:07:32 # $SEMVER_TEMP = /tmp/semver-125684263 15:07:32 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 15:07:32 # '/tmp/semver-125684263' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-360/.semver' 15:07:32 # -> Force: false 15:07:32 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-360/.semver [Pipeline] } 15:07:32 $ docker exec --env ******** --env ******** 22e1cf3debcdcd5601337b6f7b0732a98b702e8dd1509793bb2babd69debab15 ssh-agent -k 15:07:32 unset SSH_AUTH_SOCK; 15:07:32 unset SSH_AGENT_PID; 15:07:32 echo Agent pid 61 killed; 15:07:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:07:33 + git semver [Pipeline] } 15:07:33 $ docker stop --time=1 22e1cf3debcdcd5601337b6f7b0732a98b702e8dd1509793bb2babd69debab15 15:07:34 $ docker rm -f 22e1cf3debcdcd5601337b6f7b0732a98b702e8dd1509793bb2babd69debab15 [Pipeline] // withDockerContainer [Pipeline] sh 15:07:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:07:35 Stashed 1 file(s) [Pipeline] echo 15:07:35 [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 15:07:50 Still waiting to schedule task 15:07:50 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:07:50 Still waiting to schedule task 15:07:50 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1004’ is offline 15:08:04 Running on prd-centos7-docker-4c-2g-1016 in /w/workspace/edgexfoundry_device-sdk-c_PR-360 [Pipeline] { [Pipeline] ws 15:08:04 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 15:08:05 Selected Git installation does not exist. Using Default 15:08:05 The recommended git tool is: NONE 15:08:08 using credential edgex-jenkins-ssh 15:08:08 Cloning the remote Git repository 15:08:08 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:08:08 > git init /w/workspace/device-sdk-c/2 # timeout=10 15:08:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:08:08 > git --version # timeout=10 15:08:08 > git --version # 'git version 2.24.4' 15:08:08 using GIT_SSH to set credentials SSH Credentials for GitHub 15:08:08 [INFO] Currently running in a labeled security context 15:08:08 [INFO] Currently SELinux is 'enforcing' on the host 15:08:08 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh8287399576846081322.key 15:08:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:08:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:08:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:08:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:08:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:08:09 using GIT_SSH to set credentials SSH Credentials for GitHub 15:08:09 [INFO] Currently running in a labeled security context 15:08:09 [INFO] Currently SELinux is 'enforcing' on the host 15:08:09 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh5769288656941453008.key 15:08:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/360/head:refs/remotes/origin/PR-360 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:08:10 Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit 5c62084b0a94f2729c922cf2af90d4622b9d28fd 15:08:10 Merge succeeded, producing 5c62084b0a94f2729c922cf2af90d4622b9d28fd 15:08:10 Checking out Revision 5c62084b0a94f2729c922cf2af90d4622b9d28fd (PR-360) 15:08:10 > git config core.sparsecheckout # timeout=10 15:08:10 > git checkout -f 5c62084b0a94f2729c922cf2af90d4622b9d28fd # timeout=10 15:08:10 > git remote # timeout=10 15:08:10 > git config --get remote.origin.url # timeout=10 15:08:10 using GIT_SSH to set credentials SSH Credentials for GitHub 15:08:10 [INFO] Currently running in a labeled security context 15:08:10 [INFO] Currently SELinux is 'enforcing' on the host 15:08:10 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh3133126205004507111.key 15:08:10 > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 15:08:10 > git rev-parse HEAD^{commit} # timeout=10 15:08:10 > git config core.sparsecheckout # timeout=10 15:08:10 > git checkout -f 5c62084b0a94f2729c922cf2af90d4622b9d28fd # timeout=10 15:08:14 Commit message: "docs: Update build status badge" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:08:14 provisioning config files... 15:08:14 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config1322462049214305600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:08:14 ---> docker-login.sh 15:08:14 nexus3.edgexfoundry.org:10001 15:08:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:15 Configure a credential helper to remove this warning. See 15:08:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:15 15:08:15 Login Succeeded 15:08:15 nexus3.edgexfoundry.org:10002 15:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:15 Configure a credential helper to remove this warning. See 15:08:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:15 15:08:15 Login Succeeded 15:08:15 nexus3.edgexfoundry.org:10003 15:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:15 Configure a credential helper to remove this warning. See 15:08:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:15 15:08:15 Login Succeeded 15:08:15 nexus3.edgexfoundry.org:10004 15:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:15 Configure a credential helper to remove this warning. See 15:08:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:15 15:08:15 Login Succeeded 15:08:15 docker.io 15:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:16 Configure a credential helper to remove this warning. See 15:08:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:16 15:08:16 Login Succeeded 15:08:16 ---> docker-login.sh ends [Pipeline] } 15:08:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:08:16 ========================================================= 15:08:16 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 15:08:16 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:08:16 + 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 . 15:08:16 Sending build context to Docker daemon 2.585MB 15:08:16 Step 1/25 : ARG BASE=alpine:3.12 15:08:16 Step 2/25 : FROM ${BASE} as builder 15:08:17 latest: Pulling from edgex-devops/edgex-gcc-base 15:08:17 339de151aab4: Pulling fs layer 15:08:17 3691962f683c: Pulling fs layer 15:08:17 e1147bf81a45: Pulling fs layer 15:08:17 3691962f683c: Verifying Checksum 15:08:17 339de151aab4: Verifying Checksum 15:08:17 339de151aab4: Download complete 15:08:17 339de151aab4: Pull complete 15:08:17 3691962f683c: Pull complete 15:08:23 e1147bf81a45: Verifying Checksum 15:08:23 e1147bf81a45: Download complete 15:08:24 e1147bf81a45: Pull complete 15:08:24 Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee 15:08:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 15:08:24 ---> ac6a0feb3254 15:08:24 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 15:08:26 ---> Running in 450d778e96d0 15:08:27 Connecting to iotech.jfrog.io (54.170.66.44:443) 15:08:27 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:08:27 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 15:08:27 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 15:08:27 Removing intermediate container 450d778e96d0 15:08:27 ---> ecf11cbd7848 15:08:27 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:08:28 ---> Running in 13dbd6713ef1 15:08:28 Removing intermediate container 13dbd6713ef1 15:08:28 ---> a63153d5db23 15:08:28 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 15:08:28 ---> Running in 2c6ba8a81478 15:08:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:08:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:08:29 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 15:08:30 (1/22) Installing hiredis (0.14.1-r0) 15:08:30 (2/22) Installing hiredis-dev (0.14.1-r0) 15:08:30 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 15:08:30 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 15:08:33 (5/22) Installing libblkid (2.35.2-r0) 15:08:33 (6/22) Installing blkid (2.35.2-r0) 15:08:33 (7/22) Installing libcap-ng (0.7.10-r1) 15:08:33 (8/22) Installing setpriv (2.35.2-r0) 15:08:33 (9/22) Installing libmount (2.35.2-r0) 15:08:34 (10/22) Installing libsmartcols (2.35.2-r0) 15:08:34 (11/22) Installing findmnt (2.35.2-r0) 15:08:34 (12/22) Installing mcookie (2.35.2-r0) 15:08:34 (13/22) Installing hexdump (2.35.2-r0) 15:08:34 (14/22) Installing lsblk (2.35.2-r0) 15:08:34 (15/22) Installing libuuid (2.35.2-r0) 15:08:34 (16/22) Installing libfdisk (2.35.2-r0) 15:08:34 (17/22) Installing sfdisk (2.35.2-r0) 15:08:34 (18/22) Installing cfdisk (2.35.2-r0) 15:08:35 (19/22) Installing util-linux (2.35.2-r0) 15:08:35 (20/22) Installing util-linux-dev (2.35.2-r0) 15:08:35 (21/22) Installing libidn2 (2.3.0-r0) 15:08:35 (22/22) Installing wget (1.20.3-r1) 15:08:36 Executing busybox-1.31.1-r20.trigger 15:08:36 OK: 295 MiB in 97 packages 15:08:37 Removing intermediate container 2c6ba8a81478 15:08:37 ---> f1fea9a4f663 15:08:37 Step 6/25 : ENV CBOR_VERSION=0.5.0 15:08:37 ---> Running in cad72612ab96 15:08:37 Removing intermediate container cad72612ab96 15:08:37 ---> c6288fe7362c 15:08:37 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 15:08:37 ---> Running in cdfc46989e88 15:08:37 --2021-07-30 15:08:37-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 15:08:37 Resolving github.com (github.com)... 140.82.114.3 15:08:37 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 15:08:37 HTTP request sent, awaiting response... 302 Found 15:08:37 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 15:08:37 --2021-07-30 15:08:37-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 15:08:37 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 15:08:37 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 15:08:37 HTTP request sent, awaiting response... 200 OK 15:08:37 Length: unspecified [application/x-gzip] 15:08:37 Saving to: 'STDOUT' 15:08:37 15:08:37 0K .......... .......... .......... .......... .......... 1.22M 15:08:37 50K .......... .......... .......... .......... .......... 2.64M 15:08:37 100K .......... .......... .......... .......... .......... 26.7M 15:08:37 150K .......... .......... .......... .......... .......... 56.5M 15:08:37 200K .......... .......... .......... .......... .......... 2.59M 15:08:37 250K .......... .......... .......... .......... .......... 12.4M 15:08:37 300K .......... .......... .......... .......... .......... 7.25M 15:08:37 350K .......... .......... .......... .......... .......... 8.99M 15:08:37 400K .......... .......... .......... .......... .......... 5.70M 15:08:37 450K .......... .......... .......... .......... .......... 14.5M 15:08:37 500K .......... .......... .......... .......... .......... 41.3M 15:08:37 550K .......... .......... .......... .......... .......... 3.93M 15:08:37 600K .......... .......... .......... .......... .......... 7.86M 15:08:37 650K .......... .......... .......... .......... .......... 7.06M 15:08:37 700K .. 69.5M=0.1s 15:08:37 15:08:37 2021-07-30 15:08:37 (5.09 MB/s) - written to stdout [719348] 15:08:37 15:08:37 -- The C compiler identification is GNU 9.3.0 15:08:38 -- The CXX compiler identification is GNU 9.3.0 15:08:38 -- Check for working C compiler: /usr/bin/cc 15:08:38 -- Check for working C compiler: /usr/bin/cc - works 15:08:38 -- Detecting C compiler ABI info 15:08:38 -- Detecting C compiler ABI info - done 15:08:38 -- Detecting C compile features 15:08:38 -- Detecting C compile features - done 15:08:38 -- Check for working CXX compiler: /usr/bin/c++ 15:08:38 -- Check for working CXX compiler: /usr/bin/c++ - works 15:08:38 -- Detecting CXX compiler ABI info 15:08:38 -- Detecting CXX compiler ABI info - done 15:08:38 -- Detecting CXX compile features 15:08:38 -- Detecting CXX compile features - done 15:08:38 -- Looking for include file endian.h 15:08:38 -- Looking for include file endian.h - found 15:08:38 -- Check if the system is big endian 15:08:38 -- Searching 16 bit integer 15:08:38 -- Looking for sys/types.h 15:08:38 -- Looking for sys/types.h - found 15:08:38 -- Looking for stdint.h 15:08:38 -- Looking for stdint.h - found 15:08:38 -- Looking for stddef.h 15:08:38 -- Looking for stddef.h - found 15:08:38 -- Check size of unsigned short 15:08:38 -- Check size of unsigned short - done 15:08:38 -- Searching 16 bit integer - Using unsigned short 15:08:38 -- Check if the system is big endian - little endian 15:08:38 -- Check size of size_t 15:08:38 -- Check size of size_t - done 15:08:38 CMake Warning at examples/CMakeLists.txt:16 (find_package): 15:08:38 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 15:08:38 asked CMake to find a package configuration file provided by "cJSON", but 15:08:38 CMake did not find one. 15:08:38 15:08:38 Could not find a package configuration file provided by "cJSON" with any of 15:08:38 the following names: 15:08:38 15:08:38 cJSONConfig.cmake 15:08:38 cjson-config.cmake 15:08:38 15:08:38 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 15:08:38 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 15:08:38 provides a separate development package or SDK, be sure it has been 15:08:38 installed. 15:08:38 15:08:38 15:08:38 -- Configuring done 15:08:38 -- Generating done 15:08:38 -- Build files have been written to: /tmp/cbor 15:08:38 Scanning dependencies of target cbor_shared 15:08:38 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 15:08:39 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 15:08:39 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 15:08:39 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 15:08:39 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 15:08:39 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 15:08:39 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 15:08:39 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 15:08:39 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 15:08:39 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 15:08:39 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 15:08:40 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 15:08:40 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 15:08:40 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 15:08:40 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 15:08:40 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 15:08:40 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 15:08:40 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 15:08:40 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 15:08:40 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 15:08:40 [ 40%] Linking C shared library libcbor.so 15:08:40 [ 40%] Built target cbor_shared 15:08:40 Scanning dependencies of target cbor 15:08:40 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 15:08:40 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 15:08:40 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 15:08:40 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 15:08:41 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 15:08:41 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 15:08:41 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 15:08:41 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 15:08:41 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 15:08:41 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 15:08:41 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 15:08:41 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 15:08:41 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 15:08:41 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 15:08:41 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 15:08:41 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 15:08:42 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 15:08:42 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 15:08:42 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 15:08:42 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 15:08:42 [ 80%] Linking C static library libcbor.a 15:08:42 [ 80%] Built target cbor 15:08:42 Scanning dependencies of target sort 15:08:42 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 15:08:42 [ 84%] Linking C executable sort 15:08:42 [ 84%] Built target sort 15:08:42 Scanning dependencies of target readfile 15:08:42 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 15:08:42 [ 88%] Linking C executable readfile 15:08:42 [ 88%] Built target readfile 15:08:42 Scanning dependencies of target streaming_parser 15:08:42 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 15:08:42 [ 92%] Linking C executable streaming_parser 15:08:42 [ 92%] Built target streaming_parser 15:08:42 Scanning dependencies of target hello 15:08:42 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 15:08:42 [ 96%] Linking C executable hello 15:08:42 [ 96%] Built target hello 15:08:42 Scanning dependencies of target create_items 15:08:42 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 15:08:42 [100%] Linking C executable create_items 15:08:42 [100%] Built target create_items 15:08:43 Install the project... 15:08:43 -- Install configuration: "Release" 15:08:43 -- Installing: /usr/local/include/cbor/configuration.h 15:08:43 -- Installing: /usr/local/lib64/libcbor.a 15:08:43 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 15:08:43 -- Installing: /usr/local/lib64/libcbor.so.0 15:08:43 -- Installing: /usr/local/lib64/libcbor.so 15:08:43 -- Up-to-date: /usr/local/include/cbor 15:08:43 -- Installing: /usr/local/include/cbor/arrays.h 15:08:43 -- Installing: /usr/local/include/cbor/bytestrings.h 15:08:43 -- Installing: /usr/local/include/cbor/callbacks.h 15:08:43 -- Installing: /usr/local/include/cbor/common.h 15:08:43 -- Installing: /usr/local/include/cbor/data.h 15:08:43 -- Installing: /usr/local/include/cbor/encoding.h 15:08:43 -- Installing: /usr/local/include/cbor/floats_ctrls.h 15:08:43 -- Installing: /usr/local/include/cbor/internal 15:08:43 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 15:08:43 -- Installing: /usr/local/include/cbor/internal/encoders.h 15:08:43 -- Installing: /usr/local/include/cbor/internal/loaders.h 15:08:43 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 15:08:43 -- Installing: /usr/local/include/cbor/internal/stack.h 15:08:43 -- Installing: /usr/local/include/cbor/internal/unicode.h 15:08:43 -- Installing: /usr/local/include/cbor/ints.h 15:08:43 -- Installing: /usr/local/include/cbor/maps.h 15:08:43 -- Installing: /usr/local/include/cbor/serialization.h 15:08:43 -- Installing: /usr/local/include/cbor/streaming.h 15:08:43 -- Installing: /usr/local/include/cbor/strings.h 15:08:43 -- Installing: /usr/local/include/cbor/tags.h 15:08:43 -- Installing: /usr/local/include/cbor.h 15:08:43 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 15:08:43 Removing intermediate container cdfc46989e88 15:08:43 ---> 75dec75399ef 15:08:43 Step 8/25 : RUN mkdir /tmp/sdk 15:08:43 ---> Running in 9b7488dde492 15:08:44 Removing intermediate container 9b7488dde492 15:08:44 ---> eb1ba5cc1400 15:08:44 Step 9/25 : COPY VERSION /tmp/sdk 15:08:44 ---> 8e9ebf402c7b 15:08:44 Step 10/25 : COPY src /tmp/sdk/src 15:08:44 ---> 5f69a4556637 15:08:44 Step 11/25 : COPY include /tmp/sdk/include 15:08:45 ---> 7ec425896053 15:08:45 Step 12/25 : COPY scripts /tmp/sdk/scripts 15:08:45 ---> 45b4ffb947c1 15:08:45 Step 13/25 : COPY LICENSE /tmp/sdk 15:08:45 ---> cb757786fc9d 15:08:45 Step 14/25 : COPY Attribution.txt /tmp/sdk 15:08:45 ---> 4cef6b310a18 15:08:45 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:08:45 ---> Running in e8da223136fb 15:08:45 + CPPCHECK=false 15:08:45 + DOCGEN=false 15:08:45 + TOMLVER=SDK-0.2 15:08:45 + CUTILVER=1.1.4 15:08:45 + '[' 0 -gt 0 ] 15:08:45 + readlink -f ./scripts/build.sh 15:08:45 + dirname /tmp/sdk/scripts/build.sh 15:08:45 + dirname /tmp/sdk/scripts 15:08:45 + ROOT=/tmp/sdk 15:08:45 + cd /tmp/sdk 15:08:45 + '[' '!' -d deps ] 15:08:45 + mkdir deps 15:08:45 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:08:45 + tar -C deps -z -x -f - 15:08:45 --2021-07-30 15:08:45-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:08:45 Resolving github.com (github.com)... 140.82.114.3 15:08:46 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 15:08:46 HTTP request sent, awaiting response... 302 Found 15:08:46 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 15:08:46 --2021-07-30 15:08:46-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 15:08:46 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 15:08:46 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 15:08:46 HTTP request sent, awaiting response... 200 OK 15:08:46 Length: 16451 (16K) [application/x-gzip] 15:08:46 Saving to: 'STDOUT' 15:08:46 15:08:46 0K .......... ...... 100% 775K=0.02s 15:08:46 15:08:46 2021-07-30 15:08:46 (775 KB/s) - written to stdout [16451/16451] 15:08:46 15:08:46 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:08:46 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 15:08:46 + tar -C deps -z -x -f - 15:08:46 --2021-07-30 15:08:46-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 15:08:46 Resolving github.com (github.com)... 140.82.114.3 15:08:46 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 15:08:46 HTTP request sent, awaiting response... 302 Found 15:08:46 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 15:08:46 --2021-07-30 15:08:46-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 15:08:46 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 15:08:46 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 15:08:46 HTTP request sent, awaiting response... 200 OK 15:08:46 Length: 181796 (178K) [application/x-gzip] 15:08:46 Saving to: 'STDOUT' 15:08:46 15:08:46 0K .......... .......... .......... .......... .......... 28% 1.26M 0s 15:08:46 50K .......... .......... .......... .......... .......... 56% 2.50M 0s 15:08:46 100K .......... .......... .......... .......... .......... 84% 14.3M 0s 15:08:46 150K .......... .......... ....... 100% 3.74M=0.07s 15:08:46 15:08:46 2021-07-30 15:08:46 (2.51 MB/s) - written to stdout [181796/181796] 15:08:46 15:08:46 + mkdir -p src/c/iot 15:08:46 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 15:08:46 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 15:08:46 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 15:08:46 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 15:08:46 + mkdir -p include/iot 15:08:46 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 15:08:46 + mkdir -p include/iot/os 15:08:46 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 15:08:46 + mkdir -p /tmp/sdk/build/release 15:08:46 + cd /tmp/sdk/build/release 15:08:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:08:46 -- The C compiler identification is GNU 9.3.0 15:08:46 -- Check for working C compiler: /usr/bin/cc 15:08:46 -- Check for working C compiler: /usr/bin/cc - works 15:08:46 -- Detecting C compiler ABI info 15:08:46 -- Detecting C compiler ABI info - done 15:08:46 -- Detecting C compile features 15:08:46 -- Detecting C compile features - done 15:08:46 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:08:46 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:08:46 -- Found LIBYAML: /usr/lib/libyaml.so 15:08:46 -- Found LIBUUID: /usr/lib/libuuid.so 15:08:46 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:08:46 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:08:46 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:08:46 -- C SDK 0.0.0 for Linux 15:08:46 -- Performing Test CSDK_HAVE_ATOMIC 15:08:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:08:47 -- Found Curses: /usr/lib/libcurses.so 15:08:47 -- Configuring done 15:08:47 -- Generating done 15:08:47 -- Build files have been written to: /tmp/sdk/build/release 15:08:47 + make all package 15:08:47 + tee release.log 15:08:47 Scanning dependencies of target csdk 15:08:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:08:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:08:47 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:08:47 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:08:48 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:08:48 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:08:48 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:08:48 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:08:48 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:08:48 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:08:48 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:08:48 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:08:49 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:08:49 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:08:49 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:08:49 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:08:49 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:08:49 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:08:49 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:08:49 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:08:50 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:08:50 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:08:50 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:08:50 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:08:50 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:08:50 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:08:51 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:08:51 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:08:51 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:08:51 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:08:51 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:08:51 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:08:51 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:08:51 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:08:52 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:08:52 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:08:52 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:08:53 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:08:53 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:08:53 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:08:53 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:08:53 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:08:53 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:08:54 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:08:54 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:08:54 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:08:54 [ 74%] Linking C shared library libcsdk.so 15:08:55 [ 74%] Built target csdk 15:08:55 Scanning dependencies of target template 15:08:55 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:08:55 [ 77%] Linking C executable template 15:08:55 [ 77%] Built target template 15:08:55 Scanning dependencies of target device-counter 15:08:55 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:08:55 [ 80%] Linking C executable device-counter 15:08:55 [ 80%] Built target device-counter 15:08:55 Scanning dependencies of target device-random 15:08:55 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:08:55 [ 84%] Linking C executable device-random 15:08:55 [ 84%] Built target device-random 15:08:55 Scanning dependencies of target device-gyro 15:08:55 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:08:55 [ 87%] Linking C executable device-gyro 15:08:55 [ 87%] Built target device-gyro 15:08:55 Scanning dependencies of target device-bitfields 15:08:55 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:08:55 [ 90%] Linking C executable device-bitfields 15:08:56 [ 90%] Built target device-bitfields 15:08:56 Scanning dependencies of target template-discovery 15:08:56 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:08:56 [ 93%] Linking C executable template-discovery 15:08:56 [ 93%] Built target template-discovery 15:08:56 Scanning dependencies of target device-file 15:08:56 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:08:56 [ 96%] Linking C executable device-file 15:08:56 [ 96%] Built target device-file 15:08:56 Scanning dependencies of target device-terminal 15:08:56 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:08:56 [100%] Linking C executable device-terminal 15:08:56 [100%] Built target device-terminal 15:08:56 Run CPack packaging tool... 15:08:56 CPack: Create package using TGZ 15:08:56 CPack: Install projects 15:08:56 CPack: - Run preinstall target for: Csdk 15:08:56 CPack: - Install project: Csdk [] 15:08:56 CPack: Create package 15:08:56 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:08:56 + '[' false '=' true ] 15:08:56 + '[' false '=' true ] 15:08:56 + mkdir -p /tmp/sdk/build/debug 15:08:56 + cd /tmp/sdk/build/debug 15:08:56 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:08:56 -- The C compiler identification is GNU 9.3.0 15:08:56 -- Check for working C compiler: /usr/bin/cc 15:08:56 -- Check for working C compiler: /usr/bin/cc - works 15:08:56 -- Detecting C compiler ABI info 15:08:57 -- Detecting C compiler ABI info - done 15:08:57 -- Detecting C compile features 15:08:57 -- Detecting C compile features - done 15:08:57 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:08:57 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:08:57 -- Found LIBYAML: /usr/lib/libyaml.so 15:08:57 -- Found LIBUUID: /usr/lib/libuuid.so 15:08:57 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:08:57 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:08:57 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:08:57 -- C SDK 0.0.0 for Linux 15:08:57 -- Performing Test CSDK_HAVE_ATOMIC 15:08:57 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:08:57 -- Found Curses: /usr/lib/libcurses.so 15:08:57 -- Configuring done 15:08:57 -- Generating done 15:08:57 -- Build files have been written to: /tmp/sdk/build/debug 15:08:57 + make 15:08:57 + tee debug.log 15:08:57 Scanning dependencies of target csdk 15:08:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:08:57 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:08:57 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:08:57 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:08:57 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:08:57 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:08:57 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:08:57 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:08:57 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:08:57 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:08:57 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:08:58 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:08:58 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:08:58 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:08:58 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:08:58 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:08:58 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:08:58 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:08:58 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:08:58 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:08:58 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:08:58 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:08:58 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:08:59 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:08:59 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:08:59 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:08:59 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:08:59 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:08:59 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:08:59 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:08:59 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:08:59 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:08:59 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:08:59 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:08:59 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:08:59 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:08:59 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:08:59 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:08:59 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:09:00 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:09:00 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:09:00 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:09:00 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:09:00 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:09:00 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:09:00 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:09:00 [ 74%] Linking C shared library libcsdk.so 15:09:00 [ 74%] Built target csdk 15:09:00 Scanning dependencies of target template 15:09:00 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:09:00 [ 77%] Linking C executable template 15:09:00 [ 77%] Built target template 15:09:00 Scanning dependencies of target device-counter 15:09:00 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:09:00 [ 80%] Linking C executable device-counter 15:09:00 [ 80%] Built target device-counter 15:09:00 Scanning dependencies of target device-random 15:09:00 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:09:00 [ 84%] Linking C executable device-random 15:09:01 [ 84%] Built target device-random 15:09:01 Scanning dependencies of target device-gyro 15:09:01 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:09:01 [ 87%] Linking C executable device-gyro 15:09:01 [ 87%] Built target device-gyro 15:09:01 Scanning dependencies of target device-bitfields 15:09:01 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:09:01 [ 90%] Linking C executable device-bitfields 15:09:01 [ 90%] Built target device-bitfields 15:09:01 Scanning dependencies of target template-discovery 15:09:01 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:09:01 [ 93%] Linking C executable template-discovery 15:09:01 [ 93%] Built target template-discovery 15:09:01 Scanning dependencies of target device-file 15:09:01 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:09:01 [ 96%] Linking C executable device-file 15:09:01 [ 96%] Built target device-file 15:09:01 Scanning dependencies of target device-terminal 15:09:01 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:09:01 [100%] Linking C executable device-terminal 15:09:01 [100%] Built target device-terminal 15:09:01 make: Entering directory '/tmp/sdk/build/release' 15:09:01 make[1]: Entering directory '/tmp/sdk/build/release' 15:09:01 make[2]: Entering directory '/tmp/sdk/build/release' 15:09:01 make[2]: Leaving directory '/tmp/sdk/build/release' 15:09:01 [ 74%] Built target csdk 15:09:01 make[2]: Entering directory '/tmp/sdk/build/release' 15:09:01 make[2]: Leaving directory '/tmp/sdk/build/release' 15:09:01 [ 77%] Built target template 15:09:01 make[2]: Entering directory '/tmp/sdk/build/release' 15:09:01 make[2]: Leaving directory '/tmp/sdk/build/release' 15:09:01 [ 80%] Built target device-counter 15:09:01 make[2]: Entering directory '/tmp/sdk/build/release' 15:09:02 make[2]: Leaving directory '/tmp/sdk/build/release' 15:09:02 [ 84%] Built target device-random 15:09:02 make[2]: Entering directory '/tmp/sdk/build/release' 15:09:02 make[2]: Leaving directory '/tmp/sdk/build/release' 15:09:02 [ 87%] Built target device-gyro 15:09:02 make[2]: Entering directory '/tmp/sdk/build/release' 15:09:02 make[2]: Leaving directory '/tmp/sdk/build/release' 15:09:02 [ 90%] Built target device-bitfields 15:09:02 make[2]: Entering directory '/tmp/sdk/build/release' 15:09:02 make[2]: Leaving directory '/tmp/sdk/build/release' 15:09:02 [ 93%] Built target template-discovery 15:09:02 make[2]: Entering directory '/tmp/sdk/build/release' 15:09:02 make[2]: Leaving directory '/tmp/sdk/build/release' 15:09:02 [ 96%] Built target device-file 15:09:02 make[2]: Entering directory '/tmp/sdk/build/release' 15:09:02 make[2]: Leaving directory '/tmp/sdk/build/release' 15:09:02 [100%] Built target device-terminal 15:09:02 make[1]: Leaving directory '/tmp/sdk/build/release' 15:09:02 Install the project... 15:09:02 -- Install configuration: "Release" 15:09:02 -- Installing: /usr/local/lib/libcsdk.so 15:09:02 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:09:02 -- Up-to-date: /usr/local/include 15:09:02 -- Installing: /usr/local/include/devsdk 15:09:02 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:09:02 -- Installing: /usr/local/include/devsdk/devsdk.h 15:09:02 -- Installing: /usr/local/include/edgex 15:09:02 -- Installing: /usr/local/include/edgex/devices.h 15:09:02 -- Installing: /usr/local/include/edgex/edgex-base.h 15:09:02 -- Installing: /usr/local/include/edgex/edgex.h 15:09:02 -- Installing: /usr/local/include/edgex/profiles.h 15:09:02 -- Installing: /usr/local/include/edgex/rest-server.h 15:09:02 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:09:02 -- Installing: /usr/local/include/iot 15:09:02 -- Installing: /usr/local/include/iot/base64.h 15:09:02 -- Installing: /usr/local/include/iot/component.h 15:09:02 -- Installing: /usr/local/include/iot/config.h 15:09:02 -- Installing: /usr/local/include/iot/container.h 15:09:02 -- Installing: /usr/local/include/iot/data.h 15:09:02 -- Installing: /usr/local/include/iot/hash.h 15:09:02 -- Installing: /usr/local/include/iot/iot.h 15:09:02 -- Installing: /usr/local/include/iot/json.h 15:09:02 -- Installing: /usr/local/include/iot/logger.h 15:09:02 -- Installing: /usr/local/include/iot/os.h 15:09:02 -- Installing: /usr/local/include/iot/scheduler.h 15:09:02 -- Installing: /usr/local/include/iot/thread.h 15:09:02 -- Installing: /usr/local/include/iot/threadpool.h 15:09:02 -- Installing: /usr/local/include/iot/time.h 15:09:02 -- Installing: /usr/local/include/iot/typecode.h 15:09:02 -- Installing: /usr/local/include/iot/os 15:09:02 -- Installing: /usr/local/include/iot/os/linux.h 15:09:02 -- Installing: /usr/local/include/iot/os/macos.h 15:09:02 -- Installing: /usr/local/include/iot/os/zephyr.h 15:09:02 -- Installing: /usr/local/include/iot/defs.h 15:09:02 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:09:02 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:09:02 make: Leaving directory '/tmp/sdk/build/release' 15:09:02 Removing intermediate container e8da223136fb 15:09:02 ---> c29252e90b13 15:09:02 Step 16/25 : FROM ${BASE} 15:09:02 ---> ac6a0feb3254 15:09:02 Step 17/25 : LABEL maintainer="IOTech " 15:09:02 ---> Running in 5b1d59c01070 15:09:02 Removing intermediate container 5b1d59c01070 15:09:02 ---> 5b27acf8bd5c 15:09:02 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 15:09:02 ---> Running in 6a593ec448d8 15:09:03 Connecting to iotech.jfrog.io (54.195.244.87:443) 15:09:03 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:09:03 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 15:09:03 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 15:09:03 Removing intermediate container 6a593ec448d8 15:09:03 ---> 5d462a53de33 15:09:03 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:09:03 ---> Running in 450192ea1f80 15:09:04 Removing intermediate container 450192ea1f80 15:09:04 ---> 328ea2c0b876 15:09: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 15:09:04 ---> Running in 0befb354c244 15:09:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:09:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:09:05 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 15:09:06 (1/7) Installing curl (7.78.0-r0) 15:09:06 (2/7) Installing hiredis (0.14.1-r0) 15:09:06 (3/7) Installing hiredis-dev (0.14.1-r0) 15:09:06 (4/7) Installing libuuid (2.35.2-r0) 15:09:06 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 15:09:07 (6/7) Installing libidn2 (2.3.0-r0) 15:09:08 (7/7) Installing wget (1.20.3-r1) 15:09:08 Executing busybox-1.31.1-r20.trigger 15:09:08 OK: 286 MiB in 82 packages 15:09:09 Removing intermediate container 0befb354c244 15:09:09 ---> e221e6ff0839 15:09:09 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:09:09 ---> c1c9b5d12d5f 15:09:09 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:09:09 ---> dd3f224bbbda 15:09:09 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 15:09:09 ---> 71f8e8b45371 15:09:09 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 15:09:09 ---> 0c29dde83183 15:09:09 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:09:09 ---> e06aa2bcae0a 15:09:09 Successfully built e06aa2bcae0a 15:09:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:09:10 + docker inspect -f . ci-base-image-x86_64 15:09:10 . [Pipeline] withDockerContainer 15:09:10 prd-centos7-docker-4c-2g-1016 does not seem to be running inside a container 15:09:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:09:11 $ docker top 1476262640ee75d79ca49de5cdfa8682c08a2b91d288aae1fcd19f7b01a53584 -eo pid,comm [Pipeline] { [Pipeline] sh 15:09:11 + make test 15:09:11 echo "make test" 15:09:11 make test [Pipeline] } 15:09:11 $ docker stop --time=1 1476262640ee75d79ca49de5cdfa8682c08a2b91d288aae1fcd19f7b01a53584 15:09:12 $ docker rm -f 1476262640ee75d79ca49de5cdfa8682c08a2b91d288aae1fcd19f7b01a53584 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:09:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:09:14 + ls -al . 15:09:14 total 160 15:09:14 drwxrwxr-x. 8 jenkins jenkins 260 Jul 30 15:08 . 15:09:14 drwxrwxr-x. 4 jenkins jenkins 28 Jul 30 15:08 .. 15:09:14 -rw-rw-r--. 1 jenkins jenkins 3104 Jul 30 15:08 Attribution.txt 15:09:14 -rw-rw-r--. 1 jenkins jenkins 7509 Jul 30 15:08 CHANGES 15:09:14 drwxrwxr-x. 2 jenkins jenkins 121 Jul 30 15:08 docs 15:09:14 -rw-rw-r--. 1 jenkins jenkins 108574 Jul 30 15:08 Doxyfile 15:09:14 drwxrwxr-x. 8 jenkins jenkins 179 Jul 30 15:08 .git 15:09:14 drwxrwxr-x. 2 jenkins jenkins 81 Jul 30 15:08 .github 15:09:14 -rw-rw-r--. 1 jenkins jenkins 176 Jul 30 15:08 .gitignore 15:09:14 drwxrwxr-x. 4 jenkins jenkins 33 Jul 30 15:08 include 15:09:14 -rw-rw-r--. 1 jenkins jenkins 784 Jul 30 15:08 Jenkinsfile 15:09:14 -rw-rw-r--. 1 jenkins jenkins 10174 Jul 30 15:08 LICENSE 15:09:14 -rw-rw-r--. 1 jenkins jenkins 444 Jul 30 15:08 Makefile 15:09:14 -rw-rw-r--. 1 jenkins jenkins 4086 Jul 30 15:08 README.md 15:09:14 -rw-rw-r--. 1 jenkins jenkins 7090 Jul 30 15:08 README.v2.md 15:09:14 drwxrwxr-x. 2 jenkins jenkins 98 Jul 30 15:08 scripts 15:09:14 drwxrwxr-x. 4 jenkins jenkins 50 Jul 30 15:08 src 15:09:14 -rw-rw-r--. 1 jenkins jenkins 5 Jul 30 15:07 VERSION [Pipeline] isUnix [Pipeline] sh 15:09:14 + 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=5c62084b0a94f2729c922cf2af90d4622b9d28fd --label arch=amd64 --label version=0.0.0 . 15:09:14 Sending build context to Docker daemon 2.585MB 15:09:14 Step 1/17 : ARG BASE=alpine:3.12 15:09:14 Step 2/17 : FROM ${BASE} 15:09:14 ---> e06aa2bcae0a 15:09:14 Step 3/17 : LABEL maintainer="IOTech " 15:09:14 ---> Running in 3a1915d4414c 15:09:14 Removing intermediate container 3a1915d4414c 15:09:14 ---> 2798da034f38 15:09:14 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 15:09:14 ---> Running in f18079c07578 15:09:15 --2021-07-30 15:09:14-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 15:09:15 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.170.66.44, 54.229.110.245 15:09:16 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. 15:09:16 HTTP request sent, awaiting response... 200 OK 15:09:16 Length: 451 [application/octet-stream] 15:09:16 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:09:16  15:09:16 0K 100% 48.9M=0s 15:09:16 15:09:16 2021-07-30 15:09:16 (48.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 15:09:16 15:09:16 Removing intermediate container f18079c07578 15:09:16 ---> 8de916a39fe9 15:09:16 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:09:16 ---> Running in 178786d096f9 15:09:17 Removing intermediate container 178786d096f9 15:09:17 ---> 16051ac2c5fb 15:09:17 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 15:09:17 ---> Running in 822df480f87d 15:09:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:09:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:09:22 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 15:09:22 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 15:09:22 (2/16) Installing libblkid (2.35.2-r0) 15:09:22 (3/16) Installing blkid (2.35.2-r0) 15:09:23 (4/16) Installing libcap-ng (0.7.10-r1) 15:09:23 (5/16) Installing setpriv (2.35.2-r0) 15:09:23 (6/16) Installing libmount (2.35.2-r0) 15:09:23 (7/16) Installing libsmartcols (2.35.2-r0) 15:09:24 (8/16) Installing findmnt (2.35.2-r0) 15:09:24 (9/16) Installing mcookie (2.35.2-r0) 15:09:24 (10/16) Installing hexdump (2.35.2-r0) 15:09:24 (11/16) Installing lsblk (2.35.2-r0) 15:09:25 (12/16) Installing libfdisk (2.35.2-r0) 15:09:25 (13/16) Installing sfdisk (2.35.2-r0) 15:09:25 (14/16) Installing cfdisk (2.35.2-r0) 15:09:25 (15/16) Installing util-linux (2.35.2-r0) 15:09:31 (16/16) Installing util-linux-dev (2.35.2-r0) 15:09:32 Executing busybox-1.31.1-r20.trigger 15:09:32 OK: 295 MiB in 98 packages 15:09:32 Removing intermediate container 822df480f87d 15:09:32 ---> 99d8ae10daf0 15:09:32 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:09:33 ---> ae771bda6568 15:09:33 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:09:33 ---> f0437f45a51e 15:09:33 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:09:33 ---> 2e1145228679 15:09:33 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:09:33 ---> 1846295e0f4d 15:09:33 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:09:33 ---> bbc8d4011710 15:09:33 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:09:34 ---> 16aa391125db 15:09:34 Step 13/17 : WORKDIR /edgex-c-sdk 15:09:34 ---> Running in 8929559abacb 15:09:34 Removing intermediate container 8929559abacb 15:09:34 ---> 4fe10e5ac691 15:09:34 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:09:34 ---> Running in 8b8db84e1c12 15:09:34 Removing intermediate container 8b8db84e1c12 15:09:34 ---> 654775875123 15:09:34 Step 15/17 : LABEL arch=amd64 15:09:34 ---> Running in e25c82262eb5 15:09:34 Removing intermediate container e25c82262eb5 15:09:34 ---> 111a1eb796d7 15:09:34 Step 16/17 : LABEL git_sha=5c62084b0a94f2729c922cf2af90d4622b9d28fd 15:09:34 ---> Running in 128e30db9026 15:09:34 Removing intermediate container 128e30db9026 15:09:34 ---> 1be41d63ef7a 15:09:34 Step 17/17 : LABEL version=0.0.0 15:09:34 ---> Running in e129be9745ae 15:09:34 Removing intermediate container e129be9745ae 15:09:34 ---> d6f82c487400 15:09:34 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:09:34 Successfully built d6f82c487400 15:09:34 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:09:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:09:35 15:09:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:09:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:09:35 latest: Pulling from edgex-lftools-log-publisher 15:09:35 b4d181a07f80: Pulling fs layer 15:09:35 a1111a8f2ec3: Pulling fs layer 15:09:35 ed53099fbce6: Pulling fs layer 15:09:35 dc539afda2c1: Pulling fs layer 15:09:35 77bc0d833cb6: Pulling fs layer 15:09:35 9065ff56babe: Pulling fs layer 15:09:35 d287ab97295c: Pulling fs layer 15:09:35 77bc0d833cb6: Waiting 15:09:35 9065ff56babe: Waiting 15:09:35 d287ab97295c: Waiting 15:09:35 dc539afda2c1: Waiting 15:09:35 a1111a8f2ec3: Verifying Checksum 15:09:35 a1111a8f2ec3: Download complete 15:09:36 dc539afda2c1: Verifying Checksum 15:09:36 dc539afda2c1: Download complete 15:09:36 77bc0d833cb6: Verifying Checksum 15:09:36 77bc0d833cb6: Download complete 15:09:36 9065ff56babe: Verifying Checksum 15:09:36 9065ff56babe: Download complete 15:09:36 ed53099fbce6: Verifying Checksum 15:09:36 ed53099fbce6: Download complete 15:09:37 b4d181a07f80: Verifying Checksum 15:09:37 b4d181a07f80: Download complete 15:09:38 b4d181a07f80: Pull complete 15:09:38 a1111a8f2ec3: Pull complete 15:09:39 ed53099fbce6: Pull complete 15:09:39 dc539afda2c1: Pull complete 15:09:39 77bc0d833cb6: Pull complete 15:09:39 9065ff56babe: Pull complete 15:09:42 d287ab97295c: Download complete 15:09:47 d287ab97295c: Pull complete 15:09:47 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:09:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:09:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:09:47 prd-centos7-docker-4c-2g-1016 does not seem to be running inside a container 15:09:48 $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:09:50 $ docker top 8f62ade4ba65ebec80fbf61726447836e56e07db124c405179f65ea773b38ad3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:09:51 ---> job-cost.sh 15:09:51 lf-activate-venv: SKIPPING 15:09:51 INFO: No Stack... 15:09:52 INFO: Retrieving Pricing Info for: v3-standard-2 15:09:52 INFO: Archiving Costs [Pipeline] sh 15:09:52 + cat /w/workspace/device-sdk-c/2/archives/cost.csv 15:09:52 + cut -d, -f6 [Pipeline] lock 15:09:53 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-360-2-stack-cost] 15:09:53 Resource [jenkins-edgexfoundry-device-sdk-c-PR-360-2-stack-cost] did not exist. Created. 15:09:53 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-360-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:09:53 + echo total: 0.05999999865889549 [Pipeline] stash 15:09:53 Stashed 1 file(s) [Pipeline] } 15:09:53 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-360-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:09:53 $ docker stop --time=1 8f62ade4ba65ebec80fbf61726447836e56e07db124c405179f65ea773b38ad3 15:09:55 $ docker rm -f 8f62ade4ba65ebec80fbf61726447836e56e07db124c405179f65ea773b38ad3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:10:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1019 in /w/workspace/edgexfoundry_device-sdk-c_PR-360 [Pipeline] { [Pipeline] ws 15:10:05 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 15:10:05 Selected Git installation does not exist. Using Default 15:10:05 The recommended git tool is: NONE 15:10:13 using credential edgex-jenkins-ssh 15:10:13 Cloning the remote Git repository 15:10:13 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:10:13 > git init /w/workspace/device-sdk-c/2 # timeout=10 15:10:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:10:13 > git --version # timeout=10 15:10:13 > git --version # 'git version 2.17.1' 15:10:13 using GIT_SSH to set credentials SSH Credentials for GitHub 15:10:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:10:16 Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit 5c62084b0a94f2729c922cf2af90d4622b9d28fd 15:10:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:10:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:10:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:10:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:10:15 using GIT_SSH to set credentials SSH Credentials for GitHub 15:10:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/360/head:refs/remotes/origin/PR-360 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:10:16 > git config core.sparsecheckout # timeout=10 15:10:16 > git checkout -f 5c62084b0a94f2729c922cf2af90d4622b9d28fd # timeout=10 15:10:16 > git remote # timeout=10 15:10:16 > git config --get remote.origin.url # timeout=10 15:10:16 Merge succeeded, producing 5c62084b0a94f2729c922cf2af90d4622b9d28fd 15:10:16 Checking out Revision 5c62084b0a94f2729c922cf2af90d4622b9d28fd (PR-360) 15:10:16 using GIT_SSH to set credentials SSH Credentials for GitHub 15:10:16 > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 15:10:16 > git rev-parse HEAD^{commit} # timeout=10 15:10:16 > git config core.sparsecheckout # timeout=10 15:10:16 > git checkout -f 5c62084b0a94f2729c922cf2af90d4622b9d28fd # timeout=10 15:10:21 Commit message: "docs: Update build status badge" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:10:21 provisioning config files... 15:10:21 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config710106718302622287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:10:22 ---> docker-login.sh 15:10:22 nexus3.edgexfoundry.org:10001 15:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:24 Configure a credential helper to remove this warning. See 15:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:24 15:10:24 Login Succeeded 15:10:24 nexus3.edgexfoundry.org:10002 15:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:24 Configure a credential helper to remove this warning. See 15:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:24 15:10:24 Login Succeeded 15:10:24 nexus3.edgexfoundry.org:10003 15:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:25 Configure a credential helper to remove this warning. See 15:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:25 15:10:25 Login Succeeded 15:10:25 nexus3.edgexfoundry.org:10004 15:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:26 Configure a credential helper to remove this warning. See 15:10:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:26 15:10:26 Login Succeeded 15:10:26 docker.io 15:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:27 Configure a credential helper to remove this warning. See 15:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:27 15:10:27 Login Succeeded 15:10:27 ---> docker-login.sh ends [Pipeline] } 15:10:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:10:27 ========================================================= 15:10:27 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 15:10:27 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:10:28 + 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 . 15:10:28 Sending build context to Docker daemon 2.584MB 15:10:28 Step 1/25 : ARG BASE=alpine:3.12 15:10:28 Step 2/25 : FROM ${BASE} as builder 15:10:29 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 15:10:29 d2f70382dc9a: Pulling fs layer 15:10:29 b08cc2eccb4b: Pulling fs layer 15:10:29 7b69db201801: Pulling fs layer 15:10:29 b08cc2eccb4b: Verifying Checksum 15:10:29 b08cc2eccb4b: Download complete 15:10:29 d2f70382dc9a: Verifying Checksum 15:10:29 d2f70382dc9a: Download complete 15:10:30 d2f70382dc9a: Pull complete 15:10:30 b08cc2eccb4b: Pull complete 15:10:31 7b69db201801: Verifying Checksum 15:10:31 7b69db201801: Download complete 15:10:40 7b69db201801: Pull complete 15:10:40 Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba 15:10:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 15:10:40 ---> 759262b18b23 15:10:40 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 15:10:43 ---> Running in 09c6e7f9b49d 15:10:44 Connecting to iotech.jfrog.io (54.229.110.245:443) 15:10:45 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:10:45 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 15:10:45 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 15:10:46 Removing intermediate container 09c6e7f9b49d 15:10:46 ---> b166c0ee04da 15:10:46 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:10:46 ---> Running in 22bf257403c1 15:10:49 Removing intermediate container 22bf257403c1 15:10:49 ---> 70c530dfc955 15:10:49 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 15:10:49 ---> Running in d418b8984b7b 15:10:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:10:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:10:52 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 15:10:52 (1/22) Installing hiredis (0.14.1-r0) 15:10:52 (2/22) Installing hiredis-dev (0.14.1-r0) 15:10:52 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 15:10:52 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 15:10:54 (5/22) Installing libblkid (2.35.2-r0) 15:10:54 (6/22) Installing blkid (2.35.2-r0) 15:10:54 (7/22) Installing libcap-ng (0.7.10-r1) 15:10:55 (8/22) Installing setpriv (2.35.2-r0) 15:10:55 (9/22) Installing libmount (2.35.2-r0) 15:10:55 (10/22) Installing libsmartcols (2.35.2-r0) 15:10:55 (11/22) Installing findmnt (2.35.2-r0) 15:10:55 (12/22) Installing mcookie (2.35.2-r0) 15:10:55 (13/22) Installing hexdump (2.35.2-r0) 15:10:55 (14/22) Installing lsblk (2.35.2-r0) 15:10:55 (15/22) Installing libuuid (2.35.2-r0) 15:10:56 (16/22) Installing libfdisk (2.35.2-r0) 15:10:56 (17/22) Installing sfdisk (2.35.2-r0) 15:10:56 (18/22) Installing cfdisk (2.35.2-r0) 15:10:56 (19/22) Installing util-linux (2.35.2-r0) 15:10:56 (20/22) Installing util-linux-dev (2.35.2-r0) 15:10:56 (21/22) Installing libidn2 (2.3.0-r0) 15:10:56 (22/22) Installing wget (1.20.3-r1) 15:10:57 Executing busybox-1.31.1-r20.trigger 15:10:57 OK: 276 MiB in 97 packages 15:10:59 Removing intermediate container d418b8984b7b 15:10:59 ---> 47bb93a4195b 15:10:59 Step 6/25 : ENV CBOR_VERSION=0.5.0 15:10:59 ---> Running in a12295180683 15:10:59 Removing intermediate container a12295180683 15:10:59 ---> cae552bfd1bd 15:10:59 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 15:10:59 ---> Running in 2ab5aa128ee2 15:11:01 --2021-07-30 15:11:00-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 15:11:01 Resolving github.com (github.com)... 140.82.114.3 15:11:01 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 15:11:01 HTTP request sent, awaiting response... 302 Found 15:11:01 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 15:11:01 --2021-07-30 15:11:00-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 15:11:01 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 15:11:01 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 15:11:01 HTTP request sent, awaiting response... 200 OK 15:11:01 Length: unspecified [application/x-gzip] 15:11:01 Saving to: 'STDOUT' 15:11:01 15:11:01 0K .......... .......... .......... .......... .......... 1.30M 15:11:01 50K .......... .......... .......... .......... .......... 2.60M 15:11:01 100K .......... .......... .......... .......... .......... 2.82M 15:11:01 150K .......... .......... .......... .......... .......... 8.28M 15:11:01 200K .......... .......... .......... .......... .......... 12.6M 15:11:01 250K .......... .......... .......... .......... .......... 2.70M 15:11:01 300K .......... .......... .......... .......... .......... 4.23M 15:11:01 350K .......... .......... .......... .......... .......... 5.14M 15:11:01 400K .......... .......... .......... .......... .......... 3.45M 15:11:01 450K .......... .......... .......... .......... .......... 3.79M 15:11:01 500K .......... .......... .......... .......... .......... 7.81M 15:11:01 550K .......... .......... .......... .......... .......... 2.65M 15:11:01 600K .......... .......... .......... .......... .......... 773K 15:11:01 650K .......... .......... .......... .......... .......... 2.46M 15:11:01 700K ..      239K=0.3s 15:11:01 15:11:01 2021-07-30 15:11:01 (2.55 MB/s) - written to stdout [719348] 15:11:01 15:11:02 -- The C compiler identification is GNU 9.3.0 15:11:02 -- The CXX compiler identification is GNU 9.3.0 15:11:02 -- Check for working C compiler: /usr/bin/cc 15:11:02 -- Check for working C compiler: /usr/bin/cc - works 15:11:02 -- Detecting C compiler ABI info 15:11:02 -- Detecting C compiler ABI info - done 15:11:03 -- Detecting C compile features 15:11:03 -- Detecting C compile features - done 15:11:03 -- Check for working CXX compiler: /usr/bin/c++ 15:11:03 -- Check for working CXX compiler: /usr/bin/c++ - works 15:11:03 -- Detecting CXX compiler ABI info 15:11:04 -- Detecting CXX compiler ABI info - done 15:11:04 -- Detecting CXX compile features 15:11:04 -- Detecting CXX compile features - done 15:11:04 -- Looking for include file endian.h 15:11:04 -- Looking for include file endian.h - found 15:11:04 -- Check if the system is big endian 15:11:04 -- Searching 16 bit integer 15:11:04 -- Looking for sys/types.h 15:11:04 -- Looking for sys/types.h - found 15:11:04 -- Looking for stdint.h 15:11:04 -- Looking for stdint.h - found 15:11:04 -- Looking for stddef.h 15:11:05 -- Looking for stddef.h - found 15:11:05 -- Check size of unsigned short 15:11:05 -- Check size of unsigned short - done 15:11:05 -- Searching 16 bit integer - Using unsigned short 15:11:05 -- Check if the system is big endian - little endian 15:11:06 -- Check size of size_t 15:11:06 -- Check size of size_t - done 15:11:06 CMake Warning at examples/CMakeLists.txt:16 (find_package): 15:11:06 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 15:11:06 asked CMake to find a package configuration file provided by "cJSON", but 15:11:06 CMake did not find one. 15:11:06 15:11:06 Could not find a package configuration file provided by "cJSON" with any of 15:11:06 the following names: 15:11:06 15:11:06 cJSONConfig.cmake 15:11:06 cjson-config.cmake 15:11:06 15:11:06 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 15:11:06 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 15:11:06 provides a separate development package or SDK, be sure it has been 15:11:06 installed. 15:11:06 15:11:06 15:11:06 -- Configuring done 15:11:06 -- Generating done 15:11:06 -- Build files have been written to: /tmp/cbor 15:11:06 Scanning dependencies of target cbor_shared 15:11:06 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 15:11:07 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 15:11:08 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 15:11:09 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 15:11:10 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 15:11:10 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 15:11:10 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 15:11:10 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 15:11:10 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 15:11:11 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 15:11:12 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 15:11:12 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 15:11:13 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 15:11:13 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 15:11:14 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 15:11:14 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 15:11:15 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 15:11:15 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 15:11:16 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 15:11:16 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 15:11:16 [ 40%] Linking C shared library libcbor.so 15:11:17 [ 40%] Built target cbor_shared 15:11:17 Scanning dependencies of target cbor 15:11:17 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 15:11:18 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 15:11:19 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 15:11:19 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 15:11:23 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 15:11:23 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 15:11:23 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 15:11:23 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 15:11:23 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 15:11:24 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 15:11:25 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 15:11:25 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 15:11:26 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 15:11:27 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 15:11:27 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 15:11:27 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 15:11:28 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 15:11:29 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 15:11:29 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 15:11:29 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 15:11:30 [ 80%] Linking C static library libcbor.a 15:11:30 [ 80%] Built target cbor 15:11:30 Scanning dependencies of target sort 15:11:30 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 15:11:30 [ 84%] Linking C executable sort 15:11:30 [ 84%] Built target sort 15:11:30 Scanning dependencies of target readfile 15:11:30 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 15:11:31 [ 88%] Linking C executable readfile 15:11:31 [ 88%] Built target readfile 15:11:31 Scanning dependencies of target streaming_parser 15:11:31 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 15:11:31 [ 92%] Linking C executable streaming_parser 15:11:31 [ 92%] Built target streaming_parser 15:11:31 Scanning dependencies of target hello 15:11:31 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 15:11:31 [ 96%] Linking C executable hello 15:11:32 [ 96%] Built target hello 15:11:32 Scanning dependencies of target create_items 15:11:32 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 15:11:32 [100%] Linking C executable create_items 15:11:32 [100%] Built target create_items 15:11:32 Install the project... 15:11:32 -- Install configuration: "Release" 15:11:32 -- Installing: /usr/local/include/cbor/configuration.h 15:11:32 -- Installing: /usr/local/lib64/libcbor.a 15:11:32 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 15:11:32 -- Installing: /usr/local/lib64/libcbor.so.0 15:11:32 -- Installing: /usr/local/lib64/libcbor.so 15:11:32 -- Up-to-date: /usr/local/include/cbor 15:11:32 -- Installing: /usr/local/include/cbor/streaming.h 15:11:32 -- Installing: /usr/local/include/cbor/ints.h 15:11:32 -- Installing: /usr/local/include/cbor/floats_ctrls.h 15:11:32 -- Installing: /usr/local/include/cbor/bytestrings.h 15:11:32 -- Installing: /usr/local/include/cbor/encoding.h 15:11:32 -- Installing: /usr/local/include/cbor/serialization.h 15:11:32 -- Installing: /usr/local/include/cbor/data.h 15:11:32 -- Installing: /usr/local/include/cbor/common.h 15:11:32 -- Installing: /usr/local/include/cbor/callbacks.h 15:11:32 -- Installing: /usr/local/include/cbor/strings.h 15:11:32 -- Installing: /usr/local/include/cbor/tags.h 15:11:32 -- Installing: /usr/local/include/cbor/internal 15:11:32 -- Installing: /usr/local/include/cbor/internal/encoders.h 15:11:32 -- Installing: /usr/local/include/cbor/internal/loaders.h 15:11:32 -- Installing: /usr/local/include/cbor/internal/stack.h 15:11:32 -- Installing: /usr/local/include/cbor/internal/unicode.h 15:11:32 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 15:11:32 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 15:11:32 -- Installing: /usr/local/include/cbor/arrays.h 15:11:32 -- Installing: /usr/local/include/cbor/maps.h 15:11:32 -- Installing: /usr/local/include/cbor.h 15:11:32 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 15:11:35 Removing intermediate container 2ab5aa128ee2 15:11:35 ---> e131521c208a 15:11:35 Step 8/25 : RUN mkdir /tmp/sdk 15:11:35 ---> Running in a9bd1d4bcaec 15:11:38 Removing intermediate container a9bd1d4bcaec 15:11:38 ---> ffba00f3c2fe 15:11:38 Step 9/25 : COPY VERSION /tmp/sdk 15:11:38 ---> 274fa809116b 15:11:38 Step 10/25 : COPY src /tmp/sdk/src 15:11:40 ---> 2e52059d208a 15:11:40 Step 11/25 : COPY include /tmp/sdk/include 15:11:41 ---> 08b8bf56e8ed 15:11:41 Step 12/25 : COPY scripts /tmp/sdk/scripts 15:11:42 ---> b8729a6ad2ec 15:11:42 Step 13/25 : COPY LICENSE /tmp/sdk 15:11:42 ---> e5c4dbc9fb92 15:11:42 Step 14/25 : COPY Attribution.txt /tmp/sdk 15:11:43 ---> ba720ea02a6b 15:11:43 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:11:44 ---> Running in 3ab532393704 15:11:45 + CPPCHECK=false 15:11:45 + DOCGEN=false 15:11:45 + TOMLVER=SDK-0.2 15:11:45 + CUTILVER=1.1.4 15:11:45 + '[' 0 -gt 0 ] 15:11:45 + readlink -f ./scripts/build.sh 15:11:45 + dirname /tmp/sdk/scripts/build.sh 15:11:45 + dirname /tmp/sdk/scripts 15:11:45 + ROOT=/tmp/sdk 15:11:45 + cd /tmp/sdk 15:11:45 + '[' '!' -d deps ] 15:11:45 + mkdir deps 15:11:45 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:11:45 + tar -C deps -z -x -f - 15:11:45 --2021-07-30 15:11:45-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:11:45 Resolving github.com (github.com)... 140.82.113.4 15:11:45 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:11:45 HTTP request sent, awaiting response... 302 Found 15:11:45 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 15:11:45 --2021-07-30 15:11:45-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 15:11:45 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 15:11:45 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 15:11:45 HTTP request sent, awaiting response... 200 OK 15:11:45 Length: unspecified [application/x-gzip] 15:11:45 Saving to: 'STDOUT' 15:11:45  15:11:45 0K .......... ...... 964K=0.02s 15:11:45 15:11:45 2021-07-30 15:11:45 (964 KB/s) - written to stdout [16451] 15:11:45 15:11:45 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:11:45 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 15:11:45 + tar -C deps -z -x -f - 15:11:45 --2021-07-30 15:11:45-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 15:11:45 Resolving github.com (github.com)... 140.82.113.4 15:11:45 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:11:46 HTTP request sent, awaiting response... 302 Found 15:11:46 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 15:11:46 --2021-07-30 15:11:45-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 15:11:46 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 15:11:46 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 15:11:46 HTTP request sent, awaiting response... 200 OK 15:11:46 Length: unspecified [application/x-gzip] 15:11:46 Saving to: 'STDOUT' 15:11:46  15:11:46 0K .......... .......... .......... .......... .......... 1.23M 15:11:46 50K .......... .......... .......... .......... .......... 2.37M 15:11:46 100K .......... .......... .......... .......... .......... 3.02M 15:11:46 150K .......... .......... .......  2.00M=0.09s 15:11:46 15:11:46 2021-07-30 15:11:46 (1.93 MB/s) - written to stdout [181796] 15:11:46 15:11:46 + mkdir -p src/c/iot 15:11:46 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 15:11:46 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 15:11:46 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 15:11:46 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 15:11:46 + mkdir -p include/iot 15:11:46 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 15:11:46 + mkdir -p include/iot/os 15:11:46 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 15:11:46 + mkdir -p /tmp/sdk/build/release 15:11:46 + cd /tmp/sdk/build/release 15:11:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:11:46 -- The C compiler identification is GNU 9.3.0 15:11:46 -- Check for working C compiler: /usr/bin/cc 15:11:47 -- Check for working C compiler: /usr/bin/cc - works 15:11:47 -- Detecting C compiler ABI info 15:11:47 -- Detecting C compiler ABI info - done 15:11:47 -- Detecting C compile features 15:11:47 -- Detecting C compile features - done 15:11:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:11:48 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:11:48 -- Found LIBYAML: /usr/lib/libyaml.so 15:11:48 -- Found LIBUUID: /usr/lib/libuuid.so 15:11:48 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:11:48 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:11:48 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:11:48 -- C SDK 0.0.0 for Linux 15:11:48 -- Performing Test CSDK_HAVE_ATOMIC 15:11:48 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:11:48 -- Found Curses: /usr/lib/libcurses.so 15:11:48 -- Configuring done 15:11:49 -- Generating done 15:11:49 -- Build files have been written to: /tmp/sdk/build/release 15:11:49 + + teemake release.log all 15:11:49 package 15:11:49 Scanning dependencies of target csdk 15:11:49 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:11:50 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:11:51 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:11:54 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:11:55 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:11:55 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:11:57 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:11:57 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:11:57 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:11:59 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:12:03 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:12:04 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:12:05 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:12:06 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:12:07 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:12:07 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:12:07 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:12:12 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:12:12 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:12:13 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:12:14 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:12:14 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:12:15 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:12:19 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:12:19 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:12:20 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:12:21 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:12:22 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:12:22 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:12:23 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:12:24 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:12:25 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:12:25 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:12:29 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:12:29 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:12:30 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:12:30 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:12:37 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:12:38 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:12:39 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:12:39 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:12:41 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:12:44 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:12:48 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:12:53 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:12:54 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:12:55 [ 74%] Linking C shared library libcsdk.so 15:12:55 [ 74%] Built target csdk 15:12:55 Scanning dependencies of target template 15:12:55 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:12:57 [ 77%] Linking C executable template 15:12:57 [ 77%] Built target template 15:12:57 Scanning dependencies of target device-counter 15:12:57 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:12:57 [ 80%] Linking C executable device-counter 15:12:58 [ 80%] Built target device-counter 15:12:58 Scanning dependencies of target device-random 15:12:58 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:12:59 [ 84%] Linking C executable device-random 15:12:59 [ 84%] Built target device-random 15:12:59 Scanning dependencies of target device-gyro 15:12:59 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:13:00 [ 87%] Linking C executable device-gyro 15:13:00 [ 87%] Built target device-gyro 15:13:00 Scanning dependencies of target device-bitfields 15:13:00 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:13:01 [ 90%] Linking C executable device-bitfields 15:13:01 [ 90%] Built target device-bitfields 15:13:01 Scanning dependencies of target template-discovery 15:13:01 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:13:03 [ 93%] Linking C executable template-discovery 15:13:03 [ 93%] Built target template-discovery 15:13:03 Scanning dependencies of target device-file 15:13:03 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:13:04 [ 96%] Linking C executable device-file 15:13:05 [ 96%] Built target device-file 15:13:05 Scanning dependencies of target device-terminal 15:13:05 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:13:06 [100%] Linking C executable device-terminal 15:13:06 [100%] Built target device-terminal 15:13:06 Run CPack packaging tool... 15:13:06 CPack: Create package using TGZ 15:13:06 CPack: Install projects 15:13:06 CPack: - Run preinstall target for: Csdk 15:13:07 CPack: - Install project: Csdk [] 15:13:07 CPack: Create package 15:13:07 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:13:07 + '[' false '=' true ] 15:13:07 + '[' false '=' true ] 15:13:07 + mkdir -p /tmp/sdk/build/debug 15:13:07 + cd /tmp/sdk/build/debug 15:13:07 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:13:07 -- The C compiler identification is GNU 9.3.0 15:13:08 -- Check for working C compiler: /usr/bin/cc 15:13:08 -- Check for working C compiler: /usr/bin/cc - works 15:13:08 -- Detecting C compiler ABI info 15:13:08 -- Detecting C compiler ABI info - done 15:13:08 -- Detecting C compile features 15:13:08 -- Detecting C compile features - done 15:13:08 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:13:08 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:13:08 -- Found LIBYAML: /usr/lib/libyaml.so 15:13:08 -- Found LIBUUID: /usr/lib/libuuid.so 15:13:08 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:13:09 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:13:09 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:13:09 -- C SDK 0.0.0 for Linux 15:13:09 -- Performing Test CSDK_HAVE_ATOMIC 15:13:09 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:13:09 -- Found Curses: /usr/lib/libcurses.so 15:13:09 -- Configuring done 15:13:10 -- Generating done 15:13:10 -- Build files have been written to: /tmp/sdk/build/debug 15:13:10 + + maketee 15:13:10 debug.log 15:13:10 Scanning dependencies of target csdk 15:13:10 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:13:10 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:13:11 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:13:12 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:13:12 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:13:12 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:13:13 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:13:13 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:13:14 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:13:15 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:13:16 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:13:16 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:13:16 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:13:17 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:13:17 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:13:18 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:13:18 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:13:19 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:13:20 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:13:20 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:13:20 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:13:20 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:13:21 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:13:23 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:13:23 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:13:23 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:13:23 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:13:24 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:13:24 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:13:24 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:13:25 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:13:25 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:13:25 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:13:26 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:13:26 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:13:27 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:13:27 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:13:29 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:13:29 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:13:30 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:13:30 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:13:31 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:13:32 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:13:33 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:13:34 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:13:34 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:13:35 [ 74%] Linking C shared library libcsdk.so 15:13:35 [ 74%] Built target csdk 15:13:35 Scanning dependencies of target template 15:13:35 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:13:35 [ 77%] Linking C executable template 15:13:36 [ 77%] Built target template 15:13:36 Scanning dependencies of target device-counter 15:13:36 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:13:36 [ 80%] Linking C executable device-counter 15:13:37 [ 80%] Built target device-counter 15:13:37 Scanning dependencies of target device-random 15:13:37 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:13:37 [ 84%] Linking C executable device-random 15:13:37 [ 84%] Built target device-random 15:13:37 Scanning dependencies of target device-gyro 15:13:37 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:13:38 [ 87%] Linking C executable device-gyro 15:13:38 [ 87%] Built target device-gyro 15:13:38 Scanning dependencies of target device-bitfields 15:13:38 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:13:38 [ 90%] Linking C executable device-bitfields 15:13:39 [ 90%] Built target device-bitfields 15:13:39 Scanning dependencies of target template-discovery 15:13:39 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:13:39 [ 93%] Linking C executable template-discovery 15:13:40 [ 93%] Built target template-discovery 15:13:40 Scanning dependencies of target device-file 15:13:40 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:13:40 [ 96%] Linking C executable device-file 15:13:41 [ 96%] Built target device-file 15:13:41 Scanning dependencies of target device-terminal 15:13:41 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:13:41 [100%] Linking C executable device-terminal 15:13:42 [100%] Built target device-terminal 15:13:42 make: Entering directory '/tmp/sdk/build/release' 15:13:42 make[1]: Entering directory '/tmp/sdk/build/release' 15:13:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:13:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:13:42 [ 74%] Built target csdk 15:13:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:13:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:13:42 [ 77%] Built target template 15:13:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:13:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:13:42 [ 80%] Built target device-counter 15:13:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:13:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:13:42 [ 84%] Built target device-random 15:13:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:13:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:13:42 [ 87%] Built target device-gyro 15:13:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:13:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:13:42 [ 90%] Built target device-bitfields 15:13:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:13:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:13:42 [ 93%] Built target template-discovery 15:13:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:13:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:13:42 [ 96%] Built target device-file 15:13:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:13:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:13:42 [100%] Built target device-terminal 15:13:42 make[1]: Leaving directory '/tmp/sdk/build/release' 15:13:42 Install the project... 15:13:42 -- Install configuration: "Release" 15:13:42 -- Installing: /usr/local/lib/libcsdk.so 15:13:42 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:13:42 -- Up-to-date: /usr/local/include 15:13:42 -- Installing: /usr/local/include/edgex 15:13:42 -- Installing: /usr/local/include/edgex/rest-server.h 15:13:42 -- Installing: /usr/local/include/edgex/edgex-base.h 15:13:42 -- Installing: /usr/local/include/edgex/edgex.h 15:13:42 -- Installing: /usr/local/include/edgex/devices.h 15:13:42 -- Installing: /usr/local/include/edgex/profiles.h 15:13:42 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:13:42 -- Installing: /usr/local/include/devsdk 15:13:42 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:13:42 -- Installing: /usr/local/include/devsdk/devsdk.h 15:13:42 -- Installing: /usr/local/include/iot 15:13:42 -- Installing: /usr/local/include/iot/json.h 15:13:42 -- Installing: /usr/local/include/iot/container.h 15:13:42 -- Installing: /usr/local/include/iot/component.h 15:13:42 -- Installing: /usr/local/include/iot/typecode.h 15:13:42 -- Installing: /usr/local/include/iot/iot.h 15:13:42 -- Installing: /usr/local/include/iot/time.h 15:13:42 -- Installing: /usr/local/include/iot/hash.h 15:13:42 -- Installing: /usr/local/include/iot/logger.h 15:13:42 -- Installing: /usr/local/include/iot/os 15:13:42 -- Installing: /usr/local/include/iot/os/zephyr.h 15:13:42 -- Installing: /usr/local/include/iot/os/linux.h 15:13:42 -- Installing: /usr/local/include/iot/os/macos.h 15:13:42 -- Installing: /usr/local/include/iot/scheduler.h 15:13:42 -- Installing: /usr/local/include/iot/data.h 15:13:42 -- Installing: /usr/local/include/iot/thread.h 15:13:42 -- Installing: /usr/local/include/iot/os.h 15:13:42 -- Installing: /usr/local/include/iot/base64.h 15:13:42 -- Installing: /usr/local/include/iot/defs.h 15:13:42 -- Installing: /usr/local/include/iot/threadpool.h 15:13:42 -- Installing: /usr/local/include/iot/config.h 15:13:42 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:13:42 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:13:42 make: Leaving directory '/tmp/sdk/build/release' 15:13:45 Removing intermediate container 3ab532393704 15:13:45 ---> d875e66aa0be 15:13:45 Step 16/25 : FROM ${BASE} 15:13:45 ---> 759262b18b23 15:13:45 Step 17/25 : LABEL maintainer="IOTech " 15:13:45 ---> Running in 66a3656f470e 15:13:45 Removing intermediate container 66a3656f470e 15:13:45 ---> 799563970693 15:13:45 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 15:13:46 ---> Running in 3c10adb96863 15:13:46 Connecting to iotech.jfrog.io (54.170.66.44:443) 15:13:47 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:13:47 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 15:13:47 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 15:13:49 Removing intermediate container 3c10adb96863 15:13:49 ---> 56253ada2f45 15:13:49 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:13:49 ---> Running in d756f94e4737 15:13:51 Removing intermediate container d756f94e4737 15:13:51 ---> 10efd1df072d 15:13:51 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 15:13:51 ---> Running in 0d110adac1cb 15:13:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:13:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:13:54 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 15:13:55 (1/7) Installing curl (7.78.0-r0) 15:13:55 (2/7) Installing hiredis (0.14.1-r0) 15:13:55 (3/7) Installing hiredis-dev (0.14.1-r0) 15:13:55 (4/7) Installing libuuid (2.35.2-r0) 15:13:55 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 15:13:57 (6/7) Installing libidn2 (2.3.0-r0) 15:13:57 (7/7) Installing wget (1.20.3-r1) 15:13:57 Executing busybox-1.31.1-r20.trigger 15:13:57 OK: 267 MiB in 82 packages 15:13:59 Removing intermediate container 0d110adac1cb 15:13:59 ---> b236a1c30dd0 15:13:59 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:14:00 ---> 8c5b0e9eda9b 15:14:00 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:14:01 ---> c25de818eef5 15:14:01 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 15:14:02 ---> 0a8ef1d30621 15:14:02 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 15:14:03 ---> 24d2da23a1fa 15:14:03 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:14:04 ---> 6d015e34745a 15:14:04 Successfully built 6d015e34745a 15:14:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:14:04 + docker inspect -f . ci-base-image-arm64 15:14:04 . [Pipeline] withDockerContainer 15:14:05 prd-ubuntu18.04-docker-arm64-4c-16g-1019 does not seem to be running inside a container 15:14:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 15:14:07 $ docker top 3dd6ddcb7ee7d2594715da76d04db6b54125d1dfb26e7fde670f0ab169a5df6d -eo pid,comm [Pipeline] { [Pipeline] sh 15:14:08 + make test 15:14:08 echo "make test" 15:14:08 make test [Pipeline] } 15:14:08 $ docker stop --time=1 3dd6ddcb7ee7d2594715da76d04db6b54125d1dfb26e7fde670f0ab169a5df6d 15:14:10 $ docker rm -f 3dd6ddcb7ee7d2594715da76d04db6b54125d1dfb26e7fde670f0ab169a5df6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:14:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:14:11 + ls -al . 15:14:11 total 192 15:14:11 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 15:10 . 15:14:11 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 15:10 .. 15:14:11 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 15:10 .git 15:14:11 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 15:10 .github 15:14:11 -rw-rw-r-- 1 jenkins jenkins 176 Jul 30 15:10 .gitignore 15:14:11 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 30 15:10 Attribution.txt 15:14:11 -rw-rw-r-- 1 jenkins jenkins 7509 Jul 30 15:10 CHANGES 15:14:11 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 30 15:10 Doxyfile 15:14:11 -rw-rw-r-- 1 jenkins jenkins 784 Jul 30 15:10 Jenkinsfile 15:14:11 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 30 15:10 LICENSE 15:14:11 -rw-rw-r-- 1 jenkins jenkins 444 Jul 30 15:10 Makefile 15:14:11 -rw-rw-r-- 1 jenkins jenkins 4086 Jul 30 15:10 README.md 15:14:11 -rw-rw-r-- 1 jenkins jenkins 7090 Jul 30 15:10 README.v2.md 15:14:11 -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 15:07 VERSION 15:14:11 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 15:10 docs 15:14:11 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 15:10 include 15:14:11 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 15:10 scripts 15:14:11 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 15:10 src [Pipeline] isUnix [Pipeline] sh 15:14:11 + 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=5c62084b0a94f2729c922cf2af90d4622b9d28fd --label arch=arm64 --label version=0.0.0 . 15:14:12 Sending build context to Docker daemon 2.584MB 15:14:12 Step 1/17 : ARG BASE=alpine:3.12 15:14:12 Step 2/17 : FROM ${BASE} 15:14:12 ---> 6d015e34745a 15:14:12 Step 3/17 : LABEL maintainer="IOTech " 15:14:12 ---> Running in ebb0bdb57a5b 15:14:13 Removing intermediate container ebb0bdb57a5b 15:14:13 ---> 39c0e1be15d5 15:14:13 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 15:14:13 ---> Running in 2319bc238f00 15:14:14 --2021-07-30 15:14:14-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 15:14:14 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.170.66.44, 54.195.244.87 15:14:14 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. 15:14:14 HTTP request sent, awaiting response... 200 OK 15:14:14 Length: 451 [application/octet-stream] 15:14:14 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:14:14  15:14:14 0K  100% 16.9M=0s 15:14:14 15:14:14 2021-07-30 15:14:14 (16.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 15:14:14 15:14:15 Removing intermediate container 2319bc238f00 15:14:15 ---> e95b981b3484 15:14:15 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:14:15 ---> Running in 516f4af9f803 15:14:17 Removing intermediate container 516f4af9f803 15:14:17 ---> 4de060e7e61e 15:14:17 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 15:14:18 ---> Running in e75dcdff329e 15:14:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:14:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:14:20 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 15:14:21 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 15:14:21 (2/16) Installing libblkid (2.35.2-r0) 15:14:21 (3/16) Installing blkid (2.35.2-r0) 15:14:21 (4/16) Installing libcap-ng (0.7.10-r1) 15:14:21 (5/16) Installing setpriv (2.35.2-r0) 15:14:22 (6/16) Installing libmount (2.35.2-r0) 15:14:22 (7/16) Installing libsmartcols (2.35.2-r0) 15:14:22 (8/16) Installing findmnt (2.35.2-r0) 15:14:22 (9/16) Installing mcookie (2.35.2-r0) 15:14:22 (10/16) Installing hexdump (2.35.2-r0) 15:14:22 (11/16) Installing lsblk (2.35.2-r0) 15:14:22 (12/16) Installing libfdisk (2.35.2-r0) 15:14:22 (13/16) Installing sfdisk (2.35.2-r0) 15:14:22 (14/16) Installing cfdisk (2.35.2-r0) 15:14:22 (15/16) Installing util-linux (2.35.2-r0) 15:14:23 (16/16) Installing util-linux-dev (2.35.2-r0) 15:14:25 Executing busybox-1.31.1-r20.trigger 15:14:26 OK: 276 MiB in 98 packages 15:14:27 Removing intermediate container e75dcdff329e 15:14:27 ---> f7a6e8ede207 15:14:27 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:14:28 ---> c3cff8879f15 15:14:28 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:14:29 ---> 637a9102cf02 15:14:29 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:14:30 ---> ceb256b79e29 15:14:30 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:14:31 ---> e1e00c5a87b2 15:14:31 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:14:32 ---> f5e23a5fc4a7 15:14:32 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:14:32 ---> 099fae0c9ab3 15:14:32 Step 13/17 : WORKDIR /edgex-c-sdk 15:14:32 ---> Running in 14029352d823 15:14:33 Removing intermediate container 14029352d823 15:14:33 ---> f4a136ec6423 15:14:33 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:14:33 ---> Running in cdd2f7ee500e 15:14:34 Removing intermediate container cdd2f7ee500e 15:14:34 ---> 954eb54f2b6a 15:14:34 Step 15/17 : LABEL arch=arm64 15:14:34 ---> Running in baa42d68584d 15:14:34 Removing intermediate container baa42d68584d 15:14:34 ---> 1db02736d202 15:14:34 Step 16/17 : LABEL git_sha=5c62084b0a94f2729c922cf2af90d4622b9d28fd 15:14:35 ---> Running in 2270eac9c95a 15:14:35 Removing intermediate container 2270eac9c95a 15:14:35 ---> 00c7f09a90a8 15:14:35 Step 17/17 : LABEL version=0.0.0 15:14:35 ---> Running in fe4878683e9a 15:14:36 Removing intermediate container fe4878683e9a 15:14:36 ---> e30c7bafa567 15:14:36 [Warning] One or more build-args [MAKE ARCH] were not consumed 15:14:36 Successfully built e30c7bafa567 15:14:36 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 15:14:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:14:36 15:14:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:14:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:14:37 arm64: Pulling from edgex-lftools-log-publisher 15:14:37 448f6bf000e3: Pulling fs layer 15:14:37 f757da607395: Pulling fs layer 15:14:37 05883995daec: Pulling fs layer 15:14:37 8603b9c90790: Pulling fs layer 15:14:37 1560dd03e051: Pulling fs layer 15:14:37 27f5ce0e4adf: Pulling fs layer 15:14:37 c2d8d7efcc4b: Pulling fs layer 15:14:37 1560dd03e051: Waiting 15:14:37 27f5ce0e4adf: Waiting 15:14:37 c2d8d7efcc4b: Waiting 15:14:37 8603b9c90790: Waiting 15:14:38 f757da607395: Verifying Checksum 15:14:38 f757da607395: Download complete 15:14:38 8603b9c90790: Verifying Checksum 15:14:38 8603b9c90790: Download complete 15:14:38 1560dd03e051: Verifying Checksum 15:14:38 1560dd03e051: Download complete 15:14:38 27f5ce0e4adf: Verifying Checksum 15:14:38 27f5ce0e4adf: Download complete 15:14:38 05883995daec: Verifying Checksum 15:14:38 05883995daec: Download complete 15:14:39 448f6bf000e3: Verifying Checksum 15:14:39 448f6bf000e3: Download complete 15:14:41 c2d8d7efcc4b: Verifying Checksum 15:14:41 c2d8d7efcc4b: Download complete 15:14:42 448f6bf000e3: Pull complete 15:14:43 f757da607395: Pull complete 15:14:44 05883995daec: Pull complete 15:14:44 8603b9c90790: Pull complete 15:14:45 1560dd03e051: Pull complete 15:14:46 27f5ce0e4adf: Pull complete 15:15:01 c2d8d7efcc4b: Pull complete 15:15:01 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 15:15:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:15:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:15:01 prd-ubuntu18.04-docker-arm64-4c-16g-1019 does not seem to be running inside a container 15:15:01 $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:15:07 $ docker top 23f6aa1fcdd89183995dedb152e2928c9871f0507c06254be9ba8a42fc85af8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:15:08 ---> job-cost.sh 15:15:08 lf-activate-venv: SKIPPING 15:15:08 INFO: No Stack... 15:15:09 INFO: Retrieving Pricing Info for: v2-standard-4 15:15:10 INFO: Archiving Costs [Pipeline] sh 15:15:10 + cat /w/workspace/device-sdk-c/2/archives/cost.csv 15:15:10 + cut -d, -f6 [Pipeline] lock 15:15:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-360-2-stack-cost] 15:15:10 Resource [jenkins-edgexfoundry-device-sdk-c-PR-360-2-stack-cost] did not exist. Created. 15:15:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-360-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:15:11 /w/workspace/device-sdk-c/2@tmp/durable-9fe928b6/script.sh: 1: /w/workspace/device-sdk-c/2@tmp/durable-9fe928b6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:15:12 + echo total: 0.18000000715255737 [Pipeline] stash 15:15:12 Warning: overwriting stash ‘stack-cost’ 15:15:12 Stashed 1 file(s) [Pipeline] } 15:15:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-360-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:15:13 $ docker stop --time=1 23f6aa1fcdd89183995dedb152e2928c9871f0507c06254be9ba8a42fc85af8b 15:15:14 $ docker rm -f 23f6aa1fcdd89183995dedb152e2928c9871f0507c06254be9ba8a42fc85af8b [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 15:15:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:15:16 ---> package-listing.sh 15:15:16 ++ tr '[:upper:]' '[:lower:]' 15:15:16 ++ facter osfamily 15:15:17 + OS_FAMILY=redhat 15:15:17 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-360 15:15:17 + START_PACKAGES=/tmp/packages_start.txt 15:15:17 + END_PACKAGES=/tmp/packages_end.txt 15:15:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:15:17 + PACKAGES=/tmp/packages_start.txt 15:15:17 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-360 ']' 15:15:17 + PACKAGES=/tmp/packages_end.txt 15:15:17 + case "${OS_FAMILY}" in 15:15:17 + sort 15:15:17 + rpm -qa 15:15:17 + '[' -f /tmp/packages_start.txt ']' 15:15:17 + '[' -f /tmp/packages_end.txt ']' 15:15:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:15:17 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-360 ']' 15:15:17 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-360/archives/ 15:15:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-360/archives/ [Pipeline] echo 15:15:17 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-360/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:15:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:15:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:15:18 15:15:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:15:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:15:18 latest: Pulling from edgex-lftools-log-publisher 15:15:18 b4d181a07f80: Pulling fs layer 15:15:18 a1111a8f2ec3: Pulling fs layer 15:15:18 ed53099fbce6: Pulling fs layer 15:15:18 dc539afda2c1: Pulling fs layer 15:15:18 77bc0d833cb6: Pulling fs layer 15:15:18 9065ff56babe: Pulling fs layer 15:15:18 d287ab97295c: Pulling fs layer 15:15:18 dc539afda2c1: Waiting 15:15:18 77bc0d833cb6: Waiting 15:15:18 d287ab97295c: Waiting 15:15:18 9065ff56babe: Waiting 15:15:19 a1111a8f2ec3: Verifying Checksum 15:15:19 a1111a8f2ec3: Download complete 15:15:19 dc539afda2c1: Verifying Checksum 15:15:19 dc539afda2c1: Download complete 15:15:19 77bc0d833cb6: Verifying Checksum 15:15:19 77bc0d833cb6: Download complete 15:15:20 9065ff56babe: Verifying Checksum 15:15:20 9065ff56babe: Download complete 15:15:20 ed53099fbce6: Verifying Checksum 15:15:20 ed53099fbce6: Download complete 15:15:21 b4d181a07f80: Verifying Checksum 15:15:21 b4d181a07f80: Download complete 15:15:23 b4d181a07f80: Pull complete 15:15:23 a1111a8f2ec3: Pull complete 15:15:23 ed53099fbce6: Pull complete 15:15:23 dc539afda2c1: Pull complete 15:15:24 77bc0d833cb6: Pull complete 15:15:24 9065ff56babe: Pull complete 15:15:26 d287ab97295c: Download complete 15:15:30 d287ab97295c: Pull complete 15:15:30 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:15:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:15:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:15:30 prd-centos7-docker-4c-2g-1009 does not seem to be running inside a container 15:15:30 $ 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-360/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-360 -v /w/workspace/edgexfoundry_device-sdk-c_PR-360:/w/workspace/edgexfoundry_device-sdk-c_PR-360:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-360@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-360@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:15:32 $ docker top e103c836835d29e491b2ba653b112eda8fb36b037f1ba3c63881c92cbe857245 -eo pid,comm [Pipeline] { [Pipeline] sh 15:15:33 + touch /tmp/pre-build-complete [Pipeline] sh 15:15:33 + mkdir -p /var/log/sysstat [Pipeline] sh 15:15:33 + ls /var/log/sa-host 15:15:33 + sadf -c /var/log/sa-host/sa05 15:15:33 file_magic: OK 15:15:33 HZ: Using current value: 100 15:15:33 file_header: OK 15:15:33 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 15:15:33 Statistics: 15:15:33 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:15:33 File successfully converted to sysstat format version 12.0.3 15:15:33 + sadf -c /var/log/sa-host/sa30 15:15:33 file_magic: OK 15:15:33 HZ: Using current value: 100 15:15:33 file_header: OK 15:15:33 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 15:15:33 Statistics: 15:15:33 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:15:33 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:15:34 provisioning config files... 15:15:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-360@tmp/config1325800101521125314tmp [Pipeline] { [Pipeline] echo 15:15:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:15:34 ---> create-netrc.sh [Pipeline] } 15:15:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:15:34 ---> python-tools-install.sh [Pipeline] echo 15:15:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:15:35 ---> sudo-logs.sh 15:15:35 Archiving 'sudo' log.. 15:15:35 sudo: unable to resolve host prd-centos7-docker-4c-2g-1009.vexxhost.local: Name or service not known 15:15:35 sudo: unable to resolve host prd-centos7-docker-4c-2g-1009.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 15:15:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:15:35 ---> job-cost.sh 15:15:35 lf-activate-venv: SKIPPING 15:15:35 DEBUG: total: 0.18000000715255737 15:15:35 INFO: Retrieving Stack Cost... 15:15:36 INFO: Retrieving Pricing Info for: v3-standard-2 15:15:36 INFO: Archiving Costs [Pipeline] echo 15:15:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:15:37 ---> logs-deploy.sh 15:15:37 lf-activate-venv: SKIPPING 15:15:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-360/2 15:15:37 INFO: archiving workspace using pattern(s): 15:15:37 Archives upload complete. 15:15:38 INFO: archiving logs to Nexus 15:15:38 ---> uname -a: 15:15:38 Linux prd-centos7-docker-4c-2g-1009.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 15:15:38 15:15:38 15:15:38 ---> lscpu: 15:15:38 Architecture: x86_64 15:15:38 CPU op-mode(s): 32-bit, 64-bit 15:15:38 Byte Order: Little Endian 15:15:38 Address sizes: 40 bits physical, 48 bits virtual 15:15:38 CPU(s): 2 15:15:38 On-line CPU(s) list: 0,1 15:15:38 Thread(s) per core: 1 15:15:38 Core(s) per socket: 1 15:15:38 Socket(s): 2 15:15:38 NUMA node(s): 1 15:15:38 Vendor ID: AuthenticAMD 15:15:38 CPU family: 23 15:15:38 Model: 49 15:15:38 Model name: AMD EPYC-Rome Processor 15:15:38 Stepping: 0 15:15:38 CPU MHz: 2799.998 15:15:38 BogoMIPS: 5599.99 15:15:38 Virtualization: AMD-V 15:15:38 Hypervisor vendor: KVM 15:15:38 Virtualization type: full 15:15:38 L1d cache: 32K 15:15:38 L1i cache: 32K 15:15:38 L2 cache: 512K 15:15:38 L3 cache: 16384K 15:15:38 NUMA node0 CPU(s): 0,1 15:15:38 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 15:15:38 15:15:38 15:15:38 ---> nproc: 15:15:38 2 15:15:38 15:15:38 15:15:38 ---> df -h: 15:15:38 Filesystem Size Used Avail Use% Mounted on 15:15:38 overlay 40G 7.7G 33G 20% / 15:15:38 tmpfs 64M 0 64M 0% /dev 15:15:38 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 15:15:38 shm 64M 0 64M 0% /dev/shm 15:15:38 /dev/vda1 40G 7.7G 33G 20% /facter-os 15:15:38 15:15:38 15:15:38 ---> sar -b -r -n DEV: 15:15:38 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/30/21 _x86_64_ (2 CPU) 15:15:38 15:15:38 15:06:36 LINUX RESTART (2 CPU) 15:15:38 15:15:38 15:07:02 tps rtps wtps bread/s bwrtn/s 15:15:38 15:08:01 110.37 16.38 93.99 5604.87 4645.81 15:15:38 15:09:01 1.63 0.00 1.63 0.00 32.92 15:15:38 15:10:01 0.38 0.00 0.38 0.00 5.45 15:15:38 15:11:01 0.27 0.00 0.27 0.00 3.60 15:15:38 15:12:01 0.25 0.00 0.25 0.00 2.85 15:15:38 15:13:01 0.22 0.00 0.22 0.00 3.18 15:15:38 15:14:01 0.28 0.00 0.28 0.00 3.38 15:15:38 15:15:01 0.22 0.00 0.22 0.00 3.25 15:15:38 Average: 14.02 2.02 12.00 691.09 579.68 15:15:38 15:15:38 15:07:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:15:38 15:08:01 5456248 0 813632 10.16 2620 1736432 1306240 14.42 585528 1567576 128 15:15:38 15:09:01 5462768 0 807108 10.08 2620 1736436 1255424 13.86 579996 1567536 20 15:15:38 15:10:01 5466352 0 803520 10.03 2620 1736440 1206892 13.32 581808 1563040 16 15:15:38 15:11:01 5463272 0 806592 10.07 2620 1736448 1207276 13.33 585252 1563040 16 15:15:38 15:12:01 5463996 0 805864 10.06 2620 1736452 1207144 13.33 580896 1566784 20 15:15:38 15:13:01 5464556 0 805300 10.06 2620 1736456 1207036 13.33 580296 1566784 12 15:15:38 15:14:01 5464920 0 804932 10.05 2620 1736460 1206892 13.32 580432 1566784 16 15:15:38 15:15:01 5462924 0 806920 10.08 2620 1736468 1206892 13.32 581840 1566788 8 15:15:38 Average: 5463130 0 806734 10.07 2620 1736449 1225474 13.53 582006 1566042 30 15:15:38 15:15:38 15:07:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:15:38 15:08:01 eth0 519.78 311.86 1057.67 79.36 0.00 0.00 0.00 0.00 15:15:38 15:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:38 15:08:01 docker0 13.69 10.51 1.44 26.03 0.00 0.00 0.00 0.00 15:15:38 15:09:01 eth0 4.05 1.27 1.27 0.80 0.00 0.00 0.00 0.00 15:15:38 15:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:38 15:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:38 15:10:01 eth0 1.03 0.10 0.10 0.01 0.00 0.00 0.00 0.00 15:15:38 15:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:38 15:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:38 15:11:01 eth0 1.73 0.98 0.83 0.57 0.00 0.00 0.00 0.00 15:15:38 15:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:38 15:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:38 15:12:01 eth0 0.85 0.35 0.30 0.24 0.00 0.00 0.00 0.00 15:15:38 15:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:38 15:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:38 15:13:01 eth0 0.42 0.25 0.15 0.07 0.00 0.00 0.00 0.00 15:15:38 15:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:38 15:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:38 15:14:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 15:15:38 15:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:38 15:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:38 15:15:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 15:15:38 15:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:38 15:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:38 Average: eth0 65.14 38.84 130.75 10.00 0.00 0.00 0.00 0.00 15:15:38 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:38 Average: docker0 1.69 1.30 0.18 3.21 0.00 0.00 0.00 0.00 15:15:38 15:15:38 15:15:38 ---> sar -P ALL: 15:15:38 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/30/21 _x86_64_ (2 CPU) 15:15:38 15:15:38 15:06:36 LINUX RESTART (2 CPU) 15:15:38 15:15:38 15:07:02 CPU %user %nice %system %iowait %steal %idle 15:15:38 15:08:01 all 14.37 0.00 3.89 2.34 0.06 79.34 15:15:38 15:08:01 0 13.81 0.00 4.01 1.24 0.07 80.87 15:15:38 15:08:01 1 14.93 0.00 3.78 3.43 0.05 77.81 15:15:38 15:09:01 all 0.23 0.00 0.09 0.00 0.03 99.65 15:15:38 15:09:01 0 0.20 0.00 0.12 0.00 0.02 99.67 15:15:38 15:09:01 1 0.27 0.00 0.07 0.00 0.03 99.63 15:15:38 15:10:01 all 0.12 0.00 0.07 0.00 0.03 99.79 15:15:38 15:10:01 0 0.07 0.00 0.05 0.00 0.02 99.87 15:15:38 15:10:01 1 0.17 0.00 0.08 0.00 0.03 99.72 15:15:38 15:11:01 all 0.15 0.00 0.06 0.00 0.03 99.76 15:15:38 15:11:01 0 0.10 0.00 0.05 0.00 0.02 99.83 15:15:38 15:11:01 1 0.20 0.00 0.07 0.00 0.05 99.68 15:15:38 15:12:01 all 0.17 0.00 0.05 0.00 0.03 99.75 15:15:38 15:12:01 0 0.15 0.00 0.05 0.00 0.02 99.78 15:15:38 15:12:01 1 0.18 0.00 0.05 0.00 0.05 99.72 15:15:38 15:13:01 all 0.13 0.00 0.07 0.00 0.02 99.78 15:15:38 15:13:01 0 0.03 0.00 0.03 0.00 0.02 99.92 15:15:38 15:13:01 1 0.23 0.00 0.10 0.00 0.02 99.65 15:15:38 15:14:01 all 0.15 0.00 0.05 0.00 0.03 99.77 15:15:38 15:14:01 0 0.07 0.00 0.05 0.00 0.03 99.85 15:15:38 15:14:01 1 0.23 0.00 0.05 0.00 0.02 99.70 15:15:38 15:15:01 all 0.11 0.00 0.08 0.00 0.02 99.80 15:15:38 15:15:01 0 0.05 0.00 0.05 0.00 0.02 99.88 15:15:38 15:15:01 1 0.17 0.00 0.10 0.00 0.02 99.72 15:15:38 Average: all 1.86 0.00 0.53 0.28 0.03 97.31 15:15:38 Average: 0 1.74 0.00 0.53 0.15 0.03 97.55 15:15:38 Average: 1 1.98 0.00 0.52 0.41 0.03 97.06 15:15:38 15:15:38 15:15:38