Pull request #353 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from fb558c548b1f99262baa56afa14c9c4e03a1d00a+c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 (5fc253a2bb4d5140aaa889448a81d5cc7cf9ec76) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh5957118239471010934.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh4030986831276733897.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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-353/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-353/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1047005339969324435.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh8941792440497941611.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-353/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-353/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7548785810649728043.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-555 in /w/workspace/edgexfoundry_device-sdk-c_PR-353 [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-353 # 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-353@tmp/jenkins-gitclient-ssh2597504706949139142.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 c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 into PR head commit fb558c548b1f99262baa56afa14c9c4e03a1d00a > 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-353@tmp/jenkins-gitclient-ssh6466602004200661411.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb558c548b1f99262baa56afa14c9c4e03a1d00a # 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-353@tmp/jenkins-gitclient-ssh548126844187012783.key > git merge c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 # timeout=10 Merge succeeded, producing fb558c548b1f99262baa56afa14c9c4e03a1d00a Checking out Revision fb558c548b1f99262baa56afa14c9c4e03a1d00a (PR-353) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb558c548b1f99262baa56afa14c9c4e03a1d00a # timeout=10 Commit message: "fix: avoid crash when deviceresource has no attributes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:28:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:28:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:28:09 ========================================================= 16:28:09 EdgeX Global Pipelines Version Info 16:28:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2b0697b9b90fee7c5a100d7b7954bc3489632622 # timeout=10 16:28:10 ------------------- 16:28:10 stable info: 16:28:10 ------------------- 16:28:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:28:10 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 16:28:10 Message: update stable to v1.0.195 16:28:11 ------------------- 16:28:11 experimental info: 16:28:11 ------------------- 16:28:11 Commited By: **** collab-it+edgex@linuxfoundation.org 16:28:11 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 16:28:11 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-353 [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-353 [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-353 [Pipeline] echo 16:28:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb558c548b1f99262baa56afa14c9c4e03a1d00a [Pipeline] echo 16:28:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb558c5 [Pipeline] echo 16:28:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:28:12 provisioning config files... 16:28:12 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/config8157559504535075105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:28:12 ---> docker-login.sh 16:28:12 nexus3.edgexfoundry.org:10001 16:28:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:12 Configure a credential helper to remove this warning. See 16:28:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:12 16:28:12 Login Succeeded 16:28:12 nexus3.edgexfoundry.org:10002 16:28:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:13 Configure a credential helper to remove this warning. See 16:28:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:13 16:28:13 Login Succeeded 16:28:13 nexus3.edgexfoundry.org:10003 16:28:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:13 Configure a credential helper to remove this warning. See 16:28:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:13 16:28:13 Login Succeeded 16:28:13 nexus3.edgexfoundry.org:10004 16:28:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:13 Configure a credential helper to remove this warning. See 16:28:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:13 16:28:13 Login Succeeded 16:28:13 docker.io 16:28:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:13 Configure a credential helper to remove this warning. See 16:28:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:13 16:28:13 Login Succeeded 16:28:13 ---> docker-login.sh ends [Pipeline] } 16:28:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:28:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:28:14 16:28:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:28:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:28:14 latest: Pulling from edgex-devops/git-semver 16:28:14 31603596830f: Pulling fs layer 16:28:14 54011a49482f: Pulling fs layer 16:28:14 a6820b24f6d8: Pulling fs layer 16:28:14 f581987b2513: Pulling fs layer 16:28:14 f581987b2513: Waiting 16:28:14 54011a49482f: Verifying Checksum 16:28:14 54011a49482f: Download complete 16:28:14 f581987b2513: Verifying Checksum 16:28:14 f581987b2513: Download complete 16:28:14 a6820b24f6d8: Verifying Checksum 16:28:14 a6820b24f6d8: Download complete 16:28:14 31603596830f: Verifying Checksum 16:28:14 31603596830f: Download complete 16:28:15 31603596830f: Pull complete 16:28:15 54011a49482f: Pull complete 16:28:16 a6820b24f6d8: Pull complete 16:28:16 f581987b2513: Pull complete 16:28:16 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 16:28:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:28:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:28:16 prd-centos7-docker-4c-2g-555 does not seem to be running inside a container 16:28:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-353 -v /w/workspace/edgexfoundry_device-sdk-c_PR-353:/w/workspace/edgexfoundry_device-sdk-c_PR-353:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-353@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:28:17 $ docker top 7ba213c320330854a26cf31ffd816bcb1fc343d6c2062e15bfc5cff8576bdd1e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:28:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:28:17 [ssh-agent] Looking for ssh-agent implementation... 16:28:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:28:18 $ docker exec 7ba213c320330854a26cf31ffd816bcb1fc343d6c2062e15bfc5cff8576bdd1e ssh-agent 16:28:18 SSH_AUTH_SOCK=/tmp/ssh-zPq6lHpPAguI/agent.14 16:28:18 SSH_AGENT_PID=21 16:28:18 Running ssh-add (command line suppressed) 16:28:18 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/private_key_5409422122299201178.key (/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/private_key_5409422122299201178.key) 16:28:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:28:18 + git tag --points-at HEAD [Pipeline] } 16:28:18 $ docker exec --env ******** --env ******** 7ba213c320330854a26cf31ffd816bcb1fc343d6c2062e15bfc5cff8576bdd1e ssh-agent -k 16:28:18 unset SSH_AUTH_SOCK; 16:28:18 unset SSH_AGENT_PID; 16:28:18 echo Agent pid 21 killed; 16:28:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:28:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:28:18 [ssh-agent] Looking for ssh-agent implementation... 16:28:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:28:18 $ docker exec 7ba213c320330854a26cf31ffd816bcb1fc343d6c2062e15bfc5cff8576bdd1e ssh-agent 16:28:18 SSH_AUTH_SOCK=/tmp/ssh-eFlZUYyJ05Ft/agent.56 16:28:18 SSH_AGENT_PID=62 16:28:18 Running ssh-add (command line suppressed) 16:28:19 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/private_key_6038231646012475336.key (/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/private_key_6038231646012475336.key) 16:28:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:28:19 + git semver init 16:28:19 # -> Open(): unable to determine branch for HEAD 16:28:19 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-353/.git 16:28:19 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-353 16:28:19 # $SEMVER_REMOTE_NAME = origin 16:28:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:28:19 # $SEMVER_USER_NAME = edgex-jenkins 16:28:19 # $SEMVER_BRANCH = PR-353 16:28:19 # $SEMVER_TEMP = /tmp/semver-160096370 16:28:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 16:28:19 # '/tmp/semver-160096370' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-353/.semver' 16:28:19 # -> Force: false 16:28:19 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-353/.semver [Pipeline] } 16:28:19 $ docker exec --env ******** --env ******** 7ba213c320330854a26cf31ffd816bcb1fc343d6c2062e15bfc5cff8576bdd1e ssh-agent -k 16:28:20 unset SSH_AUTH_SOCK; 16:28:20 unset SSH_AGENT_PID; 16:28:20 echo Agent pid 62 killed; 16:28:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:28:20 + git semver [Pipeline] } 16:28:20 $ docker stop --time=1 7ba213c320330854a26cf31ffd816bcb1fc343d6c2062e15bfc5cff8576bdd1e 16:28:22 $ docker rm -f 7ba213c320330854a26cf31ffd816bcb1fc343d6c2062e15bfc5cff8576bdd1e [Pipeline] // withDockerContainer [Pipeline] sh 16:28:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:28:22 Stashed 1 file(s) [Pipeline] echo 16:28:22 [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 16:28:37 Still waiting to schedule task 16:28:37 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:28:37 Still waiting to schedule task 16:28:37 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-554’ 16:31:07 Running on prd-centos7-docker-4c-2g-556 in /w/workspace/edgexfoundry_device-sdk-c_PR-353 [Pipeline] { [Pipeline] ws 16:31:07 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 16:31:07 Selected Git installation does not exist. Using Default 16:31:07 The recommended git tool is: NONE 16:31:09 using credential edgex-jenkins-ssh 16:31:09 Cloning the remote Git repository 16:31:09 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:31:09 > git init /w/workspace/device-sdk-c/2 # timeout=10 16:31:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:31:10 > git --version # timeout=10 16:31:10 > git --version # 'git version 2.24.4' 16:31:10 using GIT_SSH to set credentials SSH Credentials for GitHub 16:31:10 [INFO] Currently running in a labeled security context 16:31:10 [INFO] Currently SELinux is 'enforcing' on the host 16:31:10 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh4851645914962275944.key 16:31:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:31:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:31:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:31:11 Merging remotes/origin/master commit c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 into PR head commit fb558c548b1f99262baa56afa14c9c4e03a1d00a 16:31:11 Merge succeeded, producing fb558c548b1f99262baa56afa14c9c4e03a1d00a 16:31:11 Checking out Revision fb558c548b1f99262baa56afa14c9c4e03a1d00a (PR-353) 16:31:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:31:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:31:10 using GIT_SSH to set credentials SSH Credentials for GitHub 16:31:10 [INFO] Currently running in a labeled security context 16:31:10 [INFO] Currently SELinux is 'enforcing' on the host 16:31:10 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh5807931253100025228.key 16:31:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:31:11 > git config core.sparsecheckout # timeout=10 16:31:11 > git checkout -f fb558c548b1f99262baa56afa14c9c4e03a1d00a # timeout=10 16:31:11 > git remote # timeout=10 16:31:11 > git config --get remote.origin.url # timeout=10 16:31:11 using GIT_SSH to set credentials SSH Credentials for GitHub 16:31:11 [INFO] Currently running in a labeled security context 16:31:11 [INFO] Currently SELinux is 'enforcing' on the host 16:31:11 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh3497383313713013395.key 16:31:11 > git merge c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 # timeout=10 16:31:11 > git rev-parse HEAD^{commit} # timeout=10 16:31:11 > git config core.sparsecheckout # timeout=10 16:31:11 > git checkout -f fb558c548b1f99262baa56afa14c9c4e03a1d00a # timeout=10 16:31:14 Commit message: "fix: avoid crash when deviceresource has no attributes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:31:16 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:31:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:31:16 + sudo service docker restart 16:31:16 + true 16:31:16 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:31:34 provisioning config files... 16:31:34 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config5567460871706962790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:31:35 ---> docker-login.sh 16:31:35 nexus3.edgexfoundry.org:10001 16:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:35 Configure a credential helper to remove this warning. See 16:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:35 16:31:35 Login Succeeded 16:31:35 nexus3.edgexfoundry.org:10002 16:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:35 Configure a credential helper to remove this warning. See 16:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:35 16:31:35 Login Succeeded 16:31:35 nexus3.edgexfoundry.org:10003 16:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:36 Configure a credential helper to remove this warning. See 16:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:36 16:31:36 Login Succeeded 16:31:36 nexus3.edgexfoundry.org:10004 16:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:36 Configure a credential helper to remove this warning. See 16:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:36 16:31:36 Login Succeeded 16:31:36 docker.io 16:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:36 Configure a credential helper to remove this warning. See 16:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:36 16:31:36 Login Succeeded 16:31:36 ---> docker-login.sh ends [Pipeline] } 16:31:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:31:36 ========================================================= 16:31:36 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 16:31:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:31:37 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 16:31:37 Sending build context to Docker daemon 2.629MB 16:31:37 Step 1/25 : ARG BASE=alpine:3.12 16:31:37 Step 2/25 : FROM ${BASE} as builder 16:31:37 latest: Pulling from edgex-devops/edgex-gcc-base 16:31:37 e7c96db7181b: Pulling fs layer 16:31:37 4c13bbce0fe7: Pulling fs layer 16:31:37 6059c847ac2f: Pulling fs layer 16:31:37 4c13bbce0fe7: Verifying Checksum 16:31:37 4c13bbce0fe7: Download complete 16:31:37 e7c96db7181b: Verifying Checksum 16:31:37 e7c96db7181b: Download complete 16:31:37 e7c96db7181b: Pull complete 16:31:37 4c13bbce0fe7: Pull complete 16:31:38 6059c847ac2f: Verifying Checksum 16:31:38 6059c847ac2f: Download complete 16:31:41 6059c847ac2f: Pull complete 16:31:41 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 16:31:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 16:31:41 ---> 5eabd8fd8ba2 16:31:41 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:31:43 ---> Running in 4d7a3f884345 16:31:43 Connecting to iotech.jfrog.io (54.74.239.58:443) 16:31:43 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:31:43 16:31:43 Removing intermediate container 4d7a3f884345 16:31:43 ---> 7c7792d37805 16:31:43 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:31:43 ---> Running in 3895b90ca099 16:31:44 Removing intermediate container 3895b90ca099 16:31:44 ---> 62c15d502d76 16:31:44 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 16:31:44 ---> Running in bba374f7df0d 16:31:44 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:31:45 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:31:46 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:31:46 (1/11) Installing hiredis (0.14.0-r0) 16:31:46 (2/11) Installing hiredis-dev (0.14.0-r0) 16:31:46 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 16:31:46 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 16:31:48 (5/11) Installing libuuid (2.33-r0) 16:31:48 (6/11) Installing libblkid (2.33-r0) 16:31:48 (7/11) Installing libfdisk (2.33-r0) 16:31:48 (8/11) Installing libmount (2.33-r0) 16:31:48 (9/11) Installing libsmartcols (2.33-r0) 16:31:48 (10/11) Installing util-linux-dev (2.33-r0) 16:31:48 (11/11) Installing wget (1.20.3-r0) 16:31:48 Executing busybox-1.29.3-r10.trigger 16:31:48 OK: 273 MiB in 86 packages 16:31:49 Removing intermediate container bba374f7df0d 16:31:49 ---> 42a508f0e23f 16:31:49 Step 6/25 : ENV CBOR_VERSION=0.5.0 16:31:49 ---> Running in e5b79cbf100f 16:31:49 Removing intermediate container e5b79cbf100f 16:31:49 ---> f048e24c8600 16:31:49 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 16:31:49 ---> Running in d86d1c43b2be 16:31:49 --2021-06-21 16:31:49-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:31:49 Resolving github.com... 140.82.113.3 16:31:49 Connecting to github.com|140.82.113.3|:443... connected. 16:31:49 HTTP request sent, awaiting response... 302 Found 16:31:49 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:31:49 --2021-06-21 16:31:49-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:31:49 Resolving codeload.github.com... 140.82.112.9 16:31:49 Connecting to codeload.github.com|140.82.112.9|:443... connected. 16:31:50 HTTP request sent, awaiting response... 200 OK 16:31:50 Length: unspecified [application/x-gzip] 16:31:50 Saving to: 'STDOUT' 16:31:50 16:31:50 0K .......... .......... .......... .......... .......... 1.43M 16:31:50 50K .......... .......... .......... .......... .......... 2.90M 16:31:50 100K .......... .......... .......... .......... .......... 41.3M 16:31:50 150K .......... .......... .......... .......... .......... 56.0M 16:31:50 200K .......... .......... .......... .......... .......... 3.12M 16:31:50 250K .......... .......... .......... .......... .......... 7.02M 16:31:50 300K .......... .......... .......... .......... .......... 7.21M 16:31:50 350K .......... .......... .......... .......... .......... 21.8M 16:31:50 400K .......... .......... .......... .......... .......... 9.33M 16:31:50 450K .......... .......... .......... .......... .......... 12.9M 16:31:50 500K .......... .......... .......... .......... .......... 25.3M 16:31:50 550K .......... .......... .......... .......... .......... 7.58M 16:31:50 600K .......... .......... .......... .......... .......... 5.40M 16:31:50 650K .......... .......... .......... .......... .......... 5.64M 16:31:50 700K .. 42.8M=0.1s 16:31:50 16:31:50 2021-06-21 16:31:50 (5.73 MB/s) - written to stdout [719348] 16:31:50 16:31:50 -- The C compiler identification is GNU 8.3.0 16:31:50 -- The CXX compiler identification is GNU 8.3.0 16:31:50 -- Check for working C compiler: /usr/bin/cc 16:31:50 -- Check for working C compiler: /usr/bin/cc -- works 16:31:50 -- Detecting C compiler ABI info 16:31:50 -- Detecting C compiler ABI info - done 16:31:50 -- Detecting C compile features 16:31:50 -- Detecting C compile features - done 16:31:50 -- Check for working CXX compiler: /usr/bin/c++ 16:31:50 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:31:50 -- Detecting CXX compiler ABI info 16:31:50 -- Detecting CXX compiler ABI info - done 16:31:50 -- Detecting CXX compile features 16:31:51 -- Detecting CXX compile features - done 16:31:51 -- Looking for include file endian.h 16:31:51 -- Looking for include file endian.h - found 16:31:51 -- Check if the system is big endian 16:31:51 -- Searching 16 bit integer 16:31:51 -- Looking for sys/types.h 16:31:51 -- Looking for sys/types.h - found 16:31:51 -- Looking for stdint.h 16:31:51 -- Looking for stdint.h - found 16:31:51 -- Looking for stddef.h 16:31:51 -- Looking for stddef.h - found 16:31:51 -- Check size of unsigned short 16:31:51 -- Check size of unsigned short - done 16:31:51 -- Using unsigned short 16:31:51 -- Check if the system is big endian - little endian 16:31:51 -- Check size of size_t 16:31:51 -- Check size of size_t - done 16:31:51 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:31:51 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:31:51 asked CMake to find a package configuration file provided by "cJSON", but 16:31:51 CMake did not find one. 16:31:51 16:31:51 Could not find a package configuration file provided by "cJSON" with any of 16:31:51 the following names: 16:31:51 16:31:51 cJSONConfig.cmake 16:31:51 cjson-config.cmake 16:31:51 16:31:51 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:31:51 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:31:51 provides a separate development package or SDK, be sure it has been 16:31:51 installed. 16:31:51 16:31:51 16:31:51 -- Configuring done 16:31:51 -- Generating done 16:31:51 -- Build files have been written to: /tmp/cbor 16:31:51 Scanning dependencies of target cbor_shared 16:31:51 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:31:51 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:31:52 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:31:52 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:31:52 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:31:52 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:31:52 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:31:52 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:31:52 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:31:52 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:31:52 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:31:52 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:31:52 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:31:52 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:31:52 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:31:52 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:31:52 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:31:52 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:31:53 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:31:53 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:31:53 [ 40%] Linking C shared library libcbor.so 16:31:53 [ 40%] Built target cbor_shared 16:31:53 Scanning dependencies of target cbor 16:31:53 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:31:53 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:31:53 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:31:53 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:31:53 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:31:53 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:31:53 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:31:53 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:31:53 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:31:53 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:31:54 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:31:54 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:31:54 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:31:54 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:31:54 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:31:54 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:31:54 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:31:54 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:31:54 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:31:54 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:31:54 [ 80%] Linking C static library libcbor.a 16:31:54 [ 80%] Built target cbor 16:31:54 Scanning dependencies of target create_items 16:31:54 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:31:54 [ 84%] Linking C executable create_items 16:31:54 [ 84%] Built target create_items 16:31:54 Scanning dependencies of target readfile 16:31:54 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:31:55 [ 88%] Linking C executable readfile 16:31:55 [ 88%] Built target readfile 16:31:55 Scanning dependencies of target streaming_parser 16:31:55 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:31:55 [ 92%] Linking C executable streaming_parser 16:31:55 [ 92%] Built target streaming_parser 16:31:55 Scanning dependencies of target sort 16:31:55 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:31:55 [ 96%] Linking C executable sort 16:31:55 [ 96%] Built target sort 16:31:55 Scanning dependencies of target hello 16:31:55 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:31:55 [100%] Linking C executable hello 16:31:55 [100%] Built target hello 16:31:55 Install the project... 16:31:55 -- Install configuration: "Release" 16:31:55 -- Installing: /usr/local/include/cbor/configuration.h 16:31:55 -- Installing: /usr/local/lib64/libcbor.a 16:31:55 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:31:55 -- Installing: /usr/local/lib64/libcbor.so.0 16:31:55 -- Installing: /usr/local/lib64/libcbor.so 16:31:55 -- Up-to-date: /usr/local/include/cbor 16:31:55 -- Installing: /usr/local/include/cbor/arrays.h 16:31:55 -- Installing: /usr/local/include/cbor/bytestrings.h 16:31:55 -- Installing: /usr/local/include/cbor/callbacks.h 16:31:55 -- Installing: /usr/local/include/cbor/common.h 16:31:55 -- Installing: /usr/local/include/cbor/data.h 16:31:55 -- Installing: /usr/local/include/cbor/encoding.h 16:31:55 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:31:55 -- Installing: /usr/local/include/cbor/internal 16:31:55 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:31:55 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:31:55 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:31:55 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:31:55 -- Installing: /usr/local/include/cbor/internal/stack.h 16:31:55 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:31:55 -- Installing: /usr/local/include/cbor/ints.h 16:31:55 -- Installing: /usr/local/include/cbor/maps.h 16:31:55 -- Installing: /usr/local/include/cbor/serialization.h 16:31:55 -- Installing: /usr/local/include/cbor/streaming.h 16:31:55 -- Installing: /usr/local/include/cbor/strings.h 16:31:55 -- Installing: /usr/local/include/cbor/tags.h 16:31:55 -- Installing: /usr/local/include/cbor.h 16:31:55 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:31:55 Removing intermediate container d86d1c43b2be 16:31:55 ---> e00edbebb5f2 16:31:55 Step 8/25 : RUN mkdir /tmp/sdk 16:31:55 ---> Running in 1786d4ccc76e 16:31:56 Removing intermediate container 1786d4ccc76e 16:31:56 ---> 5f6b497f8036 16:31:56 Step 9/25 : COPY VERSION /tmp/sdk 16:31:56 ---> 16c881fc0852 16:31:56 Step 10/25 : COPY src /tmp/sdk/src 16:31:56 ---> 18a256a15fc1 16:31:56 Step 11/25 : COPY include /tmp/sdk/include 16:31:56 ---> 1926b8b8283f 16:31:56 Step 12/25 : COPY scripts /tmp/sdk/scripts 16:31:56 ---> a9632ac2d373 16:31:56 Step 13/25 : COPY LICENSE /tmp/sdk 16:31:57 ---> d266766bf05c 16:31:57 Step 14/25 : COPY Attribution.txt /tmp/sdk 16:31:57 ---> de117b52e710 16:31:57 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:31:57 ---> Running in 6c62ad1a460f 16:31:57 + CPPCHECK=false 16:31:57 + DOCGEN=false 16:31:57 + TOMLVER=SDK-0.2 16:31:57 + CUTILVER=1.1.4 16:31:57 + '[' 0 -gt 0 ] 16:31:57 + readlink -f ./scripts/build.sh 16:31:57 + dirname /tmp/sdk/scripts/build.sh 16:31:57 + dirname /tmp/sdk/scripts 16:31:57 + ROOT=/tmp/sdk 16:31:57 + cd /tmp/sdk 16:31:57 + '[' '!' -d deps ] 16:31:57 + mkdir deps 16:31:57 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:31:57 + tar -C deps -z -x -f - 16:31:57 --2021-06-21 16:31:57-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:31:57 Resolving github.com... 140.82.113.3 16:31:57 Connecting to github.com|140.82.113.3|:443... connected. 16:31:58 HTTP request sent, awaiting response... 302 Found 16:31:58 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:31:58 --2021-06-21 16:31:57-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:31:58 Resolving codeload.github.com... 140.82.112.9 16:31:58 Connecting to codeload.github.com|140.82.112.9|:443... connected. 16:31:58 HTTP request sent, awaiting response... 200 OK 16:31:58 Length: unspecified [application/x-gzip] 16:31:58 Saving to: 'STDOUT' 16:31:58  16:31:58 0K .......... ......  477K=0.03s 16:31:58 16:31:58 2021-06-21 16:31:58 (477 KB/s) - written to stdout [16451] 16:31:58 16:31:58 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:31:58 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:31:58 + tar -C deps -z -x -f - 16:31:58 --2021-06-21 16:31:58-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:31:58 Resolving github.com... 140.82.113.3 16:31:58 Connecting to github.com|140.82.113.3|:443... connected. 16:31:58 HTTP request sent, awaiting response... 302 Found 16:31:58 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 16:31:58 --2021-06-21 16:31:58-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 16:31:58 Resolving codeload.github.com... 140.82.112.9 16:31:58 Connecting to codeload.github.com|140.82.112.9|:443... connected. 16:31:58 HTTP request sent, awaiting response... 200 OK 16:31:58 Length: unspecified [application/x-gzip] 16:31:58 Saving to: 'STDOUT' 16:31:58  16:31:58 0K .......... .......... .......... .......... .......... 1.46M 16:31:58 50K .......... .......... .......... .......... .......... 2.85M 16:31:58 100K .......... .......... .......... .......... .......... 32.2M 16:31:58 150K .......... .......... ....... 4.52M=0.06s 16:31:58 16:31:58 2021-06-21 16:31:58 (2.99 MB/s) - written to stdout [181796] 16:31:58 16:31:58 + mkdir -p src/c/iot 16:31:58 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 16:31:58 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 16:31:58 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 16:31:58 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 16:31:58 + mkdir -p include/iot 16:31:58 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 16:31:58 + mkdir -p include/iot/os 16:31:58 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 16:31:58 + mkdir -p /tmp/sdk/build/release 16:31:58 + cd /tmp/sdk/build/release 16:31:58 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:31:58 -- The C compiler identification is GNU 8.3.0 16:31:58 -- Check for working C compiler: /usr/bin/cc 16:31:59 -- Check for working C compiler: /usr/bin/cc -- works 16:31:59 -- Detecting C compiler ABI info 16:31:59 -- Detecting C compiler ABI info - done 16:31:59 -- Detecting C compile features 16:31:59 -- Detecting C compile features - done 16:31:59 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:31:59 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:31:59 -- Found LIBYAML: /usr/lib/libyaml.so 16:31:59 -- Found LIBUUID: /usr/lib/libuuid.so 16:31:59 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:31:59 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:31:59 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:31:59 -- C SDK 0.0.0 for Linux 16:31:59 -- Performing Test CSDK_HAVE_ATOMIC 16:31:59 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:31:59 -- Found Curses: /usr/lib/libcurses.so 16:31:59 -- Configuring done 16:31:59 -- Generating done 16:31:59 -- Build files have been written to: /tmp/sdk/build/release 16:31:59 + tee release.log 16:31:59 + make all package 16:31:59 Scanning dependencies of target csdk 16:31:59 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:31:59 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:31:59 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:31:59 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:32:00 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:32:00 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:32:00 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:32:00 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:32:00 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:32:00 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:32:00 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:32:00 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:32:01 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:32:01 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:32:01 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:32:01 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:32:01 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:32:01 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:32:01 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:32:01 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:32:01 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:32:02 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:32:02 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:32:02 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:32:02 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:32:02 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:32:02 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:32:03 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:32:03 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:32:03 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:32:03 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:32:03 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:32:03 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:32:03 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:32:03 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:32:03 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:32:04 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:32:04 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:32:04 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:32:04 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:32:04 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:32:05 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:32:05 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:32:05 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:32:06 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:32:06 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:32:06 [ 74%] Linking C shared library libcsdk.so 16:32:06 [ 74%] Built target csdk 16:32:06 Scanning dependencies of target template 16:32:06 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:32:06 [ 77%] Linking C executable template 16:32:06 [ 77%] Built target template 16:32:06 Scanning dependencies of target device-counter 16:32:06 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:32:07 [ 80%] Linking C executable device-counter 16:32:07 [ 80%] Built target device-counter 16:32:07 Scanning dependencies of target device-random 16:32:07 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:32:07 [ 84%] Linking C executable device-random 16:32:07 [ 84%] Built target device-random 16:32:07 Scanning dependencies of target device-gyro 16:32:07 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:32:07 [ 87%] Linking C executable device-gyro 16:32:07 [ 87%] Built target device-gyro 16:32:07 Scanning dependencies of target device-bitfields 16:32:07 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:32:07 [ 90%] Linking C executable device-bitfields 16:32:07 [ 90%] Built target device-bitfields 16:32:07 Scanning dependencies of target template-discovery 16:32:07 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:32:07 [ 93%] Linking C executable template-discovery 16:32:07 [ 93%] Built target template-discovery 16:32:07 Scanning dependencies of target device-file 16:32:07 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:32:07 [ 96%] Linking C executable device-file 16:32:07 [ 96%] Built target device-file 16:32:07 Scanning dependencies of target device-terminal 16:32:07 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:32:07 [100%] Linking C executable device-terminal 16:32:07 [100%] Built target device-terminal 16:32:07 Run CPack packaging tool... 16:32:07 CPack: Create package using TGZ 16:32:07 CPack: Install projects 16:32:07 CPack: - Run preinstall target for: Csdk 16:32:08 CPack: - Install project: Csdk 16:32:08 CPack: Create package 16:32:08 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:32:08 + '[' false '=' true ] 16:32:08 + '[' false '=' true ] 16:32:08 + mkdir -p /tmp/sdk/build/debug 16:32:08 + cd /tmp/sdk/build/debug 16:32:08 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:32:08 -- The C compiler identification is GNU 8.3.0 16:32:08 -- Check for working C compiler: /usr/bin/cc 16:32:08 -- Check for working C compiler: /usr/bin/cc -- works 16:32:08 -- Detecting C compiler ABI info 16:32:08 -- Detecting C compiler ABI info - done 16:32:08 -- Detecting C compile features 16:32:08 -- Detecting C compile features - done 16:32:08 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:32:08 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:32:08 -- Found LIBYAML: /usr/lib/libyaml.so 16:32:08 -- Found LIBUUID: /usr/lib/libuuid.so 16:32:08 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:32:08 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:32:08 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:32:08 -- C SDK 0.0.0 for Linux 16:32:08 -- Performing Test CSDK_HAVE_ATOMIC 16:32:08 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:32:08 -- Found Curses: /usr/lib/libcurses.so 16:32:08 -- Configuring done 16:32:08 -- Generating done 16:32:08 -- Build files have been written to: /tmp/sdk/build/debug 16:32:08 + make 16:32:08 + tee debug.log 16:32:08 Scanning dependencies of target csdk 16:32:08 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:32:08 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:32:08 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:32:09 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:32:09 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:32:09 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:32:09 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:32:09 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:32:09 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:32:09 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:32:09 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:32:09 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:32:09 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:32:09 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:32:09 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:32:09 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:32:09 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:32:09 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:32:09 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:32:09 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:32:10 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:32:10 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:32:10 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:32:10 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:32:10 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:32:10 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:32:10 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:32:10 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:32:10 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:32:10 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:32:10 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:32:10 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:32:10 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:32:11 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:32:11 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:32:11 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:32:11 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:32:11 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:32:11 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:32:11 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:32:11 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:32:11 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:32:11 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:32:11 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:32:11 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:32:12 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:32:12 [ 74%] Linking C shared library libcsdk.so 16:32:12 [ 74%] Built target csdk 16:32:12 Scanning dependencies of target template 16:32:12 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:32:12 [ 77%] Linking C executable template 16:32:12 [ 77%] Built target template 16:32:12 Scanning dependencies of target device-counter 16:32:12 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:32:12 [ 80%] Linking C executable device-counter 16:32:12 [ 80%] Built target device-counter 16:32:12 Scanning dependencies of target device-random 16:32:12 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:32:12 [ 84%] Linking C executable device-random 16:32:12 [ 84%] Built target device-random 16:32:12 Scanning dependencies of target device-gyro 16:32:12 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:32:12 [ 87%] Linking C executable device-gyro 16:32:12 [ 87%] Built target device-gyro 16:32:12 Scanning dependencies of target device-bitfields 16:32:12 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:32:12 [ 90%] Linking C executable device-bitfields 16:32:12 [ 90%] Built target device-bitfields 16:32:12 Scanning dependencies of target template-discovery 16:32:12 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:32:12 [ 93%] Linking C executable template-discovery 16:32:12 [ 93%] Built target template-discovery 16:32:12 Scanning dependencies of target device-file 16:32:12 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:32:13 [ 96%] Linking C executable device-file 16:32:13 [ 96%] Built target device-file 16:32:13 Scanning dependencies of target device-terminal 16:32:13 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:32:13 [100%] Linking C executable device-terminal 16:32:13 [100%] Built target device-terminal 16:32:13 make: Entering directory '/tmp/sdk/build/release' 16:32:13 make[1]: Entering directory '/tmp/sdk/build/release' 16:32:13 make[2]: Entering directory '/tmp/sdk/build/release' 16:32:13 make[2]: Leaving directory '/tmp/sdk/build/release' 16:32:13 [ 74%] Built target csdk 16:32:13 make[2]: Entering directory '/tmp/sdk/build/release' 16:32:13 make[2]: Leaving directory '/tmp/sdk/build/release' 16:32:13 [ 77%] Built target template 16:32:13 make[2]: Entering directory '/tmp/sdk/build/release' 16:32:13 make[2]: Leaving directory '/tmp/sdk/build/release' 16:32:13 [ 80%] Built target device-counter 16:32:13 make[2]: Entering directory '/tmp/sdk/build/release' 16:32:13 make[2]: Leaving directory '/tmp/sdk/build/release' 16:32:13 [ 84%] Built target device-random 16:32:13 make[2]: Entering directory '/tmp/sdk/build/release' 16:32:13 make[2]: Leaving directory '/tmp/sdk/build/release' 16:32:13 [ 87%] Built target device-gyro 16:32:13 make[2]: Entering directory '/tmp/sdk/build/release' 16:32:13 make[2]: Leaving directory '/tmp/sdk/build/release' 16:32:13 [ 90%] Built target device-bitfields 16:32:13 make[2]: Entering directory '/tmp/sdk/build/release' 16:32:13 make[2]: Leaving directory '/tmp/sdk/build/release' 16:32:13 [ 93%] Built target template-discovery 16:32:13 make[2]: Entering directory '/tmp/sdk/build/release' 16:32:13 make[2]: Leaving directory '/tmp/sdk/build/release' 16:32:13 [ 96%] Built target device-file 16:32:13 make[2]: Entering directory '/tmp/sdk/build/release' 16:32:13 make[2]: Leaving directory '/tmp/sdk/build/release' 16:32:13 [100%] Built target device-terminal 16:32:13 make[1]: Leaving directory '/tmp/sdk/build/release' 16:32:13 Install the project... 16:32:13 -- Install configuration: "Release" 16:32:13 -- Installing: /usr/local/lib/libcsdk.so 16:32:13 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:32:13 -- Up-to-date: /usr/local/include 16:32:13 -- Installing: /usr/local/include/devsdk 16:32:13 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:32:13 -- Installing: /usr/local/include/devsdk/devsdk.h 16:32:13 -- Installing: /usr/local/include/edgex 16:32:13 -- Installing: /usr/local/include/edgex/devices.h 16:32:13 -- Installing: /usr/local/include/edgex/edgex-base.h 16:32:13 -- Installing: /usr/local/include/edgex/edgex.h 16:32:13 -- Installing: /usr/local/include/edgex/profiles.h 16:32:13 -- Installing: /usr/local/include/edgex/rest-server.h 16:32:13 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:32:13 -- Installing: /usr/local/include/iot 16:32:13 -- Installing: /usr/local/include/iot/base64.h 16:32:13 -- Installing: /usr/local/include/iot/component.h 16:32:13 -- Installing: /usr/local/include/iot/config.h 16:32:13 -- Installing: /usr/local/include/iot/container.h 16:32:13 -- Installing: /usr/local/include/iot/data.h 16:32:13 -- Installing: /usr/local/include/iot/hash.h 16:32:13 -- Installing: /usr/local/include/iot/iot.h 16:32:13 -- Installing: /usr/local/include/iot/json.h 16:32:13 -- Installing: /usr/local/include/iot/logger.h 16:32:13 -- Installing: /usr/local/include/iot/os.h 16:32:13 -- Installing: /usr/local/include/iot/scheduler.h 16:32:13 -- Installing: /usr/local/include/iot/thread.h 16:32:13 -- Installing: /usr/local/include/iot/threadpool.h 16:32:13 -- Installing: /usr/local/include/iot/time.h 16:32:13 -- Installing: /usr/local/include/iot/typecode.h 16:32:13 -- Installing: /usr/local/include/iot/os 16:32:13 -- Installing: /usr/local/include/iot/os/linux.h 16:32:13 -- Installing: /usr/local/include/iot/os/macos.h 16:32:13 -- Installing: /usr/local/include/iot/os/zephyr.h 16:32:13 -- Installing: /usr/local/include/iot/defs.h 16:32:13 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:32:13 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:32:13 make: Leaving directory '/tmp/sdk/build/release' 16:32:13 Removing intermediate container 6c62ad1a460f 16:32:13 ---> 383fec4d23b6 16:32:13 Step 16/25 : FROM ${BASE} 16:32:13 ---> 5eabd8fd8ba2 16:32:13 Step 17/25 : LABEL maintainer="IOTech " 16:32:13 ---> Running in cfa6247d4de2 16:32:14 Removing intermediate container cfa6247d4de2 16:32:14 ---> 947d0d4a3947 16:32:14 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:32:14 ---> Running in 2b42e6c41a34 16:32:14 Connecting to iotech.jfrog.io (34.243.182.113:443) 16:32:14 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:32:14 16:32:15 Removing intermediate container 2b42e6c41a34 16:32:15 ---> aa445274d0e9 16:32:15 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:32:15 ---> Running in 9980bebfce23 16:32:15 Removing intermediate container 9980bebfce23 16:32:15 ---> c40010c9eedd 16:32:15 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 16:32:15 ---> Running in ed44a6a88a4e 16:32:15 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:32:16 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:32:17 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:32:17 (1/6) Installing curl (7.64.0-r5) 16:32:17 (2/6) Installing hiredis (0.14.0-r0) 16:32:17 (3/6) Installing hiredis-dev (0.14.0-r0) 16:32:17 (4/6) Installing libuuid (2.33-r0) 16:32:18 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 16:32:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-557 in /w/workspace/edgexfoundry_device-sdk-c_PR-353 [Pipeline] { [Pipeline] ws 16:32:18 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 16:32:18 Selected Git installation does not exist. Using Default 16:32:18 The recommended git tool is: NONE 16:32:19 (6/6) Installing wget (1.20.3-r0) 16:32:19 Executing busybox-1.29.3-r10.trigger 16:32:19 OK: 269 MiB in 81 packages 16:32:20 Removing intermediate container ed44a6a88a4e 16:32:20 ---> 7a7661e61b71 16:32:20 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:32:20 ---> 9a1aa41b2317 16:32:20 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:32:20 ---> d3824d0761c6 16:32:20 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 16:32:20 ---> bcd9501e15be 16:32:20 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:32:20 ---> b0e612c1b302 16:32:20 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:32:20 ---> c3cd99dd0182 16:32:20 Successfully built c3cd99dd0182 16:32:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:32:21 + docker inspect -f . ci-base-image-x86_64 16:32:21 . [Pipeline] withDockerContainer 16:32:21 prd-centos7-docker-4c-2g-556 does not seem to be running inside a container 16:32:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:32:22 $ docker top b88c1be74d1d50ead112c6ec59bad816f2dc8a13530282bb891cf07d5b63abbf -eo pid,comm [Pipeline] { [Pipeline] sh 16:32:22 + make test 16:32:22 echo "make test" 16:32:22 make test [Pipeline] } 16:32:22 $ docker stop --time=1 b88c1be74d1d50ead112c6ec59bad816f2dc8a13530282bb891cf07d5b63abbf 16:32:23 using credential edgex-jenkins-ssh 16:32:23 Cloning the remote Git repository 16:32:23 $ docker rm -f b88c1be74d1d50ead112c6ec59bad816f2dc8a13530282bb891cf07d5b63abbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 16:32:24 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:32:24 > git init /w/workspace/device-sdk-c/2 # timeout=10 16:32:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:32:24 > git --version # timeout=10 16:32:24 > git --version # 'git version 2.17.1' 16:32:24 using GIT_SSH to set credentials SSH Credentials for GitHub 16:32:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh 16:32:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:32:25 + ls -al . 16:32:25 total 160 16:32:25 drwxrwxr-x. 8 jenkins jenkins 260 Jun 21 16:31 . 16:32:25 drwxrwxr-x. 4 jenkins jenkins 28 Jun 21 16:31 .. 16:32:25 -rw-rw-r--. 1 jenkins jenkins 3104 Jun 21 16:31 Attribution.txt 16:32:25 -rw-rw-r--. 1 jenkins jenkins 7509 Jun 21 16:31 CHANGES 16:32:25 drwxrwxr-x. 2 jenkins jenkins 121 Jun 21 16:31 docs 16:32:25 -rw-rw-r--. 1 jenkins jenkins 108574 Jun 21 16:31 Doxyfile 16:32:25 drwxrwxr-x. 8 jenkins jenkins 179 Jun 21 16:31 .git 16:32:25 drwxrwxr-x. 2 jenkins jenkins 81 Jun 21 16:31 .github 16:32:25 -rw-rw-r--. 1 jenkins jenkins 176 Jun 21 16:31 .gitignore 16:32:25 drwxrwxr-x. 4 jenkins jenkins 33 Jun 21 16:31 include 16:32:25 -rw-rw-r--. 1 jenkins jenkins 784 Jun 21 16:31 Jenkinsfile 16:32:25 -rw-rw-r--. 1 jenkins jenkins 10174 Jun 21 16:31 LICENSE 16:32:25 -rw-rw-r--. 1 jenkins jenkins 444 Jun 21 16:31 Makefile 16:32:25 -rw-rw-r--. 1 jenkins jenkins 4090 Jun 21 16:31 README.md 16:32:25 -rw-rw-r--. 1 jenkins jenkins 7090 Jun 21 16:31 README.v2.md 16:32:25 drwxrwxr-x. 2 jenkins jenkins 98 Jun 21 16:31 scripts 16:32:25 drwxrwxr-x. 4 jenkins jenkins 50 Jun 21 16:31 src 16:32:25 -rw-rw-r--. 1 jenkins jenkins 5 Jun 21 16:28 VERSION [Pipeline] isUnix [Pipeline] sh 16:32:25 + 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=fb558c548b1f99262baa56afa14c9c4e03a1d00a --label arch=amd64 --label version=0.0.0 . 16:32:25 Sending build context to Docker daemon 2.629MB 16:32:25 Step 1/17 : ARG BASE=alpine:3.12 16:32:25 Step 2/17 : FROM ${BASE} 16:32:25 ---> c3cd99dd0182 16:32:25 Step 3/17 : LABEL maintainer="IOTech " 16:32:26 Merging remotes/origin/master commit c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 into PR head commit fb558c548b1f99262baa56afa14c9c4e03a1d00a 16:32:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:32:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:32:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:32:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:32:25 using GIT_SSH to set credentials SSH Credentials for GitHub 16:32:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:32:26 > git config core.sparsecheckout # timeout=10 16:32:26 > git checkout -f fb558c548b1f99262baa56afa14c9c4e03a1d00a # timeout=10 16:32:26 ---> Running in cff879cd1960 16:32:26 Removing intermediate container cff879cd1960 16:32:26 ---> c6fa104861e2 16:32:26 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:32:26 ---> Running in aec696f20937 16:32:26 Merge succeeded, producing fb558c548b1f99262baa56afa14c9c4e03a1d00a 16:32:26 Checking out Revision fb558c548b1f99262baa56afa14c9c4e03a1d00a (PR-353) 16:32:26 --2021-06-21 16:32:26-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 16:32:26 Resolving iotech.jfrog.io... 34.243.182.113, 54.74.239.58, 54.72.115.12 16:32:26 Connecting to iotech.jfrog.io|34.243.182.113|:443... connected. 16:32:27 HTTP request sent, awaiting response... 200 OK 16:32:27 Length: 451 [application/octet-stream] 16:32:27 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:32:27  16:32:27 0K 100% 49.7M=0s 16:32:27 16:32:27 2021-06-21 16:32:26 (49.7 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 16:32:27 16:32:27 Removing intermediate container aec696f20937 16:32:27 ---> 430733999779 16:32:27 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:32:27 ---> Running in 244a02a0607b 16:32:26 > git remote # timeout=10 16:32:26 > git config --get remote.origin.url # timeout=10 16:32:26 using GIT_SSH to set credentials SSH Credentials for GitHub 16:32:26 > git merge c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 # timeout=10 16:32:26 > git rev-parse HEAD^{commit} # timeout=10 16:32:26 > git config core.sparsecheckout # timeout=10 16:32:26 > git checkout -f fb558c548b1f99262baa56afa14c9c4e03a1d00a # timeout=10 16:32:27 Removing intermediate container 244a02a0607b 16:32:27 ---> 7a2989a16393 16:32:27 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 16:32:27 ---> Running in f4c8bce02927 16:32:28 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:32:28 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:32:30 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:32:30 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 16:32:30 (2/6) Installing libblkid (2.33-r0) 16:32:30 (3/6) Installing libfdisk (2.33-r0) 16:32:30 (4/6) Installing libmount (2.33-r0) 16:32:30 (5/6) Installing libsmartcols (2.33-r0) 16:32:30 (6/6) Installing util-linux-dev (2.33-r0) 16:32:30 Commit message: "fix: avoid crash when deviceresource has no attributes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:32:31 Executing busybox-1.29.3-r10.trigger 16:32:31 OK: 273 MiB in 87 packages 16:32:31 Removing intermediate container f4c8bce02927 16:32:31 ---> 642175569d49 16:32:31 Step 7/17 : COPY VERSION /edgex-c-sdk/ 16:32:31 ---> ce6531200efc 16:32:31 Step 8/17 : COPY src /edgex-c-sdk/src/ 16:32:31 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:32:32 ---> b5cb0acb0c3b 16:32:32 Step 9/17 : COPY include /edgex-c-sdk/include/ 16:32:32 ---> e953e0e304d0 16:32:32 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 16:32:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:32:32 ---> 2b567cdc0548 16:32:32 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 16:32:32 + true 16:32:32 + sudo service docker restart 16:32:32 ---> e5147157d08e 16:32:32 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 16:32:33 ---> fce9996253ab 16:32:33 Step 13/17 : WORKDIR /edgex-c-sdk 16:32:33 ---> Running in 0b907919768b 16:32:33 Removing intermediate container 0b907919768b 16:32:33 ---> 022f7de3ec67 16:32:33 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:32:33 ---> Running in 4734a3e4b821 16:32:33 Removing intermediate container 4734a3e4b821 16:32:33 ---> b36d238c1cb7 16:32:33 Step 15/17 : LABEL arch=amd64 16:32:33 ---> Running in df52e3f31827 16:32:33 Removing intermediate container df52e3f31827 16:32:33 ---> 1687909af6b8 16:32:33 Step 16/17 : LABEL git_sha=fb558c548b1f99262baa56afa14c9c4e03a1d00a 16:32:33 ---> Running in 455c5b2fbc5e 16:32:33 Removing intermediate container 455c5b2fbc5e 16:32:33 ---> 37fe3400bfc2 16:32:33 Step 17/17 : LABEL version=0.0.0 16:32:33 ---> Running in cba2d04a08f3 16:32:34 Removing intermediate container cba2d04a08f3 16:32:34 ---> 29fe41b8a076 16:32:34 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:32:34 Successfully built 29fe41b8a076 16:32:34 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:32:51 provisioning config files... 16:32:51 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config2846036260356739262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:32:51 ---> docker-login.sh 16:32:51 nexus3.edgexfoundry.org:10001 16:32:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:52 Configure a credential helper to remove this warning. See 16:32:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:52 16:32:52 Login Succeeded 16:32:52 nexus3.edgexfoundry.org:10002 16:32:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:53 Configure a credential helper to remove this warning. See 16:32:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:53 16:32:53 Login Succeeded 16:32:53 nexus3.edgexfoundry.org:10003 16:32:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:53 Configure a credential helper to remove this warning. See 16:32:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:53 16:32:53 Login Succeeded 16:32:53 nexus3.edgexfoundry.org:10004 16:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:54 Configure a credential helper to remove this warning. See 16:32:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:54 16:32:54 Login Succeeded 16:32:54 docker.io 16:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:55 Configure a credential helper to remove this warning. See 16:32:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:55 16:32:55 Login Succeeded 16:32:55 ---> docker-login.sh ends [Pipeline] } 16:32:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:32:55 ========================================================= 16:32:55 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 16:32:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:32:55 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 16:32:56 Sending build context to Docker daemon 2.628MB 16:32:56 Step 1/25 : ARG BASE=alpine:3.12 16:32:56 Step 2/25 : FROM ${BASE} as builder 16:32:56 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 16:32:56 0362ad1dd800: Pulling fs layer 16:32:56 f2cdb1532d8b: Pulling fs layer 16:32:56 37ed683be191: Pulling fs layer 16:32:56 f2cdb1532d8b: Verifying Checksum 16:32:56 f2cdb1532d8b: Download complete 16:32:56 0362ad1dd800: Verifying Checksum 16:32:56 0362ad1dd800: Download complete 16:32:57 0362ad1dd800: Pull complete 16:32:58 f2cdb1532d8b: Pull complete 16:32:59 37ed683be191: Verifying Checksum 16:32:59 37ed683be191: Download complete 16:33:09 37ed683be191: Pull complete 16:33:09 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 16:33:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 16:33:09 ---> b23d30803547 16:33:09 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:33:09 ---> Running in 3c53ebe13478 16:33:10 Connecting to iotech.jfrog.io (34.243.182.113:443) 16:33:10 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:33:10 16:33:11 Removing intermediate container 3c53ebe13478 16:33:11 ---> aea685e445f6 16:33:11 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:33:12 ---> Running in 05e9d5348ec0 16:33:14 Removing intermediate container 05e9d5348ec0 16:33:14 ---> d950e373a7a5 16:33:14 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 16:33:14 ---> Running in 3f695e52592a 16:33:15 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:33:16 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:33:16 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:33:17 (1/11) Installing hiredis (0.14.0-r0) 16:33:17 (2/11) Installing hiredis-dev (0.14.0-r0) 16:33:17 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 16:33:17 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 16:33:19 (5/11) Installing libuuid (2.33-r0) 16:33:19 (6/11) Installing libblkid (2.33-r0) 16:33:19 (7/11) Installing libfdisk (2.33-r0) 16:33:19 (8/11) Installing libmount (2.33-r0) 16:33:20 (9/11) Installing libsmartcols (2.33-r0) 16:33:20 (10/11) Installing util-linux-dev (2.33-r0) 16:33:21 (11/11) Installing wget (1.20.3-r0) 16:33:21 Executing busybox-1.29.3-r10.trigger 16:33:21 OK: 287 MiB in 86 packages 16:33:22 Removing intermediate container 3f695e52592a 16:33:22 ---> cae4959e9cc9 16:33:22 Step 6/25 : ENV CBOR_VERSION=0.5.0 16:33:22 ---> Running in d8afb2195de8 16:33:22 Removing intermediate container d8afb2195de8 16:33:22 ---> c00a3c7525ec 16:33:22 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 16:33:23 ---> Running in 92abef139fae 16:33:24 --2021-06-21 16:33:23-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:33:24 Resolving github.com... 140.82.112.3 16:33:24 Connecting to github.com|140.82.112.3|:443... connected. 16:33:24 HTTP request sent, awaiting response... 302 Found 16:33:24 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:33:24 --2021-06-21 16:33:24-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:33:24 Resolving codeload.github.com... 140.82.113.10 16:33:24 Connecting to codeload.github.com|140.82.113.10|:443... connected. 16:33:24 HTTP request sent, awaiting response... 200 OK 16:33:24 Length: unspecified [application/x-gzip] 16:33:24 Saving to: 'STDOUT' 16:33:24  16:33:24 0K .......... .......... .......... .......... .......... 1.51M 16:33:24 50K .......... .......... .......... .......... .......... 2.61M 16:33:24 100K .......... .......... .......... .......... .......... 3.51M 16:33:24 150K .......... .......... .......... .......... .......... 10.3M 16:33:24 200K .......... .......... .......... .......... .......... 14.0M 16:33:24 250K .......... .......... .......... .......... .......... 3.12M 16:33:24 300K .......... .......... .......... .......... .......... 5.42M 16:33:24 350K .......... .......... .......... .......... .......... 5.82M 16:33:24 400K .......... .......... .......... .......... .......... 3.28M 16:33:24 450K .......... .......... .......... .......... .......... 3.59M 16:33:24 500K .......... .......... .......... .......... .......... 8.03M 16:33:24 550K .......... .......... .......... .......... .......... 2.57M 16:33:24 600K .......... .......... .......... .......... .......... 896K 16:33:24 650K .......... .......... .......... .......... .......... 2.38M 16:33:24 700K ..                                       6.03M=0.2s 16:33:24 16:33:24 2021-06-21 16:33:24 (2.90 MB/s) - written to stdout [719348] 16:33:24 16:33:25 -- The C compiler identification is GNU 8.3.0 16:33:25 -- The CXX compiler identification is GNU 8.3.0 16:33:25 -- Check for working C compiler: /usr/bin/cc 16:33:25 -- Check for working C compiler: /usr/bin/cc -- works 16:33:25 -- Detecting C compiler ABI info 16:33:25 -- Detecting C compiler ABI info - done 16:33:25 -- Detecting C compile features 16:33:26 -- Detecting C compile features - done 16:33:26 -- Check for working CXX compiler: /usr/bin/c++ 16:33:26 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:33:26 -- Detecting CXX compiler ABI info 16:33:26 -- Detecting CXX compiler ABI info - done 16:33:26 -- Detecting CXX compile features 16:33:28 -- Detecting CXX compile features - done 16:33:28 -- Looking for include file endian.h 16:33:28 -- Looking for include file endian.h - found 16:33:28 -- Check if the system is big endian 16:33:28 -- Searching 16 bit integer 16:33:28 -- Looking for sys/types.h 16:33:28 -- Looking for sys/types.h - found 16:33:28 -- Looking for stdint.h 16:33:29 -- Looking for stdint.h - found 16:33:29 -- Looking for stddef.h 16:33:29 -- Looking for stddef.h - found 16:33:29 -- Check size of unsigned short 16:33:29 -- Check size of unsigned short - done 16:33:29 -- Using unsigned short 16:33:30 -- Check if the system is big endian - little endian 16:33:30 -- Check size of size_t 16:33:30 -- Check size of size_t - done 16:33:30 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:33:30 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:33:30 asked CMake to find a package configuration file provided by "cJSON", but 16:33:30 CMake did not find one. 16:33:30 16:33:30 Could not find a package configuration file provided by "cJSON" with any of 16:33:30 the following names: 16:33:30 16:33:30 cJSONConfig.cmake 16:33:30 cjson-config.cmake 16:33:30 16:33:30 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:33:30 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:33:30 provides a separate development package or SDK, be sure it has been 16:33:30 installed. 16:33:30 16:33:30 16:33:30 -- Configuring done 16:33:30 -- Generating done 16:33:30 -- Build files have been written to: /tmp/cbor 16:33:30 Scanning dependencies of target cbor_shared 16:33:30 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:33:31 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:33:32 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:33:32 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:33:32 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:33:33 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:33:33 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:33:33 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:33:33 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:33:33 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:33:34 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:33:34 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:33:35 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:33:35 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:33:35 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:33:35 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:33:36 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:33:36 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:33:36 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:33:37 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:33:37 [ 40%] Linking C shared library libcbor.so 16:33:37 [ 40%] Built target cbor_shared 16:33:37 Scanning dependencies of target cbor 16:33:37 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:33:38 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:33:38 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:33:38 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:33:39 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:33:40 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:33:40 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:33:40 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:33:40 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:33:41 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:33:41 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:33:42 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:33:42 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:33:42 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:33:43 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:33:43 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:33:43 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:33:43 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:33:44 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:33:44 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:33:44 [ 80%] Linking C static library libcbor.a 16:33:44 [ 80%] Built target cbor 16:33:44 Scanning dependencies of target create_items 16:33:44 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:33:44 [ 84%] Linking C executable create_items 16:33:44 [ 84%] Built target create_items 16:33:44 Scanning dependencies of target readfile 16:33:44 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:33:45 [ 88%] Linking C executable readfile 16:33:45 [ 88%] Built target readfile 16:33:45 Scanning dependencies of target streaming_parser 16:33:45 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:33:45 [ 92%] Linking C executable streaming_parser 16:33:45 [ 92%] Built target streaming_parser 16:33:45 Scanning dependencies of target sort 16:33:45 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:33:45 [ 96%] Linking C executable sort 16:33:45 [ 96%] Built target sort 16:33:45 Scanning dependencies of target hello 16:33:45 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:33:46 [100%] Linking C executable hello 16:33:46 [100%] Built target hello 16:33:46 Install the project... 16:33:46 -- Install configuration: "Release" 16:33:46 -- Installing: /usr/local/include/cbor/configuration.h 16:33:46 -- Installing: /usr/local/lib64/libcbor.a 16:33:46 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:33:46 -- Installing: /usr/local/lib64/libcbor.so.0 16:33:46 -- Installing: /usr/local/lib64/libcbor.so 16:33:46 -- Up-to-date: /usr/local/include/cbor 16:33:46 -- Installing: /usr/local/include/cbor/streaming.h 16:33:46 -- Installing: /usr/local/include/cbor/ints.h 16:33:46 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:33:46 -- Installing: /usr/local/include/cbor/bytestrings.h 16:33:46 -- Installing: /usr/local/include/cbor/encoding.h 16:33:46 -- Installing: /usr/local/include/cbor/serialization.h 16:33:46 -- Installing: /usr/local/include/cbor/data.h 16:33:46 -- Installing: /usr/local/include/cbor/common.h 16:33:46 -- Installing: /usr/local/include/cbor/callbacks.h 16:33:46 -- Installing: /usr/local/include/cbor/strings.h 16:33:46 -- Installing: /usr/local/include/cbor/tags.h 16:33:46 -- Installing: /usr/local/include/cbor/internal 16:33:46 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:33:46 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:33:46 -- Installing: /usr/local/include/cbor/internal/stack.h 16:33:46 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:33:46 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:33:46 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:33:46 -- Installing: /usr/local/include/cbor/arrays.h 16:33:46 -- Installing: /usr/local/include/cbor/maps.h 16:33:46 -- Installing: /usr/local/include/cbor.h 16:33:46 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:33:48 Removing intermediate container 92abef139fae 16:33:48 ---> fa3aed33cc2c 16:33:48 Step 8/25 : RUN mkdir /tmp/sdk 16:33:48 ---> Running in ee4e0bde44d4 16:33:50 Removing intermediate container ee4e0bde44d4 16:33:50 ---> fe3393b01f7e 16:33:50 Step 9/25 : COPY VERSION /tmp/sdk 16:33:51 ---> c1181e13cb04 16:33:51 Step 10/25 : COPY src /tmp/sdk/src 16:33:52 ---> 1639c23f5ca2 16:33:52 Step 11/25 : COPY include /tmp/sdk/include 16:33:52 ---> 7c1fe9fcb350 16:33:52 Step 12/25 : COPY scripts /tmp/sdk/scripts 16:33:53 ---> cf0a8091d9e5 16:33:53 Step 13/25 : COPY LICENSE /tmp/sdk 16:33:54 ---> 8eada2e7512c 16:33:54 Step 14/25 : COPY Attribution.txt /tmp/sdk 16:33:55 ---> cb33875f6a4b 16:33:55 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:33:55 ---> Running in d2761bf03fc3 16:33:56 + CPPCHECK=false 16:33:56 + DOCGEN=false 16:33:56 + TOMLVER=SDK-0.2 16:33:56 + CUTILVER=1.1.4 16:33:56 + '[' 0 -gt 0 ] 16:33:56 + readlink -f ./scripts/build.sh 16:33:56 + dirname /tmp/sdk/scripts/build.sh 16:33:56 + dirname /tmp/sdk/scripts 16:33:56 + ROOT=/tmp/sdk 16:33:56 + cd /tmp/sdk 16:33:56 + '[' '!' -d deps ] 16:33:56 + mkdir deps 16:33:56 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:33:56 + tar -C deps -z -x -f - 16:33:56 --2021-06-21 16:33:56-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:33:56 Resolving github.com... 140.82.113.3 16:33:56 Connecting to github.com|140.82.113.3|:443... connected. 16:33:56 HTTP request sent, awaiting response... 302 Found 16:33:56 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:33:56 --2021-06-21 16:33:56-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:33:56 Resolving codeload.github.com... 140.82.113.10 16:33:56 Connecting to codeload.github.com|140.82.113.10|:443... connected. 16:33:56 HTTP request sent, awaiting response... 200 OK 16:33:56 Length: unspecified [application/x-gzip] 16:33:56 Saving to: 'STDOUT' 16:33:56  16:33:56 0K .......... ...... 956K=0.02s 16:33:56 16:33:56 2021-06-21 16:33:56 (956 KB/s) - written to stdout [16451] 16:33:56 16:33:56 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:33:56 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:33:56 + tar -C deps -z -x -f - 16:33:56 --2021-06-21 16:33:56-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:33:57 Resolving github.com... 140.82.113.3 16:33:57 Connecting to github.com|140.82.113.3|:443... connected. 16:33:57 HTTP request sent, awaiting response... 302 Found 16:33:57 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 16:33:57 --2021-06-21 16:33:56-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 16:33:57 Resolving codeload.github.com... 140.82.113.10 16:33:57 Connecting to codeload.github.com|140.82.113.10|:443... connected. 16:33:57 HTTP request sent, awaiting response... 200 OK 16:33:57 Length: unspecified [application/x-gzip] 16:33:57 Saving to: 'STDOUT' 16:33:57  16:33:57 0K .......... .......... .......... .......... .......... 1.58M 16:33:57 50K .......... .......... .......... .......... .......... 3.14M 16:33:57 100K .......... .......... .......... .......... .......... 3.70M 16:33:57 150K .......... .......... .......  1.50M=0.08s 16:33:57 16:33:57 2021-06-21 16:33:57 (2.24 MB/s) - written to stdout [181796] 16:33:57 16:33:57 + mkdir -p src/c/iot 16:33:57 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 16:33:57 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 16:33:57 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 16:33:57 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 16:33:57 + mkdir -p include/iot 16:33:57 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 16:33:57 + mkdir -p include/iot/os 16:33:57 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 16:33:57 + mkdir -p /tmp/sdk/build/release 16:33:57 + cd /tmp/sdk/build/release 16:33:57 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:33:57 -- The C compiler identification is GNU 8.3.0 16:33:57 -- Check for working C compiler: /usr/bin/cc 16:33:57 -- Check for working C compiler: /usr/bin/cc -- works 16:33:57 -- Detecting C compiler ABI info 16:33:58 -- Detecting C compiler ABI info - done 16:33:58 -- Detecting C compile features 16:33:58 -- Detecting C compile features - done 16:33:58 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:33:58 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:33:58 -- Found LIBYAML: /usr/lib/libyaml.so 16:33:58 -- Found LIBUUID: /usr/lib/libuuid.so 16:33:58 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:33:59 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:33:59 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:33:59 -- C SDK 0.0.0 for Linux 16:33:59 -- Performing Test CSDK_HAVE_ATOMIC 16:33:59 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:33:59 -- Found Curses: /usr/lib/libcurses.so 16:33:59 -- Configuring done 16:33:59 -- Generating done 16:33:59 -- Build files have been written to: /tmp/sdk/build/release 16:33:59 + make all package 16:33:59 + tee release.log 16:33:59 Scanning dependencies of target csdk 16:33:59 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:34:00 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:34:01 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:34:02 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:34:03 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:34:03 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:34:04 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:34:04 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:34:04 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:34:05 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:34:07 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:34:07 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:34:08 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:34:09 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:34:09 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:34:09 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:34:09 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:34:12 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:34:12 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:34:12 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:34:13 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:34:13 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:34:14 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:34:17 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:34:17 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:34:17 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:34:17 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:34:18 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:34:18 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:34:19 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:34:19 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:34:20 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:34:20 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:34:22 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:34:22 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:34:23 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:34:23 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:34:28 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:34:28 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:34:28 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:34:29 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:34:29 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:34:31 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:34:33 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:34:36 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:34:36 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:34:37 [ 74%] Linking C shared library libcsdk.so 16:34:37 [ 74%] Built target csdk 16:34:37 Scanning dependencies of target template 16:34:37 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:34:38 [ 77%] Linking C executable template 16:34:38 [ 77%] Built target template 16:34:38 Scanning dependencies of target device-counter 16:34:38 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:34:39 [ 80%] Linking C executable device-counter 16:34:39 [ 80%] Built target device-counter 16:34:39 Scanning dependencies of target device-random 16:34:39 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:34:39 [ 84%] Linking C executable device-random 16:34:40 [ 84%] Built target device-random 16:34:40 Scanning dependencies of target device-gyro 16:34:40 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:34:40 [ 87%] Linking C executable device-gyro 16:34:40 [ 87%] Built target device-gyro 16:34:40 Scanning dependencies of target device-bitfields 16:34:40 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:34:41 [ 90%] Linking C executable device-bitfields 16:34:41 [ 90%] Built target device-bitfields 16:34:41 Scanning dependencies of target template-discovery 16:34:41 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:34:42 [ 93%] Linking C executable template-discovery 16:34:42 [ 93%] Built target template-discovery 16:34:42 Scanning dependencies of target device-file 16:34:42 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:34:43 [ 96%] Linking C executable device-file 16:34:43 [ 96%] Built target device-file 16:34:43 Scanning dependencies of target device-terminal 16:34:43 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:34:44 [100%] Linking C executable device-terminal 16:34:44 [100%] Built target device-terminal 16:34:44 Run CPack packaging tool... 16:34:44 CPack: Create package using TGZ 16:34:44 CPack: Install projects 16:34:44 CPack: - Run preinstall target for: Csdk 16:34:44 CPack: - Install project: Csdk 16:34:44 CPack: Create package 16:34:44 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:34:44 + '[' false '=' true ] 16:34:44 + '[' false '=' true ] 16:34:44 + mkdir -p /tmp/sdk/build/debug 16:34:44 + cd /tmp/sdk/build/debug 16:34:44 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:34:45 -- The C compiler identification is GNU 8.3.0 16:34:45 -- Check for working C compiler: /usr/bin/cc 16:34:45 -- Check for working C compiler: /usr/bin/cc -- works 16:34:45 -- Detecting C compiler ABI info 16:34:45 -- Detecting C compiler ABI info - done 16:34:45 -- Detecting C compile features 16:34:46 -- Detecting C compile features - done 16:34:46 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:34:46 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:34:46 -- Found LIBYAML: /usr/lib/libyaml.so 16:34:46 -- Found LIBUUID: /usr/lib/libuuid.so 16:34:46 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:34:46 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:34:46 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:34:46 -- C SDK 0.0.0 for Linux 16:34:46 -- Performing Test CSDK_HAVE_ATOMIC 16:34:46 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:34:46 -- Found Curses: /usr/lib/libcurses.so 16:34:46 -- Configuring done 16:34:47 -- Generating done 16:34:47 -- Build files have been written to: /tmp/sdk/build/debug 16:34:47 + make 16:34:47 + tee debug.log 16:34:47 Scanning dependencies of target csdk 16:34:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:34:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:34:48 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:34:48 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:34:48 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:34:48 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:34:49 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:34:49 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:34:49 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:34:50 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:34:50 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:34:50 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:34:51 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:34:51 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:34:52 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:34:52 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:34:52 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:34:52 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:34:53 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:34:53 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:34:53 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:34:53 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:34:54 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:34:55 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:34:55 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:34:55 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:34:55 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:34:55 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:34:55 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:34:56 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:34:56 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:34:56 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:34:56 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:34:57 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:34:57 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:34:57 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:34:58 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:34:59 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:34:59 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:34:59 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:34:59 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:35:00 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:35:01 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:35:01 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:35:02 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:35:02 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:35:02 [ 74%] Linking C shared library libcsdk.so 16:35:03 [ 74%] Built target csdk 16:35:03 Scanning dependencies of target template 16:35:03 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:35:03 [ 77%] Linking C executable template 16:35:03 [ 77%] Built target template 16:35:03 Scanning dependencies of target device-counter 16:35:03 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:35:03 [ 80%] Linking C executable device-counter 16:35:04 [ 80%] Built target device-counter 16:35:04 Scanning dependencies of target device-random 16:35:04 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:35:04 [ 84%] Linking C executable device-random 16:35:04 [ 84%] Built target device-random 16:35:04 Scanning dependencies of target device-gyro 16:35:04 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:35:05 [ 87%] Linking C executable device-gyro 16:35:05 [ 87%] Built target device-gyro 16:35:05 Scanning dependencies of target device-bitfields 16:35:05 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:35:05 [ 90%] Linking C executable device-bitfields 16:35:05 [ 90%] Built target device-bitfields 16:35:05 Scanning dependencies of target template-discovery 16:35:05 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:35:06 [ 93%] Linking C executable template-discovery 16:35:06 [ 93%] Built target template-discovery 16:35:06 Scanning dependencies of target device-file 16:35:06 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:35:06 [ 96%] Linking C executable device-file 16:35:06 [ 96%] Built target device-file 16:35:06 Scanning dependencies of target device-terminal 16:35:07 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:35:07 [100%] Linking C executable device-terminal 16:35:07 [100%] Built target device-terminal 16:35:07 make: Entering directory '/tmp/sdk/build/release' 16:35:07 make[1]: Entering directory '/tmp/sdk/build/release' 16:35:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:35:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:35:07 [ 74%] Built target csdk 16:35:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:35:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:35:07 [ 77%] Built target template 16:35:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:35:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:35:07 [ 80%] Built target device-counter 16:35:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:35:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:35:07 [ 84%] Built target device-random 16:35:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:35:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:35:07 [ 87%] Built target device-gyro 16:35:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:35:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:35:07 [ 90%] Built target device-bitfields 16:35:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:35:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:35:07 [ 93%] Built target template-discovery 16:35:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:35:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:35:07 [ 96%] Built target device-file 16:35:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:35:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:35:07 [100%] Built target device-terminal 16:35:07 make[1]: Leaving directory '/tmp/sdk/build/release' 16:35:07 Install the project... 16:35:07 -- Install configuration: "Release" 16:35:07 -- Installing: /usr/local/lib/libcsdk.so 16:35:07 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:35:07 -- Up-to-date: /usr/local/include 16:35:07 -- Installing: /usr/local/include/edgex 16:35:07 -- Installing: /usr/local/include/edgex/rest-server.h 16:35:08 -- Installing: /usr/local/include/edgex/edgex-base.h 16:35:08 -- Installing: /usr/local/include/edgex/edgex.h 16:35:08 -- Installing: /usr/local/include/edgex/devices.h 16:35:08 -- Installing: /usr/local/include/edgex/profiles.h 16:35:08 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:35:08 -- Installing: /usr/local/include/devsdk 16:35:08 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:35:08 -- Installing: /usr/local/include/devsdk/devsdk.h 16:35:08 -- Installing: /usr/local/include/iot 16:35:08 -- Installing: /usr/local/include/iot/json.h 16:35:08 -- Installing: /usr/local/include/iot/container.h 16:35:08 -- Installing: /usr/local/include/iot/component.h 16:35:08 -- Installing: /usr/local/include/iot/typecode.h 16:35:08 -- Installing: /usr/local/include/iot/iot.h 16:35:08 -- Installing: /usr/local/include/iot/time.h 16:35:08 -- Installing: /usr/local/include/iot/hash.h 16:35:08 -- Installing: /usr/local/include/iot/logger.h 16:35:08 -- Installing: /usr/local/include/iot/os 16:35:08 -- Installing: /usr/local/include/iot/os/zephyr.h 16:35:08 -- Installing: /usr/local/include/iot/os/linux.h 16:35:08 -- Installing: /usr/local/include/iot/os/macos.h 16:35:08 -- Installing: /usr/local/include/iot/scheduler.h 16:35:08 -- Installing: /usr/local/include/iot/data.h 16:35:08 -- Installing: /usr/local/include/iot/thread.h 16:35:08 -- Installing: /usr/local/include/iot/os.h 16:35:08 -- Installing: /usr/local/include/iot/base64.h 16:35:08 -- Installing: /usr/local/include/iot/defs.h 16:35:08 -- Installing: /usr/local/include/iot/threadpool.h 16:35:08 -- Installing: /usr/local/include/iot/config.h 16:35:08 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:35:08 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:35:08 make: Leaving directory '/tmp/sdk/build/release' 16:35:10 Removing intermediate container d2761bf03fc3 16:35:10 ---> 904455fadcd3 16:35:10 Step 16/25 : FROM ${BASE} 16:35:10 ---> b23d30803547 16:35:10 Step 17/25 : LABEL maintainer="IOTech " 16:35:10 ---> Running in 68876f7683dc 16:35:10 Removing intermediate container 68876f7683dc 16:35:10 ---> c1066f49a84d 16:35:10 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:35:10 ---> Running in 05403deb013e 16:35:12 Connecting to iotech.jfrog.io (54.74.239.58:443) 16:35:12 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:35:12 16:35:13 Removing intermediate container 05403deb013e 16:35:13 ---> dd6adceb7035 16:35:13 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:35:13 ---> Running in 3ae4c2549315 16:35:15 Removing intermediate container 3ae4c2549315 16:35:15 ---> 376dfa9d6178 16:35:15 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 16:35:15 ---> Running in a057c5eaf3a4 16:35:17 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:35:17 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:35:17 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:35:18 (1/6) Installing curl (7.64.0-r5) 16:35:18 (2/6) Installing hiredis (0.14.0-r0) 16:35:18 (3/6) Installing hiredis-dev (0.14.0-r0) 16:35:19 (4/6) Installing libuuid (2.33-r0) 16:35:19 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 16:35:20 (6/6) Installing wget (1.20.3-r0) 16:35:20 Executing busybox-1.29.3-r10.trigger 16:35:21 OK: 283 MiB in 81 packages 16:35:22 Removing intermediate container a057c5eaf3a4 16:35:22 ---> 634a6e2f55a0 16:35:22 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:35:23 ---> 8cfb951fc725 16:35:23 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:35:24 ---> 5aa80dbf459f 16:35:24 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 16:35:24 ---> ec76d125aa0e 16:35:24 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:35:25 ---> c51f9db1e616 16:35:25 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:35:26 ---> 979babf84c59 16:35:26 Successfully built 979babf84c59 16:35:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:35:27 + docker inspect -f . ci-base-image-arm64 16:35:27 . [Pipeline] withDockerContainer 16:35:27 prd-ubuntu18.04-docker-arm64-4c-16g-557 does not seem to be running inside a container 16:35:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:35:29 $ docker top 495bbf699561e563d92d25f7ea147be65227611a58ca155b0d1f19713f054022 -eo pid,comm [Pipeline] { [Pipeline] sh 16:35:30 + make test 16:35:30 echo "make test" 16:35:30 make test [Pipeline] } 16:35:30 $ docker stop --time=1 495bbf699561e563d92d25f7ea147be65227611a58ca155b0d1f19713f054022 16:35:32 $ docker rm -f 495bbf699561e563d92d25f7ea147be65227611a58ca155b0d1f19713f054022 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:35:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:35:33 + ls -al . 16:35:33 total 192 16:35:33 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 16:32 . 16:35:33 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 16:32 .. 16:35:33 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 16:32 .git 16:35:33 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 16:32 .github 16:35:33 -rw-rw-r-- 1 jenkins jenkins 176 Jun 21 16:32 .gitignore 16:35:33 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 21 16:32 Attribution.txt 16:35:33 -rw-rw-r-- 1 jenkins jenkins 7509 Jun 21 16:32 CHANGES 16:35:33 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 21 16:32 Doxyfile 16:35:33 -rw-rw-r-- 1 jenkins jenkins 784 Jun 21 16:32 Jenkinsfile 16:35:33 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 21 16:32 LICENSE 16:35:33 -rw-rw-r-- 1 jenkins jenkins 444 Jun 21 16:32 Makefile 16:35:33 -rw-rw-r-- 1 jenkins jenkins 4090 Jun 21 16:32 README.md 16:35:33 -rw-rw-r-- 1 jenkins jenkins 7090 Jun 21 16:32 README.v2.md 16:35:33 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 16:28 VERSION 16:35:33 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 16:32 docs 16:35:33 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 16:32 include 16:35:33 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 16:32 scripts 16:35:33 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 16:32 src [Pipeline] isUnix [Pipeline] sh 16:35:33 + 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=fb558c548b1f99262baa56afa14c9c4e03a1d00a --label arch=arm64 --label version=0.0.0 . 16:35:34 Sending build context to Docker daemon 2.628MB 16:35:34 Step 1/17 : ARG BASE=alpine:3.12 16:35:34 Step 2/17 : FROM ${BASE} 16:35:34 ---> 979babf84c59 16:35:34 Step 3/17 : LABEL maintainer="IOTech " 16:35:34 ---> Running in 44dfdbcd65e5 16:35:34 Removing intermediate container 44dfdbcd65e5 16:35:34 ---> caa0b7a66eef 16:35:34 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:35:34 ---> Running in 8f3dae35b35d 16:35:36 --2021-06-21 16:35:35-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 16:35:36 Resolving iotech.jfrog.io... 54.72.115.12, 54.74.239.58, 34.243.182.113 16:35:36 Connecting to iotech.jfrog.io|54.72.115.12|:443... connected. 16:35:36 HTTP request sent, awaiting response... 200 OK 16:35:36 Length: 451 [application/octet-stream] 16:35:36 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:35:36  16:35:36 0K    100% 18.8M=0s 16:35:36 16:35:36 2021-06-21 16:35:36 (18.8 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 16:35:36 16:35:37 Removing intermediate container 8f3dae35b35d 16:35:37 ---> a123f7c158f5 16:35:37 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:35:37 ---> Running in 440be91472e9 16:35:39 Removing intermediate container 440be91472e9 16:35:39 ---> 073199092eb5 16:35:39 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 16:35:39 ---> Running in 57c5be1f8af7 16:35:41 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:35:41 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:35:42 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:35:43 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 16:35:43 (2/6) Installing libblkid (2.33-r0) 16:35:43 (3/6) Installing libfdisk (2.33-r0) 16:35:43 (4/6) Installing libmount (2.33-r0) 16:35:43 (5/6) Installing libsmartcols (2.33-r0) 16:35:43 (6/6) Installing util-linux-dev (2.33-r0) 16:35:43 Executing busybox-1.29.3-r10.trigger 16:35:44 OK: 287 MiB in 87 packages 16:35:45 Removing intermediate container 57c5be1f8af7 16:35:45 ---> 7988acd043bb 16:35:45 Step 7/17 : COPY VERSION /edgex-c-sdk/ 16:35:46 ---> 25109c6f7122 16:35:46 Step 8/17 : COPY src /edgex-c-sdk/src/ 16:35:47 ---> e03b2f62d91e 16:35:47 Step 9/17 : COPY include /edgex-c-sdk/include/ 16:35:47 ---> f0c47d622b45 16:35:47 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 16:35:48 ---> c872c27fff3a 16:35:48 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 16:35:49 ---> 1a2dbff68b3f 16:35:49 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 16:35:51 ---> d6db6ce8b474 16:35:51 Step 13/17 : WORKDIR /edgex-c-sdk 16:35:51 ---> Running in a25344681f5d 16:35:53 Removing intermediate container a25344681f5d 16:35:53 ---> bc4e8f1b4ab4 16:35:53 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:35:53 ---> Running in 6b79d5b0d9de 16:35:53 Removing intermediate container 6b79d5b0d9de 16:35:53 ---> a3ccd02fdc2c 16:35:53 Step 15/17 : LABEL arch=arm64 16:35:53 ---> Running in 3acd8a9668ea 16:35:54 Removing intermediate container 3acd8a9668ea 16:35:54 ---> 1af28387c989 16:35:54 Step 16/17 : LABEL git_sha=fb558c548b1f99262baa56afa14c9c4e03a1d00a 16:35:54 ---> Running in 51d5bf4ada27 16:35:55 Removing intermediate container 51d5bf4ada27 16:35:55 ---> 0445d8277696 16:35:55 Step 17/17 : LABEL version=0.0.0 16:35:55 ---> Running in 0d54fe43342c 16:35:55 Removing intermediate container 0d54fe43342c 16:35:55 ---> 11c93d9c8a99 16:35:55 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:35:55 Successfully built 11c93d9c8a99 16:35:55 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [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 16:35:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:35:57 ---> package-listing.sh 16:35:57 ++ facter osfamily 16:35:57 ++ tr '[:upper:]' '[:lower:]' 16:35:58 + OS_FAMILY=redhat 16:35:58 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-353 16:35:58 + START_PACKAGES=/tmp/packages_start.txt 16:35:58 + END_PACKAGES=/tmp/packages_end.txt 16:35:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:35:58 + PACKAGES=/tmp/packages_start.txt 16:35:58 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-353 ']' 16:35:58 + PACKAGES=/tmp/packages_end.txt 16:35:58 + case "${OS_FAMILY}" in 16:35:58 + rpm -qa 16:35:58 + sort 16:35:59 + '[' -f /tmp/packages_start.txt ']' 16:35:59 + '[' -f /tmp/packages_end.txt ']' 16:35:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:35:59 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-353 ']' 16:35:59 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-353/archives/ 16:35:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-353/archives/ [Pipeline] echo 16:35:59 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-353/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:35:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:35:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:35:59 16:35:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:36:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:36:00 alpine: Pulling from edgex-lftools-log-publisher 16:36:00 df20fa9351a1: Pulling fs layer 16:36:00 36b3adc4ff6f: Pulling fs layer 16:36:00 8ad3a11d3b57: Pulling fs layer 16:36:00 46f8f816bc3b: Pulling fs layer 16:36:00 93b61091891f: Pulling fs layer 16:36:00 93b9cdb0e59b: Pulling fs layer 16:36:00 5e14af77c1be: Pulling fs layer 16:36:00 01666e4c0597: Pulling fs layer 16:36:00 aa168da1d23b: Pulling fs layer 16:36:00 93b9cdb0e59b: Waiting 16:36:00 5e14af77c1be: Waiting 16:36:00 01666e4c0597: Waiting 16:36:00 aa168da1d23b: Waiting 16:36:00 46f8f816bc3b: Waiting 16:36:00 93b61091891f: Waiting 16:36:00 36b3adc4ff6f: Verifying Checksum 16:36:00 36b3adc4ff6f: Download complete 16:36:00 46f8f816bc3b: Verifying Checksum 16:36:00 46f8f816bc3b: Download complete 16:36:00 df20fa9351a1: Verifying Checksum 16:36:00 df20fa9351a1: Download complete 16:36:00 93b9cdb0e59b: Verifying Checksum 16:36:00 93b9cdb0e59b: Download complete 16:36:00 93b61091891f: Verifying Checksum 16:36:00 93b61091891f: Download complete 16:36:00 5e14af77c1be: Verifying Checksum 16:36:00 5e14af77c1be: Download complete 16:36:00 01666e4c0597: Verifying Checksum 16:36:00 01666e4c0597: Download complete 16:36:00 8ad3a11d3b57: Verifying Checksum 16:36:00 8ad3a11d3b57: Download complete 16:36:00 df20fa9351a1: Pull complete 16:36:01 36b3adc4ff6f: Pull complete 16:36:01 8ad3a11d3b57: Pull complete 16:36:01 46f8f816bc3b: Pull complete 16:36:02 93b61091891f: Pull complete 16:36:02 93b9cdb0e59b: Pull complete 16:36:02 aa168da1d23b: Verifying Checksum 16:36:02 aa168da1d23b: Download complete 16:36:03 5e14af77c1be: Pull complete 16:36:03 01666e4c0597: Pull complete 16:36:07 aa168da1d23b: Pull complete 16:36:07 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:36:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:36:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:36:07 prd-centos7-docker-4c-2g-555 does not seem to be running inside a container 16:36:07 $ 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-353/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-353 -v /w/workspace/edgexfoundry_device-sdk-c_PR-353:/w/workspace/edgexfoundry_device-sdk-c_PR-353:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:36:17 $ docker top a40c7c1511812266b70246b30f74594fdb50d5bf819e09bbaba1260c97d2388b -eo pid,comm [Pipeline] { [Pipeline] sh 16:36:17 + touch /tmp/pre-build-complete [Pipeline] sh 16:36:17 + mkdir -p /var/log/sa [Pipeline] sh 16:36:18 + ls /var/log/sa-host 16:36:18 + sadf -c /var/log/sa-host/sa05 16:36:18 file_magic: OK 16:36:18 HZ: Using current value: 100 16:36:18 file_header: OK 16:36:18 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:36:18 Statistics: 16:36:18 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:36:18 File successfully converted to sysstat format version 12.2.1 16:36:18 + sadf -c /var/log/sa-host/sa21 16:36:18 file_magic: OK 16:36:18 HZ: Using current value: 100 16:36:18 file_header: OK 16:36:18 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:36:18 Statistics: 16:36:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:36:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:36:18 provisioning config files... 16:36:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/config5976572673872176896tmp [Pipeline] { [Pipeline] echo 16:36:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:36:19 ---> create-netrc.sh [Pipeline] } 16:36:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:36:19 ---> python-tools-install.sh [Pipeline] echo 16:36:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:36:19 ---> sudo-logs.sh 16:36:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:36:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:36:20 ---> job-cost.sh 16:36:20 lf-activate-venv: SKIPPING 16:36:20 INFO: No Stack... 16:36:21 INFO: Retrieving Pricing Info for: v3-standard-2 16:36:21 INFO: Archiving Costs [Pipeline] echo 16:36:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:36:21 ---> logs-deploy.sh 16:36:21 lf-activate-venv: SKIPPING 16:36:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-353/2 16:36:21 INFO: archiving workspace using pattern(s): 16:36:22 Archives upload complete. 16:36:22 INFO: archiving logs to Nexus 16:36:23 ---> uname -a: 16:36:23 Linux prd-centos7-docker-4c-2g-555.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 16:36:23 16:36:23 16:36:23 ---> lscpu: 16:36:23 Architecture: x86_64 16:36:23 CPU op-mode(s): 32-bit, 64-bit 16:36:23 Byte Order: Little Endian 16:36:23 Address sizes: 40 bits physical, 48 bits virtual 16:36:23 CPU(s): 2 16:36:23 On-line CPU(s) list: 0,1 16:36:23 Thread(s) per core: 1 16:36:23 Core(s) per socket: 1 16:36:23 Socket(s): 2 16:36:23 NUMA node(s): 1 16:36:23 Vendor ID: AuthenticAMD 16:36:23 CPU family: 23 16:36:23 Model: 49 16:36:23 Model name: AMD EPYC-Rome Processor 16:36:23 Stepping: 0 16:36:23 CPU MHz: 2799.998 16:36:23 BogoMIPS: 5599.99 16:36:23 Virtualization: AMD-V 16:36:23 Hypervisor vendor: KVM 16:36:23 Virtualization type: full 16:36:23 L1d cache: 64 KiB 16:36:23 L1i cache: 64 KiB 16:36:23 L2 cache: 1 MiB 16:36:23 L3 cache: 32 MiB 16:36:23 NUMA node0 CPU(s): 0,1 16:36:23 Vulnerability Itlb multihit: Not affected 16:36:23 Vulnerability L1tf: Not affected 16:36:23 Vulnerability Mds: Not affected 16:36:23 Vulnerability Meltdown: Not affected 16:36:23 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:36:23 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:36:23 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:36:23 Vulnerability Srbds: Not affected 16:36:23 Vulnerability Tsx async abort: Not affected 16:36:23 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 16:36:23 16:36:23 16:36:23 ---> nproc: 16:36:23 2 16:36:23 16:36:23 16:36:23 ---> df -h: 16:36:23 Filesystem Size Used Available Use% Mounted on 16:36:23 overlay 40.0G 7.6G 32.4G 19% / 16:36:23 tmpfs 64.0M 0 64.0M 0% /dev 16:36:23 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 16:36:23 shm 64.0M 0 64.0M 0% /dev/shm 16:36:23 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 16:36:23 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 16:36:23 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 16:36:23 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 16:36:23 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 16:36:23 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 16:36:23 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-353 16:36:23 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp 16:36:23 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 16:36:23 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 16:36:23 16:36:23 16:36:23 ---> free -m: 16:36:23 total used free shared buff/cache available 16:36:23 Mem: 7821 974 4752 0 2094 6668 16:36:23 Swap: 1023 0 1023 16:36:23 16:36:23 16:36:23 ---> ip addr: 16:36:23 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 16:36:23 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:36:23 inet 127.0.0.1/8 scope host lo 16:36:23 valid_lft forever preferred_lft forever 16:36:23 inet6 ::1/128 scope host 16:36:23 valid_lft forever preferred_lft forever 16:36:23 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 16:36:23 link/ether fa:16:3e:68:76:c8 brd ff:ff:ff:ff:ff:ff 16:36:23 inet 10.30.123.81/23 brd 10.30.123.255 scope global dynamic eth0 16:36:23 valid_lft 85858sec preferred_lft 85858sec 16:36:23 inet6 fe80::f816:3eff:fe68:76c8/64 scope link 16:36:23 valid_lft forever preferred_lft forever 16:36:23 3: docker0: mtu 1500 qdisc noqueue state DOWN 16:36:23 link/ether 02:42:f7:02:cd:5d brd ff:ff:ff:ff:ff:ff 16:36:23 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 16:36:23 valid_lft forever preferred_lft forever 16:36:23 inet6 fe80::42:f7ff:fe02:cd5d/64 scope link 16:36:23 valid_lft forever preferred_lft forever 16:36:23 16:36:23 16:36:23 ---> sar -b -r -n DEV: 16:36:23 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/21/21 _x86_64_ (2 CPU) 16:36:23 16:36:23 16:27:09 LINUX RESTART (2 CPU) 16:36:23 16:36:23 16:28:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:36:23 16:29:01 56.75 3.96 52.78 0.00 2647.97 3503.21 0.00 16:36:23 16:30:01 1.80 0.00 1.80 0.00 0.00 35.81 0.00 16:36:23 16:31:01 0.13 0.00 0.13 0.00 0.00 2.00 0.00 16:36:23 16:32:01 0.22 0.00 0.22 0.00 0.00 3.60 0.00 16:36:23 16:33:01 0.23 0.00 0.23 0.00 0.00 2.90 0.00 16:36:23 16:34:01 0.35 0.00 0.35 0.00 0.00 4.70 0.00 16:36:23 16:35:01 0.20 0.00 0.20 0.00 0.00 2.83 0.00 16:36:23 16:36:01 2.12 0.10 2.02 0.00 9.99 49.58 0.00 16:36:23 Average: 7.72 0.51 7.22 0.00 332.28 450.63 0.00 16:36:23 16:36:23 16:28:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:36:23 16:29:01 5457228 0 811968 10.14 2620 1737116 1314496 14.51 584520 1567268 8 16:36:23 16:30:01 5470964 0 798224 9.97 2620 1737124 1206204 13.32 573448 1567232 8 16:36:23 16:31:01 5471164 0 798024 9.96 2620 1737124 1206204 13.32 571680 1569064 8 16:36:23 16:32:01 5468056 0 801124 10.00 2620 1737132 1206408 13.32 574496 1569064 8 16:36:23 16:33:01 5466524 0 802652 10.02 2620 1737136 1206372 13.32 574704 1571400 16 16:36:23 16:34:01 5466336 0 802836 10.02 2620 1737140 1206408 13.32 574932 1571404 8 16:36:23 16:35:01 5466608 0 802556 10.02 2620 1737148 1206204 13.32 573732 1571400 8 16:36:23 16:36:01 5300444 0 866828 10.82 2620 1839040 1395968 15.41 757732 1542648 101336 16:36:23 Average: 5445916 0 810526 10.12 2620 1749870 1243533 13.73 598156 1566185 12675 16:36:23 16:36:23 16:28:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:36:23 16:29:01 eth0 226.73 172.17 581.52 45.56 0.00 0.00 0.00 0.00 16:36:23 16:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:36:23 16:29:01 docker0 14.91 11.59 1.57 25.81 0.00 0.00 0.00 0.00 16:36:23 16:30:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:36:23 16:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:36:23 16:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:36:23 16:31:01 eth0 0.88 0.07 0.07 0.01 0.00 0.00 0.00 0.00 16:36:23 16:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:36:23 16:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:36:23 16:32:01 eth0 0.87 0.32 0.31 0.17 0.00 0.00 0.00 0.00 16:36:23 16:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:36:23 16:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:36:23 16:33:01 eth0 1.07 0.40 0.39 0.29 0.00 0.00 0.00 0.00 16:36:23 16:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:36:23 16:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:36:23 16:34:01 eth0 0.67 0.37 0.33 0.21 0.00 0.00 0.00 0.00 16:36:23 16:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:36:23 16:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:36:23 16:35:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:36:23 16:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:36:23 16:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:36:23 16:36:01 eth0 121.80 110.24 1338.84 10.62 0.00 0.00 0.00 0.00 16:36:23 16:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:36:23 16:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:36:23 Average: eth0 44.04 35.47 240.21 7.11 0.00 0.00 0.00 0.00 16:36:23 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:36:23 Average: docker0 1.86 1.45 0.20 3.23 0.00 0.00 0.00 0.00 16:36:23 16:36:23 16:36:23 ---> sar -P ALL: 16:36:23 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/21/21 _x86_64_ (2 CPU) 16:36:23 16:36:23 16:27:09 LINUX RESTART (2 CPU) 16:36:23 16:36:23 16:28:01 CPU %user %nice %system %iowait %steal %idle 16:36:23 16:29:01 all 6.08 0.00 2.18 2.56 0.04 89.13 16:36:23 16:29:01 0 5.68 0.00 2.37 2.78 0.03 89.14 16:36:23 16:29:01 1 6.49 0.00 1.99 2.35 0.05 89.12 16:36:23 16:30:01 all 0.16 0.00 0.03 0.00 0.02 99.79 16:36:23 16:30:01 0 0.03 0.00 0.02 0.00 0.02 99.93 16:36:23 16:30:01 1 0.28 0.00 0.05 0.00 0.02 99.65 16:36:23 16:31:01 all 0.11 0.00 0.03 0.00 0.03 99.84 16:36:23 16:31:01 0 0.07 0.00 0.02 0.00 0.03 99.88 16:36:23 16:31:01 1 0.15 0.00 0.03 0.00 0.02 99.80 16:36:23 16:32:01 all 0.17 0.00 0.03 0.00 0.01 99.80 16:36:23 16:32:01 0 0.07 0.00 0.03 0.00 0.02 99.88 16:36:23 16:32:01 1 0.27 0.00 0.02 0.00 0.00 99.72 16:36:23 16:33:01 all 0.15 0.00 0.03 0.00 0.03 99.79 16:36:23 16:33:01 0 0.05 0.00 0.03 0.00 0.03 99.88 16:36:23 16:33:01 1 0.25 0.00 0.03 0.00 0.02 99.70 16:36:23 16:34:01 all 0.14 0.00 0.03 0.00 0.01 99.82 16:36:23 16:34:01 0 0.05 0.00 0.03 0.00 0.02 99.90 16:36:23 16:34:01 1 0.23 0.00 0.02 0.00 0.00 99.75 16:36:23 16:35:01 all 0.19 0.00 0.03 0.00 0.02 99.76 16:36:23 16:35:01 0 0.05 0.00 0.03 0.00 0.02 99.90 16:36:23 16:35:01 1 0.33 0.00 0.03 0.00 0.02 99.62 16:36:23 16:36:01 all 2.32 0.00 0.62 0.11 0.03 96.93 16:36:23 16:36:01 0 1.79 0.00 0.65 0.10 0.02 97.44 16:36:23 16:36:01 1 2.84 0.00 0.59 0.12 0.03 96.42 16:36:23 Average: all 1.15 0.00 0.37 0.33 0.02 98.13 16:36:23 Average: 0 0.96 0.00 0.40 0.36 0.02 98.26 16:36:23 Average: 1 1.34 0.00 0.34 0.30 0.02 97.99 16:36:23 16:36:23 16:36:23