Pull request #343 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 11247ee6712f988fdcf59756d1d21e31bb29255a+a1bd3e4e984760685c7a391cc08f5a8ab2e71757 (b1022ce54f2f27e63a5ad3907cb83a4ee47db5ea) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3332’ Running on prd-centos7-docker-4c-2g-3335 in /w/workspace/edgexfoundry_device-sdk-c_PR-343 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-343 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit a1bd3e4e984760685c7a391cc08f5a8ab2e71757 into PR head commit 11247ee6712f988fdcf59756d1d21e31bb29255a Merge succeeded, producing 11247ee6712f988fdcf59756d1d21e31bb29255a Checking out Revision 11247ee6712f988fdcf59756d1d21e31bb29255a (PR-343) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/343/head:refs/remotes/origin/PR-343 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 11247ee6712f988fdcf59756d1d21e31bb29255a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a1bd3e4e984760685c7a391cc08f5a8ab2e71757 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 11247ee6712f988fdcf59756d1d21e31bb29255a # timeout=10 Commit message: "refactor: Use async client library for MQTT (#258)" First time build. Skipping changelog. > git rev-list --no-walk 154f181135620215b2714232a596e0ca2d864c23 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:14:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:14:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:14:22 ========================================================= 22:14:22 EdgeX Global Pipelines Version Info 22:14:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:14:23 ------------------- 22:14:23 stable info: 22:14:23 ------------------- 22:14:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:14:23 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 22:14:23 Message: update stable to v1.0.191 22:14:24 ------------------- 22:14:24 experimental info: 22:14:24 ------------------- 22:14:24 Commited By: **** collab-it+edgex@linuxfoundation.org 22:14:24 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 22:14:24 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:14:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 22:14:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 22:14:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:14:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:14:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 22:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 22:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 22:14:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:14:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 22:14:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:14:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:14:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:14:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:14:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:14:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:14:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:14:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-343 [Pipeline] echo 22:14:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-343 [Pipeline] echo 22:14:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-343 [Pipeline] echo 22:14:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 11247ee6712f988fdcf59756d1d21e31bb29255a [Pipeline] echo 22:14:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 11247ee [Pipeline] echo 22:14:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:14:25 provisioning config files... 22:14:25 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp/config333229974611834601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:25 ---> docker-login.sh 22:14:25 nexus3.edgexfoundry.org:10001 22:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:26 Configure a credential helper to remove this warning. See 22:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:26 22:14:26 Login Succeeded 22:14:26 nexus3.edgexfoundry.org:10002 22:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:26 Configure a credential helper to remove this warning. See 22:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:26 22:14:26 Login Succeeded 22:14:26 nexus3.edgexfoundry.org:10003 22:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:26 Configure a credential helper to remove this warning. See 22:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:26 22:14:26 Login Succeeded 22:14:26 nexus3.edgexfoundry.org:10004 22:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:26 Configure a credential helper to remove this warning. See 22:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:26 22:14:26 Login Succeeded 22:14:26 docker.io 22:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:28 Configure a credential helper to remove this warning. See 22:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:28 22:14:28 Login Succeeded 22:14:28 ---> docker-login.sh ends [Pipeline] } 22:14:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 22:14:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:14:28 22:14:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:14:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:14:29 latest: Pulling from edgex-devops/git-semver 22:14:29 31603596830f: Pulling fs layer 22:14:29 54011a49482f: Pulling fs layer 22:14:29 a6820b24f6d8: Pulling fs layer 22:14:29 f581987b2513: Pulling fs layer 22:14:29 f581987b2513: Waiting 22:14:29 54011a49482f: Verifying Checksum 22:14:29 54011a49482f: Download complete 22:14:29 31603596830f: Download complete 22:14:29 f581987b2513: Verifying Checksum 22:14:29 f581987b2513: Download complete 22:14:29 a6820b24f6d8: Verifying Checksum 22:14:29 a6820b24f6d8: Download complete 22:14:29 31603596830f: Pull complete 22:14:30 54011a49482f: Pull complete 22:14:31 a6820b24f6d8: Pull complete 22:14:31 f581987b2513: Pull complete 22:14:31 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 22:14:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:14:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:14:31 prd-centos7-docker-4c-2g-3335 does not seem to be running inside a container 22:14:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-343 -v /w/workspace/edgexfoundry_device-sdk-c_PR-343:/w/workspace/edgexfoundry_device-sdk-c_PR-343:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:14:33 $ docker top f07c65567628ccd09871fd96825f2f95cb08e5690368e5ad8dd42c425d1b7927 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:14:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:14:34 [ssh-agent] Looking for ssh-agent implementation... 22:14:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:14:34 $ docker exec f07c65567628ccd09871fd96825f2f95cb08e5690368e5ad8dd42c425d1b7927 ssh-agent 22:14:34 SSH_AUTH_SOCK=/tmp/ssh-mnRepReVoX1v/agent.13 22:14:34 SSH_AGENT_PID=18 22:14:34 Running ssh-add (command line suppressed) 22:14:34 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp/private_key_1726620416351258282.key (/w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp/private_key_1726620416351258282.key) 22:14:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:14:34 + git tag --points-at HEAD [Pipeline] } 22:14:34 $ docker exec --env ******** --env ******** f07c65567628ccd09871fd96825f2f95cb08e5690368e5ad8dd42c425d1b7927 ssh-agent -k 22:14:35 unset SSH_AUTH_SOCK; 22:14:35 unset SSH_AGENT_PID; 22:14:35 echo Agent pid 18 killed; 22:14:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:14:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:14:35 [ssh-agent] Looking for ssh-agent implementation... 22:14:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:14:35 $ docker exec f07c65567628ccd09871fd96825f2f95cb08e5690368e5ad8dd42c425d1b7927 ssh-agent 22:14:35 SSH_AUTH_SOCK=/tmp/ssh-tjBsB9l75de1/agent.47 22:14:35 SSH_AGENT_PID=52 22:14:35 Running ssh-add (command line suppressed) 22:14:35 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp/private_key_7228152600867794272.key (/w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp/private_key_7228152600867794272.key) 22:14:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:14:36 + git semver init 22:14:36 # -> Open(): unable to determine branch for HEAD 22:14:36 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-343/.git 22:14:36 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-343 22:14:36 # $SEMVER_REMOTE_NAME = origin 22:14:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:14:36 # $SEMVER_USER_NAME = edgex-jenkins 22:14:36 # $SEMVER_BRANCH = PR-343 22:14:36 # $SEMVER_TEMP = /tmp/semver-373364529 22:14:36 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 22:14:37 # '/tmp/semver-373364529' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-343/.semver' 22:14:37 # -> Force: false 22:14:37 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-343/.semver [Pipeline] } 22:14:37 $ docker exec --env ******** --env ******** f07c65567628ccd09871fd96825f2f95cb08e5690368e5ad8dd42c425d1b7927 ssh-agent -k 22:14:37 unset SSH_AUTH_SOCK; 22:14:37 unset SSH_AGENT_PID; 22:14:37 echo Agent pid 52 killed; 22:14:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:14:37 + git semver [Pipeline] } 22:14:37 $ docker stop --time=1 f07c65567628ccd09871fd96825f2f95cb08e5690368e5ad8dd42c425d1b7927 22:14:39 $ docker rm -f f07c65567628ccd09871fd96825f2f95cb08e5690368e5ad8dd42c425d1b7927 [Pipeline] // withDockerContainer [Pipeline] sh 22:14:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:14:39 Stashed 1 file(s) [Pipeline] echo 22:14:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 22:14:55 Still waiting to schedule task 22:14:55 ‘prd-centos7-builder-2c-1g-3331’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3332’ is offline; ‘prd-centos7-docker-4c-2g-3334’ is offline; ‘prd-centos7-docker-4c-2g-3337’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3333’ doesn’t have label ‘centos7-docker-4c-2g’ 22:14:55 Still waiting to schedule task 22:14:55 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3333’ is offline 22:15:14 Running on prd-centos7-docker-4c-2g-3337 in /w/workspace/edgexfoundry_device-sdk-c_PR-343 [Pipeline] { [Pipeline] ws 22:15:14 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout 22:15:18 using credential edgex-jenkins-ssh 22:15:18 Cloning the remote Git repository 22:15:18 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 22:15:18 > git init /w/workspace/device-sdk-c/3 # timeout=10 22:15:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 22:15:18 > git --version # timeout=10 22:15:18 > git --version # 'git version 2.24.3' 22:15:18 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:15:20 Merging remotes/origin/master commit a1bd3e4e984760685c7a391cc08f5a8ab2e71757 into PR head commit 11247ee6712f988fdcf59756d1d21e31bb29255a 22:15:20 Merge succeeded, producing 11247ee6712f988fdcf59756d1d21e31bb29255a 22:15:20 Checking out Revision 11247ee6712f988fdcf59756d1d21e31bb29255a (PR-343) 22:15:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 22:15:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:15:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 22:15:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 22:15:19 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/343/head:refs/remotes/origin/PR-343 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:15:20 > git config core.sparsecheckout # timeout=10 22:15:20 > git checkout -f 11247ee6712f988fdcf59756d1d21e31bb29255a # timeout=10 22:15:20 > git remote # timeout=10 22:15:20 > git config --get remote.origin.url # timeout=10 22:15:20 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:20 > git merge a1bd3e4e984760685c7a391cc08f5a8ab2e71757 # timeout=10 22:15:20 > git rev-parse HEAD^{commit} # timeout=10 22:15:20 > git config core.sparsecheckout # timeout=10 22:15:20 > git checkout -f 11247ee6712f988fdcf59756d1d21e31bb29255a # timeout=10 22:15:24 Commit message: "refactor: Use async client library for MQTT (#258)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:15:25 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:15:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:15:27 + sudo service docker restart 22:15:27 + true 22:15:27 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:15:29 provisioning config files... 22:15:29 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config8120890749192454060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:15:29 ---> docker-login.sh 22:15:29 nexus3.edgexfoundry.org:10001 22:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:30 Configure a credential helper to remove this warning. See 22:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:30 22:15:30 Login Succeeded 22:15:30 nexus3.edgexfoundry.org:10002 22:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:30 Configure a credential helper to remove this warning. See 22:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:30 22:15:30 Login Succeeded 22:15:30 nexus3.edgexfoundry.org:10003 22:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:30 Configure a credential helper to remove this warning. See 22:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:30 22:15:30 Login Succeeded 22:15:30 nexus3.edgexfoundry.org:10004 22:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:31 Configure a credential helper to remove this warning. See 22:15:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:31 22:15:31 Login Succeeded 22:15:31 docker.io 22:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:31 Configure a credential helper to remove this warning. See 22:15:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:31 22:15:31 Login Succeeded 22:15:31 ---> docker-login.sh ends [Pipeline] } 22:15:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:15:32 ========================================================= 22:15:32 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 22:15:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:15:32 + 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 . 22:15:32 Sending build context to Docker daemon 2.633MB 22:15:32 Step 1/25 : ARG BASE=alpine:3.12 22:15:32 Step 2/25 : FROM ${BASE} as builder 22:15:32 latest: Pulling from edgex-devops/edgex-gcc-base 22:15:32 e7c96db7181b: Pulling fs layer 22:15:32 4c13bbce0fe7: Pulling fs layer 22:15:32 6059c847ac2f: Pulling fs layer 22:15:32 4c13bbce0fe7: Verifying Checksum 22:15:32 4c13bbce0fe7: Download complete 22:15:32 e7c96db7181b: Verifying Checksum 22:15:32 e7c96db7181b: Download complete 22:15:33 e7c96db7181b: Pull complete 22:15:33 4c13bbce0fe7: Pull complete 22:15:36 6059c847ac2f: Verifying Checksum 22:15:36 6059c847ac2f: Download complete 22:15:44 6059c847ac2f: Pull complete 22:15:44 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 22:15:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 22:15:44 ---> 5eabd8fd8ba2 22:15:44 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 22:15:45 ---> Running in 111ff9586b38 22:15:46 Connecting to iotech.jfrog.io (54.171.22.102:443) 22:15:46 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 22:15:46 22:15:47 Removing intermediate container 111ff9586b38 22:15:47 ---> fdbc7d691345 22:15:47 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 22:15:47 ---> Running in 2dd1c7b90863 22:15:48 Removing intermediate container 2dd1c7b90863 22:15:48 ---> 5d0028286fd9 22:15:48 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 22:15:48 ---> Running in 7369206bcefb 22:15:48 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 22:15:49 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 22:15:50 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 22:15:51 (1/11) Installing hiredis (0.14.0-r0) 22:15:51 (2/11) Installing hiredis-dev (0.14.0-r0) 22:15:51 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 22:15:51 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 22:15:52 (5/11) Installing libuuid (2.33-r0) 22:15:52 (6/11) Installing libblkid (2.33-r0) 22:15:53 (7/11) Installing libfdisk (2.33-r0) 22:15:53 (8/11) Installing libmount (2.33-r0) 22:15:53 (9/11) Installing libsmartcols (2.33-r0) 22:15:53 (10/11) Installing util-linux-dev (2.33-r0) 22:15:53 (11/11) Installing wget (1.20.3-r0) 22:15:53 Executing busybox-1.29.3-r10.trigger 22:15:53 OK: 273 MiB in 86 packages 22:15:54 Removing intermediate container 7369206bcefb 22:15:54 ---> 6944806c7236 22:15:54 Step 6/25 : ENV CBOR_VERSION=0.5.0 22:15:54 ---> Running in 95200120bdb7 22:15:54 Removing intermediate container 95200120bdb7 22:15:54 ---> f71e00dc84c8 22:15:54 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 22:15:54 ---> Running in 610332426c95 22:15:55 --2021-05-06 22:15:55-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 22:15:55 Resolving github.com... 140.82.114.4 22:15:55 Connecting to github.com|140.82.114.4|:443... connected. 22:15:56 HTTP request sent, awaiting response... 302 Found 22:15:56 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 22:15:56 --2021-05-06 22:15:56-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 22:15:56 Resolving codeload.github.com... 140.82.112.10 22:15:56 Connecting to codeload.github.com|140.82.112.10|:443... connected. 22:15:56 HTTP request sent, awaiting response... 200 OK 22:15:56 Length: unspecified [application/x-gzip] 22:15:56 Saving to: 'STDOUT' 22:15:56  22:15:56 0K .......... .......... .......... .......... .......... 1.45M 22:15:56 50K .......... .......... .......... .......... .......... 2.82M 22:15:56 100K .......... .......... .......... .......... .......... 19.2M 22:15:56 150K .......... .......... .......... .......... .......... 19.8M 22:15:56 200K .......... .......... .......... .......... .......... 3.08M 22:15:56 250K .......... .......... .......... .......... .......... 4.89M 22:15:56 300K .......... .......... .......... .......... .......... 4.77M 22:15:56 350K .......... .......... .......... .......... .......... 7.43M 22:15:56 400K .......... .......... .......... .......... .......... 5.83M 22:15:56 450K .......... .......... .......... .......... .......... 3.02M 22:15:56 500K .......... .......... .......... .......... .......... 15.1M 22:15:56 550K .......... .......... .......... .......... .......... 3.34M 22:15:56 600K .......... .......... .......... .......... .......... 1.01M 22:15:56 650K .......... .......... .......... .......... .......... 2.56M 22:15:56 700K .. 31.7M=0.2s 22:15:56 22:15:56 2021-05-06 22:15:56 (3.29 MB/s) - written to stdout [719348] 22:15:56 22:15:56 -- The C compiler identification is GNU 8.3.0 22:15:56 -- The CXX compiler identification is GNU 8.3.0 22:15:56 -- Check for working C compiler: /usr/bin/cc 22:15:56 -- Check for working C compiler: /usr/bin/cc -- works 22:15:56 -- Detecting C compiler ABI info 22:15:57 -- Detecting C compiler ABI info - done 22:15:57 -- Detecting C compile features 22:15:57 -- Detecting C compile features - done 22:15:57 -- Check for working CXX compiler: /usr/bin/c++ 22:15:57 -- Check for working CXX compiler: /usr/bin/c++ -- works 22:15:57 -- Detecting CXX compiler ABI info 22:15:57 -- Detecting CXX compiler ABI info - done 22:15:57 -- Detecting CXX compile features 22:15:58 -- Detecting CXX compile features - done 22:15:58 -- Looking for include file endian.h 22:15:58 -- Looking for include file endian.h - found 22:15:58 -- Check if the system is big endian 22:15:58 -- Searching 16 bit integer 22:15:58 -- Looking for sys/types.h 22:15:58 -- Looking for sys/types.h - found 22:15:58 -- Looking for stdint.h 22:15:58 -- Looking for stdint.h - found 22:15:58 -- Looking for stddef.h 22:15:58 -- Looking for stddef.h - found 22:15:58 -- Check size of unsigned short 22:15:58 -- Check size of unsigned short - done 22:15:58 -- Using unsigned short 22:15:59 -- Check if the system is big endian - little endian 22:15:59 -- Check size of size_t 22:15:59 -- Check size of size_t - done 22:15:59 CMake Warning at examples/CMakeLists.txt:16 (find_package): 22:15:59 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 22:15:59 asked CMake to find a package configuration file provided by "cJSON", but 22:15:59 CMake did not find one. 22:15:59 22:15:59 Could not find a package configuration file provided by "cJSON" with any of 22:15:59 the following names: 22:15:59 22:15:59 cJSONConfig.cmake 22:15:59 cjson-config.cmake 22:15:59 22:15:59 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 22:15:59 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 22:15:59 provides a separate development package or SDK, be sure it has been 22:15:59 installed. 22:15:59 22:15:59 22:15:59 -- Configuring done 22:15:59 -- Generating done 22:15:59 -- Build files have been written to: /tmp/cbor 22:15:59 Scanning dependencies of target cbor_shared 22:15:59 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 22:15:59 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 22:15:59 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 22:15:59 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 22:16:00 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 22:16:00 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 22:16:00 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 22:16:00 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 22:16:00 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 22:16:00 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 22:16:01 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 22:16:01 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 22:16:01 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 22:16:01 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 22:16:01 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 22:16:01 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 22:16:01 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 22:16:01 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 22:16:01 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 22:16:01 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 22:16:02 [ 40%] Linking C shared library libcbor.so 22:16:02 [ 40%] Built target cbor_shared 22:16:02 Scanning dependencies of target cbor 22:16:02 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 22:16:02 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 22:16:02 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 22:16:02 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 22:16:03 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 22:16:03 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 22:16:03 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 22:16:03 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 22:16:03 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 22:16:03 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 22:16:03 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 22:16:04 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 22:16:04 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 22:16:04 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 22:16:04 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 22:16:04 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 22:16:04 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 22:16:04 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 22:16:04 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 22:16:04 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 22:16:04 [ 80%] Linking C static library libcbor.a 22:16:04 [ 80%] Built target cbor 22:16:04 Scanning dependencies of target create_items 22:16:04 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 22:16:04 [ 84%] Linking C executable create_items 22:16:04 [ 84%] Built target create_items 22:16:04 Scanning dependencies of target readfile 22:16:04 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 22:16:05 [ 88%] Linking C executable readfile 22:16:05 [ 88%] Built target readfile 22:16:05 Scanning dependencies of target streaming_parser 22:16:05 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 22:16:05 [ 92%] Linking C executable streaming_parser 22:16:05 [ 92%] Built target streaming_parser 22:16:05 Scanning dependencies of target sort 22:16:05 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 22:16:05 [ 96%] Linking C executable sort 22:16:05 [ 96%] Built target sort 22:16:05 Scanning dependencies of target hello 22:16:05 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 22:16:05 [100%] Linking C executable hello 22:16:05 [100%] Built target hello 22:16:05 Install the project... 22:16:05 -- Install configuration: "Release" 22:16:05 -- Installing: /usr/local/include/cbor/configuration.h 22:16:05 -- Installing: /usr/local/lib64/libcbor.a 22:16:05 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 22:16:05 -- Installing: /usr/local/lib64/libcbor.so.0 22:16:05 -- Installing: /usr/local/lib64/libcbor.so 22:16:05 -- Up-to-date: /usr/local/include/cbor 22:16:05 -- Installing: /usr/local/include/cbor/arrays.h 22:16:05 -- Installing: /usr/local/include/cbor/bytestrings.h 22:16:05 -- Installing: /usr/local/include/cbor/callbacks.h 22:16:05 -- Installing: /usr/local/include/cbor/common.h 22:16:05 -- Installing: /usr/local/include/cbor/data.h 22:16:05 -- Installing: /usr/local/include/cbor/encoding.h 22:16:05 -- Installing: /usr/local/include/cbor/floats_ctrls.h 22:16:05 -- Installing: /usr/local/include/cbor/internal 22:16:05 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 22:16:05 -- Installing: /usr/local/include/cbor/internal/encoders.h 22:16:05 -- Installing: /usr/local/include/cbor/internal/loaders.h 22:16:05 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 22:16:05 -- Installing: /usr/local/include/cbor/internal/stack.h 22:16:05 -- Installing: /usr/local/include/cbor/internal/unicode.h 22:16:05 -- Installing: /usr/local/include/cbor/ints.h 22:16:05 -- Installing: /usr/local/include/cbor/maps.h 22:16:05 -- Installing: /usr/local/include/cbor/serialization.h 22:16:05 -- Installing: /usr/local/include/cbor/streaming.h 22:16:05 -- Installing: /usr/local/include/cbor/strings.h 22:16:05 -- Installing: /usr/local/include/cbor/tags.h 22:16:05 -- Installing: /usr/local/include/cbor.h 22:16:05 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 22:16:07 Removing intermediate container 610332426c95 22:16:07 ---> 975cd63f7cf4 22:16:07 Step 8/25 : RUN mkdir /tmp/sdk 22:16:07 ---> Running in 5a50f9436ef1 22:16:08 Removing intermediate container 5a50f9436ef1 22:16:08 ---> 832ee1b45c64 22:16:08 Step 9/25 : COPY VERSION /tmp/sdk 22:16:08 ---> 66c1d27996d3 22:16:08 Step 10/25 : COPY src /tmp/sdk/src 22:16:09 ---> 1760d3063bfd 22:16:09 Step 11/25 : COPY include /tmp/sdk/include 22:16:10 ---> a941bb196a02 22:16:10 Step 12/25 : COPY scripts /tmp/sdk/scripts 22:16:10 ---> e901f0ac37b8 22:16:10 Step 13/25 : COPY LICENSE /tmp/sdk 22:16:10 ---> 9cb14c65995c 22:16:10 Step 14/25 : COPY Attribution.txt /tmp/sdk 22:16:10 ---> b254d4f36648 22:16:10 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 22:16:10 ---> Running in b70a0400f14c 22:16:11 + CPPCHECK=false 22:16:11 + DOCGEN=false 22:16:11 + TOMLVER=SDK-0.2 22:16:11 + CUTILVER=1.1.4 22:16:11 + '[' 0 -gt 0 ] 22:16:11 + readlink -f ./scripts/build.sh 22:16:11 + dirname /tmp/sdk/scripts/build.sh 22:16:11 + dirname /tmp/sdk/scripts 22:16:11 + ROOT=/tmp/sdk 22:16:11 + cd /tmp/sdk 22:16:11 + '[' '!' -d deps ] 22:16:11 + mkdir deps 22:16:11 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 22:16:11 + tar -C deps -z -x -f - 22:16:11 --2021-05-06 22:16:11-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 22:16:11 Resolving github.com... 140.82.114.4 22:16:11 Connecting to github.com|140.82.114.4|:443... connected. 22:16:11 HTTP request sent, awaiting response... 302 Found 22:16:11 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 22:16:11 --2021-05-06 22:16:11-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 22:16:11 Resolving codeload.github.com... 140.82.112.10 22:16:11 Connecting to codeload.github.com|140.82.112.10|:443... connected. 22:16:11 HTTP request sent, awaiting response... 200 OK 22:16:11 Length: unspecified [application/x-gzip] 22:16:11 Saving to: 'STDOUT' 22:16:11 22:16:11 0K .......... ...... 960K=0.02s 22:16:11 22:16:11 2021-05-06 22:16:11 (960 KB/s) - written to stdout [16451] 22:16:11 22:16:11 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 22:16:11 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 22:16:11 + tar -C deps -z -x -f - 22:16:11 --2021-05-06 22:16:11-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 22:16:11 Resolving github.com... 140.82.114.4 22:16:11 Connecting to github.com|140.82.114.4|:443... connected. 22:16:12 HTTP request sent, awaiting response... 302 Found 22:16:12 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 22:16:12 --2021-05-06 22:16:11-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 22:16:12 Resolving codeload.github.com... 140.82.112.10 22:16:12 Connecting to codeload.github.com|140.82.112.10|:443... connected. 22:16:12 HTTP request sent, awaiting response... 200 OK 22:16:12 Length: unspecified [application/x-gzip] 22:16:12 Saving to: 'STDOUT' 22:16:12 22:16:12 0K .......... .......... .......... .......... .......... 1.54M 22:16:12 50K .......... .......... .......... .......... .......... 3.13M 22:16:12 100K .......... .......... .......... .......... .......... 8.93M 22:16:12 150K .......... .......... ....... 2.98M=0.06s 22:16:12 22:16:12 2021-05-06 22:16:12 (2.80 MB/s) - written to stdout [181796] 22:16:12 22:16:12 + mkdir -p src/c/iot 22:16:12 + 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 22:16:12 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 22:16:12 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 22:16:12 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 22:16:12 + mkdir -p include/iot 22:16:12 + 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 22:16:12 + mkdir -p include/iot/os 22:16:12 + 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 22:16:12 + mkdir -p /tmp/sdk/build/release 22:16:12 + cd /tmp/sdk/build/release 22:16:12 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 22:16:12 -- The C compiler identification is GNU 8.3.0 22:16:12 -- Check for working C compiler: /usr/bin/cc 22:16:12 -- Check for working C compiler: /usr/bin/cc -- works 22:16:12 -- Detecting C compiler ABI info 22:16:12 -- Detecting C compiler ABI info - done 22:16:12 -- Detecting C compile features 22:16:12 -- Detecting C compile features - done 22:16:12 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 22:16:12 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 22:16:12 -- Found LIBYAML: /usr/lib/libyaml.so 22:16:12 -- Found LIBUUID: /usr/lib/libuuid.so 22:16:12 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 22:16:12 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 22:16:12 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 22:16:12 -- C SDK 0.0.0 for Linux 22:16:12 -- Performing Test CSDK_HAVE_ATOMIC 22:16:13 -- Performing Test CSDK_HAVE_ATOMIC - Success 22:16:13 -- Found Curses: /usr/lib/libcurses.so 22:16:13 -- Configuring done 22:16:13 -- Generating done 22:16:13 -- Build files have been written to: /tmp/sdk/build/release 22:16:13 + make all package 22:16:13 + tee release.log 22:16:13 Scanning dependencies of target csdk 22:16:13 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 22:16:13 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 22:16:13 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 22:16:14 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 22:16:14 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 22:16:14 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 22:16:14 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 22:16:14 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 22:16:14 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 22:16:15 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 22:16:15 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 22:16:15 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 22:16:15 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 22:16:16 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 22:16:16 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 22:16:16 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 22:16:16 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 22:16:17 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 22:16:17 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 22:16:17 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 22:16:17 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 22:16:17 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 22:16:17 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 22:16:18 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 22:16:18 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 22:16:18 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 22:16:18 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 22:16:19 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 22:16:19 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 22:16:19 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 22:16:19 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 22:16:19 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 22:16:19 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 22:16:20 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 22:16:20 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 22:16:20 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 22:16:20 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 22:16:21 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 22:16:21 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 22:16:21 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 22:16:22 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 22:16:22 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 22:16:22 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 22:16:23 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 22:16:24 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 22:16:24 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 22:16:24 [ 74%] Linking C shared library libcsdk.so 22:16:24 [ 74%] Built target csdk 22:16:24 Scanning dependencies of target template 22:16:24 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 22:16:24 [ 77%] Linking C executable template 22:16:25 [ 77%] Built target template 22:16:25 Scanning dependencies of target device-counter 22:16:25 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 22:16:25 [ 80%] Linking C executable device-counter 22:16:25 [ 80%] Built target device-counter 22:16:25 Scanning dependencies of target device-random 22:16:25 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 22:16:25 [ 84%] Linking C executable device-random 22:16:25 [ 84%] Built target device-random 22:16:25 Scanning dependencies of target device-gyro 22:16:25 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 22:16:25 [ 87%] Linking C executable device-gyro 22:16:25 [ 87%] Built target device-gyro 22:16:25 Scanning dependencies of target device-bitfields 22:16:25 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 22:16:25 [ 90%] Linking C executable device-bitfields 22:16:25 [ 90%] Built target device-bitfields 22:16:25 Scanning dependencies of target template-discovery 22:16:25 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 22:16:26 [ 93%] Linking C executable template-discovery 22:16:26 [ 93%] Built target template-discovery 22:16:26 Scanning dependencies of target device-file 22:16:26 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 22:16:26 [ 96%] Linking C executable device-file 22:16:26 [ 96%] Built target device-file 22:16:26 Scanning dependencies of target device-terminal 22:16:26 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 22:16:26 [100%] Linking C executable device-terminal 22:16:26 [100%] Built target device-terminal 22:16:26 Run CPack packaging tool... 22:16:26 CPack: Create package using TGZ 22:16:26 CPack: Install projects 22:16:26 CPack: - Run preinstall target for: Csdk 22:16:27 CPack: - Install project: Csdk 22:16:27 CPack: Create package 22:16:27 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 22:16:27 + '[' false '=' true ] 22:16:27 + '[' false '=' true ] 22:16:27 + mkdir -p /tmp/sdk/build/debug 22:16:27 + cd /tmp/sdk/build/debug 22:16:27 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 22:16:27 -- The C compiler identification is GNU 8.3.0 22:16:27 -- Check for working C compiler: /usr/bin/cc 22:16:27 -- Check for working C compiler: /usr/bin/cc -- works 22:16:27 -- Detecting C compiler ABI info 22:16:27 -- Detecting C compiler ABI info - done 22:16:27 -- Detecting C compile features 22:16:27 -- Detecting C compile features - done 22:16:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 22:16:27 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 22:16:27 -- Found LIBYAML: /usr/lib/libyaml.so 22:16:27 -- Found LIBUUID: /usr/lib/libuuid.so 22:16:27 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 22:16:27 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 22:16:27 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 22:16:27 -- C SDK 0.0.0 for Linux 22:16:27 -- Performing Test CSDK_HAVE_ATOMIC 22:16:28 -- Performing Test CSDK_HAVE_ATOMIC - Success 22:16:28 -- Found Curses: /usr/lib/libcurses.so 22:16:28 -- Configuring done 22:16:28 -- Generating done 22:16:28 -- Build files have been written to: /tmp/sdk/build/debug 22:16:28 + make 22:16:28 + tee debug.log 22:16:28 Scanning dependencies of target csdk 22:16:28 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 22:16:28 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 22:16:28 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 22:16:28 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 22:16:28 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 22:16:28 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 22:16:28 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 22:16:28 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 22:16:28 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 22:16:29 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 22:16:29 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 22:16:29 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 22:16:29 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 22:16:29 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 22:16:29 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 22:16:29 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 22:16:29 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 22:16:29 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 22:16:30 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 22:16:30 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 22:16:30 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 22:16:30 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 22:16:30 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 22:16:30 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 22:16:30 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 22:16:30 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 22:16:30 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 22:16:30 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 22:16:30 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 22:16:30 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 22:16:31 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 22:16:31 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 22:16:31 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 22:16:31 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 22:16:31 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 22:16:31 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 22:16:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 22:16:32 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 22:16:32 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 22:16:32 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 22:16:32 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 22:16:32 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 22:16:32 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 22:16:32 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 22:16:33 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 22:16:33 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 22:16:33 [ 74%] Linking C shared library libcsdk.so 22:16:33 [ 74%] Built target csdk 22:16:33 Scanning dependencies of target template 22:16:33 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 22:16:33 [ 77%] Linking C executable template 22:16:33 [ 77%] Built target template 22:16:33 Scanning dependencies of target device-counter 22:16:33 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 22:16:33 [ 80%] Linking C executable device-counter 22:16:33 [ 80%] Built target device-counter 22:16:33 Scanning dependencies of target device-random 22:16:33 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 22:16:33 [ 84%] Linking C executable device-random 22:16:33 [ 84%] Built target device-random 22:16:33 Scanning dependencies of target device-gyro 22:16:33 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 22:16:33 [ 87%] Linking C executable device-gyro 22:16:34 [ 87%] Built target device-gyro 22:16:34 Scanning dependencies of target device-bitfields 22:16:34 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 22:16:34 [ 90%] Linking C executable device-bitfields 22:16:34 [ 90%] Built target device-bitfields 22:16:34 Scanning dependencies of target template-discovery 22:16:34 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 22:16:34 [ 93%] Linking C executable template-discovery 22:16:34 [ 93%] Built target template-discovery 22:16:34 Scanning dependencies of target device-file 22:16:34 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 22:16:34 [ 96%] Linking C executable device-file 22:16:34 [ 96%] Built target device-file 22:16:34 Scanning dependencies of target device-terminal 22:16:34 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 22:16:34 [100%] Linking C executable device-terminal 22:16:34 [100%] Built target device-terminal 22:16:34 make: Entering directory '/tmp/sdk/build/release' 22:16:34 make[1]: Entering directory '/tmp/sdk/build/release' 22:16:34 make[2]: Entering directory '/tmp/sdk/build/release' 22:16:34 make[2]: Leaving directory '/tmp/sdk/build/release' 22:16:34 [ 74%] Built target csdk 22:16:34 make[2]: Entering directory '/tmp/sdk/build/release' 22:16:34 make[2]: Leaving directory '/tmp/sdk/build/release' 22:16:34 [ 77%] Built target template 22:16:34 make[2]: Entering directory '/tmp/sdk/build/release' 22:16:34 make[2]: Leaving directory '/tmp/sdk/build/release' 22:16:34 [ 80%] Built target device-counter 22:16:34 make[2]: Entering directory '/tmp/sdk/build/release' 22:16:34 make[2]: Leaving directory '/tmp/sdk/build/release' 22:16:34 [ 84%] Built target device-random 22:16:34 make[2]: Entering directory '/tmp/sdk/build/release' 22:16:34 make[2]: Leaving directory '/tmp/sdk/build/release' 22:16:34 [ 87%] Built target device-gyro 22:16:34 make[2]: Entering directory '/tmp/sdk/build/release' 22:16:34 make[2]: Leaving directory '/tmp/sdk/build/release' 22:16:34 [ 90%] Built target device-bitfields 22:16:34 make[2]: Entering directory '/tmp/sdk/build/release' 22:16:34 make[2]: Leaving directory '/tmp/sdk/build/release' 22:16:34 [ 93%] Built target template-discovery 22:16:34 make[2]: Entering directory '/tmp/sdk/build/release' 22:16:34 make[2]: Leaving directory '/tmp/sdk/build/release' 22:16:34 [ 96%] Built target device-file 22:16:34 make[2]: Entering directory '/tmp/sdk/build/release' 22:16:35 make[2]: Leaving directory '/tmp/sdk/build/release' 22:16:35 [100%] Built target device-terminal 22:16:35 make[1]: Leaving directory '/tmp/sdk/build/release' 22:16:35 Install the project... 22:16:35 -- Install configuration: "Release" 22:16:35 -- Installing: /usr/local/lib/libcsdk.so 22:16:35 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 22:16:35 -- Up-to-date: /usr/local/include 22:16:35 -- Installing: /usr/local/include/devsdk 22:16:35 -- Installing: /usr/local/include/devsdk/devsdk-base.h 22:16:35 -- Installing: /usr/local/include/devsdk/devsdk.h 22:16:35 -- Installing: /usr/local/include/edgex 22:16:35 -- Installing: /usr/local/include/edgex/devices.h 22:16:35 -- Installing: /usr/local/include/edgex/edgex-base.h 22:16:35 -- Installing: /usr/local/include/edgex/edgex.h 22:16:35 -- Installing: /usr/local/include/edgex/profiles.h 22:16:35 -- Installing: /usr/local/include/edgex/rest-server.h 22:16:35 -- Installing: /usr/local/include/edgex/csdk-defs.h 22:16:35 -- Installing: /usr/local/include/iot 22:16:35 -- Installing: /usr/local/include/iot/base64.h 22:16:35 -- Installing: /usr/local/include/iot/component.h 22:16:35 -- Installing: /usr/local/include/iot/config.h 22:16:35 -- Installing: /usr/local/include/iot/container.h 22:16:35 -- Installing: /usr/local/include/iot/data.h 22:16:35 -- Installing: /usr/local/include/iot/hash.h 22:16:35 -- Installing: /usr/local/include/iot/iot.h 22:16:35 -- Installing: /usr/local/include/iot/json.h 22:16:35 -- Installing: /usr/local/include/iot/logger.h 22:16:35 -- Installing: /usr/local/include/iot/os.h 22:16:35 -- Installing: /usr/local/include/iot/scheduler.h 22:16:35 -- Installing: /usr/local/include/iot/thread.h 22:16:35 -- Installing: /usr/local/include/iot/threadpool.h 22:16:35 -- Installing: /usr/local/include/iot/time.h 22:16:35 -- Installing: /usr/local/include/iot/typecode.h 22:16:35 -- Installing: /usr/local/include/iot/os 22:16:35 -- Installing: /usr/local/include/iot/os/linux.h 22:16:35 -- Installing: /usr/local/include/iot/os/macos.h 22:16:35 -- Installing: /usr/local/include/iot/os/zephyr.h 22:16:35 -- Installing: /usr/local/include/iot/defs.h 22:16:35 -- Installing: /usr/local/share/device-sdk-c/LICENSE 22:16:35 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 22:16:35 make: Leaving directory '/tmp/sdk/build/release' 22:16:37 Removing intermediate container b70a0400f14c 22:16:37 ---> 8e7f38bee227 22:16:37 Step 16/25 : FROM ${BASE} 22:16:37 ---> 5eabd8fd8ba2 22:16:37 Step 17/25 : LABEL maintainer="IOTech " 22:16:37 ---> Running in bec197caae91 22:16:37 Removing intermediate container bec197caae91 22:16:37 ---> e89b0cd394a6 22:16:37 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 22:16:37 ---> Running in 1d3e47a46b08 22:16:37 Connecting to iotech.jfrog.io (54.76.134.205:443) 22:16:38 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 22:16:38 22:16:38 Removing intermediate container 1d3e47a46b08 22:16:38 ---> 86341d3bd1b0 22:16:38 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 22:16:38 ---> Running in f3b9b4896b4b 22:16:40 Removing intermediate container f3b9b4896b4b 22:16:40 ---> 8acdd8b79f2c 22:16:40 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 22:16:40 ---> Running in 6d4c387fe0a3 22:16:40 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 22:16:41 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 22:16:42 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 22:16:42 (1/6) Installing curl (7.64.0-r5) 22:16:42 (2/6) Installing hiredis (0.14.0-r0) 22:16:42 (3/6) Installing hiredis-dev (0.14.0-r0) 22:16:42 (4/6) Installing libuuid (2.33-r0) 22:16:42 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 22:16:44 (6/6) Installing wget (1.20.3-r0) 22:16:44 Executing busybox-1.29.3-r10.trigger 22:16:44 OK: 269 MiB in 81 packages 22:16:44 Removing intermediate container 6d4c387fe0a3 22:16:44 ---> 19c1c6be2960 22:16:44 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 22:16:45 ---> a5241649e23a 22:16:45 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 22:16:45 ---> 498a7f418d24 22:16:45 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 22:16:45 ---> de7236209ab7 22:16:45 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 22:16:45 ---> 275568d402bb 22:16:45 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 22:16:46 ---> 79aa82ce5c5a 22:16:46 Successfully built 79aa82ce5c5a 22:16:46 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 22:16:46 + docker inspect -f . ci-base-image-x86_64 22:16:46 . [Pipeline] withDockerContainer 22:16:46 prd-centos7-docker-4c-2g-3337 does not seem to be running inside a container 22:16:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:16:47 $ docker top 161c4d318e5016b5b2908cdd9cfa28057014efeecf003740d9534bcd2ee5cca7 -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:48 + make test 22:16:48 echo "make test" 22:16:48 make test [Pipeline] } 22:16:48 $ docker stop --time=1 161c4d318e5016b5b2908cdd9cfa28057014efeecf003740d9534bcd2ee5cca7 22:16:49 $ docker rm -f 161c4d318e5016b5b2908cdd9cfa28057014efeecf003740d9534bcd2ee5cca7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:16:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:16:52 + ls -al . 22:16:52 total 160 22:16:52 drwxrwxr-x. 8 jenkins jenkins 260 May 6 22:15 . 22:16:52 drwxrwxr-x. 4 jenkins jenkins 28 May 6 22:15 .. 22:16:52 -rw-rw-r--. 1 jenkins jenkins 3104 May 6 22:15 Attribution.txt 22:16:52 -rw-rw-r--. 1 jenkins jenkins 7200 May 6 22:15 CHANGES 22:16:52 drwxrwxr-x. 2 jenkins jenkins 121 May 6 22:15 docs 22:16:52 -rw-rw-r--. 1 jenkins jenkins 108574 May 6 22:15 Doxyfile 22:16:52 drwxrwxr-x. 8 jenkins jenkins 179 May 6 22:15 .git 22:16:52 drwxrwxr-x. 2 jenkins jenkins 81 May 6 22:15 .github 22:16:52 -rw-rw-r--. 1 jenkins jenkins 176 May 6 22:15 .gitignore 22:16:52 drwxrwxr-x. 4 jenkins jenkins 33 May 6 22:15 include 22:16:52 -rw-rw-r--. 1 jenkins jenkins 784 May 6 22:15 Jenkinsfile 22:16:52 -rw-rw-r--. 1 jenkins jenkins 10174 May 6 22:15 LICENSE 22:16:52 -rw-rw-r--. 1 jenkins jenkins 444 May 6 22:15 Makefile 22:16:52 -rw-rw-r--. 1 jenkins jenkins 4090 May 6 22:15 README.md 22:16:52 -rw-rw-r--. 1 jenkins jenkins 6654 May 6 22:15 README.v2.md 22:16:52 drwxrwxr-x. 2 jenkins jenkins 98 May 6 22:15 scripts 22:16:52 drwxrwxr-x. 4 jenkins jenkins 50 May 6 22:15 src 22:16:52 -rw-rw-r--. 1 jenkins jenkins 5 May 6 22:14 VERSION [Pipeline] isUnix [Pipeline] sh 22:16:52 + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=11247ee6712f988fdcf59756d1d21e31bb29255a --label arch=amd64 --label version=0.0.0 . 22:16:52 Sending build context to Docker daemon 2.633MB 22:16:52 Step 1/17 : ARG BASE=alpine:3.12 22:16:52 Step 2/17 : FROM ${BASE} 22:16:52 ---> 79aa82ce5c5a 22:16:52 Step 3/17 : LABEL maintainer="IOTech " 22:16:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3339 in /w/workspace/edgexfoundry_device-sdk-c_PR-343 [Pipeline] { [Pipeline] ws 22:16:53 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout 22:16:53 ---> Running in 2c18db4084df 22:16:53 Removing intermediate container 2c18db4084df 22:16:53 ---> 2d1a625618cf 22:16:53 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 22:16:53 ---> Running in 1bf4ed12d196 22:16:54 --2021-05-06 22:16:54-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 22:16:54 Resolving iotech.jfrog.io... 52.209.221.241, 52.209.226.76, 54.171.22.102, ... 22:16:54 Connecting to iotech.jfrog.io|52.209.221.241|:443... connected. 22:16:55 HTTP request sent, awaiting response... 200 OK 22:16:55 Length: 451 [application/octet-stream] 22:16:55 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 22:16:55  22:16:55 0K 100% 32.9M=0s 22:16:55 22:16:55 2021-05-06 22:16:54 (32.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 22:16:55 22:16:55 Removing intermediate container 1bf4ed12d196 22:16:55 ---> 32ed3b114c8a 22:16:55 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 22:16:55 ---> Running in 9dce46c96003 22:16:56 Removing intermediate container 9dce46c96003 22:16:56 ---> b2933b91fef7 22:16:56 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 22:16:56 ---> Running in b7cac1b72b25 22:16:57 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 22:16:57 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 22:16:58 using credential edgex-jenkins-ssh 22:16:58 Cloning the remote Git repository 22:16:58 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 22:16:59 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 22:16:59 (2/6) Installing libblkid (2.33-r0) 22:16:59 (3/6) Installing libfdisk (2.33-r0) 22:16:59 (4/6) Installing libmount (2.33-r0) 22:16:58 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 22:16:58 > git init /w/workspace/device-sdk-c/3 # timeout=10 22:16:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 22:16:58 > git --version # timeout=10 22:16:59 > git --version # 'git version 2.17.1' 22:16:59 using GIT_SSH to set credentials SSH Credentials for GitHub 22:16:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:16:59 (5/6) Installing libsmartcols (2.33-r0) 22:16:59 (6/6) Installing util-linux-dev (2.33-r0) 22:17:00 Executing busybox-1.29.3-r10.trigger 22:17:00 OK: 273 MiB in 87 packages 22:17:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 22:17:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:17:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 22:17:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 22:17:00 using GIT_SSH to set credentials SSH Credentials for GitHub 22:17:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/343/head:refs/remotes/origin/PR-343 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:17:01 Merging remotes/origin/master commit a1bd3e4e984760685c7a391cc08f5a8ab2e71757 into PR head commit 11247ee6712f988fdcf59756d1d21e31bb29255a 22:17:01 Merge succeeded, producing 11247ee6712f988fdcf59756d1d21e31bb29255a 22:17:01 Checking out Revision 11247ee6712f988fdcf59756d1d21e31bb29255a (PR-343) 22:17:01 Removing intermediate container b7cac1b72b25 22:17:01 ---> 36f56d70ab31 22:17:01 Step 7/17 : COPY VERSION /edgex-c-sdk/ 22:17:01 ---> 6cdfd529b2a1 22:17:01 Step 8/17 : COPY src /edgex-c-sdk/src/ 22:17:01 > git config core.sparsecheckout # timeout=10 22:17:01 > git checkout -f 11247ee6712f988fdcf59756d1d21e31bb29255a # timeout=10 22:17:01 > git remote # timeout=10 22:17:01 > git config --get remote.origin.url # timeout=10 22:17:01 using GIT_SSH to set credentials SSH Credentials for GitHub 22:17:01 > git merge a1bd3e4e984760685c7a391cc08f5a8ab2e71757 # timeout=10 22:17:01 > git rev-parse HEAD^{commit} # timeout=10 22:17:01 > git config core.sparsecheckout # timeout=10 22:17:01 > git checkout -f 11247ee6712f988fdcf59756d1d21e31bb29255a # timeout=10 22:17:02 ---> c63cb286393e 22:17:02 Step 9/17 : COPY include /edgex-c-sdk/include/ 22:17:03 ---> e3ffd01a5fb4 22:17:03 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 22:17:03 ---> f988958e769a 22:17:03 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 22:17:04 ---> cbe78dac267a 22:17:04 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 22:17:04 ---> 278fea828871 22:17:04 Step 13/17 : WORKDIR /edgex-c-sdk 22:17:04 ---> Running in 178a99bacce7 22:17:05 Removing intermediate container 178a99bacce7 22:17:05 ---> 4309b4fef042 22:17:05 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 22:17:05 ---> Running in ba2809087f0e 22:17:05 Commit message: "refactor: Use async client library for MQTT (#258)" 22:17:05 Removing intermediate container ba2809087f0e 22:17:05 ---> 44e43315b8aa 22:17:05 Step 15/17 : LABEL arch=amd64 22:17:05 ---> Running in 85cc36340e93 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:17:05 Removing intermediate container 85cc36340e93 22:17:05 ---> ad1a77ed4be6 22:17:05 Step 16/17 : LABEL git_sha=11247ee6712f988fdcf59756d1d21e31bb29255a 22:17:05 ---> Running in f6247621e4c3 22:17:06 Removing intermediate container f6247621e4c3 22:17:06 ---> 4e8821141932 22:17:06 Step 17/17 : LABEL version=0.0.0 22:17:06 ---> Running in 6a8c592cbf81 22:17:06 Removing intermediate container 6a8c592cbf81 22:17:06 ---> 7de6622f7f26 22:17:06 [Warning] One or more build-args [MAKE ARCH] were not consumed 22:17:06 Successfully built 7de6622f7f26 22:17:06 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:17:06 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:17:07 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:17:07 + sudo service docker restart 22:17:07 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:17:10 provisioning config files... 22:17:10 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config5001464326117951394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:17:10 ---> docker-login.sh 22:17:10 nexus3.edgexfoundry.org:10001 22:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:11 Configure a credential helper to remove this warning. See 22:17:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:11 22:17:11 Login Succeeded 22:17:11 nexus3.edgexfoundry.org:10002 22:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:12 Configure a credential helper to remove this warning. See 22:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:12 22:17:12 Login Succeeded 22:17:12 nexus3.edgexfoundry.org:10003 22:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:12 Configure a credential helper to remove this warning. See 22:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:12 22:17:12 Login Succeeded 22:17:12 nexus3.edgexfoundry.org:10004 22:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:13 Configure a credential helper to remove this warning. See 22:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:13 22:17:13 Login Succeeded 22:17:13 docker.io 22:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:13 Configure a credential helper to remove this warning. See 22:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:13 22:17:13 Login Succeeded 22:17:13 ---> docker-login.sh ends [Pipeline] } 22:17:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:17:14 ========================================================= 22:17:14 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 22:17:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:17:14 + 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 . 22:17:14 Sending build context to Docker daemon 2.632MB 22:17:15 Step 1/25 : ARG BASE=alpine:3.12 22:17:15 Step 2/25 : FROM ${BASE} as builder 22:17:15 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 22:17:15 0362ad1dd800: Pulling fs layer 22:17:15 f2cdb1532d8b: Pulling fs layer 22:17:15 37ed683be191: Pulling fs layer 22:17:15 f2cdb1532d8b: Verifying Checksum 22:17:15 f2cdb1532d8b: Download complete 22:17:15 0362ad1dd800: Download complete 22:17:16 0362ad1dd800: Pull complete 22:17:16 f2cdb1532d8b: Pull complete 22:17:17 37ed683be191: Verifying Checksum 22:17:17 37ed683be191: Download complete 22:17:25 37ed683be191: Pull complete 22:17:25 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 22:17:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 22:17:25 ---> b23d30803547 22:17:25 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 22:17:27 ---> Running in e32bb4241141 22:17:28 Connecting to iotech.jfrog.io (52.209.221.241:443) 22:17:29 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 22:17:29 22:17:30 Removing intermediate container e32bb4241141 22:17:30 ---> 4fe6974ee4fb 22:17:30 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 22:17:30 ---> Running in d4ec130fda44 22:17:32 Removing intermediate container d4ec130fda44 22:17:32 ---> bc814a1244e9 22:17:32 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 22:17:32 ---> Running in 1a835650379a 22:17:33 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 22:17:34 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 22:17:35 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 22:17:35 (1/11) Installing hiredis (0.14.0-r0) 22:17:35 (2/11) Installing hiredis-dev (0.14.0-r0) 22:17:35 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 22:17:35 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 22:17:37 (5/11) Installing libuuid (2.33-r0) 22:17:37 (6/11) Installing libblkid (2.33-r0) 22:17:37 (7/11) Installing libfdisk (2.33-r0) 22:17:37 (8/11) Installing libmount (2.33-r0) 22:17:37 (9/11) Installing libsmartcols (2.33-r0) 22:17:37 (10/11) Installing util-linux-dev (2.33-r0) 22:17:38 (11/11) Installing wget (1.20.3-r0) 22:17:38 Executing busybox-1.29.3-r10.trigger 22:17:38 OK: 287 MiB in 86 packages 22:17:40 Removing intermediate container 1a835650379a 22:17:40 ---> 595faf451245 22:17:40 Step 6/25 : ENV CBOR_VERSION=0.5.0 22:17:40 ---> Running in 85de3e09b21b 22:17:40 Removing intermediate container 85de3e09b21b 22:17:40 ---> 1b92973b7218 22:17:40 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 22:17:40 ---> Running in c2421ecfbd1d 22:17:41 --2021-05-06 22:17:41-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 22:17:41 Resolving github.com... 140.82.113.4 22:17:41 Connecting to github.com|140.82.113.4|:443... connected. 22:17:42 HTTP request sent, awaiting response... 302 Found 22:17:42 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 22:17:42 --2021-05-06 22:17:41-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 22:17:42 Resolving codeload.github.com... 140.82.113.10 22:17:42 Connecting to codeload.github.com|140.82.113.10|:443... connected. 22:17:42 HTTP request sent, awaiting response... 200 OK 22:17:42 Length: unspecified [application/x-gzip] 22:17:42 Saving to: 'STDOUT' 22:17:42  22:17:42 0K .......... .......... .......... .......... .......... 1.56M 22:17:42 50K .......... .......... .......... .......... .......... 3.24M 22:17:42 100K .......... .......... .......... .......... .......... 10.3M 22:17:42 150K .......... .......... .......... .......... .......... 4.68M 22:17:42 200K .......... .......... .......... .......... .......... 10.7M 22:17:42 250K .......... .......... .......... .......... .......... 3.33M 22:17:42 300K .......... .......... .......... .......... .......... 3.97M 22:17:42 350K .......... .......... .......... .......... .......... 2.96M 22:17:42 400K .......... .......... .......... .......... .......... 5.05M 22:17:42 450K .......... .......... .......... .......... .......... 3.41M 22:17:42 500K .......... .......... .......... .......... .......... 6.04M 22:17:42 550K .......... .......... .......... .......... .......... 2.49M 22:17:42 600K .......... .......... .......... .......... .......... 955K 22:17:42 650K .......... .......... .......... .......... .......... 1.91M 22:17:42 700K ..  4.28M=0.2s 22:17:42 22:17:42 2021-05-06 22:17:42 (2.86 MB/s) - written to stdout [719348] 22:17:42 22:17:42 -- The C compiler identification is GNU 8.3.0 22:17:42 -- The CXX compiler identification is GNU 8.3.0 22:17:42 -- Check for working C compiler: /usr/bin/cc 22:17:43 -- Check for working C compiler: /usr/bin/cc -- works 22:17:43 -- Detecting C compiler ABI info 22:17:43 -- Detecting C compiler ABI info - done 22:17:43 -- Detecting C compile features 22:17:43 -- Detecting C compile features - done 22:17:43 -- Check for working CXX compiler: /usr/bin/c++ 22:17:44 -- Check for working CXX compiler: /usr/bin/c++ -- works 22:17:44 -- Detecting CXX compiler ABI info 22:17:44 -- Detecting CXX compiler ABI info - done 22:17:44 -- Detecting CXX compile features 22:17:45 -- Detecting CXX compile features - done 22:17:45 -- Looking for include file endian.h 22:17:46 -- Looking for include file endian.h - found 22:17:46 -- Check if the system is big endian 22:17:46 -- Searching 16 bit integer 22:17:46 -- Looking for sys/types.h 22:17:46 -- Looking for sys/types.h - found 22:17:46 -- Looking for stdint.h 22:17:46 -- Looking for stdint.h - found 22:17:46 -- Looking for stddef.h 22:17:47 -- Looking for stddef.h - found 22:17:47 -- Check size of unsigned short 22:17:47 -- Check size of unsigned short - done 22:17:47 -- Using unsigned short 22:17:47 -- Check if the system is big endian - little endian 22:17:47 -- Check size of size_t 22:17:47 -- Check size of size_t - done 22:17:47 CMake Warning at examples/CMakeLists.txt:16 (find_package): 22:17:47 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 22:17:47 asked CMake to find a package configuration file provided by "cJSON", but 22:17:47 CMake did not find one. 22:17:47 22:17:47 Could not find a package configuration file provided by "cJSON" with any of 22:17:47 the following names: 22:17:47 22:17:47 cJSONConfig.cmake 22:17:47 cjson-config.cmake 22:17:47 22:17:47 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 22:17:47 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 22:17:47 provides a separate development package or SDK, be sure it has been 22:17:47 installed. 22:17:47 22:17:47 22:17:47 -- Configuring done 22:17:47 -- Generating done 22:17:48 -- Build files have been written to: /tmp/cbor 22:17:48 Scanning dependencies of target cbor_shared 22:17:48 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 22:17:49 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 22:17:49 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 22:17:49 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 22:17:50 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 22:17:50 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 22:17:50 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 22:17:50 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 22:17:51 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 22:17:51 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 22:17:51 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 22:17:52 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 22:17:52 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 22:17:53 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 22:17:53 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 22:17:53 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 22:17:53 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 22:17:53 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 22:17:54 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 22:17:54 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 22:17:54 [ 40%] Linking C shared library libcbor.so 22:17:54 [ 40%] Built target cbor_shared 22:17:54 Scanning dependencies of target cbor 22:17:54 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 22:17:55 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 22:17:56 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 22:17:56 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 22:17:57 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 22:17:57 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 22:17:57 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 22:17:57 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 22:17:58 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 22:17:58 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 22:17:59 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 22:17:59 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 22:17:59 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 22:18:00 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 22:18:00 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 22:18:00 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 22:18:01 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 22:18:01 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 22:18:01 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 22:18:01 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 22:18:02 [ 80%] Linking C static library libcbor.a 22:18:02 [ 80%] Built target cbor 22:18:02 Scanning dependencies of target create_items 22:18:02 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 22:18:02 [ 84%] Linking C executable create_items 22:18:02 [ 84%] Built target create_items 22:18:02 Scanning dependencies of target readfile 22:18:02 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 22:18:02 [ 88%] Linking C executable readfile 22:18:02 [ 88%] Built target readfile 22:18:02 Scanning dependencies of target streaming_parser 22:18:02 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 22:18:03 [ 92%] Linking C executable streaming_parser 22:18:03 [ 92%] Built target streaming_parser 22:18:03 Scanning dependencies of target sort 22:18:03 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 22:18:03 [ 96%] Linking C executable sort 22:18:03 [ 96%] Built target sort 22:18:03 Scanning dependencies of target hello 22:18:03 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 22:18:03 [100%] Linking C executable hello 22:18:03 [100%] Built target hello 22:18:03 Install the project... 22:18:03 -- Install configuration: "Release" 22:18:03 -- Installing: /usr/local/include/cbor/configuration.h 22:18:03 -- Installing: /usr/local/lib64/libcbor.a 22:18:03 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 22:18:03 -- Installing: /usr/local/lib64/libcbor.so.0 22:18:03 -- Installing: /usr/local/lib64/libcbor.so 22:18:03 -- Up-to-date: /usr/local/include/cbor 22:18:03 -- Installing: /usr/local/include/cbor/streaming.h 22:18:03 -- Installing: /usr/local/include/cbor/ints.h 22:18:03 -- Installing: /usr/local/include/cbor/floats_ctrls.h 22:18:03 -- Installing: /usr/local/include/cbor/bytestrings.h 22:18:03 -- Installing: /usr/local/include/cbor/encoding.h 22:18:03 -- Installing: /usr/local/include/cbor/serialization.h 22:18:03 -- Installing: /usr/local/include/cbor/data.h 22:18:03 -- Installing: /usr/local/include/cbor/common.h 22:18:03 -- Installing: /usr/local/include/cbor/callbacks.h 22:18:03 -- Installing: /usr/local/include/cbor/strings.h 22:18:03 -- Installing: /usr/local/include/cbor/tags.h 22:18:03 -- Installing: /usr/local/include/cbor/internal 22:18:03 -- Installing: /usr/local/include/cbor/internal/encoders.h 22:18:03 -- Installing: /usr/local/include/cbor/internal/loaders.h 22:18:03 -- Installing: /usr/local/include/cbor/internal/stack.h 22:18:03 -- Installing: /usr/local/include/cbor/internal/unicode.h 22:18:03 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 22:18:03 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 22:18:03 -- Installing: /usr/local/include/cbor/arrays.h 22:18:03 -- Installing: /usr/local/include/cbor/maps.h 22:18:03 -- Installing: /usr/local/include/cbor.h 22:18:03 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 22:18:06 Removing intermediate container c2421ecfbd1d 22:18:06 ---> 09af06a9a913 22:18:06 Step 8/25 : RUN mkdir /tmp/sdk 22:18:06 ---> Running in 76ee3abcd43a 22:18:08 Removing intermediate container 76ee3abcd43a 22:18:08 ---> b3dfbdbe43e1 22:18:08 Step 9/25 : COPY VERSION /tmp/sdk 22:18:08 ---> f45b8dafb59d 22:18:08 Step 10/25 : COPY src /tmp/sdk/src 22:18:09 ---> f61bacc6cc8a 22:18:09 Step 11/25 : COPY include /tmp/sdk/include 22:18:10 ---> 7b1884a249c1 22:18:10 Step 12/25 : COPY scripts /tmp/sdk/scripts 22:18:11 ---> aa9a17ced375 22:18:11 Step 13/25 : COPY LICENSE /tmp/sdk 22:18:12 ---> ff430afebb96 22:18:12 Step 14/25 : COPY Attribution.txt /tmp/sdk 22:18:12 ---> c5b2e2bcb39e 22:18:12 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 22:18:13 ---> Running in e29abd1b83e4 22:18:13 + CPPCHECK=false 22:18:13 + DOCGEN=false 22:18:13 + TOMLVER=SDK-0.2 22:18:13 + CUTILVER=1.1.4 22:18:13 + '[' 0 -gt 0 ] 22:18:13 + readlink -f ./scripts/build.sh 22:18:13 + dirname /tmp/sdk/scripts/build.sh 22:18:13 + dirname /tmp/sdk/scripts 22:18:13 + ROOT=/tmp/sdk 22:18:13 + cd /tmp/sdk 22:18:13 + '[' '!' -d deps ] 22:18:13 + mkdir deps 22:18:13 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 22:18:13 + tar -C deps -z -x -f - 22:18:13 --2021-05-06 22:18:13-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 22:18:13 Resolving github.com... 140.82.113.4 22:18:13 Connecting to github.com|140.82.113.4|:443... connected. 22:18:13 HTTP request sent, awaiting response... 302 Found 22:18:13 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 22:18:13 --2021-05-06 22:18:13-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 22:18:13 Resolving codeload.github.com... 140.82.113.10 22:18:13 Connecting to codeload.github.com|140.82.113.10|:443... connected. 22:18:14 HTTP request sent, awaiting response... 200 OK 22:18:14 Length: unspecified [application/x-gzip] 22:18:14 Saving to: 'STDOUT' 22:18:14 22:18:14 0K .......... ...... 980K=0.02s 22:18:14 22:18:14 2021-05-06 22:18:14 (980 KB/s) - written to stdout [16451] 22:18:14 22:18:14 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 22:18:14 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -x 22:18:14  -f - 22:18:14 --2021-05-06 22:18:14-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 22:18:14 Resolving github.com... 140.82.113.4 22:18:14 Connecting to github.com|140.82.113.4|:443... connected. 22:18:14 HTTP request sent, awaiting response... 302 Found 22:18:14 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 22:18:14 --2021-05-06 22:18:14-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 22:18:14 Resolving codeload.github.com... 140.82.113.10 22:18:14 Connecting to codeload.github.com|140.82.113.10|:443... connected. 22:18:14 HTTP request sent, awaiting response... 200 OK 22:18:14 Length: unspecified [application/x-gzip] 22:18:14 Saving to: 'STDOUT' 22:18:14 22:18:14 0K .......... .......... .......... .......... .......... 1.52M 22:18:14 50K .......... .......... .......... .......... .......... 3.04M 22:18:14 100K .......... .......... .......... .......... .......... 3.04M 22:18:14 150K .......... .......... .......                1.51M=0.08s 22:18:14 22:18:14 2021-05-06 22:18:14 (2.11 MB/s) - written to stdout [181796] 22:18:14 22:18:14 + mkdir -p src/c/iot 22:18:14 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 22:18:14 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 22:18:14 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 22:18:14 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 22:18:14 + mkdir -p include/iot 22:18:14 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 22:18:14 + mkdir -p include/iot/os 22:18:14 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 22:18:14 + mkdir -p /tmp/sdk/build/release 22:18:14 + cd /tmp/sdk/build/release 22:18:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 22:18:15 -- The C compiler identification is GNU 8.3.0 22:18:15 -- Check for working C compiler: /usr/bin/cc 22:18:15 -- Check for working C compiler: /usr/bin/cc -- works 22:18:15 -- Detecting C compiler ABI info 22:18:15 -- Detecting C compiler ABI info - done 22:18:15 -- Detecting C compile features 22:18:16 -- Detecting C compile features - done 22:18:16 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 22:18:16 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 22:18:16 -- Found LIBYAML: /usr/lib/libyaml.so 22:18:16 -- Found LIBUUID: /usr/lib/libuuid.so 22:18:16 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 22:18:16 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 22:18:16 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 22:18:16 -- C SDK 0.0.0 for Linux 22:18:16 -- Performing Test CSDK_HAVE_ATOMIC 22:18:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 22:18:16 -- Found Curses: /usr/lib/libcurses.so 22:18:16 -- Configuring done 22:18:17 -- Generating done 22:18:17 -- Build files have been written to: /tmp/sdk/build/release 22:18:17 + make all package 22:18:17 + tee release.log 22:18:17 Scanning dependencies of target csdk 22:18:17 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 22:18:17 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 22:18:18 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 22:18:19 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 22:18:20 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 22:18:20 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 22:18:21 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 22:18:21 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 22:18:22 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 22:18:23 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 22:18:24 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 22:18:25 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 22:18:25 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 22:18:26 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 22:18:26 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 22:18:26 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 22:18:26 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 22:18:30 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 22:18:30 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 22:18:30 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 22:18:30 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 22:18:31 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 22:18:31 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 22:18:34 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 22:18:34 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 22:18:34 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 22:18:34 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 22:18:35 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 22:18:35 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 22:18:36 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 22:18:36 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 22:18:37 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 22:18:37 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 22:18:39 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 22:18:39 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 22:18:40 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 22:18:40 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 22:18:44 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 22:18:44 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 22:18:45 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 22:18:45 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 22:18:46 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 22:18:48 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 22:18:50 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 22:18:53 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 22:18:53 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 22:18:54 [ 74%] Linking C shared library libcsdk.so 22:18:54 [ 74%] Built target csdk 22:18:54 Scanning dependencies of target template 22:18:54 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 22:18:54 [ 77%] Linking C executable template 22:18:55 [ 77%] Built target template 22:18:55 Scanning dependencies of target device-counter 22:18:55 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 22:18:55 [ 80%] Linking C executable device-counter 22:18:55 [ 80%] Built target device-counter 22:18:55 Scanning dependencies of target device-random 22:18:55 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 22:18:56 [ 84%] Linking C executable device-random 22:18:56 [ 84%] Built target device-random 22:18:56 Scanning dependencies of target device-gyro 22:18:56 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 22:18:57 [ 87%] Linking C executable device-gyro 22:18:57 [ 87%] Built target device-gyro 22:18:57 Scanning dependencies of target device-bitfields 22:18:57 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 22:18:57 [ 90%] Linking C executable device-bitfields 22:18:57 [ 90%] Built target device-bitfields 22:18:57 Scanning dependencies of target template-discovery 22:18:57 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 22:18:58 [ 93%] Linking C executable template-discovery 22:18:58 [ 93%] Built target template-discovery 22:18:58 Scanning dependencies of target device-file 22:18:58 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 22:18:59 [ 96%] Linking C executable device-file 22:18:59 [ 96%] Built target device-file 22:18:59 Scanning dependencies of target device-terminal 22:18:59 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 22:19:00 [100%] Linking C executable device-terminal 22:19:00 [100%] Built target device-terminal 22:19:00 Run CPack packaging tool... 22:19:00 CPack: Create package using TGZ 22:19:00 CPack: Install projects 22:19:00 CPack: - Run preinstall target for: Csdk 22:19:01 CPack: - Install project: Csdk 22:19:01 CPack: Create package 22:19:01 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 22:19:01 + '[' false '=' true ] 22:19:01 + '[' false '=' true ] 22:19:01 + mkdir -p /tmp/sdk/build/debug 22:19:01 + cd /tmp/sdk/build/debug 22:19:01 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 22:19:01 -- The C compiler identification is GNU 8.3.0 22:19:01 -- Check for working C compiler: /usr/bin/cc 22:19:01 -- Check for working C compiler: /usr/bin/cc -- works 22:19:01 -- Detecting C compiler ABI info 22:19:01 -- Detecting C compiler ABI info - done 22:19:01 -- Detecting C compile features 22:19:02 -- Detecting C compile features - done 22:19:02 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 22:19:02 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 22:19:02 -- Found LIBYAML: /usr/lib/libyaml.so 22:19:02 -- Found LIBUUID: /usr/lib/libuuid.so 22:19:02 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 22:19:02 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 22:19:02 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 22:19:02 -- C SDK 0.0.0 for Linux 22:19:02 -- Performing Test CSDK_HAVE_ATOMIC 22:19:02 -- Performing Test CSDK_HAVE_ATOMIC - Success 22:19:02 -- Found Curses: /usr/lib/libcurses.so 22:19:03 -- Configuring done 22:19:03 -- Generating done 22:19:03 -- Build files have been written to: /tmp/sdk/build/debug 22:19:03 + make 22:19:03 + tee debug.log 22:19:03 Scanning dependencies of target csdk 22:19:03 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 22:19:03 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 22:19:04 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 22:19:04 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 22:19:05 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 22:19:05 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 22:19:05 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 22:19:05 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 22:19:05 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 22:19:06 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 22:19:06 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 22:19:07 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 22:19:07 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 22:19:07 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 22:19:07 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 22:19:08 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 22:19:08 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 22:19:09 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 22:19:09 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 22:19:09 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 22:19:09 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 22:19:09 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 22:19:10 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 22:19:11 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 22:19:11 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 22:19:11 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 22:19:11 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 22:19:11 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 22:19:11 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 22:19:12 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 22:19:12 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 22:19:12 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 22:19:12 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 22:19:13 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 22:19:13 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 22:19:13 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 22:19:13 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 22:19:14 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 22:19:15 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 22:19:15 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 22:19:15 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 22:19:16 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 22:19:16 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 22:19:17 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 22:19:18 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 22:19:18 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 22:19:18 [ 74%] Linking C shared library libcsdk.so 22:19:18 [ 74%] Built target csdk 22:19:18 Scanning dependencies of target template 22:19:18 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 22:19:19 [ 77%] Linking C executable template 22:19:19 [ 77%] Built target template 22:19:19 Scanning dependencies of target device-counter 22:19:19 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 22:19:19 [ 80%] Linking C executable device-counter 22:19:20 [ 80%] Built target device-counter 22:19:20 Scanning dependencies of target device-random 22:19:20 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 22:19:20 [ 84%] Linking C executable device-random 22:19:20 [ 84%] Built target device-random 22:19:20 Scanning dependencies of target device-gyro 22:19:20 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 22:19:20 [ 87%] Linking C executable device-gyro 22:19:21 [ 87%] Built target device-gyro 22:19:21 Scanning dependencies of target device-bitfields 22:19:21 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 22:19:21 [ 90%] Linking C executable device-bitfields 22:19:21 [ 90%] Built target device-bitfields 22:19:21 Scanning dependencies of target template-discovery 22:19:21 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 22:19:21 [ 93%] Linking C executable template-discovery 22:19:21 [ 93%] Built target template-discovery 22:19:22 Scanning dependencies of target device-file 22:19:22 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 22:19:22 [ 96%] Linking C executable device-file 22:19:22 [ 96%] Built target device-file 22:19:22 Scanning dependencies of target device-terminal 22:19:22 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 22:19:23 [100%] Linking C executable device-terminal 22:19:23 [100%] Built target device-terminal 22:19:23 make: Entering directory '/tmp/sdk/build/release' 22:19:23 make[1]: Entering directory '/tmp/sdk/build/release' 22:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 22:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 22:19:23 [ 74%] Built target csdk 22:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 22:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 22:19:23 [ 77%] Built target template 22:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 22:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 22:19:23 [ 80%] Built target device-counter 22:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 22:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 22:19:23 [ 84%] Built target device-random 22:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 22:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 22:19:23 [ 87%] Built target device-gyro 22:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 22:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 22:19:23 [ 90%] Built target device-bitfields 22:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 22:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 22:19:23 [ 93%] Built target template-discovery 22:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 22:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 22:19:23 [ 96%] Built target device-file 22:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 22:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 22:19:23 [100%] Built target device-terminal 22:19:23 make[1]: Leaving directory '/tmp/sdk/build/release' 22:19:23 Install the project... 22:19:23 -- Install configuration: "Release" 22:19:23 -- Installing: /usr/local/lib/libcsdk.so 22:19:23 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 22:19:23 -- Up-to-date: /usr/local/include 22:19:23 -- Installing: /usr/local/include/edgex 22:19:23 -- Installing: /usr/local/include/edgex/rest-server.h 22:19:23 -- Installing: /usr/local/include/edgex/edgex-base.h 22:19:23 -- Installing: /usr/local/include/edgex/edgex.h 22:19:23 -- Installing: /usr/local/include/edgex/devices.h 22:19:23 -- Installing: /usr/local/include/edgex/profiles.h 22:19:23 -- Installing: /usr/local/include/edgex/csdk-defs.h 22:19:23 -- Installing: /usr/local/include/devsdk 22:19:23 -- Installing: /usr/local/include/devsdk/devsdk-base.h 22:19:23 -- Installing: /usr/local/include/devsdk/devsdk.h 22:19:23 -- Installing: /usr/local/include/iot 22:19:23 -- Installing: /usr/local/include/iot/json.h 22:19:23 -- Installing: /usr/local/include/iot/container.h 22:19:23 -- Installing: /usr/local/include/iot/component.h 22:19:23 -- Installing: /usr/local/include/iot/typecode.h 22:19:23 -- Installing: /usr/local/include/iot/iot.h 22:19:23 -- Installing: /usr/local/include/iot/time.h 22:19:23 -- Installing: /usr/local/include/iot/hash.h 22:19:23 -- Installing: /usr/local/include/iot/logger.h 22:19:23 -- Installing: /usr/local/include/iot/os 22:19:23 -- Installing: /usr/local/include/iot/os/zephyr.h 22:19:23 -- Installing: /usr/local/include/iot/os/linux.h 22:19:23 -- Installing: /usr/local/include/iot/os/macos.h 22:19:23 -- Installing: /usr/local/include/iot/scheduler.h 22:19:23 -- Installing: /usr/local/include/iot/data.h 22:19:23 -- Installing: /usr/local/include/iot/thread.h 22:19:23 -- Installing: /usr/local/include/iot/os.h 22:19:23 -- Installing: /usr/local/include/iot/base64.h 22:19:23 -- Installing: /usr/local/include/iot/defs.h 22:19:23 -- Installing: /usr/local/include/iot/threadpool.h 22:19:23 -- Installing: /usr/local/include/iot/config.h 22:19:23 -- Installing: /usr/local/share/device-sdk-c/LICENSE 22:19:23 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 22:19:23 make: Leaving directory '/tmp/sdk/build/release' 22:19:25 Removing intermediate container e29abd1b83e4 22:19:25 ---> a79b8ad64855 22:19:25 Step 16/25 : FROM ${BASE} 22:19:25 ---> b23d30803547 22:19:25 Step 17/25 : LABEL maintainer="IOTech " 22:19:25 ---> Running in 064f6951214a 22:19:26 Removing intermediate container 064f6951214a 22:19:26 ---> eebd274a36ee 22:19:26 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 22:19:26 ---> Running in 08432ed8e723 22:19:27 Connecting to iotech.jfrog.io (52.209.221.241:443) 22:19:27 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 22:19:27 22:19:29 Removing intermediate container 08432ed8e723 22:19:29 ---> 86fbc75fd581 22:19:29 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 22:19:29 ---> Running in ec308b5ffb48 22:19:31 Removing intermediate container ec308b5ffb48 22:19:31 ---> 52ad43935c6b 22:19:31 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 22:19:31 ---> Running in 8be5a2093302 22:19:32 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 22:19:33 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 22:19:33 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 22:19:34 (1/6) Installing curl (7.64.0-r5) 22:19:34 (2/6) Installing hiredis (0.14.0-r0) 22:19:34 (3/6) Installing hiredis-dev (0.14.0-r0) 22:19:34 (4/6) Installing libuuid (2.33-r0) 22:19:34 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 22:19:36 (6/6) Installing wget (1.20.3-r0) 22:19:37 Executing busybox-1.29.3-r10.trigger 22:19:37 OK: 283 MiB in 81 packages 22:19:37 Removing intermediate container 8be5a2093302 22:19:37 ---> fc8bf75ac4aa 22:19:37 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 22:19:38 ---> 07bfae6970f6 22:19:38 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 22:19:39 ---> 18528e35af94 22:19:39 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 22:19:40 ---> 2807273cf835 22:19:40 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 22:19:41 ---> dfbe6e527e7b 22:19:41 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 22:19:41 ---> 8636ed81d675 22:19:41 Successfully built 8636ed81d675 22:19:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:19:42 + docker inspect -f . ci-base-image-arm64 22:19:42 . [Pipeline] withDockerContainer 22:19:42 prd-ubuntu18.04-docker-arm64-4c-16g-3339 does not seem to be running inside a container 22:19:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:19:43 $ docker top c4d04234aac1b308cafffc5ef5c1e3901fbe37f103be48a3159b7c959aab9bd0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:19:44 + make test 22:19:44 echo "make test" 22:19:44 make test [Pipeline] } 22:19:44 $ docker stop --time=1 c4d04234aac1b308cafffc5ef5c1e3901fbe37f103be48a3159b7c959aab9bd0 22:19:46 $ docker rm -f c4d04234aac1b308cafffc5ef5c1e3901fbe37f103be48a3159b7c959aab9bd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:19:47 + ls -al . 22:19:47 total 192 22:19:47 drwxrwxr-x 8 jenkins jenkins 4096 May 6 22:17 . 22:19:47 drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:16 .. 22:19:47 drwxrwxr-x 8 jenkins jenkins 4096 May 6 22:17 .git 22:19:47 drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:17 .github 22:19:47 -rw-rw-r-- 1 jenkins jenkins 176 May 6 22:17 .gitignore 22:19:47 -rw-rw-r-- 1 jenkins jenkins 3104 May 6 22:17 Attribution.txt 22:19:47 -rw-rw-r-- 1 jenkins jenkins 7200 May 6 22:17 CHANGES 22:19:47 -rw-rw-r-- 1 jenkins jenkins 108574 May 6 22:17 Doxyfile 22:19:47 -rw-rw-r-- 1 jenkins jenkins 784 May 6 22:17 Jenkinsfile 22:19:47 -rw-rw-r-- 1 jenkins jenkins 10174 May 6 22:17 LICENSE 22:19:47 -rw-rw-r-- 1 jenkins jenkins 444 May 6 22:17 Makefile 22:19:47 -rw-rw-r-- 1 jenkins jenkins 4090 May 6 22:17 README.md 22:19:47 -rw-rw-r-- 1 jenkins jenkins 6654 May 6 22:17 README.v2.md 22:19:47 -rw-rw-r-- 1 jenkins jenkins 5 May 6 22:14 VERSION 22:19:47 drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:17 docs 22:19:47 drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:17 include 22:19:47 drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:17 scripts 22:19:47 drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:17 src [Pipeline] isUnix [Pipeline] sh 22:19:48 + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=11247ee6712f988fdcf59756d1d21e31bb29255a --label arch=arm64 --label version=0.0.0 . 22:19:48 Sending build context to Docker daemon 2.632MB 22:19:48 Step 1/17 : ARG BASE=alpine:3.12 22:19:48 Step 2/17 : FROM ${BASE} 22:19:48 ---> 8636ed81d675 22:19:48 Step 3/17 : LABEL maintainer="IOTech " 22:19:49 ---> Running in 44b9dc04fa9c 22:19:49 Removing intermediate container 44b9dc04fa9c 22:19:49 ---> 724664488445 22:19:49 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 22:19:49 ---> Running in e6c588fc2d5f 22:19:50 --2021-05-06 22:19:50-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 22:19:50 Resolving iotech.jfrog.io... 52.209.226.76, 52.209.221.241, 54.171.22.102, ... 22:19:51 Connecting to iotech.jfrog.io|52.209.226.76|:443... connected. 22:19:51 HTTP request sent, awaiting response... 200 OK 22:19:51 Length: 451 [application/octet-stream] 22:19:51 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 22:19:51 22:19:51 0K 100% 19.5M=0s 22:19:51 22:19:51 2021-05-06 22:19:51 (19.5 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 22:19:51 22:19:52 Removing intermediate container e6c588fc2d5f 22:19:52 ---> c89cd4c0d58b 22:19:52 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 22:19:52 ---> Running in 943f5ceb941f 22:19:54 Removing intermediate container 943f5ceb941f 22:19:54 ---> cc14bc65a92c 22:19:54 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 22:19:54 ---> Running in d50aabf98887 22:19:56 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 22:19:56 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 22:19:57 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 22:19:57 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 22:19:58 (2/6) Installing libblkid (2.33-r0) 22:19:58 (3/6) Installing libfdisk (2.33-r0) 22:19:58 (4/6) Installing libmount (2.33-r0) 22:19:58 (5/6) Installing libsmartcols (2.33-r0) 22:19:58 (6/6) Installing util-linux-dev (2.33-r0) 22:19:58 Executing busybox-1.29.3-r10.trigger 22:19:58 OK: 287 MiB in 87 packages 22:19:59 Removing intermediate container d50aabf98887 22:19:59 ---> 86e15047bbfb 22:19:59 Step 7/17 : COPY VERSION /edgex-c-sdk/ 22:20:00 ---> 6af895dacfcb 22:20:00 Step 8/17 : COPY src /edgex-c-sdk/src/ 22:20:01 ---> b4195219751c 22:20:01 Step 9/17 : COPY include /edgex-c-sdk/include/ 22:20:02 ---> e71fee6be8bb 22:20:02 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 22:20:03 ---> 84887beafcfc 22:20:03 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 22:20:04 ---> 632212f3deed 22:20:04 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 22:20:04 ---> 07d948de605c 22:20:04 Step 13/17 : WORKDIR /edgex-c-sdk 22:20:04 ---> Running in d90b3a4edc72 22:20:05 Removing intermediate container d90b3a4edc72 22:20:05 ---> 1ff49a1930c2 22:20:05 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 22:20:05 ---> Running in 68ce4d725d82 22:20:05 Removing intermediate container 68ce4d725d82 22:20:05 ---> f665755aa37e 22:20:05 Step 15/17 : LABEL arch=arm64 22:20:06 ---> Running in 3c1be1788c40 22:20:06 Removing intermediate container 3c1be1788c40 22:20:06 ---> dc52f97ef0c1 22:20:06 Step 16/17 : LABEL git_sha=11247ee6712f988fdcf59756d1d21e31bb29255a 22:20:06 ---> Running in 78933302b5da 22:20:06 Removing intermediate container 78933302b5da 22:20:06 ---> 3095e950027b 22:20:06 Step 17/17 : LABEL version=0.0.0 22:20:07 ---> Running in 1385dfc903f3 22:20:07 Removing intermediate container 1385dfc903f3 22:20:07 ---> 91408883f023 22:20:07 [Warning] One or more build-args [MAKE ARCH] were not consumed 22:20:07 Successfully built 91408883f023 22:20:07 Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 22:20:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:20:09 ---> package-listing.sh 22:20:09 ++ facter osfamily 22:20:09 ++ tr '[:upper:]' '[:lower:]' 22:20:09 + OS_FAMILY=redhat 22:20:09 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-343 22:20:09 + START_PACKAGES=/tmp/packages_start.txt 22:20:09 + END_PACKAGES=/tmp/packages_end.txt 22:20:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:20:09 + PACKAGES=/tmp/packages_start.txt 22:20:09 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-343 ']' 22:20:09 + PACKAGES=/tmp/packages_end.txt 22:20:09 + case "${OS_FAMILY}" in 22:20:09 + rpm -qa 22:20:09 + sort 22:20:14 + '[' -f /tmp/packages_start.txt ']' 22:20:14 + '[' -f /tmp/packages_end.txt ']' 22:20:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:20:14 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-343 ']' 22:20:14 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-343/archives/ 22:20:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-343/archives/ [Pipeline] echo 22:20:14 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-343/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:20:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:20:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:20:15 22:20:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:20:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:20:15 alpine: Pulling from edgex-lftools-log-publisher 22:20:15 df20fa9351a1: Pulling fs layer 22:20:15 36b3adc4ff6f: Pulling fs layer 22:20:15 8ad3a11d3b57: Pulling fs layer 22:20:15 46f8f816bc3b: Pulling fs layer 22:20:15 93b61091891f: Pulling fs layer 22:20:15 93b9cdb0e59b: Pulling fs layer 22:20:15 5e14af77c1be: Pulling fs layer 22:20:15 01666e4c0597: Pulling fs layer 22:20:15 aa168da1d23b: Pulling fs layer 22:20:15 46f8f816bc3b: Waiting 22:20:15 93b61091891f: Waiting 22:20:15 01666e4c0597: Waiting 22:20:15 93b9cdb0e59b: Waiting 22:20:15 aa168da1d23b: Waiting 22:20:15 36b3adc4ff6f: Download complete 22:20:15 46f8f816bc3b: Verifying Checksum 22:20:15 46f8f816bc3b: Download complete 22:20:15 df20fa9351a1: Download complete 22:20:15 93b9cdb0e59b: Verifying Checksum 22:20:15 93b9cdb0e59b: Download complete 22:20:15 5e14af77c1be: Verifying Checksum 22:20:15 5e14af77c1be: Download complete 22:20:15 93b61091891f: Verifying Checksum 22:20:15 93b61091891f: Download complete 22:20:15 01666e4c0597: Verifying Checksum 22:20:15 01666e4c0597: Download complete 22:20:15 8ad3a11d3b57: Verifying Checksum 22:20:15 8ad3a11d3b57: Download complete 22:20:16 df20fa9351a1: Pull complete 22:20:16 36b3adc4ff6f: Pull complete 22:20:17 8ad3a11d3b57: Pull complete 22:20:17 46f8f816bc3b: Pull complete 22:20:17 aa168da1d23b: Verifying Checksum 22:20:17 aa168da1d23b: Download complete 22:20:18 93b61091891f: Pull complete 22:20:18 93b9cdb0e59b: Pull complete 22:20:18 5e14af77c1be: Pull complete 22:20:18 01666e4c0597: Pull complete 22:20:26 aa168da1d23b: Pull complete 22:20:26 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:20:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:20:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:20:26 prd-centos7-docker-4c-2g-3335 does not seem to be running inside a container 22:20:26 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-343/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-343 -v /w/workspace/edgexfoundry_device-sdk-c_PR-343:/w/workspace/edgexfoundry_device-sdk-c_PR-343:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:20:29 $ docker top 5578662bbeb8e24764626e9fc8219e04bc734124ead5e391be884b7efd486931 -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:30 + touch /tmp/pre-build-complete [Pipeline] sh 22:20:30 + mkdir -p /var/log/sa [Pipeline] sh 22:20:30 + ls /var/log/sa-host 22:20:30 + sadf -c /var/log/sa-host/sa06 22:20:30 file_magic: OK 22:20:30 HZ: Using current value: 100 22:20:30 file_header: OK 22:20:30 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 22:20:30 Statistics: 22:20:30 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:20:30 File successfully converted to sysstat format version 12.2.1 22:20:30 + sadf -c /var/log/sa-host/sa23 22:20:30 file_magic: OK 22:20:30 HZ: Using current value: 100 22:20:30 file_header: OK 22:20:30 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 22:20:30 Statistics: 22:20:30 Hnuu...uuuununununu... 22:20:30 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:20:31 provisioning config files... 22:20:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp/config4448861028289963767tmp [Pipeline] { [Pipeline] echo 22:20:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:20:31 ---> create-netrc.sh [Pipeline] } 22:20:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:20:31 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:20:31 ---> python-tools-install.sh [Pipeline] echo 22:20:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:20:32 ---> sudo-logs.sh 22:20:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:20:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:20:32 ---> job-cost.sh 22:20:32 lf-activate-venv: SKIPPING 22:20:32 INFO: No Stack... 22:20:32 INFO: Retrieving Pricing Info for: v1-standard-2 22:20:33 INFO: Archiving Costs [Pipeline] echo 22:20:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:20:33 ---> logs-deploy.sh 22:20:33 lf-activate-venv: SKIPPING 22:20:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-343/3 22:20:33 INFO: archiving workspace using pattern(s): 22:20:35 Archives upload complete. 22:20:35 INFO: archiving logs to Nexus 22:20:36 ---> uname -a: 22:20:36 Linux prd-centos7-docker-4c-2g-3335.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 22:20:36 22:20:36 22:20:36 ---> lscpu: 22:20:36 Architecture: x86_64 22:20:36 CPU op-mode(s): 32-bit, 64-bit 22:20:36 Byte Order: Little Endian 22:20:36 Address sizes: 40 bits physical, 48 bits virtual 22:20:36 CPU(s): 4 22:20:36 On-line CPU(s) list: 0-3 22:20:36 Thread(s) per core: 1 22:20:36 Core(s) per socket: 1 22:20:36 Socket(s): 4 22:20:36 NUMA node(s): 1 22:20:36 Vendor ID: GenuineIntel 22:20:36 CPU family: 6 22:20:36 Model: 44 22:20:36 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 22:20:36 Stepping: 1 22:20:36 CPU MHz: 2933.442 22:20:36 BogoMIPS: 5866.88 22:20:36 Virtualization: VT-x 22:20:36 Hypervisor vendor: KVM 22:20:36 Virtualization type: full 22:20:36 L1d cache: 128 KiB 22:20:36 L1i cache: 128 KiB 22:20:36 L2 cache: 16 MiB 22:20:36 L3 cache: 64 MiB 22:20:36 NUMA node0 CPU(s): 0-3 22:20:36 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 22:20:36 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 22:20:36 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 22:20:36 Vulnerability Meltdown: Mitigation; PTI 22:20:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:20:36 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 22:20:36 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 22:20:36 Vulnerability Srbds: Not affected 22:20:36 Vulnerability Tsx async abort: Not affected 22:20:36 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 22:20:36 22:20:36 22:20:36 ---> nproc: 22:20:36 4 22:20:36 22:20:36 22:20:36 ---> df -h: 22:20:36 Filesystem Size Used Available Use% Mounted on 22:20:36 overlay 50.0G 7.3G 42.7G 15% / 22:20:36 tmpfs 64.0M 0 64.0M 0% /dev 22:20:36 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 22:20:36 shm 64.0M 0 64.0M 0% /dev/shm 22:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 22:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 22:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 22:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 22:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 22:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-343 22:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp 22:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 22:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 22:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 22:20:36 22:20:36 22:20:36 ---> free -m: 22:20:36 total used free shared buff/cache available 22:20:36 Mem: 1837 740 122 0 974 992 22:20:36 Swap: 1023 1 1022 22:20:36 22:20:36 22:20:36 ---> ip addr: 22:20:36 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 22:20:36 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 22:20:36 inet 127.0.0.1/8 scope host lo 22:20:36 valid_lft forever preferred_lft forever 22:20:36 inet6 ::1/128 scope host 22:20:36 valid_lft forever preferred_lft forever 22:20:36 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 22:20:36 link/ether fa:16:3e:f0:0e:f3 brd ff:ff:ff:ff:ff:ff 22:20:36 inet 10.30.122.235/23 brd 10.30.123.255 scope global dynamic eth0 22:20:36 valid_lft 85993sec preferred_lft 85993sec 22:20:36 inet6 fe80::f816:3eff:fef0:ef3/64 scope link 22:20:36 valid_lft forever preferred_lft forever 22:20:36 3: docker0: mtu 1500 qdisc noqueue state DOWN 22:20:36 link/ether 02:42:6f:93:c1:d1 brd ff:ff:ff:ff:ff:ff 22:20:36 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 22:20:36 valid_lft forever preferred_lft forever 22:20:36 inet6 fe80::42:6fff:fe93:c1d1/64 scope link 22:20:36 valid_lft forever preferred_lft forever 22:20:36 22:20:36 22:20:36 ---> sar -b -r -n DEV: 22:20:36 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/06/21 _x86_64_ (4 CPU) 22:20:36 22:20:36 22:13:38 LINUX RESTART (4 CPU) 22:20:36 22:20:36 22:14:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:20:36 22:15:01 113.08 45.78 67.30 0.00 8123.51 22663.16 0.00 22:20:36 22:16:01 2.38 0.00 2.38 0.00 0.00 53.98 0.00 22:20:36 22:17:01 0.43 0.00 0.43 0.00 0.00 6.06 0.00 22:20:36 22:18:01 0.23 0.00 0.23 0.00 0.00 2.70 0.00 22:20:36 22:19:01 0.23 0.00 0.23 0.00 0.00 3.33 0.00 22:20:36 22:20:01 0.32 0.00 0.32 0.00 0.00 4.13 0.00 22:20:36 Average: 19.20 7.53 11.67 0.00 1335.80 3738.37 0.00 22:20:36 22:20:36 22:14:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:20:36 22:15:01 129016 0 632424 33.61 2620 1117484 1112936 37.98 411340 1142360 136 22:20:36 22:16:01 131400 0 630088 33.49 2620 1117436 1112540 37.97 413200 1138216 12 22:20:36 22:17:01 132604 0 628880 33.42 2620 1117440 1080560 36.88 412264 1138716 20 22:20:36 22:18:01 132952 0 628532 33.41 2620 1117440 1080492 36.88 425924 1124740 20 22:20:36 22:19:01 133604 0 627872 33.37 2620 1117448 1080396 36.87 420512 1129668 12 22:20:36 22:20:01 128088 0 633384 33.66 2620 1117452 1080468 36.87 438908 1116800 8 22:20:36 Average: 131277 0 630197 33.49 2620 1117450 1091232 37.24 420358 1131750 35 22:20:36 22:20:36 22:14:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:20:36 22:15:01 eth0 612.88 373.31 1147.15 87.69 0.00 0.00 0.00 0.00 22:20:36 22:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:36 22:15:01 docker0 10.12 8.29 1.15 24.05 0.00 0.00 0.00 0.00 22:20:36 22:16:01 eth0 4.16 1.80 2.97 0.30 0.00 0.00 0.00 0.00 22:20:36 22:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:36 22:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:36 22:17:01 eth0 0.82 0.28 0.30 0.17 0.00 0.00 0.00 0.00 22:20:36 22:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:36 22:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:36 22:18:01 eth0 0.55 0.38 0.27 0.24 0.00 0.00 0.00 0.00 22:20:36 22:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:36 22:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:36 22:19:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:20:36 22:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:36 22:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:36 22:20:01 eth0 0.30 0.23 0.14 0.07 0.00 0.00 0.00 0.00 22:20:36 22:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:36 22:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:36 Average: eth0 101.77 61.85 189.25 14.55 0.00 0.00 0.00 0.00 22:20:36 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:36 Average: docker0 1.66 1.36 0.19 3.95 0.00 0.00 0.00 0.00 22:20:36 22:20:36 22:20:36 ---> sar -P ALL: 22:20:36 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/06/21 _x86_64_ (4 CPU) 22:20:36 22:20:36 22:13:38 LINUX RESTART (4 CPU) 22:20:36 22:20:36 22:14:02 CPU %user %nice %system %iowait %steal %idle 22:20:36 22:15:01 all 14.42 0.00 6.78 2.73 0.11 75.96 22:20:36 22:15:01 0 14.75 0.00 7.19 2.22 0.09 75.76 22:20:36 22:15:01 1 13.32 0.00 6.35 3.62 0.09 76.62 22:20:36 22:15:01 2 16.16 0.00 7.23 2.65 0.12 73.84 22:20:36 22:15:01 3 13.47 0.00 6.35 2.44 0.14 77.61 22:20:36 22:16:01 all 0.22 0.00 0.07 0.00 0.00 99.71 22:20:36 22:16:01 0 0.08 0.00 0.08 0.00 0.02 99.82 22:20:36 22:16:01 1 0.42 0.00 0.08 0.00 0.00 99.50 22:20:36 22:16:01 2 0.27 0.00 0.05 0.00 0.00 99.68 22:20:36 22:16:01 3 0.10 0.00 0.05 0.00 0.00 99.85 22:20:36 22:17:01 all 0.15 0.00 0.14 0.00 0.03 99.68 22:20:36 22:17:01 0 0.12 0.00 0.13 0.00 0.02 99.73 22:20:36 22:17:01 1 0.27 0.00 0.17 0.00 0.03 99.53 22:20:36 22:17:01 2 0.12 0.00 0.13 0.00 0.03 99.72 22:20:36 22:17:01 3 0.10 0.00 0.13 0.00 0.03 99.73 22:20:36 22:18:01 all 0.17 0.00 0.05 0.00 0.00 99.77 22:20:36 22:18:01 0 0.07 0.00 0.05 0.00 0.00 99.88 22:20:36 22:18:01 1 0.55 0.00 0.10 0.00 0.00 99.35 22:20:36 22:18:01 2 0.05 0.00 0.03 0.00 0.02 99.90 22:20:36 22:18:01 3 0.03 0.00 0.02 0.00 0.00 99.95 22:20:36 22:19:01 all 0.16 0.00 0.05 0.00 0.00 99.78 22:20:36 22:19:01 0 0.03 0.00 0.05 0.00 0.02 99.90 22:20:36 22:19:01 1 0.50 0.00 0.05 0.00 0.00 99.45 22:20:36 22:19:01 2 0.03 0.00 0.02 0.00 0.00 99.95 22:20:36 22:19:01 3 0.08 0.00 0.08 0.00 0.00 99.83 22:20:36 22:20:01 all 0.16 0.00 0.06 0.00 0.00 99.78 22:20:36 22:20:01 0 0.02 0.00 0.02 0.00 0.02 99.95 22:20:36 22:20:01 1 0.38 0.00 0.12 0.00 0.00 99.50 22:20:36 22:20:01 2 0.20 0.00 0.07 0.00 0.00 99.73 22:20:36 22:20:01 3 0.05 0.00 0.03 0.00 0.00 99.92 22:20:36 Average: all 2.48 0.00 1.16 0.44 0.03 95.89 22:20:36 Average: 0 2.45 0.00 1.22 0.36 0.03 95.95 22:20:36 Average: 1 2.52 0.00 1.12 0.59 0.02 95.76 22:20:36 Average: 2 2.73 0.00 1.22 0.43 0.03 95.58 22:20:36 Average: 3 2.24 0.00 1.08 0.39 0.03 96.26 22:20:36 22:20:36 22:20:36