Pull request #347 opened 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 2fea71294381fad78c8f0af6ca161f02faad0d91+6309ba15ff828e808134537d97827cb51d4f1f0b (ff89d0a0a2a67f1516e805e3af095a57df756f3c) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh473749038430656560.key > 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 --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7862628047160927572.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-347/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-347/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh263565473106564885.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-347/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8145977290253769296.key > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8219899790905967202.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-347/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-347/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5289938581507396119.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-16887 in /w/workspace/edgexfoundry_device-sdk-c_PR-347 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-347 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/jenkins-gitclient-ssh7393519585912424486.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 6309ba15ff828e808134537d97827cb51d4f1f0b into PR head commit 2fea71294381fad78c8f0af6ca161f02faad0d91 Merge succeeded, producing 2fea71294381fad78c8f0af6ca161f02faad0d91 Checking out Revision 2fea71294381fad78c8f0af6ca161f02faad0d91 (PR-347) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/jenkins-gitclient-ssh2071717110601575585.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2fea71294381fad78c8f0af6ca161f02faad0d91 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/jenkins-gitclient-ssh4732149573750688587.key > git merge 6309ba15ff828e808134537d97827cb51d4f1f0b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2fea71294381fad78c8f0af6ca161f02faad0d91 # timeout=10 Commit message: "fix: null pointer check for label processing during discovery refactor: microservice names no longer prefixed with edgex- refactor: default ports reassigned fix: operating state field name" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:46:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:46:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:46:51 ========================================================= 12:46:51 EdgeX Global Pipelines Version Info 12:46:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:46:52 ------------------- 12:46:52 stable info: 12:46:52 ------------------- 12:46:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:46:52 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 12:46:52 Message: update stable to v1.0.192 12:46:53 ------------------- 12:46:53 experimental info: 12:46:53 ------------------- 12:46:53 Commited By: **** collab-it+edgex@linuxfoundation.org 12:46:53 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 12:46:53 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:46:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 12:46:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 12:46:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:46:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:46:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:46:55 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 12:46:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 12:46:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 12:46:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:46:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 12:46:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:46:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:46:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:46:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:46:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:46:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:46:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:46:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-347 [Pipeline] echo 12:46:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-347 [Pipeline] echo 12:46:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-347 [Pipeline] echo 12:46:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2fea71294381fad78c8f0af6ca161f02faad0d91 [Pipeline] echo 12:46:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2fea712 [Pipeline] echo 12:46:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:46:59 provisioning config files... 12:46:59 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/config5315485453444636530tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:46:59 ---> docker-login.sh 12:46:59 nexus3.edgexfoundry.org:10001 12:46:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:46:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:46:59 Configure a credential helper to remove this warning. See 12:46:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:46:59 12:46:59 Login Succeeded 12:46:59 nexus3.edgexfoundry.org:10002 12:46:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:46:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:46:59 Configure a credential helper to remove this warning. See 12:46:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:46:59 12:46:59 Login Succeeded 12:46:59 nexus3.edgexfoundry.org:10003 12:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:47:00 Configure a credential helper to remove this warning. See 12:47:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:47:00 12:47:00 Login Succeeded 12:47:00 nexus3.edgexfoundry.org:10004 12:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:47:00 Configure a credential helper to remove this warning. See 12:47:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:47:00 12:47:00 Login Succeeded 12:47:00 docker.io 12:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:47:00 Configure a credential helper to remove this warning. See 12:47:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:47:00 12:47:00 Login Succeeded 12:47:00 ---> docker-login.sh ends [Pipeline] } 12:47:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 12:47:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:47:10 12:47:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:47:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:47:10 latest: Pulling from edgex-devops/git-semver 12:47:10 31603596830f: Pulling fs layer 12:47:10 54011a49482f: Pulling fs layer 12:47:10 a6820b24f6d8: Pulling fs layer 12:47:10 f581987b2513: Pulling fs layer 12:47:10 f581987b2513: Waiting 12:47:10 54011a49482f: Verifying Checksum 12:47:10 54011a49482f: Download complete 12:47:11 31603596830f: Verifying Checksum 12:47:11 31603596830f: Download complete 12:47:11 a6820b24f6d8: Verifying Checksum 12:47:11 a6820b24f6d8: Download complete 12:47:11 31603596830f: Pull complete 12:47:11 f581987b2513: Verifying Checksum 12:47:11 f581987b2513: Download complete 12:47:11 54011a49482f: Pull complete 12:47:12 a6820b24f6d8: Pull complete 12:47:12 f581987b2513: Pull complete 12:47:12 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 12:47:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:47:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:47:12 prd-centos7-docker-4c-2g-16887 does not seem to be running inside a container 12:47:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-347 -v /w/workspace/edgexfoundry_device-sdk-c_PR-347:/w/workspace/edgexfoundry_device-sdk-c_PR-347:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-347@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:47:14 $ docker top 453438b6b48218a93c54a5b3aab8a8abcb321ea83e3b6ee9b0866669cd749940 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:47:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:47:14 [ssh-agent] Looking for ssh-agent implementation... 12:47:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:47:14 $ docker exec 453438b6b48218a93c54a5b3aab8a8abcb321ea83e3b6ee9b0866669cd749940 ssh-agent 12:47:14 SSH_AUTH_SOCK=/tmp/ssh-iuy3oO4OvS4h/agent.15 12:47:14 SSH_AGENT_PID=20 12:47:14 Running ssh-add (command line suppressed) 12:47:14 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/private_key_1473059838451923273.key (/w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/private_key_1473059838451923273.key) 12:47:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:47:15 + git tag --points-at HEAD [Pipeline] } 12:47:15 $ docker exec --env ******** --env ******** 453438b6b48218a93c54a5b3aab8a8abcb321ea83e3b6ee9b0866669cd749940 ssh-agent -k 12:47:15 unset SSH_AUTH_SOCK; 12:47:15 unset SSH_AGENT_PID; 12:47:15 echo Agent pid 20 killed; 12:47:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:47:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:47:15 [ssh-agent] Looking for ssh-agent implementation... 12:47:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:47:15 $ docker exec 453438b6b48218a93c54a5b3aab8a8abcb321ea83e3b6ee9b0866669cd749940 ssh-agent 12:47:15 SSH_AUTH_SOCK=/tmp/ssh-dKE38NzdvUTr/agent.53 12:47:15 SSH_AGENT_PID=60 12:47:15 Running ssh-add (command line suppressed) 12:47:15 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/private_key_8784018600492555747.key (/w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/private_key_8784018600492555747.key) 12:47:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:47:17 + git semver init 12:47:17 # -> Open(): unable to determine branch for HEAD 12:47:17 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-347/.git 12:47:17 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-347 12:47:17 # $SEMVER_REMOTE_NAME = origin 12:47:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:47:17 # $SEMVER_USER_NAME = edgex-jenkins 12:47:17 # $SEMVER_BRANCH = PR-347 12:47:17 # $SEMVER_TEMP = /tmp/semver-003303444 12:47:17 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 12:47:17 # '/tmp/semver-003303444' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-347/.semver' 12:47:17 # -> Force: false 12:47:17 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-347/.semver [Pipeline] } 12:47:17 $ docker exec --env ******** --env ******** 453438b6b48218a93c54a5b3aab8a8abcb321ea83e3b6ee9b0866669cd749940 ssh-agent -k 12:47:17 unset SSH_AUTH_SOCK; 12:47:17 unset SSH_AGENT_PID; 12:47:17 echo Agent pid 60 killed; 12:47:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:47:18 + git semver [Pipeline] } 12:47:18 $ docker stop --time=1 453438b6b48218a93c54a5b3aab8a8abcb321ea83e3b6ee9b0866669cd749940 12:47:19 $ docker rm -f 453438b6b48218a93c54a5b3aab8a8abcb321ea83e3b6ee9b0866669cd749940 [Pipeline] // withDockerContainer [Pipeline] sh 12:47:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:47:20 Stashed 1 file(s) [Pipeline] echo 12:47:20 [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 12:47:37 Still waiting to schedule task 12:47:37 Waiting for next available executor on ‘centos7-docker-4c-2g’ 12:47:37 Still waiting to schedule task 12:47:37 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 12:49:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16888 in /w/workspace/edgexfoundry_device-sdk-c_PR-347 [Pipeline] { [Pipeline] ws 12:49:46 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 12:49:46 Selected Git installation does not exist. Using Default 12:49:46 The recommended git tool is: NONE 12:49:58 using credential edgex-jenkins-ssh 12:49:58 Cloning the remote Git repository 12:49:58 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 12:49:58 > git init /w/workspace/device-sdk-c/1 # timeout=10 12:49:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:49:58 > git --version # timeout=10 12:49:58 > git --version # 'git version 2.17.1' 12:49:58 using GIT_SSH to set credentials SSH Credentials for GitHub 12:49:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:49:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:49:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:49:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:49:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:49:59 using GIT_SSH to set credentials SSH Credentials for GitHub 12:49:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:50:00 Merging remotes/origin/master commit 6309ba15ff828e808134537d97827cb51d4f1f0b into PR head commit 2fea71294381fad78c8f0af6ca161f02faad0d91 12:50:00 Merge succeeded, producing 2fea71294381fad78c8f0af6ca161f02faad0d91 12:50:00 Checking out Revision 2fea71294381fad78c8f0af6ca161f02faad0d91 (PR-347) 12:50:00 > git config core.sparsecheckout # timeout=10 12:50:00 > git checkout -f 2fea71294381fad78c8f0af6ca161f02faad0d91 # timeout=10 12:50:00 > git remote # timeout=10 12:50:00 > git config --get remote.origin.url # timeout=10 12:50:00 using GIT_SSH to set credentials SSH Credentials for GitHub 12:50:00 > git merge 6309ba15ff828e808134537d97827cb51d4f1f0b # timeout=10 12:50:00 > git rev-parse HEAD^{commit} # timeout=10 12:50:00 > git config core.sparsecheckout # timeout=10 12:50:00 > git checkout -f 2fea71294381fad78c8f0af6ca161f02faad0d91 # timeout=10 12:50:06 Commit message: "fix: null pointer check for label processing during discovery refactor: microservice names no longer prefixed with edgex- refactor: default ports reassigned fix: operating state field name" 12:50:06 > git --version # timeout=10 12:50:06 > git --version # 'git version 2.17.1' 12:50:06 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:50:08 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 12:50:08 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 12:50:10 + true 12:50:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:50:31 provisioning config files... 12:50:31 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config5978502669497629105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:50:31 ---> docker-login.sh 12:50:31 nexus3.edgexfoundry.org:10001 12:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:33 Configure a credential helper to remove this warning. See 12:50:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:33 12:50:33 Login Succeeded 12:50:33 nexus3.edgexfoundry.org:10002 12:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:33 Configure a credential helper to remove this warning. See 12:50:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:33 12:50:33 Login Succeeded 12:50:33 nexus3.edgexfoundry.org:10003 12:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:34 Configure a credential helper to remove this warning. See 12:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:34 12:50:34 Login Succeeded 12:50:34 nexus3.edgexfoundry.org:10004 12:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:34 Configure a credential helper to remove this warning. See 12:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:34 12:50:34 Login Succeeded 12:50:34 docker.io 12:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:35 Configure a credential helper to remove this warning. See 12:50:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:35 12:50:35 Login Succeeded 12:50:35 ---> docker-login.sh ends [Pipeline] } 12:50:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:50:36 ========================================================= 12:50:36 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 12:50:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:50:38 + 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 . 12:50:39 Sending build context to Docker daemon 2.684MB 12:50:39 Step 1/25 : ARG BASE=alpine:3.12 12:50:39 Step 2/25 : FROM ${BASE} as builder 12:50:39 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 12:50:39 0362ad1dd800: Pulling fs layer 12:50:39 f2cdb1532d8b: Pulling fs layer 12:50:39 37ed683be191: Pulling fs layer 12:50:39 f2cdb1532d8b: Download complete 12:50:39 0362ad1dd800: Verifying Checksum 12:50:39 0362ad1dd800: Download complete 12:50:40 0362ad1dd800: Pull complete 12:50:40 f2cdb1532d8b: Pull complete 12:50:42 37ed683be191: Download complete 12:50:52 37ed683be191: Pull complete 12:50:52 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 12:50:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 12:50:52 ---> b23d30803547 12:50:52 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 12:50:52 ---> Running in 6d52fb089498 12:50:53 Connecting to iotech.jfrog.io (54.74.239.58:443) 12:50:53 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 12:50:53 12:50:54 Removing intermediate container 6d52fb089498 12:50:54 ---> f499f17a3432 12:50:54 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:50:54 ---> Running in 3529829f5ef7 12:50:56 Removing intermediate container 3529829f5ef7 12:50:56 ---> 21f98f62bd7d 12:50:56 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 12:50:56 ---> Running in d69745b34af7 12:50:57 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 12:50:59 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 12:50:59 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 12:50:59 (1/11) Installing hiredis (0.14.0-r0) 12:51:00 (2/11) Installing hiredis-dev (0.14.0-r0) 12:51:00 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 12:51:00 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 12:51:01 (5/11) Installing libuuid (2.33-r0) 12:51:01 (6/11) Installing libblkid (2.33-r0) 12:51:02 (7/11) Installing libfdisk (2.33-r0) 12:51:02 (8/11) Installing libmount (2.33-r0) 12:51:02 (9/11) Installing libsmartcols (2.33-r0) 12:51:02 (10/11) Installing util-linux-dev (2.33-r0) 12:51:02 (11/11) Installing wget (1.20.3-r0) 12:51:02 Executing busybox-1.29.3-r10.trigger 12:51:02 OK: 287 MiB in 86 packages 12:51:04 Removing intermediate container d69745b34af7 12:51:04 ---> 0e5139bde948 12:51:04 Step 6/25 : ENV CBOR_VERSION=0.5.0 12:51:04 ---> Running in 58b57bfa0818 12:51:04 Removing intermediate container 58b57bfa0818 12:51:04 ---> 8a65cdbdafd2 12:51:04 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 12:51:04 ---> Running in eac5986af5e7 12:51:07 --2021-05-24 12:51:06-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 12:51:07 Resolving github.com... 140.82.114.3 12:51:07 Connecting to github.com|140.82.114.3|:443... connected. 12:51:07 HTTP request sent, awaiting response... 302 Found 12:51:07 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 12:51:07 --2021-05-24 12:51:06-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 12:51:07 Resolving codeload.github.com... 140.82.113.9 12:51:07 Connecting to codeload.github.com|140.82.113.9|:443... connected. 12:51:07 HTTP request sent, awaiting response... 200 OK 12:51:07 Length: unspecified [application/x-gzip] 12:51:07 Saving to: 'STDOUT' 12:51:07 12:51:07 0K .......... .......... .......... .......... .......... 1.40M 12:51:07 50K .......... .......... .......... .......... .......... 2.87M 12:51:07 100K .......... .......... .......... .......... .......... 2.91M 12:51:07 150K .......... .......... .......... .......... .......... 13.6M 12:51:07 200K .......... .......... .......... .......... .......... 15.2M 12:51:07 250K .......... .......... .......... .......... .......... 3.42M 12:51:07 300K .......... .......... .......... .......... .......... 4.98M 12:51:07 350K .......... .......... .......... .......... .......... 6.09M 12:51:07 400K .......... .......... .......... .......... .......... 3.74M 12:51:07 450K .......... .......... .......... .......... .......... 4.57M 12:51:07 500K .......... .......... .......... .......... .......... 9.53M 12:51:07 550K .......... .......... .......... .......... .......... 2.62M 12:51:07 600K .......... .......... .......... .......... .......... 906K 12:51:07 650K .......... .......... .......... .......... .......... 2.77M 12:51:07 700K ..   11.2M=0.2s 12:51:07 12:51:07 2021-05-24 12:51:06 (3.01 MB/s) - written to stdout [719348] 12:51:07 12:51:07 -- The C compiler identification is GNU 8.3.0 12:51:07 -- The CXX compiler identification is GNU 8.3.0 12:51:07 -- Check for working C compiler: /usr/bin/cc 12:51:07 -- Check for working C compiler: /usr/bin/cc -- works 12:51:07 -- Detecting C compiler ABI info 12:51:08 -- Detecting C compiler ABI info - done 12:51:08 -- Detecting C compile features 12:51:10 -- Detecting C compile features - done 12:51:10 -- Check for working CXX compiler: /usr/bin/c++ 12:51:10 -- Check for working CXX compiler: /usr/bin/c++ -- works 12:51:10 -- Detecting CXX compiler ABI info 12:51:10 -- Detecting CXX compiler ABI info - done 12:51:10 -- Detecting CXX compile features 12:51:10 -- Detecting CXX compile features - done 12:51:10 -- Looking for include file endian.h 12:51:11 -- Looking for include file endian.h - found 12:51:11 -- Check if the system is big endian 12:51:11 -- Searching 16 bit integer 12:51:11 -- Looking for sys/types.h 12:51:11 -- Looking for sys/types.h - found 12:51:11 -- Looking for stdint.h 12:51:11 -- Looking for stdint.h - found 12:51:11 -- Looking for stddef.h 12:51:11 -- Looking for stddef.h - found 12:51:11 -- Check size of unsigned short 12:51:11 -- Check size of unsigned short - done 12:51:11 -- Using unsigned short 12:51:12 -- Check if the system is big endian - little endian 12:51:12 -- Check size of size_t 12:51:12 -- Check size of size_t - done 12:51:12 CMake Warning at examples/CMakeLists.txt:16 (find_package): 12:51:12 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 12:51:12 asked CMake to find a package configuration file provided by "cJSON", but 12:51:12 CMake did not find one. 12:51:12 12:51:12 Could not find a package configuration file provided by "cJSON" with any of 12:51:12 the following names: 12:51:12 12:51:12 cJSONConfig.cmake 12:51:12 cjson-config.cmake 12:51:12 12:51:12 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 12:51:12 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 12:51:12 provides a separate development package or SDK, be sure it has been 12:51:12 installed. 12:51:12 12:51:12 12:51:12 -- Configuring done 12:51:12 -- Generating done 12:51:12 -- Build files have been written to: /tmp/cbor 12:51:12 Scanning dependencies of target cbor_shared 12:51:12 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 12:51:13 Running on prd-centos7-docker-4c-2g-16889 in /w/workspace/edgexfoundry_device-sdk-c_PR-347 [Pipeline] { 12:51:15 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 12:51:15 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 12:51:15 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 12:51:15 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 12:51:15 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 12:51:15 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 12:51:15 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [Pipeline] ws 12:51:15 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 12:51:15 Selected Git installation does not exist. Using Default 12:51:15 The recommended git tool is: NONE 12:51:15 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 12:51:16 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 12:51:18 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 12:51:18 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 12:51:18 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 12:51:18 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 12:51:18 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 12:51:18 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 12:51:18 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 12:51:18 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 12:51:18 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 12:51:19 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 12:51:21 [ 40%] Linking C shared library libcbor.so 12:51:21 [ 40%] Built target cbor_shared 12:51:21 Scanning dependencies of target cbor 12:51:21 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 12:51:21 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 12:51:21 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 12:51:21 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 12:51:21 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 12:51:22 using credential edgex-jenkins-ssh 12:51:22 Cloning the remote Git repository 12:51:22 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 12:51:22 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 12:51:22 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 12:51:22 > git init /w/workspace/device-sdk-c/1 # timeout=10 12:51:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:51:22 > git --version # timeout=10 12:51:22 > git --version # 'git version 2.24.4' 12:51:22 using GIT_SSH to set credentials SSH Credentials for GitHub 12:51:22 [INFO] Currently running in a labeled security context 12:51:22 [INFO] Currently SELinux is 'enforcing' on the host 12:51:22 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh42801318639130438.key 12:51:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:51:22 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 12:51:22 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 12:51:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:51:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:51:24 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 12:51:24 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 12:51:24 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 12:51:24 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 12:51:24 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 12:51:25 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 12:51:25 Merging remotes/origin/master commit 6309ba15ff828e808134537d97827cb51d4f1f0b into PR head commit 2fea71294381fad78c8f0af6ca161f02faad0d91 12:51:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:51:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:51:24 using GIT_SSH to set credentials SSH Credentials for GitHub 12:51:24 [INFO] Currently running in a labeled security context 12:51:24 [INFO] Currently SELinux is 'enforcing' on the host 12:51:24 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh838786168688072545.key 12:51:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:51:25 > git config core.sparsecheckout # timeout=10 12:51:25 > git checkout -f 2fea71294381fad78c8f0af6ca161f02faad0d91 # timeout=10 12:51:25 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 12:51:25 Merge succeeded, producing 2fea71294381fad78c8f0af6ca161f02faad0d91 12:51:25 Checking out Revision 2fea71294381fad78c8f0af6ca161f02faad0d91 (PR-347) 12:51:25 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 12:51:25 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 12:51:26 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 12:51:26 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 12:51:25 > git remote # timeout=10 12:51:25 > git config --get remote.origin.url # timeout=10 12:51:25 using GIT_SSH to set credentials SSH Credentials for GitHub 12:51:25 [INFO] Currently running in a labeled security context 12:51:25 [INFO] Currently SELinux is 'enforcing' on the host 12:51:25 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh2898295822915815833.key 12:51:25 > git merge 6309ba15ff828e808134537d97827cb51d4f1f0b # timeout=10 12:51:25 > git rev-parse HEAD^{commit} # timeout=10 12:51:25 > git config core.sparsecheckout # timeout=10 12:51:25 > git checkout -f 2fea71294381fad78c8f0af6ca161f02faad0d91 # timeout=10 12:51:26 [ 80%] Linking C static library libcbor.a 12:51:26 [ 80%] Built target cbor 12:51:26 Scanning dependencies of target create_items 12:51:26 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 12:51:26 [ 84%] Linking C executable create_items 12:51:26 [ 84%] Built target create_items 12:51:26 Scanning dependencies of target readfile 12:51:26 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 12:51:27 [ 88%] Linking C executable readfile 12:51:27 [ 88%] Built target readfile 12:51:27 Scanning dependencies of target streaming_parser 12:51:27 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 12:51:27 [ 92%] Linking C executable streaming_parser 12:51:27 [ 92%] Built target streaming_parser 12:51:27 Scanning dependencies of target sort 12:51:27 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 12:51:28 [ 96%] Linking C executable sort 12:51:28 [ 96%] Built target sort 12:51:28 Scanning dependencies of target hello 12:51:28 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 12:51:28 [100%] Linking C executable hello 12:51:28 [100%] Built target hello 12:51:28 Install the project... 12:51:28 -- Install configuration: "Release" 12:51:28 -- Installing: /usr/local/include/cbor/configuration.h 12:51:28 -- Installing: /usr/local/lib64/libcbor.a 12:51:28 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 12:51:28 -- Installing: /usr/local/lib64/libcbor.so.0 12:51:28 -- Installing: /usr/local/lib64/libcbor.so 12:51:28 -- Up-to-date: /usr/local/include/cbor 12:51:28 -- Installing: /usr/local/include/cbor/streaming.h 12:51:28 -- Installing: /usr/local/include/cbor/ints.h 12:51:28 -- Installing: /usr/local/include/cbor/floats_ctrls.h 12:51:28 -- Installing: /usr/local/include/cbor/bytestrings.h 12:51:28 -- Installing: /usr/local/include/cbor/encoding.h 12:51:28 -- Installing: /usr/local/include/cbor/serialization.h 12:51:28 -- Installing: /usr/local/include/cbor/data.h 12:51:28 -- Installing: /usr/local/include/cbor/common.h 12:51:28 -- Installing: /usr/local/include/cbor/callbacks.h 12:51:28 -- Installing: /usr/local/include/cbor/strings.h 12:51:28 -- Installing: /usr/local/include/cbor/tags.h 12:51:28 -- Installing: /usr/local/include/cbor/internal 12:51:28 -- Installing: /usr/local/include/cbor/internal/encoders.h 12:51:28 -- Installing: /usr/local/include/cbor/internal/loaders.h 12:51:28 -- Installing: /usr/local/include/cbor/internal/stack.h 12:51:28 -- Installing: /usr/local/include/cbor/internal/unicode.h 12:51:28 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 12:51:28 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 12:51:28 -- Installing: /usr/local/include/cbor/arrays.h 12:51:28 -- Installing: /usr/local/include/cbor/maps.h 12:51:28 -- Installing: /usr/local/include/cbor.h 12:51:28 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 12:51:28 Commit message: "fix: null pointer check for label processing during discovery refactor: microservice names no longer prefixed with edgex- refactor: default ports reassigned fix: operating state field name" 12:51:29 > git --version # timeout=10 12:51:29 > git --version # 'git version 2.24.4' 12:51:29 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { 12:51:31 Removing intermediate container eac5986af5e7 12:51:31 ---> 83b2698103c7 12:51:31 Step 8/25 : RUN mkdir /tmp/sdk 12:51:31 ---> Running in f26e9e34dfa6 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:51:32 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 12:51:32 Removing intermediate container f26e9e34dfa6 12:51:32 ---> 078605c2d6cc 12:51:32 Step 9/25 : COPY VERSION /tmp/sdk 12:51:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 12:51:32 + sudo service docker restart 12:51:32 + true 12:51:32 Redirecting to /bin/systemctl restart docker.service 12:51:33 ---> fab09d1d1e10 12:51:33 Step 10/25 : COPY src /tmp/sdk/src 12:51:35 ---> e25aafc412ee 12:51:35 Step 11/25 : COPY include /tmp/sdk/include 12:51:35 ---> 6d0275df6ed8 12:51:35 Step 12/25 : COPY scripts /tmp/sdk/scripts 12:51:35 ---> 656dc5e800f6 12:51:35 Step 13/25 : COPY LICENSE /tmp/sdk 12:51:36 ---> 586f50fa225d 12:51:36 Step 14/25 : COPY Attribution.txt /tmp/sdk 12:51:37 ---> 17573930b9de 12:51:37 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 12:51:37 ---> Running in 9be7fe269e55 12:51:38 + CPPCHECK=false 12:51:38 + DOCGEN=false 12:51:38 + TOMLVER=SDK-0.2 12:51:38 + CUTILVER=1.1.4 12:51:38 + '[' 0 -gt 0 ] 12:51:38 + readlink -f ./scripts/build.sh 12:51:38 + dirname /tmp/sdk/scripts/build.sh 12:51:38 + dirname /tmp/sdk/scripts 12:51:38 + ROOT=/tmp/sdk 12:51:38 + cd /tmp/sdk 12:51:38 + '[' '!' -d deps ] 12:51:38 + mkdir deps 12:51:38 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:51:38 + tar -C deps -z -x -f - 12:51:38 --2021-05-24 12:51:38-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:51:38 Resolving github.com... 140.82.114.3 12:51:38 Connecting to github.com|140.82.114.3|:443... connected. 12:51:38 HTTP request sent, awaiting response... 302 Found 12:51:38 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 12:51:38 --2021-05-24 12:51:38-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 12:51:38 Resolving codeload.github.com... 140.82.113.9 12:51:38 Connecting to codeload.github.com|140.82.113.9|:443... connected. 12:51:38 HTTP request sent, awaiting response... 200 OK 12:51:38 Length: unspecified [application/x-gzip] 12:51:38 Saving to: 'STDOUT' 12:51:38  12:51:38 0K .......... ......  953K=0.02s 12:51:38 12:51:38 2021-05-24 12:51:38 (953 KB/s) - written to stdout [16451] 12:51:38 12:51:38 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 12:51:38 + + tar -C deps -z -x -f - 12:51:38 wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 12:51:38 --2021-05-24 12:51:38-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 12:51:39 Resolving github.com... 140.82.114.3 12:51:39 Connecting to github.com|140.82.114.3|:443... connected. 12:51:39 HTTP request sent, awaiting response... 302 Found 12:51:39 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 12:51:39 --2021-05-24 12:51:39-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 12:51:39 Resolving codeload.github.com... 140.82.113.9 12:51:39 Connecting to codeload.github.com|140.82.113.9|:443... connected. 12:51:39 HTTP request sent, awaiting response... 200 OK 12:51:39 Length: unspecified [application/x-gzip] 12:51:39 Saving to: 'STDOUT' 12:51:39  12:51:39 0K .......... .......... .......... .......... .......... 1.59M 12:51:39 50K .......... .......... .......... .......... .......... 3.14M 12:51:39 100K .......... .......... .......... .......... .......... 4.52M 12:51:39 150K .......... .......... ....... 1.61M=0.07s 12:51:39 12:51:39 2021-05-24 12:51:39 (2.35 MB/s) - written to stdout [181796] 12:51:39 12:51:39 + mkdir -p src/c/iot 12:51:39 + 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 12:51:39 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 12:51:39 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 12:51:39 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 12:51:39 + mkdir -p include/iot 12:51:39 + 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 12:51:39 + mkdir -p include/iot/os 12:51:39 + 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 12:51:39 + mkdir -p /tmp/sdk/build/release 12:51:39 + cd /tmp/sdk/build/release 12:51:39 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 12:51:39 -- The C compiler identification is GNU 8.3.0 12:51:39 -- Check for working C compiler: /usr/bin/cc 12:51:39 -- Check for working C compiler: /usr/bin/cc -- works 12:51:39 -- Detecting C compiler ABI info 12:51:40 -- Detecting C compiler ABI info - done 12:51:40 -- Detecting C compile features 12:51:41 -- Detecting C compile features - done 12:51:41 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:51:41 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:51:41 -- Found LIBYAML: /usr/lib/libyaml.so 12:51:41 -- Found LIBUUID: /usr/lib/libuuid.so 12:51:41 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:51:41 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:51:41 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:51:41 -- C SDK 0.0.0 for Linux 12:51:41 -- Performing Test CSDK_HAVE_ATOMIC 12:51:41 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:51:41 -- Found Curses: /usr/lib/libcurses.so 12:51:41 -- Configuring done 12:51:41 -- Generating done 12:51:41 -- Build files have been written to: /tmp/sdk/build/release 12:51:41 + make all package 12:51:41 + tee release.log 12:51:42 Scanning dependencies of target csdk 12:51:42 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:51:42 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:51:43 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:51:44 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:51:45 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:51:45 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 12:51:46 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 12:51:46 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 12:51:46 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:51:49 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:51:49 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:51:49 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:51:50 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:51:50 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:51:51 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:51:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:51:51 provisioning config files... 12:51:51 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7127109786209648638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:51:51 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:51:51 ---> docker-login.sh 12:51:51 nexus3.edgexfoundry.org:10001 12:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:53 Configure a credential helper to remove this warning. See 12:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:53 12:51:53 Login Succeeded 12:51:53 nexus3.edgexfoundry.org:10002 12:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:53 Configure a credential helper to remove this warning. See 12:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:53 12:51:53 Login Succeeded 12:51:53 nexus3.edgexfoundry.org:10003 12:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:53 Configure a credential helper to remove this warning. See 12:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:53 12:51:53 Login Succeeded 12:51:53 nexus3.edgexfoundry.org:10004 12:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:53 Configure a credential helper to remove this warning. See 12:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:53 12:51:53 Login Succeeded 12:51:53 docker.io 12:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:54 Configure a credential helper to remove this warning. See 12:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:54 12:51:54 Login Succeeded 12:51:54 ---> docker-login.sh ends [Pipeline] } 12:51:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:51:54 ========================================================= 12:51:54 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 12:51:54 ========================================================= 12:51:56 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:51:56 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:51:56 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:51:56 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:51:56 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:51:56 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [Pipeline] isUnix [Pipeline] sh 12:51:56 + 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 . 12:51:56 Sending build context to Docker daemon 2.685MB 12:51:56 Step 1/25 : ARG BASE=alpine:3.12 12:51:56 Step 2/25 : FROM ${BASE} as builder 12:51:57 latest: Pulling from edgex-devops/edgex-gcc-base 12:51:57 e7c96db7181b: Pulling fs layer 12:51:57 4c13bbce0fe7: Pulling fs layer 12:51:57 6059c847ac2f: Pulling fs layer 12:51:57 4c13bbce0fe7: Verifying Checksum 12:51:57 4c13bbce0fe7: Download complete 12:51:57 e7c96db7181b: Verifying Checksum 12:51:57 e7c96db7181b: Download complete 12:51:57 e7c96db7181b: Pull complete 12:51:58 4c13bbce0fe7: Pull complete 12:51:58 6059c847ac2f: Verifying Checksum 12:51:58 6059c847ac2f: Download complete 12:51:59 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:51:59 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:51:59 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:51:59 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:52:00 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:52:00 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:52:01 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:52:01 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:52:02 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:52:02 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:52:04 6059c847ac2f: Pull complete 12:52:04 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 12:52:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 12:52:04 ---> 5eabd8fd8ba2 12:52:04 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 12:52:04 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:52:04 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:52:05 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:52:05 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:52:09 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:52:10 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:52:10 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:52:13 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:52:13 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:52:13 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:52:15 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:52:16 ---> Running in 7e77a87486ef 12:52:16 Connecting to iotech.jfrog.io (34.243.182.113:443) 12:52:16 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 12:52:16 12:52:17 Removing intermediate container 7e77a87486ef 12:52:17 ---> 87ea1f24b13b 12:52:17 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:52:17 ---> Running in 50ebe35f84f0 12:52:18 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:52:18 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:52:19 [ 74%] Linking C shared library libcsdk.so 12:52:19 [ 74%] Built target csdk 12:52:19 Scanning dependencies of target template 12:52:19 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:52:19 Removing intermediate container 50ebe35f84f0 12:52:19 ---> b62faeaf2ea9 12:52:19 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 12:52:19 ---> Running in 05491d6c20ed 12:52:19 [ 77%] Linking C executable template 12:52:19 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 12:52:20 [ 77%] Built target template 12:52:20 Scanning dependencies of target device-counter 12:52:20 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:52:20 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 12:52:20 [ 80%] Linking C executable device-counter 12:52:20 [ 80%] Built target device-counter 12:52:20 Scanning dependencies of target device-random 12:52:20 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:52:21 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 12:52:21 [ 84%] Linking C executable device-random 12:52:21 [ 84%] Built target device-random 12:52:21 Scanning dependencies of target device-gyro 12:52:21 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:52:21 (1/11) Installing hiredis (0.14.0-r0) 12:52:21 (2/11) Installing hiredis-dev (0.14.0-r0) 12:52:21 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 12:52:21 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 12:52:22 [ 87%] Linking C executable device-gyro 12:52:22 [ 87%] Built target device-gyro 12:52:22 Scanning dependencies of target device-bitfields 12:52:22 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:52:22 [ 90%] Linking C executable device-bitfields 12:52:22 [ 90%] Built target device-bitfields 12:52:22 Scanning dependencies of target template-discovery 12:52:22 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:52:23 (5/11) Installing libuuid (2.33-r0) 12:52:23 (6/11) Installing libblkid (2.33-r0) 12:52:23 (7/11) Installing libfdisk (2.33-r0) 12:52:23 [ 93%] Linking C executable template-discovery 12:52:23 (8/11) Installing libmount (2.33-r0) 12:52:23 (9/11) Installing libsmartcols (2.33-r0) 12:52:23 (10/11) Installing util-linux-dev (2.33-r0) 12:52:23 [ 93%] Built target template-discovery 12:52:23 Scanning dependencies of target device-file 12:52:23 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:52:24 (11/11) Installing wget (1.20.3-r0) 12:52:24 Executing busybox-1.29.3-r10.trigger 12:52:24 OK: 273 MiB in 86 packages 12:52:24 [ 96%] Linking C executable device-file 12:52:24 [ 96%] Built target device-file 12:52:24 Scanning dependencies of target device-terminal 12:52:24 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:52:25 [100%] Linking C executable device-terminal 12:52:27 Removing intermediate container 05491d6c20ed 12:52:27 ---> 114c4de83eba 12:52:27 Step 6/25 : ENV CBOR_VERSION=0.5.0 12:52:27 ---> Running in 4e05a0bf38d6 12:52:27 Removing intermediate container 4e05a0bf38d6 12:52:27 ---> 2a453dc03e6b 12:52:27 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 12:52:27 [100%] Built target device-terminal 12:52:27 Run CPack packaging tool... 12:52:27 CPack: Create package using TGZ 12:52:27 CPack: Install projects 12:52:27 CPack: - Run preinstall target for: Csdk 12:52:27 CPack: - Install project: Csdk 12:52:27 CPack: Create package 12:52:27 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 12:52:27 + '[' false '=' true ] 12:52:27 + '[' false '=' true ] 12:52:27 + mkdir -p /tmp/sdk/build/debug 12:52:27 + cd /tmp/sdk/build/debug 12:52:27 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 12:52:27 -- The C compiler identification is GNU 8.3.0 12:52:27 -- Check for working C compiler: /usr/bin/cc 12:52:27 -- Check for working C compiler: /usr/bin/cc -- works 12:52:27 -- Detecting C compiler ABI info 12:52:27 -- Detecting C compiler ABI info - done 12:52:27 -- Detecting C compile features 12:52:27 ---> Running in 02b512ec31dc 12:52:27 -- Detecting C compile features - done 12:52:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:52:27 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:52:27 -- Found LIBYAML: /usr/lib/libyaml.so 12:52:27 -- Found LIBUUID: /usr/lib/libuuid.so 12:52:27 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:52:27 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:52:27 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:52:27 -- C SDK 0.0.0 for Linux 12:52:27 -- Performing Test CSDK_HAVE_ATOMIC 12:52:28 --2021-05-24 12:52:27-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 12:52:28 Resolving github.com... 140.82.113.4 12:52:28 Connecting to github.com|140.82.113.4|:443... connected. 12:52:28 HTTP request sent, awaiting response... 302 Found 12:52:28 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 12:52:28 --2021-05-24 12:52:28-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 12:52:28 Resolving codeload.github.com... 140.82.114.9 12:52:28 Connecting to codeload.github.com|140.82.114.9|:443... connected. 12:52:28 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:52:28 -- Found Curses: /usr/lib/libcurses.so 12:52:28 -- Configuring done 12:52:28 HTTP request sent, awaiting response... 200 OK 12:52:28 Length: unspecified [application/x-gzip] 12:52:28 Saving to: 'STDOUT' 12:52:28  12:52:28 0K .......... .......... .......... .......... .......... 1.61M 12:52:28 50K .......... .......... .......... .......... .......... 3.28M 12:52:28 100K .......... .......... .......... .......... .......... 36.2M 12:52:28 150K .......... .......... .......... .......... .......... 33.9M 12:52:28 200K .......... .......... .......... .......... .......... 3.45M 12:52:28 250K .......... .......... .......... .......... .......... 6.50M 12:52:28 300K .......... .......... .......... .......... .......... 22.9M 12:52:28 350K .......... .......... .......... .......... .......... 13.1M 12:52:28 400K .......... .......... .......... .......... .......... 7.26M 12:52:28 450K .......... .......... .......... .......... .......... 10.7M 12:52:28 500K .......... .......... .......... .......... .......... 17.1M 12:52:28 550K .......... .......... .......... .......... .......... 10.8M 12:52:28 600K .......... .......... .......... .......... .......... 3.93M 12:52:28 650K .......... .......... .......... .......... .......... 6.94M 12:52:28 700K .. 71.1M=0.1s 12:52:28 12:52:28 2021-05-24 12:52:28 (6.04 MB/s) - written to stdout [719348] 12:52:28 12:52:28 -- Generating done 12:52:28 -- Build files have been written to: /tmp/sdk/build/debug 12:52:28 + make 12:52:28 + tee debug.log 12:52:28 Scanning dependencies of target csdk 12:52:28 -- The C compiler identification is GNU 8.3.0 12:52:28 -- The CXX compiler identification is GNU 8.3.0 12:52:28 -- Check for working C compiler: /usr/bin/cc 12:52:28 -- Check for working C compiler: /usr/bin/cc -- works 12:52:28 -- Detecting C compiler ABI info 12:52:28 -- Detecting C compiler ABI info - done 12:52:28 -- Detecting C compile features 12:52:28 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:52:28 -- Detecting C compile features - done 12:52:28 -- Check for working CXX compiler: /usr/bin/c++ 12:52:28 -- Check for working CXX compiler: /usr/bin/c++ -- works 12:52:28 -- Detecting CXX compiler ABI info 12:52:28 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:52:29 -- Detecting CXX compiler ABI info - done 12:52:29 -- Detecting CXX compile features 12:52:29 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:52:29 -- Detecting CXX compile features - done 12:52:29 -- Looking for include file endian.h 12:52:29 -- Looking for include file endian.h - found 12:52:29 -- Check if the system is big endian 12:52:29 -- Searching 16 bit integer 12:52:29 -- Looking for sys/types.h 12:52:29 -- Looking for sys/types.h - found 12:52:29 -- Looking for stdint.h 12:52:29 -- Looking for stdint.h - found 12:52:29 -- Looking for stddef.h 12:52:29 -- Looking for stddef.h - found 12:52:29 -- Check size of unsigned short 12:52:29 -- Check size of unsigned short - done 12:52:29 -- Using unsigned short 12:52:29 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:52:29 -- Check if the system is big endian - little endian 12:52:29 -- Check size of size_t 12:52:29 -- Check size of size_t - done 12:52:29 CMake Warning at examples/CMakeLists.txt:16 (find_package): 12:52:29 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 12:52:29 asked CMake to find a package configuration file provided by "cJSON", but 12:52:29 CMake did not find one. 12:52:29 12:52:29 Could not find a package configuration file provided by "cJSON" with any of 12:52:29 the following names: 12:52:29 12:52:29 cJSONConfig.cmake 12:52:29 cjson-config.cmake 12:52:29 12:52:29 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 12:52:29 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 12:52:29 provides a separate development package or SDK, be sure it has been 12:52:29 installed. 12:52:29 12:52:29 12:52:29 -- Configuring done 12:52:30 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:52:30 -- Generating done 12:52:30 -- Build files have been written to: /tmp/cbor 12:52:30 Scanning dependencies of target cbor_shared 12:52:30 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 12:52:30 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 12:52:30 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 12:52:30 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 12:52:30 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 12:52:30 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 12:52:30 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 12:52:30 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 12:52:30 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 12:52:30 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 12:52:30 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 12:52:30 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 12:52:30 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 12:52:31 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 12:52:31 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 12:52:31 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 12:52:31 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 12:52:31 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:52:31 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 12:52:31 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 12:52:31 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 12:52:31 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 12:52:31 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 12:52:31 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:52:31 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 12:52:31 [ 40%] Linking C shared library libcbor.so 12:52:31 [ 40%] Built target cbor_shared 12:52:31 Scanning dependencies of target cbor 12:52:31 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 12:52:31 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 12:52:31 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 12:52:31 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 12:52:31 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 12:52:32 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:52:32 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 12:52:32 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 12:52:32 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 12:52:32 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 12:52:32 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 12:52:32 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:52:32 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 12:52:32 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:52:32 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:52:37 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 12:52:37 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 12:52:37 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 12:52:37 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 12:52:37 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 12:52:37 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 12:52:37 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 12:52:37 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 12:52:37 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 12:52:37 [ 80%] Linking C static library libcbor.a 12:52:37 [ 80%] Built target cbor 12:52:37 Scanning dependencies of target create_items 12:52:37 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 12:52:37 [ 84%] Linking C executable create_items 12:52:37 [ 84%] Built target create_items 12:52:37 Scanning dependencies of target readfile 12:52:37 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 12:52:37 [ 88%] Linking C executable readfile 12:52:37 [ 88%] Built target readfile 12:52:37 Scanning dependencies of target streaming_parser 12:52:37 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 12:52:37 [ 92%] Linking C executable streaming_parser 12:52:37 [ 92%] Built target streaming_parser 12:52:37 Scanning dependencies of target sort 12:52:37 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 12:52:37 [ 96%] Linking C executable sort 12:52:37 [ 96%] Built target sort 12:52:37 Scanning dependencies of target hello 12:52:37 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 12:52:37 [100%] Linking C executable hello 12:52:37 [100%] Built target hello 12:52:37 Install the project... 12:52:37 -- Install configuration: "Release" 12:52:37 -- Installing: /usr/local/include/cbor/configuration.h 12:52:37 -- Installing: /usr/local/lib64/libcbor.a 12:52:37 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 12:52:37 -- Installing: /usr/local/lib64/libcbor.so.0 12:52:37 -- Installing: /usr/local/lib64/libcbor.so 12:52:37 -- Up-to-date: /usr/local/include/cbor 12:52:37 -- Installing: /usr/local/include/cbor/arrays.h 12:52:37 -- Installing: /usr/local/include/cbor/bytestrings.h 12:52:37 -- Installing: /usr/local/include/cbor/callbacks.h 12:52:37 -- Installing: /usr/local/include/cbor/common.h 12:52:37 -- Installing: /usr/local/include/cbor/data.h 12:52:37 -- Installing: /usr/local/include/cbor/encoding.h 12:52:37 -- Installing: /usr/local/include/cbor/floats_ctrls.h 12:52:37 -- Installing: /usr/local/include/cbor/internal 12:52:37 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 12:52:37 -- Installing: /usr/local/include/cbor/internal/encoders.h 12:52:37 -- Installing: /usr/local/include/cbor/internal/loaders.h 12:52:37 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 12:52:37 -- Installing: /usr/local/include/cbor/internal/stack.h 12:52:37 -- Installing: /usr/local/include/cbor/internal/unicode.h 12:52:37 -- Installing: /usr/local/include/cbor/ints.h 12:52:37 -- Installing: /usr/local/include/cbor/maps.h 12:52:37 -- Installing: /usr/local/include/cbor/serialization.h 12:52:37 -- Installing: /usr/local/include/cbor/streaming.h 12:52:37 -- Installing: /usr/local/include/cbor/strings.h 12:52:37 -- Installing: /usr/local/include/cbor/tags.h 12:52:37 -- Installing: /usr/local/include/cbor.h 12:52:37 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 12:52:38 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:52:38 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:52:38 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:52:38 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:52:38 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:52:38 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:52:38 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:52:38 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:52:38 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:52:38 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:52:38 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:52:38 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:52:38 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:52:38 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:52:38 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:52:38 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:52:38 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:52:38 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:52:38 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:52:38 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:52:38 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:52:38 Removing intermediate container 02b512ec31dc 12:52:38 ---> 8417350bde93 12:52:38 Step 8/25 : RUN mkdir /tmp/sdk 12:52:38 ---> Running in 47e6ae1784be 12:52:39 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:52:39 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:52:40 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:52:40 Removing intermediate container 47e6ae1784be 12:52:40 ---> fd0dd4b6aa91 12:52:40 Step 9/25 : COPY VERSION /tmp/sdk 12:52:40 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:52:40 ---> dacec6595e03 12:52:40 Step 10/25 : COPY src /tmp/sdk/src 12:52:40 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:52:40 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:52:41 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:52:41 ---> 7b38ba5e49d4 12:52:41 Step 11/25 : COPY include /tmp/sdk/include 12:52:42 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:52:42 ---> c944b1e68177 12:52:42 Step 12/25 : COPY scripts /tmp/sdk/scripts 12:52:42 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:52:42 ---> b127fbd0224b 12:52:42 Step 13/25 : COPY LICENSE /tmp/sdk 12:52:43 ---> c5c135eba471 12:52:43 Step 14/25 : COPY Attribution.txt /tmp/sdk 12:52:43 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:52:43 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:52:43 ---> 446c126ff39c 12:52:43 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 12:52:43 ---> Running in 75be74660de8 12:52:45 [ 74%] Linking C shared library libcsdk.so 12:52:45 [ 74%] Built target csdk 12:52:45 Scanning dependencies of target template 12:52:45 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:52:45 [ 77%] Linking C executable template 12:52:45 [ 77%] Built target template 12:52:45 Scanning dependencies of target device-counter 12:52:45 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:52:45 [ 80%] Linking C executable device-counter 12:52:45 [ 80%] Built target device-counter 12:52:45 Scanning dependencies of target device-random 12:52:45 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:52:45 [ 84%] Linking C executable device-random 12:52:45 [ 84%] Built target device-random 12:52:45 Scanning dependencies of target device-gyro 12:52:45 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:52:45 [ 87%] Linking C executable device-gyro 12:52:46 + CPPCHECK=false 12:52:46 + DOCGEN=false 12:52:46 + TOMLVER=SDK-0.2 12:52:46 + CUTILVER=1.1.4 12:52:46 + '[' 0 -gt 0 ] 12:52:46 + readlink -f ./scripts/build.sh 12:52:46 + dirname /tmp/sdk/scripts/build.sh 12:52:46 + dirname /tmp/sdk/scripts 12:52:46 + ROOT=/tmp/sdk 12:52:46 + cd /tmp/sdk 12:52:46 + '[' '!' -d deps ] 12:52:46 + mkdir deps 12:52:46 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:52:46 + tar -C deps -z -x -f - 12:52:46 --2021-05-24 12:52:44-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:52:46 Resolving github.com... 140.82.113.4 12:52:46 Connecting to github.com|140.82.113.4|:443... connected. 12:52:46 HTTP request sent, awaiting response... 302 Found 12:52:46 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 12:52:46 --2021-05-24 12:52:44-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 12:52:46 Resolving codeload.github.com... 140.82.114.9 12:52:46 Connecting to codeload.github.com|140.82.114.9|:443... connected. 12:52:46 HTTP request sent, awaiting response... 200 OK 12:52:46 Length: unspecified [application/x-gzip] 12:52:46 Saving to: 'STDOUT' 12:52:46 12:52:46 0K .......... ......  1.05M=0.01s 12:52:46 12:52:46 2021-05-24 12:52:44 (1.05 MB/s) - written to stdout [16451] 12:52:46 12:52:46 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 12:52:46 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 12:52:46 + tar -C deps -z -x -f - 12:52:46 --2021-05-24 12:52:44-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 12:52:46 Resolving github.com... 140.82.113.4 12:52:46 Connecting to github.com|140.82.113.4|:443... connected. 12:52:46 HTTP request sent, awaiting response... 302 Found 12:52:46 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 12:52:46 --2021-05-24 12:52:45-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 12:52:46 Resolving codeload.github.com... 140.82.114.9 12:52:46 Connecting to codeload.github.com|140.82.114.9|:443... connected. 12:52:46 HTTP request sent, awaiting response... 200 OK 12:52:46 Length: unspecified [application/x-gzip] 12:52:46 Saving to: 'STDOUT' 12:52:46 12:52:46 0K .......... .......... .......... .......... .......... 1.50M 12:52:46 50K .......... .......... .......... .......... .......... 3.11M 12:52:46 100K .......... .......... .......... .......... .......... 28.2M 12:52:46 150K .......... .......... ....... 3.97M=0.06s 12:52:46 12:52:46 2021-05-24 12:52:45 (3.06 MB/s) - written to stdout [181796] 12:52:46 12:52:46 + mkdir -p src/c/iot 12:52:46 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 12:52:46 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 12:52:46 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 12:52:46 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 12:52:46 + mkdir -p include/iot 12:52:46 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 12:52:46 + mkdir -p include/iot/os 12:52:46 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 12:52:46 + mkdir -p /tmp/sdk/build/release 12:52:46 + cd /tmp/sdk/build/release 12:52:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 12:52:46 -- The C compiler identification is GNU 8.3.0 12:52:46 -- Check for working C compiler: /usr/bin/cc 12:52:46 -- Check for working C compiler: /usr/bin/cc -- works 12:52:46 -- Detecting C compiler ABI info 12:52:46 -- Detecting C compiler ABI info - done 12:52:46 -- Detecting C compile features 12:52:46 -- Detecting C compile features - done 12:52:46 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:52:46 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:52:46 -- Found LIBYAML: /usr/lib/libyaml.so 12:52:46 -- Found LIBUUID: /usr/lib/libuuid.so 12:52:46 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:52:46 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:52:46 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:52:46 -- C SDK 0.0.0 for Linux 12:52:46 -- Performing Test CSDK_HAVE_ATOMIC 12:52:46 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:52:46 -- Found Curses: /usr/lib/libcurses.so 12:52:46 -- Configuring done 12:52:46 -- Generating done 12:52:46 -- Build files have been written to: /tmp/sdk/build/release 12:52:46 + make all package+ 12:52:46 tee release.log 12:52:46 Scanning dependencies of target csdk 12:52:46 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:52:46 [ 87%] Built target device-gyro 12:52:46 Scanning dependencies of target device-bitfields 12:52:46 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:52:46 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:52:46 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:52:46 [ 90%] Linking C executable device-bitfields 12:52:46 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:52:46 [ 90%] Built target device-bitfields 12:52:46 Scanning dependencies of target template-discovery 12:52:46 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:52:46 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:52:46 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 12:52:46 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 12:52:46 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 12:52:46 [ 93%] Linking C executable template-discovery 12:52:47 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:52:47 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:52:47 [ 93%] Built target template-discovery 12:52:47 Scanning dependencies of target device-file 12:52:47 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:52:47 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:52:47 [ 96%] Linking C executable device-file 12:52:47 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:52:47 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:52:47 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:52:47 [ 96%] Built target device-file 12:52:47 Scanning dependencies of target device-terminal 12:52:47 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:52:47 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:52:47 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:52:47 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:52:47 [100%] Linking C executable device-terminal 12:52:48 [100%] Built target device-terminal 12:52:48 make: Entering directory '/tmp/sdk/build/release' 12:52:48 make[1]: Entering directory '/tmp/sdk/build/release' 12:52:48 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:52:48 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:52:48 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:52:48 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:52:48 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:52:48 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:48 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:48 [ 74%] Built target csdk 12:52:48 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:48 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:48 [ 77%] Built target template 12:52:48 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:48 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:48 [ 80%] Built target device-counter 12:52:48 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:48 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:48 [ 84%] Built target device-random 12:52:48 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:48 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:48 [ 87%] Built target device-gyro 12:52:48 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:48 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:52:48 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:48 [ 90%] Built target device-bitfields 12:52:48 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:48 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:48 [ 93%] Built target template-discovery 12:52:48 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:48 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:48 [ 96%] Built target device-file 12:52:48 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:48 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:48 [100%] Built target device-terminal 12:52:48 make[1]: Leaving directory '/tmp/sdk/build/release' 12:52:48 Install the project... 12:52:48 -- Install configuration: "Release" 12:52:48 -- Installing: /usr/local/lib/libcsdk.so 12:52:48 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 12:52:48 -- Up-to-date: /usr/local/include 12:52:48 -- Installing: /usr/local/include/edgex 12:52:48 -- Installing: /usr/local/include/edgex/rest-server.h 12:52:48 -- Installing: /usr/local/include/edgex/edgex-base.h 12:52:48 -- Installing: /usr/local/include/edgex/edgex.h 12:52:48 -- Installing: /usr/local/include/edgex/devices.h 12:52:48 -- Installing: /usr/local/include/edgex/profiles.h 12:52:48 -- Installing: /usr/local/include/edgex/csdk-defs.h 12:52:48 -- Installing: /usr/local/include/devsdk 12:52:48 -- Installing: /usr/local/include/devsdk/devsdk-base.h 12:52:48 -- Installing: /usr/local/include/devsdk/devsdk.h 12:52:48 -- Installing: /usr/local/include/iot 12:52:48 -- Installing: /usr/local/include/iot/json.h 12:52:48 -- Installing: /usr/local/include/iot/container.h 12:52:48 -- Installing: /usr/local/include/iot/component.h 12:52:48 -- Installing: /usr/local/include/iot/typecode.h 12:52:48 -- Installing: /usr/local/include/iot/iot.h 12:52:48 -- Installing: /usr/local/include/iot/time.h 12:52:48 -- Installing: /usr/local/include/iot/hash.h 12:52:48 -- Installing: /usr/local/include/iot/logger.h 12:52:48 -- Installing: /usr/local/include/iot/os 12:52:48 -- Installing: /usr/local/include/iot/os/zephyr.h 12:52:48 -- Installing: /usr/local/include/iot/os/linux.h 12:52:48 -- Installing: /usr/local/include/iot/os/macos.h 12:52:48 -- Installing: /usr/local/include/iot/scheduler.h 12:52:48 -- Installing: /usr/local/include/iot/data.h 12:52:48 -- Installing: /usr/local/include/iot/thread.h 12:52:48 -- Installing: /usr/local/include/iot/os.h 12:52:48 -- Installing: /usr/local/include/iot/base64.h 12:52:48 -- Installing: /usr/local/include/iot/defs.h 12:52:48 -- Installing: /usr/local/include/iot/threadpool.h 12:52:48 -- Installing: /usr/local/include/iot/config.h 12:52:48 -- Installing: /usr/local/share/device-sdk-c/LICENSE 12:52:48 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 12:52:48 make: Leaving directory '/tmp/sdk/build/release' 12:52:49 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:52:49 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:52:49 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:52:49 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:52:49 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:52:49 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:52:49 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:52:49 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:52:49 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:52:49 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:52:50 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:52:50 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:52:50 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:52:50 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:52:50 Removing intermediate container 9be7fe269e55 12:52:50 ---> 6d4bd5ed5e9b 12:52:50 Step 16/25 : FROM ${BASE} 12:52:50 ---> b23d30803547 12:52:50 Step 17/25 : LABEL maintainer="IOTech " 12:52:51 ---> Running in 7c81c1ba45c8 12:52:53 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:52:53 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:52:53 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:52:53 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:52:53 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:52:53 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:52:53 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:52:53 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:52:53 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:52:53 Removing intermediate container 7c81c1ba45c8 12:52:53 ---> 7e736821f22d 12:52:53 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 12:52:53 ---> Running in 32bce67a8804 12:52:53 Connecting to iotech.jfrog.io (54.72.115.12:443) 12:52:53 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 12:52:53 12:52:53 [ 74%] Linking C shared library libcsdk.so 12:52:53 [ 74%] Built target csdk 12:52:53 Scanning dependencies of target template 12:52:53 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:52:53 [ 77%] Linking C executable template 12:52:53 [ 77%] Built target template 12:52:53 Scanning dependencies of target device-counter 12:52:53 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:52:53 [ 80%] Linking C executable device-counter 12:52:53 [ 80%] Built target device-counter 12:52:53 Scanning dependencies of target device-random 12:52:53 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:52:53 [ 84%] Linking C executable device-random 12:52:53 [ 84%] Built target device-random 12:52:53 Scanning dependencies of target device-gyro 12:52:53 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:52:53 [ 87%] Linking C executable device-gyro 12:52:53 [ 87%] Built target device-gyro 12:52:53 Scanning dependencies of target device-bitfields 12:52:53 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:52:53 [ 90%] Linking C executable device-bitfields 12:52:54 Removing intermediate container 32bce67a8804 12:52:54 ---> b4c39994913a 12:52:54 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:52:54 [ 90%] Built target device-bitfields 12:52:54 Scanning dependencies of target template-discovery 12:52:54 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:52:54 [ 93%] Linking C executable template-discovery 12:52:54 [ 93%] Built target template-discovery 12:52:54 Scanning dependencies of target device-file 12:52:54 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:52:54 ---> Running in f44f6f13f72f 12:52:54 [ 96%] Linking C executable device-file 12:52:54 [ 96%] Built target device-file 12:52:54 Scanning dependencies of target device-terminal 12:52:54 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:52:54 [100%] Linking C executable device-terminal 12:52:54 [100%] Built target device-terminal 12:52:54 Run CPack packaging tool... 12:52:54 CPack: Create package using TGZ 12:52:54 CPack: Install projects 12:52:54 CPack: - Run preinstall target for: Csdk 12:52:54 CPack: - Install project: Csdk 12:52:54 CPack: Create package 12:52:54 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 12:52:54 + '[' false '=' true ] 12:52:54 + '[' false '=' true ] 12:52:54 + mkdir -p /tmp/sdk/build/debug 12:52:54 + cd /tmp/sdk/build/debug 12:52:54 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 12:52:54 -- The C compiler identification is GNU 8.3.0 12:52:54 -- Check for working C compiler: /usr/bin/cc 12:52:54 -- Check for working C compiler: /usr/bin/cc -- works 12:52:54 -- Detecting C compiler ABI info 12:52:54 -- Detecting C compiler ABI info - done 12:52:54 -- Detecting C compile features 12:52:55 -- Detecting C compile features - done 12:52:55 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:52:55 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:52:55 -- Found LIBYAML: /usr/lib/libyaml.so 12:52:55 -- Found LIBUUID: /usr/lib/libuuid.so 12:52:55 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:52:55 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:52:55 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:52:55 -- C SDK 0.0.0 for Linux 12:52:55 -- Performing Test CSDK_HAVE_ATOMIC 12:52:55 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:52:55 -- Found Curses: /usr/lib/libcurses.so 12:52:55 -- Configuring done 12:52:55 -- Generating done 12:52:55 -- Build files have been written to: /tmp/sdk/build/debug 12:52:55 + make 12:52:55 + tee debug.log 12:52:55 Scanning dependencies of target csdk 12:52:55 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:52:55 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:52:55 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:52:55 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:52:55 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:52:55 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 12:52:55 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 12:52:55 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 12:52:55 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:52:55 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:52:56 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:52:56 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:52:56 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:52:56 Removing intermediate container f44f6f13f72f 12:52:56 ---> 8b4e407ac975 12:52:56 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 12:52:56 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:52:56 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:52:56 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:52:56 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:52:56 ---> Running in 65bdc1b79c9d 12:52:56 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:52:56 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:52:56 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:52:56 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:52:56 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:52:57 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:52:57 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:52:57 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:52:57 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:52:57 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:52:57 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:52:57 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:52:57 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:52:57 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:52:57 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:52:57 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:52:57 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:52:57 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:52:57 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 12:52:57 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:52:57 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:52:57 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:52:58 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:52:58 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:52:58 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:52:58 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:52:58 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:52:58 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:52:58 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:52:58 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:52:58 [ 74%] Linking C shared library libcsdk.so 12:52:58 [ 74%] Built target csdk 12:52:58 Scanning dependencies of target template 12:52:58 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:52:58 [ 77%] Linking C executable template 12:52:58 [ 77%] Built target template 12:52:58 Scanning dependencies of target device-counter 12:52:58 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:52:58 [ 80%] Linking C executable device-counter 12:52:58 [ 80%] Built target device-counter 12:52:58 Scanning dependencies of target device-random 12:52:58 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:52:59 [ 84%] Linking C executable device-random 12:52:59 [ 84%] Built target device-random 12:52:59 Scanning dependencies of target device-gyro 12:52:59 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:52:59 [ 87%] Linking C executable device-gyro 12:52:59 [ 87%] Built target device-gyro 12:52:59 Scanning dependencies of target device-bitfields 12:52:59 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:52:59 [ 90%] Linking C executable device-bitfields 12:52:59 [ 90%] Built target device-bitfields 12:52:59 Scanning dependencies of target template-discovery 12:52:59 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:52:59 [ 93%] Linking C executable template-discovery 12:52:59 [ 93%] Built target template-discovery 12:52:59 Scanning dependencies of target device-file 12:52:59 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:52:59 [ 96%] Linking C executable device-file 12:52:59 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 12:52:59 [ 96%] Built target device-file 12:52:59 Scanning dependencies of target device-terminal 12:52:59 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:52:59 [100%] Linking C executable device-terminal 12:52:59 [100%] Built target device-terminal 12:52:59 make: Entering directory '/tmp/sdk/build/release' 12:52:59 make[1]: Entering directory '/tmp/sdk/build/release' 12:52:59 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:59 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:59 [ 74%] Built target csdk 12:52:59 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:59 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:59 [ 77%] Built target template 12:52:59 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:59 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:59 [ 80%] Built target device-counter 12:52:59 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:59 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:59 [ 84%] Built target device-random 12:52:59 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:59 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:59 [ 87%] Built target device-gyro 12:52:59 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:59 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:59 [ 90%] Built target device-bitfields 12:52:59 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:59 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:59 [ 93%] Built target template-discovery 12:52:59 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:59 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:59 [ 96%] Built target device-file 12:52:59 make[2]: Entering directory '/tmp/sdk/build/release' 12:52:59 make[2]: Leaving directory '/tmp/sdk/build/release' 12:52:59 [100%] Built target device-terminal 12:52:59 make[1]: Leaving directory '/tmp/sdk/build/release' 12:52:59 Install the project... 12:52:59 -- Install configuration: "Release" 12:52:59 -- Installing: /usr/local/lib/libcsdk.so 12:52:59 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 12:52:59 -- Up-to-date: /usr/local/include 12:52:59 -- Installing: /usr/local/include/devsdk 12:52:59 -- Installing: /usr/local/include/devsdk/devsdk-base.h 12:52:59 -- Installing: /usr/local/include/devsdk/devsdk.h 12:52:59 -- Installing: /usr/local/include/edgex 12:52:59 -- Installing: /usr/local/include/edgex/devices.h 12:52:59 -- Installing: /usr/local/include/edgex/edgex-base.h 12:52:59 -- Installing: /usr/local/include/edgex/edgex.h 12:52:59 -- Installing: /usr/local/include/edgex/profiles.h 12:52:59 -- Installing: /usr/local/include/edgex/rest-server.h 12:52:59 -- Installing: /usr/local/include/edgex/csdk-defs.h 12:52:59 -- Installing: /usr/local/include/iot 12:52:59 -- Installing: /usr/local/include/iot/base64.h 12:52:59 -- Installing: /usr/local/include/iot/component.h 12:52:59 -- Installing: /usr/local/include/iot/config.h 12:52:59 -- Installing: /usr/local/include/iot/container.h 12:52:59 -- Installing: /usr/local/include/iot/data.h 12:52:59 -- Installing: /usr/local/include/iot/hash.h 12:52:59 -- Installing: /usr/local/include/iot/iot.h 12:52:59 -- Installing: /usr/local/include/iot/json.h 12:52:59 -- Installing: /usr/local/include/iot/logger.h 12:52:59 -- Installing: /usr/local/include/iot/os.h 12:52:59 -- Installing: /usr/local/include/iot/scheduler.h 12:52:59 -- Installing: /usr/local/include/iot/thread.h 12:52:59 -- Installing: /usr/local/include/iot/threadpool.h 12:52:59 -- Installing: /usr/local/include/iot/time.h 12:52:59 -- Installing: /usr/local/include/iot/typecode.h 12:52:59 -- Installing: /usr/local/include/iot/os 12:52:59 -- Installing: /usr/local/include/iot/os/linux.h 12:52:59 -- Installing: /usr/local/include/iot/os/macos.h 12:52:59 -- Installing: /usr/local/include/iot/os/zephyr.h 12:52:59 -- Installing: /usr/local/include/iot/defs.h 12:52:59 -- Installing: /usr/local/share/device-sdk-c/LICENSE 12:52:59 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 12:52:59 make: Leaving directory '/tmp/sdk/build/release' 12:53:00 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 12:53:00 (1/6) Installing curl (7.64.0-r5) 12:53:00 (2/6) Installing hiredis (0.14.0-r0) 12:53:00 (3/6) Installing hiredis-dev (0.14.0-r0) 12:53:00 (4/6) Installing libuuid (2.33-r0) 12:53:01 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 12:53:02 (6/6) Installing wget (1.20.3-r0) 12:53:02 Executing busybox-1.29.3-r10.trigger 12:53:02 OK: 283 MiB in 81 packages 12:53:04 Removing intermediate container 65bdc1b79c9d 12:53:04 ---> af79b2335993 12:53:04 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 12:53:04 ---> f6c2b75ab279 12:53:04 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 12:53:05 Removing intermediate container 75be74660de8 12:53:05 ---> e1dda73e3547 12:53:05 Step 16/25 : FROM ${BASE} 12:53:05 ---> 5eabd8fd8ba2 12:53:05 Step 17/25 : LABEL maintainer="IOTech " 12:53:05 ---> Running in bc93a5a24c05 12:53:05 Removing intermediate container bc93a5a24c05 12:53:05 ---> bebc61c6ecfa 12:53:05 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 12:53:05 ---> Running in 0b91242f3843 12:53:05 Connecting to iotech.jfrog.io (54.72.115.12:443) 12:53:07 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 12:53:07 12:53:07 Removing intermediate container 0b91242f3843 12:53:07 ---> 416fd48c0029 12:53:07 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:53:07 ---> Running in cfc3d279423e 12:53:07 ---> 13fd25bae6a0 12:53:07 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 12:53:07 ---> caf0d4918208 12:53:07 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 12:53:07 ---> f0cbe676427f 12:53:07 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 12:53:08 Removing intermediate container cfc3d279423e 12:53:08 ---> acd1f05e97ed 12:53:08 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 12:53:08 ---> effb6597394f 12:53:08 ---> Running in 1df6255d7752 12:53:08 Successfully built effb6597394f 12:53:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:53:08 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 12:53:09 + docker inspect -f . ci-base-image-arm64 12:53:09 . [Pipeline] withDockerContainer 12:53:09 prd-ubuntu18.04-docker-arm64-4c-16g-16888 does not seem to be running inside a container 12:53:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** ci-base-image-arm64 cat 12:53:09 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 12:53:10 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 12:53:11 (1/6) Installing curl (7.64.0-r5) 12:53:11 (2/6) Installing hiredis (0.14.0-r0) 12:53:11 $ docker top bece2f51344cba9e0d980977c745551304a155406d286c398cb4c0949661e280 -eo pid,comm 12:53:11 (3/6) Installing hiredis-dev (0.14.0-r0) 12:53:11 (4/6) Installing libuuid (2.33-r0) 12:53:11 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [Pipeline] { [Pipeline] sh 12:53:12 + make test 12:53:12 echo "make test" 12:53:12 make test [Pipeline] } 12:53:12 $ docker stop --time=1 bece2f51344cba9e0d980977c745551304a155406d286c398cb4c0949661e280 12:53:12 (6/6) Installing wget (1.20.3-r0) 12:53:15 $ docker rm -f bece2f51344cba9e0d980977c745551304a155406d286c398cb4c0949661e280 12:53:15 Executing busybox-1.29.3-r10.trigger 12:53:15 OK: 269 MiB in 81 packages 12:53:15 Removing intermediate container 1df6255d7752 12:53:15 ---> 81c9694fd37d 12:53:15 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 12:53:15 ---> 3481dad57c5a 12:53:15 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 12:53:15 ---> 1dae86a0a492 12:53:15 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [Pipeline] // withDockerContainer [Pipeline] } 12:53:15 ---> 1031ada475b3 12:53:15 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 12:53:17 ---> 5210d08d3ecf 12:53:17 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 12:53:17 ---> fb6561ec08fc 12:53:17 Successfully built fb6561ec08fc 12:53:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 12:53:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:53:43 + ls -al . 12:53:43 total 192 12:53:43 drwxrwxr-x 8 jenkins jenkins 4096 May 24 12:50 . 12:53:43 drwxrwxr-x 4 jenkins jenkins 4096 May 24 12:49 .. 12:53:43 drwxrwxr-x 8 jenkins jenkins 4096 May 24 12:50 .git 12:53:43 drwxrwxr-x 2 jenkins jenkins 4096 May 24 12:50 .github 12:53:43 -rw-rw-r-- 1 jenkins jenkins 176 May 24 12:50 .gitignore 12:53:43 -rw-rw-r-- 1 jenkins jenkins 3104 May 24 12:50 Attribution.txt 12:53:43 -rw-rw-r-- 1 jenkins jenkins 7373 May 24 12:50 CHANGES 12:53:43 -rw-rw-r-- 1 jenkins jenkins 108574 May 24 12:50 Doxyfile 12:53:43 -rw-rw-r-- 1 jenkins jenkins 784 May 24 12:50 Jenkinsfile 12:53:43 -rw-rw-r-- 1 jenkins jenkins 10174 May 24 12:50 LICENSE 12:53:43 -rw-rw-r-- 1 jenkins jenkins 444 May 24 12:50 Makefile 12:53:43 -rw-rw-r-- 1 jenkins jenkins 4090 May 24 12:50 README.md 12:53:43 -rw-rw-r-- 1 jenkins jenkins 6654 May 24 12:50 README.v2.md 12:53:43 -rw-rw-r-- 1 jenkins jenkins 5 May 24 12:47 VERSION 12:53:43 drwxrwxr-x 2 jenkins jenkins 4096 May 24 12:50 docs 12:53:43 drwxrwxr-x 4 jenkins jenkins 4096 May 24 12:50 include 12:53:43 drwxrwxr-x 2 jenkins jenkins 4096 May 24 12:50 scripts 12:53:43 drwxrwxr-x 4 jenkins jenkins 4096 May 24 12:50 src [Pipeline] isUnix [Pipeline] sh 12:53:45 + docker inspect -f . ci-base-image-x86_64 12:53:45 . 12:53:45 + 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=2fea71294381fad78c8f0af6ca161f02faad0d91 --label arch=arm64 --label version=0.0.0 . 12:53:45 Sending build context to Docker daemon 2.684MB 12:53:45 Step 1/17 : ARG BASE=alpine:3.12 12:53:45 Step 2/17 : FROM ${BASE} 12:53:45 ---> effb6597394f 12:53:45 Step 3/17 : LABEL maintainer="IOTech " 12:53:45 ---> Running in 93e4904ef29c 12:53:45 Removing intermediate container 93e4904ef29c 12:53:45 ---> dfe0d3b588bc 12:53:45 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 12:53:45 ---> Running in 54b1c4fe9922 [Pipeline] withDockerContainer 12:53:45 prd-centos7-docker-4c-2g-16889 does not seem to be running inside a container 12:53:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** ci-base-image-x86_64 cat 12:53:46 $ docker top e31001f851a8276bd9d44350dbb4ad39ff53ef368be8f8df76c01653281e3fba -eo pid,comm [Pipeline] { [Pipeline] sh 12:53:46 --2021-05-24 12:53:45-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 12:53:46 Resolving iotech.jfrog.io... 54.74.239.58, 54.72.115.12, 34.243.182.113 12:53:46 Connecting to iotech.jfrog.io|54.74.239.58|:443... connected. 12:53:46 HTTP request sent, awaiting response... 200 OK 12:53:46 Length: 451 [application/octet-stream] 12:53:46 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 12:53:46 12:53:46 0K     100% 18.5M=0s 12:53:46 12:53:46 2021-05-24 12:53:46 (18.5 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 12:53:46 12:53:46 + make test 12:53:46 echo "make test" 12:53:46 make test [Pipeline] } 12:53:46 $ docker stop --time=1 e31001f851a8276bd9d44350dbb4ad39ff53ef368be8f8df76c01653281e3fba 12:53:47 Removing intermediate container 54b1c4fe9922 12:53:47 ---> d037dad31c4a 12:53:47 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:53:47 ---> Running in 22b4958839aa 12:53:48 $ docker rm -f e31001f851a8276bd9d44350dbb4ad39ff53ef368be8f8df76c01653281e3fba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 12:53:50 Removing intermediate container 22b4958839aa 12:53:50 ---> 4234f5bbef9a 12:53:50 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 12:53:50 ---> Running in 44d5d73de002 [Pipeline] sh 12:53:50 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 12:53:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:53:51 + ls -al . 12:53:51 total 160 12:53:51 drwxrwxr-x. 8 jenkins jenkins 260 May 24 12:51 . 12:53:51 drwxrwxr-x. 4 jenkins jenkins 28 May 24 12:51 .. 12:53:51 -rw-rw-r--. 1 jenkins jenkins 3104 May 24 12:51 Attribution.txt 12:53:51 -rw-rw-r--. 1 jenkins jenkins 7373 May 24 12:51 CHANGES 12:53:51 drwxrwxr-x. 2 jenkins jenkins 121 May 24 12:51 docs 12:53:51 -rw-rw-r--. 1 jenkins jenkins 108574 May 24 12:51 Doxyfile 12:53:51 drwxrwxr-x. 8 jenkins jenkins 179 May 24 12:51 .git 12:53:51 drwxrwxr-x. 2 jenkins jenkins 81 May 24 12:51 .github 12:53:51 -rw-rw-r--. 1 jenkins jenkins 176 May 24 12:51 .gitignore 12:53:51 drwxrwxr-x. 4 jenkins jenkins 33 May 24 12:51 include 12:53:51 -rw-rw-r--. 1 jenkins jenkins 784 May 24 12:51 Jenkinsfile 12:53:51 -rw-rw-r--. 1 jenkins jenkins 10174 May 24 12:51 LICENSE 12:53:51 -rw-rw-r--. 1 jenkins jenkins 444 May 24 12:51 Makefile 12:53:51 -rw-rw-r--. 1 jenkins jenkins 4090 May 24 12:51 README.md 12:53:51 -rw-rw-r--. 1 jenkins jenkins 6654 May 24 12:51 README.v2.md 12:53:51 drwxrwxr-x. 2 jenkins jenkins 98 May 24 12:51 scripts 12:53:51 drwxrwxr-x. 4 jenkins jenkins 50 May 24 12:51 src 12:53:51 -rw-rw-r--. 1 jenkins jenkins 5 May 24 12:47 VERSION [Pipeline] isUnix [Pipeline] sh 12:53:51 + 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=2fea71294381fad78c8f0af6ca161f02faad0d91 --label arch=amd64 --label version=0.0.0 . 12:53:51 Sending build context to Docker daemon 2.685MB 12:53:51 Step 1/17 : ARG BASE=alpine:3.12 12:53:51 Step 2/17 : FROM ${BASE} 12:53:51 ---> fb6561ec08fc 12:53:51 Step 3/17 : LABEL maintainer="IOTech " 12:53:51 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 12:53:52 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 12:53:53 ---> Running in e68fcaf61587 12:53:53 Removing intermediate container e68fcaf61587 12:53:53 ---> d60270f6a853 12:53:53 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 12:53:53 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 12:53:53 ---> Running in 6153216817d8 12:53:53 (2/6) Installing libblkid (2.33-r0) 12:53:53 (3/6) Installing libfdisk (2.33-r0) 12:53:53 (4/6) Installing libmount (2.33-r0) 12:53:53 (5/6) Installing libsmartcols (2.33-r0) 12:53:53 (6/6) Installing util-linux-dev (2.33-r0) 12:53:53 --2021-05-24 12:53:53-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 12:53:53 Resolving iotech.jfrog.io... 54.74.239.58, 34.243.182.113, 54.72.115.12 12:53:54 Connecting to iotech.jfrog.io|54.74.239.58|:443... connected. 12:53:54 Executing busybox-1.29.3-r10.trigger 12:53:54 OK: 287 MiB in 87 packages 12:53:54 HTTP request sent, awaiting response... 200 OK 12:53:54 Length: 451 [application/octet-stream] 12:53:54 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 12:53:54  12:53:54 0K 100% 52.2M=0s 12:53:54 12:53:54 2021-05-24 12:53:54 (52.2 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 12:53:54 12:53:55 Removing intermediate container 6153216817d8 12:53:55 ---> 68c2111b1b92 12:53:55 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:53:55 Removing intermediate container 44d5d73de002 12:53:55 ---> 9b025d8d00ac 12:53:55 Step 7/17 : COPY VERSION /edgex-c-sdk/ 12:53:55 ---> Running in 4e5e2c1da2d9 12:53:56 ---> 1c80d0641675 12:53:56 Step 8/17 : COPY src /edgex-c-sdk/src/ 12:53:56 Removing intermediate container 4e5e2c1da2d9 12:53:56 ---> 6782f169557a 12:53:56 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 12:53:56 ---> Running in f72faf341774 12:53:57 ---> 42b5ccc6473a 12:53:57 Step 9/17 : COPY include /edgex-c-sdk/include/ 12:53:57 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 12:53:57 ---> 37dd90768950 12:53:57 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 12:53:58 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 12:53:58 ---> e91a2332d038 12:53:58 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 12:53:59 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 12:53:59 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 12:53:59 ---> 8252758327c4 12:53:59 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 12:53:59 (2/6) Installing libblkid (2.33-r0) 12:53:59 (3/6) Installing libfdisk (2.33-r0) 12:53:59 (4/6) Installing libmount (2.33-r0) 12:54:02 ---> 73bdbdfcd399 12:54:02 Step 13/17 : WORKDIR /edgex-c-sdk 12:54:02 ---> Running in 067018c2de71 12:54:02 Removing intermediate container 067018c2de71 12:54:02 ---> d815b35a9978 12:54:02 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 12:54:02 ---> Running in b8b0d4c12fc8 12:54:02 Removing intermediate container b8b0d4c12fc8 12:54:02 ---> 51d8a62aff58 12:54:02 Step 15/17 : LABEL arch=arm64 12:54:02 ---> Running in 88c94972a031 12:54:02 Removing intermediate container 88c94972a031 12:54:02 ---> 71f524a6d715 12:54:02 Step 16/17 : LABEL git_sha=2fea71294381fad78c8f0af6ca161f02faad0d91 12:54:02 ---> Running in aa77d4064cc7 12:54:02 (5/6) Installing libsmartcols (2.33-r0) 12:54:02 (6/6) Installing util-linux-dev (2.33-r0) 12:54:02 Executing busybox-1.29.3-r10.trigger 12:54:02 OK: 273 MiB in 87 packages 12:54:02 Removing intermediate container f72faf341774 12:54:02 ---> edb2f7c772b4 12:54:02 Step 7/17 : COPY VERSION /edgex-c-sdk/ 12:54:02 ---> ede8d538d6b9 12:54:02 Step 8/17 : COPY src /edgex-c-sdk/src/ 12:54:02 Removing intermediate container aa77d4064cc7 12:54:02 ---> 1099acea9829 12:54:02 Step 17/17 : LABEL version=0.0.0 12:54:02 ---> Running in c524f7ea71b8 12:54:03 Removing intermediate container c524f7ea71b8 12:54:03 ---> a02141c5324e 12:54:03 [Warning] One or more build-args [ARCH MAKE] were not consumed 12:54:03 Successfully built a02141c5324e 12:54:03 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] } 12:54:05 ---> 7c209db2ac5e 12:54:05 Step 9/17 : COPY include /edgex-c-sdk/include/ 12:54:05 ---> 84c361f8e7ca 12:54:05 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 12:54:05 ---> 7c6765971a33 12:54:05 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 12:54:05 ---> 947527d0db1f 12:54:05 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 12:54:06 ---> d1c3e140bcd1 12:54:06 Step 13/17 : WORKDIR /edgex-c-sdk [Pipeline] // stage [Pipeline] } 12:54:06 ---> Running in 7dfca8dd29b0 12:54:06 Removing intermediate container 7dfca8dd29b0 12:54:06 ---> c5d62ad5a8cc 12:54:06 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 12:54:07 ---> Running in e85c4172c457 12:54:07 Removing intermediate container e85c4172c457 12:54:07 ---> f559fa9b534d 12:54:07 Step 15/17 : LABEL arch=amd64 12:54:07 ---> Running in 85578a33ee53 12:54:07 Removing intermediate container 85578a33ee53 12:54:07 ---> fb23a8f54969 12:54:07 Step 16/17 : LABEL git_sha=2fea71294381fad78c8f0af6ca161f02faad0d91 12:54:08 ---> Running in 89f7975ed1d3 12:54:08 Removing intermediate container 89f7975ed1d3 12:54:08 ---> 4c4ddddeb840 12:54:08 Step 17/17 : LABEL version=0.0.0 12:54:08 ---> Running in c8f11de32405 12:54:08 Removing intermediate container c8f11de32405 12:54:08 ---> 5505679ede57 12:54:08 [Warning] One or more build-args [ARCH MAKE] were not consumed 12:54:08 Successfully built 5505679ede57 12:54:08 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 12:54:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:54:18 ---> package-listing.sh 12:54:18 ++ facter osfamily 12:54:18 ++ tr '[:upper:]' '[:lower:]' 12:54:18 + OS_FAMILY=redhat 12:54:18 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-347 12:54:18 + START_PACKAGES=/tmp/packages_start.txt 12:54:18 + END_PACKAGES=/tmp/packages_end.txt 12:54:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:54:18 + PACKAGES=/tmp/packages_start.txt 12:54:18 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-347 ']' 12:54:18 + PACKAGES=/tmp/packages_end.txt 12:54:18 + case "${OS_FAMILY}" in 12:54:18 + sort 12:54:18 + rpm -qa 12:54:18 + '[' -f /tmp/packages_start.txt ']' 12:54:18 + '[' -f /tmp/packages_end.txt ']' 12:54:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:54:18 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-347 ']' 12:54:18 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-347/archives/ 12:54:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-347/archives/ [Pipeline] echo 12:54:19 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-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:54:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:54:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:54:21 12:54:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 12:54:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:54:22 alpine: Pulling from edgex-lftools-log-publisher 12:54:22 df20fa9351a1: Pulling fs layer 12:54:22 36b3adc4ff6f: Pulling fs layer 12:54:22 8ad3a11d3b57: Pulling fs layer 12:54:22 46f8f816bc3b: Pulling fs layer 12:54:22 93b61091891f: Pulling fs layer 12:54:22 93b9cdb0e59b: Pulling fs layer 12:54:22 5e14af77c1be: Pulling fs layer 12:54:22 01666e4c0597: Pulling fs layer 12:54:22 aa168da1d23b: Pulling fs layer 12:54:22 93b61091891f: Waiting 12:54:22 93b9cdb0e59b: Waiting 12:54:22 5e14af77c1be: Waiting 12:54:22 01666e4c0597: Waiting 12:54:22 aa168da1d23b: Waiting 12:54:22 46f8f816bc3b: Waiting 12:54:22 36b3adc4ff6f: Verifying Checksum 12:54:22 36b3adc4ff6f: Download complete 12:54:22 46f8f816bc3b: Verifying Checksum 12:54:22 46f8f816bc3b: Download complete 12:54:22 df20fa9351a1: Verifying Checksum 12:54:22 df20fa9351a1: Download complete 12:54:22 93b9cdb0e59b: Verifying Checksum 12:54:22 93b9cdb0e59b: Download complete 12:54:22 5e14af77c1be: Verifying Checksum 12:54:22 5e14af77c1be: Download complete 12:54:22 01666e4c0597: Verifying Checksum 12:54:22 01666e4c0597: Download complete 12:54:22 93b61091891f: Verifying Checksum 12:54:22 93b61091891f: Download complete 12:54:22 df20fa9351a1: Pull complete 12:54:22 36b3adc4ff6f: Pull complete 12:54:23 8ad3a11d3b57: Verifying Checksum 12:54:23 8ad3a11d3b57: Download complete 12:54:23 8ad3a11d3b57: Pull complete 12:54:23 46f8f816bc3b: Pull complete 12:54:24 93b61091891f: Pull complete 12:54:24 93b9cdb0e59b: Pull complete 12:54:24 5e14af77c1be: Pull complete 12:54:24 01666e4c0597: Pull complete 12:54:24 aa168da1d23b: Verifying Checksum 12:54:24 aa168da1d23b: Download complete 12:54:28 aa168da1d23b: Pull complete 12:54:28 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 12:54:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:54:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 12:54:29 prd-centos7-docker-4c-2g-16887 does not seem to be running inside a container 12:54:29 $ 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-347/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-347 -v /w/workspace/edgexfoundry_device-sdk-c_PR-347:/w/workspace/edgexfoundry_device-sdk-c_PR-347:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-347@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:10003/edgex-lftools-log-publisher:alpine cat 12:54:32 $ docker top 3835a9eb7909fea2281116db39bd733a8862a57d6da21ba7e2ffbef69c462d83 -eo pid,comm [Pipeline] { [Pipeline] sh 12:54:33 + touch /tmp/pre-build-complete [Pipeline] sh 12:54:33 + mkdir -p /var/log/sa [Pipeline] sh 12:54:33 + ls /var/log/sa-host 12:54:33 + sadf -c /var/log/sa-host/sa05 12:54:33 file_magic: OK 12:54:33 HZ: Using current value: 100 12:54:33 file_header: OK 12:54:33 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 12:54:33 Statistics: 12:54:33 Hnuu...uuuununununu...Hnuu...uuuununununu... 12:54:33 File successfully converted to sysstat format version 12.2.1 12:54:33 + sadf -c /var/log/sa-host/sa24 12:54:33 file_magic: OK 12:54:33 HZ: Using current value: 100 12:54:33 file_header: OK 12:54:33 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 12:54:33 Statistics: 12:54:33 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:54:33 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:54:38 provisioning config files... 12:54:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/config7928702442759119444tmp [Pipeline] { [Pipeline] echo 12:54:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:54:39 ---> create-netrc.sh [Pipeline] } 12:54:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 12:54:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 12:54:41 ---> python-tools-install.sh [Pipeline] echo 12:54:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:54:41 ---> sudo-logs.sh 12:54:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:54:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:54:42 ---> job-cost.sh 12:54:42 lf-activate-venv: SKIPPING 12:54:42 INFO: No Stack... 12:54:44 INFO: Retrieving Pricing Info for: v3-standard-2 12:54:44 INFO: Archiving Costs [Pipeline] echo 12:54:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:54:45 ---> logs-deploy.sh 12:54:45 lf-activate-venv: SKIPPING 12:54:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-347/1 12:54:45 INFO: archiving workspace using pattern(s): 12:54:46 Archives upload complete. 12:54:46 INFO: archiving logs to Nexus 12:54:47 ---> uname -a: 12:54:47 Linux prd-centos7-docker-4c-2g-16887.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 12:54:47 12:54:47 12:54:47 ---> lscpu: 12:54:47 Architecture: x86_64 12:54:47 CPU op-mode(s): 32-bit, 64-bit 12:54:47 Byte Order: Little Endian 12:54:47 Address sizes: 40 bits physical, 48 bits virtual 12:54:47 CPU(s): 2 12:54:47 On-line CPU(s) list: 0,1 12:54:47 Thread(s) per core: 1 12:54:47 Core(s) per socket: 1 12:54:47 Socket(s): 2 12:54:47 NUMA node(s): 1 12:54:47 Vendor ID: AuthenticAMD 12:54:47 CPU family: 23 12:54:47 Model: 49 12:54:47 Model name: AMD EPYC-Rome Processor 12:54:47 Stepping: 0 12:54:47 CPU MHz: 2800.000 12:54:47 BogoMIPS: 5600.00 12:54:47 Virtualization: AMD-V 12:54:47 Hypervisor vendor: KVM 12:54:47 Virtualization type: full 12:54:47 L1d cache: 64 KiB 12:54:47 L1i cache: 64 KiB 12:54:47 L2 cache: 1 MiB 12:54:47 L3 cache: 32 MiB 12:54:47 NUMA node0 CPU(s): 0,1 12:54:47 Vulnerability Itlb multihit: Not affected 12:54:47 Vulnerability L1tf: Not affected 12:54:47 Vulnerability Mds: Not affected 12:54:47 Vulnerability Meltdown: Not affected 12:54:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 12:54:47 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 12:54:47 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 12:54:47 Vulnerability Srbds: Not affected 12:54:47 Vulnerability Tsx async abort: Not affected 12:54:47 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 12:54:47 12:54:47 12:54:47 ---> nproc: 12:54:47 2 12:54:47 12:54:47 12:54:47 ---> df -h: 12:54:47 Filesystem Size Used Available Use% Mounted on 12:54:47 overlay 40.0G 7.6G 32.4G 19% / 12:54:47 tmpfs 64.0M 0 64.0M 0% /dev 12:54:47 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 12:54:47 shm 64.0M 0 64.0M 0% /dev/shm 12:54:47 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 12:54:47 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 12:54:47 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 12:54:47 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 12:54:47 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp 12:54:47 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 12:54:47 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 12:54:47 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 12:54:47 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 12:54:47 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-347 12:54:47 12:54:47 12:54:47 ---> free -m: 12:54:47 total used free shared buff/cache available 12:54:47 Mem: 7821 923 4803 0 2094 6720 12:54:47 Swap: 1023 0 1023 12:54:47 12:54:47 12:54:47 ---> ip addr: 12:54:47 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 12:54:47 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 12:54:47 inet 127.0.0.1/8 scope host lo 12:54:47 valid_lft forever preferred_lft forever 12:54:47 inet6 ::1/128 scope host 12:54:47 valid_lft forever preferred_lft forever 12:54:47 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 12:54:47 link/ether fa:16:3e:b8:d2:83 brd ff:ff:ff:ff:ff:ff 12:54:47 inet 10.30.123.36/23 brd 10.30.123.255 scope global dynamic eth0 12:54:47 valid_lft 85872sec preferred_lft 85872sec 12:54:47 inet6 fe80::f816:3eff:feb8:d283/64 scope link 12:54:47 valid_lft forever preferred_lft forever 12:54:47 3: docker0: mtu 1500 qdisc noqueue state DOWN 12:54:47 link/ether 02:42:0f:df:8d:6e brd ff:ff:ff:ff:ff:ff 12:54:47 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 12:54:47 valid_lft forever preferred_lft forever 12:54:47 inet6 fe80::42:fff:fedf:8d6e/64 scope link 12:54:47 valid_lft forever preferred_lft forever 12:54:47 12:54:47 12:54:47 ---> sar -b -r -n DEV: 12:54:47 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/24/21 _x86_64_ (2 CPU) 12:54:47 12:54:47 12:45:47 LINUX RESTART (2 CPU) 12:54:47 12:54:47 12:46:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 12:54:47 12:47:02 231.55 116.44 115.11 0.00 10916.44 38314.77 0.00 12:54:47 12:48:01 19.90 0.66 19.24 0.00 357.86 2783.06 0.00 12:54:47 12:49:01 0.60 0.00 0.60 0.00 0.00 10.53 0.00 12:54:47 12:50:01 0.28 0.00 0.28 0.00 0.00 5.13 0.00 12:54:47 12:51:01 0.27 0.00 0.27 0.00 0.00 3.61 0.00 12:54:47 12:52:01 0.28 0.00 0.28 0.00 0.00 4.00 0.00 12:54:47 12:53:01 0.20 0.00 0.20 0.00 0.00 2.07 0.00 12:54:47 12:54:01 0.27 0.00 0.27 0.00 0.00 3.61 0.00 12:54:47 Average: 31.28 14.46 16.82 0.00 1391.95 5077.65 0.00 12:54:47 12:54:47 12:46:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:54:47 12:47:02 5550208 0 774068 9.67 2620 1682044 1119032 12.35 523736 1545180 25164 12:54:47 12:48:01 5468324 0 800824 10.00 2620 1737172 1109924 12.25 566864 1575172 20 12:54:47 12:49:01 5472152 0 796996 9.95 2620 1737172 1061596 11.72 567352 1571524 16 12:54:47 12:50:01 5468932 0 800208 9.99 2620 1737180 1061836 11.72 569172 1572932 8 12:54:47 12:51:01 5470824 0 798312 9.97 2620 1737184 1061596 11.72 568048 1572932 8 12:54:47 12:52:01 5468204 0 800928 10.00 2620 1737188 1061776 11.72 562680 1580124 8 12:54:47 12:53:01 5465324 0 803804 10.04 2620 1737192 1061596 11.72 565664 1580124 8 12:54:47 12:54:01 5463300 0 805820 10.06 2620 1737200 1061596 11.72 568092 1580128 8 12:54:47 Average: 5478408 0 797620 9.96 2620 1730292 1074869 11.87 561451 1572264 3155 12:54:47 12:54:47 12:46:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:54:47 12:47:02 eth0 556.55 368.92 771.47 76.84 0.00 0.00 0.00 0.00 12:54:47 12:47:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:47 12:47:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:47 12:48:01 eth0 57.11 49.80 358.36 12.17 0.00 0.00 0.00 0.00 12:54:47 12:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:47 12:48:01 docker0 7.42 5.15 1.03 24.75 0.00 0.00 0.00 0.00 12:54:47 12:49:01 eth0 0.73 0.08 0.06 0.01 0.00 0.00 0.00 0.00 12:54:47 12:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:47 12:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:47 12:50:01 eth0 1.13 0.42 0.35 0.20 0.00 0.00 0.00 0.00 12:54:47 12:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:47 12:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:47 12:51:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 12:54:47 12:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:47 12:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:47 12:52:01 eth0 0.68 0.40 0.40 0.26 0.00 0.00 0.00 0.00 12:54:47 12:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:47 12:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:47 12:53:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 12:54:47 12:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:47 12:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:47 12:54:01 eth0 0.10 0.07 0.01 0.01 0.00 0.00 0.00 0.00 12:54:47 12:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:47 12:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:47 Average: eth0 76.12 51.84 139.59 11.05 0.00 0.00 0.00 0.00 12:54:47 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:47 Average: docker0 0.92 0.64 0.13 3.06 0.00 0.00 0.00 0.00 12:54:47 12:54:47 12:54:47 ---> sar -P ALL: 12:54:47 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/24/21 _x86_64_ (2 CPU) 12:54:47 12:54:47 12:45:47 LINUX RESTART (2 CPU) 12:54:47 12:54:47 12:46:02 CPU %user %nice %system %iowait %steal %idle 12:54:47 12:47:02 all 20.55 0.00 7.39 20.27 0.09 51.71 12:54:47 12:47:02 0 20.93 0.00 7.91 20.47 0.09 50.60 12:54:47 12:47:02 1 20.17 0.00 6.87 20.06 0.09 52.81 12:54:47 12:48:01 all 2.36 0.00 1.16 1.16 0.03 95.27 12:54:47 12:48:01 0 2.28 0.00 1.18 0.58 0.03 95.92 12:54:47 12:48:01 1 2.45 0.00 1.15 1.75 0.03 94.62 12:54:47 12:49:01 all 0.13 0.00 0.03 0.00 0.03 99.80 12:54:47 12:49:01 0 0.25 0.00 0.03 0.00 0.03 99.68 12:54:47 12:49:01 1 0.02 0.00 0.03 0.00 0.03 99.92 12:54:47 12:50:01 all 0.10 0.00 0.04 0.00 0.03 99.83 12:54:47 12:50:01 0 0.15 0.00 0.05 0.00 0.02 99.78 12:54:47 12:50:01 1 0.05 0.00 0.03 0.00 0.03 99.88 12:54:47 12:51:01 all 0.04 0.00 0.04 0.00 0.03 99.89 12:54:47 12:51:01 0 0.05 0.00 0.03 0.00 0.02 99.90 12:54:47 12:51:01 1 0.03 0.00 0.05 0.00 0.03 99.88 12:54:47 12:52:01 all 0.08 0.00 0.10 0.00 0.03 99.79 12:54:47 12:52:01 0 0.05 0.00 0.12 0.00 0.02 99.82 12:54:47 12:52:01 1 0.12 0.00 0.08 0.00 0.03 99.77 12:54:47 12:53:01 all 0.18 0.00 0.03 0.00 0.03 99.77 12:54:47 12:53:01 0 0.02 0.00 0.02 0.00 0.02 99.95 12:54:47 12:53:01 1 0.33 0.00 0.03 0.00 0.03 99.60 12:54:47 12:54:01 all 0.17 0.00 0.03 0.00 0.03 99.77 12:54:47 12:54:01 0 0.03 0.00 0.02 0.00 0.03 99.92 12:54:47 12:54:01 1 0.30 0.00 0.05 0.00 0.03 99.62 12:54:47 Average: all 2.84 0.00 1.06 2.57 0.04 93.49 12:54:47 Average: 0 2.85 0.00 1.12 2.52 0.03 93.48 12:54:47 Average: 1 2.83 0.00 1.00 2.62 0.04 93.51 12:54:47 12:54:47 12:54:47