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 63d298beb62aade60f789e0b5cf9463f6e62bdf2+a1bd3e4e984760685c7a391cc08f5a8ab2e71757 (f0d47a72c997cdf470423090ed28d1d02a7b3c41) 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-4078’ Running on prd-centos7-docker-4c-2g-4081 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 > 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 Merging remotes/origin/master commit a1bd3e4e984760685c7a391cc08f5a8ab2e71757 into PR head commit 63d298beb62aade60f789e0b5cf9463f6e62bdf2 Merge succeeded, producing 63d298beb62aade60f789e0b5cf9463f6e62bdf2 Checking out Revision 63d298beb62aade60f789e0b5cf9463f6e62bdf2 (PR-343) > git config core.sparsecheckout # timeout=10 > git checkout -f 63d298beb62aade60f789e0b5cf9463f6e62bdf2 # 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 63d298beb62aade60f789e0b5cf9463f6e62bdf2 # timeout=10 Commit message: "refactor: Use async client library for MQTT (#258)" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:55:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:55:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:55:11 ========================================================= 13:55:11 EdgeX Global Pipelines Version Info 13:55:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 11247ee6712f988fdcf59756d1d21e31bb29255a # timeout=10 13:55:13 ------------------- 13:55:13 stable info: 13:55:13 ------------------- 13:55:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:55:13 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 13:55:13 Message: update stable to v1.0.191 13:55:13 ------------------- 13:55:13 experimental info: 13:55:13 ------------------- 13:55:13 Commited By: **** collab-it+edgex@linuxfoundation.org 13:55:13 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 13:55:13 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:55:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 13:55:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 13:55:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:55:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:55:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:55:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 13:55:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 13:55:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 13:55:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:55:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 13:55:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:55:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:55:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:55:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:55:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:55:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:55:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:55:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-343 [Pipeline] echo 13:55:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-343 [Pipeline] echo 13:55:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-343 [Pipeline] echo 13:55:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63d298beb62aade60f789e0b5cf9463f6e62bdf2 [Pipeline] echo 13:55:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63d298b [Pipeline] echo 13:55:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:55:14 provisioning config files... 13:55:14 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp/config2448901735546564282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:55:14 ---> docker-login.sh 13:55:14 nexus3.edgexfoundry.org:10001 13:55:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:55:15 Configure a credential helper to remove this warning. See 13:55:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:55:15 13:55:15 Login Succeeded 13:55:15 nexus3.edgexfoundry.org:10002 13:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:55:15 Configure a credential helper to remove this warning. See 13:55:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:55:15 13:55:15 Login Succeeded 13:55:15 nexus3.edgexfoundry.org:10003 13:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:55:15 Configure a credential helper to remove this warning. See 13:55:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:55:15 13:55:15 Login Succeeded 13:55:15 nexus3.edgexfoundry.org:10004 13:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:55:15 Configure a credential helper to remove this warning. See 13:55:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:55:15 13:55:15 Login Succeeded 13:55:15 docker.io 13:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:55:16 Configure a credential helper to remove this warning. See 13:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:55:16 13:55:16 Login Succeeded 13:55:16 ---> docker-login.sh ends [Pipeline] } 13:55:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 13:55:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:55:17 13:55:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:55:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:55:17 latest: Pulling from edgex-devops/git-semver 13:55:17 31603596830f: Pulling fs layer 13:55:17 54011a49482f: Pulling fs layer 13:55:17 a6820b24f6d8: Pulling fs layer 13:55:17 f581987b2513: Pulling fs layer 13:55:17 f581987b2513: Waiting 13:55:17 54011a49482f: Verifying Checksum 13:55:17 54011a49482f: Download complete 13:55:18 f581987b2513: Verifying Checksum 13:55:18 f581987b2513: Download complete 13:55:18 31603596830f: Verifying Checksum 13:55:18 31603596830f: Download complete 13:55:18 a6820b24f6d8: Verifying Checksum 13:55:18 a6820b24f6d8: Download complete 13:55:18 31603596830f: Pull complete 13:55:18 54011a49482f: Pull complete 13:55:19 a6820b24f6d8: Pull complete 13:55:19 f581987b2513: Pull complete 13:55:19 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 13:55:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:55:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:55:20 prd-centos7-docker-4c-2g-4081 does not seem to be running inside a container 13:55:20 $ 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 13:55:23 $ docker top 2f6aae7f74b5555402cdfe1d11e7666a6dd366ee6750b1a908f4aa9a4f658e6e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:55:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:55:23 [ssh-agent] Looking for ssh-agent implementation... 13:55:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:55:23 $ docker exec 2f6aae7f74b5555402cdfe1d11e7666a6dd366ee6750b1a908f4aa9a4f658e6e ssh-agent 13:55:23 SSH_AUTH_SOCK=/tmp/ssh-XBFrNrhbajFw/agent.13 13:55:23 SSH_AGENT_PID=18 13:55:23 Running ssh-add (command line suppressed) 13:55:23 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp/private_key_5516008633428322397.key (/w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp/private_key_5516008633428322397.key) 13:55:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:55:24 + git tag --points-at HEAD [Pipeline] } 13:55:24 $ docker exec --env ******** --env ******** 2f6aae7f74b5555402cdfe1d11e7666a6dd366ee6750b1a908f4aa9a4f658e6e ssh-agent -k 13:55:24 unset SSH_AUTH_SOCK; 13:55:24 unset SSH_AGENT_PID; 13:55:24 echo Agent pid 18 killed; 13:55:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:55:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:55:24 [ssh-agent] Looking for ssh-agent implementation... 13:55:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:55:24 $ docker exec 2f6aae7f74b5555402cdfe1d11e7666a6dd366ee6750b1a908f4aa9a4f658e6e ssh-agent 13:55:25 SSH_AUTH_SOCK=/tmp/ssh-V7KYYPKyr1wS/agent.47 13:55:25 SSH_AGENT_PID=52 13:55:25 Running ssh-add (command line suppressed) 13:55:25 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp/private_key_4514411665532932401.key (/w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp/private_key_4514411665532932401.key) 13:55:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:55:25 + git semver init 13:55:25 # -> Open(): unable to determine branch for HEAD 13:55:25 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-343/.git 13:55:25 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-343 13:55:25 # $SEMVER_REMOTE_NAME = origin 13:55:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:55:25 # $SEMVER_USER_NAME = edgex-jenkins 13:55:25 # $SEMVER_BRANCH = PR-343 13:55:25 # $SEMVER_TEMP = /tmp/semver-513256991 13:55:25 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 13:55:26 # '/tmp/semver-513256991' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-343/.semver' 13:55:26 # -> Force: false 13:55:26 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-343/.semver [Pipeline] } 13:55:26 $ docker exec --env ******** --env ******** 2f6aae7f74b5555402cdfe1d11e7666a6dd366ee6750b1a908f4aa9a4f658e6e ssh-agent -k 13:55:26 unset SSH_AUTH_SOCK; 13:55:26 unset SSH_AGENT_PID; 13:55:26 echo Agent pid 52 killed; 13:55:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:55:27 + git semver [Pipeline] } 13:55:27 $ docker stop --time=1 2f6aae7f74b5555402cdfe1d11e7666a6dd366ee6750b1a908f4aa9a4f658e6e 13:55:28 $ docker rm -f 2f6aae7f74b5555402cdfe1d11e7666a6dd366ee6750b1a908f4aa9a4f658e6e [Pipeline] // withDockerContainer [Pipeline] sh 13:55:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:55:29 Stashed 1 file(s) [Pipeline] echo 13:55:29 [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 13:55:44 Still waiting to schedule task 13:55:44 Waiting for next available executor on ‘centos7-docker-4c-2g’ 13:55:44 Still waiting to schedule task 13:55:44 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 13:57:49 Running on prd-centos7-docker-4c-2g-4084 in /w/workspace/edgexfoundry_device-sdk-c_PR-343 [Pipeline] { [Pipeline] ws 13:57:49 Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout 13:57:52 using credential edgex-jenkins-ssh 13:57:52 Cloning the remote Git repository 13:57:52 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:57:52 > git init /w/workspace/device-sdk-c/4 # timeout=10 13:57:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:57:53 > git --version # timeout=10 13:57:53 > git --version # 'git version 2.24.3' 13:57:53 using GIT_SSH to set credentials SSH Credentials for GitHub 13:57:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:57:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:57:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:57:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:57:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:57:53 using GIT_SSH to set credentials SSH Credentials for GitHub 13:57:53 > 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 13:57:54 Merging remotes/origin/master commit a1bd3e4e984760685c7a391cc08f5a8ab2e71757 into PR head commit 63d298beb62aade60f789e0b5cf9463f6e62bdf2 13:57:54 Merge succeeded, producing 63d298beb62aade60f789e0b5cf9463f6e62bdf2 13:57:54 Checking out Revision 63d298beb62aade60f789e0b5cf9463f6e62bdf2 (PR-343) 13:57:54 > git config core.sparsecheckout # timeout=10 13:57:54 > git checkout -f 63d298beb62aade60f789e0b5cf9463f6e62bdf2 # timeout=10 13:57:54 > git remote # timeout=10 13:57:54 > git config --get remote.origin.url # timeout=10 13:57:54 using GIT_SSH to set credentials SSH Credentials for GitHub 13:57:54 > git merge a1bd3e4e984760685c7a391cc08f5a8ab2e71757 # timeout=10 13:57:54 > git rev-parse HEAD^{commit} # timeout=10 13:57:54 > git config core.sparsecheckout # timeout=10 13:57:54 > git checkout -f 63d298beb62aade60f789e0b5cf9463f6e62bdf2 # timeout=10 13:57:58 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 13:57:59 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 13:57:59 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:58:00 + true 13:58:00 + sudo service docker restart 13:58:00 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:58:01 provisioning config files... 13:58:01 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config4049866385441491717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:58:02 ---> docker-login.sh 13:58:02 nexus3.edgexfoundry.org:10001 13:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:02 Configure a credential helper to remove this warning. See 13:58:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:02 13:58:02 Login Succeeded 13:58:02 nexus3.edgexfoundry.org:10002 13:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:02 Configure a credential helper to remove this warning. See 13:58:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:02 13:58:02 Login Succeeded 13:58:02 nexus3.edgexfoundry.org:10003 13:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:03 Configure a credential helper to remove this warning. See 13:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:03 13:58:03 Login Succeeded 13:58:03 nexus3.edgexfoundry.org:10004 13:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:03 Configure a credential helper to remove this warning. See 13:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:03 13:58:03 Login Succeeded 13:58:03 docker.io 13:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:03 Configure a credential helper to remove this warning. See 13:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:03 13:58:03 Login Succeeded 13:58:03 ---> docker-login.sh ends [Pipeline] } 13:58:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:58:03 ========================================================= 13:58:03 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 13:58:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:58:04 + 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 . 13:58:04 Sending build context to Docker daemon 2.642MB 13:58:04 Step 1/25 : ARG BASE=alpine:3.12 13:58:04 Step 2/25 : FROM ${BASE} as builder 13:58:04 latest: Pulling from edgex-devops/edgex-gcc-base 13:58:04 e7c96db7181b: Pulling fs layer 13:58:04 4c13bbce0fe7: Pulling fs layer 13:58:04 6059c847ac2f: Pulling fs layer 13:58:04 4c13bbce0fe7: Verifying Checksum 13:58:04 4c13bbce0fe7: Download complete 13:58:04 e7c96db7181b: Verifying Checksum 13:58:04 e7c96db7181b: Download complete 13:58:05 e7c96db7181b: Pull complete 13:58:05 4c13bbce0fe7: Pull complete 13:58:06 6059c847ac2f: Verifying Checksum 13:58:06 6059c847ac2f: Download complete 13:58:12 6059c847ac2f: Pull complete 13:58:12 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 13:58:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 13:58:12 ---> 5eabd8fd8ba2 13:58:12 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 13:58:13 ---> Running in d35536402417 13:58:14 Connecting to iotech.jfrog.io (52.213.233.120:443) 13:58:14 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 13:58:14 13:58:15 Removing intermediate container d35536402417 13:58:15 ---> 9b151ddd2914 13:58:15 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:58:15 ---> Running in 08f04df8e9f8 13:58:16 Removing intermediate container 08f04df8e9f8 13:58:16 ---> 611ac71d8ccb 13:58:16 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 13:58:16 ---> Running in 6ca582111163 13:58:17 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:58:18 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:58:19 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 13:58:20 (1/11) Installing hiredis (0.14.0-r0) 13:58:20 (2/11) Installing hiredis-dev (0.14.0-r0) 13:58:20 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 13:58:21 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 13:58:22 (5/11) Installing libuuid (2.33-r0) 13:58:22 (6/11) Installing libblkid (2.33-r0) 13:58:23 (7/11) Installing libfdisk (2.33-r0) 13:58:23 (8/11) Installing libmount (2.33-r0) 13:58:23 (9/11) Installing libsmartcols (2.33-r0) 13:58:24 (10/11) Installing util-linux-dev (2.33-r0) 13:58:26 (11/11) Installing wget (1.20.3-r0) 13:58:26 Executing busybox-1.29.3-r10.trigger 13:58:26 OK: 273 MiB in 86 packages 13:58:27 Removing intermediate container 6ca582111163 13:58:27 ---> 7382078b544e 13:58:27 Step 6/25 : ENV CBOR_VERSION=0.5.0 13:58:27 ---> Running in d0d3d9ec74f5 13:58:27 Removing intermediate container d0d3d9ec74f5 13:58:27 ---> 52a0b4a6521b 13:58:27 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 13:58:27 ---> Running in bdbbc74902b9 13:58:28 --2021-05-10 13:58:28-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:58:28 Resolving github.com... 140.82.114.4 13:58:28 Connecting to github.com|140.82.114.4|:443... connected. 13:58:28 HTTP request sent, awaiting response... 302 Found 13:58:28 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:58:28 --2021-05-10 13:58:28-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:58:28 Resolving codeload.github.com... 140.82.114.9 13:58:28 Connecting to codeload.github.com|140.82.114.9|:443... connected. 13:58:28 HTTP request sent, awaiting response... 200 OK 13:58:28 Length: unspecified [application/x-gzip] 13:58:28 Saving to: 'STDOUT' 13:58:28 13:58:28 0K .......... .......... .......... .......... .......... 1.13M 13:58:28 50K .......... .......... .......... .......... .......... 2.32M 13:58:28 100K .......... .......... .......... .......... .......... 28.9M 13:58:28 150K .......... .......... .......... .......... .......... 41.7M 13:58:28 200K .......... .......... .......... .......... .......... 2.32M 13:58:28 250K .......... .......... .......... .......... .......... 5.60M 13:58:28 300K .......... .......... .......... .......... .......... 7.89M 13:58:28 350K .......... .......... .......... .......... .......... 7.30M 13:58:28 400K .......... .......... .......... .......... .......... 5.51M 13:58:28 450K .......... .......... .......... .......... .......... 5.60M 13:58:28 500K .......... .......... .......... .......... .......... 19.2M 13:58:28 550K .......... .......... .......... .......... .......... 1.92M 13:58:28 600K .......... .......... .......... .......... .......... 2.20M 13:58:28 650K .......... .......... .......... .......... .......... 3.14M 13:58:28 700K .. 19.4M=0.2s 13:58:28 13:58:28 2021-05-10 13:58:28 (3.55 MB/s) - written to stdout [719348] 13:58:28 13:58:29 -- The C compiler identification is GNU 8.3.0 13:58:29 -- The CXX compiler identification is GNU 8.3.0 13:58:29 -- Check for working C compiler: /usr/bin/cc 13:58:29 -- Check for working C compiler: /usr/bin/cc -- works 13:58:29 -- Detecting C compiler ABI info 13:58:29 -- Detecting C compiler ABI info - done 13:58:29 -- Detecting C compile features 13:58:29 -- Detecting C compile features - done 13:58:29 -- Check for working CXX compiler: /usr/bin/c++ 13:58:29 -- Check for working CXX compiler: /usr/bin/c++ -- works 13:58:29 -- Detecting CXX compiler ABI info 13:58:30 -- Detecting CXX compiler ABI info - done 13:58:30 -- Detecting CXX compile features 13:58:30 -- Detecting CXX compile features - done 13:58:30 -- Looking for include file endian.h 13:58:30 -- Looking for include file endian.h - found 13:58:30 -- Check if the system is big endian 13:58:30 -- Searching 16 bit integer 13:58:30 -- Looking for sys/types.h 13:58:30 -- Looking for sys/types.h - found 13:58:30 -- Looking for stdint.h 13:58:30 -- Looking for stdint.h - found 13:58:30 -- Looking for stddef.h 13:58:30 -- Looking for stddef.h - found 13:58:30 -- Check size of unsigned short 13:58:30 -- Check size of unsigned short - done 13:58:30 -- Using unsigned short 13:58:31 -- Check if the system is big endian - little endian 13:58:31 -- Check size of size_t 13:58:31 -- Check size of size_t - done 13:58:31 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:58:31 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:58:31 asked CMake to find a package configuration file provided by "cJSON", but 13:58:31 CMake did not find one. 13:58:31 13:58:31 Could not find a package configuration file provided by "cJSON" with any of 13:58:31 the following names: 13:58:31 13:58:31 cJSONConfig.cmake 13:58:31 cjson-config.cmake 13:58:31 13:58:31 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:58:31 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:58:31 provides a separate development package or SDK, be sure it has been 13:58:31 installed. 13:58:31 13:58:31 13:58:31 -- Configuring done 13:58:31 -- Generating done 13:58:31 -- Build files have been written to: /tmp/cbor 13:58:31 Scanning dependencies of target cbor_shared 13:58:31 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:58:31 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:58:31 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:58:31 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:58:31 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:58:32 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:58:32 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:58:32 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:58:32 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:58:32 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:58:32 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:58:32 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:58:32 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:58:32 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:58:32 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:58:32 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:58:32 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:58:33 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:58:33 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:58:33 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:58:33 [ 40%] Linking C shared library libcbor.so 13:58:33 [ 40%] Built target cbor_shared 13:58:33 Scanning dependencies of target cbor 13:58:33 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:58:33 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:58:33 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:58:34 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:58:34 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:58:34 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:58:34 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:58:34 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:58:34 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:58:34 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:58:34 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:58:34 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:58:35 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:58:35 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:58:35 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:58:35 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:58:35 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:58:35 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:58:35 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:58:35 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:58:35 [ 80%] Linking C static library libcbor.a 13:58:35 [ 80%] Built target cbor 13:58:35 Scanning dependencies of target create_items 13:58:35 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:58:35 [ 84%] Linking C executable create_items 13:58:35 [ 84%] Built target create_items 13:58:35 Scanning dependencies of target readfile 13:58:35 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:58:35 [ 88%] Linking C executable readfile 13:58:36 [ 88%] Built target readfile 13:58:36 Scanning dependencies of target streaming_parser 13:58:36 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:58:36 [ 92%] Linking C executable streaming_parser 13:58:36 [ 92%] Built target streaming_parser 13:58:36 Scanning dependencies of target sort 13:58:36 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:58:36 [ 96%] Linking C executable sort 13:58:36 [ 96%] Built target sort 13:58:36 Scanning dependencies of target hello 13:58:36 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:58:36 [100%] Linking C executable hello 13:58:36 [100%] Built target hello 13:58:36 Install the project... 13:58:36 -- Install configuration: "Release" 13:58:36 -- Installing: /usr/local/include/cbor/configuration.h 13:58:36 -- Installing: /usr/local/lib64/libcbor.a 13:58:36 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:58:36 -- Installing: /usr/local/lib64/libcbor.so.0 13:58:36 -- Installing: /usr/local/lib64/libcbor.so 13:58:36 -- Up-to-date: /usr/local/include/cbor 13:58:36 -- Installing: /usr/local/include/cbor/arrays.h 13:58:36 -- Installing: /usr/local/include/cbor/bytestrings.h 13:58:36 -- Installing: /usr/local/include/cbor/callbacks.h 13:58:36 -- Installing: /usr/local/include/cbor/common.h 13:58:36 -- Installing: /usr/local/include/cbor/data.h 13:58:36 -- Installing: /usr/local/include/cbor/encoding.h 13:58:36 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:58:36 -- Installing: /usr/local/include/cbor/internal 13:58:36 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:58:36 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:58:36 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:58:36 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:58:36 -- Installing: /usr/local/include/cbor/internal/stack.h 13:58:36 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:58:36 -- Installing: /usr/local/include/cbor/ints.h 13:58:36 -- Installing: /usr/local/include/cbor/maps.h 13:58:36 -- Installing: /usr/local/include/cbor/serialization.h 13:58:36 -- Installing: /usr/local/include/cbor/streaming.h 13:58:36 -- Installing: /usr/local/include/cbor/strings.h 13:58:36 -- Installing: /usr/local/include/cbor/tags.h 13:58:36 -- Installing: /usr/local/include/cbor.h 13:58:36 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:58:38 Removing intermediate container bdbbc74902b9 13:58:38 ---> dded549fe913 13:58:38 Step 8/25 : RUN mkdir /tmp/sdk 13:58:38 ---> Running in 5ea47e46b556 13:58:39 Removing intermediate container 5ea47e46b556 13:58:39 ---> ac9ed71c45ad 13:58:39 Step 9/25 : COPY VERSION /tmp/sdk 13:58:40 ---> b29a480d667d 13:58:40 Step 10/25 : COPY src /tmp/sdk/src 13:58:41 ---> 21d68539a108 13:58:41 Step 11/25 : COPY include /tmp/sdk/include 13:58:41 ---> ef006fe86b6a 13:58:41 Step 12/25 : COPY scripts /tmp/sdk/scripts 13:58:42 ---> b46c00ab68cc 13:58:42 Step 13/25 : COPY LICENSE /tmp/sdk 13:58:42 ---> ce7749541df7 13:58:42 Step 14/25 : COPY Attribution.txt /tmp/sdk 13:58:42 ---> dc9920691bc5 13:58:42 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:58:42 ---> Running in 5034d5231e96 13:58:43 + CPPCHECK=false 13:58:43 + DOCGEN=false 13:58:43 + TOMLVER=SDK-0.2 13:58:43 + CUTILVER=1.1.4 13:58:43 + '[' 0 -gt 0 ] 13:58:43 + readlink -f ./scripts/build.sh 13:58:43 + dirname /tmp/sdk/scripts/build.sh 13:58:43 + dirname /tmp/sdk/scripts 13:58:43 + ROOT=/tmp/sdk 13:58:43 + cd /tmp/sdk 13:58:43 + '[' '!' -d deps ] 13:58:43 + mkdir deps 13:58:43 + tar -C deps -z -x -f - 13:58:43 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:58:43 --2021-05-10 13:58:43-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:58:43 Resolving github.com... 140.82.114.4 13:58:43 Connecting to github.com|140.82.114.4|:443... connected. 13:58:43 HTTP request sent, awaiting response... 302 Found 13:58:43 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:58:43 --2021-05-10 13:58:43-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:58:43 Resolving codeload.github.com... 140.82.114.9 13:58:43 Connecting to codeload.github.com|140.82.114.9|:443... connected. 13:58:43 HTTP request sent, awaiting response... 200 OK 13:58:43 Length: unspecified [application/x-gzip] 13:58:43 Saving to: 'STDOUT' 13:58:43 13:58:43 0K .......... ...... 762K=0.02s 13:58:43 13:58:43 2021-05-10 13:58:43 (762 KB/s) - written to stdout [16451] 13:58:43 13:58:43 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:58:43 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 13:58:43 + tar -C deps -z -x -f - 13:58:43 --2021-05-10 13:58:43-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 13:58:43 Resolving github.com... 140.82.114.4 13:58:43 Connecting to github.com|140.82.114.4|:443... connected. 13:58:44 HTTP request sent, awaiting response... 302 Found 13:58:44 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 13:58:44 --2021-05-10 13:58:43-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 13:58:44 Resolving codeload.github.com... 140.82.114.9 13:58:44 Connecting to codeload.github.com|140.82.114.9|:443... connected. 13:58:44 HTTP request sent, awaiting response... 200 OK 13:58:44 Length: unspecified [application/x-gzip] 13:58:44 Saving to: 'STDOUT' 13:58:44  13:58:44 0K .......... .......... .......... .......... .......... 1.41M 13:58:44 50K .......... .......... .......... .......... .......... 2.92M 13:58:44 100K .......... .......... .......... .......... .......... 30.5M 13:58:44 150K .......... .......... ....... 6.90M=0.06s 13:58:44 13:58:44 2021-05-10 13:58:44 (3.05 MB/s) - written to stdout [181796] 13:58:44 13:58:44 + mkdir -p src/c/iot 13:58:44 + 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 13:58:44 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 13:58:44 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 13:58:44 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 13:58:44 + mkdir -p include/iot 13:58:44 + 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 13:58:44 + mkdir -p include/iot/os 13:58:44 + 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 13:58:44 + mkdir -p /tmp/sdk/build/release 13:58:44 + cd /tmp/sdk/build/release 13:58:44 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:58:44 -- The C compiler identification is GNU 8.3.0 13:58:44 -- Check for working C compiler: /usr/bin/cc 13:58:44 -- Check for working C compiler: /usr/bin/cc -- works 13:58:44 -- Detecting C compiler ABI info 13:58:44 -- Detecting C compiler ABI info - done 13:58:44 -- Detecting C compile features 13:58:45 -- Detecting C compile features - done 13:58:45 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:58:45 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:58:45 -- Found LIBYAML: /usr/lib/libyaml.so 13:58:45 -- Found LIBUUID: /usr/lib/libuuid.so 13:58:45 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:58:45 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:58:45 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:58:45 -- C SDK 0.0.0 for Linux 13:58:45 -- Performing Test CSDK_HAVE_ATOMIC 13:58:45 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:58:45 -- Found Curses: /usr/lib/libcurses.so 13:58:45 -- Configuring done 13:58:45 -- Generating done 13:58:45 -- Build files have been written to: /tmp/sdk/build/release 13:58:45 + make all package 13:58:45 + tee release.log 13:58:45 Scanning dependencies of target csdk 13:58:45 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:58:45 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:58:45 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:58:46 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:58:46 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:58:46 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:58:46 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:58:46 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:58:46 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:58:47 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:58:47 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:58:47 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:58:47 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:58:48 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:58:48 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:58:48 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:58:48 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:58:49 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:58:49 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:58:49 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:58:49 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:58:49 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:58:49 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:58:50 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:58:50 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:58:50 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:58:50 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:58:50 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:58:50 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:58:51 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:58:51 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:58:51 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:58:51 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:58:52 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:58:52 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:58:52 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:58:52 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:58:53 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:58:53 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:58:53 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:58:54 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:58:54 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:58:55 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:58:55 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:58:56 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:58:56 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:58:56 [ 74%] Linking C shared library libcsdk.so 13:58:56 [ 74%] Built target csdk 13:58:56 Scanning dependencies of target template 13:58:56 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:58:57 [ 77%] Linking C executable template 13:58:57 [ 77%] Built target template 13:58:57 Scanning dependencies of target device-counter 13:58:57 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:58:57 [ 80%] Linking C executable device-counter 13:58:57 [ 80%] Built target device-counter 13:58:57 Scanning dependencies of target device-random 13:58:57 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:58:57 [ 84%] Linking C executable device-random 13:58:57 [ 84%] Built target device-random 13:58:57 Scanning dependencies of target device-gyro 13:58:57 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:58:57 [ 87%] Linking C executable device-gyro 13:58:57 [ 87%] Built target device-gyro 13:58:57 Scanning dependencies of target device-bitfields 13:58:57 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:58:57 [ 90%] Linking C executable device-bitfields 13:58:58 [ 90%] Built target device-bitfields 13:58:58 Scanning dependencies of target template-discovery 13:58:58 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:58:58 [ 93%] Linking C executable template-discovery 13:58:58 [ 93%] Built target template-discovery 13:58:58 Scanning dependencies of target device-file 13:58:58 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:58:58 [ 96%] Linking C executable device-file 13:58:58 [ 96%] Built target device-file 13:58:58 Scanning dependencies of target device-terminal 13:58:58 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:58:58 [100%] Linking C executable device-terminal 13:58:59 [100%] Built target device-terminal 13:58:59 Run CPack packaging tool... 13:58:59 CPack: Create package using TGZ 13:58:59 CPack: Install projects 13:58:59 CPack: - Run preinstall target for: Csdk 13:58:59 CPack: - Install project: Csdk 13:58:59 CPack: Create package 13:58:59 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:58:59 + '[' false '=' true ] 13:58:59 + '[' false '=' true ] 13:58:59 + mkdir -p /tmp/sdk/build/debug 13:58:59 + cd /tmp/sdk/build/debug 13:58:59 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:58:59 -- The C compiler identification is GNU 8.3.0 13:58:59 -- Check for working C compiler: /usr/bin/cc 13:58:59 -- Check for working C compiler: /usr/bin/cc -- works 13:58:59 -- Detecting C compiler ABI info 13:58:59 -- Detecting C compiler ABI info - done 13:58:59 -- Detecting C compile features 13:58:59 -- Detecting C compile features - done 13:58:59 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:58:59 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:58:59 -- Found LIBYAML: /usr/lib/libyaml.so 13:58:59 -- Found LIBUUID: /usr/lib/libuuid.so 13:58:59 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:58:59 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:58:59 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:58:59 -- C SDK 0.0.0 for Linux 13:58:59 -- Performing Test CSDK_HAVE_ATOMIC 13:58:59 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:58:59 -- Found Curses: /usr/lib/libcurses.so 13:59:00 -- Configuring done 13:59:00 -- Generating done 13:59:00 -- Build files have been written to: /tmp/sdk/build/debug 13:59:00 + make 13:59:00 + tee debug.log 13:59:00 Scanning dependencies of target csdk 13:59:00 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:59:00 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:59:00 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:59:00 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:59:00 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:59:00 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:59:01 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:59:01 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:59:01 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:59:01 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:59:01 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:59:01 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:59:01 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:59:01 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:59:01 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:59:01 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:59:01 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:59:02 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:59:02 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:59:02 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:59:02 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:59:02 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:59:02 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:59:02 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:59:02 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:59:02 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:59:02 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:59:03 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:59:03 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:59:03 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:59:03 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:59:03 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:59:03 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:59:03 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:59:03 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:59:03 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:59:03 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:59:04 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:59:04 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:59:04 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:59:04 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:59:04 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:59:04 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:59:04 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:59:05 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:59:05 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:59:05 [ 74%] Linking C shared library libcsdk.so 13:59:05 [ 74%] Built target csdk 13:59:05 Scanning dependencies of target template 13:59:05 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:59:05 [ 77%] Linking C executable template 13:59:05 [ 77%] Built target template 13:59:05 Scanning dependencies of target device-counter 13:59:05 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:59:05 [ 80%] Linking C executable device-counter 13:59:05 [ 80%] Built target device-counter 13:59:05 Scanning dependencies of target device-random 13:59:05 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:59:06 [ 84%] Linking C executable device-random 13:59:06 [ 84%] Built target device-random 13:59:06 Scanning dependencies of target device-gyro 13:59:06 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:59:06 [ 87%] Linking C executable device-gyro 13:59:06 [ 87%] Built target device-gyro 13:59:06 Scanning dependencies of target device-bitfields 13:59:06 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:59:06 [ 90%] Linking C executable device-bitfields 13:59:06 [ 90%] Built target device-bitfields 13:59:06 Scanning dependencies of target template-discovery 13:59:06 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:59:06 [ 93%] Linking C executable template-discovery 13:59:06 [ 93%] Built target template-discovery 13:59:06 Scanning dependencies of target device-file 13:59:06 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:59:06 [ 96%] Linking C executable device-file 13:59:06 [ 96%] Built target device-file 13:59:06 Scanning dependencies of target device-terminal 13:59:06 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:59:06 [100%] Linking C executable device-terminal 13:59:06 [100%] Built target device-terminal 13:59:06 make: Entering directory '/tmp/sdk/build/release' 13:59:07 make[1]: Entering directory '/tmp/sdk/build/release' 13:59:07 make[2]: Entering directory '/tmp/sdk/build/release' 13:59:07 make[2]: Leaving directory '/tmp/sdk/build/release' 13:59:07 [ 74%] Built target csdk 13:59:07 make[2]: Entering directory '/tmp/sdk/build/release' 13:59:07 make[2]: Leaving directory '/tmp/sdk/build/release' 13:59:07 [ 77%] Built target template 13:59:07 make[2]: Entering directory '/tmp/sdk/build/release' 13:59:07 make[2]: Leaving directory '/tmp/sdk/build/release' 13:59:07 [ 80%] Built target device-counter 13:59:07 make[2]: Entering directory '/tmp/sdk/build/release' 13:59:07 make[2]: Leaving directory '/tmp/sdk/build/release' 13:59:07 [ 84%] Built target device-random 13:59:07 make[2]: Entering directory '/tmp/sdk/build/release' 13:59:07 make[2]: Leaving directory '/tmp/sdk/build/release' 13:59:07 [ 87%] Built target device-gyro 13:59:07 make[2]: Entering directory '/tmp/sdk/build/release' 13:59:07 make[2]: Leaving directory '/tmp/sdk/build/release' 13:59:07 [ 90%] Built target device-bitfields 13:59:07 make[2]: Entering directory '/tmp/sdk/build/release' 13:59:07 make[2]: Leaving directory '/tmp/sdk/build/release' 13:59:07 [ 93%] Built target template-discovery 13:59:07 make[2]: Entering directory '/tmp/sdk/build/release' 13:59:07 make[2]: Leaving directory '/tmp/sdk/build/release' 13:59:07 [ 96%] Built target device-file 13:59:07 make[2]: Entering directory '/tmp/sdk/build/release' 13:59:07 make[2]: Leaving directory '/tmp/sdk/build/release' 13:59:07 [100%] Built target device-terminal 13:59:07 make[1]: Leaving directory '/tmp/sdk/build/release' 13:59:07 Install the project... 13:59:07 -- Install configuration: "Release" 13:59:07 -- Installing: /usr/local/lib/libcsdk.so 13:59:07 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:59:07 -- Up-to-date: /usr/local/include 13:59:07 -- Installing: /usr/local/include/devsdk 13:59:07 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:59:07 -- Installing: /usr/local/include/devsdk/devsdk.h 13:59:07 -- Installing: /usr/local/include/edgex 13:59:07 -- Installing: /usr/local/include/edgex/devices.h 13:59:07 -- Installing: /usr/local/include/edgex/edgex-base.h 13:59:07 -- Installing: /usr/local/include/edgex/edgex.h 13:59:07 -- Installing: /usr/local/include/edgex/profiles.h 13:59:07 -- Installing: /usr/local/include/edgex/rest-server.h 13:59:07 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:59:07 -- Installing: /usr/local/include/iot 13:59:07 -- Installing: /usr/local/include/iot/base64.h 13:59:07 -- Installing: /usr/local/include/iot/component.h 13:59:07 -- Installing: /usr/local/include/iot/config.h 13:59:07 -- Installing: /usr/local/include/iot/container.h 13:59:07 -- Installing: /usr/local/include/iot/data.h 13:59:07 -- Installing: /usr/local/include/iot/hash.h 13:59:07 -- Installing: /usr/local/include/iot/iot.h 13:59:07 -- Installing: /usr/local/include/iot/json.h 13:59:07 -- Installing: /usr/local/include/iot/logger.h 13:59:07 -- Installing: /usr/local/include/iot/os.h 13:59:07 -- Installing: /usr/local/include/iot/scheduler.h 13:59:07 -- Installing: /usr/local/include/iot/thread.h 13:59:07 -- Installing: /usr/local/include/iot/threadpool.h 13:59:07 -- Installing: /usr/local/include/iot/time.h 13:59:07 -- Installing: /usr/local/include/iot/typecode.h 13:59:07 -- Installing: /usr/local/include/iot/os 13:59:07 -- Installing: /usr/local/include/iot/os/linux.h 13:59:07 -- Installing: /usr/local/include/iot/os/macos.h 13:59:07 -- Installing: /usr/local/include/iot/os/zephyr.h 13:59:07 -- Installing: /usr/local/include/iot/defs.h 13:59:07 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:59:07 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:59:07 make: Leaving directory '/tmp/sdk/build/release' 13:59:09 Removing intermediate container 5034d5231e96 13:59:09 ---> 44259c870066 13:59:09 Step 16/25 : FROM ${BASE} 13:59:09 ---> 5eabd8fd8ba2 13:59:09 Step 17/25 : LABEL maintainer="IOTech " 13:59:09 ---> Running in d1fd3c9c468a 13:59:09 Removing intermediate container d1fd3c9c468a 13:59:09 ---> 847c545650b8 13:59:09 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 13:59:09 ---> Running in c160023565c8 13:59:10 Connecting to iotech.jfrog.io (52.209.221.241:443) 13:59:10 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 13:59:10 13:59:11 Removing intermediate container c160023565c8 13:59:11 ---> b32054099a30 13:59:11 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:59:11 ---> Running in 40848a6b707b 13:59:12 Removing intermediate container 40848a6b707b 13:59:12 ---> ba5d797fc16b 13:59:12 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 13:59:12 ---> Running in f93b9b511574 13:59:12 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:59:14 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:59:15 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 13:59:15 (1/6) Installing curl (7.64.0-r5) 13:59:15 (2/6) Installing hiredis (0.14.0-r0) 13:59:16 (3/6) Installing hiredis-dev (0.14.0-r0) 13:59:16 (4/6) Installing libuuid (2.33-r0) 13:59:16 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 13:59:17 (6/6) Installing wget (1.20.3-r0) 13:59:18 Executing busybox-1.29.3-r10.trigger 13:59:18 OK: 269 MiB in 81 packages 13:59:18 Removing intermediate container f93b9b511574 13:59:18 ---> b7d74193dfb8 13:59:18 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:59:18 ---> 347e8593c6e2 13:59:18 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:59:19 ---> cc3759186e30 13:59:19 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 13:59:19 ---> 65ef818360b3 13:59:19 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:59:19 ---> 0cf312c8aa59 13:59:19 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:59:19 ---> 5c0086026652 13:59:20 Successfully built 5c0086026652 13:59:20 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 13:59:20 + docker inspect -f . ci-base-image-x86_64 13:59:20 . [Pipeline] withDockerContainer 13:59:20 prd-centos7-docker-4c-2g-4084 does not seem to be running inside a container 13:59:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:59:21 $ docker top 36cf1bcf07cb34005191e4812e15e9a39d4818d9a98116d0d54483a3f9b5aa8d -eo pid,comm [Pipeline] { [Pipeline] sh 13:59:22 + make test 13:59:22 echo "make test" 13:59:22 make test [Pipeline] } 13:59:22 $ docker stop --time=1 36cf1bcf07cb34005191e4812e15e9a39d4818d9a98116d0d54483a3f9b5aa8d 13:59:23 $ docker rm -f 36cf1bcf07cb34005191e4812e15e9a39d4818d9a98116d0d54483a3f9b5aa8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:59:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:59:25 + ls -al . 13:59:25 total 160 13:59:25 drwxrwxr-x. 8 jenkins jenkins 260 May 10 13:57 . 13:59:25 drwxrwxr-x. 4 jenkins jenkins 28 May 10 13:57 .. 13:59:25 -rw-rw-r--. 1 jenkins jenkins 3104 May 10 13:57 Attribution.txt 13:59:25 -rw-rw-r--. 1 jenkins jenkins 7200 May 10 13:57 CHANGES 13:59:25 drwxrwxr-x. 2 jenkins jenkins 121 May 10 13:57 docs 13:59:25 -rw-rw-r--. 1 jenkins jenkins 108574 May 10 13:57 Doxyfile 13:59:25 drwxrwxr-x. 8 jenkins jenkins 179 May 10 13:57 .git 13:59:25 drwxrwxr-x. 2 jenkins jenkins 81 May 10 13:57 .github 13:59:25 -rw-rw-r--. 1 jenkins jenkins 176 May 10 13:57 .gitignore 13:59:25 drwxrwxr-x. 4 jenkins jenkins 33 May 10 13:57 include 13:59:25 -rw-rw-r--. 1 jenkins jenkins 784 May 10 13:57 Jenkinsfile 13:59:25 -rw-rw-r--. 1 jenkins jenkins 10174 May 10 13:57 LICENSE 13:59:25 -rw-rw-r--. 1 jenkins jenkins 444 May 10 13:57 Makefile 13:59:25 -rw-rw-r--. 1 jenkins jenkins 4090 May 10 13:57 README.md 13:59:25 -rw-rw-r--. 1 jenkins jenkins 6654 May 10 13:57 README.v2.md 13:59:25 drwxrwxr-x. 2 jenkins jenkins 98 May 10 13:57 scripts 13:59:25 drwxrwxr-x. 4 jenkins jenkins 50 May 10 13:57 src 13:59:25 -rw-rw-r--. 1 jenkins jenkins 5 May 10 13:55 VERSION [Pipeline] isUnix [Pipeline] sh 13:59:25 + 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=63d298beb62aade60f789e0b5cf9463f6e62bdf2 --label arch=amd64 --label version=0.0.0 . 13:59:25 Sending build context to Docker daemon 2.642MB 13:59:25 Step 1/17 : ARG BASE=alpine:3.12 13:59:25 Step 2/17 : FROM ${BASE} 13:59:25 ---> 5c0086026652 13:59:25 Step 3/17 : LABEL maintainer="IOTech " 13:59:26 ---> Running in 56cf9ea00e0f 13:59:26 Removing intermediate container 56cf9ea00e0f 13:59:26 ---> 3cfabd8dfffe 13:59:26 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 13:59:26 ---> Running in 70f31f32077b 13:59:27 --2021-05-10 13:59:27-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 13:59:27 Resolving iotech.jfrog.io... 54.171.22.102, 52.209.221.241, 52.213.233.120, ... 13:59:27 Connecting to iotech.jfrog.io|54.171.22.102|:443... connected. 13:59:27 HTTP request sent, awaiting response... 200 OK 13:59:27 Length: 451 [application/octet-stream] 13:59:27 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 13:59:27 13:59:27 0K  100% 46.3M=0s 13:59:27 13:59:27 2021-05-10 13:59:27 (46.3 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 13:59:27 13:59:28 Removing intermediate container 70f31f32077b 13:59:28 ---> 61300bdc4533 13:59:28 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:59:28 ---> Running in 8a1eb03f974c 13:59:29 Removing intermediate container 8a1eb03f974c 13:59:29 ---> 5a3d341fa853 13:59:29 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 13:59:29 ---> Running in 9a2a6252727a 13:59:29 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:59:31 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:59:31 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 13:59:32 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 13:59:32 (2/6) Installing libblkid (2.33-r0) 13:59:32 (3/6) Installing libfdisk (2.33-r0) 13:59:32 (4/6) Installing libmount (2.33-r0) 13:59:32 (5/6) Installing libsmartcols (2.33-r0) 13:59:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4086 in /w/workspace/edgexfoundry_device-sdk-c_PR-343 [Pipeline] { [Pipeline] ws 13:59:32 Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout 13:59:33 (6/6) Installing util-linux-dev (2.33-r0) 13:59:33 Executing busybox-1.29.3-r10.trigger 13:59:33 OK: 273 MiB in 87 packages 13:59:34 Removing intermediate container 9a2a6252727a 13:59:34 ---> 74e2bc34eb9b 13:59:34 Step 7/17 : COPY VERSION /edgex-c-sdk/ 13:59:34 ---> 0414feb54c18 13:59:34 Step 8/17 : COPY src /edgex-c-sdk/src/ 13:59:35 ---> f200d511db26 13:59:35 Step 9/17 : COPY include /edgex-c-sdk/include/ 13:59:35 ---> d9590aaa0ea5 13:59:35 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 13:59:35 ---> 5924ff0adc9d 13:59:35 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 13:59:36 ---> 1594cd914710 13:59:36 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 13:59:36 ---> a1a620bdf76a 13:59:36 Step 13/17 : WORKDIR /edgex-c-sdk 13:59:36 ---> Running in da1c2b7bc95a 13:59:36 Removing intermediate container da1c2b7bc95a 13:59:36 ---> 18481399c28d 13:59:36 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:59:36 ---> Running in b7b003cfbdd8 13:59:37 Removing intermediate container b7b003cfbdd8 13:59:37 ---> f24985a9a02c 13:59:37 Step 15/17 : LABEL arch=amd64 13:59:37 ---> Running in e487c171e7b3 13:59:37 Removing intermediate container e487c171e7b3 13:59:37 ---> 1f56c2c5143e 13:59:37 Step 16/17 : LABEL git_sha=63d298beb62aade60f789e0b5cf9463f6e62bdf2 13:59:37 ---> Running in e1f27d6d09ef 13:59:37 Removing intermediate container e1f27d6d09ef 13:59:37 ---> e73c5707444a 13:59:37 Step 17/17 : LABEL version=0.0.0 13:59:37 ---> Running in 5069277b9378 13:59:37 Removing intermediate container 5069277b9378 13:59:37 ---> 74c7301ddba0 13:59:37 [Warning] One or more build-args [MAKE ARCH] were not consumed 13:59:37 Successfully built 74c7301ddba0 13:59:37 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] } 13:59:38 using credential edgex-jenkins-ssh 13:59:38 Cloning the remote Git repository 13:59:38 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:59:38 > git init /w/workspace/device-sdk-c/4 # timeout=10 13:59:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:59:38 > git --version # timeout=10 13:59:38 > git --version # 'git version 2.17.1' 13:59:38 using GIT_SSH to set credentials SSH Credentials for GitHub 13:59:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:59:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:59:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:59:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:59:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:59:40 using GIT_SSH to set credentials SSH Credentials for GitHub 13:59:40 > 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 13:59:40 Merging remotes/origin/master commit a1bd3e4e984760685c7a391cc08f5a8ab2e71757 into PR head commit 63d298beb62aade60f789e0b5cf9463f6e62bdf2 13:59:41 Merge succeeded, producing 63d298beb62aade60f789e0b5cf9463f6e62bdf2 13:59:41 Checking out Revision 63d298beb62aade60f789e0b5cf9463f6e62bdf2 (PR-343) 13:59:40 > git config core.sparsecheckout # timeout=10 13:59:40 > git checkout -f 63d298beb62aade60f789e0b5cf9463f6e62bdf2 # timeout=10 13:59:41 > git remote # timeout=10 13:59:41 > git config --get remote.origin.url # timeout=10 13:59:41 using GIT_SSH to set credentials SSH Credentials for GitHub 13:59:41 > git merge a1bd3e4e984760685c7a391cc08f5a8ab2e71757 # timeout=10 13:59:41 > git rev-parse HEAD^{commit} # timeout=10 13:59:41 > git config core.sparsecheckout # timeout=10 13:59:41 > git checkout -f 63d298beb62aade60f789e0b5cf9463f6e62bdf2 # timeout=10 13:59:45 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 13:59:46 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 13:59:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:59:47 + sudo service docker restart 13:59:47 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:59:50 provisioning config files... 13:59:50 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config1523320446975853517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:59:50 ---> docker-login.sh 13:59:50 nexus3.edgexfoundry.org:10001 13:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:51 Configure a credential helper to remove this warning. See 13:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:51 13:59:51 Login Succeeded 13:59:51 nexus3.edgexfoundry.org:10002 13:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:52 Configure a credential helper to remove this warning. See 13:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:52 13:59:52 Login Succeeded 13:59:52 nexus3.edgexfoundry.org:10003 13:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:52 Configure a credential helper to remove this warning. See 13:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:52 13:59:52 Login Succeeded 13:59:52 nexus3.edgexfoundry.org:10004 13:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:53 Configure a credential helper to remove this warning. See 13:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:53 13:59:53 Login Succeeded 13:59:53 docker.io 13:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:54 Configure a credential helper to remove this warning. See 13:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:54 13:59:54 Login Succeeded 13:59:54 ---> docker-login.sh ends [Pipeline] } 13:59:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:59:54 ========================================================= 13:59:54 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 13:59:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:59:54 + 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 . 13:59:55 Sending build context to Docker daemon 2.641MB 13:59:55 Step 1/25 : ARG BASE=alpine:3.12 13:59:55 Step 2/25 : FROM ${BASE} as builder 13:59:55 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 13:59:55 0362ad1dd800: Pulling fs layer 13:59:55 f2cdb1532d8b: Pulling fs layer 13:59:55 37ed683be191: Pulling fs layer 13:59:55 f2cdb1532d8b: Download complete 13:59:55 0362ad1dd800: Verifying Checksum 13:59:55 0362ad1dd800: Download complete 13:59:56 0362ad1dd800: Pull complete 13:59:56 f2cdb1532d8b: Pull complete 13:59:57 37ed683be191: Verifying Checksum 13:59:57 37ed683be191: Download complete 14:00:08 37ed683be191: Pull complete 14:00:08 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 14:00:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:00:08 ---> b23d30803547 14:00:08 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 14:00:08 ---> Running in 585edbf10e83 14:00:09 Connecting to iotech.jfrog.io (54.76.134.205:443) 14:00:09 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:00:09 14:00:10 Removing intermediate container 585edbf10e83 14:00:10 ---> 83df69461068 14:00:10 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:00:11 ---> Running in 68578f315aad 14:00:13 Removing intermediate container 68578f315aad 14:00:13 ---> a4816a3e750d 14:00:13 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 14:00:13 ---> Running in 6523a3ea32d1 14:00:14 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:00:18 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:00:19 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 14:00:20 (1/11) Installing hiredis (0.14.0-r0) 14:00:20 (2/11) Installing hiredis-dev (0.14.0-r0) 14:00:21 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 14:00:25 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 14:00:27 (5/11) Installing libuuid (2.33-r0) 14:00:27 (6/11) Installing libblkid (2.33-r0) 14:00:33 (7/11) Installing libfdisk (2.33-r0) 14:00:37 (8/11) Installing libmount (2.33-r0) 14:00:41 (9/11) Installing libsmartcols (2.33-r0) 14:00:43 (10/11) Installing util-linux-dev (2.33-r0) 14:00:51 (11/11) Installing wget (1.20.3-r0) 14:00:54 Executing busybox-1.29.3-r10.trigger 14:00:54 OK: 287 MiB in 86 packages 14:00:55 Removing intermediate container 6523a3ea32d1 14:00:55 ---> cec1ca3330a9 14:00:55 Step 6/25 : ENV CBOR_VERSION=0.5.0 14:00:55 ---> Running in 44bad84c9e5a 14:00:55 Removing intermediate container 44bad84c9e5a 14:00:55 ---> 0e367108adc9 14:00:55 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 14:00:56 ---> Running in 434b5542939b 14:00:57 --2021-05-10 14:00:57-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:00:57 Resolving github.com... 140.82.112.3 14:00:57 Connecting to github.com|140.82.112.3|:443... connected. 14:00:57 HTTP request sent, awaiting response... 302 Found 14:00:57 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:00:57 --2021-05-10 14:00:57-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:00:57 Resolving codeload.github.com... 140.82.113.10 14:00:57 Connecting to codeload.github.com|140.82.113.10|:443... connected. 14:00:57 HTTP request sent, awaiting response... 200 OK 14:00:57 Length: unspecified [application/x-gzip] 14:00:57 Saving to: 'STDOUT' 14:00:57  14:00:57 0K .......... .......... .......... .......... .......... 1.15M 14:00:57 50K .......... .......... .......... .......... .......... 2.30M 14:00:57 100K .......... .......... .......... .......... .......... 1.14M 14:00:57 150K .......... .......... .......... .......... .......... 12.9M 14:00:57 200K .......... .......... .......... .......... .......... 2.45M 14:00:57 250K .......... .......... .......... .......... .......... 2.35M 14:00:57 300K .......... .......... .......... .......... .......... 11.2M 14:00:57 350K .......... .......... .......... .......... .......... 2.25M 14:00:58 400K .......... .......... .......... .......... .......... 935K 14:00:58 450K .......... .......... .......... .......... .......... 8.83M 14:00:58 500K .......... .......... .......... .......... .......... 1.46M 14:00:58 550K .......... .......... .......... .......... .......... 1.45M 14:00:58 600K .......... .......... .......... .......... .......... 1.13M 14:00:58 650K .......... .......... .......... .......... .......... 840K 14:00:58 700K ..  2.25M=0.4s 14:00:58 14:00:58 2021-05-10 14:00:58 (1.68 MB/s) - written to stdout [719348] 14:00:58 14:00:58 -- The C compiler identification is GNU 8.3.0 14:00:58 -- The CXX compiler identification is GNU 8.3.0 14:00:58 -- Check for working C compiler: /usr/bin/cc 14:00:58 -- Check for working C compiler: /usr/bin/cc -- works 14:00:58 -- Detecting C compiler ABI info 14:00:59 -- Detecting C compiler ABI info - done 14:00:59 -- Detecting C compile features 14:00:59 -- Detecting C compile features - done 14:01:00 -- Check for working CXX compiler: /usr/bin/c++ 14:01:00 -- Check for working CXX compiler: /usr/bin/c++ -- works 14:01:00 -- Detecting CXX compiler ABI info 14:01:00 -- Detecting CXX compiler ABI info - done 14:01:00 -- Detecting CXX compile features 14:01:02 -- Detecting CXX compile features - done 14:01:02 -- Looking for include file endian.h 14:01:02 -- Looking for include file endian.h - found 14:01:02 -- Check if the system is big endian 14:01:02 -- Searching 16 bit integer 14:01:02 -- Looking for sys/types.h 14:01:02 -- Looking for sys/types.h - found 14:01:02 -- Looking for stdint.h 14:01:02 -- Looking for stdint.h - found 14:01:02 -- Looking for stddef.h 14:01:02 -- Looking for stddef.h - found 14:01:02 -- Check size of unsigned short 14:01:03 -- Check size of unsigned short - done 14:01:03 -- Using unsigned short 14:01:03 -- Check if the system is big endian - little endian 14:01:03 -- Check size of size_t 14:01:03 -- Check size of size_t - done 14:01:03 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:01:03 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:01:03 asked CMake to find a package configuration file provided by "cJSON", but 14:01:03 CMake did not find one. 14:01:03 14:01:03 Could not find a package configuration file provided by "cJSON" with any of 14:01:03 the following names: 14:01:03 14:01:03 cJSONConfig.cmake 14:01:03 cjson-config.cmake 14:01:03 14:01:03 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:01:03 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:01:03 provides a separate development package or SDK, be sure it has been 14:01:03 installed. 14:01:03 14:01:03 14:01:03 -- Configuring done 14:01:03 -- Generating done 14:01:04 -- Build files have been written to: /tmp/cbor 14:01:04 Scanning dependencies of target cbor_shared 14:01:04 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:01:05 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:01:05 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:01:05 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:01:06 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:01:06 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:01:06 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:01:06 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:01:07 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:01:07 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:01:08 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:01:08 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:01:08 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:01:09 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:01:09 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:01:09 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:01:09 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:01:10 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:01:10 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:01:10 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:01:10 [ 40%] Linking C shared library libcbor.so 14:01:10 [ 40%] Built target cbor_shared 14:01:10 Scanning dependencies of target cbor 14:01:10 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:01:11 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:01:12 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:01:12 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:01:13 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:01:13 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:01:14 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:01:14 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:01:14 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:01:14 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:01:15 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:01:15 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:01:16 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:01:16 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:01:16 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:01:17 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:01:17 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:01:17 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:01:17 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:01:18 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:01:18 [ 80%] Linking C static library libcbor.a 14:01:18 [ 80%] Built target cbor 14:01:18 Scanning dependencies of target create_items 14:01:18 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:01:18 [ 84%] Linking C executable create_items 14:01:18 [ 84%] Built target create_items 14:01:18 Scanning dependencies of target readfile 14:01:18 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:01:18 [ 88%] Linking C executable readfile 14:01:19 [ 88%] Built target readfile 14:01:19 Scanning dependencies of target streaming_parser 14:01:19 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:01:19 [ 92%] Linking C executable streaming_parser 14:01:19 [ 92%] Built target streaming_parser 14:01:19 Scanning dependencies of target sort 14:01:19 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:01:19 [ 96%] Linking C executable sort 14:01:19 [ 96%] Built target sort 14:01:19 Scanning dependencies of target hello 14:01:19 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:01:19 [100%] Linking C executable hello 14:01:19 [100%] Built target hello 14:01:19 Install the project... 14:01:19 -- Install configuration: "Release" 14:01:19 -- Installing: /usr/local/include/cbor/configuration.h 14:01:19 -- Installing: /usr/local/lib64/libcbor.a 14:01:19 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:01:19 -- Installing: /usr/local/lib64/libcbor.so.0 14:01:19 -- Installing: /usr/local/lib64/libcbor.so 14:01:19 -- Up-to-date: /usr/local/include/cbor 14:01:19 -- Installing: /usr/local/include/cbor/streaming.h 14:01:19 -- Installing: /usr/local/include/cbor/ints.h 14:01:19 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:01:19 -- Installing: /usr/local/include/cbor/bytestrings.h 14:01:19 -- Installing: /usr/local/include/cbor/encoding.h 14:01:19 -- Installing: /usr/local/include/cbor/serialization.h 14:01:19 -- Installing: /usr/local/include/cbor/data.h 14:01:19 -- Installing: /usr/local/include/cbor/common.h 14:01:19 -- Installing: /usr/local/include/cbor/callbacks.h 14:01:19 -- Installing: /usr/local/include/cbor/strings.h 14:01:19 -- Installing: /usr/local/include/cbor/tags.h 14:01:19 -- Installing: /usr/local/include/cbor/internal 14:01:19 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:01:19 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:01:19 -- Installing: /usr/local/include/cbor/internal/stack.h 14:01:19 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:01:19 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:01:19 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:01:19 -- Installing: /usr/local/include/cbor/arrays.h 14:01:19 -- Installing: /usr/local/include/cbor/maps.h 14:01:19 -- Installing: /usr/local/include/cbor.h 14:01:19 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:01:22 Removing intermediate container 434b5542939b 14:01:22 ---> 44d56cef3223 14:01:22 Step 8/25 : RUN mkdir /tmp/sdk 14:01:22 ---> Running in 20e35605c07d 14:01:24 Removing intermediate container 20e35605c07d 14:01:24 ---> 8dd4365478df 14:01:24 Step 9/25 : COPY VERSION /tmp/sdk 14:01:24 ---> a2e3c0e73c89 14:01:24 Step 10/25 : COPY src /tmp/sdk/src 14:01:25 ---> 9378f47357f6 14:01:25 Step 11/25 : COPY include /tmp/sdk/include 14:01:26 ---> 7002cd00d1a1 14:01:26 Step 12/25 : COPY scripts /tmp/sdk/scripts 14:01:26 ---> 16d801685f83 14:01:26 Step 13/25 : COPY LICENSE /tmp/sdk 14:01:27 ---> 26a1db615a79 14:01:27 Step 14/25 : COPY Attribution.txt /tmp/sdk 14:01:28 ---> 914474fd18db 14:01:28 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:01:28 ---> Running in 8f955b72190c 14:01:29 + CPPCHECK=false 14:01:29 + DOCGEN=false 14:01:29 + TOMLVER=SDK-0.2 14:01:29 + CUTILVER=1.1.4 14:01:29 + '[' 0 -gt 0 ] 14:01:29 + readlink -f ./scripts/build.sh 14:01:29 + dirname /tmp/sdk/scripts/build.sh 14:01:29 + dirname /tmp/sdk/scripts 14:01:29 + ROOT=/tmp/sdk 14:01:29 + cd /tmp/sdk 14:01:29 + '[' '!' -d deps ] 14:01:29 + mkdir deps 14:01:29 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:01:29 + tar -C deps -z -x -f - 14:01:29 --2021-05-10 14:01:29-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:01:29 Resolving github.com... 140.82.112.3 14:01:29 Connecting to github.com|140.82.112.3|:443... connected. 14:01:29 HTTP request sent, awaiting response... 302 Found 14:01:29 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:01:29 --2021-05-10 14:01:29-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:01:29 Resolving codeload.github.com... 140.82.113.10 14:01:29 Connecting to codeload.github.com|140.82.113.10|:443... connected. 14:01:30 HTTP request sent, awaiting response... 200 OK 14:01:30 Length: unspecified [application/x-gzip] 14:01:30 Saving to: 'STDOUT' 14:01:30 14:01:30 0K .......... ......  729K=0.02s 14:01:30 14:01:30 2021-05-10 14:01:29 (729 KB/s) - written to stdout [16451] 14:01:30 14:01:30 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:01:30 + wget -O+ -tar https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:01:30 -C deps -z -x -f - 14:01:30 --2021-05-10 14:01:29-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:01:30 Resolving github.com... 140.82.112.3 14:01:30 Connecting to github.com|140.82.112.3|:443... connected. 14:01:30 HTTP request sent, awaiting response... 302 Found 14:01:30 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 14:01:30 --2021-05-10 14:01:30-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 14:01:30 Resolving codeload.github.com... 140.82.113.10 14:01:30 Connecting to codeload.github.com|140.82.113.10|:443... connected. 14:01:30 HTTP request sent, awaiting response... 200 OK 14:01:30 Length: unspecified [application/x-gzip] 14:01:30 Saving to: 'STDOUT' 14:01:30  14:01:30 0K .......... .......... .......... .......... .......... 670K 14:01:30 50K .......... .......... .......... .......... .......... 1023K 14:01:30 100K .......... .......... .......... .......... .......... 813K 14:01:30 150K .......... .......... .......   1.23M=0.2s 14:01:30 14:01:30 2021-05-10 14:01:30 (858 KB/s) - written to stdout [181796] 14:01:30 14:01:30 + mkdir -p src/c/iot 14:01:30 + 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 14:01:30 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 14:01:30 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 14:01:30 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 14:01:30 + mkdir -p include/iot 14:01:30 + 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 14:01:30 + mkdir -p include/iot/os 14:01:30 + 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 14:01:30 + mkdir -p /tmp/sdk/build/release 14:01:30 + cd /tmp/sdk/build/release 14:01:30 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:01:30 -- The C compiler identification is GNU 8.3.0 14:01:30 -- Check for working C compiler: /usr/bin/cc 14:01:31 -- Check for working C compiler: /usr/bin/cc -- works 14:01:31 -- Detecting C compiler ABI info 14:01:31 -- Detecting C compiler ABI info - done 14:01:31 -- Detecting C compile features 14:01:32 -- Detecting C compile features - done 14:01:32 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:01:32 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:01:32 -- Found LIBYAML: /usr/lib/libyaml.so 14:01:32 -- Found LIBUUID: /usr/lib/libuuid.so 14:01:32 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:01:32 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:01:32 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:01:32 -- C SDK 0.0.0 for Linux 14:01:32 -- Performing Test CSDK_HAVE_ATOMIC 14:01:32 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:01:32 -- Found Curses: /usr/lib/libcurses.so 14:01:32 -- Configuring done 14:01:32 -- Generating done 14:01:32 -- Build files have been written to: /tmp/sdk/build/release 14:01:32 + + teemake release.log 14:01:32 all package 14:01:32 Scanning dependencies of target csdk 14:01:33 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:01:33 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:01:34 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:01:36 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:01:36 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:01:36 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:01:37 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:01:37 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:01:37 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:01:39 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:01:40 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:01:40 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:01:41 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:01:42 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:01:42 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:01:42 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:01:42 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:01:45 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:01:45 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:01:45 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:01:46 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:01:46 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:01:47 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:01:50 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:01:50 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:01:50 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:01:50 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:01:51 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:01:51 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:01:52 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:01:52 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:01:53 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:01:53 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:01:55 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:01:55 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:01:56 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:01:56 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:02:00 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:02:00 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:02:01 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:02:01 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:02:02 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:02:03 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:02:05 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:02:09 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:02:09 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:02:09 [ 74%] Linking C shared library libcsdk.so 14:02:09 [ 74%] Built target csdk 14:02:09 Scanning dependencies of target template 14:02:09 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:02:10 [ 77%] Linking C executable template 14:02:10 [ 77%] Built target template 14:02:10 Scanning dependencies of target device-counter 14:02:10 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:02:11 [ 80%] Linking C executable device-counter 14:02:11 [ 80%] Built target device-counter 14:02:11 Scanning dependencies of target device-random 14:02:11 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:02:11 [ 84%] Linking C executable device-random 14:02:12 [ 84%] Built target device-random 14:02:12 Scanning dependencies of target device-gyro 14:02:12 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:02:12 [ 87%] Linking C executable device-gyro 14:02:12 [ 87%] Built target device-gyro 14:02:12 Scanning dependencies of target device-bitfields 14:02:12 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:02:13 [ 90%] Linking C executable device-bitfields 14:02:13 [ 90%] Built target device-bitfields 14:02:13 Scanning dependencies of target template-discovery 14:02:13 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:02:13 [ 93%] Linking C executable template-discovery 14:02:14 [ 93%] Built target template-discovery 14:02:14 Scanning dependencies of target device-file 14:02:14 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:02:14 [ 96%] Linking C executable device-file 14:02:15 [ 96%] Built target device-file 14:02:15 Scanning dependencies of target device-terminal 14:02:15 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:02:15 [100%] Linking C executable device-terminal 14:02:15 [100%] Built target device-terminal 14:02:15 Run CPack packaging tool... 14:02:15 CPack: Create package using TGZ 14:02:15 CPack: Install projects 14:02:15 CPack: - Run preinstall target for: Csdk 14:02:16 CPack: - Install project: Csdk 14:02:16 CPack: Create package 14:02:16 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:02:16 + '[' false '=' true ] 14:02:16 + '[' false '=' true ] 14:02:16 + mkdir -p /tmp/sdk/build/debug 14:02:16 + cd /tmp/sdk/build/debug 14:02:16 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:02:16 -- The C compiler identification is GNU 8.3.0 14:02:17 -- Check for working C compiler: /usr/bin/cc 14:02:17 -- Check for working C compiler: /usr/bin/cc -- works 14:02:17 -- Detecting C compiler ABI info 14:02:17 -- Detecting C compiler ABI info - done 14:02:17 -- Detecting C compile features 14:02:18 -- Detecting C compile features - done 14:02:18 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:02:18 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:02:18 -- Found LIBYAML: /usr/lib/libyaml.so 14:02:18 -- Found LIBUUID: /usr/lib/libuuid.so 14:02:18 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:02:18 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:02:18 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:02:18 -- C SDK 0.0.0 for Linux 14:02:18 -- Performing Test CSDK_HAVE_ATOMIC 14:02:18 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:02:18 -- Found Curses: /usr/lib/libcurses.so 14:02:18 -- Configuring done 14:02:18 -- Generating done 14:02:18 -- Build files have been written to: /tmp/sdk/build/debug 14:02:18 + + teemake debug.log 14:02:18 14:02:18 Scanning dependencies of target csdk 14:02:19 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:02:19 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:02:19 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:02:20 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:02:20 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:02:20 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:02:21 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:02:21 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:02:21 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:02:21 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:02:22 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:02:22 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:02:23 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:02:23 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:02:23 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:02:23 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:02:23 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:02:24 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:02:24 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:02:25 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:02:25 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:02:25 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:02:25 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:02:26 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:02:26 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:02:26 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:02:27 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:02:27 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:02:27 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:02:27 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:02:27 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:02:28 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:02:28 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:02:28 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:02:29 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:02:29 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:02:29 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:02:30 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:02:30 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:02:31 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:02:31 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:02:31 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:02:32 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:02:33 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:02:33 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:02:34 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:02:34 [ 74%] Linking C shared library libcsdk.so 14:02:34 [ 74%] Built target csdk 14:02:34 Scanning dependencies of target template 14:02:34 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:02:34 [ 77%] Linking C executable template 14:02:35 [ 77%] Built target template 14:02:35 Scanning dependencies of target device-counter 14:02:35 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:02:35 [ 80%] Linking C executable device-counter 14:02:35 [ 80%] Built target device-counter 14:02:35 Scanning dependencies of target device-random 14:02:35 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:02:36 [ 84%] Linking C executable device-random 14:02:36 [ 84%] Built target device-random 14:02:36 Scanning dependencies of target device-gyro 14:02:36 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:02:36 [ 87%] Linking C executable device-gyro 14:02:36 [ 87%] Built target device-gyro 14:02:36 Scanning dependencies of target device-bitfields 14:02:36 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:02:36 [ 90%] Linking C executable device-bitfields 14:02:37 [ 90%] Built target device-bitfields 14:02:37 Scanning dependencies of target template-discovery 14:02:37 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:02:37 [ 93%] Linking C executable template-discovery 14:02:37 [ 93%] Built target template-discovery 14:02:37 Scanning dependencies of target device-file 14:02:37 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:02:37 [ 96%] Linking C executable device-file 14:02:38 [ 96%] Built target device-file 14:02:38 Scanning dependencies of target device-terminal 14:02:38 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:02:38 [100%] Linking C executable device-terminal 14:02:38 [100%] Built target device-terminal 14:02:38 make: Entering directory '/tmp/sdk/build/release' 14:02:38 make[1]: Entering directory '/tmp/sdk/build/release' 14:02:39 make[2]: Entering directory '/tmp/sdk/build/release' 14:02:39 make[2]: Leaving directory '/tmp/sdk/build/release' 14:02:39 [ 74%] Built target csdk 14:02:39 make[2]: Entering directory '/tmp/sdk/build/release' 14:02:39 make[2]: Leaving directory '/tmp/sdk/build/release' 14:02:39 [ 77%] Built target template 14:02:39 make[2]: Entering directory '/tmp/sdk/build/release' 14:02:39 make[2]: Leaving directory '/tmp/sdk/build/release' 14:02:39 [ 80%] Built target device-counter 14:02:39 make[2]: Entering directory '/tmp/sdk/build/release' 14:02:39 make[2]: Leaving directory '/tmp/sdk/build/release' 14:02:39 [ 84%] Built target device-random 14:02:39 make[2]: Entering directory '/tmp/sdk/build/release' 14:02:39 make[2]: Leaving directory '/tmp/sdk/build/release' 14:02:39 [ 87%] Built target device-gyro 14:02:39 make[2]: Entering directory '/tmp/sdk/build/release' 14:02:39 make[2]: Leaving directory '/tmp/sdk/build/release' 14:02:39 [ 90%] Built target device-bitfields 14:02:39 make[2]: Entering directory '/tmp/sdk/build/release' 14:02:39 make[2]: Leaving directory '/tmp/sdk/build/release' 14:02:39 [ 93%] Built target template-discovery 14:02:39 make[2]: Entering directory '/tmp/sdk/build/release' 14:02:39 make[2]: Leaving directory '/tmp/sdk/build/release' 14:02:39 [ 96%] Built target device-file 14:02:39 make[2]: Entering directory '/tmp/sdk/build/release' 14:02:39 make[2]: Leaving directory '/tmp/sdk/build/release' 14:02:39 [100%] Built target device-terminal 14:02:39 make[1]: Leaving directory '/tmp/sdk/build/release' 14:02:39 Install the project... 14:02:39 -- Install configuration: "Release" 14:02:39 -- Installing: /usr/local/lib/libcsdk.so 14:02:39 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:02:39 -- Up-to-date: /usr/local/include 14:02:39 -- Installing: /usr/local/include/edgex 14:02:39 -- Installing: /usr/local/include/edgex/rest-server.h 14:02:39 -- Installing: /usr/local/include/edgex/edgex-base.h 14:02:39 -- Installing: /usr/local/include/edgex/edgex.h 14:02:39 -- Installing: /usr/local/include/edgex/devices.h 14:02:39 -- Installing: /usr/local/include/edgex/profiles.h 14:02:39 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:02:39 -- Installing: /usr/local/include/devsdk 14:02:39 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:02:39 -- Installing: /usr/local/include/devsdk/devsdk.h 14:02:39 -- Installing: /usr/local/include/iot 14:02:39 -- Installing: /usr/local/include/iot/json.h 14:02:39 -- Installing: /usr/local/include/iot/container.h 14:02:39 -- Installing: /usr/local/include/iot/component.h 14:02:39 -- Installing: /usr/local/include/iot/typecode.h 14:02:39 -- Installing: /usr/local/include/iot/iot.h 14:02:39 -- Installing: /usr/local/include/iot/time.h 14:02:39 -- Installing: /usr/local/include/iot/hash.h 14:02:39 -- Installing: /usr/local/include/iot/logger.h 14:02:39 -- Installing: /usr/local/include/iot/os 14:02:39 -- Installing: /usr/local/include/iot/os/zephyr.h 14:02:39 -- Installing: /usr/local/include/iot/os/linux.h 14:02:39 -- Installing: /usr/local/include/iot/os/macos.h 14:02:39 -- Installing: /usr/local/include/iot/scheduler.h 14:02:39 -- Installing: /usr/local/include/iot/data.h 14:02:39 -- Installing: /usr/local/include/iot/thread.h 14:02:39 -- Installing: /usr/local/include/iot/os.h 14:02:39 -- Installing: /usr/local/include/iot/base64.h 14:02:39 -- Installing: /usr/local/include/iot/defs.h 14:02:39 -- Installing: /usr/local/include/iot/threadpool.h 14:02:39 -- Installing: /usr/local/include/iot/config.h 14:02:39 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:02:39 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:02:39 make: Leaving directory '/tmp/sdk/build/release' 14:02:41 Removing intermediate container 8f955b72190c 14:02:41 ---> c287f362ced2 14:02:41 Step 16/25 : FROM ${BASE} 14:02:41 ---> b23d30803547 14:02:41 Step 17/25 : LABEL maintainer="IOTech " 14:02:41 ---> Running in cc4463d9f171 14:02:41 Removing intermediate container cc4463d9f171 14:02:41 ---> a14c9f6d3d4c 14:02:41 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 14:02:42 ---> Running in 5123b8554092 14:02:43 Connecting to iotech.jfrog.io (54.76.134.205:443) 14:02:43 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:02:43 14:02:44 Removing intermediate container 5123b8554092 14:02:44 ---> cd68ba1ba822 14:02:44 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:02:44 ---> Running in 840c8eb88171 14:02:47 Removing intermediate container 840c8eb88171 14:02:47 ---> 0fdaa1e773ba 14:02:47 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 14:02:47 ---> Running in 4398ec1b5f65 14:02:48 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:02:51 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:02:53 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 14:02:54 (1/6) Installing curl (7.64.0-r5) 14:02:57 (2/6) Installing hiredis (0.14.0-r0) 14:02:57 (3/6) Installing hiredis-dev (0.14.0-r0) 14:02:57 (4/6) Installing libuuid (2.33-r0) 14:02:58 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 14:02:59 (6/6) Installing wget (1.20.3-r0) 14:03:02 Executing busybox-1.29.3-r10.trigger 14:03:02 OK: 283 MiB in 81 packages 14:03:03 Removing intermediate container 4398ec1b5f65 14:03:03 ---> 287a337fb60b 14:03:03 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:03:03 ---> 98da124602f9 14:03:03 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:03:04 ---> c5b4ed910a06 14:03:04 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 14:03:05 ---> 626ce7bd50d8 14:03:05 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:03:06 ---> 7daa8a94bfac 14:03:06 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:03:06 ---> 5df0f9210098 14:03:06 Successfully built 5df0f9210098 14:03:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:03:07 + docker inspect -f . ci-base-image-arm64 14:03:07 . [Pipeline] withDockerContainer 14:03:07 prd-ubuntu18.04-docker-arm64-4c-16g-4086 does not seem to be running inside a container 14:03:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:03:09 $ docker top 6f820401363b571a61be0ac98d592f274b44662d60daf430f7423850a7910b85 -eo pid,comm [Pipeline] { [Pipeline] sh 14:03:10 + make test 14:03:10 echo "make test" 14:03:10 make test [Pipeline] } 14:03:10 $ docker stop --time=1 6f820401363b571a61be0ac98d592f274b44662d60daf430f7423850a7910b85 14:03:12 $ docker rm -f 6f820401363b571a61be0ac98d592f274b44662d60daf430f7423850a7910b85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:03:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:03:13 + ls -al . 14:03:13 total 192 14:03:13 drwxrwxr-x 8 jenkins jenkins 4096 May 10 13:59 . 14:03:13 drwxrwxr-x 4 jenkins jenkins 4096 May 10 13:59 .. 14:03:13 drwxrwxr-x 8 jenkins jenkins 4096 May 10 13:59 .git 14:03:13 drwxrwxr-x 2 jenkins jenkins 4096 May 10 13:59 .github 14:03:13 -rw-rw-r-- 1 jenkins jenkins 176 May 10 13:59 .gitignore 14:03:13 -rw-rw-r-- 1 jenkins jenkins 3104 May 10 13:59 Attribution.txt 14:03:13 -rw-rw-r-- 1 jenkins jenkins 7200 May 10 13:59 CHANGES 14:03:13 -rw-rw-r-- 1 jenkins jenkins 108574 May 10 13:59 Doxyfile 14:03:13 -rw-rw-r-- 1 jenkins jenkins 784 May 10 13:59 Jenkinsfile 14:03:13 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 13:59 LICENSE 14:03:13 -rw-rw-r-- 1 jenkins jenkins 444 May 10 13:59 Makefile 14:03:13 -rw-rw-r-- 1 jenkins jenkins 4090 May 10 13:59 README.md 14:03:13 -rw-rw-r-- 1 jenkins jenkins 6654 May 10 13:59 README.v2.md 14:03:13 -rw-rw-r-- 1 jenkins jenkins 5 May 10 13:55 VERSION 14:03:13 drwxrwxr-x 2 jenkins jenkins 4096 May 10 13:59 docs 14:03:13 drwxrwxr-x 4 jenkins jenkins 4096 May 10 13:59 include 14:03:13 drwxrwxr-x 2 jenkins jenkins 4096 May 10 13:59 scripts 14:03:13 drwxrwxr-x 4 jenkins jenkins 4096 May 10 13:59 src [Pipeline] isUnix [Pipeline] sh 14:03:13 + 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=63d298beb62aade60f789e0b5cf9463f6e62bdf2 --label arch=arm64 --label version=0.0.0 . 14:03:14 Sending build context to Docker daemon 2.641MB 14:03:14 Step 1/17 : ARG BASE=alpine:3.12 14:03:14 Step 2/17 : FROM ${BASE} 14:03:14 ---> 5df0f9210098 14:03:14 Step 3/17 : LABEL maintainer="IOTech " 14:03:14 ---> Running in 0588e3fa531f 14:03:14 Removing intermediate container 0588e3fa531f 14:03:14 ---> bdc5da9b47ff 14:03:14 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:03:15 ---> Running in 2538b85a81f0 14:03:15 --2021-05-10 14:03:15-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 14:03:15 Resolving iotech.jfrog.io... 52.209.226.76, 54.76.134.205, 34.255.152.89, ... 14:03:16 Connecting to iotech.jfrog.io|52.209.226.76|:443... connected. 14:03:16 HTTP request sent, awaiting response... 200 OK 14:03:16 Length: 451 [application/octet-stream] 14:03:16 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:03:16 14:03:16 0K      100% 17.4M=0s 14:03:16 14:03:16 2021-05-10 14:03:16 (17.4 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 14:03:16 14:03:17 Removing intermediate container 2538b85a81f0 14:03:17 ---> 8535cdbef82e 14:03:17 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:03:17 ---> Running in 13ec0677b05b 14:03:19 Removing intermediate container 13ec0677b05b 14:03:19 ---> 9f00521c0473 14:03:19 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 14:03:19 ---> Running in 4c3eadf0889c 14:03:20 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:03:30 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:03:31 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 14:03:32 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 14:03:32 (2/6) Installing libblkid (2.33-r0) 14:03:33 (3/6) Installing libfdisk (2.33-r0) 14:03:33 (4/6) Installing libmount (2.33-r0) 14:03:33 (5/6) Installing libsmartcols (2.33-r0) 14:03:34 (6/6) Installing util-linux-dev (2.33-r0) 14:03:35 Executing busybox-1.29.3-r10.trigger 14:03:35 OK: 287 MiB in 87 packages 14:03:36 Removing intermediate container 4c3eadf0889c 14:03:36 ---> 2c1d41309f3b 14:03:36 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:03:37 ---> b1371fd959cf 14:03:37 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:03:38 ---> 8679c37c5709 14:03:38 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:03:39 ---> 6c2a62eac8ed 14:03:39 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:03:39 ---> 2b2e25f0fafc 14:03:39 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:03:40 ---> d3db65416392 14:03:40 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:03:40 ---> 40425ae67435 14:03:40 Step 13/17 : WORKDIR /edgex-c-sdk 14:03:41 ---> Running in db796bb09809 14:03:41 Removing intermediate container db796bb09809 14:03:41 ---> 47a3e20d9649 14:03:41 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:03:41 ---> Running in 67679f067498 14:03:41 Removing intermediate container 67679f067498 14:03:41 ---> 8689cd8e0d56 14:03:41 Step 15/17 : LABEL arch=arm64 14:03:42 ---> Running in 6cf54eec3e37 14:03:42 Removing intermediate container 6cf54eec3e37 14:03:42 ---> 7b32c20e973d 14:03:42 Step 16/17 : LABEL git_sha=63d298beb62aade60f789e0b5cf9463f6e62bdf2 14:03:42 ---> Running in d1f2b8fd64b4 14:03:43 Removing intermediate container d1f2b8fd64b4 14:03:43 ---> fbf202ff753a 14:03:43 Step 17/17 : LABEL version=0.0.0 14:03:43 ---> Running in d51cf438d957 14:03:43 Removing intermediate container d51cf438d957 14:03:43 ---> 4f85bf4f346c 14:03:43 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:03:43 Successfully built 4f85bf4f346c 14:03:43 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 14:03:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:03:45 ---> package-listing.sh 14:03:45 ++ facter osfamily 14:03:45 ++ tr '[:upper:]' '[:lower:]' 14:03:45 + OS_FAMILY=redhat 14:03:45 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-343 14:03:45 + START_PACKAGES=/tmp/packages_start.txt 14:03:45 + END_PACKAGES=/tmp/packages_end.txt 14:03:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:03:45 + PACKAGES=/tmp/packages_start.txt 14:03:45 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-343 ']' 14:03:45 + PACKAGES=/tmp/packages_end.txt 14:03:45 + case "${OS_FAMILY}" in 14:03:45 + rpm -qa 14:03:45 + sort 14:03:50 + '[' -f /tmp/packages_start.txt ']' 14:03:50 + '[' -f /tmp/packages_end.txt ']' 14:03:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:03:50 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-343 ']' 14:03:50 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-343/archives/ 14:03:50 + 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 14:03:50 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 14:03:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:03:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:03:52 14:03:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:03:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:03:52 alpine: Pulling from edgex-lftools-log-publisher 14:03:52 df20fa9351a1: Pulling fs layer 14:03:52 36b3adc4ff6f: Pulling fs layer 14:03:52 8ad3a11d3b57: Pulling fs layer 14:03:52 46f8f816bc3b: Pulling fs layer 14:03:52 93b61091891f: Pulling fs layer 14:03:52 93b9cdb0e59b: Pulling fs layer 14:03:52 5e14af77c1be: Pulling fs layer 14:03:52 01666e4c0597: Pulling fs layer 14:03:52 aa168da1d23b: Pulling fs layer 14:03:52 46f8f816bc3b: Waiting 14:03:52 93b61091891f: Waiting 14:03:52 93b9cdb0e59b: Waiting 14:03:52 5e14af77c1be: Waiting 14:03:52 01666e4c0597: Waiting 14:03:52 aa168da1d23b: Waiting 14:03:52 36b3adc4ff6f: Verifying Checksum 14:03:52 36b3adc4ff6f: Download complete 14:03:52 46f8f816bc3b: Verifying Checksum 14:03:52 46f8f816bc3b: Download complete 14:03:52 df20fa9351a1: Verifying Checksum 14:03:52 df20fa9351a1: Download complete 14:03:52 93b9cdb0e59b: Verifying Checksum 14:03:52 93b9cdb0e59b: Download complete 14:03:52 5e14af77c1be: Verifying Checksum 14:03:52 5e14af77c1be: Download complete 14:03:52 93b61091891f: Verifying Checksum 14:03:52 93b61091891f: Download complete 14:03:52 01666e4c0597: Verifying Checksum 14:03:52 01666e4c0597: Download complete 14:03:52 8ad3a11d3b57: Verifying Checksum 14:03:52 8ad3a11d3b57: Download complete 14:03:53 df20fa9351a1: Pull complete 14:03:53 36b3adc4ff6f: Pull complete 14:03:54 8ad3a11d3b57: Pull complete 14:03:55 46f8f816bc3b: Pull complete 14:03:55 93b61091891f: Pull complete 14:03:55 93b9cdb0e59b: Pull complete 14:03:55 5e14af77c1be: Pull complete 14:03:55 aa168da1d23b: Verifying Checksum 14:03:55 aa168da1d23b: Download complete 14:03:55 01666e4c0597: Pull complete 14:04:06 aa168da1d23b: Pull complete 14:04:06 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 14:04:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:04:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:04:06 prd-centos7-docker-4c-2g-4081 does not seem to be running inside a container 14:04:06 $ 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 14:04:09 $ docker top d624180a84c88b210eadfb968f83d7637b90350a5fee910a060437e8e4af8f3f -eo pid,comm [Pipeline] { [Pipeline] sh 14:04:10 + touch /tmp/pre-build-complete [Pipeline] sh 14:04:10 + mkdir -p /var/log/sa [Pipeline] sh 14:04:10 + ls /var/log/sa-host 14:04:10 + sadf -c /var/log/sa-host/sa10 14:04:10 file_magic: OK 14:04:10 HZ: Using current value: 100 14:04:10 file_header: OK 14:04:10 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 14:04:10 Statistics: 14:04:10 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:04:10 File successfully converted to sysstat format version 12.2.1 14:04:10 + sadf -c /var/log/sa-host/sa23 14:04:10 file_magic: OK 14:04:10 HZ: Using current value: 100 14:04:10 file_header: OK 14:04:10 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 14:04:10 Statistics: 14:04:10 Hnuu...uuuununununu... 14:04:10 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:04:11 provisioning config files... 14:04:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp/config2566691985961451668tmp [Pipeline] { [Pipeline] echo 14:04:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:04:11 ---> create-netrc.sh [Pipeline] } 14:04:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 14:04:11 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 14:04:12 ---> python-tools-install.sh [Pipeline] echo 14:04:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:04:12 ---> sudo-logs.sh 14:04:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:04:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:04:12 ---> job-cost.sh 14:04:12 lf-activate-venv: SKIPPING 14:04:12 INFO: No Stack... 14:04:14 INFO: Retrieving Pricing Info for: v1-standard-2 14:04:14 INFO: Archiving Costs [Pipeline] echo 14:04:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:04:14 ---> logs-deploy.sh 14:04:14 lf-activate-venv: SKIPPING 14:04:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-343/4 14:04:14 INFO: archiving workspace using pattern(s): 14:04:16 Archives upload complete. 14:04:17 INFO: archiving logs to Nexus 14:04:18 ---> uname -a: 14:04:18 Linux prd-centos7-docker-4c-2g-4081.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 14:04:18 14:04:18 14:04:18 ---> lscpu: 14:04:18 Architecture: x86_64 14:04:18 CPU op-mode(s): 32-bit, 64-bit 14:04:18 Byte Order: Little Endian 14:04:18 Address sizes: 40 bits physical, 48 bits virtual 14:04:18 CPU(s): 4 14:04:18 On-line CPU(s) list: 0-3 14:04:18 Thread(s) per core: 1 14:04:18 Core(s) per socket: 1 14:04:18 Socket(s): 4 14:04:18 NUMA node(s): 1 14:04:18 Vendor ID: GenuineIntel 14:04:18 CPU family: 6 14:04:18 Model: 44 14:04:18 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 14:04:18 Stepping: 1 14:04:18 CPU MHz: 2933.438 14:04:18 BogoMIPS: 5866.87 14:04:18 Virtualization: VT-x 14:04:18 Hypervisor vendor: KVM 14:04:18 Virtualization type: full 14:04:18 L1d cache: 128 KiB 14:04:18 L1i cache: 128 KiB 14:04:18 L2 cache: 16 MiB 14:04:18 L3 cache: 64 MiB 14:04:18 NUMA node0 CPU(s): 0-3 14:04:18 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 14:04:18 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 14:04:18 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 14:04:18 Vulnerability Meltdown: Mitigation; PTI 14:04:18 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:04:18 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 14:04:18 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 14:04:18 Vulnerability Srbds: Not affected 14:04:18 Vulnerability Tsx async abort: Not affected 14:04:18 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 14:04:18 14:04:18 14:04:18 ---> nproc: 14:04:18 4 14:04:18 14:04:18 14:04:18 ---> df -h: 14:04:18 Filesystem Size Used Available Use% Mounted on 14:04:18 overlay 50.0G 7.3G 42.7G 15% / 14:04:18 tmpfs 64.0M 0 64.0M 0% /dev 14:04:18 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 14:04:18 shm 64.0M 0 64.0M 0% /dev/shm 14:04:18 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 14:04:18 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 14:04:18 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 14:04:18 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 14:04:18 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 14:04:18 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 14:04:18 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-343 14:04:18 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-343@tmp 14:04:18 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 14:04:18 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 14:04:18 14:04:18 14:04:18 ---> free -m: 14:04:18 total used free shared buff/cache available 14:04:18 Mem: 1837 720 100 0 1016 1012 14:04:18 Swap: 1023 1 1022 14:04:18 14:04:18 14:04:18 ---> ip addr: 14:04:18 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 14:04:18 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:04:18 inet 127.0.0.1/8 scope host lo 14:04:18 valid_lft forever preferred_lft forever 14:04:18 inet6 ::1/128 scope host 14:04:18 valid_lft forever preferred_lft forever 14:04:18 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 14:04:18 link/ether fa:16:3e:fe:4e:5c brd ff:ff:ff:ff:ff:ff 14:04:18 inet 10.30.123.137/23 brd 10.30.123.255 scope global dynamic eth0 14:04:18 valid_lft 85817sec preferred_lft 85817sec 14:04:18 inet6 fe80::f816:3eff:fefe:4e5c/64 scope link 14:04:18 valid_lft forever preferred_lft forever 14:04:18 3: docker0: mtu 1500 qdisc noqueue state DOWN 14:04:18 link/ether 02:42:85:2a:19:64 brd ff:ff:ff:ff:ff:ff 14:04:18 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 14:04:18 valid_lft forever preferred_lft forever 14:04:18 inet6 fe80::42:85ff:fe2a:1964/64 scope link 14:04:18 valid_lft forever preferred_lft forever 14:04:18 14:04:18 14:04:18 ---> sar -b -r -n DEV: 14:04:18 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/10/21 _x86_64_ (4 CPU) 14:04:18 14:04:18 13:54:22 LINUX RESTART (4 CPU) 14:04:18 14:04:18 13:55:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 14:04:18 13:56:01 51.66 15.06 36.60 0.00 4749.24 3142.88 0.00 14:04:18 13:57:01 1.83 0.00 1.83 0.00 0.00 35.66 0.00 14:04:18 13:58:01 0.32 0.00 0.32 0.00 0.00 3.53 0.00 14:04:18 13:59:01 0.45 0.00 0.45 0.00 0.00 5.71 0.00 14:04:18 14:00:01 0.23 0.00 0.23 0.00 0.00 3.51 0.00 14:04:18 14:01:01 0.33 0.02 0.32 0.00 0.13 4.46 0.00 14:04:18 14:02:01 0.40 0.08 0.32 0.00 1.60 5.14 0.00 14:04:18 14:03:01 0.27 0.00 0.27 0.00 0.00 3.38 0.00 14:04:18 14:04:01 89.82 54.60 35.22 0.00 4179.61 14348.00 0.00 14:04:18 Average: 16.09 7.74 8.35 0.00 986.04 1949.78 0.00 14:04:18 14:04:18 13:55:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:04:18 13:56:01 179080 0 607572 32.29 2620 1092272 1116216 38.09 409460 1094412 124 14:04:18 13:57:01 185048 0 601600 31.97 2620 1092276 1079236 36.83 409456 1089300 8 14:04:18 13:58:01 183180 0 603456 32.07 2620 1092288 1079272 36.83 408408 1092400 8 14:04:18 13:59:01 182640 0 603996 32.10 2620 1092288 1079284 36.83 424000 1076944 8 14:04:18 14:00:01 182136 0 604492 32.13 2620 1092296 1079212 36.83 420512 1081468 20 14:04:18 14:01:01 180928 0 605696 32.19 2620 1092300 1081888 36.92 432416 1070236 8 14:04:18 14:02:01 182544 0 603956 32.10 2620 1092424 1079528 36.84 431224 1070300 8 14:04:18 14:03:01 182636 0 603856 32.09 2620 1092432 1079528 36.84 431352 1070304 8 14:04:18 14:04:01 83580 0 727252 38.65 2620 1068092 1512684 51.63 601508 960036 53388 14:04:18 Average: 171308 0 617986 32.84 2620 1089630 1131872 38.63 440926 1067267 5953 14:04:18 14:04:18 13:55:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:04:18 13:56:01 eth0 302.00 207.85 673.05 57.39 0.00 0.00 0.00 0.00 14:04:18 13:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 13:56:01 docker0 13.40 10.41 1.49 24.18 0.00 0.00 0.00 0.00 14:04:18 13:57:01 eth0 1.33 0.50 0.33 0.21 0.00 0.00 0.00 0.00 14:04:18 13:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 13:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 13:58:01 eth0 1.48 0.47 0.37 0.21 0.00 0.00 0.00 0.00 14:04:18 13:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 13:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 13:59:01 eth0 2.08 0.25 0.39 0.19 0.00 0.00 0.00 0.00 14:04:18 13:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 13:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 14:00:01 eth0 1.32 0.48 0.46 0.27 0.00 0.00 0.00 0.00 14:04:18 14:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 14:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 14:01:01 eth0 0.58 0.43 0.31 0.18 0.00 0.00 0.00 0.00 14:04:18 14:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 14:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 14:02:01 eth0 0.12 0.08 0.01 0.04 0.00 0.00 0.00 0.00 14:04:18 14:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 14:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 14:03:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 14:04:18 14:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 14:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 14:04:01 eth0 193.40 154.60 2164.88 46.97 0.00 0.00 0.00 0.00 14:04:18 14:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 14:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 Average: eth0 55.40 40.25 315.15 11.64 0.00 0.00 0.00 0.00 14:04:18 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:18 Average: docker0 1.47 1.14 0.16 2.65 0.00 0.00 0.00 0.00 14:04:18 14:04:18 14:04:18 ---> sar -P ALL: 14:04:18 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/10/21 _x86_64_ (4 CPU) 14:04:18 14:04:18 13:54:22 LINUX RESTART (4 CPU) 14:04:18 14:04:18 13:55:02 CPU %user %nice %system %iowait %steal %idle 14:04:18 13:56:01 all 6.36 0.00 3.04 1.32 0.51 88.76 14:04:18 13:56:01 0 5.06 0.00 3.51 0.43 0.53 90.47 14:04:18 13:56:01 1 6.84 0.00 2.23 0.55 0.50 89.89 14:04:18 13:56:01 2 7.02 0.00 2.87 0.12 0.48 89.51 14:04:18 13:56:01 3 6.55 0.00 3.57 4.18 0.53 85.17 14:04:18 13:57:01 all 0.16 0.00 0.07 0.00 0.04 99.72 14:04:18 13:57:01 0 0.05 0.00 0.03 0.00 0.05 99.87 14:04:18 13:57:01 1 0.05 0.00 0.07 0.00 0.03 99.85 14:04:18 13:57:01 2 0.08 0.00 0.10 0.00 0.02 99.80 14:04:18 13:57:01 3 0.45 0.00 0.10 0.00 0.07 99.38 14:04:18 13:58:01 all 0.13 0.00 0.13 0.00 0.15 99.60 14:04:18 13:58:01 0 0.03 0.00 0.18 0.00 0.13 99.65 14:04:18 13:58:01 1 0.18 0.00 0.10 0.00 0.10 99.62 14:04:18 13:58:01 2 0.05 0.00 0.10 0.00 0.22 99.63 14:04:18 13:58:01 3 0.25 0.00 0.13 0.00 0.13 99.48 14:04:18 13:59:01 all 0.16 0.00 0.06 0.00 0.04 99.74 14:04:18 13:59:01 0 0.07 0.00 0.05 0.00 0.02 99.87 14:04:18 13:59:01 1 0.48 0.00 0.03 0.00 0.05 99.43 14:04:18 13:59:01 2 0.07 0.00 0.07 0.00 0.05 99.82 14:04:18 13:59:01 3 0.03 0.00 0.08 0.00 0.03 99.85 14:04:18 14:00:01 all 0.17 0.00 0.08 0.00 0.10 99.65 14:04:18 14:00:01 0 0.05 0.00 0.10 0.00 0.12 99.73 14:04:18 14:00:01 1 0.35 0.00 0.07 0.00 0.08 99.50 14:04:18 14:00:01 2 0.23 0.00 0.08 0.00 0.12 99.57 14:04:18 14:00:01 3 0.05 0.00 0.07 0.00 0.10 99.78 14:04:18 14:01:01 all 0.15 0.00 0.09 0.00 0.06 99.70 14:04:18 14:01:01 0 0.00 0.00 0.03 0.00 0.03 99.93 14:04:18 14:01:01 1 0.07 0.00 0.07 0.00 0.05 99.82 14:04:18 14:01:01 2 0.50 0.00 0.05 0.00 0.10 99.35 14:04:18 14:01:01 3 0.03 0.00 0.22 0.00 0.07 99.68 14:04:18 14:02:01 all 0.17 0.00 0.05 0.00 0.02 99.77 14:04:18 14:02:01 0 0.07 0.00 0.08 0.00 0.03 99.82 14:04:18 14:02:01 1 0.52 0.00 0.05 0.00 0.00 99.43 14:04:18 14:02:01 2 0.05 0.00 0.03 0.00 0.03 99.88 14:04:18 14:02:01 3 0.03 0.00 0.03 0.00 0.00 99.93 14:04:18 14:03:01 all 0.14 0.00 0.03 0.00 0.02 99.80 14:04:18 14:03:01 0 0.05 0.00 0.05 0.00 0.03 99.87 14:04:18 14:03:01 1 0.48 0.00 0.00 0.00 0.02 99.50 14:04:18 14:03:01 2 0.02 0.00 0.03 0.00 0.03 99.92 14:04:18 14:03:01 3 0.02 0.00 0.03 0.00 0.02 99.93 14:04:18 14:04:01 all 5.44 0.00 3.50 1.37 0.95 88.74 14:04:18 14:04:01 0 5.42 0.00 3.39 0.03 1.00 90.16 14:04:18 14:04:01 1 4.88 0.00 3.02 1.44 0.88 89.79 14:04:18 14:04:01 2 6.54 0.00 3.72 3.18 0.90 85.66 14:04:18 14:04:01 3 4.92 0.00 3.88 0.84 1.01 89.35 14:04:18 Average: all 1.41 0.00 0.77 0.29 0.21 97.32 14:04:18 Average: 0 1.18 0.00 0.81 0.05 0.21 97.75 14:04:18 Average: 1 1.52 0.00 0.62 0.22 0.19 97.46 14:04:18 Average: 2 1.59 0.00 0.77 0.36 0.21 97.06 14:04:18 Average: 3 1.35 0.00 0.89 0.54 0.22 97.00 14:04:18 14:04:18 14:04:18