Pull request #344 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 07bea29bb688e56028cb6db77392d3997be21eae+3284203db036fb577a63a0fff870deb676f4920e (b7686b07aca8b39e46d086896599eca91104f0bf) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4730 in /w/workspace/edgexfoundry_device-sdk-c_PR-344 [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-344 # 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/344/head:refs/remotes/origin/PR-344 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3284203db036fb577a63a0fff870deb676f4920e into PR head commit 07bea29bb688e56028cb6db77392d3997be21eae Merge succeeded, producing 07bea29bb688e56028cb6db77392d3997be21eae Checking out Revision 07bea29bb688e56028cb6db77392d3997be21eae (PR-344) > git config core.sparsecheckout # timeout=10 > git checkout -f 07bea29bb688e56028cb6db77392d3997be21eae # 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 3284203db036fb577a63a0fff870deb676f4920e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07bea29bb688e56028cb6db77392d3997be21eae # timeout=10 Commit message: "fix: update to new deviceCommand format, remove coreCommands from sample profiles (#310)" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:27:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:27:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:27:17 ========================================================= 17:27:17 EdgeX Global Pipelines Version Info 17:27:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e84e37becc814ab4619c544ede91496034644436 # timeout=10 17:27:20 ------------------- 17:27:20 stable info: 17:27:20 ------------------- 17:27:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:27:20 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 17:27:20 Message: update stable to v1.0.192 17:27:21 ------------------- 17:27:21 experimental info: 17:27:21 ------------------- 17:27:21 Commited By: **** collab-it+edgex@linuxfoundation.org 17:27:21 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 17:27:21 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-344 [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-344 [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-344 [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07bea29bb688e56028cb6db77392d3997be21eae [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 07bea29 [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:27:22 provisioning config files... 17:27:22 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/config4973742049857614444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:22 ---> docker-login.sh 17:27:22 nexus3.edgexfoundry.org:10001 17:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:23 Configure a credential helper to remove this warning. See 17:27:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:23 17:27:23 Login Succeeded 17:27:23 nexus3.edgexfoundry.org:10002 17:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:23 Configure a credential helper to remove this warning. See 17:27:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:23 17:27:23 Login Succeeded 17:27:23 nexus3.edgexfoundry.org:10003 17:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:23 Configure a credential helper to remove this warning. See 17:27:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:23 17:27:23 Login Succeeded 17:27:23 nexus3.edgexfoundry.org:10004 17:27:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:24 Configure a credential helper to remove this warning. See 17:27:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:24 17:27:24 Login Succeeded 17:27:24 docker.io 17:27:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:24 Configure a credential helper to remove this warning. See 17:27:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:24 17:27:24 Login Succeeded 17:27:24 ---> docker-login.sh ends [Pipeline] } 17:27:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 17:27:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:27:25 17:27:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:27:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:27:25 latest: Pulling from edgex-devops/git-semver 17:27:25 31603596830f: Pulling fs layer 17:27:25 54011a49482f: Pulling fs layer 17:27:25 a6820b24f6d8: Pulling fs layer 17:27:25 f581987b2513: Pulling fs layer 17:27:25 f581987b2513: Waiting 17:27:25 54011a49482f: Verifying Checksum 17:27:25 54011a49482f: Download complete 17:27:26 31603596830f: Verifying Checksum 17:27:26 31603596830f: Download complete 17:27:26 a6820b24f6d8: Verifying Checksum 17:27:26 f581987b2513: Verifying Checksum 17:27:26 f581987b2513: Download complete 17:27:26 a6820b24f6d8: Download complete 17:27:26 31603596830f: Pull complete 17:27:26 54011a49482f: Pull complete 17:27:28 a6820b24f6d8: Pull complete 17:27:28 f581987b2513: Pull complete 17:27:28 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 17:27:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:27:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:27:28 prd-centos7-docker-4c-2g-4730 does not seem to be running inside a container 17:27:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-344 -v /w/workspace/edgexfoundry_device-sdk-c_PR-344:/w/workspace/edgexfoundry_device-sdk-c_PR-344:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-344@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 17:27:30 $ docker top 8fd6a741634506ad6bcadaa33075fe0b635399d4fc92e55d53a81e91796bfbd2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:27:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:27:31 [ssh-agent] Looking for ssh-agent implementation... 17:27:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:27:31 $ docker exec 8fd6a741634506ad6bcadaa33075fe0b635399d4fc92e55d53a81e91796bfbd2 ssh-agent 17:27:31 SSH_AUTH_SOCK=/tmp/ssh-xcMUxURV0ZIf/agent.12 17:27:31 SSH_AGENT_PID=18 17:27:31 Running ssh-add (command line suppressed) 17:27:31 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/private_key_8613016062744515225.key (/w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/private_key_8613016062744515225.key) 17:27:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:27:32 + git tag --points-at HEAD [Pipeline] } 17:27:32 $ docker exec --env ******** --env ******** 8fd6a741634506ad6bcadaa33075fe0b635399d4fc92e55d53a81e91796bfbd2 ssh-agent -k 17:27:32 unset SSH_AUTH_SOCK; 17:27:32 unset SSH_AGENT_PID; 17:27:32 echo Agent pid 18 killed; 17:27:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:27:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:27:32 [ssh-agent] Looking for ssh-agent implementation... 17:27:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:27:32 $ docker exec 8fd6a741634506ad6bcadaa33075fe0b635399d4fc92e55d53a81e91796bfbd2 ssh-agent 17:27:32 SSH_AUTH_SOCK=/tmp/ssh-Yx76uch6qsvJ/agent.48 17:27:32 SSH_AGENT_PID=53 17:27:32 Running ssh-add (command line suppressed) 17:27:33 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/private_key_8423207648318762342.key (/w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/private_key_8423207648318762342.key) 17:27:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:27:33 + git semver init 17:27:33 # -> Open(): unable to determine branch for HEAD 17:27:33 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-344/.git 17:27:33 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-344 17:27:33 # $SEMVER_REMOTE_NAME = origin 17:27:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:27:33 # $SEMVER_USER_NAME = edgex-jenkins 17:27:33 # $SEMVER_BRANCH = PR-344 17:27:33 # $SEMVER_TEMP = /tmp/semver-214790738 17:27:33 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 17:27:34 # '/tmp/semver-214790738' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-344/.semver' 17:27:34 # -> Force: false 17:27:34 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-344/.semver [Pipeline] } 17:27:34 $ docker exec --env ******** --env ******** 8fd6a741634506ad6bcadaa33075fe0b635399d4fc92e55d53a81e91796bfbd2 ssh-agent -k 17:27:34 unset SSH_AUTH_SOCK; 17:27:34 unset SSH_AGENT_PID; 17:27:34 echo Agent pid 53 killed; 17:27:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:27:34 + git semver [Pipeline] } 17:27:34 $ docker stop --time=1 8fd6a741634506ad6bcadaa33075fe0b635399d4fc92e55d53a81e91796bfbd2 17:27:36 $ docker rm -f 8fd6a741634506ad6bcadaa33075fe0b635399d4fc92e55d53a81e91796bfbd2 [Pipeline] // withDockerContainer [Pipeline] sh 17:27:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:27:37 Stashed 1 file(s) [Pipeline] echo 17:27:37 [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 17:27:52 Still waiting to schedule task 17:27:52 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4730’ 17:27:52 Still waiting to schedule task 17:27:52 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline 17:29:43 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4731 in /w/workspace/edgexfoundry_device-sdk-c_PR-344 [Pipeline] { [Pipeline] ws 17:29:43 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 17:29:49 using credential edgex-jenkins-ssh 17:29:49 Cloning the remote Git repository 17:29:49 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 17:29:49 > git init /w/workspace/device-sdk-c/2 # timeout=10 17:29:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:29:49 > git --version # timeout=10 17:29:49 > git --version # 'git version 2.17.1' 17:29:49 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:29:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:29:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:29:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:29:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:29:50 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/344/head:refs/remotes/origin/PR-344 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:29:51 Merging remotes/origin/master commit 3284203db036fb577a63a0fff870deb676f4920e into PR head commit 07bea29bb688e56028cb6db77392d3997be21eae 17:29:51 Merge succeeded, producing 07bea29bb688e56028cb6db77392d3997be21eae 17:29:51 Checking out Revision 07bea29bb688e56028cb6db77392d3997be21eae (PR-344) 17:29:51 > git config core.sparsecheckout # timeout=10 17:29:51 > git checkout -f 07bea29bb688e56028cb6db77392d3997be21eae # timeout=10 17:29:51 > git remote # timeout=10 17:29:51 > git config --get remote.origin.url # timeout=10 17:29:51 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:51 > git merge 3284203db036fb577a63a0fff870deb676f4920e # timeout=10 17:29:51 > git rev-parse HEAD^{commit} # timeout=10 17:29:51 > git config core.sparsecheckout # timeout=10 17:29:51 > git checkout -f 07bea29bb688e56028cb6db77392d3997be21eae # timeout=10 17:29:55 Commit message: "fix: update to new deviceCommand format, remove coreCommands from sample profiles (#310)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:29:57 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:29:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:29:58 + true 17:29:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:30:00 provisioning config files... 17:30:00 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config4145642314395504700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:30:01 ---> docker-login.sh 17:30:01 nexus3.edgexfoundry.org:10001 17:30:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:02 Configure a credential helper to remove this warning. See 17:30:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:02 17:30:02 Login Succeeded 17:30:02 nexus3.edgexfoundry.org:10002 17:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:02 Configure a credential helper to remove this warning. See 17:30:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:02 17:30:02 Login Succeeded 17:30:02 nexus3.edgexfoundry.org:10003 17:30:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:03 Configure a credential helper to remove this warning. See 17:30:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:03 17:30:03 Login Succeeded 17:30:03 nexus3.edgexfoundry.org:10004 17:30:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:04 Configure a credential helper to remove this warning. See 17:30:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:04 17:30:04 Login Succeeded 17:30:04 docker.io 17:30:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:04 Configure a credential helper to remove this warning. See 17:30:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:04 17:30:04 Login Succeeded 17:30:04 ---> docker-login.sh ends [Pipeline] } 17:30:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:30:05 ========================================================= 17:30:05 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 17:30:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:30:05 + 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 . 17:30:06 Sending build context to Docker daemon 2.567MB 17:30:06 Step 1/25 : ARG BASE=alpine:3.12 17:30:06 Step 2/25 : FROM ${BASE} as builder 17:30:06 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 17:30:06 0362ad1dd800: Pulling fs layer 17:30:06 f2cdb1532d8b: Pulling fs layer 17:30:06 37ed683be191: Pulling fs layer 17:30:06 f2cdb1532d8b: Download complete 17:30:06 0362ad1dd800: Verifying Checksum 17:30:06 0362ad1dd800: Download complete 17:30:06 0362ad1dd800: Pull complete 17:30:07 f2cdb1532d8b: Pull complete 17:30:08 37ed683be191: Verifying Checksum 17:30:08 37ed683be191: Download complete 17:30:17 37ed683be191: Pull complete 17:30:17 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 17:30:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 17:30:17 ---> b23d30803547 17:30:17 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 17:30:19 ---> Running in 4e6268596453 17:30:20 Connecting to iotech.jfrog.io (54.229.110.245:443) 17:30:21 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 17:30:21 17:30:22 Removing intermediate container 4e6268596453 17:30:22 ---> 89d3b8211217 17:30:22 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:30:22 ---> Running in 9de3a0e5b20e 17:30:24 Removing intermediate container 9de3a0e5b20e 17:30:24 ---> aa94de5ef52f 17:30:24 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 17:30:24 ---> Running in 67240ce5886c 17:30:25 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 17:30:26 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 17:30:26 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 17:30:27 (1/11) Installing hiredis (0.14.0-r0) 17:30:27 (2/11) Installing hiredis-dev (0.14.0-r0) 17:30:27 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 17:30:27 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 17:30:29 (5/11) Installing libuuid (2.33-r0) 17:30:29 (6/11) Installing libblkid (2.33-r0) 17:30:29 (7/11) Installing libfdisk (2.33-r0) 17:30:29 (8/11) Installing libmount (2.33-r0) 17:30:29 (9/11) Installing libsmartcols (2.33-r0) 17:30:30 (10/11) Installing util-linux-dev (2.33-r0) 17:30:30 (11/11) Installing wget (1.20.3-r0) 17:30:30 Executing busybox-1.29.3-r10.trigger 17:30:30 OK: 287 MiB in 86 packages 17:30:31 Removing intermediate container 67240ce5886c 17:30:31 ---> c65f247eb9c3 17:30:31 Step 6/25 : ENV CBOR_VERSION=0.5.0 17:30:32 ---> Running in 93051175e71b 17:30:32 Removing intermediate container 93051175e71b 17:30:32 ---> 889becf28c3d 17:30:32 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 17:30:32 ---> Running in 87f7b56fcf70 17:30:33 --2021-05-12 17:30:33-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 17:30:33 Resolving github.com... 140.82.112.3 17:30:33 Connecting to github.com|140.82.112.3|:443... connected. 17:30:33 HTTP request sent, awaiting response... 302 Found 17:30:33 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 17:30:33 --2021-05-12 17:30:33-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 17:30:33 Resolving codeload.github.com... 140.82.113.10 17:30:33 Connecting to codeload.github.com|140.82.113.10|:443... connected. 17:30:33 HTTP request sent, awaiting response... 200 OK 17:30:33 Length: 719348 (702K) [application/x-gzip] 17:30:33 Saving to: 'STDOUT' 17:30:33  17:30:33 0K .......... .......... .......... .......... .......... 7% 1.67M 0s 17:30:33 50K .......... .......... .......... .......... .......... 14% 2.88M 0s 17:30:33 100K .......... .......... .......... .......... .......... 21% 13.4M 0s 17:30:33 150K .......... .......... .......... .......... .......... 28% 3.93M 0s 17:30:33 200K .......... .......... .......... .......... .......... 35% 13.8M 0s 17:30:33 250K .......... .......... .......... .......... .......... 42% 4.20M 0s 17:30:33 300K .......... .......... .......... .......... .......... 49% 6.19M 0s 17:30:33 350K .......... .......... .......... .......... .......... 56% 5.81M 0s 17:30:33 400K .......... .......... .......... .......... .......... 64% 4.19M 0s 17:30:33 450K .......... .......... .......... .......... .......... 71% 4.65M 0s 17:30:33 500K .......... .......... .......... .......... .......... 78% 5.26M 0s 17:30:34 550K .......... .......... .......... .......... .......... 85% 6.24M 0s 17:30:34 600K .......... .......... .......... .......... .......... 92% 1.09M 0s 17:30:34 650K .......... .......... .......... .......... .......... 99% 1.57M 0s 17:30:34 700K ..                        100% 4746G=0.2s 17:30:34 17:30:34 2021-05-12 17:30:34 (3.28 MB/s) - written to stdout [719348/719348] 17:30:34 17:30:34 -- The C compiler identification is GNU 8.3.0 17:30:34 -- The CXX compiler identification is GNU 8.3.0 17:30:34 -- Check for working C compiler: /usr/bin/cc 17:30:34 -- Check for working C compiler: /usr/bin/cc -- works 17:30:34 -- Detecting C compiler ABI info 17:30:35 -- Detecting C compiler ABI info - done 17:30:35 -- Detecting C compile features 17:30:35 -- Detecting C compile features - done 17:30:35 -- Check for working CXX compiler: /usr/bin/c++ 17:30:36 -- Check for working CXX compiler: /usr/bin/c++ -- works 17:30:36 -- Detecting CXX compiler ABI info 17:30:36 -- Detecting CXX compiler ABI info - done 17:30:36 -- Detecting CXX compile features 17:30:38 -- Detecting CXX compile features - done 17:30:38 -- Looking for include file endian.h 17:30:38 -- Looking for include file endian.h - found 17:30:38 -- Check if the system is big endian 17:30:38 -- Searching 16 bit integer 17:30:38 -- Looking for sys/types.h 17:30:38 -- Looking for sys/types.h - found 17:30:38 -- Looking for stdint.h 17:30:38 -- Looking for stdint.h - found 17:30:38 -- Looking for stddef.h 17:30:38 -- Looking for stddef.h - found 17:30:38 -- Check size of unsigned short 17:30:39 -- Check size of unsigned short - done 17:30:39 -- Using unsigned short 17:30:39 -- Check if the system is big endian - little endian 17:30:39 -- Check size of size_t 17:30:39 -- Check size of size_t - done 17:30:39 CMake Warning at examples/CMakeLists.txt:16 (find_package): 17:30:39 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 17:30:39 asked CMake to find a package configuration file provided by "cJSON", but 17:30:39 CMake did not find one. 17:30:39 17:30:39 Could not find a package configuration file provided by "cJSON" with any of 17:30:39 the following names: 17:30:39 17:30:39 cJSONConfig.cmake 17:30:39 cjson-config.cmake 17:30:39 17:30:39 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 17:30:39 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 17:30:39 provides a separate development package or SDK, be sure it has been 17:30:39 installed. 17:30:39 17:30:39 17:30:39 -- Configuring done 17:30:40 -- Generating done 17:30:40 -- Build files have been written to: /tmp/cbor 17:30:40 Scanning dependencies of target cbor_shared 17:30:40 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 17:30:40 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 17:30:41 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 17:30:41 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 17:30:42 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 17:30:42 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 17:30:42 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 17:30:42 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 17:30:43 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 17:30:43 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 17:30:44 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 17:30:44 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 17:30:44 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 17:30:45 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 17:30:45 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 17:30:45 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 17:30:45 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 17:30:45 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 17:30:46 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 17:30:46 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 17:30:46 [ 40%] Linking C shared library libcbor.so 17:30:46 [ 40%] Built target cbor_shared 17:30:46 Scanning dependencies of target cbor 17:30:46 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 17:30:47 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 17:30:48 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 17:30:48 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 17:30:49 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 17:30:49 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 17:30:50 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 17:30:50 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 17:30:50 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 17:30:50 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 17:30:51 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 17:30:51 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 17:30:52 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 17:30:52 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 17:30:52 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 17:30:53 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 17:30:53 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 17:30:53 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 17:30:53 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 17:30:54 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 17:30:54 [ 80%] Linking C static library libcbor.a 17:30:54 [ 80%] Built target cbor 17:30:54 Scanning dependencies of target create_items 17:30:54 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 17:30:54 [ 84%] Linking C executable create_items 17:30:54 [ 84%] Built target create_items 17:30:54 Scanning dependencies of target readfile 17:30:54 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 17:30:54 [ 88%] Linking C executable readfile 17:30:54 [ 88%] Built target readfile 17:30:54 Scanning dependencies of target streaming_parser 17:30:54 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 17:30:55 [ 92%] Linking C executable streaming_parser 17:30:55 [ 92%] Built target streaming_parser 17:30:55 Scanning dependencies of target sort 17:30:55 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 17:30:55 [ 96%] Linking C executable sort 17:30:55 [ 96%] Built target sort 17:30:55 Scanning dependencies of target hello 17:30:55 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 17:30:55 [100%] Linking C executable hello 17:30:55 [100%] Built target hello 17:30:55 Install the project... 17:30:55 -- Install configuration: "Release" 17:30:55 -- Installing: /usr/local/include/cbor/configuration.h 17:30:55 -- Installing: /usr/local/lib64/libcbor.a 17:30:55 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 17:30:55 -- Installing: /usr/local/lib64/libcbor.so.0 17:30:55 -- Installing: /usr/local/lib64/libcbor.so 17:30:55 -- Up-to-date: /usr/local/include/cbor 17:30:55 -- Installing: /usr/local/include/cbor/streaming.h 17:30:55 -- Installing: /usr/local/include/cbor/ints.h 17:30:55 -- Installing: /usr/local/include/cbor/floats_ctrls.h 17:30:56 -- Installing: /usr/local/include/cbor/bytestrings.h 17:30:56 -- Installing: /usr/local/include/cbor/encoding.h 17:30:56 -- Installing: /usr/local/include/cbor/serialization.h 17:30:56 -- Installing: /usr/local/include/cbor/data.h 17:30:56 -- Installing: /usr/local/include/cbor/common.h 17:30:56 -- Installing: /usr/local/include/cbor/callbacks.h 17:30:56 -- Installing: /usr/local/include/cbor/strings.h 17:30:56 -- Installing: /usr/local/include/cbor/tags.h 17:30:56 -- Installing: /usr/local/include/cbor/internal 17:30:56 -- Installing: /usr/local/include/cbor/internal/encoders.h 17:30:56 -- Installing: /usr/local/include/cbor/internal/loaders.h 17:30:56 -- Installing: /usr/local/include/cbor/internal/stack.h 17:30:56 -- Installing: /usr/local/include/cbor/internal/unicode.h 17:30:56 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 17:30:56 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 17:30:56 -- Installing: /usr/local/include/cbor/arrays.h 17:30:56 -- Installing: /usr/local/include/cbor/maps.h 17:30:56 -- Installing: /usr/local/include/cbor.h 17:30:56 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 17:30:58 Removing intermediate container 87f7b56fcf70 17:30:58 ---> eafb824aa3fd 17:30:58 Step 8/25 : RUN mkdir /tmp/sdk 17:30:58 ---> Running in 832fb22adb28 17:30:58 Running on prd-centos7-docker-4c-2g-4732 in /w/workspace/edgexfoundry_device-sdk-c_PR-344 [Pipeline] { [Pipeline] ws 17:30:58 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 17:31:00 Removing intermediate container 832fb22adb28 17:31:00 ---> 98165fa3cbcb 17:31:00 Step 9/25 : COPY VERSION /tmp/sdk 17:31:00 ---> 33b51fe7fc3b 17:31:00 Step 10/25 : COPY src /tmp/sdk/src 17:31:01 ---> b70f2b94b81f 17:31:01 Step 11/25 : COPY include /tmp/sdk/include 17:31:02 ---> bbc0fd578e40 17:31:02 Step 12/25 : COPY scripts /tmp/sdk/scripts 17:31:03 ---> 754bb561597e 17:31:03 Step 13/25 : COPY LICENSE /tmp/sdk 17:31:03 ---> 8766da80a38c 17:31:03 Step 14/25 : COPY Attribution.txt /tmp/sdk 17:31:04 ---> 86b3c7e4f791 17:31:04 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:31:04 ---> Running in 2c828cc9ee66 17:31:04 using credential edgex-jenkins-ssh 17:31:04 Cloning the remote Git repository 17:31:05 + CPPCHECK=false 17:31:05 + DOCGEN=false 17:31:05 + TOMLVER=SDK-0.2 17:31:05 + CUTILVER=1.1.4 17:31:05 + '[' 0 -gt 0 ] 17:31:05 + readlink -f ./scripts/build.sh 17:31:05 + dirname /tmp/sdk/scripts/build.sh 17:31:05 + dirname /tmp/sdk/scripts 17:31:05 + ROOT=/tmp/sdk 17:31:05 + cd /tmp/sdk 17:31:05 + '[' '!' -d deps ] 17:31:05 + mkdir deps 17:31:05 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:31:05 + tar -C deps -z -x -f - 17:31:05 --2021-05-12 17:31:05-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:31:05 Resolving github.com... 140.82.114.3 17:31:05 Connecting to github.com|140.82.114.3|:443... connected. 17:31:05 HTTP request sent, awaiting response... 302 Found 17:31:05 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 17:31:05 --2021-05-12 17:31:05-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 17:31:05 Resolving codeload.github.com... 140.82.113.10 17:31:05 Connecting to codeload.github.com|140.82.113.10|:443... connected. 17:31:05 HTTP request sent, awaiting response... 200 OK 17:31:05 Length: 16451 (16K) [application/x-gzip] 17:31:05 Saving to: 'STDOUT' 17:31:05  17:31:05 0K .......... ......  100% 1.10M=0.01s 17:31:05 17:31:05 2021-05-12 17:31:05 (1.10 MB/s) - written to stdout [16451/16451] 17:31:05 17:31:04 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 17:31:04 > git init /w/workspace/device-sdk-c/2 # timeout=10 17:31:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:31:05 > git --version # timeout=10 17:31:05 > git --version # 'git version 2.24.3' 17:31:05 using GIT_SSH to set credentials SSH Credentials for GitHub 17:31:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:31:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:31:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:31:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:31:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:31:05 using GIT_SSH to set credentials SSH Credentials for GitHub 17:31:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/344/head:refs/remotes/origin/PR-344 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:31:06 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 17:31:06 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 17:31:06 + tar -C deps -z -x -f - 17:31:06 --2021-05-12 17:31:06-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 17:31:06 Resolving github.com... 140.82.114.3 17:31:06 Connecting to github.com|140.82.114.3|:443... connected. 17:31:06 HTTP request sent, awaiting response... 302 Found 17:31:06 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 17:31:06 --2021-05-12 17:31:06-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 17:31:06 Resolving codeload.github.com... 140.82.113.10 17:31:06 Connecting to codeload.github.com|140.82.113.10|:443... connected. 17:31:06 Merging remotes/origin/master commit 3284203db036fb577a63a0fff870deb676f4920e into PR head commit 07bea29bb688e56028cb6db77392d3997be21eae 17:31:06 HTTP request sent, awaiting response... 200 OK 17:31:06 Length: 181796 (178K) [application/x-gzip] 17:31:06 Saving to: 'STDOUT' 17:31:06  17:31:06 0K .......... .......... .......... .......... .......... 28% 1.36M 0s 17:31:06 50K .......... .......... .......... .......... .......... 56% 2.93M 0s 17:31:06 100K .......... .......... .......... .......... .......... 84% 8.05M 0s 17:31:06 150K .......... .......... .......  100% 1.58M=0.08s 17:31:06 17:31:06 2021-05-12 17:31:06 (2.30 MB/s) - written to stdout [181796/181796] 17:31:06 17:31:06 + mkdir -p src/c/iot 17:31:06 + 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 17:31:06 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 17:31:06 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 17:31:06 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 17:31:06 + mkdir -p include/iot 17:31:06 + 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 17:31:06 + mkdir -p include/iot/os 17:31:06 + 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 17:31:06 + mkdir -p /tmp/sdk/build/release 17:31:06 + cd /tmp/sdk/build/release 17:31:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:31:06 Merge succeeded, producing 07bea29bb688e56028cb6db77392d3997be21eae 17:31:06 Checking out Revision 07bea29bb688e56028cb6db77392d3997be21eae (PR-344) 17:31:06 -- The C compiler identification is GNU 8.3.0 17:31:07 -- Check for working C compiler: /usr/bin/cc 17:31:07 -- Check for working C compiler: /usr/bin/cc -- works 17:31:07 -- Detecting C compiler ABI info 17:31:07 -- Detecting C compiler ABI info - done 17:31:07 -- Detecting C compile features 17:31:06 > git config core.sparsecheckout # timeout=10 17:31:06 > git checkout -f 07bea29bb688e56028cb6db77392d3997be21eae # timeout=10 17:31:06 > git remote # timeout=10 17:31:06 > git config --get remote.origin.url # timeout=10 17:31:06 using GIT_SSH to set credentials SSH Credentials for GitHub 17:31:06 > git merge 3284203db036fb577a63a0fff870deb676f4920e # timeout=10 17:31:06 > git rev-parse HEAD^{commit} # timeout=10 17:31:06 > git config core.sparsecheckout # timeout=10 17:31:06 > git checkout -f 07bea29bb688e56028cb6db77392d3997be21eae # timeout=10 17:31:08 -- Detecting C compile features - done 17:31:08 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:31:08 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 17:31:08 -- Found LIBYAML: /usr/lib/libyaml.so 17:31:08 -- Found LIBUUID: /usr/lib/libuuid.so 17:31:08 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 17:31:08 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:31:08 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:31:08 -- C SDK 0.0.0 for Linux 17:31:08 -- Performing Test CSDK_HAVE_ATOMIC 17:31:08 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:31:08 -- Found Curses: /usr/lib/libcurses.so 17:31:08 -- Configuring done 17:31:08 -- Generating done 17:31:08 -- Build files have been written to: /tmp/sdk/build/release 17:31:08 + make all package 17:31:08 + tee release.log 17:31:09 Scanning dependencies of target csdk 17:31:09 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:31:09 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:31:10 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:31:10 Commit message: "fix: update to new deviceCommand format, remove coreCommands from sample profiles (#310)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:31:11 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:31:12 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:31:12 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:31:12 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:31:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:31:13 + true 17:31:13 + sudo service docker restart 17:31:13 Redirecting to /bin/systemctl restart docker.service 17:31:13 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:31:13 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:31:13 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:31:14 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:31:15 provisioning config files... 17:31:15 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config7455292716708189311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:15 ---> docker-login.sh 17:31:15 nexus3.edgexfoundry.org:10001 17:31:16 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:16 Configure a credential helper to remove this warning. See 17:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:16 17:31:16 Login Succeeded 17:31:16 nexus3.edgexfoundry.org:10002 17:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:16 Configure a credential helper to remove this warning. See 17:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:16 17:31:16 Login Succeeded 17:31:16 nexus3.edgexfoundry.org:10003 17:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:16 Configure a credential helper to remove this warning. See 17:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:16 17:31:16 Login Succeeded 17:31:16 nexus3.edgexfoundry.org:10004 17:31:16 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:17 Configure a credential helper to remove this warning. See 17:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:17 17:31:17 Login Succeeded 17:31:17 docker.io 17:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:17 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:17 Configure a credential helper to remove this warning. See 17:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:17 17:31:17 Login Succeeded 17:31:17 ---> docker-login.sh ends [Pipeline] } 17:31:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:31:17 ========================================================= 17:31:17 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 17:31:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:31:18 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:31:18 + 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 . 17:31:18 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:31:18 Sending build context to Docker daemon 2.568MB 17:31:18 Step 1/25 : ARG BASE=alpine:3.12 17:31:18 Step 2/25 : FROM ${BASE} as builder 17:31:18 latest: Pulling from edgex-devops/edgex-gcc-base 17:31:18 e7c96db7181b: Pulling fs layer 17:31:18 4c13bbce0fe7: Pulling fs layer 17:31:18 6059c847ac2f: Pulling fs layer 17:31:18 4c13bbce0fe7: Verifying Checksum 17:31:18 4c13bbce0fe7: Download complete 17:31:18 e7c96db7181b: Verifying Checksum 17:31:18 e7c96db7181b: Download complete 17:31:18 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:31:18 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:31:19 e7c96db7181b: Pull complete 17:31:19 4c13bbce0fe7: Pull complete 17:31:20 6059c847ac2f: Verifying Checksum 17:31:20 6059c847ac2f: Download complete 17:31:21 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:31:21 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:31:21 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:31:22 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:31:22 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:31:23 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:31:25 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:31:25 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:31:25 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:31:26 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:31:27 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:31:27 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:31:28 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:31:28 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:31:28 6059c847ac2f: Pull complete 17:31:28 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 17:31:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 17:31:28 ---> 5eabd8fd8ba2 17:31:28 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 17:31:28 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:31:29 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:31:30 ---> Running in 1913bfe83025 17:31:31 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:31:31 Connecting to iotech.jfrog.io (34.243.182.113:443) 17:31:31 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:31:31 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 17:31:31 17:31:32 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:31:32 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:31:32 Removing intermediate container 1913bfe83025 17:31:32 ---> 8cd86bc86b4b 17:31:32 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:31:32 ---> Running in ca082f30f31f 17:31:33 Removing intermediate container ca082f30f31f 17:31:33 ---> c8c551006c80 17:31:33 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 17:31:33 ---> Running in f01e9c6f1fbd 17:31:34 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 17:31:34 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 17:31:35 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 17:31:35 (1/11) Installing hiredis (0.14.0-r0) 17:31:35 (2/11) Installing hiredis-dev (0.14.0-r0) 17:31:35 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 17:31:35 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 17:31:36 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:31:36 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:31:37 (5/11) Installing libuuid (2.33-r0) 17:31:37 (6/11) Installing libblkid (2.33-r0) 17:31:37 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:31:37 (7/11) Installing libfdisk (2.33-r0) 17:31:37 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:31:37 (8/11) Installing libmount (2.33-r0) 17:31:37 (9/11) Installing libsmartcols (2.33-r0) 17:31:37 (10/11) Installing util-linux-dev (2.33-r0) 17:31:38 (11/11) Installing wget (1.20.3-r0) 17:31:38 Executing busybox-1.29.3-r10.trigger 17:31:38 OK: 273 MiB in 86 packages 17:31:38 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:31:38 Removing intermediate container f01e9c6f1fbd 17:31:38 ---> 806076716a75 17:31:38 Step 6/25 : ENV CBOR_VERSION=0.5.0 17:31:39 ---> Running in 66440dfe00aa 17:31:39 Removing intermediate container 66440dfe00aa 17:31:39 ---> ca43bd2fd172 17:31:39 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 17:31:39 ---> Running in 9136b611f28a 17:31:39 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:31:39 --2021-05-12 17:31:39-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 17:31:39 Resolving github.com... 140.82.114.3 17:31:39 Connecting to github.com|140.82.114.3|:443... connected. 17:31:40 HTTP request sent, awaiting response... 302 Found 17:31:40 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 17:31:40 --2021-05-12 17:31:40-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 17:31:40 Resolving codeload.github.com... 140.82.113.9 17:31:40 Connecting to codeload.github.com|140.82.113.9|:443... connected. 17:31:40 HTTP request sent, awaiting response... 200 OK 17:31:40 Length: 719348 (702K) [application/x-gzip] 17:31:40 Saving to: 'STDOUT' 17:31:40 17:31:40 0K .......... .......... .......... .......... .......... 7% 1.25M 1s 17:31:40 50K .......... .......... .......... .......... .......... 14% 4.05M 0s 17:31:40 100K .......... .......... .......... .......... .......... 21% 62.0M 0s 17:31:40 150K .......... .......... .......... .......... .......... 28% 6.69M 0s 17:31:40 200K .......... .......... .......... .......... .......... 35% 1.58M 0s 17:31:40 250K .......... .......... .......... .......... .......... 42% 10.3M 0s 17:31:40 300K .......... .......... .......... .......... .......... 49% 3.21M 0s 17:31:40 350K .......... .......... .......... .......... .......... 56% 8.55M 0s 17:31:40 400K .......... .......... .......... .......... .......... 64% 2.39M 0s 17:31:40 450K .......... .......... .......... .......... .......... 71% 2.77M 0s 17:31:40 500K .......... .......... .......... .......... .......... 78% 2.92M 0s 17:31:40 550K .......... .......... .......... .......... .......... 85% 2.93M 0s 17:31:40 600K .......... .......... .......... .......... .......... 92% 691K 0s 17:31:40 650K .......... .......... .......... .......... .......... 99% 3.66M 0s 17:31:40 700K .. 100% 4746G=0.3s 17:31:40 17:31:40 2021-05-12 17:31:40 (2.51 MB/s) - written to stdout [719348/719348] 17:31:40 17:31:40 -- The C compiler identification is GNU 8.3.0 17:31:41 -- The CXX compiler identification is GNU 8.3.0 17:31:41 -- Check for working C compiler: /usr/bin/cc 17:31:41 -- Check for working C compiler: /usr/bin/cc -- works 17:31:41 -- Detecting C compiler ABI info 17:31:41 -- Detecting C compiler ABI info - done 17:31:41 -- Detecting C compile features 17:31:41 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:31:42 -- Detecting C compile features - done 17:31:42 -- Check for working CXX compiler: /usr/bin/c++ 17:31:42 -- Check for working CXX compiler: /usr/bin/c++ -- works 17:31:42 -- Detecting CXX compiler ABI info 17:31:42 -- Detecting CXX compiler ABI info - done 17:31:42 -- Detecting CXX compile features 17:31:43 -- Detecting CXX compile features - done 17:31:43 -- Looking for include file endian.h 17:31:43 -- Looking for include file endian.h - found 17:31:43 -- Check if the system is big endian 17:31:43 -- Searching 16 bit integer 17:31:43 -- Looking for sys/types.h 17:31:43 -- Looking for sys/types.h - found 17:31:43 -- Looking for stdint.h 17:31:43 -- Looking for stdint.h - found 17:31:43 -- Looking for stddef.h 17:31:43 -- Looking for stddef.h - found 17:31:43 -- Check size of unsigned short 17:31:43 -- Check size of unsigned short - done 17:31:43 -- Using unsigned short 17:31:44 -- Check if the system is big endian - little endian 17:31:44 -- Check size of size_t 17:31:44 -- Check size of size_t - done 17:31:44 CMake Warning at examples/CMakeLists.txt:16 (find_package): 17:31:44 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 17:31:44 asked CMake to find a package configuration file provided by "cJSON", but 17:31:44 CMake did not find one. 17:31:44 17:31:44 Could not find a package configuration file provided by "cJSON" with any of 17:31:44 the following names: 17:31:44 17:31:44 cJSONConfig.cmake 17:31:44 cjson-config.cmake 17:31:44 17:31:44 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 17:31:44 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 17:31:44 provides a separate development package or SDK, be sure it has been 17:31:44 installed. 17:31:44 17:31:44 17:31:44 -- Configuring done 17:31:44 -- Generating done 17:31:44 -- Build files have been written to: /tmp/cbor 17:31:44 Scanning dependencies of target cbor_shared 17:31:44 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 17:31:44 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 17:31:44 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 17:31:44 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 17:31:44 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 17:31:45 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 17:31:45 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 17:31:45 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 17:31:45 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 17:31:45 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:31:45 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:31:45 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 17:31:45 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 17:31:45 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 17:31:45 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 17:31:45 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 17:31:45 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 17:31:45 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 17:31:45 [ 74%] Linking C shared library libcsdk.so 17:31:45 [ 74%] Built target csdk 17:31:45 Scanning dependencies of target template 17:31:45 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:31:46 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 17:31:46 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 17:31:46 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 17:31:46 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 17:31:46 [ 40%] Linking C shared library libcbor.so 17:31:46 [ 40%] Built target cbor_shared 17:31:46 Scanning dependencies of target cbor 17:31:46 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 17:31:46 [ 77%] Linking C executable template 17:31:46 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 17:31:46 [ 77%] Built target template 17:31:46 Scanning dependencies of target device-counter 17:31:46 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:31:46 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 17:31:46 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 17:31:47 [ 80%] Linking C executable device-counter 17:31:47 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 17:31:47 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 17:31:47 [ 80%] Built target device-counter 17:31:47 Scanning dependencies of target device-random 17:31:47 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:31:47 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 17:31:47 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 17:31:48 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 17:31:48 [ 84%] Linking C executable device-random 17:31:48 [ 84%] Built target device-random 17:31:48 Scanning dependencies of target device-gyro 17:31:48 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:31:48 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 17:31:48 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 17:31:48 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 17:31:48 [ 87%] Linking C executable device-gyro 17:31:48 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 17:31:48 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 17:31:49 [ 87%] Built target device-gyro 17:31:49 Scanning dependencies of target device-bitfields 17:31:49 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:31:49 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 17:31:49 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 17:31:49 [ 90%] Linking C executable device-bitfields 17:31:49 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 17:31:49 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 17:31:49 [ 90%] Built target device-bitfields 17:31:49 Scanning dependencies of target template-discovery 17:31:49 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:31:49 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 17:31:49 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 17:31:49 [ 80%] Linking C static library libcbor.a 17:31:49 [ 80%] Built target cbor 17:31:49 Scanning dependencies of target create_items 17:31:49 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 17:31:50 [ 84%] Linking C executable create_items 17:31:50 [ 84%] Built target create_items 17:31:50 Scanning dependencies of target readfile 17:31:50 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 17:31:50 [ 88%] Linking C executable readfile 17:31:50 [ 88%] Built target readfile 17:31:50 [ 93%] Linking C executable template-discovery 17:31:50 Scanning dependencies of target streaming_parser 17:31:50 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 17:31:50 [ 93%] Built target template-discovery 17:31:50 Scanning dependencies of target device-file 17:31:50 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:31:50 [ 92%] Linking C executable streaming_parser 17:31:50 [ 92%] Built target streaming_parser 17:31:50 Scanning dependencies of target sort 17:31:50 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 17:31:50 [ 96%] Linking C executable sort 17:31:50 [ 96%] Built target sort 17:31:50 Scanning dependencies of target hello 17:31:50 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 17:31:50 [100%] Linking C executable hello 17:31:50 [100%] Built target hello 17:31:50 Install the project... 17:31:51 [ 96%] Linking C executable device-file 17:31:51 -- Install configuration: "Release" 17:31:51 -- Installing: /usr/local/include/cbor/configuration.h 17:31:51 -- Installing: /usr/local/lib64/libcbor.a 17:31:51 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 17:31:51 -- Installing: /usr/local/lib64/libcbor.so.0 17:31:51 -- Installing: /usr/local/lib64/libcbor.so 17:31:51 -- Up-to-date: /usr/local/include/cbor 17:31:51 -- Installing: /usr/local/include/cbor/arrays.h 17:31:51 -- Installing: /usr/local/include/cbor/bytestrings.h 17:31:51 -- Installing: /usr/local/include/cbor/callbacks.h 17:31:51 -- Installing: /usr/local/include/cbor/common.h 17:31:51 -- Installing: /usr/local/include/cbor/data.h 17:31:51 -- Installing: /usr/local/include/cbor/encoding.h 17:31:51 -- Installing: /usr/local/include/cbor/floats_ctrls.h 17:31:51 -- Installing: /usr/local/include/cbor/internal 17:31:51 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 17:31:51 -- Installing: /usr/local/include/cbor/internal/encoders.h 17:31:51 -- Installing: /usr/local/include/cbor/internal/loaders.h 17:31:51 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 17:31:51 -- Installing: /usr/local/include/cbor/internal/stack.h 17:31:51 -- Installing: /usr/local/include/cbor/internal/unicode.h 17:31:51 -- Installing: /usr/local/include/cbor/ints.h 17:31:51 -- Installing: /usr/local/include/cbor/maps.h 17:31:51 -- Installing: /usr/local/include/cbor/serialization.h 17:31:51 -- Installing: /usr/local/include/cbor/streaming.h 17:31:51 -- Installing: /usr/local/include/cbor/strings.h 17:31:51 -- Installing: /usr/local/include/cbor/tags.h 17:31:51 -- Installing: /usr/local/include/cbor.h 17:31:51 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 17:31:51 [ 96%] Built target device-file 17:31:51 Scanning dependencies of target device-terminal 17:31:51 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:31:51 [100%] Linking C executable device-terminal 17:31:52 [100%] Built target device-terminal 17:31:52 Run CPack packaging tool... 17:31:52 CPack: Create package using TGZ 17:31:52 CPack: Install projects 17:31:52 CPack: - Run preinstall target for: Csdk 17:31:52 CPack: - Install project: Csdk 17:31:52 CPack: Create package 17:31:52 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:31:52 + '[' false '=' true ] 17:31:52 + '[' false '=' true ] 17:31:52 + mkdir -p /tmp/sdk/build/debug 17:31:52 + cd /tmp/sdk/build/debug 17:31:52 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:31:53 -- The C compiler identification is GNU 8.3.0 17:31:53 -- Check for working C compiler: /usr/bin/cc 17:31:53 -- Check for working C compiler: /usr/bin/cc -- works 17:31:53 -- Detecting C compiler ABI info 17:31:53 -- Detecting C compiler ABI info - done 17:31:53 -- Detecting C compile features 17:31:53 Removing intermediate container 9136b611f28a 17:31:53 ---> e7731401e320 17:31:53 Step 8/25 : RUN mkdir /tmp/sdk 17:31:53 ---> Running in a1e0125c1e7e 17:31:54 -- Detecting C compile features - done 17:31:54 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:31:54 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 17:31:54 -- Found LIBYAML: /usr/lib/libyaml.so 17:31:54 -- Found LIBUUID: /usr/lib/libuuid.so 17:31:54 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 17:31:54 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:31:54 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:31:54 -- C SDK 0.0.0 for Linux 17:31:54 -- Performing Test CSDK_HAVE_ATOMIC 17:31:54 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:31:54 -- Found Curses: /usr/lib/libcurses.so 17:31:54 -- Configuring done 17:31:55 -- Generating done 17:31:55 -- Build files have been written to: /tmp/sdk/build/debug 17:31:55 + + make 17:31:55 tee debug.log 17:31:55 Scanning dependencies of target csdk 17:31:55 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:31:55 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:31:55 Removing intermediate container a1e0125c1e7e 17:31:55 ---> f8a1575127df 17:31:55 Step 9/25 : COPY VERSION /tmp/sdk 17:31:55 ---> a180fc51f9be 17:31:55 Step 10/25 : COPY src /tmp/sdk/src 17:31:56 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:31:56 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:31:56 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:31:57 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:31:57 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:31:57 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:31:57 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:31:57 ---> 2db4f9ec9cf3 17:31:57 Step 11/25 : COPY include /tmp/sdk/include 17:31:58 ---> 70bbc7c9ea62 17:31:58 Step 12/25 : COPY scripts /tmp/sdk/scripts 17:31:58 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:31:58 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:31:58 ---> 0a1b71d05da3 17:31:58 Step 13/25 : COPY LICENSE /tmp/sdk 17:31:58 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:31:59 ---> 8034c148a2b3 17:31:59 Step 14/25 : COPY Attribution.txt /tmp/sdk 17:31:59 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:31:59 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:31:59 ---> ba3fc3d16853 17:31:59 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:31:59 ---> Running in 70559ab7eae4 17:31:59 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:32:00 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:32:00 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:32:00 + CPPCHECK=false 17:32:00 + DOCGEN=false 17:32:00 + TOMLVER=SDK-0.2 17:32:00 + CUTILVER=1.1.4 17:32:00 + '[' 0 -gt 0 ] 17:32:00 + readlink -f ./scripts/build.sh 17:32:00 + dirname /tmp/sdk/scripts/build.sh 17:32:00 + dirname /tmp/sdk/scripts 17:32:00 + ROOT=/tmp/sdk 17:32:00 + cd /tmp/sdk 17:32:00 + '[' '!' -d deps ] 17:32:00 + mkdir deps 17:32:00 + tar+ -C deps -z -xwget -f - 17:32:00 -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:32:00 --2021-05-12 17:32:00-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:32:00 Resolving github.com... 140.82.114.3 17:32:00 Connecting to github.com|140.82.114.3|:443... connected. 17:32:00 HTTP request sent, awaiting response... 302 Found 17:32:00 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 17:32:00 --2021-05-12 17:32:00-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 17:32:00 Resolving codeload.github.com... 140.82.113.9 17:32:00 Connecting to codeload.github.com|140.82.113.9|:443... connected. 17:32:00 HTTP request sent, awaiting response... 200 OK 17:32:00 Length: 16451 (16K) [application/x-gzip] 17:32:00 Saving to: 'STDOUT' 17:32:00  17:32:00 0K .......... ...... 100% 1.04M=0.02s 17:32:00 17:32:00 2021-05-12 17:32:00 (1.04 MB/s) - written to stdout [16451/16451] 17:32:00 17:32:00 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 17:32:00 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 17:32:00 + tar -C deps -z -x -f - 17:32:00 --2021-05-12 17:32:00-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 17:32:00 Resolving github.com... 140.82.114.3 17:32:00 Connecting to github.com|140.82.114.3|:443... connected. 17:32:00 HTTP request sent, awaiting response... 302 Found 17:32:00 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 17:32:00 --2021-05-12 17:32:00-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 17:32:00 Resolving codeload.github.com... 140.82.113.9 17:32:00 Connecting to codeload.github.com|140.82.113.9|:443... connected. 17:32:00 HTTP request sent, awaiting response... 200 OK 17:32:00 Length: 181796 (178K) [application/x-gzip] 17:32:00 Saving to: 'STDOUT' 17:32:00  17:32:00 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:32:01 0K .......... .......... .......... .......... .......... 28% 1.47M 0s 17:32:01 50K .......... .......... .......... .......... .......... 56% 2.77M 0s 17:32:01 100K .......... .......... .......... .......... .......... 84% 9.32M 0s 17:32:01 150K .......... .......... ....... 100% 2.02M=0.07s 17:32:01 17:32:01 2021-05-12 17:32:00 (2.49 MB/s) - written to stdout [181796/181796] 17:32:01 17:32:01 + mkdir -p src/c/iot 17:32:01 + 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 17:32:01 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 17:32:01 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 17:32:01 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 17:32:01 + mkdir -p include/iot 17:32:01 + 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 17:32:01 + mkdir -p include/iot/os 17:32:01 + 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 17:32:01 + mkdir -p /tmp/sdk/build/release 17:32:01 + cd /tmp/sdk/build/release 17:32:01 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:32:01 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:32:01 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:32:01 -- The C compiler identification is GNU 8.3.0 17:32:01 -- Check for working C compiler: /usr/bin/cc 17:32:01 -- Check for working C compiler: /usr/bin/cc -- works 17:32:01 -- Detecting C compiler ABI info 17:32:01 -- Detecting C compiler ABI info - done 17:32:01 -- Detecting C compile features 17:32:01 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:32:01 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:32:01 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:32:02 -- Detecting C compile features - done 17:32:02 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:32:02 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 17:32:02 -- Found LIBYAML: /usr/lib/libyaml.so 17:32:02 -- Found LIBUUID: /usr/lib/libuuid.so 17:32:02 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 17:32:02 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:32:02 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:32:02 -- C SDK 0.0.0 for Linux 17:32:02 -- Performing Test CSDK_HAVE_ATOMIC 17:32:02 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:32:02 -- Found Curses: /usr/lib/libcurses.so 17:32:02 -- Configuring done 17:32:02 -- Generating done 17:32:02 -- Build files have been written to: /tmp/sdk/build/release 17:32:02 + tee release.log 17:32:02 + make all package 17:32:02 Scanning dependencies of target csdk 17:32:02 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:32:02 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:32:02 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:32:02 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:32:02 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:32:03 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:32:03 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:32:03 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:32:03 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:32:03 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:32:03 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:32:03 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:32:03 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:32:04 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:32:04 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:32:04 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:32:04 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:32:04 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:32:04 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:32:04 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:32:04 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:32:04 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:32:05 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:32:05 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:32:05 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:32:05 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:32:05 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:32:05 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:32:05 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:32:06 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:32:06 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:32:06 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:32:06 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:32:07 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:32:07 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:32:07 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:32:07 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:32:07 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:32:07 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:32:07 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:32:07 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:32:08 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:32:08 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:32:09 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:32:09 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:32:09 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:32:09 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:32:09 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:32:09 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:32:09 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:32:10 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:32:10 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:32:10 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:32:10 [ 74%] Linking C shared library libcsdk.so 17:32:10 [ 74%] Built target csdk 17:32:10 Scanning dependencies of target template 17:32:10 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:32:10 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:32:10 [ 77%] Linking C executable template 17:32:10 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:32:10 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:32:11 [ 77%] Built target template 17:32:11 Scanning dependencies of target device-counter 17:32:11 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:32:11 [ 80%] Linking C executable device-counter 17:32:11 [ 80%] Built target device-counter 17:32:11 Scanning dependencies of target device-random 17:32:11 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:32:11 [ 84%] Linking C executable device-random 17:32:11 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:32:12 [ 84%] Built target device-random 17:32:12 Scanning dependencies of target device-gyro 17:32:12 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:32:12 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:32:12 [ 87%] Linking C executable device-gyro 17:32:12 [ 87%] Built target device-gyro 17:32:12 Scanning dependencies of target device-bitfields 17:32:12 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:32:12 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:32:12 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:32:12 [ 90%] Linking C executable device-bitfields 17:32:12 [ 90%] Built target device-bitfields 17:32:13 Scanning dependencies of target template-discovery 17:32:13 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:32:13 [ 93%] Linking C executable template-discovery 17:32:13 [ 93%] Built target template-discovery 17:32:13 Scanning dependencies of target device-file 17:32:13 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:32:14 [ 96%] Linking C executable device-file 17:32:14 [ 96%] Built target device-file 17:32:14 Scanning dependencies of target device-terminal 17:32:14 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:32:14 [100%] Linking C executable device-terminal 17:32:14 [100%] Built target device-terminal 17:32:14 make: Entering directory '/tmp/sdk/build/release' 17:32:14 make[1]: Entering directory '/tmp/sdk/build/release' 17:32:14 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:14 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:14 [ 74%] Built target csdk 17:32:14 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:14 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:14 [ 77%] Built target template 17:32:14 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:14 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:14 [ 80%] Built target device-counter 17:32:15 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:15 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:15 [ 84%] Built target device-random 17:32:15 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:15 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:15 [ 87%] Built target device-gyro 17:32:15 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:15 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:15 [ 90%] Built target device-bitfields 17:32:15 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:15 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:15 [ 93%] Built target template-discovery 17:32:15 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:15 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:15 [ 96%] Built target device-file 17:32:15 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:15 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:15 [100%] Built target device-terminal 17:32:15 make[1]: Leaving directory '/tmp/sdk/build/release' 17:32:15 Install the project... 17:32:15 -- Install configuration: "Release" 17:32:15 -- Installing: /usr/local/lib/libcsdk.so 17:32:15 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:32:15 -- Up-to-date: /usr/local/include 17:32:15 -- Installing: /usr/local/include/edgex 17:32:15 -- Installing: /usr/local/include/edgex/rest-server.h 17:32:15 -- Installing: /usr/local/include/edgex/edgex-base.h 17:32:15 -- Installing: /usr/local/include/edgex/edgex.h 17:32:15 -- Installing: /usr/local/include/edgex/devices.h 17:32:15 -- Installing: /usr/local/include/edgex/profiles.h 17:32:15 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:32:15 -- Installing: /usr/local/include/devsdk 17:32:15 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:32:15 -- Installing: /usr/local/include/devsdk/devsdk.h 17:32:15 -- Installing: /usr/local/include/iot 17:32:15 -- Installing: /usr/local/include/iot/json.h 17:32:15 -- Installing: /usr/local/include/iot/container.h 17:32:15 -- Installing: /usr/local/include/iot/component.h 17:32:15 -- Installing: /usr/local/include/iot/typecode.h 17:32:15 -- Installing: /usr/local/include/iot/iot.h 17:32:15 -- Installing: /usr/local/include/iot/time.h 17:32:15 -- Installing: /usr/local/include/iot/hash.h 17:32:15 -- Installing: /usr/local/include/iot/logger.h 17:32:15 -- Installing: /usr/local/include/iot/os 17:32:15 -- Installing: /usr/local/include/iot/os/zephyr.h 17:32:15 -- Installing: /usr/local/include/iot/os/linux.h 17:32:15 -- Installing: /usr/local/include/iot/os/macos.h 17:32:15 -- Installing: /usr/local/include/iot/scheduler.h 17:32:15 -- Installing: /usr/local/include/iot/data.h 17:32:15 -- Installing: /usr/local/include/iot/thread.h 17:32:15 -- Installing: /usr/local/include/iot/os.h 17:32:15 -- Installing: /usr/local/include/iot/base64.h 17:32:15 -- Installing: /usr/local/include/iot/defs.h 17:32:15 -- Installing: /usr/local/include/iot/threadpool.h 17:32:15 -- Installing: /usr/local/include/iot/config.h 17:32:15 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:32:15 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:32:15 make: Leaving directory '/tmp/sdk/build/release' 17:32:15 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:32:15 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:32:16 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:32:16 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:32:17 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:32:17 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:32:17 Removing intermediate container 2c828cc9ee66 17:32:17 ---> 4ab0577123eb 17:32:17 Step 16/25 : FROM ${BASE} 17:32:17 ---> b23d30803547 17:32:17 Step 17/25 : LABEL maintainer="IOTech " 17:32:17 ---> Running in 6774d93b61ec 17:32:18 Removing intermediate container 6774d93b61ec 17:32:18 ---> 3c3776c9c924 17:32:18 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 17:32:18 ---> Running in d7abb70b3dac 17:32:18 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:32:19 Connecting to iotech.jfrog.io (54.229.110.245:443) 17:32:19 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 17:32:19 17:32:20 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:32:20 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:32:20 Removing intermediate container d7abb70b3dac 17:32:20 ---> 40ac91cecbec 17:32:20 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:32:20 ---> Running in 13bdbc127e96 17:32:21 [ 74%] Linking C shared library libcsdk.so 17:32:21 [ 74%] Built target csdk 17:32:21 Scanning dependencies of target template 17:32:21 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:32:21 [ 77%] Linking C executable template 17:32:21 [ 77%] Built target template 17:32:21 Scanning dependencies of target device-counter 17:32:21 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:32:21 [ 80%] Linking C executable device-counter 17:32:21 [ 80%] Built target device-counter 17:32:21 Scanning dependencies of target device-random 17:32:21 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:32:22 [ 84%] Linking C executable device-random 17:32:22 [ 84%] Built target device-random 17:32:22 Scanning dependencies of target device-gyro 17:32:22 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:32:22 [ 87%] Linking C executable device-gyro 17:32:22 [ 87%] Built target device-gyro 17:32:22 Scanning dependencies of target device-bitfields 17:32:22 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:32:23 [ 90%] Linking C executable device-bitfields 17:32:23 [ 90%] Built target device-bitfields 17:32:23 Scanning dependencies of target template-discovery 17:32:23 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:32:23 Removing intermediate container 13bdbc127e96 17:32:23 ---> 6c6f8086b952 17:32:23 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 17:32:23 ---> Running in aecbdffd2595 17:32:23 [ 93%] Linking C executable template-discovery 17:32:23 [ 93%] Built target template-discovery 17:32:23 Scanning dependencies of target device-file 17:32:23 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:32:24 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 17:32:24 [ 96%] Linking C executable device-file 17:32:24 [ 96%] Built target device-file 17:32:24 Scanning dependencies of target device-terminal 17:32:24 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:32:24 [100%] Linking C executable device-terminal 17:32:24 [100%] Built target device-terminal 17:32:24 Run CPack packaging tool... 17:32:24 CPack: Create package using TGZ 17:32:24 CPack: Install projects 17:32:24 CPack: - Run preinstall target for: Csdk 17:32:25 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 17:32:25 CPack: - Install project: Csdk 17:32:25 CPack: Create package 17:32:25 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:32:25 + '[' false '=' true ] 17:32:25 + '[' false '=' true ] 17:32:25 + mkdir -p /tmp/sdk/build/debug 17:32:25 + cd /tmp/sdk/build/debug 17:32:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:32:25 -- The C compiler identification is GNU 8.3.0 17:32:25 -- Check for working C compiler: /usr/bin/cc 17:32:25 -- Check for working C compiler: /usr/bin/cc -- works 17:32:25 -- Detecting C compiler ABI info 17:32:26 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 17:32:26 -- Detecting C compiler ABI info - done 17:32:26 -- Detecting C compile features 17:32:26 -- Detecting C compile features - done 17:32:26 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:32:26 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 17:32:26 -- Found LIBYAML: /usr/lib/libyaml.so 17:32:26 -- Found LIBUUID: /usr/lib/libuuid.so 17:32:26 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 17:32:26 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:32:26 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:32:26 -- C SDK 0.0.0 for Linux 17:32:26 -- Performing Test CSDK_HAVE_ATOMIC 17:32:26 (1/6) Installing curl (7.64.0-r5) 17:32:26 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:32:26 -- Found Curses: /usr/lib/libcurses.so 17:32:26 -- Configuring done 17:32:26 -- Generating done 17:32:26 -- Build files have been written to: /tmp/sdk/build/debug 17:32:26 + make 17:32:26 + tee debug.log 17:32:26 Scanning dependencies of target csdk 17:32:26 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:32:26 (2/6) Installing hiredis (0.14.0-r0) 17:32:26 (3/6) Installing hiredis-dev (0.14.0-r0) 17:32:26 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:32:26 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:32:27 (4/6) Installing libuuid (2.33-r0) 17:32:27 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 17:32:27 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:32:27 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:32:27 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:32:27 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:32:27 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:32:27 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:32:28 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:32:28 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:32:28 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:32:28 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:32:28 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:32:28 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:32:28 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:32:28 (6/6) Installing wget (1.20.3-r0) 17:32:28 Executing busybox-1.29.3-r10.trigger 17:32:28 OK: 283 MiB in 81 packages 17:32:28 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:32:29 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:32:29 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:32:29 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:32:29 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:32:29 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:32:30 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:32:30 Removing intermediate container aecbdffd2595 17:32:30 ---> 0bd565b3160c 17:32:30 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 17:32:30 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:32:30 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:32:30 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:32:30 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:32:30 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:32:30 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:32:30 ---> 254bf1b00d68 17:32:30 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:32:31 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:32:31 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:32:31 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:32:31 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:32:31 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:32:31 ---> 6193d009b76f 17:32:31 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 17:32:31 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:32:31 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:32:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:32:32 ---> c8a35aeae0f9 17:32:32 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 17:32:32 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:32:32 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:32:32 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:32:32 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:32:33 ---> f90ddd332658 17:32:33 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:32:33 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:32:33 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:32:33 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:32:33 ---> 472d353562aa 17:32:33 Successfully built 472d353562aa 17:32:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:32:33 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:32:33 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:32:34 + docker inspect -f . ci-base-image-arm64 17:32:34 . [Pipeline] withDockerContainer 17:32:34 [ 74%] Linking C shared library libcsdk.so 17:32:34 [ 74%] Built target csdk 17:32:34 Scanning dependencies of target template 17:32:34 prd-ubuntu18.04-docker-arm64-4c-16g-4731 does not seem to be running inside a container 17:32:34 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:32:34 [ 77%] Linking C executable template 17:32:34 [ 77%] Built target template 17:32:34 Scanning dependencies of target device-counter 17:32:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:32:34 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:32:34 [ 80%] Linking C executable device-counter 17:32:34 [ 80%] Built target device-counter 17:32:34 Scanning dependencies of target device-random 17:32:34 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:32:34 [ 84%] Linking C executable device-random 17:32:34 [ 84%] Built target device-random 17:32:35 Scanning dependencies of target device-gyro 17:32:35 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:32:35 [ 87%] Linking C executable device-gyro 17:32:35 [ 87%] Built target device-gyro 17:32:35 Scanning dependencies of target device-bitfields 17:32:35 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:32:35 [ 90%] Linking C executable device-bitfields 17:32:35 [ 90%] Built target device-bitfields 17:32:35 Scanning dependencies of target template-discovery 17:32:35 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:32:35 [ 93%] Linking C executable template-discovery 17:32:35 [ 93%] Built target template-discovery 17:32:35 $ docker top 81126d9b05f52d85f0797ff34625746968eeac204a9c16c2830b7521da8d9447 -eo pid,comm 17:32:36 Scanning dependencies of target device-file 17:32:36 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:32:36 [ 96%] Linking C executable device-file 17:32:36 [ 96%] Built target device-file 17:32:36 Scanning dependencies of target device-terminal 17:32:36 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [Pipeline] { [Pipeline] sh 17:32:36 [100%] Linking C executable device-terminal 17:32:36 [100%] Built target device-terminal 17:32:36 make: Entering directory '/tmp/sdk/build/release' 17:32:36 make[1]: Entering directory '/tmp/sdk/build/release' 17:32:36 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:36 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:36 [ 74%] Built target csdk 17:32:36 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:36 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:36 [ 77%] Built target template 17:32:36 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:36 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:36 [ 80%] Built target device-counter 17:32:36 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:36 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:36 [ 84%] Built target device-random 17:32:36 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:36 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:36 [ 87%] Built target device-gyro 17:32:36 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:36 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:36 [ 90%] Built target device-bitfields 17:32:36 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:36 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:36 [ 93%] Built target template-discovery 17:32:36 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:36 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:36 [ 96%] Built target device-file 17:32:36 make[2]: Entering directory '/tmp/sdk/build/release' 17:32:36 make[2]: Leaving directory '/tmp/sdk/build/release' 17:32:36 [100%] Built target device-terminal 17:32:36 make[1]: Leaving directory '/tmp/sdk/build/release' 17:32:36 Install the project... 17:32:36 -- Install configuration: "Release" 17:32:36 -- Installing: /usr/local/lib/libcsdk.so 17:32:36 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:32:36 -- Up-to-date: /usr/local/include 17:32:36 -- Installing: /usr/local/include/devsdk 17:32:36 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:32:36 -- Installing: /usr/local/include/devsdk/devsdk.h 17:32:36 -- Installing: /usr/local/include/edgex 17:32:36 -- Installing: /usr/local/include/edgex/devices.h 17:32:36 -- Installing: /usr/local/include/edgex/edgex-base.h 17:32:36 -- Installing: /usr/local/include/edgex/edgex.h 17:32:36 -- Installing: /usr/local/include/edgex/profiles.h 17:32:36 -- Installing: /usr/local/include/edgex/rest-server.h 17:32:36 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:32:36 -- Installing: /usr/local/include/iot 17:32:36 -- Installing: /usr/local/include/iot/base64.h 17:32:36 -- Installing: /usr/local/include/iot/component.h 17:32:36 -- Installing: /usr/local/include/iot/config.h 17:32:36 -- Installing: /usr/local/include/iot/container.h 17:32:36 -- Installing: /usr/local/include/iot/data.h 17:32:36 -- Installing: /usr/local/include/iot/hash.h 17:32:36 -- Installing: /usr/local/include/iot/iot.h 17:32:36 -- Installing: /usr/local/include/iot/json.h 17:32:36 -- Installing: /usr/local/include/iot/logger.h 17:32:36 -- Installing: /usr/local/include/iot/os.h 17:32:36 -- Installing: /usr/local/include/iot/scheduler.h 17:32:36 -- Installing: /usr/local/include/iot/thread.h 17:32:36 -- Installing: /usr/local/include/iot/threadpool.h 17:32:36 -- Installing: /usr/local/include/iot/time.h 17:32:36 -- Installing: /usr/local/include/iot/typecode.h 17:32:36 -- Installing: /usr/local/include/iot/os 17:32:36 -- Installing: /usr/local/include/iot/os/linux.h 17:32:36 -- Installing: /usr/local/include/iot/os/macos.h 17:32:36 -- Installing: /usr/local/include/iot/os/zephyr.h 17:32:36 -- Installing: /usr/local/include/iot/defs.h 17:32:36 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:32:36 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:32:36 make: Leaving directory '/tmp/sdk/build/release' 17:32:36 + make test 17:32:36 echo "make test" 17:32:36 make test [Pipeline] } 17:32:36 $ docker stop --time=1 81126d9b05f52d85f0797ff34625746968eeac204a9c16c2830b7521da8d9447 17:32:38 $ docker rm -f 81126d9b05f52d85f0797ff34625746968eeac204a9c16c2830b7521da8d9447 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 17:32:39 Removing intermediate container 70559ab7eae4 17:32:39 ---> 6359bc59dba8 17:32:39 Step 16/25 : FROM ${BASE} 17:32:39 ---> 5eabd8fd8ba2 17:32:39 Step 17/25 : LABEL maintainer="IOTech " 17:32:39 ---> Running in 2181e8d3c700 17:32:39 Removing intermediate container 2181e8d3c700 17:32:39 ---> d58301775732 17:32:39 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 17:32:39 ---> Running in a3e8d13d8eef 17:32:40 Connecting to iotech.jfrog.io (54.74.239.58:443) [Pipeline] sh 17:32:40 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 17:32:40 17:32:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:32:41 Removing intermediate container a3e8d13d8eef 17:32:41 ---> f316e65711af 17:32:41 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:32:41 + ls -al . 17:32:41 total 192 17:32:41 drwxrwxr-x 8 jenkins jenkins 4096 May 12 17:29 . 17:32:41 drwxrwxr-x 4 jenkins jenkins 4096 May 12 17:29 .. 17:32:41 drwxrwxr-x 8 jenkins jenkins 4096 May 12 17:29 .git 17:32:41 drwxrwxr-x 2 jenkins jenkins 4096 May 12 17:29 .github 17:32:41 -rw-rw-r-- 1 jenkins jenkins 176 May 12 17:29 .gitignore 17:32:41 -rw-rw-r-- 1 jenkins jenkins 3104 May 12 17:29 Attribution.txt 17:32:41 -rw-rw-r-- 1 jenkins jenkins 7200 May 12 17:29 CHANGES 17:32:41 -rw-rw-r-- 1 jenkins jenkins 108574 May 12 17:29 Doxyfile 17:32:41 -rw-rw-r-- 1 jenkins jenkins 784 May 12 17:29 Jenkinsfile 17:32:41 -rw-rw-r-- 1 jenkins jenkins 10174 May 12 17:29 LICENSE 17:32:41 -rw-rw-r-- 1 jenkins jenkins 444 May 12 17:29 Makefile 17:32:41 -rw-rw-r-- 1 jenkins jenkins 4090 May 12 17:29 README.md 17:32:41 -rw-rw-r-- 1 jenkins jenkins 6654 May 12 17:29 README.v2.md 17:32:41 -rw-rw-r-- 1 jenkins jenkins 5 May 12 17:27 VERSION 17:32:41 drwxrwxr-x 2 jenkins jenkins 4096 May 12 17:29 docs 17:32:41 drwxrwxr-x 4 jenkins jenkins 4096 May 12 17:29 include 17:32:41 drwxrwxr-x 2 jenkins jenkins 4096 May 12 17:29 scripts 17:32:41 drwxrwxr-x 4 jenkins jenkins 4096 May 12 17:29 src [Pipeline] isUnix [Pipeline] sh 17:32:41 ---> Running in 0f1831ff531a 17:32:41 + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=07bea29bb688e56028cb6db77392d3997be21eae --label arch=arm64 --label version=0.0.0 . 17:32:42 Sending build context to Docker daemon 2.567MB 17:32:42 Step 1/17 : ARG BASE=alpine:3.12 17:32:42 Step 2/17 : FROM ${BASE} 17:32:42 ---> 472d353562aa 17:32:42 Step 3/17 : LABEL maintainer="IOTech " 17:32:42 ---> Running in 3fd9d3c5a0cb 17:32:42 Removing intermediate container 3fd9d3c5a0cb 17:32:42 ---> 8ac332617e2b 17:32:42 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 17:32:43 Removing intermediate container 0f1831ff531a 17:32:43 ---> 14731267a1bf 17:32:43 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 17:32:43 ---> Running in bb1fb089b9dd 17:32:43 ---> Running in a2d7918cace4 17:32:43 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 17:32:44 --2021-05-12 17:32:44-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 17:32:44 Resolving iotech.jfrog.io... 34.243.182.113, 54.229.110.245, 54.74.239.58 17:32:44 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 17:32:44 Connecting to iotech.jfrog.io|34.243.182.113|:443... connected. 17:32:44 HTTP request sent, awaiting response... 200 OK 17:32:44 Length: 451 [application/octet-stream] 17:32:44 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 17:32:44 17:32:44 0K   100% 18.5M=0s 17:32:44 17:32:44 2021-05-12 17:32:44 (18.5 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 17:32:44 17:32:44 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 17:32:45 (1/6) Installing curl (7.64.0-r5) 17:32:45 (2/6) Installing hiredis (0.14.0-r0) 17:32:45 (3/6) Installing hiredis-dev (0.14.0-r0) 17:32:45 (4/6) Installing libuuid (2.33-r0) 17:32:45 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 17:32:45 Removing intermediate container a2d7918cace4 17:32:45 ---> 0ab2c93524b7 17:32:45 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:32:46 ---> Running in add7fd1ac984 17:32:47 (6/6) Installing wget (1.20.3-r0) 17:32:47 Executing busybox-1.29.3-r10.trigger 17:32:47 OK: 269 MiB in 81 packages 17:32:47 Removing intermediate container bb1fb089b9dd 17:32:47 ---> de5d31ebeab3 17:32:47 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 17:32:48 Removing intermediate container add7fd1ac984 17:32:48 ---> 403ac152a5c6 17:32:48 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 17:32:48 ---> Running in 7f2a9990e994 17:32:48 ---> 976ac78bdfd8 17:32:48 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:32:49 ---> d0cec8703c82 17:32:49 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 17:32:49 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 17:32:49 ---> 50f4e40880f3 17:32:49 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 17:32:49 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 17:32:50 ---> 9cdeaae3b936 17:32:50 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:32:50 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 17:32:50 ---> 386d1cade49e 17:32:50 Successfully built 386d1cade49e 17:32:50 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 17:32:51 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 17:32:51 (2/6) Installing libblkid (2.33-r0) 17:32:51 (3/6) Installing libfdisk (2.33-r0) 17:32:51 + docker inspect -f . ci-base-image-x86_64 17:32:51 (4/6) Installing libmount (2.33-r0) 17:32:51 (5/6) Installing libsmartcols (2.33-r0) 17:32:51 (6/6) Installing util-linux-dev (2.33-r0) 17:32:51 Executing busybox-1.29.3-r10.trigger 17:32:51 . [Pipeline] withDockerContainer 17:32:51 OK: 287 MiB in 87 packages 17:32:52 prd-centos7-docker-4c-2g-4732 does not seem to be running inside a container 17:32:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:32:53 Removing intermediate container 7f2a9990e994 17:32:53 ---> a7951a219dcf 17:32:53 Step 7/17 : COPY VERSION /edgex-c-sdk/ 17:32:53 ---> 6107d31c19b5 17:32:53 Step 8/17 : COPY src /edgex-c-sdk/src/ 17:32:54 $ docker top 0a25d34088160772c284ca3de9629602667b1c62b81a36b6d30edf0f4b97c9ba -eo pid,comm [Pipeline] { [Pipeline] sh 17:32:54 ---> 33a2d32f1c49 17:32:54 Step 9/17 : COPY include /edgex-c-sdk/include/ 17:32:54 + make test 17:32:54 echo "make test" 17:32:54 make test [Pipeline] } 17:32:54 $ docker stop --time=1 0a25d34088160772c284ca3de9629602667b1c62b81a36b6d30edf0f4b97c9ba 17:32:55 ---> 8ac6e7ef0707 17:32:55 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 17:32:56 $ docker rm -f 0a25d34088160772c284ca3de9629602667b1c62b81a36b6d30edf0f4b97c9ba 17:32:56 ---> b6d6fa4f2008 17:32:56 Step 11/17 : COPY LICENSE /edgex-c-sdk/ [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:32:57 ---> a89362593364 17:32:57 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 17:32:57 + ls -al . 17:32:57 total 160 17:32:57 drwxrwxr-x. 8 jenkins jenkins 260 May 12 17:31 . 17:32:57 drwxrwxr-x. 4 jenkins jenkins 28 May 12 17:31 .. 17:32:57 -rw-rw-r--. 1 jenkins jenkins 3104 May 12 17:31 Attribution.txt 17:32:57 -rw-rw-r--. 1 jenkins jenkins 7200 May 12 17:31 CHANGES 17:32:57 drwxrwxr-x. 2 jenkins jenkins 121 May 12 17:31 docs 17:32:57 -rw-rw-r--. 1 jenkins jenkins 108574 May 12 17:31 Doxyfile 17:32:57 drwxrwxr-x. 8 jenkins jenkins 179 May 12 17:31 .git 17:32:57 drwxrwxr-x. 2 jenkins jenkins 81 May 12 17:31 .github 17:32:57 -rw-rw-r--. 1 jenkins jenkins 176 May 12 17:31 .gitignore 17:32:57 drwxrwxr-x. 4 jenkins jenkins 33 May 12 17:31 include 17:32:57 -rw-rw-r--. 1 jenkins jenkins 784 May 12 17:31 Jenkinsfile 17:32:57 -rw-rw-r--. 1 jenkins jenkins 10174 May 12 17:31 LICENSE 17:32:57 -rw-rw-r--. 1 jenkins jenkins 444 May 12 17:31 Makefile 17:32:57 -rw-rw-r--. 1 jenkins jenkins 4090 May 12 17:31 README.md 17:32:57 -rw-rw-r--. 1 jenkins jenkins 6654 May 12 17:31 README.v2.md 17:32:57 drwxrwxr-x. 2 jenkins jenkins 98 May 12 17:31 scripts 17:32:57 drwxrwxr-x. 4 jenkins jenkins 50 May 12 17:31 src 17:32:57 -rw-rw-r--. 1 jenkins jenkins 5 May 12 17:27 VERSION [Pipeline] isUnix [Pipeline] sh 17:32:57 ---> f6028e3bd5b2 17:32:57 Step 13/17 : WORKDIR /edgex-c-sdk 17:32:57 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=07bea29bb688e56028cb6db77392d3997be21eae --label arch=amd64 --label version=0.0.0 . 17:32:57 Sending build context to Docker daemon 2.568MB 17:32:57 Step 1/17 : ARG BASE=alpine:3.12 17:32:57 Step 2/17 : FROM ${BASE} 17:32:57 ---> 386d1cade49e 17:32:57 Step 3/17 : LABEL maintainer="IOTech " 17:32:57 ---> Running in 67e2b8b85c1a 17:32:58 Removing intermediate container 67e2b8b85c1a 17:32:58 ---> ddb9b9caff7b 17:32:58 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:32:58 ---> Running in f9fbb61b7eb7 17:32:58 ---> Running in 3cc3cd4698aa 17:32:58 Removing intermediate container 3cc3cd4698aa 17:32:58 ---> 3f69e5834a0d 17:32:58 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 17:32:59 Removing intermediate container f9fbb61b7eb7 17:32:59 ---> 4036b68549c4 17:32:59 Step 15/17 : LABEL arch=arm64 17:32:59 ---> Running in 39d42c8d5b51 17:32:59 ---> Running in fa30b33c74b3 17:32:59 Removing intermediate container 39d42c8d5b51 17:32:59 ---> 42e9811b58d5 17:32:59 Step 16/17 : LABEL git_sha=07bea29bb688e56028cb6db77392d3997be21eae 17:32:59 ---> Running in ab171ac4cbd3 17:32:59 --2021-05-12 17:32:59-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 17:32:59 Resolving iotech.jfrog.io... 54.74.239.58, 34.243.182.113, 54.229.110.245 17:32:59 Connecting to iotech.jfrog.io|54.74.239.58|:443... connected. 17:33:00 HTTP request sent, awaiting response... 200 OK 17:33:00 Length: 451 [application/octet-stream] 17:33:00 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 17:33:00  17:33:00 0K 100% 41.5M=0s 17:33:00 17:33:00 2021-05-12 17:32:59 (41.5 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 17:33:00 17:33:00 Removing intermediate container ab171ac4cbd3 17:33:00 ---> 75b457690ec6 17:33:00 Step 17/17 : LABEL version=0.0.0 17:33:00 ---> Running in 9df406a32222 17:33:00 Removing intermediate container fa30b33c74b3 17:33:00 ---> e90e81be982d 17:33:00 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:33:00 ---> Running in 81b237cf869c 17:33:00 Removing intermediate container 9df406a32222 17:33:00 ---> 038a98f17274 17:33:00 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:33:00 Successfully built 038a98f17274 17:33:00 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:33:02 Removing intermediate container 81b237cf869c 17:33:02 ---> 827de9c63f53 17:33:02 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 17:33:02 ---> Running in 836a778b027e 17:33:02 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 17:33:03 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 17:33:03 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 17:33:04 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 17:33:04 (2/6) Installing libblkid (2.33-r0) 17:33:04 (3/6) Installing libfdisk (2.33-r0) 17:33:04 (4/6) Installing libmount (2.33-r0) 17:33:04 (5/6) Installing libsmartcols (2.33-r0) 17:33:04 (6/6) Installing util-linux-dev (2.33-r0) 17:33:04 Executing busybox-1.29.3-r10.trigger 17:33:04 OK: 273 MiB in 87 packages 17:33:05 Removing intermediate container 836a778b027e 17:33:05 ---> b172388055dc 17:33:05 Step 7/17 : COPY VERSION /edgex-c-sdk/ 17:33:05 ---> cc366f758386 17:33:05 Step 8/17 : COPY src /edgex-c-sdk/src/ 17:33:06 ---> db8ebe7863a8 17:33:06 Step 9/17 : COPY include /edgex-c-sdk/include/ 17:33:07 ---> 40b3625a07d4 17:33:07 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 17:33:07 ---> 6affcb51af56 17:33:07 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 17:33:07 ---> cb12dfd8b1c7 17:33:07 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 17:33:08 ---> 6a4bcaddb80b 17:33:08 Step 13/17 : WORKDIR /edgex-c-sdk 17:33:08 ---> Running in f15379151421 17:33:08 Removing intermediate container f15379151421 17:33:08 ---> a768eec0c118 17:33:08 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:33:08 ---> Running in 2ce662a4af66 17:33:09 Removing intermediate container 2ce662a4af66 17:33:09 ---> 8efc9dddb2c5 17:33:09 Step 15/17 : LABEL arch=amd64 17:33:09 ---> Running in 6096493a299a 17:33:09 Removing intermediate container 6096493a299a 17:33:09 ---> 83ef852470ea 17:33:09 Step 16/17 : LABEL git_sha=07bea29bb688e56028cb6db77392d3997be21eae 17:33:09 ---> Running in 112a3438042d 17:33:09 Removing intermediate container 112a3438042d 17:33:09 ---> b7f9c2b08700 17:33:09 Step 17/17 : LABEL version=0.0.0 17:33:09 ---> Running in 203980af1be8 17:33:10 Removing intermediate container 203980af1be8 17:33:10 ---> 613fff347c2b 17:33:10 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:33:10 Successfully built 613fff347c2b 17:33:10 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) 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 17:33:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:33:11 ---> package-listing.sh 17:33:11 ++ facter osfamily 17:33:11 ++ tr '[:upper:]' '[:lower:]' 17:33:11 + OS_FAMILY=redhat 17:33:11 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-344 17:33:11 + START_PACKAGES=/tmp/packages_start.txt 17:33:11 + END_PACKAGES=/tmp/packages_end.txt 17:33:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:33:11 + PACKAGES=/tmp/packages_start.txt 17:33:11 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-344 ']' 17:33:11 + PACKAGES=/tmp/packages_end.txt 17:33:11 + case "${OS_FAMILY}" in 17:33:11 + rpm -qa 17:33:11 + sort 17:33:17 + '[' -f /tmp/packages_start.txt ']' 17:33:17 + '[' -f /tmp/packages_end.txt ']' 17:33:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:33:17 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-344 ']' 17:33:17 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-344/archives/ 17:33:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-344/archives/ [Pipeline] echo 17:33:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-344/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:33:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:33:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:33:18 17:33:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:33:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:33:18 alpine: Pulling from edgex-lftools-log-publisher 17:33:18 df20fa9351a1: Pulling fs layer 17:33:18 36b3adc4ff6f: Pulling fs layer 17:33:18 8ad3a11d3b57: Pulling fs layer 17:33:18 46f8f816bc3b: Pulling fs layer 17:33:18 93b61091891f: Pulling fs layer 17:33:18 93b9cdb0e59b: Pulling fs layer 17:33:18 5e14af77c1be: Pulling fs layer 17:33:18 01666e4c0597: Pulling fs layer 17:33:18 aa168da1d23b: Pulling fs layer 17:33:18 93b9cdb0e59b: Waiting 17:33:18 5e14af77c1be: Waiting 17:33:18 01666e4c0597: Waiting 17:33:18 aa168da1d23b: Waiting 17:33:18 93b61091891f: Waiting 17:33:18 46f8f816bc3b: Waiting 17:33:18 36b3adc4ff6f: Verifying Checksum 17:33:18 36b3adc4ff6f: Download complete 17:33:18 46f8f816bc3b: Verifying Checksum 17:33:18 46f8f816bc3b: Download complete 17:33:18 df20fa9351a1: Download complete 17:33:18 93b9cdb0e59b: Verifying Checksum 17:33:18 93b9cdb0e59b: Download complete 17:33:18 5e14af77c1be: Verifying Checksum 17:33:18 5e14af77c1be: Download complete 17:33:18 93b61091891f: Verifying Checksum 17:33:18 93b61091891f: Download complete 17:33:18 01666e4c0597: Verifying Checksum 17:33:18 01666e4c0597: Download complete 17:33:18 8ad3a11d3b57: Verifying Checksum 17:33:18 8ad3a11d3b57: Download complete 17:33:19 df20fa9351a1: Pull complete 17:33:19 36b3adc4ff6f: Pull complete 17:33:20 8ad3a11d3b57: Pull complete 17:33:20 46f8f816bc3b: Pull complete 17:33:21 93b61091891f: Pull complete 17:33:21 93b9cdb0e59b: Pull complete 17:33:21 5e14af77c1be: Pull complete 17:33:22 01666e4c0597: Pull complete 17:33:22 aa168da1d23b: Verifying Checksum 17:33:22 aa168da1d23b: Download complete 17:33:32 aa168da1d23b: Pull complete 17:33:32 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:33:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:33:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:33:32 prd-centos7-docker-4c-2g-4730 does not seem to be running inside a container 17:33:32 $ 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-344/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-344 -v /w/workspace/edgexfoundry_device-sdk-c_PR-344:/w/workspace/edgexfoundry_device-sdk-c_PR-344:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-344@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 17:33:36 $ docker top 2c987e1cfb02ebd1111be3fa0fbae23a6f0f192474dc4257923479a59cbf411a -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:37 + touch /tmp/pre-build-complete [Pipeline] sh 17:33:37 + mkdir -p /var/log/sa [Pipeline] sh 17:33:37 + ls /var/log/sa-host 17:33:37 + sadf -c /var/log/sa-host/sa12 17:33:37 file_magic: OK 17:33:37 HZ: Using current value: 100 17:33:37 file_header: OK 17:33:37 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 17:33:37 Statistics: 17:33:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:33:37 File successfully converted to sysstat format version 12.2.1 17:33:37 + sadf -c /var/log/sa-host/sa23 17:33:37 file_magic: OK 17:33:37 HZ: Using current value: 100 17:33:37 file_header: OK 17:33:37 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 17:33:37 Statistics: 17:33:37 Hnuu...uuuununununu... 17:33:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:33:37 provisioning config files... 17:33:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/config968039772439958054tmp [Pipeline] { [Pipeline] echo 17:33:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:33:38 ---> create-netrc.sh [Pipeline] } 17:33:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:33:38 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:33:38 ---> python-tools-install.sh [Pipeline] echo 17:33:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:33:38 ---> sudo-logs.sh 17:33:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:33:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:33:39 ---> job-cost.sh 17:33:39 lf-activate-venv: SKIPPING 17:33:39 INFO: No Stack... 17:33:41 INFO: Retrieving Pricing Info for: v1-standard-2 17:33:41 INFO: Archiving Costs [Pipeline] echo 17:33:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:33:41 ---> logs-deploy.sh 17:33:41 lf-activate-venv: SKIPPING 17:33:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-344/2 17:33:41 INFO: archiving workspace using pattern(s): 17:33:43 Archives upload complete. 17:33:43 INFO: archiving logs to Nexus 17:33:45 ---> uname -a: 17:33:45 Linux prd-centos7-docker-4c-2g-4730.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 17:33:45 17:33:45 17:33:45 ---> lscpu: 17:33:45 Architecture: x86_64 17:33:45 CPU op-mode(s): 32-bit, 64-bit 17:33:45 Byte Order: Little Endian 17:33:45 Address sizes: 40 bits physical, 48 bits virtual 17:33:45 CPU(s): 4 17:33:45 On-line CPU(s) list: 0-3 17:33:45 Thread(s) per core: 1 17:33:45 Core(s) per socket: 1 17:33:45 Socket(s): 4 17:33:45 NUMA node(s): 1 17:33:45 Vendor ID: GenuineIntel 17:33:45 CPU family: 6 17:33:45 Model: 44 17:33:45 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 17:33:45 Stepping: 1 17:33:45 CPU MHz: 2933.436 17:33:45 BogoMIPS: 5866.87 17:33:45 Virtualization: VT-x 17:33:45 Hypervisor vendor: KVM 17:33:45 Virtualization type: full 17:33:45 L1d cache: 128 KiB 17:33:45 L1i cache: 128 KiB 17:33:45 L2 cache: 16 MiB 17:33:45 L3 cache: 64 MiB 17:33:45 NUMA node0 CPU(s): 0-3 17:33:45 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 17:33:45 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 17:33:45 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 17:33:45 Vulnerability Meltdown: Mitigation; PTI 17:33:45 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:33:45 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 17:33:45 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 17:33:45 Vulnerability Srbds: Not affected 17:33:45 Vulnerability Tsx async abort: Not affected 17:33:45 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 17:33:45 17:33:45 17:33:45 ---> nproc: 17:33:45 4 17:33:45 17:33:45 17:33:45 ---> df -h: 17:33:45 Filesystem Size Used Available Use% Mounted on 17:33:45 overlay 50.0G 7.3G 42.7G 15% / 17:33:45 tmpfs 64.0M 0 64.0M 0% /dev 17:33:45 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 17:33:45 shm 64.0M 0 64.0M 0% /dev/shm 17:33:45 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 17:33:45 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 17:33:45 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 17:33:45 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 17:33:45 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 17:33:45 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 17:33:45 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-344 17:33:45 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp 17:33:45 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 17:33:45 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 17:33:45 17:33:45 17:33:45 ---> free -m: 17:33:45 total used free shared buff/cache available 17:33:45 Mem: 1837 728 107 0 1001 1004 17:33:45 Swap: 1023 1 1022 17:33:45 17:33:45 17:33:45 ---> ip addr: 17:33:45 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 17:33:45 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 17:33:45 inet 127.0.0.1/8 scope host lo 17:33:45 valid_lft forever preferred_lft forever 17:33:45 inet6 ::1/128 scope host 17:33:45 valid_lft forever preferred_lft forever 17:33:45 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 17:33:45 link/ether fa:16:3e:62:8c:7a brd ff:ff:ff:ff:ff:ff 17:33:45 inet 10.30.122.237/23 brd 10.30.123.255 scope global dynamic eth0 17:33:45 valid_lft 85974sec preferred_lft 85974sec 17:33:45 inet6 fe80::f816:3eff:fe62:8c7a/64 scope link 17:33:45 valid_lft forever preferred_lft forever 17:33:45 3: docker0: mtu 1500 qdisc noqueue state DOWN 17:33:45 link/ether 02:42:9f:fe:49:3c brd ff:ff:ff:ff:ff:ff 17:33:45 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 17:33:45 valid_lft forever preferred_lft forever 17:33:45 inet6 fe80::42:9fff:fefe:493c/64 scope link 17:33:45 valid_lft forever preferred_lft forever 17:33:45 17:33:45 17:33:45 ---> sar -b -r -n DEV: 17:33:45 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/12/21 _x86_64_ (4 CPU) 17:33:45 17:33:45 17:26:27 LINUX RESTART (4 CPU) 17:33:45 17:33:45 17:27:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:33:45 17:28:02 57.35 16.34 41.01 0.00 4951.14 3870.84 0.00 17:33:45 17:29:01 0.66 0.00 0.66 0.00 0.00 13.63 0.00 17:33:45 17:30:01 0.28 0.00 0.28 0.00 0.00 3.21 0.00 17:33:45 17:31:01 0.23 0.00 0.23 0.00 0.00 2.70 0.00 17:33:45 17:32:01 0.23 0.00 0.23 0.00 0.00 3.51 0.00 17:33:45 17:33:01 0.32 0.00 0.32 0.00 0.00 4.06 0.00 17:33:45 Average: 9.87 2.73 7.14 0.00 827.67 651.57 0.00 17:33:45 17:33:45 17:27:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:33:45 17:28:02 125228 0 615468 32.71 2620 1138228 1120464 38.24 449652 1106248 124 17:33:45 17:29:01 134888 0 605776 32.20 2620 1138260 1060396 36.19 445324 1102268 16 17:33:45 17:30:01 125760 0 614920 32.68 2620 1138244 1060876 36.21 453352 1103356 20 17:33:45 17:31:01 126348 0 614332 32.65 2620 1138244 1060832 36.20 466356 1090196 20 17:33:45 17:32:01 126044 0 614628 32.67 2620 1138252 1060652 36.20 467140 1089608 16 17:33:45 17:33:01 125916 0 614752 32.67 2620 1138256 1060736 36.20 467584 1089608 8 17:33:45 Average: 127364 0 613313 32.60 2620 1138247 1070659 36.54 458235 1096881 34 17:33:45 17:33:45 17:27:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:33:45 17:28:02 eth0 300.40 211.08 1031.88 73.39 0.00 0.00 0.00 0.00 17:33:45 17:28:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:33:45 17:28:02 docker0 8.55 5.79 1.04 23.90 0.00 0.00 0.00 0.00 17:33:45 17:29:01 eth0 0.75 0.08 0.06 0.01 0.00 0.00 0.00 0.00 17:33:45 17:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:33:45 17:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:33:45 17:30:01 eth0 2.20 1.35 3.18 0.24 0.00 0.00 0.00 0.00 17:33:45 17:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:33:45 17:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:33:45 17:31:01 eth0 0.92 0.42 0.32 0.21 0.00 0.00 0.00 0.00 17:33:45 17:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:33:45 17:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:33:45 17:32:01 eth0 0.10 0.10 0.01 0.04 0.00 0.00 0.00 0.00 17:33:45 17:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:33:45 17:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:33:45 17:33:01 eth0 0.32 0.27 0.14 0.08 0.00 0.00 0.00 0.00 17:33:45 17:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:33:45 17:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:33:45 Average: eth0 50.93 35.66 173.12 12.36 0.00 0.00 0.00 0.00 17:33:45 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:33:45 Average: docker0 1.43 0.97 0.17 4.00 0.00 0.00 0.00 0.00 17:33:45 17:33:45 17:33:45 ---> sar -P ALL: 17:33:45 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/12/21 _x86_64_ (4 CPU) 17:33:45 17:33:45 17:26:27 LINUX RESTART (4 CPU) 17:33:45 17:33:45 17:27:01 CPU %user %nice %system %iowait %steal %idle 17:33:45 17:28:02 all 13.76 0.00 4.27 1.01 4.37 76.59 17:33:45 17:28:02 0 15.30 0.00 4.85 0.29 3.79 75.77 17:33:45 17:28:02 1 14.98 0.00 4.20 0.79 4.19 75.83 17:33:45 17:28:02 2 14.30 0.00 4.35 2.81 4.19 74.35 17:33:45 17:28:02 3 10.52 0.00 3.66 0.15 5.32 80.36 17:33:45 17:29:01 all 0.13 0.00 0.06 0.00 0.09 99.71 17:33:45 17:29:01 0 0.05 0.00 0.07 0.00 0.05 99.83 17:33:45 17:29:01 1 0.07 0.00 0.08 0.00 0.12 99.73 17:33:45 17:29:01 2 0.05 0.00 0.05 0.00 0.12 99.78 17:33:45 17:29:01 3 0.36 0.00 0.05 0.00 0.08 99.51 17:33:45 17:30:01 all 0.09 0.00 0.15 0.00 0.40 99.36 17:33:45 17:30:01 0 0.08 0.00 0.08 0.00 0.33 99.50 17:33:45 17:30:01 1 0.05 0.00 0.15 0.00 0.28 99.52 17:33:45 17:30:01 2 0.07 0.00 0.28 0.00 0.28 99.37 17:33:45 17:30:01 3 0.15 0.00 0.08 0.00 0.70 99.07 17:33:45 17:31:01 all 0.14 0.00 0.11 0.00 0.33 99.41 17:33:45 17:31:01 0 0.05 0.00 0.03 0.00 0.33 99.58 17:33:45 17:31:01 1 0.27 0.00 0.08 0.00 0.47 99.19 17:33:45 17:31:01 2 0.23 0.00 0.17 0.00 0.28 99.32 17:33:45 17:31:01 3 0.02 0.00 0.17 0.00 0.25 99.57 17:33:45 17:32:01 all 0.13 0.00 0.03 0.00 0.22 99.62 17:33:45 17:32:01 0 0.05 0.00 0.03 0.00 0.28 99.63 17:33:45 17:32:01 1 0.05 0.00 0.07 0.00 0.37 99.52 17:33:45 17:32:01 2 0.05 0.00 0.02 0.00 0.10 99.83 17:33:45 17:32:01 3 0.37 0.00 0.02 0.00 0.12 99.50 17:33:45 17:33:01 all 0.11 0.00 0.04 0.00 0.37 99.48 17:33:45 17:33:01 0 0.05 0.00 0.05 0.00 0.45 99.45 17:33:45 17:33:01 1 0.03 0.00 0.03 0.00 0.20 99.73 17:33:45 17:33:01 2 0.03 0.00 0.02 0.00 0.40 99.55 17:33:45 17:33:01 3 0.32 0.00 0.07 0.00 0.45 99.17 17:33:45 Average: all 2.39 0.00 0.78 0.17 0.96 95.70 17:33:45 Average: 0 2.58 0.00 0.85 0.05 0.87 95.65 17:33:45 Average: 1 2.56 0.00 0.77 0.13 0.93 95.61 17:33:45 Average: 2 2.45 0.00 0.81 0.47 0.89 95.38 17:33:45 Average: 3 1.97 0.00 0.68 0.02 1.16 96.16 17:33:45 17:33:45 17:33:45