Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3284203db036fb577a63a0fff870deb676f4920e Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4717 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 3284203db036fb577a63a0fff870deb676f4920e (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3284203db036fb577a63a0fff870deb676f4920e # timeout=10 Commit message: "feat: add MQTT and Redis options for pushing events (#258) (#343)" > git rev-list --no-walk a1bd3e4e984760685c7a391cc08f5a8ab2e71757 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:38:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:38:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:38:10 ========================================================= 16:38:10 EdgeX Global Pipelines Version Info 16:38:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:38:13 ------------------- 16:38:13 stable info: 16:38:13 ------------------- 16:38:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:38:13 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 16:38:13 Message: update stable to v1.0.192 16:38:14 ------------------- 16:38:14 experimental info: 16:38:14 ------------------- 16:38:14 Commited By: **** collab-it+edgex@linuxfoundation.org 16:38:14 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 16:38:14 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3284203db036fb577a63a0fff870deb676f4920e [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3284203 [Pipeline] echo 16:38:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:38:15 provisioning config files... 16:38:15 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config101523923989327517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:38:17 ---> docker-login.sh 16:38:17 nexus3.edgexfoundry.org:10001 16:38:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:17 Configure a credential helper to remove this warning. See 16:38:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:17 16:38:17 Login Succeeded 16:38:17 nexus3.edgexfoundry.org:10002 16:38:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:18 Configure a credential helper to remove this warning. See 16:38:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:18 16:38:18 Login Succeeded 16:38:18 nexus3.edgexfoundry.org:10003 16:38:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:18 Configure a credential helper to remove this warning. See 16:38:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:18 16:38:18 Login Succeeded 16:38:18 nexus3.edgexfoundry.org:10004 16:38:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:19 Configure a credential helper to remove this warning. See 16:38:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:19 16:38:19 Login Succeeded 16:38:19 docker.io 16:38:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:19 Configure a credential helper to remove this warning. See 16:38:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:19 16:38:19 Login Succeeded 16:38:19 ---> docker-login.sh ends [Pipeline] } 16:38:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:38:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:38:21 16:38:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:38:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:38:22 latest: Pulling from edgex-devops/git-semver 16:38:22 31603596830f: Pulling fs layer 16:38:22 54011a49482f: Pulling fs layer 16:38:22 a6820b24f6d8: Pulling fs layer 16:38:22 f581987b2513: Pulling fs layer 16:38:22 f581987b2513: Waiting 16:38:22 54011a49482f: Verifying Checksum 16:38:22 54011a49482f: Download complete 16:38:22 31603596830f: Verifying Checksum 16:38:22 31603596830f: Download complete 16:38:22 f581987b2513: Verifying Checksum 16:38:22 f581987b2513: Download complete 16:38:23 31603596830f: Pull complete 16:38:23 a6820b24f6d8: Verifying Checksum 16:38:23 a6820b24f6d8: Download complete 16:38:23 54011a49482f: Pull complete 16:38:25 a6820b24f6d8: Pull complete 16:38:26 f581987b2513: Pull complete 16:38:26 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 16:38:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:38:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:38:26 prd-centos7-docker-4c-2g-4717 does not seem to be running inside a container 16:38:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:38:30 $ docker top 8733ff523bca36f41b53d8db35b1fea41c48e57f431676b1bfe50be714838e35 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:38:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:38:30 [ssh-agent] Looking for ssh-agent implementation... 16:38:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:38:31 $ docker exec 8733ff523bca36f41b53d8db35b1fea41c48e57f431676b1bfe50be714838e35 ssh-agent 16:38:32 SSH_AUTH_SOCK=/tmp/ssh-jYV2QJW5VsiO/agent.11 16:38:32 SSH_AGENT_PID=16 16:38:32 Running ssh-add (command line suppressed) 16:38:32 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4316068154482312732.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4316068154482312732.key) 16:38:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:38:34 + git tag --points-at HEAD [Pipeline] } 16:38:34 $ docker exec --env ******** --env ******** 8733ff523bca36f41b53d8db35b1fea41c48e57f431676b1bfe50be714838e35 ssh-agent -k 16:38:34 unset SSH_AUTH_SOCK; 16:38:34 unset SSH_AGENT_PID; 16:38:34 echo Agent pid 16 killed; 16:38:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:38:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:38:35 [ssh-agent] Looking for ssh-agent implementation... 16:38:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:38:35 $ docker exec 8733ff523bca36f41b53d8db35b1fea41c48e57f431676b1bfe50be714838e35 ssh-agent 16:38:36 SSH_AUTH_SOCK=/tmp/ssh-MW5ekiHr4Qq7/agent.44 16:38:36 SSH_AGENT_PID=50 16:38:36 Running ssh-add (command line suppressed) 16:38:36 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7470809544550875949.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7470809544550875949.key) 16:38:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:38:37 + git semver init 16:38:37 # -> Open(): unable to determine branch for HEAD 16:38:37 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 16:38:37 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 16:38:37 # $SEMVER_REMOTE_NAME = origin 16:38:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:38:37 # $SEMVER_USER_NAME = edgex-jenkins 16:38:37 # $SEMVER_BRANCH = master 16:38:37 # $SEMVER_TEMP = /tmp/semver-724437843 16:38:37 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 16:38:38 # '/tmp/semver-724437843' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' 16:38:38 # -> Force: false 16:38:38 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } 16:38:38 $ docker exec --env ******** --env ******** 8733ff523bca36f41b53d8db35b1fea41c48e57f431676b1bfe50be714838e35 ssh-agent -k 16:38:39 unset SSH_AUTH_SOCK; 16:38:39 unset SSH_AGENT_PID; 16:38:39 echo Agent pid 50 killed; 16:38:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:38:40 + git semver [Pipeline] } 16:38:40 $ docker stop --time=1 8733ff523bca36f41b53d8db35b1fea41c48e57f431676b1bfe50be714838e35 16:38:41 $ docker rm -f 8733ff523bca36f41b53d8db35b1fea41c48e57f431676b1bfe50be714838e35 [Pipeline] // withDockerContainer [Pipeline] sh 16:38:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:38:44 Stashed 1 file(s) [Pipeline] echo 16:38:44 [edgeXSemver]: initialized semver on version 1.3.2-dev.12 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 16:38:59 Still waiting to schedule task 16:38:59 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4717’ 16:38:59 Still waiting to schedule task 16:38:59 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline 16:40:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4719 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws 16:40:54 Running in /w/workspace/device-sdk-c/64 [Pipeline] { [Pipeline] checkout 16:40:59 using credential edgex-jenkins-ssh 16:40:59 Cloning the remote Git repository 16:40:59 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:41:00 > git init /w/workspace/device-sdk-c/64 # timeout=10 16:41:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:41:00 > git --version # timeout=10 16:41:00 > git --version # 'git version 2.17.1' 16:41:00 using GIT_SSH to set credentials SSH Credentials for GitHub 16:41:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:41:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:41:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:41:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:41:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:41:01 using GIT_SSH to set credentials SSH Credentials for GitHub 16:41:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:41:02 Checking out Revision 3284203db036fb577a63a0fff870deb676f4920e (master) 16:41:02 > git config core.sparsecheckout # timeout=10 16:41:02 > git checkout -f 3284203db036fb577a63a0fff870deb676f4920e # timeout=10 16:41:06 Commit message: "feat: add MQTT and Redis options for pushing events (#258) (#343)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:41:08 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:41:08 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:41:08 + sudo service docker restart 16:41:08 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:41:11 provisioning config files... 16:41:11 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/64@tmp/config7204140583926427531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:12 ---> docker-login.sh 16:41:12 nexus3.edgexfoundry.org:10001 16:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:13 Configure a credential helper to remove this warning. See 16:41:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:13 16:41:13 Login Succeeded 16:41:13 nexus3.edgexfoundry.org:10002 16:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:13 Configure a credential helper to remove this warning. See 16:41:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:13 16:41:13 Login Succeeded 16:41:13 nexus3.edgexfoundry.org:10003 16:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:14 Configure a credential helper to remove this warning. See 16:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:14 16:41:14 Login Succeeded 16:41:14 nexus3.edgexfoundry.org:10004 16:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:15 Configure a credential helper to remove this warning. See 16:41:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:15 16:41:15 Login Succeeded 16:41:15 docker.io 16:41:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:15 Configure a credential helper to remove this warning. See 16:41:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:15 16:41:15 Login Succeeded 16:41:15 ---> docker-login.sh ends [Pipeline] } 16:41:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:41:15 ========================================================= 16:41:15 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 16:41:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:41:16 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 16:41:16 Sending build context to Docker daemon 2.471MB 16:41:16 Step 1/25 : ARG BASE=alpine:3.12 16:41:16 Step 2/25 : FROM ${BASE} as builder 16:41:16 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 16:41:16 0362ad1dd800: Pulling fs layer 16:41:16 f2cdb1532d8b: Pulling fs layer 16:41:16 37ed683be191: Pulling fs layer 16:41:16 f2cdb1532d8b: Download complete 16:41:16 0362ad1dd800: Verifying Checksum 16:41:16 0362ad1dd800: Download complete 16:41:17 0362ad1dd800: Pull complete 16:41:17 f2cdb1532d8b: Pull complete 16:41:19 37ed683be191: Verifying Checksum 16:41:19 37ed683be191: Download complete 16:41:29 37ed683be191: Pull complete 16:41:29 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 16:41:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 16:41:29 ---> b23d30803547 16:41:29 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:41:29 ---> Running in a6821fa4f514 16:41:31 Connecting to iotech.jfrog.io (54.229.110.245:443) 16:41:31 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:41:31 16:41:32 Removing intermediate container a6821fa4f514 16:41:32 ---> d2c75b9710e5 16:41:32 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:41:32 ---> Running in f2c7f8b94fdd 16:41:34 Removing intermediate container f2c7f8b94fdd 16:41:34 ---> d69ff38ed34c 16:41:34 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 16:41:34 ---> Running in 6d6318bef258 16:41:36 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:41:37 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:41:38 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:41:38 (1/11) Installing hiredis (0.14.0-r0) 16:41:38 (2/11) Installing hiredis-dev (0.14.0-r0) 16:41:38 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 16:41:39 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 16:41:41 (5/11) Installing libuuid (2.33-r0) 16:41:41 (6/11) Installing libblkid (2.33-r0) 16:41:41 (7/11) Installing libfdisk (2.33-r0) 16:41:41 (8/11) Installing libmount (2.33-r0) 16:41:41 (9/11) Installing libsmartcols (2.33-r0) 16:41:41 (10/11) Installing util-linux-dev (2.33-r0) 16:41:42 (11/11) Installing wget (1.20.3-r0) 16:41:42 Executing busybox-1.29.3-r10.trigger 16:41:42 OK: 287 MiB in 86 packages 16:41:43 Removing intermediate container 6d6318bef258 16:41:43 ---> a9da359c3fbd 16:41:43 Step 6/25 : ENV CBOR_VERSION=0.5.0 16:41:43 ---> Running in ff6abd1dcee1 16:41:44 Removing intermediate container ff6abd1dcee1 16:41:44 ---> d8f75dc35d1c 16:41:44 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 16:41:44 ---> Running in 82b98d2fd256 16:41:45 --2021-05-12 16:41:45-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:41:45 Resolving github.com... 140.82.113.3 16:41:45 Connecting to github.com|140.82.113.3|:443... connected. 16:41:45 HTTP request sent, awaiting response... 302 Found 16:41:45 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:41:45 --2021-05-12 16:41:45-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:41:45 Resolving codeload.github.com... 140.82.114.9 16:41:45 Connecting to codeload.github.com|140.82.114.9|:443... connected. 16:41:46 HTTP request sent, awaiting response... 200 OK 16:41:46 Length: unspecified [application/x-gzip] 16:41:46 Saving to: 'STDOUT' 16:41:46  16:41:46 0K .......... .......... .......... .......... .......... 1.38M 16:41:46 50K .......... .......... .......... .......... .......... 2.72M 16:41:46 100K .......... .......... .......... .......... .......... 11.7M 16:41:46 150K .......... .......... .......... .......... .......... 3.42M 16:41:46 200K .......... .......... .......... .......... .......... 14.2M 16:41:46 250K .......... .......... .......... .......... .......... 3.12M 16:41:46 300K .......... .......... .......... .......... .......... 4.09M 16:41:46 350K .......... .......... .......... .......... .......... 5.24M 16:41:46 400K .......... .......... .......... .......... .......... 3.78M 16:41:46 450K .......... .......... .......... .......... .......... 3.62M 16:41:46 500K .......... .......... .......... .......... .......... 8.49M 16:41:46 550K .......... .......... .......... .......... .......... 2.51M 16:41:46 600K .......... .......... .......... .......... .......... 803K 16:41:46 650K .......... .......... .......... .......... .......... 2.16M 16:41:46 700K ..   8.36M=0.2s 16:41:46 16:41:46 2021-05-12 16:41:46 (2.76 MB/s) - written to stdout [719348] 16:41:46 16:41:46 -- The C compiler identification is GNU 8.3.0 16:41:46 -- The CXX compiler identification is GNU 8.3.0 16:41:46 -- Check for working C compiler: /usr/bin/cc 16:41:47 -- Check for working C compiler: /usr/bin/cc -- works 16:41:47 -- Detecting C compiler ABI info 16:41:47 -- Detecting C compiler ABI info - done 16:41:47 -- Detecting C compile features 16:41:48 -- Detecting C compile features - done 16:41:48 -- Check for working CXX compiler: /usr/bin/c++ 16:41:48 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:41:48 -- Detecting CXX compiler ABI info 16:41:48 -- Detecting CXX compiler ABI info - done 16:41:48 -- Detecting CXX compile features 16:41:50 -- Detecting CXX compile features - done 16:41:50 -- Looking for include file endian.h 16:41:50 -- Looking for include file endian.h - found 16:41:50 -- Check if the system is big endian 16:41:50 -- Searching 16 bit integer 16:41:50 -- Looking for sys/types.h 16:41:50 -- Looking for sys/types.h - found 16:41:50 -- Looking for stdint.h 16:41:50 -- Looking for stdint.h - found 16:41:50 -- Looking for stddef.h 16:41:51 -- Looking for stddef.h - found 16:41:51 -- Check size of unsigned short 16:41:51 -- Check size of unsigned short - done 16:41:51 -- Using unsigned short 16:41:51 -- Check if the system is big endian - little endian 16:41:51 -- Check size of size_t 16:41:51 -- Check size of size_t - done 16:41:51 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:41:51 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:41:51 asked CMake to find a package configuration file provided by "cJSON", but 16:41:51 CMake did not find one. 16:41:51 16:41:51 Could not find a package configuration file provided by "cJSON" with any of 16:41:51 the following names: 16:41:51 16:41:51 cJSONConfig.cmake 16:41:51 cjson-config.cmake 16:41:51 16:41:51 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:41:51 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:41:51 provides a separate development package or SDK, be sure it has been 16:41:51 installed. 16:41:51 16:41:51 16:41:51 -- Configuring done 16:41:52 -- Generating done 16:41:52 -- Build files have been written to: /tmp/cbor 16:41:52 Scanning dependencies of target cbor_shared 16:41:52 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:41:53 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:41:53 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:41:53 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:41:54 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:41:54 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:41:55 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:41:55 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:41:55 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:41:55 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:41:56 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:41:56 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:41:56 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:41:57 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:41:57 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:41:57 Running on prd-centos7-docker-4c-2g-4721 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws 16:41:57 Running in /w/workspace/device-sdk-c/64 [Pipeline] { [Pipeline] checkout 16:41:57 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:41:57 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:41:58 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:41:58 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:41:58 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:41:58 [ 40%] Linking C shared library libcbor.so 16:41:58 [ 40%] Built target cbor_shared 16:41:58 Scanning dependencies of target cbor 16:41:58 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:41:59 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:42:00 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:42:00 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:42:01 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:42:01 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:42:02 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:42:02 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:42:02 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:42:03 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:42:03 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:42:03 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:42:04 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:42:04 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:42:04 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:42:05 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:42:05 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:42:05 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:42:05 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:42:06 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:42:06 [ 80%] Linking C static library libcbor.a 16:42:06 [ 80%] Built target cbor 16:42:06 Scanning dependencies of target create_items 16:42:06 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:42:06 [ 84%] Linking C executable create_items 16:42:06 [ 84%] Built target create_items 16:42:06 Scanning dependencies of target readfile 16:42:06 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:42:06 using credential edgex-jenkins-ssh 16:42:06 Cloning the remote Git repository 16:42:07 [ 88%] Linking C executable readfile 16:42:07 [ 88%] Built target readfile 16:42:07 Scanning dependencies of target streaming_parser 16:42:07 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:42:07 [ 92%] Linking C executable streaming_parser 16:42:06 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:42:07 > git init /w/workspace/device-sdk-c/64 # timeout=10 16:42:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:42:07 > git --version # timeout=10 16:42:07 > git --version # 'git version 2.24.3' 16:42:07 using GIT_SSH to set credentials SSH Credentials for GitHub 16:42:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:42:07 [ 92%] Built target streaming_parser 16:42:07 Scanning dependencies of target sort 16:42:07 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:42:07 [ 96%] Linking C executable sort 16:42:07 [ 96%] Built target sort 16:42:07 Scanning dependencies of target hello 16:42:07 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:42:08 [100%] Linking C executable hello 16:42:08 [100%] Built target hello 16:42:08 Install the project... 16:42:08 -- Install configuration: "Release" 16:42:08 -- Installing: /usr/local/include/cbor/configuration.h 16:42:08 -- Installing: /usr/local/lib64/libcbor.a 16:42:08 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:42:08 -- Installing: /usr/local/lib64/libcbor.so.0 16:42:08 -- Installing: /usr/local/lib64/libcbor.so 16:42:08 -- Up-to-date: /usr/local/include/cbor 16:42:08 -- Installing: /usr/local/include/cbor/streaming.h 16:42:08 -- Installing: /usr/local/include/cbor/ints.h 16:42:08 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:42:08 -- Installing: /usr/local/include/cbor/bytestrings.h 16:42:08 -- Installing: /usr/local/include/cbor/encoding.h 16:42:08 -- Installing: /usr/local/include/cbor/serialization.h 16:42:08 -- Installing: /usr/local/include/cbor/data.h 16:42:08 -- Installing: /usr/local/include/cbor/common.h 16:42:08 -- Installing: /usr/local/include/cbor/callbacks.h 16:42:08 -- Installing: /usr/local/include/cbor/strings.h 16:42:08 -- Installing: /usr/local/include/cbor/tags.h 16:42:08 -- Installing: /usr/local/include/cbor/internal 16:42:08 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:42:08 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:42:08 -- Installing: /usr/local/include/cbor/internal/stack.h 16:42:08 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:42:08 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:42:08 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:42:08 -- Installing: /usr/local/include/cbor/arrays.h 16:42:08 -- Installing: /usr/local/include/cbor/maps.h 16:42:08 -- Installing: /usr/local/include/cbor.h 16:42:08 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:42:08 Checking out Revision 3284203db036fb577a63a0fff870deb676f4920e (master) 16:42:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:42:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:42:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:42:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:42:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:42:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:42:08 > git config core.sparsecheckout # timeout=10 16:42:08 > git checkout -f 3284203db036fb577a63a0fff870deb676f4920e # timeout=10 16:42:10 Removing intermediate container 82b98d2fd256 16:42:10 ---> 26520c916c1a 16:42:10 Step 8/25 : RUN mkdir /tmp/sdk 16:42:10 ---> Running in 2f491e43777b 16:42:12 Commit message: "feat: add MQTT and Redis options for pushing events (#258) (#343)" 16:42:12 Removing intermediate container 2f491e43777b 16:42:12 ---> 9a130c78b79f 16:42:12 Step 9/25 : COPY VERSION /tmp/sdk [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:42:13 ---> a2d4c0ac21f1 16:42:13 Step 10/25 : COPY src /tmp/sdk/src 16:42:13 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:42:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:42:14 ---> 859067853c95 16:42:14 Step 11/25 : COPY include /tmp/sdk/include 16:42:14 + true 16:42:14 + sudo service docker restart 16:42:14 Redirecting to /bin/systemctl restart docker.service 16:42:14 ---> d837dea541fb 16:42:14 Step 12/25 : COPY scripts /tmp/sdk/scripts 16:42:15 ---> d37e7c640028 16:42:15 Step 13/25 : COPY LICENSE /tmp/sdk 16:42:16 ---> b778e150b40f 16:42:16 Step 14/25 : COPY Attribution.txt /tmp/sdk [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:42:16 provisioning config files... 16:42:16 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/64@tmp/config2023143104266784109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:42:17 ---> docker-login.sh 16:42:17 nexus3.edgexfoundry.org:10001 16:42:17 ---> ab92da7f4170 16:42:17 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:42:17 ---> Running in 83e0acf8d9cf 16:42:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:42:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:42:17 Configure a credential helper to remove this warning. See 16:42:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:42:17 16:42:17 Login Succeeded 16:42:17 nexus3.edgexfoundry.org:10002 16:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:42:18 Configure a credential helper to remove this warning. See 16:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:42:18 16:42:18 Login Succeeded 16:42:18 nexus3.edgexfoundry.org:10003 16:42:18 + CPPCHECK=false 16:42:18 + DOCGEN=false 16:42:18 + TOMLVER=SDK-0.2 16:42:18 + CUTILVER=1.1.4 16:42:18 + '[' 0 -gt 0 ] 16:42:18 + readlink -f ./scripts/build.sh 16:42:18 + dirname /tmp/sdk/scripts/build.sh 16:42:18 + dirname /tmp/sdk/scripts 16:42:18 + ROOT=/tmp/sdk 16:42:18 + cd /tmp/sdk 16:42:18 + '[' '!' -d deps ] 16:42:18 + mkdir deps 16:42:18 + tar -C deps -z -x -f - 16:42:18 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:42:18 --2021-05-12 16:42:18-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:42:18 Configure a credential helper to remove this warning. See 16:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:42:18 16:42:18 Login Succeeded 16:42:18 nexus3.edgexfoundry.org:10004 16:42:18 Resolving github.com... 140.82.114.3 16:42:18 Connecting to github.com|140.82.114.3|:443... connected. 16:42:18 HTTP request sent, awaiting response... 302 Found 16:42:18 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:42:18 --2021-05-12 16:42:18-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:42:18 Resolving codeload.github.com... 140.82.114.9 16:42:18 Connecting to codeload.github.com|140.82.114.9|:443... connected. 16:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:42:18 Configure a credential helper to remove this warning. See 16:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:42:18 16:42:18 Login Succeeded 16:42:18 docker.io 16:42:18 HTTP request sent, awaiting response... 200 OK 16:42:18 Length: unspecified [application/x-gzip] 16:42:18 Saving to: 'STDOUT' 16:42:18  16:42:18 0K .......... ...... 927K=0.02s 16:42:18 16:42:18 2021-05-12 16:42:18 (927 KB/s) - written to stdout [16451] 16:42:18 16:42:18 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:42:18 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:42:18 + tar -C deps -z -x -f - 16:42:18 --2021-05-12 16:42:18-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:42:18 Resolving github.com... 140.82.114.3 16:42:18 Connecting to github.com|140.82.114.3|:443... connected. 16:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:42:19 HTTP request sent, awaiting response... 302 Found 16:42:19 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 16:42:19 --2021-05-12 16:42:18-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 16:42:19 Resolving codeload.github.com... 140.82.114.9 16:42:19 Connecting to codeload.github.com|140.82.114.9|:443... connected. 16:42:19 HTTP request sent, awaiting response... 200 OK 16:42:19 Length: unspecified [application/x-gzip] 16:42:19 Saving to: 'STDOUT' 16:42:19  16:42:19 0K .......... .......... .......... .......... .......... 1.32M 16:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:42:19 Configure a credential helper to remove this warning. See 16:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:42:19 16:42:19 Login Succeeded 16:42:19 ---> docker-login.sh ends [Pipeline] } 16:42:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv 16:42:19 50K .......... .......... .......... .......... .......... 2.37M 16:42:19 100K .......... .......... .......... .......... .......... 7.03M 16:42:19 150K .......... .......... .......  1.52M=0.08s 16:42:19 16:42:19 2021-05-12 16:42:19 (2.11 MB/s) - written to stdout [181796] 16:42:19 16:42:19 + mkdir -p src/c/iot 16:42:19 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 16:42:19 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 16:42:19 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 16:42:19 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 16:42:19 + mkdir -p include/iot 16:42:19 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 16:42:19 + mkdir -p include/iot/os 16:42:19 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 16:42:19 + mkdir -p /tmp/sdk/build/release 16:42:19 + cd /tmp/sdk/build/release 16:42:19 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [Pipeline] unstash 16:42:19 -- The C compiler identification is GNU 8.3.0 16:42:19 -- Check for working C compiler: /usr/bin/cc [Pipeline] echo 16:42:19 ========================================================= 16:42:19 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 16:42:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:42:19 -- Check for working C compiler: /usr/bin/cc -- works 16:42:19 -- Detecting C compiler ABI info 16:42:20 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 16:42:20 -- Detecting C compiler ABI info - done 16:42:20 -- Detecting C compile features 16:42:20 Sending build context to Docker daemon 2.472MB 16:42:20 Step 1/25 : ARG BASE=alpine:3.12 16:42:20 Step 2/25 : FROM ${BASE} as builder 16:42:20 latest: Pulling from edgex-devops/edgex-gcc-base 16:42:20 e7c96db7181b: Pulling fs layer 16:42:20 4c13bbce0fe7: Pulling fs layer 16:42:20 6059c847ac2f: Pulling fs layer 16:42:20 4c13bbce0fe7: Verifying Checksum 16:42:20 4c13bbce0fe7: Download complete 16:42:20 e7c96db7181b: Verifying Checksum 16:42:20 e7c96db7181b: Download complete 16:42:20 -- Detecting C compile features - done 16:42:20 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:42:21 e7c96db7181b: Pull complete 16:42:21 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:42:21 -- Found LIBYAML: /usr/lib/libyaml.so 16:42:21 -- Found LIBUUID: /usr/lib/libuuid.so 16:42:21 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:42:21 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:42:21 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:42:21 -- C SDK 1.3.2-dev.12 for Linux 16:42:21 -- Performing Test CSDK_HAVE_ATOMIC 16:42:21 4c13bbce0fe7: Pull complete 16:42:21 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:42:21 -- Found Curses: /usr/lib/libcurses.so 16:42:21 -- Configuring done 16:42:21 -- Generating done 16:42:21 -- Build files have been written to: /tmp/sdk/build/release 16:42:21 + make all package 16:42:21 + tee release.log 16:42:21 Scanning dependencies of target csdk 16:42:21 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:42:22 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:42:23 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:42:23 6059c847ac2f: Verifying Checksum 16:42:23 6059c847ac2f: Download complete 16:42:24 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:42:25 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:42:25 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:42:26 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:42:26 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:42:26 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:42:28 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:42:29 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:42:29 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:42:30 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:42:31 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:42:31 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:42:31 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:42:31 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:42:34 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:42:34 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:42:34 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:42:35 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:42:35 6059c847ac2f: Pull complete 16:42:35 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 16:42:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 16:42:35 ---> 5eabd8fd8ba2 16:42:35 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:42:35 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:42:36 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:42:36 ---> Running in 97176aab3b10 16:42:37 Connecting to iotech.jfrog.io (54.229.110.245:443) 16:42:38 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:42:38 16:42:39 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:42:39 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:42:39 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:42:39 Removing intermediate container 97176aab3b10 16:42:39 ---> 337a115d63ec 16:42:39 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:42:39 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:42:39 ---> Running in 9f938e252695 16:42:40 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:42:40 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:42:41 Removing intermediate container 9f938e252695 16:42:41 ---> 82577740bfb0 16:42:41 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 16:42:41 ---> Running in 2d81cdb406ce 16:42:41 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:42:41 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:42:42 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:42:42 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:42:42 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:42:42 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:42:43 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:42:43 (1/11) Installing hiredis (0.14.0-r0) 16:42:43 (2/11) Installing hiredis-dev (0.14.0-r0) 16:42:43 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 16:42:43 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 16:42:44 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:42:44 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:42:45 (5/11) Installing libuuid (2.33-r0) 16:42:45 (6/11) Installing libblkid (2.33-r0) 16:42:45 (7/11) Installing libfdisk (2.33-r0) 16:42:45 (8/11) Installing libmount (2.33-r0) 16:42:45 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:42:45 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:42:45 (9/11) Installing libsmartcols (2.33-r0) 16:42:45 (10/11) Installing util-linux-dev (2.33-r0) 16:42:46 (11/11) Installing wget (1.20.3-r0) 16:42:46 Executing busybox-1.29.3-r10.trigger 16:42:46 OK: 273 MiB in 86 packages 16:42:47 Removing intermediate container 2d81cdb406ce 16:42:47 ---> a5b2bf4a31e9 16:42:47 Step 6/25 : ENV CBOR_VERSION=0.5.0 16:42:47 ---> Running in 5cbd57b027d9 16:42:48 Removing intermediate container 5cbd57b027d9 16:42:48 ---> 3baa00d85ebe 16:42:48 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 16:42:48 ---> Running in 000911d0562b 16:42:49 --2021-05-12 16:42:48-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:42:49 Resolving github.com... 140.82.114.3 16:42:49 Connecting to github.com|140.82.114.3|:443... connected. 16:42:49 HTTP request sent, awaiting response... 302 Found 16:42:49 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:42:49 --2021-05-12 16:42:49-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:42:49 Resolving codeload.github.com... 140.82.112.9 16:42:49 Connecting to codeload.github.com|140.82.112.9|:443... connected. 16:42:49 HTTP request sent, awaiting response... 200 OK 16:42:49 Length: unspecified [application/x-gzip] 16:42:49 Saving to: 'STDOUT' 16:42:49  16:42:49 0K .......... .......... .......... .......... .......... 1.54M 16:42:49 50K .......... .......... .......... .......... .......... 3.22M 16:42:49 100K .......... .......... .......... .......... .......... 35.1M 16:42:49 150K .......... .......... .......... .......... .......... 48.7M 16:42:49 200K .......... .......... .......... .......... .......... 3.61M 16:42:49 250K .......... .......... .......... .......... .......... 3.90M 16:42:49 300K .......... .......... .......... .......... .......... 5.45M 16:42:49 350K .......... .......... .......... .......... .......... 9.88M 16:42:49 400K .......... .......... .......... .......... .......... 2.86M 16:42:49 450K .......... .......... .......... .......... .......... 17.2M 16:42:49 500K .......... .......... .......... .......... .......... 16.4M 16:42:49 550K .......... .......... .......... .......... .......... 3.97M 16:42:49 600K .......... .......... .......... .......... .......... 1.83M 16:42:49 650K .......... .......... .......... .......... .......... 4.94M 16:42:49 700K .. 19.0M=0.2s 16:42:49 16:42:49 2021-05-12 16:42:49 (4.26 MB/s) - written to stdout [719348] 16:42:49 16:42:49 -- The C compiler identification is GNU 8.3.0 16:42:49 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:42:50 -- The CXX compiler identification is GNU 8.3.0 16:42:50 -- Check for working C compiler: /usr/bin/cc 16:42:50 -- Check for working C compiler: /usr/bin/cc -- works 16:42:50 -- Detecting C compiler ABI info 16:42:50 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:42:50 -- Detecting C compiler ABI info - done 16:42:50 -- Detecting C compile features 16:42:50 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:42:50 -- Detecting C compile features - done 16:42:50 -- Check for working CXX compiler: /usr/bin/c++ 16:42:50 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:42:50 -- Detecting CXX compiler ABI info 16:42:50 -- Detecting CXX compiler ABI info - done 16:42:50 -- Detecting CXX compile features 16:42:51 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:42:51 -- Detecting CXX compile features - done 16:42:51 -- Looking for include file endian.h 16:42:51 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:42:51 -- Looking for include file endian.h - found 16:42:51 -- Check if the system is big endian 16:42:51 -- Searching 16 bit integer 16:42:51 -- Looking for sys/types.h 16:42:52 -- Looking for sys/types.h - found 16:42:52 -- Looking for stdint.h 16:42:52 -- Looking for stdint.h - found 16:42:52 -- Looking for stddef.h 16:42:52 -- Looking for stddef.h - found 16:42:52 -- Check size of unsigned short 16:42:52 -- Check size of unsigned short - done 16:42:52 -- Using unsigned short 16:42:52 -- Check if the system is big endian - little endian 16:42:52 -- Check size of size_t 16:42:52 -- Check size of size_t - done 16:42:52 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:42:52 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:42:52 asked CMake to find a package configuration file provided by "cJSON", but 16:42:52 CMake did not find one. 16:42:52 16:42:52 Could not find a package configuration file provided by "cJSON" with any of 16:42:52 the following names: 16:42:52 16:42:52 cJSONConfig.cmake 16:42:52 cjson-config.cmake 16:42:52 16:42:52 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:42:52 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:42:52 provides a separate development package or SDK, be sure it has been 16:42:52 installed. 16:42:52 16:42:52 16:42:52 -- Configuring done 16:42:52 -- Generating done 16:42:52 -- Build files have been written to: /tmp/cbor 16:42:52 Scanning dependencies of target cbor_shared 16:42:52 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:42:53 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:42:53 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:42:53 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:42:53 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:42:54 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:42:54 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:42:54 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:42:54 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:42:54 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:42:55 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:42:55 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:42:55 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:42:55 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:42:55 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:42:55 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:42:55 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:42:55 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:42:56 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:42:56 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:42:56 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:42:56 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:42:56 [ 40%] Linking C shared library libcbor.so 16:42:56 [ 40%] Built target cbor_shared 16:42:56 Scanning dependencies of target cbor 16:42:56 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:42:57 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:42:57 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:42:57 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:42:58 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:42:58 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:42:58 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:42:58 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:42:58 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:42:58 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:42:58 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:42:58 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:42:58 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:42:58 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:42:59 [ 74%] Linking C shared library libcsdk.so 16:42:59 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:42:59 [ 74%] Built target csdk 16:42:59 Scanning dependencies of target template 16:42:59 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:42:59 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:42:59 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:42:59 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:42:59 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:42:59 [ 77%] Linking C executable template 16:43:00 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:43:00 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:43:00 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:43:00 [ 77%] Built target template 16:43:00 Scanning dependencies of target device-counter 16:43:00 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:43:00 [ 80%] Linking C static library libcbor.a 16:43:00 [ 80%] Built target cbor 16:43:00 Scanning dependencies of target create_items 16:43:00 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:43:00 [ 84%] Linking C executable create_items 16:43:00 [ 80%] Linking C executable device-counter 16:43:00 [ 84%] Built target create_items 16:43:00 Scanning dependencies of target readfile 16:43:00 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:43:00 [ 88%] Linking C executable readfile 16:43:00 [ 88%] Built target readfile 16:43:00 Scanning dependencies of target streaming_parser 16:43:00 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:43:00 [ 80%] Built target device-counter 16:43:00 Scanning dependencies of target device-random 16:43:00 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:43:00 [ 92%] Linking C executable streaming_parser 16:43:00 [ 92%] Built target streaming_parser 16:43:00 Scanning dependencies of target sort 16:43:00 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:43:00 [ 96%] Linking C executable sort 16:43:00 [ 96%] Built target sort 16:43:01 Scanning dependencies of target hello 16:43:01 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:43:01 [100%] Linking C executable hello 16:43:01 [100%] Built target hello 16:43:01 Install the project... 16:43:01 -- Install configuration: "Release" 16:43:01 -- Installing: /usr/local/include/cbor/configuration.h 16:43:01 -- Installing: /usr/local/lib64/libcbor.a 16:43:01 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:43:01 -- Installing: /usr/local/lib64/libcbor.so.0 16:43:01 -- Installing: /usr/local/lib64/libcbor.so 16:43:01 -- Up-to-date: /usr/local/include/cbor 16:43:01 -- Installing: /usr/local/include/cbor/arrays.h 16:43:01 -- Installing: /usr/local/include/cbor/bytestrings.h 16:43:01 -- Installing: /usr/local/include/cbor/callbacks.h 16:43:01 -- Installing: /usr/local/include/cbor/common.h 16:43:01 -- Installing: /usr/local/include/cbor/data.h 16:43:01 -- Installing: /usr/local/include/cbor/encoding.h 16:43:01 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:43:01 -- Installing: /usr/local/include/cbor/internal 16:43:01 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:43:01 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:43:01 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:43:01 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:43:01 -- Installing: /usr/local/include/cbor/internal/stack.h 16:43:01 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:43:01 -- Installing: /usr/local/include/cbor/ints.h 16:43:01 -- Installing: /usr/local/include/cbor/maps.h 16:43:01 -- Installing: /usr/local/include/cbor/serialization.h 16:43:01 -- Installing: /usr/local/include/cbor/streaming.h 16:43:01 -- Installing: /usr/local/include/cbor/strings.h 16:43:01 -- Installing: /usr/local/include/cbor/tags.h 16:43:01 -- Installing: /usr/local/include/cbor.h 16:43:01 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:43:01 [ 84%] Linking C executable device-random 16:43:01 [ 84%] Built target device-random 16:43:01 Scanning dependencies of target device-gyro 16:43:01 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:43:01 [ 87%] Linking C executable device-gyro 16:43:02 [ 87%] Built target device-gyro 16:43:02 Scanning dependencies of target device-bitfields 16:43:02 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:43:02 [ 90%] Linking C executable device-bitfields 16:43:02 [ 90%] Built target device-bitfields 16:43:02 Scanning dependencies of target template-discovery 16:43:02 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:43:03 Removing intermediate container 000911d0562b 16:43:03 ---> 668d298aff17 16:43:03 Step 8/25 : RUN mkdir /tmp/sdk 16:43:03 ---> Running in 4dd389a0de11 16:43:03 [ 93%] Linking C executable template-discovery 16:43:03 [ 93%] Built target template-discovery 16:43:03 Scanning dependencies of target device-file 16:43:03 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:43:04 [ 96%] Linking C executable device-file 16:43:04 [ 96%] Built target device-file 16:43:04 Scanning dependencies of target device-terminal 16:43:04 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:43:05 [100%] Linking C executable device-terminal 16:43:05 [100%] Built target device-terminal 16:43:05 Removing intermediate container 4dd389a0de11 16:43:05 ---> eef8e606d426 16:43:05 Step 9/25 : COPY VERSION /tmp/sdk 16:43:05 Run CPack packaging tool... 16:43:05 CPack: Create package using TGZ 16:43:05 CPack: Install projects 16:43:05 CPack: - Run preinstall target for: Csdk 16:43:05 ---> 5e3943a33af6 16:43:05 Step 10/25 : COPY src /tmp/sdk/src 16:43:06 CPack: - Install project: Csdk 16:43:06 CPack: Create package 16:43:06 CPack: - package: /tmp/sdk/build/release/csdk-1.3.2-dev.12.tar.gz generated. 16:43:06 + '[' false '=' true ] 16:43:06 + '[' false '=' true ] 16:43:06 + mkdir -p /tmp/sdk/build/debug 16:43:06 + cd /tmp/sdk/build/debug 16:43:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:43:06 -- The C compiler identification is GNU 8.3.0 16:43:06 -- Check for working C compiler: /usr/bin/cc 16:43:06 -- Check for working C compiler: /usr/bin/cc -- works 16:43:06 -- Detecting C compiler ABI info 16:43:06 -- Detecting C compiler ABI info - done 16:43:06 -- Detecting C compile features 16:43:07 -- Detecting C compile features - done 16:43:07 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:43:07 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:43:07 -- Found LIBYAML: /usr/lib/libyaml.so 16:43:07 -- Found LIBUUID: /usr/lib/libuuid.so 16:43:07 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:43:07 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:43:07 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:43:07 -- C SDK 1.3.2-dev.12 for Linux 16:43:07 -- Performing Test CSDK_HAVE_ATOMIC 16:43:07 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:43:07 -- Found Curses: /usr/lib/libcurses.so 16:43:08 -- Configuring done 16:43:08 ---> 2bcefeed6914 16:43:08 Step 11/25 : COPY include /tmp/sdk/include 16:43:08 -- Generating done 16:43:08 -- Build files have been written to: /tmp/sdk/build/debug 16:43:08 + make+ 16:43:08 tee debug.log 16:43:08 Scanning dependencies of target csdk 16:43:08 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:43:08 ---> 5934d5ad1c97 16:43:08 Step 12/25 : COPY scripts /tmp/sdk/scripts 16:43:08 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:43:09 ---> 2c0b7fe43483 16:43:09 Step 13/25 : COPY LICENSE /tmp/sdk 16:43:09 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:43:09 ---> 6a8f18c5c943 16:43:09 Step 14/25 : COPY Attribution.txt /tmp/sdk 16:43:09 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:43:10 ---> bb9129699fa0 16:43:10 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:43:10 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:43:10 ---> Running in aa23cf3e0221 16:43:10 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:43:10 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:43:10 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:43:10 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:43:11 + CPPCHECK=false 16:43:11 + DOCGEN=false 16:43:11 + TOMLVER=SDK-0.2 16:43:11 + CUTILVER=1.1.4 16:43:11 + '[' 0 -gt 0 ] 16:43:11 + readlink -f ./scripts/build.sh 16:43:11 + dirname /tmp/sdk/scripts/build.sh 16:43:11 + dirname /tmp/sdk/scripts 16:43:11 + ROOT=/tmp/sdk 16:43:11 + cd /tmp/sdk 16:43:11 + '[' '!' -d deps ] 16:43:11 + mkdir deps 16:43:11 + tar -C deps -z -x -f - 16:43:11 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:43:11 --2021-05-12 16:43:10-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:43:11 Resolving github.com... 140.82.114.3 16:43:11 Connecting to github.com|140.82.114.3|:443... connected. 16:43:11 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:43:11 HTTP request sent, awaiting response... 302 Found 16:43:11 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:43:11 --2021-05-12 16:43:11-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:43:11 Resolving codeload.github.com... 140.82.112.9 16:43:11 Connecting to codeload.github.com|140.82.112.9|:443... connected. 16:43:11 HTTP request sent, awaiting response... 200 OK 16:43:11 Length: unspecified [application/x-gzip] 16:43:11 Saving to: 'STDOUT' 16:43:11 16:43:11 0K .......... ......   895K=0.02s 16:43:11 16:43:11 2021-05-12 16:43:11 (895 KB/s) - written to stdout [16451] 16:43:11 16:43:11 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:43:11 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:43:11 + tar -C deps -z -x -f - 16:43:11 --2021-05-12 16:43:11-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:43:11 Resolving github.com... 140.82.114.3 16:43:11 Connecting to github.com|140.82.114.3|:443... connected. 16:43:11 HTTP request sent, awaiting response... 302 Found 16:43:11 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 16:43:11 --2021-05-12 16:43:11-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 16:43:11 Resolving codeload.github.com... 140.82.112.9 16:43:11 Connecting to codeload.github.com|140.82.112.9|:443... connected. 16:43:11 HTTP request sent, awaiting response... 200 OK 16:43:11 Length: unspecified [application/x-gzip] 16:43:11 Saving to: 'STDOUT' 16:43:11  16:43:11 0K .......... .......... .......... .......... .......... 1.17M 16:43:11 50K .......... .......... .......... .......... .......... 2.82M 16:43:11 100K .......... .......... .......... .......... .......... 34.3M 16:43:11 150K .......... .......... ....... 1.93M=0.07s 16:43:11 16:43:11 2021-05-12 16:43:11 (2.33 MB/s) - written to stdout [181796] 16:43:11 16:43:11 + mkdir -p src/c/iot 16:43:11 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 16:43:11 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 16:43:11 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 16:43:11 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 16:43:11 + mkdir -p include/iot 16:43:11 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 16:43:11 + mkdir -p include/iot/os 16:43:11 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 16:43:11 + mkdir -p /tmp/sdk/build/release 16:43:11 + cd /tmp/sdk/build/release 16:43:11 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:43:12 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:43:12 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:43:12 -- The C compiler identification is GNU 8.3.0 16:43:12 -- Check for working C compiler: /usr/bin/cc 16:43:12 -- Check for working C compiler: /usr/bin/cc -- works 16:43:12 -- Detecting C compiler ABI info 16:43:12 -- Detecting C compiler ABI info - done 16:43:12 -- Detecting C compile features 16:43:12 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:43:12 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:43:12 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:43:13 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:43:13 -- Detecting C compile features - done 16:43:13 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:43:13 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:43:13 -- Found LIBYAML: /usr/lib/libyaml.so 16:43:13 -- Found LIBUUID: /usr/lib/libuuid.so 16:43:13 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:43:13 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:43:13 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:43:13 -- C SDK 1.3.2-dev.12 for Linux 16:43:13 -- Performing Test CSDK_HAVE_ATOMIC 16:43:13 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:43:13 -- Found Curses: /usr/lib/libcurses.so 16:43:13 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:43:13 -- Configuring done 16:43:13 -- Generating done 16:43:13 -- Build files have been written to: /tmp/sdk/build/release 16:43:13 + make all package 16:43:13 + tee release.log 16:43:13 Scanning dependencies of target csdk 16:43:13 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:43:14 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:43:14 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:43:14 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:43:14 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:43:14 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:43:14 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:43:14 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:43:15 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:43:15 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:43:15 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:43:15 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:43:16 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:43:16 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:43:16 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:43:16 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:43:16 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:43:16 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:43:16 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:43:17 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:43:17 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:43:17 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:43:17 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:43:17 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:43:17 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:43:17 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:43:17 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:43:17 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:43:18 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:43:18 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:43:18 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:43:18 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:43:18 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:43:18 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:43:18 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:43:19 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:43:19 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:43:19 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:43:20 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:43:20 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:43:20 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:43:20 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:43:20 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:43:20 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:43:20 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:43:20 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:43:20 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:43:21 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:43:21 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:43:21 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:43:21 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:43:22 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:43:22 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:43:22 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:43:22 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:43:22 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:43:22 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:43:23 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:43:23 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:43:23 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:43:23 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:43:23 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:43:23 [ 74%] Linking C shared library libcsdk.so 16:43:24 [ 74%] Built target csdk 16:43:24 Scanning dependencies of target template 16:43:24 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:43:24 [ 77%] Linking C executable template 16:43:24 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:43:24 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:43:24 [ 77%] Built target template 16:43:24 Scanning dependencies of target device-counter 16:43:24 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:43:24 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:43:24 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:43:24 [ 80%] Linking C executable device-counter 16:43:25 [ 80%] Built target device-counter 16:43:25 Scanning dependencies of target device-random 16:43:25 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:43:25 [ 84%] Linking C executable device-random 16:43:25 [ 84%] Built target device-random 16:43:25 Scanning dependencies of target device-gyro 16:43:25 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:43:26 [ 87%] Linking C executable device-gyro 16:43:26 [ 87%] Built target device-gyro 16:43:26 Scanning dependencies of target device-bitfields 16:43:26 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:43:26 [ 90%] Linking C executable device-bitfields 16:43:26 [ 90%] Built target device-bitfields 16:43:26 Scanning dependencies of target template-discovery 16:43:26 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:43:26 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:43:26 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:43:27 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:43:27 [ 93%] Linking C executable template-discovery 16:43:27 [ 93%] Built target template-discovery 16:43:27 Scanning dependencies of target device-file 16:43:27 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:43:27 [ 96%] Linking C executable device-file 16:43:27 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:43:27 [ 96%] Built target device-file 16:43:27 Scanning dependencies of target device-terminal 16:43:27 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:43:27 [100%] Linking C executable device-terminal 16:43:28 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:43:28 [100%] Built target device-terminal 16:43:28 make: Entering directory '/tmp/sdk/build/release' 16:43:28 make[1]: Entering directory '/tmp/sdk/build/release' 16:43:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:28 [ 74%] Built target csdk 16:43:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:28 [ 77%] Built target template 16:43:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:28 [ 80%] Built target device-counter 16:43:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:28 [ 84%] Built target device-random 16:43:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:28 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:43:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:28 [ 87%] Built target device-gyro 16:43:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:28 [ 90%] Built target device-bitfields 16:43:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:28 [ 93%] Built target template-discovery 16:43:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:28 [ 96%] Built target device-file 16:43:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:28 [100%] Built target device-terminal 16:43:28 make[1]: Leaving directory '/tmp/sdk/build/release' 16:43:28 Install the project... 16:43:28 -- Install configuration: "Release" 16:43:28 -- Installing: /usr/local/lib/libcsdk.so 16:43:28 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:43:28 -- Up-to-date: /usr/local/include 16:43:28 -- Installing: /usr/local/include/edgex 16:43:28 -- Installing: /usr/local/include/edgex/rest-server.h 16:43:28 -- Installing: /usr/local/include/edgex/edgex-base.h 16:43:28 -- Installing: /usr/local/include/edgex/edgex.h 16:43:28 -- Installing: /usr/local/include/edgex/devices.h 16:43:28 -- Installing: /usr/local/include/edgex/profiles.h 16:43:28 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:43:28 -- Installing: /usr/local/include/devsdk 16:43:28 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:43:28 -- Installing: /usr/local/include/devsdk/devsdk.h 16:43:28 -- Installing: /usr/local/include/iot 16:43:28 -- Installing: /usr/local/include/iot/json.h 16:43:28 -- Installing: /usr/local/include/iot/container.h 16:43:28 -- Installing: /usr/local/include/iot/component.h 16:43:28 -- Installing: /usr/local/include/iot/typecode.h 16:43:28 -- Installing: /usr/local/include/iot/iot.h 16:43:28 -- Installing: /usr/local/include/iot/time.h 16:43:28 -- Installing: /usr/local/include/iot/hash.h 16:43:28 -- Installing: /usr/local/include/iot/logger.h 16:43:28 -- Installing: /usr/local/include/iot/os 16:43:28 -- Installing: /usr/local/include/iot/os/zephyr.h 16:43:28 -- Installing: /usr/local/include/iot/os/linux.h 16:43:28 -- Installing: /usr/local/include/iot/os/macos.h 16:43:28 -- Installing: /usr/local/include/iot/scheduler.h 16:43:28 -- Installing: /usr/local/include/iot/data.h 16:43:28 -- Installing: /usr/local/include/iot/thread.h 16:43:28 -- Installing: /usr/local/include/iot/os.h 16:43:28 -- Installing: /usr/local/include/iot/base64.h 16:43:29 -- Installing: /usr/local/include/iot/defs.h 16:43:29 -- Installing: /usr/local/include/iot/threadpool.h 16:43:29 -- Installing: /usr/local/include/iot/config.h 16:43:29 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:43:29 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:43:29 make: Leaving directory '/tmp/sdk/build/release' 16:43:29 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:43:31 Removing intermediate container 83e0acf8d9cf 16:43:31 ---> 0750e3dc9aa3 16:43:31 Step 16/25 : FROM ${BASE} 16:43:31 ---> b23d30803547 16:43:31 Step 17/25 : LABEL maintainer="IOTech " 16:43:31 ---> Running in 49e9a8622a6d 16:43:31 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:43:31 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:43:31 Removing intermediate container 49e9a8622a6d 16:43:31 ---> 1eb868566e3b 16:43:31 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:43:31 ---> Running in 4d275b201803 16:43:32 [ 74%] Linking C shared library libcsdk.so 16:43:32 [ 74%] Built target csdk 16:43:32 Scanning dependencies of target template 16:43:32 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:43:32 [ 77%] Linking C executable template 16:43:32 [ 77%] Built target template 16:43:32 Scanning dependencies of target device-counter 16:43:32 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:43:33 [ 80%] Linking C executable device-counter 16:43:33 [ 80%] Built target device-counter 16:43:33 Scanning dependencies of target device-random 16:43:33 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:43:33 Connecting to iotech.jfrog.io (54.74.239.58:443) 16:43:33 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:43:33 16:43:33 [ 84%] Linking C executable device-random 16:43:33 [ 84%] Built target device-random 16:43:33 Scanning dependencies of target device-gyro 16:43:33 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:43:34 [ 87%] Linking C executable device-gyro 16:43:34 [ 87%] Built target device-gyro 16:43:34 Scanning dependencies of target device-bitfields 16:43:34 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:43:34 [ 90%] Linking C executable device-bitfields 16:43:34 [ 90%] Built target device-bitfields 16:43:34 Scanning dependencies of target template-discovery 16:43:34 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:43:34 Removing intermediate container 4d275b201803 16:43:34 ---> 69cdfe37a1d6 16:43:34 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:43:34 ---> Running in f63f9a62716c 16:43:34 [ 93%] Linking C executable template-discovery 16:43:35 [ 93%] Built target template-discovery 16:43:35 Scanning dependencies of target device-file 16:43:35 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:43:36 [ 96%] Linking C executable device-file 16:43:36 [ 96%] Built target device-file 16:43:36 Scanning dependencies of target device-terminal 16:43:36 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:43:36 [100%] Linking C executable device-terminal 16:43:36 Removing intermediate container f63f9a62716c 16:43:36 ---> 5d195924886c 16:43:36 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 16:43:36 ---> Running in df011e4b1802 16:43:36 [100%] Built target device-terminal 16:43:36 Run CPack packaging tool... 16:43:37 CPack: Create package using TGZ 16:43:37 CPack: Install projects 16:43:37 CPack: - Run preinstall target for: Csdk 16:43:37 CPack: - Install project: Csdk 16:43:37 CPack: Create package 16:43:37 CPack: - package: /tmp/sdk/build/release/csdk-1.3.2-dev.12.tar.gz generated. 16:43:37 + '[' false '=' true ] 16:43:37 + '[' false '=' true ] 16:43:37 + mkdir -p /tmp/sdk/build/debug 16:43:37 + cd /tmp/sdk/build/debug 16:43:37 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:43:37 -- The C compiler identification is GNU 8.3.0 16:43:37 -- Check for working C compiler: /usr/bin/cc 16:43:37 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:43:37 -- Check for working C compiler: /usr/bin/cc -- works 16:43:37 -- Detecting C compiler ABI info 16:43:38 -- Detecting C compiler ABI info - done 16:43:38 -- Detecting C compile features 16:43:38 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:43:38 -- Detecting C compile features - done 16:43:38 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:43:38 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:43:38 -- Found LIBYAML: /usr/lib/libyaml.so 16:43:38 -- Found LIBUUID: /usr/lib/libuuid.so 16:43:38 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:43:38 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:43:38 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:43:38 -- C SDK 1.3.2-dev.12 for Linux 16:43:38 -- Performing Test CSDK_HAVE_ATOMIC 16:43:39 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:43:39 -- Found Curses: /usr/lib/libcurses.so 16:43:39 -- Configuring done 16:43:39 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:43:39 -- Generating done 16:43:39 -- Build files have been written to: /tmp/sdk/build/debug 16:43:39 + tee debug.log 16:43:39 + make 16:43:39 Scanning dependencies of target csdk 16:43:39 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:43:39 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:43:39 (1/6) Installing curl (7.64.0-r5) 16:43:39 (2/6) Installing hiredis (0.14.0-r0) 16:43:40 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:43:40 (3/6) Installing hiredis-dev (0.14.0-r0) 16:43:40 (4/6) Installing libuuid (2.33-r0) 16:43:40 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:43:40 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 16:43:40 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:43:40 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:43:40 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:43:41 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:43:41 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:43:41 (6/6) Installing wget (1.20.3-r0) 16:43:41 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:43:41 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:43:42 Executing busybox-1.29.3-r10.trigger 16:43:42 OK: 283 MiB in 81 packages 16:43:42 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:43:42 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:43:42 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:43:42 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:43:42 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:43:42 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:43:43 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:43:43 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:43:43 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:43:43 Removing intermediate container df011e4b1802 16:43:43 ---> a6017e08d500 16:43:43 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:43:43 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:43:43 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:43:43 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:43:44 ---> 9a45d6ea0b18 16:43:44 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:43:44 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:43:44 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:43:44 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:43:44 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:43:44 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:43:45 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:43:45 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:43:45 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:43:45 ---> 904ab761003c 16:43:45 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 16:43:45 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:43:45 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:43:45 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:43:45 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:43:45 ---> 92fb91f1e485 16:43:45 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:43:45 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:43:46 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:43:46 ---> 96f14b5e2914 16:43:46 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:43:46 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:43:47 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:43:47 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:43:47 ---> f688405b8870 16:43:47 Successfully built f688405b8870 16:43:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:43:47 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:43:47 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:43:47 + docker inspect -f . ci-base-image-arm64 16:43:47 . [Pipeline] withDockerContainer 16:43:48 prd-ubuntu18.04-docker-arm64-4c-16g-4719 does not seem to be running inside a container 16:43:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/64 -v /w/workspace/device-sdk-c/64:/w/workspace/device-sdk-c/64:rw,z -v /w/workspace/device-sdk-c/64@tmp:/w/workspace/device-sdk-c/64@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 ******** ci-base-image-arm64 cat 16:43:48 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:43:48 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:43:48 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:43:48 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:43:48 [ 74%] Linking C shared library libcsdk.so 16:43:49 [ 74%] Built target csdk 16:43:49 Scanning dependencies of target template 16:43:49 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:43:49 [ 77%] Linking C executable template 16:43:49 $ docker top d43d35c054c7ae8982cc502110bf611617e959bbeabc87d5f0aac9acd6327c70 -eo pid,comm 16:43:49 [ 77%] Built target template 16:43:49 Scanning dependencies of target device-counter 16:43:49 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:43:49 [ 80%] Linking C executable device-counter [Pipeline] { [Pipeline] sh 16:43:50 [ 80%] Built target device-counter 16:43:50 Scanning dependencies of target device-random 16:43:50 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:43:50 [ 84%] Linking C executable device-random 16:43:50 [ 84%] Built target device-random 16:43:50 Scanning dependencies of target device-gyro 16:43:50 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:43:50 [ 87%] Linking C executable device-gyro 16:43:50 [ 87%] Built target device-gyro 16:43:50 + make test 16:43:50 echo "make test" 16:43:50 make test [Pipeline] } 16:43:50 $ docker stop --time=1 d43d35c054c7ae8982cc502110bf611617e959bbeabc87d5f0aac9acd6327c70 16:43:50 Scanning dependencies of target device-bitfields 16:43:50 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:43:50 [ 90%] Linking C executable device-bitfields 16:43:51 [ 90%] Built target device-bitfields 16:43:51 Scanning dependencies of target template-discovery 16:43:51 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:43:51 [ 93%] Linking C executable template-discovery 16:43:51 [ 93%] Built target template-discovery 16:43:51 Scanning dependencies of target device-file 16:43:51 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:43:51 [ 96%] Linking C executable device-file 16:43:51 [ 96%] Built target device-file 16:43:51 Scanning dependencies of target device-terminal 16:43:51 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:43:52 [100%] Linking C executable device-terminal 16:43:52 $ docker rm -f d43d35c054c7ae8982cc502110bf611617e959bbeabc87d5f0aac9acd6327c70 16:43:52 [100%] Built target device-terminal 16:43:52 make: Entering directory '/tmp/sdk/build/release' 16:43:52 make[1]: Entering directory '/tmp/sdk/build/release' 16:43:52 make[2]: Entering directory '/tmp/sdk/build/release' [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 16:43:52 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:52 [ 74%] Built target csdk 16:43:52 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:52 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:52 [ 77%] Built target template 16:43:52 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:52 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:52 [ 80%] Built target device-counter 16:43:52 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:52 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:52 [ 84%] Built target device-random 16:43:53 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:53 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:53 [ 87%] Built target device-gyro 16:43:53 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:53 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:53 [ 90%] Built target device-bitfields 16:43:53 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:53 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:53 [ 93%] Built target template-discovery 16:43:53 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:53 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:53 [ 96%] Built target device-file 16:43:53 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:53 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:53 [100%] Built target device-terminal 16:43:53 make[1]: Leaving directory '/tmp/sdk/build/release' 16:43:53 Install the project... 16:43:53 -- Install configuration: "Release" 16:43:53 -- Installing: /usr/local/lib/libcsdk.so 16:43:53 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:43:53 -- Up-to-date: /usr/local/include 16:43:53 -- Installing: /usr/local/include/devsdk 16:43:53 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:43:53 -- Installing: /usr/local/include/devsdk/devsdk.h 16:43:53 -- Installing: /usr/local/include/edgex 16:43:53 -- Installing: /usr/local/include/edgex/devices.h 16:43:53 -- Installing: /usr/local/include/edgex/edgex-base.h 16:43:53 -- Installing: /usr/local/include/edgex/edgex.h 16:43:53 -- Installing: /usr/local/include/edgex/profiles.h 16:43:53 -- Installing: /usr/local/include/edgex/rest-server.h 16:43:53 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:43:53 -- Installing: /usr/local/include/iot 16:43:53 -- Installing: /usr/local/include/iot/base64.h 16:43:53 -- Installing: /usr/local/include/iot/component.h 16:43:53 -- Installing: /usr/local/include/iot/config.h 16:43:53 -- Installing: /usr/local/include/iot/container.h 16:43:53 -- Installing: /usr/local/include/iot/data.h 16:43:53 -- Installing: /usr/local/include/iot/hash.h 16:43:53 -- Installing: /usr/local/include/iot/iot.h 16:43:53 -- Installing: /usr/local/include/iot/json.h 16:43:53 -- Installing: /usr/local/include/iot/logger.h 16:43:53 -- Installing: /usr/local/include/iot/os.h 16:43:53 -- Installing: /usr/local/include/iot/scheduler.h 16:43:53 -- Installing: /usr/local/include/iot/thread.h 16:43:53 -- Installing: /usr/local/include/iot/threadpool.h 16:43:53 -- Installing: /usr/local/include/iot/time.h 16:43:53 -- Installing: /usr/local/include/iot/typecode.h 16:43:53 -- Installing: /usr/local/include/iot/os 16:43:53 -- Installing: /usr/local/include/iot/os/linux.h 16:43:53 -- Installing: /usr/local/include/iot/os/macos.h 16:43:53 -- Installing: /usr/local/include/iot/os/zephyr.h 16:43:53 -- Installing: /usr/local/include/iot/defs.h 16:43:53 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:43:53 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:43:53 make: Leaving directory '/tmp/sdk/build/release' [Pipeline] sh 16:43:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:43:55 + ls -al . 16:43:55 total 192 16:43:55 drwxrwxr-x 8 jenkins jenkins 4096 May 12 16:41 . 16:43:55 drwxrwxr-x 4 jenkins jenkins 4096 May 12 16:41 .. 16:43:55 drwxrwxr-x 8 jenkins jenkins 4096 May 12 16:41 .git 16:43:55 drwxrwxr-x 2 jenkins jenkins 4096 May 12 16:41 .github 16:43:55 -rw-rw-r-- 1 jenkins jenkins 176 May 12 16:41 .gitignore 16:43:55 -rw-rw-r-- 1 jenkins jenkins 3104 May 12 16:41 Attribution.txt 16:43:55 -rw-rw-r-- 1 jenkins jenkins 7200 May 12 16:41 CHANGES 16:43:55 -rw-rw-r-- 1 jenkins jenkins 108574 May 12 16:41 Doxyfile 16:43:55 -rw-rw-r-- 1 jenkins jenkins 784 May 12 16:41 Jenkinsfile 16:43:55 -rw-rw-r-- 1 jenkins jenkins 10174 May 12 16:41 LICENSE 16:43:55 -rw-rw-r-- 1 jenkins jenkins 444 May 12 16:41 Makefile 16:43:55 -rw-rw-r-- 1 jenkins jenkins 4090 May 12 16:41 README.md 16:43:55 -rw-rw-r-- 1 jenkins jenkins 6654 May 12 16:41 README.v2.md 16:43:55 -rw-rw-r-- 1 jenkins jenkins 12 May 12 16:38 VERSION 16:43:55 drwxrwxr-x 2 jenkins jenkins 4096 May 12 16:41 docs 16:43:55 drwxrwxr-x 4 jenkins jenkins 4096 May 12 16:41 include 16:43:55 drwxrwxr-x 2 jenkins jenkins 4096 May 12 16:41 scripts 16:43:55 drwxrwxr-x 4 jenkins jenkins 4096 May 12 16:41 src [Pipeline] isUnix [Pipeline] sh 16:43:56 + 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=3284203db036fb577a63a0fff870deb676f4920e --label arch=arm64 --label version=1.3.2-dev.12 . 16:43:56 Removing intermediate container aa23cf3e0221 16:43:56 ---> d20c411a4a5e 16:43:56 Step 16/25 : FROM ${BASE} 16:43:56 ---> 5eabd8fd8ba2 16:43:56 Step 17/25 : LABEL maintainer="IOTech " 16:43:56 ---> Running in 5ae85d1f9bfa 16:43:56 Sending build context to Docker daemon 2.471MB 16:43:56 Removing intermediate container 5ae85d1f9bfa 16:43:56 ---> 12d2be5ee567 16:43:56 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:43:56 ---> Running in 7b1c46635b23 16:43:56 Step 1/17 : ARG BASE=alpine:3.12 16:43:56 Step 2/17 : FROM ${BASE} 16:43:56 ---> f688405b8870 16:43:56 Step 3/17 : LABEL maintainer="IOTech " 16:43:56 ---> Running in fbeae8e70111 16:43:57 Removing intermediate container fbeae8e70111 16:43:57 ---> 53369068c3e7 16:43:57 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:43:57 Connecting to iotech.jfrog.io (54.74.239.58:443) 16:43:57 ---> Running in 13a5b07a8962 16:43:57 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:43:57 16:43:58 --2021-05-12 16:43:58-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 16:43:58 Resolving iotech.jfrog.io... 34.243.182.113, 54.74.239.58, 54.229.110.245 16:43:58 Connecting to iotech.jfrog.io|34.243.182.113|:443... connected. 16:43:59 Removing intermediate container 7b1c46635b23 16:43:59 ---> 9d16d18b76f5 16:43:59 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:43:59 ---> Running in da87a09b6cad 16:43:59 HTTP request sent, awaiting response... 200 OK 16:43:59 Length: 451 [application/octet-stream] 16:43:59 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:43:59 16:43:59 0K 100% 18.3M=0s 16:43:59 16:43:59 2021-05-12 16:43:58 (18.3 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 16:43:59 16:44:00 Removing intermediate container 13a5b07a8962 16:44:00 ---> c60a3b8bd05e 16:44:00 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:44:00 ---> Running in ce47e5f3842b 16:44:01 Removing intermediate container da87a09b6cad 16:44:01 ---> 74aed2c01418 16:44:01 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 16:44:01 ---> Running in fc96657319b7 16:44:03 Removing intermediate container ce47e5f3842b 16:44:03 ---> 071d24ad03ab 16:44:03 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 16:44:03 ---> Running in 2f106b09ec2d 16:44:03 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:44:03 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:44:04 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:44:04 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:44:04 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:44:04 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:44:05 (1/6) Installing curl (7.64.0-r5) 16:44:05 (2/6) Installing hiredis (0.14.0-r0) 16:44:05 (3/6) Installing hiredis-dev (0.14.0-r0) 16:44:05 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 16:44:05 (2/6) Installing libblkid (2.33-r0) 16:44:05 (3/6) Installing libfdisk (2.33-r0) 16:44:05 (4/6) Installing libuuid (2.33-r0) 16:44:05 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 16:44:05 (4/6) Installing libmount (2.33-r0) 16:44:05 (5/6) Installing libsmartcols (2.33-r0) 16:44:05 (6/6) Installing util-linux-dev (2.33-r0) 16:44:06 Executing busybox-1.29.3-r10.trigger 16:44:06 OK: 287 MiB in 87 packages 16:44:07 (6/6) Installing wget (1.20.3-r0) 16:44:07 Removing intermediate container 2f106b09ec2d 16:44:07 ---> 4fd07b683f2b 16:44:07 Executing busybox-1.29.3-r10.trigger 16:44:07 OK: 269 MiB in 81 packages 16:44:07 Step 7/17 : COPY VERSION /edgex-c-sdk/ 16:44:08 ---> 530af8049bd7 16:44:08 Step 8/17 : COPY src /edgex-c-sdk/src/ 16:44:09 Removing intermediate container fc96657319b7 16:44:09 ---> ffbf26deade9 16:44:09 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:44:09 ---> f5a2de17a021 16:44:09 Step 9/17 : COPY include /edgex-c-sdk/include/ 16:44:09 ---> 9d0cb4838246 16:44:09 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:44:09 ---> 2b54add7c99f 16:44:09 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 16:44:09 ---> 8c617861478e 16:44:09 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 16:44:10 ---> fe105f6548d7 16:44:10 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:44:10 ---> dbce7846b9a0 16:44:10 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 16:44:11 ---> 58040d4e258f 16:44:11 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 16:44:11 ---> 1d4a694675f5 16:44:11 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:44:11 ---> 320e39e1b31d 16:44:11 Successfully built 320e39e1b31d 16:44:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:44:11 + docker inspect -f . ci-base-image-x86_64 16:44:12 ---> e49770952ab9 16:44:12 Step 13/17 : WORKDIR /edgex-c-sdk 16:44:12 ---> Running in 9a8b90198365 16:44:12 . [Pipeline] withDockerContainer 16:44:12 prd-centos7-docker-4c-2g-4721 does not seem to be running inside a container 16:44:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/64 -v /w/workspace/device-sdk-c/64:/w/workspace/device-sdk-c/64:rw,z -v /w/workspace/device-sdk-c/64@tmp:/w/workspace/device-sdk-c/64@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 ******** ci-base-image-x86_64 cat 16:44:12 Removing intermediate container 9a8b90198365 16:44:12 ---> f6e27baf98e8 16:44:12 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:44:12 ---> Running in 4760209a0a85 16:44:13 Removing intermediate container 4760209a0a85 16:44:13 ---> 7e8b81f9dafb 16:44:13 Step 15/17 : LABEL arch=arm64 16:44:13 ---> Running in c1aed237172e 16:44:13 Removing intermediate container c1aed237172e 16:44:13 ---> 474f54f628e1 16:44:13 Step 16/17 : LABEL git_sha=3284203db036fb577a63a0fff870deb676f4920e 16:44:13 ---> Running in 5c6905478c3a 16:44:13 $ docker top a731b3bc787860455892fd3ecc0cfe3f2fcbd97b2661204f1256b6c919845385 -eo pid,comm [Pipeline] { [Pipeline] sh 16:44:14 Removing intermediate container 5c6905478c3a 16:44:14 ---> 1c12c3b72d4c 16:44:14 Step 17/17 : LABEL version=1.3.2-dev.12 16:44:14 ---> Running in 9f8e19716452 16:44:14 + make test 16:44:14 echo "make test" 16:44:14 make test [Pipeline] } 16:44:14 $ docker stop --time=1 a731b3bc787860455892fd3ecc0cfe3f2fcbd97b2661204f1256b6c919845385 16:44:14 Removing intermediate container 9f8e19716452 16:44:14 ---> 911edf70a165 16:44:14 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:44:14 Successfully built 911edf70a165 16:44:14 Successfully tagged device-sdk-arm64:latest 16:44:16 $ docker rm -f a731b3bc787860455892fd3ecc0cfe3f2fcbd97b2661204f1256b6c919845385 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:44:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:44:17 + ls -al . 16:44:17 total 160 16:44:17 drwxrwxr-x. 8 jenkins jenkins 260 May 12 16:42 . 16:44:17 drwxrwxr-x. 4 jenkins jenkins 30 May 12 16:42 .. 16:44:17 -rw-rw-r--. 1 jenkins jenkins 3104 May 12 16:42 Attribution.txt 16:44:17 -rw-rw-r--. 1 jenkins jenkins 7200 May 12 16:42 CHANGES 16:44:17 drwxrwxr-x. 2 jenkins jenkins 121 May 12 16:42 docs 16:44:17 -rw-rw-r--. 1 jenkins jenkins 108574 May 12 16:42 Doxyfile 16:44:17 drwxrwxr-x. 8 jenkins jenkins 162 May 12 16:42 .git 16:44:17 drwxrwxr-x. 2 jenkins jenkins 81 May 12 16:42 .github 16:44:17 -rw-rw-r--. 1 jenkins jenkins 176 May 12 16:42 .gitignore 16:44:17 drwxrwxr-x. 4 jenkins jenkins 33 May 12 16:42 include 16:44:17 -rw-rw-r--. 1 jenkins jenkins 784 May 12 16:42 Jenkinsfile 16:44:17 -rw-rw-r--. 1 jenkins jenkins 10174 May 12 16:42 LICENSE 16:44:17 -rw-rw-r--. 1 jenkins jenkins 444 May 12 16:42 Makefile 16:44:17 -rw-rw-r--. 1 jenkins jenkins 4090 May 12 16:42 README.md 16:44:17 -rw-rw-r--. 1 jenkins jenkins 6654 May 12 16:42 README.v2.md 16:44:17 drwxrwxr-x. 2 jenkins jenkins 98 May 12 16:42 scripts 16:44:17 drwxrwxr-x. 4 jenkins jenkins 50 May 12 16:42 src 16:44:17 -rw-rw-r--. 1 jenkins jenkins 12 May 12 16:38 VERSION [Pipeline] isUnix [Pipeline] sh 16:44:17 + 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=3284203db036fb577a63a0fff870deb676f4920e --label arch=amd64 --label version=1.3.2-dev.12 . 16:44:18 Sending build context to Docker daemon 2.472MB 16:44:18 Step 1/17 : ARG BASE=alpine:3.12 16:44:18 Step 2/17 : FROM ${BASE} 16:44:18 ---> 320e39e1b31d 16:44:18 Step 3/17 : LABEL maintainer="IOTech " 16:44:18 ---> Running in 464df3a9bac8 16:44:18 Removing intermediate container 464df3a9bac8 16:44:18 ---> de0699fa0151 16:44:18 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:44:18 ---> Running in de39b21cbe09 16:44:19 --2021-05-12 16:44:19-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 16:44:19 Resolving iotech.jfrog.io... 54.229.110.245, 34.243.182.113, 54.74.239.58 16:44:19 Connecting to iotech.jfrog.io|54.229.110.245|:443... connected. 16:44:19 HTTP request sent, awaiting response... 200 OK 16:44:19 Length: 451 [application/octet-stream] 16:44:19 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:44:19 16:44:19 0K 100% 33.0M=0s 16:44:19 16:44:19 2021-05-12 16:44:19 (33.0 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 16:44:19 16:44:20 Removing intermediate container de39b21cbe09 16:44:20 ---> b4eb83c9d687 16:44:20 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:44:20 ---> Running in fcbb946f29df 16:44:23 Removing intermediate container fcbb946f29df 16:44:23 ---> 956b250d27f5 16:44:23 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 16:44:23 ---> Running in 4c45c963e36c 16:44:25 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:44:25 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:44:26 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:44:26 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 16:44:27 (2/6) Installing libblkid (2.33-r0) 16:44:27 (3/6) Installing libfdisk (2.33-r0) 16:44:27 (4/6) Installing libmount (2.33-r0) 16:44:27 (5/6) Installing libsmartcols (2.33-r0) 16:44:27 (6/6) Installing util-linux-dev (2.33-r0) 16:44:27 Executing busybox-1.29.3-r10.trigger 16:44:27 OK: 273 MiB in 87 packages 16:44:28 Removing intermediate container 4c45c963e36c 16:44:28 ---> d3ca0effbecb 16:44:28 Step 7/17 : COPY VERSION /edgex-c-sdk/ 16:44:28 ---> 7383c3a63154 16:44:28 Step 8/17 : COPY src /edgex-c-sdk/src/ 16:44:29 ---> dd808ecdf33a 16:44:29 Step 9/17 : COPY include /edgex-c-sdk/include/ 16:44:30 ---> 40a43116f146 16:44:30 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 16:44:31 ---> 5f4e271bc517 16:44:31 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 16:44:31 ---> 27b449bff1fe 16:44:31 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 16:44:32 ---> 4458ec6eed9c 16:44:32 Step 13/17 : WORKDIR /edgex-c-sdk 16:44:32 ---> Running in 8613bac9b42a 16:44:32 Removing intermediate container 8613bac9b42a 16:44:32 ---> 041eafacd6bc 16:44:32 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:44:32 ---> Running in 07d189658bf7 16:44:33 Removing intermediate container 07d189658bf7 16:44:33 ---> 148398d78edd 16:44:33 Step 15/17 : LABEL arch=amd64 16:44:33 ---> Running in 12c408b3ca78 16:44:33 Removing intermediate container 12c408b3ca78 16:44:33 ---> d8d584bd10ac 16:44:33 Step 16/17 : LABEL git_sha=3284203db036fb577a63a0fff870deb676f4920e 16:44:33 ---> Running in b111fae39daa 16:44:33 Removing intermediate container b111fae39daa 16:44:33 ---> 296971da276d 16:44:33 Step 17/17 : LABEL version=1.3.2-dev.12 16:44:34 ---> Running in 71cbdfc648dc 16:44:34 Removing intermediate container 71cbdfc648dc 16:44:34 ---> 85d1b10d2103 16:44:34 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:44:34 Successfully built 85d1b10d2103 16:44: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 [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 16:44:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:44:35 . [Pipeline] withDockerContainer 16:44:35 prd-centos7-docker-4c-2g-4717 does not seem to be running inside a container 16:44:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:44:36 $ docker top ce5761d83559e6d90199e480e4e760bd79e4f593586162604d30b7784b6f0323 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:44:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:44:36 [ssh-agent] Looking for ssh-agent implementation... 16:44:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:44:37 $ docker exec ce5761d83559e6d90199e480e4e760bd79e4f593586162604d30b7784b6f0323 ssh-agent 16:44:37 SSH_AUTH_SOCK=/tmp/ssh-k0dUmDYR8qtI/agent.11 16:44:37 SSH_AGENT_PID=16 16:44:37 Running ssh-add (command line suppressed) 16:44:37 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8414928601506566217.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8414928601506566217.key) 16:44:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:44:38 + git semver tag 16:44:38 # -> Open(): unable to determine branch for HEAD 16:44:38 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 16:44:38 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 16:44:38 # $SEMVER_REMOTE_NAME = origin 16:44:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:44:38 # $SEMVER_USER_NAME = edgex-jenkins 16:44:38 # $SEMVER_BRANCH = master 16:44:38 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver 16:44:38 # 3284203db036fb577a63a0fff870deb676f4920e HEAD 16:44:38 # -> Force: false 16:44:38 # 96f5802b032e9f8fdc9dd5c12c7988f42229b461 refs/tags/v1.3.2-dev.12 [Pipeline] } 16:44:38 $ docker exec --env ******** --env ******** ce5761d83559e6d90199e480e4e760bd79e4f593586162604d30b7784b6f0323 ssh-agent -k 16:44:39 unset SSH_AUTH_SOCK; 16:44:39 unset SSH_AGENT_PID; 16:44:39 echo Agent pid 16 killed; 16:44:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:44:40 + git semver [Pipeline] } 16:44:40 $ docker stop --time=1 ce5761d83559e6d90199e480e4e760bd79e4f593586162604d30b7784b6f0323 16:44:41 $ docker rm -f ce5761d83559e6d90199e480e4e760bd79e4f593586162604d30b7784b6f0323 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:44:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:44:42 16:44:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:44:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:44:43 0.23.1-centos7: Pulling from edgex-lftools 16:44:43 ab5ef0e58194: Pulling fs layer 16:44:43 9712f1f96733: Pulling fs layer 16:44:43 63f879dbbcfc: Pulling fs layer 16:44:43 0d9ebad4ef96: Pulling fs layer 16:44:43 e9a5061849ea: Pulling fs layer 16:44:43 d747dcd14b5f: Pulling fs layer 16:44:43 2de7ff778b66: Pulling fs layer 16:44:43 e9a5061849ea: Waiting 16:44:43 d747dcd14b5f: Waiting 16:44:43 2de7ff778b66: Waiting 16:44:43 0d9ebad4ef96: Waiting 16:44:43 9712f1f96733: Verifying Checksum 16:44:43 9712f1f96733: Download complete 16:44:50 63f879dbbcfc: Verifying Checksum 16:44:50 63f879dbbcfc: Download complete 16:44:50 e9a5061849ea: Verifying Checksum 16:44:50 e9a5061849ea: Download complete 16:44:50 d747dcd14b5f: Verifying Checksum 16:44:50 d747dcd14b5f: Download complete 16:44:52 2de7ff778b66: Download complete 16:44:52 0d9ebad4ef96: Verifying Checksum 16:44:52 0d9ebad4ef96: Download complete 16:44:53 ab5ef0e58194: Verifying Checksum 16:44:53 ab5ef0e58194: Download complete 16:45:06 ab5ef0e58194: Pull complete 16:45:06 9712f1f96733: Pull complete 16:45:08 63f879dbbcfc: Pull complete 16:45:19 0d9ebad4ef96: Pull complete 16:45:20 e9a5061849ea: Pull complete 16:45:21 d747dcd14b5f: Pull complete 16:45:25 2de7ff778b66: Pull complete 16:45:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:45:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:45:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:45:26 prd-centos7-docker-4c-2g-4717 does not seem to be running inside a container 16:45:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:45:30 $ docker top 0926fac6dd0a4c98215bbba543e7caeda68b927e3a40561b6a39d381cb35082c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:45:31 provisioning config files... 16:45:31 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config3680470794164512152tmp 16:45:31 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config3052183622241659024tmp 16:45:31 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config3646598097661996870tmp [Pipeline] { [Pipeline] echo 16:45:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:45:32 ---> sigul-configuration.sh 16:45:32 gpg: directory `/root/.gnupg' created 16:45:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:45:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:45:32 gpg: keyring `/root/.gnupg/secring.gpg' created 16:45:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:45:32 gpg: CAST5 encrypted data 16:45:32 gpg: encrypted with 1 passphrase 16:45:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:45:33 + mkdir /home/jenkins 16:45:33 + mkdir /home/jenkins/sigul [Pipeline] sh 16:45:34 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 16:45:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:45:35 ---> sigul-install.sh 16:45:47 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 16:45:48 + git tag --list 16:45:48 0.7.0 16:45:48 0.7.1 16:45:48 1.0.0 16:45:48 v1.0.1 16:45:48 v1.0.2 16:45:48 v1.0.3 16:45:48 v1.1.0 16:45:48 v1.1.1 16:45:48 v1.2.0 16:45:48 v1.2.1 16:45:48 v1.2.2 16:45:48 v1.3.0 16:45:48 v1.3.1 16:45:48 v1.3.1-dev.1 16:45:48 v1.3.1-dev.2 16:45:48 v1.3.1-dev.3 16:45:48 v1.3.2-dev.1 16:45:48 v1.3.2-dev.10 16:45:48 v1.3.2-dev.11 16:45:48 v1.3.2-dev.12 16:45:48 v1.3.2-dev.2 16:45:48 v1.3.2-dev.3 16:45:48 v1.3.2-dev.4 16:45:48 v1.3.2-dev.5 16:45:48 v1.3.2-dev.6 16:45:48 v1.3.2-dev.7 16:45:48 v1.3.2-dev.8 16:45:48 v1.3.2-dev.9 [Pipeline] sh 16:45:49 + lftools sign git-tag v1.3.2-dev.12 16:45:51 Signing Git tag with Sigul... 16:45:51 Signing v1.3.2-dev.12 [Pipeline] echo 16:45:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:45:54 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:45:54 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:45:54 $ docker stop --time=1 0926fac6dd0a4c98215bbba543e7caeda68b927e3a40561b6a39d381cb35082c 16:45:56 $ docker rm -f 0926fac6dd0a4c98215bbba543e7caeda68b927e3a40561b6a39d381cb35082c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 16:45:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:45:56 . [Pipeline] withDockerContainer 16:45:56 prd-centos7-docker-4c-2g-4717 does not seem to be running inside a container 16:45:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:45:58 $ docker top 035f7e8f8d4a129faea0653c9c78a32df49d50d20b2127231b2f06bcdc7ee6ca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:45:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:45:59 [ssh-agent] Looking for ssh-agent implementation... 16:45:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:45:59 $ docker exec 035f7e8f8d4a129faea0653c9c78a32df49d50d20b2127231b2f06bcdc7ee6ca ssh-agent 16:46:00 SSH_AUTH_SOCK=/tmp/ssh-XN9TMKzjab6Z/agent.11 16:46:00 SSH_AGENT_PID=16 16:46:00 Running ssh-add (command line suppressed) 16:46:00 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7253128233069236247.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7253128233069236247.key) 16:46:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:46:01 + git semver bump pre 16:46:01 # -> Open(): unable to determine branch for HEAD 16:46:01 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 16:46:01 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 16:46:01 # $SEMVER_REMOTE_NAME = origin 16:46:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:46:01 # $SEMVER_USER_NAME = edgex-jenkins 16:46:01 # $SEMVER_BRANCH = master 16:46:01 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver 16:46:01 1.3.2-dev.13 [Pipeline] } 16:46:01 $ docker exec --env ******** --env ******** 035f7e8f8d4a129faea0653c9c78a32df49d50d20b2127231b2f06bcdc7ee6ca ssh-agent -k 16:46:02 unset SSH_AUTH_SOCK; 16:46:02 unset SSH_AGENT_PID; 16:46:02 echo Agent pid 16 killed; 16:46:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:46:02 + git semver [Pipeline] } 16:46:02 $ docker stop --time=1 035f7e8f8d4a129faea0653c9c78a32df49d50d20b2127231b2f06bcdc7ee6ca 16:46:04 $ docker rm -f 035f7e8f8d4a129faea0653c9c78a32df49d50d20b2127231b2f06bcdc7ee6ca [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 16:46:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:46:04 . [Pipeline] withDockerContainer 16:46:05 prd-centos7-docker-4c-2g-4717 does not seem to be running inside a container 16:46:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:46:06 $ docker top 14ffec30492a17146736c1df521cf17e9abd9ca0b3bb5094224fa23485d09756 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:46:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:46:06 [ssh-agent] Looking for ssh-agent implementation... 16:46:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:46:07 $ docker exec 14ffec30492a17146736c1df521cf17e9abd9ca0b3bb5094224fa23485d09756 ssh-agent 16:46:07 SSH_AUTH_SOCK=/tmp/ssh-M0RsNEJNNUkM/agent.11 16:46:07 SSH_AGENT_PID=16 16:46:07 Running ssh-add (command line suppressed) 16:46:08 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7892421527374568795.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7892421527374568795.key) 16:46:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:46:08 + git semver push 16:46:08 # -> Open(): unable to determine branch for HEAD 16:46:08 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 16:46:08 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 16:46:08 # $SEMVER_REMOTE_NAME = origin 16:46:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:46:08 # $SEMVER_USER_NAME = edgex-jenkins 16:46:08 # $SEMVER_BRANCH = master 16:46:08 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } 16:46:14 $ docker exec --env ******** --env ******** 14ffec30492a17146736c1df521cf17e9abd9ca0b3bb5094224fa23485d09756 ssh-agent -k 16:46:14 unset SSH_AUTH_SOCK; 16:46:14 unset SSH_AGENT_PID; 16:46:14 echo Agent pid 16 killed; 16:46:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:46:15 + git semver [Pipeline] } 16:46:15 $ docker stop --time=1 14ffec30492a17146736c1df521cf17e9abd9ca0b3bb5094224fa23485d09756 16:46:17 $ docker rm -f 14ffec30492a17146736c1df521cf17e9abd9ca0b3bb5094224fa23485d09756 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 16:46:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:46:18 ---> package-listing.sh 16:46:18 ++ facter osfamily 16:46:18 ++ tr '[:upper:]' '[:lower:]' 16:46:19 + OS_FAMILY=redhat 16:46:19 + workspace=/w/workspace/edgexfoundry_device-sdk-c_master 16:46:19 + START_PACKAGES=/tmp/packages_start.txt 16:46:19 + END_PACKAGES=/tmp/packages_end.txt 16:46:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:46:19 + PACKAGES=/tmp/packages_start.txt 16:46:19 + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' 16:46:19 + PACKAGES=/tmp/packages_end.txt 16:46:19 + case "${OS_FAMILY}" in 16:46:19 + rpm -qa 16:46:19 + sort 16:46:24 + '[' -f /tmp/packages_start.txt ']' 16:46:24 + '[' -f /tmp/packages_end.txt ']' 16:46:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:46:24 + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' 16:46:24 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ 16:46:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [Pipeline] echo 16:46:24 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:46:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:46:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:46:25 16:46:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:46:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:46:25 alpine: Pulling from edgex-lftools-log-publisher 16:46:25 df20fa9351a1: Pulling fs layer 16:46:25 36b3adc4ff6f: Pulling fs layer 16:46:25 8ad3a11d3b57: Pulling fs layer 16:46:25 46f8f816bc3b: Pulling fs layer 16:46:25 93b61091891f: Pulling fs layer 16:46:25 93b9cdb0e59b: Pulling fs layer 16:46:25 5e14af77c1be: Pulling fs layer 16:46:25 01666e4c0597: Pulling fs layer 16:46:25 aa168da1d23b: Pulling fs layer 16:46:25 93b9cdb0e59b: Waiting 16:46:25 5e14af77c1be: Waiting 16:46:25 01666e4c0597: Waiting 16:46:25 aa168da1d23b: Waiting 16:46:25 46f8f816bc3b: Waiting 16:46:25 93b61091891f: Waiting 16:46:25 36b3adc4ff6f: Verifying Checksum 16:46:25 36b3adc4ff6f: Download complete 16:46:25 46f8f816bc3b: Verifying Checksum 16:46:25 46f8f816bc3b: Download complete 16:46:26 df20fa9351a1: Verifying Checksum 16:46:26 93b9cdb0e59b: Verifying Checksum 16:46:26 93b9cdb0e59b: Download complete 16:46:26 5e14af77c1be: Verifying Checksum 16:46:26 5e14af77c1be: Download complete 16:46:26 01666e4c0597: Verifying Checksum 16:46:26 01666e4c0597: Download complete 16:46:26 93b61091891f: Verifying Checksum 16:46:26 93b61091891f: Download complete 16:46:26 8ad3a11d3b57: Verifying Checksum 16:46:26 8ad3a11d3b57: Download complete 16:46:26 df20fa9351a1: Pull complete 16:46:26 36b3adc4ff6f: Pull complete 16:46:28 8ad3a11d3b57: Pull complete 16:46:28 46f8f816bc3b: Pull complete 16:46:29 93b61091891f: Pull complete 16:46:29 aa168da1d23b: Verifying Checksum 16:46:29 aa168da1d23b: Download complete 16:46:29 93b9cdb0e59b: Pull complete 16:46:29 5e14af77c1be: Pull complete 16:46:29 01666e4c0597: Pull complete 16:46:40 aa168da1d23b: Pull complete 16:46:40 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:46:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:46:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:46:40 prd-centos7-docker-4c-2g-4717 does not seem to be running inside a container 16:46:40 $ 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_master/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_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:46:43 $ docker top bacc8d8b85f641a855c30eef4a6a9dcf574a635c05fd6e7f7a3f55fb9e7ec863 -eo pid,comm [Pipeline] { [Pipeline] sh 16:46:43 + touch /tmp/pre-build-complete [Pipeline] sh 16:46:44 + mkdir -p /var/log/sa [Pipeline] sh 16:46:44 + ls /var/log/sa-host 16:46:44 + sadf -c /var/log/sa-host/sa12 16:46:44 file_magic: OK 16:46:44 HZ: Using current value: 100 16:46:44 file_header: OK 16:46:44 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:46:44 Statistics: 16:46:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:46:44 File successfully converted to sysstat format version 12.2.1 16:46:44 + sadf -c /var/log/sa-host/sa23 16:46:44 file_magic: OK 16:46:44 HZ: Using current value: 100 16:46:44 file_header: OK 16:46:44 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:46:44 Statistics: 16:46:44 Hnuu...uuuununununu... 16:46:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:46:45 provisioning config files... 16:46:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config5922079076804566396tmp [Pipeline] { [Pipeline] echo 16:46:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:46:45 ---> create-netrc.sh [Pipeline] } 16:46:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:46:45 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:46:45 ---> python-tools-install.sh [Pipeline] echo 16:46:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:46:46 ---> sudo-logs.sh 16:46:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:46:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:46:46 ---> job-cost.sh 16:46:46 lf-activate-venv: SKIPPING 16:46:46 INFO: No Stack... 16:46:47 INFO: Retrieving Pricing Info for: v1-standard-2 16:46:47 INFO: Archiving Costs [Pipeline] echo 16:46:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:46:48 ---> logs-deploy.sh 16:46:48 lf-activate-venv: SKIPPING 16:46:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/64 16:46:48 INFO: archiving workspace using pattern(s): 16:46:50 Archives upload complete. 16:46:50 INFO: archiving logs to Nexus 16:46:51 ---> uname -a: 16:46:51 Linux prd-centos7-docker-4c-2g-4717.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 16:46:51 16:46:51 16:46:51 ---> lscpu: 16:46:51 Architecture: x86_64 16:46:51 CPU op-mode(s): 32-bit, 64-bit 16:46:51 Byte Order: Little Endian 16:46:51 Address sizes: 40 bits physical, 48 bits virtual 16:46:51 CPU(s): 4 16:46:51 On-line CPU(s) list: 0-3 16:46:51 Thread(s) per core: 1 16:46:51 Core(s) per socket: 1 16:46:51 Socket(s): 4 16:46:51 NUMA node(s): 1 16:46:51 Vendor ID: GenuineIntel 16:46:51 CPU family: 6 16:46:51 Model: 44 16:46:51 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 16:46:51 Stepping: 1 16:46:51 CPU MHz: 2933.436 16:46:51 BogoMIPS: 5866.87 16:46:51 Virtualization: VT-x 16:46:51 Hypervisor vendor: KVM 16:46:51 Virtualization type: full 16:46:51 L1d cache: 128 KiB 16:46:51 L1i cache: 128 KiB 16:46:51 L2 cache: 16 MiB 16:46:51 L3 cache: 64 MiB 16:46:51 NUMA node0 CPU(s): 0-3 16:46:51 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 16:46:51 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 16:46:51 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 16:46:51 Vulnerability Meltdown: Mitigation; PTI 16:46:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:46:51 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:46:51 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:46:51 Vulnerability Srbds: Not affected 16:46:51 Vulnerability Tsx async abort: Not affected 16:46:51 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 16:46:51 16:46:51 16:46:51 ---> nproc: 16:46:51 4 16:46:51 16:46:51 16:46:51 ---> df -h: 16:46:51 Filesystem Size Used Available Use% Mounted on 16:46:51 overlay 50.0G 7.9G 42.1G 16% / 16:46:51 tmpfs 64.0M 0 64.0M 0% /dev 16:46:51 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 16:46:51 shm 64.0M 0 64.0M 0% /dev/shm 16:46:51 /dev/vda1 50.0G 7.9G 42.1G 16% /facter-os 16:46:51 /dev/vda1 50.0G 7.9G 42.1G 16% /etc/resolv.conf 16:46:51 /dev/vda1 50.0G 7.9G 42.1G 16% /etc/hostname 16:46:51 /dev/vda1 50.0G 7.9G 42.1G 16% /etc/hosts 16:46:51 /dev/vda1 50.0G 7.9G 42.1G 16% /w/workspace/edgexfoundry_device-sdk-c_master 16:46:51 /dev/vda1 50.0G 7.9G 42.1G 16% /w/workspace/edgexfoundry_device-sdk-c_master@tmp 16:46:51 /dev/vda1 50.0G 7.9G 42.1G 16% /var/log/sa-host 16:46:51 /dev/vda1 50.0G 7.9G 42.1G 16% /var/log/secure 16:46:51 /dev/vda1 50.0G 7.9G 42.1G 16% /var/log/auth.log 16:46:51 /dev/vda1 50.0G 7.9G 42.1G 16% /run/cloud-init/result.json 16:46:51 16:46:51 16:46:51 ---> free -m: 16:46:51 total used free shared buff/cache available 16:46:51 Mem: 1837 807 136 0 893 949 16:46:51 Swap: 1023 1 1022 16:46:51 16:46:51 16:46:51 ---> ip addr: 16:46:51 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 16:46:51 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:46:51 inet 127.0.0.1/8 scope host lo 16:46:51 valid_lft forever preferred_lft forever 16:46:51 inet6 ::1/128 scope host 16:46:51 valid_lft forever preferred_lft forever 16:46:51 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 16:46:51 link/ether fa:16:3e:46:6e:3c brd ff:ff:ff:ff:ff:ff 16:46:51 inet 10.30.122.251/23 brd 10.30.123.255 scope global dynamic eth0 16:46:51 valid_lft 85826sec preferred_lft 85826sec 16:46:51 inet6 fe80::f816:3eff:fe46:6e3c/64 scope link 16:46:51 valid_lft forever preferred_lft forever 16:46:51 3: docker0: mtu 1500 qdisc noqueue state DOWN 16:46:51 link/ether 02:42:a2:8a:49:43 brd ff:ff:ff:ff:ff:ff 16:46:51 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 16:46:51 valid_lft forever preferred_lft forever 16:46:51 inet6 fe80::42:a2ff:fe8a:4943/64 scope link 16:46:51 valid_lft forever preferred_lft forever 16:46:51 16:46:51 16:46:51 ---> sar -b -r -n DEV: 16:46:51 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/12/21 _x86_64_ (4 CPU) 16:46:51 16:46:51 16:37:03 LINUX RESTART (4 CPU) 16:46:51 16:46:51 16:38:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:46:51 16:39:01 49.23 13.35 35.88 0.00 4520.79 2723.38 0.00 16:46:51 16:40:01 1.85 0.00 1.85 0.00 0.00 40.00 0.00 16:46:51 16:41:01 0.27 0.00 0.27 0.00 0.00 3.88 0.00 16:46:51 16:42:02 0.27 0.00 0.27 0.00 0.00 3.13 0.00 16:46:51 16:43:01 0.15 0.00 0.15 0.00 0.00 1.95 0.00 16:46:51 16:44:01 0.43 0.00 0.43 0.00 0.00 7.15 0.00 16:46:51 16:45:01 27.12 3.51 23.62 0.00 383.70 9392.00 0.00 16:46:51 16:46:01 270.17 135.96 134.20 0.00 6494.00 24054.99 0.00 16:46:51 Average: 43.81 19.16 24.65 0.00 1428.91 4540.63 0.00 16:46:51 16:46:51 16:38:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:46:51 16:39:01 152472 0 604368 32.12 2620 1122084 1134768 38.73 401604 1128384 128 16:46:51 16:40:01 161356 0 595476 31.65 2620 1122092 1073452 36.64 405148 1118128 20 16:46:51 16:41:01 157156 0 599668 31.87 2620 1122100 1073740 36.64 410196 1116720 16 16:46:51 16:42:02 153780 0 602984 32.05 2620 1122160 1073944 36.65 413932 1116224 28 16:46:51 16:43:01 154996 0 601820 31.99 2620 1122108 1073752 36.65 412648 1116696 12 16:46:51 16:44:01 154220 0 602588 32.03 2620 1122116 1073860 36.65 413396 1116700 8 16:46:51 16:45:01 68820 0 718880 38.21 2620 1091224 1559408 53.22 556400 1036832 78236 16:46:51 16:46:01 216096 0 779916 41.45 2596 882936 1590780 54.29 512980 847024 44 16:46:51 Average: 152362 0 638212 33.92 2617 1088352 1206713 41.18 440788 1074588 9812 16:46:51 16:46:51 16:38:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:46:51 16:39:01 eth0 162.21 123.60 599.59 44.86 0.00 0.00 0.00 0.00 16:46:51 16:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:51 16:39:01 docker0 5.98 4.40 0.87 23.41 0.00 0.00 0.00 0.00 16:46:51 16:40:01 eth0 1.25 0.08 0.11 0.02 0.00 0.00 0.00 0.00 16:46:51 16:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:51 16:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:51 16:41:01 eth0 2.30 0.63 0.65 0.31 0.00 0.00 0.00 0.00 16:46:51 16:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:51 16:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:51 16:42:02 eth0 0.93 0.58 0.53 0.48 0.00 0.00 0.00 0.00 16:46:51 16:42:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:51 16:42:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:51 16:43:01 eth0 1.63 0.10 0.20 0.07 0.00 0.00 0.00 0.00 16:46:51 16:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:51 16:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:51 16:44:01 eth0 1.08 0.50 0.38 0.21 0.00 0.00 0.00 0.00 16:46:51 16:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:51 16:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:51 16:45:01 eth0 367.99 315.55 3198.29 59.29 0.00 0.00 0.00 0.00 16:46:51 16:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:51 16:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:51 16:46:01 eth0 88.60 65.00 304.25 19.71 0.00 0.00 0.00 0.00 16:46:51 16:46:01 veth29ab220 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 16:46:51 16:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:51 16:46:01 docker0 30.66 46.27 1.90 259.04 0.00 0.00 0.00 0.00 16:46:51 Average: eth0 78.44 63.41 514.22 15.66 0.00 0.00 0.00 0.00 16:46:51 Average: veth29ab220 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 16:46:51 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:51 Average: docker0 4.59 6.35 0.35 35.41 0.00 0.00 0.00 0.00 16:46:51 16:46:51 16:46:51 ---> sar -P ALL: 16:46:51 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/12/21 _x86_64_ (4 CPU) 16:46:51 16:46:51 16:37:03 LINUX RESTART (4 CPU) 16:46:51 16:46:51 16:38:01 CPU %user %nice %system %iowait %steal %idle 16:46:51 16:39:01 all 5.65 0.00 4.20 0.99 15.66 73.50 16:46:51 16:39:01 0 6.03 0.00 5.21 1.72 16.98 70.05 16:46:51 16:39:01 1 6.68 0.00 3.95 0.32 15.96 73.09 16:46:51 16:39:01 2 5.25 0.00 3.06 0.29 14.79 76.61 16:46:51 16:39:01 3 4.63 0.00 4.57 1.64 14.93 74.24 16:46:51 16:40:01 all 0.12 0.00 0.06 0.00 0.78 99.04 16:46:51 16:40:01 0 0.03 0.00 0.05 0.00 0.83 99.09 16:46:51 16:40:01 1 0.05 0.00 0.05 0.00 0.58 99.32 16:46:51 16:40:01 2 0.33 0.00 0.05 0.00 0.60 99.02 16:46:51 16:40:01 3 0.07 0.00 0.08 0.00 1.11 98.74 16:46:51 16:41:01 all 0.09 0.00 0.05 0.00 0.82 99.04 16:46:51 16:41:01 0 0.02 0.00 0.03 0.00 0.50 99.45 16:46:51 16:41:01 1 0.05 0.00 0.07 0.00 1.20 98.68 16:46:51 16:41:01 2 0.23 0.00 0.05 0.00 1.04 98.68 16:46:51 16:41:01 3 0.05 0.00 0.05 0.00 0.53 99.37 16:46:51 16:42:02 all 0.10 0.00 0.03 0.00 0.87 99.00 16:46:51 16:42:02 0 0.12 0.00 0.02 0.00 0.27 99.60 16:46:51 16:42:02 1 0.13 0.00 0.07 0.00 2.18 97.63 16:46:51 16:42:02 2 0.03 0.00 0.02 0.00 0.60 99.35 16:46:51 16:42:02 3 0.12 0.00 0.03 0.00 0.43 99.42 16:46:51 16:43:01 all 0.10 0.00 0.19 0.00 0.62 99.09 16:46:51 16:43:01 0 0.02 0.00 0.17 0.00 0.35 99.46 16:46:51 16:43:01 1 0.08 0.00 0.17 0.00 1.38 98.37 16:46:51 16:43:01 2 0.03 0.00 0.22 0.00 0.34 99.41 16:46:51 16:43:01 3 0.25 0.00 0.22 0.00 0.39 99.14 16:46:51 16:44:01 all 0.09 0.00 0.04 0.00 0.93 98.95 16:46:51 16:44:01 0 0.02 0.00 0.05 0.00 0.48 99.45 16:46:51 16:44:01 1 0.26 0.00 0.03 0.00 0.88 98.83 16:46:51 16:44:01 2 0.05 0.00 0.05 0.00 1.51 98.39 16:46:51 16:44:01 3 0.02 0.00 0.02 0.00 0.84 99.12 16:46:51 16:45:01 all 3.30 0.00 2.64 0.15 13.29 80.63 16:46:51 16:45:01 0 2.25 0.00 2.31 0.08 14.31 81.06 16:46:51 16:45:01 1 3.38 0.00 3.23 0.38 13.40 79.62 16:46:51 16:45:01 2 3.19 0.00 2.75 0.05 13.64 80.37 16:46:51 16:45:01 3 4.40 0.00 2.26 0.09 11.78 81.46 16:46:51 16:46:01 all 8.07 0.00 7.43 2.43 19.70 62.37 16:46:51 16:46:01 0 5.23 0.00 6.19 0.56 20.85 67.18 16:46:51 16:46:01 1 8.29 0.00 9.67 4.11 19.41 58.52 16:46:51 16:46:01 2 14.24 0.00 8.28 3.38 19.55 54.56 16:46:51 16:46:01 3 4.78 0.00 5.70 1.77 18.96 68.80 16:46:51 Average: all 2.28 0.00 1.91 0.47 6.84 88.50 16:46:51 Average: 0 1.80 0.00 1.85 0.31 7.16 88.88 16:46:51 Average: 1 2.45 0.00 2.23 0.62 7.09 87.61 16:46:51 Average: 2 3.01 0.00 1.87 0.48 6.73 87.92 16:46:51 Average: 3 1.86 0.00 1.69 0.46 6.38 89.60 16:46:51 16:46:51 16:46:51