Pull request #355 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 nil4git for edgexfoundry/device-sdk-c Loading trusted files from base branch master at c75449e85aa6c6239708e25f4301185f1aa5291c rather than 574127dbd35a5f0b3785285bd9b73c60951e2550 Obtained Jenkinsfile from c75449e85aa6c6239708e25f4301185f1aa5291c 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-ssh5114352555142777943.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-ssh3370507320812072300.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-355/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-355/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7040778366500720461.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-ssh6543073199272135355.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-355/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-355/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1698628153989831619.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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-86 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [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-355 # 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-355@tmp/jenkins-gitclient-ssh7367389019087874101.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [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-355@tmp/jenkins-gitclient-ssh397847934254767363.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 574127dbd35a5f0b3785285bd9b73c60951e2550 Merge succeeded, producing 574127dbd35a5f0b3785285bd9b73c60951e2550 Checking out Revision 574127dbd35a5f0b3785285bd9b73c60951e2550 (PR-355) > git config core.sparsecheckout # timeout=10 > git checkout -f 574127dbd35a5f0b3785285bd9b73c60951e2550 # 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-355@tmp/jenkins-gitclient-ssh6523822623228316695.key > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 574127dbd35a5f0b3785285bd9b73c60951e2550 # timeout=10 Commit message: "fix: Update discovery sample app configuration.toml" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:39:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e # timeout=10 [Pipeline] withCredentials 06:39:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:39:14 ========================================================= 06:39:14 EdgeX Global Pipelines Version Info 06:39:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:39:16 ------------------- 06:39:16 stable info: 06:39:16 ------------------- 06:39:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:39:16 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 06:39:16 Message: update stable to v1.0.195 06:39:16 ------------------- 06:39:16 experimental info: 06:39:16 ------------------- 06:39:16 Commited By: **** collab-it+edgex@linuxfoundation.org 06:39:16 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 06:39:16 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:39:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 06:39:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 06:39:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:39:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:39:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:39:16 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 06:39:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 06:39:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 06:39:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:39:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 06:39:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:39:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:39:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:39:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:39:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:39:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:39:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:39:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-355 [Pipeline] echo 06:39:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-355 [Pipeline] echo 06:39:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-355 [Pipeline] echo 06:39:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 574127dbd35a5f0b3785285bd9b73c60951e2550 [Pipeline] echo 06:39:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 574127d [Pipeline] echo 06:39:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:39:17 provisioning config files... 06:39:17 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/config1983257782258868155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:39:17 ---> docker-login.sh 06:39:17 nexus3.edgexfoundry.org:10001 06:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:18 Configure a credential helper to remove this warning. See 06:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:18 06:39:18 Login Succeeded 06:39:18 nexus3.edgexfoundry.org:10002 06:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:18 Configure a credential helper to remove this warning. See 06:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:18 06:39:18 Login Succeeded 06:39:18 nexus3.edgexfoundry.org:10003 06:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:18 Configure a credential helper to remove this warning. See 06:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:18 06:39:18 Login Succeeded 06:39:18 nexus3.edgexfoundry.org:10004 06:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:18 Configure a credential helper to remove this warning. See 06:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:18 06:39:18 Login Succeeded 06:39:18 docker.io 06:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:18 Configure a credential helper to remove this warning. See 06:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:18 06:39:18 Login Succeeded 06:39:18 ---> docker-login.sh ends [Pipeline] } 06:39:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 06:39:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:39:22 06:39:22 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:39:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:39:22 latest: Pulling from edgex-devops/git-semver 06:39:22 31603596830f: Pulling fs layer 06:39:22 54011a49482f: Pulling fs layer 06:39:22 a6820b24f6d8: Pulling fs layer 06:39:22 f581987b2513: Pulling fs layer 06:39:22 f581987b2513: Waiting 06:39:22 54011a49482f: Verifying Checksum 06:39:22 54011a49482f: Download complete 06:39:23 31603596830f: Verifying Checksum 06:39:23 31603596830f: Download complete 06:39:23 f581987b2513: Verifying Checksum 06:39:23 f581987b2513: Download complete 06:39:23 a6820b24f6d8: Verifying Checksum 06:39:23 a6820b24f6d8: Download complete 06:39:23 31603596830f: Pull complete 06:39:23 54011a49482f: Pull complete 06:39:24 a6820b24f6d8: Pull complete 06:39:24 f581987b2513: Pull complete 06:39:24 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 06:39:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:39:24 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:39:24 prd-centos7-docker-4c-2g-86 does not seem to be running inside a container 06:39:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-355 -v /w/workspace/edgexfoundry_device-sdk-c_PR-355:/w/workspace/edgexfoundry_device-sdk-c_PR-355:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-355@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 06:39:25 $ docker top d1288afedc498c3e428de107b81820e87127391aefee7d3963c6b09f4734d9a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:39:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:39:25 [ssh-agent] Looking for ssh-agent implementation... 06:39:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:39:25 $ docker exec d1288afedc498c3e428de107b81820e87127391aefee7d3963c6b09f4734d9a4 ssh-agent 06:39:25 SSH_AUTH_SOCK=/tmp/ssh-0Q6o4ixf4wUE/agent.15 06:39:25 SSH_AGENT_PID=21 06:39:25 Running ssh-add (command line suppressed) 06:39:25 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_1002909027468394367.key (/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_1002909027468394367.key) 06:39:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:39:26 + git tag --points-at HEAD [Pipeline] } 06:39:26 $ docker exec --env ******** --env ******** d1288afedc498c3e428de107b81820e87127391aefee7d3963c6b09f4734d9a4 ssh-agent -k 06:39:26 unset SSH_AUTH_SOCK; 06:39:26 unset SSH_AGENT_PID; 06:39:26 echo Agent pid 21 killed; 06:39:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:39:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:39:26 [ssh-agent] Looking for ssh-agent implementation... 06:39:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:39:26 $ docker exec d1288afedc498c3e428de107b81820e87127391aefee7d3963c6b09f4734d9a4 ssh-agent 06:39:26 SSH_AUTH_SOCK=/tmp/ssh-RkFB0SItaKIk/agent.55 06:39:26 SSH_AGENT_PID=62 06:39:26 Running ssh-add (command line suppressed) 06:39:26 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_6540934937077236015.key (/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_6540934937077236015.key) 06:39:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:39:27 + git semver init 06:39:27 # -> Open(): unable to determine branch for HEAD 06:39:27 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-355/.git 06:39:27 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-355 06:39:27 # $SEMVER_REMOTE_NAME = origin 06:39:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:39:27 # $SEMVER_USER_NAME = edgex-jenkins 06:39:27 # $SEMVER_BRANCH = PR-355 06:39:27 # $SEMVER_TEMP = /tmp/semver-693125302 06:39:27 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 06:39:28 # '/tmp/semver-693125302' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-355/.semver' 06:39:28 # -> Force: false 06:39:28 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-355/.semver [Pipeline] } 06:39:28 $ docker exec --env ******** --env ******** d1288afedc498c3e428de107b81820e87127391aefee7d3963c6b09f4734d9a4 ssh-agent -k 06:39:28 unset SSH_AUTH_SOCK; 06:39:28 unset SSH_AGENT_PID; 06:39:28 echo Agent pid 62 killed; 06:39:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:39:28 + git semver [Pipeline] } 06:39:28 $ docker stop --time=1 d1288afedc498c3e428de107b81820e87127391aefee7d3963c6b09f4734d9a4 06:39:29 $ docker rm -f d1288afedc498c3e428de107b81820e87127391aefee7d3963c6b09f4734d9a4 [Pipeline] // withDockerContainer [Pipeline] sh 06:39:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:39:30 Stashed 1 file(s) [Pipeline] echo 06:39:30 [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 06:39:45 Still waiting to schedule task 06:39:45 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:39:45 Still waiting to schedule task 06:39:45 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-85’ 06:42:34 Running on prd-centos7-docker-4c-2g-88 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [Pipeline] { [Pipeline] ws 06:42:34 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 06:42:34 Selected Git installation does not exist. Using Default 06:42:34 The recommended git tool is: NONE 06:42:36 using credential edgex-jenkins-ssh 06:42:36 Cloning the remote Git repository 06:42:36 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 06:42:36 > git init /w/workspace/device-sdk-c/2 # timeout=10 06:42:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 06:42:36 > git --version # timeout=10 06:42:36 > git --version # 'git version 2.24.4' 06:42:36 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:36 [INFO] Currently running in a labeled security context 06:42:36 [INFO] Currently SELinux is 'enforcing' on the host 06:42:36 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh6736125465690494522.key 06:42:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:42:38 Merging remotes/origin/master commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 574127dbd35a5f0b3785285bd9b73c60951e2550 06:42:38 Merge succeeded, producing 574127dbd35a5f0b3785285bd9b73c60951e2550 06:42:38 Checking out Revision 574127dbd35a5f0b3785285bd9b73c60951e2550 (PR-355) 06:42:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 06:42:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:42:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 06:42:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 06:42:37 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:37 [INFO] Currently running in a labeled security context 06:42:37 [INFO] Currently SELinux is 'enforcing' on the host 06:42:37 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh3287752733328733305.key 06:42:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:42:37 > git config core.sparsecheckout # timeout=10 06:42:37 > git checkout -f 574127dbd35a5f0b3785285bd9b73c60951e2550 # timeout=10 06:42:37 > git remote # timeout=10 06:42:37 > git config --get remote.origin.url # timeout=10 06:42:37 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:37 [INFO] Currently running in a labeled security context 06:42:37 [INFO] Currently SELinux is 'enforcing' on the host 06:42:37 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh5172407230244509445.key 06:42:37 > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 06:42:37 > git rev-parse HEAD^{commit} # timeout=10 06:42:37 > git config core.sparsecheckout # timeout=10 06:42:37 > git checkout -f 574127dbd35a5f0b3785285bd9b73c60951e2550 # timeout=10 06:42:41 Commit message: "fix: Update discovery sample app configuration.toml" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:42:42 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:42:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:42:43 + sudo service docker restart 06:42:43 + true 06:42:43 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:43:01 provisioning config files... 06:43:01 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config813902298662877208tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:01 ---> docker-login.sh 06:43:01 nexus3.edgexfoundry.org:10001 06:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:02 Configure a credential helper to remove this warning. See 06:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:02 06:43:02 Login Succeeded 06:43:02 nexus3.edgexfoundry.org:10002 06:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:02 Configure a credential helper to remove this warning. See 06:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:02 06:43:02 Login Succeeded 06:43:02 nexus3.edgexfoundry.org:10003 06:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:02 Configure a credential helper to remove this warning. See 06:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:02 06:43:02 Login Succeeded 06:43:02 nexus3.edgexfoundry.org:10004 06:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:02 Configure a credential helper to remove this warning. See 06:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:02 06:43:02 Login Succeeded 06:43:02 docker.io 06:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:03 Configure a credential helper to remove this warning. See 06:43:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:03 06:43:03 Login Succeeded 06:43:03 ---> docker-login.sh ends [Pipeline] } 06:43:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:43:03 ========================================================= 06:43:03 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 06:43:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:43:03 + 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 . 06:43:03 Sending build context to Docker daemon 2.586MB 06:43:03 Step 1/25 : ARG BASE=alpine:3.12 06:43:03 Step 2/25 : FROM ${BASE} as builder 06:43:03 latest: Pulling from edgex-devops/edgex-gcc-base 06:43:03 e7c96db7181b: Pulling fs layer 06:43:03 4c13bbce0fe7: Pulling fs layer 06:43:03 6059c847ac2f: Pulling fs layer 06:43:03 4c13bbce0fe7: Verifying Checksum 06:43:03 4c13bbce0fe7: Download complete 06:43:04 e7c96db7181b: Download complete 06:43:04 e7c96db7181b: Pull complete 06:43:04 4c13bbce0fe7: Pull complete 06:43:05 6059c847ac2f: Verifying Checksum 06:43:05 6059c847ac2f: Download complete 06:43:08 6059c847ac2f: Pull complete 06:43:08 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 06:43:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 06:43:08 ---> 5eabd8fd8ba2 06:43:08 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 06:43:10 ---> Running in c87a661b778f 06:43:10 Connecting to iotech.jfrog.io (54.170.66.44:443) 06:43:11 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 06:43:11 06:43:11 Removing intermediate container c87a661b778f 06:43:11 ---> 0dbb93fb6347 06:43:11 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 06:43:11 ---> Running in 73be5b81fef5 06:43:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-87 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [Pipeline] { [Pipeline] ws 06:43:11 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 06:43:12 Selected Git installation does not exist. Using Default 06:43:12 The recommended git tool is: NONE 06:43:12 Removing intermediate container 73be5b81fef5 06:43:12 ---> b6757c9d5c28 06:43:12 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 06:43:12 ---> Running in 26a897d9d4fe 06:43:12 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 06:43:13 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 06:43:14 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 06:43:14 (1/11) Installing hiredis (0.14.0-r0) 06:43:14 (2/11) Installing hiredis-dev (0.14.0-r0) 06:43:14 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 06:43:14 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 06:43:16 (5/11) Installing libuuid (2.33-r0) 06:43:16 (6/11) Installing libblkid (2.33-r0) 06:43:16 (7/11) Installing libfdisk (2.33-r0) 06:43:16 (8/11) Installing libmount (2.33-r0) 06:43:16 (9/11) Installing libsmartcols (2.33-r0) 06:43:16 (10/11) Installing util-linux-dev (2.33-r0) 06:43:16 (11/11) Installing wget (1.20.3-r0) 06:43:16 Executing busybox-1.29.3-r10.trigger 06:43:16 OK: 273 MiB in 86 packages 06:43:17 using credential edgex-jenkins-ssh 06:43:17 Cloning the remote Git repository 06:43:17 Removing intermediate container 26a897d9d4fe 06:43:17 ---> 1bc5fbe3a398 06:43:17 Step 6/25 : ENV CBOR_VERSION=0.5.0 06:43:17 ---> Running in 92ca68f30c2c 06:43:17 Removing intermediate container 92ca68f30c2c 06:43:17 ---> 369018c0ccf3 06:43:17 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 06:43:17 ---> Running in 22b417f4e5d2 06:43:17 --2021-07-05 06:43:17-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 06:43:17 Resolving github.com... 140.82.112.4 06:43:17 Connecting to github.com|140.82.112.4|:443... connected. 06:43:17 HTTP request sent, awaiting response... 302 Found 06:43:17 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 06:43:17 --2021-07-05 06:43:17-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 06:43:17 Resolving codeload.github.com... 140.82.112.9 06:43:17 Connecting to codeload.github.com|140.82.112.9|:443... connected. 06:43:18 HTTP request sent, awaiting response... 200 OK 06:43:18 Length: unspecified [application/x-gzip] 06:43:18 Saving to: 'STDOUT' 06:43:18 06:43:18 0K .......... .......... .......... .......... .......... 1.24M 06:43:18 50K .......... .......... .......... .......... .......... 2.45M 06:43:18 100K .......... .......... .......... .......... .......... 26.5M 06:43:18 150K .......... .......... .......... .......... .......... 21.4M 06:43:18 200K .......... .......... .......... .......... .......... 2.83M 06:43:18 250K .......... .......... .......... .......... .......... 5.90M 06:43:18 300K .......... .......... .......... .......... .......... 4.81M 06:43:18 350K .......... .......... .......... .......... .......... 29.5M 06:43:18 400K .......... .......... .......... .......... .......... 6.18M 06:43:18 450K .......... .......... .......... .......... .......... 8.93M 06:43:17 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 06:43:17 > git init /w/workspace/device-sdk-c/2 # timeout=10 06:43:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 06:43:17 > git --version # timeout=10 06:43:17 > git --version # 'git version 2.17.1' 06:43:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:43:18 500K .......... .......... .......... .......... .......... 18.7M 06:43:18 550K .......... .......... .......... .......... .......... 4.18M 06:43:18 600K .......... .......... .......... .......... .......... 6.40M 06:43:18 650K .......... .......... .......... .......... .......... 8.09M 06:43:18 700K .. 73.1M=0.1s 06:43:18 06:43:18 2021-07-05 06:43:18 (4.83 MB/s) - written to stdout [719348] 06:43:18 06:43:18 -- The C compiler identification is GNU 8.3.0 06:43:18 -- The CXX compiler identification is GNU 8.3.0 06:43:18 -- Check for working C compiler: /usr/bin/cc 06:43:18 -- Check for working C compiler: /usr/bin/cc -- works 06:43:18 -- Detecting C compiler ABI info 06:43:18 -- Detecting C compiler ABI info - done 06:43:18 -- Detecting C compile features 06:43:18 -- Detecting C compile features - done 06:43:18 -- Check for working CXX compiler: /usr/bin/c++ 06:43:18 -- Check for working CXX compiler: /usr/bin/c++ -- works 06:43:18 -- Detecting CXX compiler ABI info 06:43:18 -- Detecting CXX compiler ABI info - done 06:43:18 -- Detecting CXX compile features 06:43:19 -- Detecting CXX compile features - done 06:43:19 -- Looking for include file endian.h 06:43:19 -- Looking for include file endian.h - found 06:43:19 -- Check if the system is big endian 06:43:19 -- Searching 16 bit integer 06:43:19 -- Looking for sys/types.h 06:43:19 -- Looking for sys/types.h - found 06:43:19 -- Looking for stdint.h 06:43:19 -- Looking for stdint.h - found 06:43:19 -- Looking for stddef.h 06:43:19 -- Looking for stddef.h - found 06:43:19 -- Check size of unsigned short 06:43:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 06:43:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:43:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 06:43:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 06:43:19 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:43:19 -- Check size of unsigned short - done 06:43:19 -- Using unsigned short 06:43:19 -- Check if the system is big endian - little endian 06:43:19 -- Check size of size_t 06:43:19 -- Check size of size_t - done 06:43:19 CMake Warning at examples/CMakeLists.txt:16 (find_package): 06:43:19 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 06:43:19 asked CMake to find a package configuration file provided by "cJSON", but 06:43:19 CMake did not find one. 06:43:19 06:43:19 Could not find a package configuration file provided by "cJSON" with any of 06:43:19 the following names: 06:43:19 06:43:19 cJSONConfig.cmake 06:43:19 cjson-config.cmake 06:43:19 06:43:19 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 06:43:19 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 06:43:19 provides a separate development package or SDK, be sure it has been 06:43:19 installed. 06:43:19 06:43:19 06:43:19 -- Configuring done 06:43:19 -- Generating done 06:43:19 -- Build files have been written to: /tmp/cbor 06:43:19 Merging remotes/origin/master commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 574127dbd35a5f0b3785285bd9b73c60951e2550 06:43:19 Scanning dependencies of target cbor_shared 06:43:19 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 06:43:19 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 06:43:19 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 06:43:20 Merge succeeded, producing 574127dbd35a5f0b3785285bd9b73c60951e2550 06:43:20 Checking out Revision 574127dbd35a5f0b3785285bd9b73c60951e2550 (PR-355) 06:43:20 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 06:43:20 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 06:43:20 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 06:43:20 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 06:43:20 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 06:43:20 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 06:43:20 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 06:43:20 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 06:43:20 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 06:43:20 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 06:43:20 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 06:43:20 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 06:43:19 > git config core.sparsecheckout # timeout=10 06:43:19 > git checkout -f 574127dbd35a5f0b3785285bd9b73c60951e2550 # timeout=10 06:43:19 > git remote # timeout=10 06:43:19 > git config --get remote.origin.url # timeout=10 06:43:19 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:19 > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 06:43:19 > git rev-parse HEAD^{commit} # timeout=10 06:43:19 > git config core.sparsecheckout # timeout=10 06:43:20 > git checkout -f 574127dbd35a5f0b3785285bd9b73c60951e2550 # timeout=10 06:43:20 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 06:43:20 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 06:43:20 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 06:43:20 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 06:43:20 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 06:43:21 [ 40%] Linking C shared library libcbor.so 06:43:21 [ 40%] Built target cbor_shared 06:43:21 Scanning dependencies of target cbor 06:43:21 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 06:43:21 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 06:43:21 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 06:43:21 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 06:43:21 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 06:43:21 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 06:43:21 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 06:43:21 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 06:43:21 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 06:43:22 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 06:43:22 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 06:43:22 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 06:43:22 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 06:43:22 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 06:43:22 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 06:43:22 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 06:43:22 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 06:43:22 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 06:43:22 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 06:43:22 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 06:43:22 [ 80%] Linking C static library libcbor.a 06:43:22 [ 80%] Built target cbor 06:43:22 Scanning dependencies of target create_items 06:43:22 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 06:43:22 [ 84%] Linking C executable create_items 06:43:22 [ 84%] Built target create_items 06:43:22 Scanning dependencies of target readfile 06:43:22 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 06:43:22 [ 88%] Linking C executable readfile 06:43:22 [ 88%] Built target readfile 06:43:22 Scanning dependencies of target streaming_parser 06:43:22 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 06:43:22 [ 92%] Linking C executable streaming_parser 06:43:23 [ 92%] Built target streaming_parser 06:43:23 Scanning dependencies of target sort 06:43:23 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 06:43:23 [ 96%] Linking C executable sort 06:43:23 [ 96%] Built target sort 06:43:23 Scanning dependencies of target hello 06:43:23 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 06:43:23 [100%] Linking C executable hello 06:43:23 [100%] Built target hello 06:43:23 Install the project... 06:43:23 -- Install configuration: "Release" 06:43:23 -- Installing: /usr/local/include/cbor/configuration.h 06:43:23 -- Installing: /usr/local/lib64/libcbor.a 06:43:23 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 06:43:23 -- Installing: /usr/local/lib64/libcbor.so.0 06:43:23 -- Installing: /usr/local/lib64/libcbor.so 06:43:23 -- Up-to-date: /usr/local/include/cbor 06:43:23 -- Installing: /usr/local/include/cbor/arrays.h 06:43:23 -- Installing: /usr/local/include/cbor/bytestrings.h 06:43:23 -- Installing: /usr/local/include/cbor/callbacks.h 06:43:23 -- Installing: /usr/local/include/cbor/common.h 06:43:23 -- Installing: /usr/local/include/cbor/data.h 06:43:23 -- Installing: /usr/local/include/cbor/encoding.h 06:43:23 -- Installing: /usr/local/include/cbor/floats_ctrls.h 06:43:23 -- Installing: /usr/local/include/cbor/internal 06:43:23 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 06:43:23 -- Installing: /usr/local/include/cbor/internal/encoders.h 06:43:23 -- Installing: /usr/local/include/cbor/internal/loaders.h 06:43:23 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 06:43:23 -- Installing: /usr/local/include/cbor/internal/stack.h 06:43:23 -- Installing: /usr/local/include/cbor/internal/unicode.h 06:43:23 -- Installing: /usr/local/include/cbor/ints.h 06:43:23 -- Installing: /usr/local/include/cbor/maps.h 06:43:23 -- Installing: /usr/local/include/cbor/serialization.h 06:43:23 -- Installing: /usr/local/include/cbor/streaming.h 06:43:23 -- Installing: /usr/local/include/cbor/strings.h 06:43:23 -- Installing: /usr/local/include/cbor/tags.h 06:43:23 -- Installing: /usr/local/include/cbor.h 06:43:23 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 06:43:24 Removing intermediate container 22b417f4e5d2 06:43:24 ---> 8798a5464d38 06:43:24 Step 8/25 : RUN mkdir /tmp/sdk 06:43:24 ---> Running in 883957628d2e 06:43:24 Commit message: "fix: Update discovery sample app configuration.toml" 06:43:24 Removing intermediate container 883957628d2e 06:43:24 ---> 548ef29bd5b0 06:43:24 Step 9/25 : COPY VERSION /tmp/sdk [Pipeline] withEnv [Pipeline] { 06:43:24 ---> fb19d39c8180 06:43:24 Step 10/25 : COPY src /tmp/sdk/src 06:43:24 ---> 412de6dbe314 06:43:24 Step 11/25 : COPY include /tmp/sdk/include [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:43:24 ---> c0ad9f1e10d1 06:43:24 Step 12/25 : COPY scripts /tmp/sdk/scripts 06:43:25 ---> ebbd1f381953 06:43:25 Step 13/25 : COPY LICENSE /tmp/sdk 06:43:25 ---> 0cf83c02bada 06:43:25 Step 14/25 : COPY Attribution.txt /tmp/sdk 06:43:25 ---> eababd9f78f4 06:43:25 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 06:43:25 ---> Running in e449fd23fada 06:43:25 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:43:25 + CPPCHECK=false 06:43:25 + DOCGEN=false 06:43:25 + TOMLVER=SDK-0.2 06:43:25 + CUTILVER=1.1.4 06:43:25 + '[' 0 -gt 0 ] 06:43:25 + readlink -f ./scripts/build.sh 06:43:25 + dirname /tmp/sdk/scripts/build.sh 06:43:25 + dirname /tmp/sdk/scripts 06:43:25 + ROOT=/tmp/sdk 06:43:25 + cd /tmp/sdk 06:43:25 + '[' '!' -d deps ] 06:43:25 + mkdir deps 06:43:25 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 06:43:25 + tar -C deps -z -x -f - 06:43:25 --2021-07-05 06:43:25-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 06:43:25 Resolving github.com... 140.82.112.4 06:43:25 Connecting to github.com|140.82.112.4|:443... connected. 06:43:25 HTTP request sent, awaiting response... 302 Found 06:43:25 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 06:43:25 --2021-07-05 06:43:25-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 06:43:25 Resolving codeload.github.com... 140.82.112.9 06:43:25 Connecting to codeload.github.com|140.82.112.9|:443... connected. 06:43:25 HTTP request sent, awaiting response... 200 OK 06:43:25 Length: 16451 (16K) [application/x-gzip] 06:43:25 Saving to: 'STDOUT' 06:43:25 06:43:25 0K .......... ...... 100% 916K=0.02s 06:43:25 06:43:25 2021-07-05 06:43:25 (916 KB/s) - written to stdout [16451/16451] 06:43:25 06:43:25 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 06:43:25 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 06:43:25 + tar -C deps -z -x -f - 06:43:25 --2021-07-05 06:43:25-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 06:43:25 Resolving github.com... 140.82.112.4 06:43:25 Connecting to github.com|140.82.112.4|:443... connected. 06:43:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:43:26 HTTP request sent, awaiting response... 302 Found 06:43:26 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 06:43:26 --2021-07-05 06:43:25-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 06:43:26 Resolving codeload.github.com... 140.82.112.9 06:43:26 Connecting to codeload.github.com|140.82.112.9|:443... connected. 06:43:26 HTTP request sent, awaiting response... 200 OK 06:43:26 Length: unspecified [application/x-gzip] 06:43:26 Saving to: 'STDOUT' 06:43:26 06:43:26 + + truesudo 06:43:26 service docker restart 06:43:26 0K .......... .......... .......... .......... .......... 1.21M 06:43:26 50K .......... .......... .......... .......... .......... 2.49M 06:43:26 100K .......... .......... .......... .......... .......... 19.0M 06:43:26 150K .......... .......... ....... 5.99M=0.07s 06:43:26 06:43:26 2021-07-05 06:43:26 (2.58 MB/s) - written to stdout [181796] 06:43:26 06:43:26 + mkdir -p src/c/iot 06:43:26 + 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 06:43:26 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 06:43:26 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 06:43:26 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 06:43:26 + mkdir -p include/iot 06:43:26 + 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 06:43:26 + mkdir -p include/iot/os 06:43:26 + 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 06:43:26 + mkdir -p /tmp/sdk/build/release 06:43:26 + cd /tmp/sdk/build/release 06:43:26 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 06:43:26 -- The C compiler identification is GNU 8.3.0 06:43:26 -- Check for working C compiler: /usr/bin/cc 06:43:26 -- Check for working C compiler: /usr/bin/cc -- works 06:43:26 -- Detecting C compiler ABI info 06:43:26 -- Detecting C compiler ABI info - done 06:43:26 -- Detecting C compile features 06:43:26 -- Detecting C compile features - done 06:43:26 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:43:26 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 06:43:26 -- Found LIBYAML: /usr/lib/libyaml.so 06:43:26 -- Found LIBUUID: /usr/lib/libuuid.so 06:43:26 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 06:43:26 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:43:26 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 06:43:26 -- C SDK 0.0.0 for Linux 06:43:26 -- Performing Test CSDK_HAVE_ATOMIC 06:43:26 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:43:26 -- Found Curses: /usr/lib/libcurses.so 06:43:26 -- Configuring done 06:43:26 -- Generating done 06:43:26 -- Build files have been written to: /tmp/sdk/build/release 06:43:26 + make all package 06:43:26 + tee release.log 06:43:26 Scanning dependencies of target csdk 06:43:26 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:43:26 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 06:43:27 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:43:27 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 06:43:27 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:43:27 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 06:43:27 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 06:43:27 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 06:43:27 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:43:27 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:43:28 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:43:28 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:43:28 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:43:28 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:43:28 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 06:43:28 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:43:28 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:43:29 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:43:29 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 06:43:29 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 06:43:29 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 06:43:29 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 06:43:29 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 06:43:30 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 06:43:30 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 06:43:30 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 06:43:30 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 06:43:30 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 06:43:30 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 06:43:30 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 06:43:30 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 06:43:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 06:43:30 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 06:43:31 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:43:31 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:43:31 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 06:43:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:43:32 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:43:32 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:43:32 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:43:32 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:43:32 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:43:32 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:43:33 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 06:43:33 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:43:33 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:43:33 [ 74%] Linking C shared library libcsdk.so 06:43:33 [ 74%] Built target csdk 06:43:33 Scanning dependencies of target template 06:43:33 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:43:34 [ 77%] Linking C executable template 06:43:34 [ 77%] Built target template 06:43:34 Scanning dependencies of target device-counter 06:43:34 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:43:34 [ 80%] Linking C executable device-counter 06:43:34 [ 80%] Built target device-counter 06:43:34 Scanning dependencies of target device-random 06:43:34 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:43:34 [ 84%] Linking C executable device-random 06:43:34 [ 84%] Built target device-random 06:43:34 Scanning dependencies of target device-gyro 06:43:34 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:43:34 [ 87%] Linking C executable device-gyro 06:43:34 [ 87%] Built target device-gyro 06:43:34 Scanning dependencies of target device-bitfields 06:43:34 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:43:34 [ 90%] Linking C executable device-bitfields 06:43:34 [ 90%] Built target device-bitfields 06:43:34 Scanning dependencies of target template-discovery 06:43:34 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:43:34 [ 93%] Linking C executable template-discovery 06:43:34 [ 93%] Built target template-discovery 06:43:34 Scanning dependencies of target device-file 06:43:34 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:43:34 [ 96%] Linking C executable device-file 06:43:34 [ 96%] Built target device-file 06:43:35 Scanning dependencies of target device-terminal 06:43:35 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:43:35 [100%] Linking C executable device-terminal 06:43:35 [100%] Built target device-terminal 06:43:35 Run CPack packaging tool... 06:43:35 CPack: Create package using TGZ 06:43:35 CPack: Install projects 06:43:35 CPack: - Run preinstall target for: Csdk 06:43:35 CPack: - Install project: Csdk 06:43:35 CPack: Create package 06:43:35 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 06:43:35 + '[' false '=' true ] 06:43:35 + '[' false '=' true ] 06:43:35 + mkdir -p /tmp/sdk/build/debug 06:43:35 + cd /tmp/sdk/build/debug 06:43:35 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 06:43:35 -- The C compiler identification is GNU 8.3.0 06:43:35 -- Check for working C compiler: /usr/bin/cc 06:43:35 -- Check for working C compiler: /usr/bin/cc -- works 06:43:35 -- Detecting C compiler ABI info 06:43:35 -- Detecting C compiler ABI info - done 06:43:35 -- Detecting C compile features 06:43:35 -- Detecting C compile features - done 06:43:35 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:43:35 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 06:43:35 -- Found LIBYAML: /usr/lib/libyaml.so 06:43:35 -- Found LIBUUID: /usr/lib/libuuid.so 06:43:35 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 06:43:35 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:43:35 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 06:43:35 -- C SDK 0.0.0 for Linux 06:43:35 -- Performing Test CSDK_HAVE_ATOMIC 06:43:36 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:43:36 -- Found Curses: /usr/lib/libcurses.so 06:43:36 -- Configuring done 06:43:36 -- Generating done 06:43:36 -- Build files have been written to: /tmp/sdk/build/debug 06:43:36 + make 06:43:36 + tee debug.log 06:43:36 Scanning dependencies of target csdk 06:43:36 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:43:36 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 06:43:36 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:43:36 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 06:43:36 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:43:36 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 06:43:36 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 06:43:36 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 06:43:36 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:43:36 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:43:36 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:43:36 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:43:36 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:43:37 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:43:37 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 06:43:37 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:43:37 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:43:37 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:43:37 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 06:43:37 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 06:43:37 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 06:43:37 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 06:43:37 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 06:43:37 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 06:43:37 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 06:43:37 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 06:43:37 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 06:43:37 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 06:43:37 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 06:43:37 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 06:43:37 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 06:43:38 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 06:43:38 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 06:43:38 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:43:38 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:43:38 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 06:43:38 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:43:38 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:43:38 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:43:38 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:43:38 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:43:38 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:43:38 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:43:38 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 06:43:39 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:43:39 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:43:39 [ 74%] Linking C shared library libcsdk.so 06:43:39 [ 74%] Built target csdk 06:43:39 Scanning dependencies of target template 06:43:39 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:43:39 [ 77%] Linking C executable template 06:43:39 [ 77%] Built target template 06:43:39 Scanning dependencies of target device-counter 06:43:39 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:43:39 [ 80%] Linking C executable device-counter 06:43:39 [ 80%] Built target device-counter 06:43:39 Scanning dependencies of target device-random 06:43:39 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:43:39 [ 84%] Linking C executable device-random 06:43:39 [ 84%] Built target device-random 06:43:39 Scanning dependencies of target device-gyro 06:43:39 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:43:39 [ 87%] Linking C executable device-gyro 06:43:39 [ 87%] Built target device-gyro 06:43:39 Scanning dependencies of target device-bitfields 06:43:39 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:43:39 [ 90%] Linking C executable device-bitfields 06:43:39 [ 90%] Built target device-bitfields 06:43:39 Scanning dependencies of target template-discovery 06:43:39 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:43:39 [ 93%] Linking C executable template-discovery 06:43:39 [ 93%] Built target template-discovery 06:43:39 Scanning dependencies of target device-file 06:43:39 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:43:40 [ 96%] Linking C executable device-file 06:43:40 [ 96%] Built target device-file 06:43:40 Scanning dependencies of target device-terminal 06:43:40 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:43:40 [100%] Linking C executable device-terminal 06:43:40 [100%] Built target device-terminal 06:43:40 make: Entering directory '/tmp/sdk/build/release' 06:43:40 make[1]: Entering directory '/tmp/sdk/build/release' 06:43:40 make[2]: Entering directory '/tmp/sdk/build/release' 06:43:40 make[2]: Leaving directory '/tmp/sdk/build/release' 06:43:40 [ 74%] Built target csdk 06:43:40 make[2]: Entering directory '/tmp/sdk/build/release' 06:43:40 make[2]: Leaving directory '/tmp/sdk/build/release' 06:43:40 [ 77%] Built target template 06:43:40 make[2]: Entering directory '/tmp/sdk/build/release' 06:43:40 make[2]: Leaving directory '/tmp/sdk/build/release' 06:43:40 [ 80%] Built target device-counter 06:43:40 make[2]: Entering directory '/tmp/sdk/build/release' 06:43:40 make[2]: Leaving directory '/tmp/sdk/build/release' 06:43:40 [ 84%] Built target device-random 06:43:40 make[2]: Entering directory '/tmp/sdk/build/release' 06:43:40 make[2]: Leaving directory '/tmp/sdk/build/release' 06:43:40 [ 87%] Built target device-gyro 06:43:40 make[2]: Entering directory '/tmp/sdk/build/release' 06:43:40 make[2]: Leaving directory '/tmp/sdk/build/release' 06:43:40 [ 90%] Built target device-bitfields 06:43:40 make[2]: Entering directory '/tmp/sdk/build/release' 06:43:40 make[2]: Leaving directory '/tmp/sdk/build/release' 06:43:40 [ 93%] Built target template-discovery 06:43:40 make[2]: Entering directory '/tmp/sdk/build/release' 06:43:40 make[2]: Leaving directory '/tmp/sdk/build/release' 06:43:40 [ 96%] Built target device-file 06:43:40 make[2]: Entering directory '/tmp/sdk/build/release' 06:43:40 make[2]: Leaving directory '/tmp/sdk/build/release' 06:43:40 [100%] Built target device-terminal 06:43:40 make[1]: Leaving directory '/tmp/sdk/build/release' 06:43:40 Install the project... 06:43:40 -- Install configuration: "Release" 06:43:40 -- Installing: /usr/local/lib/libcsdk.so 06:43:40 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 06:43:40 -- Up-to-date: /usr/local/include 06:43:40 -- Installing: /usr/local/include/devsdk 06:43:40 -- Installing: /usr/local/include/devsdk/devsdk-base.h 06:43:40 -- Installing: /usr/local/include/devsdk/devsdk.h 06:43:40 -- Installing: /usr/local/include/edgex 06:43:40 -- Installing: /usr/local/include/edgex/devices.h 06:43:40 -- Installing: /usr/local/include/edgex/edgex-base.h 06:43:40 -- Installing: /usr/local/include/edgex/edgex.h 06:43:40 -- Installing: /usr/local/include/edgex/profiles.h 06:43:40 -- Installing: /usr/local/include/edgex/rest-server.h 06:43:40 -- Installing: /usr/local/include/edgex/csdk-defs.h 06:43:40 -- Installing: /usr/local/include/iot 06:43:40 -- Installing: /usr/local/include/iot/base64.h 06:43:40 -- Installing: /usr/local/include/iot/component.h 06:43:40 -- Installing: /usr/local/include/iot/config.h 06:43:40 -- Installing: /usr/local/include/iot/container.h 06:43:40 -- Installing: /usr/local/include/iot/data.h 06:43:40 -- Installing: /usr/local/include/iot/hash.h 06:43:40 -- Installing: /usr/local/include/iot/iot.h 06:43:40 -- Installing: /usr/local/include/iot/json.h 06:43:40 -- Installing: /usr/local/include/iot/logger.h 06:43:40 -- Installing: /usr/local/include/iot/os.h 06:43:40 -- Installing: /usr/local/include/iot/scheduler.h 06:43:40 -- Installing: /usr/local/include/iot/thread.h 06:43:40 -- Installing: /usr/local/include/iot/threadpool.h 06:43:40 -- Installing: /usr/local/include/iot/time.h 06:43:40 -- Installing: /usr/local/include/iot/typecode.h 06:43:40 -- Installing: /usr/local/include/iot/os 06:43:40 -- Installing: /usr/local/include/iot/os/linux.h 06:43:40 -- Installing: /usr/local/include/iot/os/macos.h 06:43:40 -- Installing: /usr/local/include/iot/os/zephyr.h 06:43:40 -- Installing: /usr/local/include/iot/defs.h 06:43:40 -- Installing: /usr/local/share/device-sdk-c/LICENSE 06:43:40 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 06:43:40 make: Leaving directory '/tmp/sdk/build/release' 06:43:41 Removing intermediate container e449fd23fada 06:43:41 ---> 6d234cf1d80b 06:43:41 Step 16/25 : FROM ${BASE} 06:43:41 ---> 5eabd8fd8ba2 06:43:41 Step 17/25 : LABEL maintainer="IOTech " 06:43:41 ---> Running in 397b0469aa5b 06:43:41 Removing intermediate container 397b0469aa5b 06:43:41 ---> e4d6ffbb2125 06:43:41 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 06:43:41 ---> Running in 1bdbd473c6f8 06:43:41 Connecting to iotech.jfrog.io (54.229.110.245:443) 06:43:41 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 06:43:41 06:43:42 Removing intermediate container 1bdbd473c6f8 06:43:42 ---> eb93f3ce914e 06:43:42 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 06:43:42 ---> Running in e9019c9d6e7f 06:43:42 Removing intermediate container e9019c9d6e7f 06:43:42 ---> 8788fb065cb1 06:43:42 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 06:43:42 ---> Running in eb8bfff51686 06:43:42 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 06:43:43 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 06:43:44 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:43:44 provisioning config files... 06:43:44 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config5942253175656467432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:44 (1/6) Installing curl (7.64.0-r5) 06:43:44 (2/6) Installing hiredis (0.14.0-r0) 06:43:44 (3/6) Installing hiredis-dev (0.14.0-r0) 06:43:44 (4/6) Installing libuuid (2.33-r0) 06:43:45 ---> docker-login.sh 06:43:45 nexus3.edgexfoundry.org:10001 06:43:45 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 06:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:46 Configure a credential helper to remove this warning. See 06:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:46 06:43:46 Login Succeeded 06:43:46 nexus3.edgexfoundry.org:10002 06:43:46 (6/6) Installing wget (1.20.3-r0) 06:43:46 Executing busybox-1.29.3-r10.trigger 06:43:46 OK: 269 MiB in 81 packages 06:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:46 Removing intermediate container eb8bfff51686 06:43:46 ---> f0af80d95722 06:43:46 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 06:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:46 Configure a credential helper to remove this warning. See 06:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:46 06:43:46 Login Succeeded 06:43:46 nexus3.edgexfoundry.org:10003 06:43:47 ---> b77e79c2b790 06:43:47 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 06:43:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:47 ---> b9b166451458 06:43:47 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 06:43:47 ---> ad3c3178f6f9 06:43:47 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 06:43:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:47 Configure a credential helper to remove this warning. See 06:43:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:47 06:43:47 Login Succeeded 06:43:47 nexus3.edgexfoundry.org:10004 06:43:47 ---> 5c01657fbf53 06:43:47 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 06:43:47 ---> e0c434878b7e 06:43:47 Successfully built e0c434878b7e 06:43:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 06:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:48 Configure a credential helper to remove this warning. See 06:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:48 06:43:48 Login Succeeded 06:43:48 docker.io [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:48 + docker inspect -f . ci-base-image-x86_64 06:43:48 . [Pipeline] withDockerContainer 06:43:48 prd-centos7-docker-4c-2g-88 does not seem to be running inside a container 06:43:48 $ 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 ******** ci-base-image-x86_64 cat 06:43:48 $ docker top c98e69900856612cec3b478758f717947830381ae33e9bbb3288675fb20473d8 -eo pid,comm 06:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:48 Configure a credential helper to remove this warning. See 06:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:48 06:43:48 Login Succeeded 06:43:48 ---> docker-login.sh ends [Pipeline] { [Pipeline] sh [Pipeline] } 06:43:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 06:43:49 + make test 06:43:49 echo "make test" 06:43:49 make test [Pipeline] } 06:43:49 $ docker stop --time=1 c98e69900856612cec3b478758f717947830381ae33e9bbb3288675fb20473d8 06:43:50 $ docker rm -f c98e69900856612cec3b478758f717947830381ae33e9bbb3288675fb20473d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] echo 06:43:50 ========================================================= 06:43:50 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 06:43:50 ========================================================= [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { 06:43:50 + 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 . 06:43:51 Sending build context to Docker daemon 2.585MB 06:43:51 Step 1/25 : ARG BASE=alpine:3.12 06:43:51 Step 2/25 : FROM ${BASE} as builder 06:43:51 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 06:43:51 0362ad1dd800: Pulling fs layer 06:43:51 f2cdb1532d8b: Pulling fs layer 06:43:51 37ed683be191: Pulling fs layer 06:43:51 f2cdb1532d8b: Download complete 06:43:51 0362ad1dd800: Verifying Checksum 06:43:51 0362ad1dd800: Download complete 06:43:52 0362ad1dd800: Pull complete 06:43:52 f2cdb1532d8b: Pull complete 06:43:54 37ed683be191: Verifying Checksum 06:43:54 37ed683be191: Download complete [Pipeline] sh 06:44:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:44:02 + ls -al . 06:44:02 total 160 06:44:02 drwxrwxr-x. 8 jenkins jenkins 260 Jul 5 06:42 . 06:44:02 drwxrwxr-x. 4 jenkins jenkins 28 Jul 5 06:42 .. 06:44:02 -rw-rw-r--. 1 jenkins jenkins 3104 Jul 5 06:42 Attribution.txt 06:44:02 -rw-rw-r--. 1 jenkins jenkins 7509 Jul 5 06:42 CHANGES 06:44:02 drwxrwxr-x. 2 jenkins jenkins 121 Jul 5 06:42 docs 06:44:02 -rw-rw-r--. 1 jenkins jenkins 108574 Jul 5 06:42 Doxyfile 06:44:02 drwxrwxr-x. 8 jenkins jenkins 179 Jul 5 06:42 .git 06:44:02 drwxrwxr-x. 2 jenkins jenkins 81 Jul 5 06:42 .github 06:44:02 -rw-rw-r--. 1 jenkins jenkins 176 Jul 5 06:42 .gitignore 06:44:02 drwxrwxr-x. 4 jenkins jenkins 33 Jul 5 06:42 include 06:44:02 -rw-rw-r--. 1 jenkins jenkins 784 Jul 5 06:42 Jenkinsfile 06:44:02 -rw-rw-r--. 1 jenkins jenkins 10174 Jul 5 06:42 LICENSE 06:44:02 -rw-rw-r--. 1 jenkins jenkins 444 Jul 5 06:42 Makefile 06:44:02 -rw-rw-r--. 1 jenkins jenkins 4090 Jul 5 06:42 README.md 06:44:02 -rw-rw-r--. 1 jenkins jenkins 7090 Jul 5 06:42 README.v2.md 06:44:02 drwxrwxr-x. 2 jenkins jenkins 98 Jul 5 06:42 scripts 06:44:02 drwxrwxr-x. 4 jenkins jenkins 50 Jul 5 06:42 src 06:44:02 -rw-rw-r--. 1 jenkins jenkins 5 Jul 5 06:39 VERSION [Pipeline] isUnix [Pipeline] sh 06:44:02 + 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=574127dbd35a5f0b3785285bd9b73c60951e2550 --label arch=amd64 --label version=0.0.0 . 06:44:02 Sending build context to Docker daemon 2.586MB 06:44:02 Step 1/17 : ARG BASE=alpine:3.12 06:44:02 Step 2/17 : FROM ${BASE} 06:44:02 ---> e0c434878b7e 06:44:02 Step 3/17 : LABEL maintainer="IOTech " 06:44:02 ---> Running in ebaba582daed 06:44:02 Removing intermediate container ebaba582daed 06:44:02 ---> cc9a1cd728df 06:44:02 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 06:44:02 ---> Running in 5b47dc5cf666 06:44:02 37ed683be191: Pull complete 06:44:02 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 06:44:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 06:44:02 ---> b23d30803547 06:44:02 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 06:44:02 --2021-07-05 06:44:02-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 06:44:02 Resolving iotech.jfrog.io... 54.229.110.245, 54.170.66.44, 54.195.244.87 06:44:02 Connecting to iotech.jfrog.io|54.229.110.245|:443... connected. 06:44:03 HTTP request sent, awaiting response... 200 OK 06:44:03 Length: 451 [application/octet-stream] 06:44:03 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 06:44:03 06:44:03 0K 100% 51.4M=0s 06:44:03 06:44:03 2021-07-05 06:44:03 (51.4 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 06:44:03 06:44:03 Removing intermediate container 5b47dc5cf666 06:44:03 ---> 3994869fbb28 06:44:03 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 06:44:03 ---> Running in 682f86eb1767 06:44:03 Removing intermediate container 682f86eb1767 06:44:03 ---> e52b8835ef54 06:44:03 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 06:44:03 ---> Running in e01431fb0122 06:44:04 ---> Running in ff63e6368892 06:44:04 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 06:44:05 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 06:44:05 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 06:44:05 Connecting to iotech.jfrog.io (54.170.66.44:443) 06:44:05 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 06:44:05 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 06:44:05 06:44:05 (2/6) Installing libblkid (2.33-r0) 06:44:06 (3/6) Installing libfdisk (2.33-r0) 06:44:06 (4/6) Installing libmount (2.33-r0) 06:44:06 (5/6) Installing libsmartcols (2.33-r0) 06:44:06 (6/6) Installing util-linux-dev (2.33-r0) 06:44:06 Removing intermediate container ff63e6368892 06:44:06 ---> 28299a1da69c 06:44:06 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 06:44:06 ---> Running in 18b496ebc448 06:44:07 Executing busybox-1.29.3-r10.trigger 06:44:07 OK: 273 MiB in 87 packages 06:44:07 Removing intermediate container e01431fb0122 06:44:07 ---> 17b588ede2e6 06:44:07 Step 7/17 : COPY VERSION /edgex-c-sdk/ 06:44:07 ---> 291b47226959 06:44:07 Step 8/17 : COPY src /edgex-c-sdk/src/ 06:44:07 ---> f23c3acca5d7 06:44:07 Step 9/17 : COPY include /edgex-c-sdk/include/ 06:44:07 ---> ee2b634f3999 06:44:07 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 06:44:08 ---> 030c088cbadd 06:44:08 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 06:44:08 ---> eff524f70220 06:44:08 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 06:44:08 ---> 1c9654b240d2 06:44:08 Step 13/17 : WORKDIR /edgex-c-sdk 06:44:08 ---> Running in e3c14db6393b 06:44:08 Removing intermediate container e3c14db6393b 06:44:08 ---> c4657e77c178 06:44:08 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 06:44:08 ---> Running in d2dfd20a64e4 06:44:08 Removing intermediate container d2dfd20a64e4 06:44:08 ---> dc4fd4f11df4 06:44:08 Step 15/17 : LABEL arch=amd64 06:44:08 ---> Running in 8e0d5ab8cdbb 06:44:08 Removing intermediate container 8e0d5ab8cdbb 06:44:08 ---> 3409da3a4fdf 06:44:08 Step 16/17 : LABEL git_sha=574127dbd35a5f0b3785285bd9b73c60951e2550 06:44:08 ---> Running in a695752e4a2e 06:44:08 Removing intermediate container a695752e4a2e 06:44:08 ---> 700868a60589 06:44:08 Step 17/17 : LABEL version=0.0.0 06:44:08 ---> Running in b448f694aa51 06:44:08 Removing intermediate container 18b496ebc448 06:44:08 ---> d5697ba7e425 06:44:08 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 06:44:08 Removing intermediate container b448f694aa51 06:44:08 ---> 14b4b6c2d67c 06:44:08 [Warning] One or more build-args [MAKE ARCH] were not consumed 06:44:08 Successfully built 14b4b6c2d67c 06:44:08 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 06:44:09 ---> Running in 358b3191fc46 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] } 06:44:10 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 06:44:11 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 06:44:11 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 06:44:12 (1/11) Installing hiredis (0.14.0-r0) 06:44:12 (2/11) Installing hiredis-dev (0.14.0-r0) 06:44:12 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 06:44:13 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 06:44:14 (5/11) Installing libuuid (2.33-r0) 06:44:14 (6/11) Installing libblkid (2.33-r0) 06:44:14 (7/11) Installing libfdisk (2.33-r0) 06:44:14 (8/11) Installing libmount (2.33-r0) 06:44:15 (9/11) Installing libsmartcols (2.33-r0) 06:44:15 (10/11) Installing util-linux-dev (2.33-r0) 06:44:15 (11/11) Installing wget (1.20.3-r0) 06:44:15 Executing busybox-1.29.3-r10.trigger 06:44:15 OK: 287 MiB in 86 packages 06:44:17 Removing intermediate container 358b3191fc46 06:44:17 ---> b73f5b7d39ab 06:44:17 Step 6/25 : ENV CBOR_VERSION=0.5.0 06:44:17 ---> Running in 1c4934bd9fd7 06:44:17 Removing intermediate container 1c4934bd9fd7 06:44:17 ---> f28d8b920a84 06:44:17 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 06:44:17 ---> Running in 75ae8092e6fe 06:44:18 --2021-07-05 06:44:18-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 06:44:18 Resolving github.com... 140.82.112.3 06:44:18 Connecting to github.com|140.82.112.3|:443... connected. 06:44:18 HTTP request sent, awaiting response... 302 Found 06:44:18 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 06:44:18 --2021-07-05 06:44:18-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 06:44:18 Resolving codeload.github.com... 140.82.112.9 06:44:18 Connecting to codeload.github.com|140.82.112.9|:443... connected. 06:44:18 HTTP request sent, awaiting response... 200 OK 06:44:18 Length: unspecified [application/x-gzip] 06:44:18 Saving to: 'STDOUT' 06:44:18  06:44:18 0K .......... .......... .......... .......... .......... 1.20M 06:44:18 50K .......... .......... .......... .......... .......... 2.34M 06:44:18 100K .......... .......... .......... .......... .......... 11.5M 06:44:18 150K .......... .......... .......... .......... .......... 3.03M 06:44:18 200K .......... .......... .......... .......... .......... 10.1M 06:44:18 250K .......... .......... .......... .......... .......... 3.63M 06:44:18 300K .......... .......... .......... .......... .......... 4.40M 06:44:18 350K .......... .......... .......... .......... .......... 4.20M 06:44:18 400K .......... .......... .......... .......... .......... 3.52M 06:44:19 450K .......... .......... .......... .......... .......... 4.42M 06:44:19 500K .......... .......... .......... .......... .......... 5.76M 06:44:19 550K .......... .......... .......... .......... .......... 1.56M 06:44:19 600K .......... .......... .......... .......... .......... 1.01M 06:44:19 650K .......... .......... .......... .......... .......... 1.98M 06:44:19 700K ..      2.29M=0.3s 06:44:19 06:44:19 2021-07-05 06:44:19 (2.62 MB/s) - written to stdout [719348] 06:44:19 06:44:19 -- The C compiler identification is GNU 8.3.0 06:44:19 -- The CXX compiler identification is GNU 8.3.0 06:44:19 -- Check for working C compiler: /usr/bin/cc 06:44:20 -- Check for working C compiler: /usr/bin/cc -- works 06:44:20 -- Detecting C compiler ABI info 06:44:20 -- Detecting C compiler ABI info - done 06:44:20 -- Detecting C compile features 06:44:20 -- Detecting C compile features - done 06:44:20 -- Check for working CXX compiler: /usr/bin/c++ 06:44:21 -- Check for working CXX compiler: /usr/bin/c++ -- works 06:44:21 -- Detecting CXX compiler ABI info 06:44:21 -- Detecting CXX compiler ABI info - done 06:44:21 -- Detecting CXX compile features 06:44:22 -- Detecting CXX compile features - done 06:44:22 -- Looking for include file endian.h 06:44:23 -- Looking for include file endian.h - found 06:44:23 -- Check if the system is big endian 06:44:23 -- Searching 16 bit integer 06:44:23 -- Looking for sys/types.h 06:44:23 -- Looking for sys/types.h - found 06:44:23 -- Looking for stdint.h 06:44:23 -- Looking for stdint.h - found 06:44:23 -- Looking for stddef.h 06:44:23 -- Looking for stddef.h - found 06:44:23 -- Check size of unsigned short 06:44:24 -- Check size of unsigned short - done 06:44:24 -- Using unsigned short 06:44:24 -- Check if the system is big endian - little endian 06:44:24 -- Check size of size_t 06:44:24 -- Check size of size_t - done 06:44:24 CMake Warning at examples/CMakeLists.txt:16 (find_package): 06:44:24 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 06:44:24 asked CMake to find a package configuration file provided by "cJSON", but 06:44:24 CMake did not find one. 06:44:24 06:44:24 Could not find a package configuration file provided by "cJSON" with any of 06:44:24 the following names: 06:44:24 06:44:24 cJSONConfig.cmake 06:44:24 cjson-config.cmake 06:44:24 06:44:24 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 06:44:24 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 06:44:24 provides a separate development package or SDK, be sure it has been 06:44:24 installed. 06:44:24 06:44:24 06:44:24 -- Configuring done 06:44:24 -- Generating done 06:44:24 -- Build files have been written to: /tmp/cbor 06:44:25 Scanning dependencies of target cbor_shared 06:44:25 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 06:44:26 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 06:44:26 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 06:44:26 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 06:44:27 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 06:44:27 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 06:44:27 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 06:44:27 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 06:44:28 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 06:44:28 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 06:44:29 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 06:44:29 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 06:44:29 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 06:44:29 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 06:44:30 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 06:44:30 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 06:44:30 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 06:44:30 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 06:44:31 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 06:44:31 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 06:44:31 [ 40%] Linking C shared library libcbor.so 06:44:31 [ 40%] Built target cbor_shared 06:44:31 Scanning dependencies of target cbor 06:44:31 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 06:44:32 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 06:44:33 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 06:44:33 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 06:44:34 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 06:44:34 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 06:44:34 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 06:44:35 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 06:44:35 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 06:44:35 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 06:44:36 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 06:44:36 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 06:44:36 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 06:44:37 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 06:44:37 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 06:44:37 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 06:44:38 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 06:44:38 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 06:44:38 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 06:44:38 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 06:44:39 [ 80%] Linking C static library libcbor.a 06:44:39 [ 80%] Built target cbor 06:44:39 Scanning dependencies of target create_items 06:44:39 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 06:44:39 [ 84%] Linking C executable create_items 06:44:39 [ 84%] Built target create_items 06:44:39 Scanning dependencies of target readfile 06:44:39 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 06:44:39 [ 88%] Linking C executable readfile 06:44:39 [ 88%] Built target readfile 06:44:39 Scanning dependencies of target streaming_parser 06:44:39 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 06:44:40 [ 92%] Linking C executable streaming_parser 06:44:40 [ 92%] Built target streaming_parser 06:44:40 Scanning dependencies of target sort 06:44:40 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 06:44:40 [ 96%] Linking C executable sort 06:44:40 [ 96%] Built target sort 06:44:40 Scanning dependencies of target hello 06:44:40 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 06:44:40 [100%] Linking C executable hello 06:44:40 [100%] Built target hello 06:44:40 Install the project... 06:44:40 -- Install configuration: "Release" 06:44:40 -- Installing: /usr/local/include/cbor/configuration.h 06:44:40 -- Installing: /usr/local/lib64/libcbor.a 06:44:40 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 06:44:40 -- Installing: /usr/local/lib64/libcbor.so.0 06:44:40 -- Installing: /usr/local/lib64/libcbor.so 06:44:40 -- Up-to-date: /usr/local/include/cbor 06:44:40 -- Installing: /usr/local/include/cbor/streaming.h 06:44:40 -- Installing: /usr/local/include/cbor/ints.h 06:44:40 -- Installing: /usr/local/include/cbor/floats_ctrls.h 06:44:40 -- Installing: /usr/local/include/cbor/bytestrings.h 06:44:40 -- Installing: /usr/local/include/cbor/encoding.h 06:44:40 -- Installing: /usr/local/include/cbor/serialization.h 06:44:40 -- Installing: /usr/local/include/cbor/data.h 06:44:40 -- Installing: /usr/local/include/cbor/common.h 06:44:40 -- Installing: /usr/local/include/cbor/callbacks.h 06:44:40 -- Installing: /usr/local/include/cbor/strings.h 06:44:40 -- Installing: /usr/local/include/cbor/tags.h 06:44:40 -- Installing: /usr/local/include/cbor/internal 06:44:40 -- Installing: /usr/local/include/cbor/internal/encoders.h 06:44:40 -- Installing: /usr/local/include/cbor/internal/loaders.h 06:44:40 -- Installing: /usr/local/include/cbor/internal/stack.h 06:44:40 -- Installing: /usr/local/include/cbor/internal/unicode.h 06:44:40 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 06:44:40 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 06:44:40 -- Installing: /usr/local/include/cbor/arrays.h 06:44:40 -- Installing: /usr/local/include/cbor/maps.h 06:44:40 -- Installing: /usr/local/include/cbor.h 06:44:40 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 06:44:42 Removing intermediate container 75ae8092e6fe 06:44:42 ---> 58a08a0f0acf 06:44:42 Step 8/25 : RUN mkdir /tmp/sdk 06:44:43 ---> Running in ea761638a063 06:44:45 Removing intermediate container ea761638a063 06:44:45 ---> 09f680100233 06:44:45 Step 9/25 : COPY VERSION /tmp/sdk 06:44:46 ---> 4d50ea85f502 06:44:46 Step 10/25 : COPY src /tmp/sdk/src 06:44:46 ---> 484e5cf86529 06:44:46 Step 11/25 : COPY include /tmp/sdk/include 06:44:47 ---> 9f967697c3d0 06:44:47 Step 12/25 : COPY scripts /tmp/sdk/scripts 06:44:48 ---> b396b3857a67 06:44:48 Step 13/25 : COPY LICENSE /tmp/sdk 06:44:49 ---> a244a0e18d72 06:44:49 Step 14/25 : COPY Attribution.txt /tmp/sdk 06:44:49 ---> 01772cb64efa 06:44:49 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 06:44:50 ---> Running in cddb42b0f15b 06:44:51 + CPPCHECK=false 06:44:51 + DOCGEN=false 06:44:51 + TOMLVER=SDK-0.2 06:44:51 + CUTILVER=1.1.4 06:44:51 + '[' 0 -gt 0 ] 06:44:51 + readlink -f ./scripts/build.sh 06:44:51 + dirname /tmp/sdk/scripts/build.sh 06:44:51 + dirname /tmp/sdk/scripts 06:44:51 + ROOT=/tmp/sdk 06:44:51 + cd /tmp/sdk 06:44:51 + '[' '!' -d deps ] 06:44:51 + mkdir deps 06:44:51 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 06:44:51 + tar -C deps -z -x -f - 06:44:51 --2021-07-05 06:44:50-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 06:44:51 Resolving github.com... 140.82.112.3 06:44:51 Connecting to github.com|140.82.112.3|:443... connected. 06:44:51 HTTP request sent, awaiting response... 302 Found 06:44:51 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 06:44:51 --2021-07-05 06:44:51-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 06:44:51 Resolving codeload.github.com... 140.82.112.9 06:44:51 Connecting to codeload.github.com|140.82.112.9|:443... connected. 06:44:51 HTTP request sent, awaiting response... 200 OK 06:44:51 Length: 16451 (16K) [application/x-gzip] 06:44:51 Saving to: 'STDOUT' 06:44:51 06:44:51 0K .......... ...... 100% 910K=0.02s 06:44:51 06:44:51 2021-07-05 06:44:51 (910 KB/s) - written to stdout [16451/16451] 06:44:51 06:44:51 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 06:44:51 + + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 06:44:51 tar -C deps -z -x -f - 06:44:51 --2021-07-05 06:44:51-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 06:44:51 Resolving github.com... 140.82.112.3 06:44:51 Connecting to github.com|140.82.112.3|:443... connected. 06:44:51 HTTP request sent, awaiting response... 302 Found 06:44:51 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 06:44:51 --2021-07-05 06:44:51-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 06:44:51 Resolving codeload.github.com... 140.82.112.9 06:44:51 Connecting to codeload.github.com|140.82.112.9|:443... connected. 06:44:51 HTTP request sent, awaiting response... 200 OK 06:44:51 Length: unspecified [application/x-gzip] 06:44:51 Saving to: 'STDOUT' 06:44:51  06:44:51 0K .......... .......... .......... .......... .......... 1.28M 06:44:51 50K .......... .......... .......... .......... .......... 2.52M 06:44:51 100K .......... .......... .......... .......... .......... 2.66M 06:44:51 150K .......... .......... .......   5.45M=0.08s 06:44:51 06:44:51 2021-07-05 06:44:51 (2.14 MB/s) - written to stdout [181796] 06:44:51 06:44:51 + mkdir -p src/c/iot 06:44:51 + 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 06:44:51 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 06:44:51 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 06:44:51 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 06:44:51 + mkdir -p include/iot 06:44:51 + 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 06:44:51 + mkdir -p include/iot/os 06:44:51 + 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 06:44:51 + mkdir -p /tmp/sdk/build/release 06:44:51 + cd /tmp/sdk/build/release 06:44:51 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 06:44:52 -- The C compiler identification is GNU 8.3.0 06:44:52 -- Check for working C compiler: /usr/bin/cc 06:44:52 -- Check for working C compiler: /usr/bin/cc -- works 06:44:52 -- Detecting C compiler ABI info 06:44:52 -- Detecting C compiler ABI info - done 06:44:52 -- Detecting C compile features 06:44:53 -- Detecting C compile features - done 06:44:53 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:44:53 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 06:44:53 -- Found LIBYAML: /usr/lib/libyaml.so 06:44:53 -- Found LIBUUID: /usr/lib/libuuid.so 06:44:53 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 06:44:53 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:44:53 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 06:44:53 -- C SDK 0.0.0 for Linux 06:44:53 -- Performing Test CSDK_HAVE_ATOMIC 06:44:53 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:44:53 -- Found Curses: /usr/lib/libcurses.so 06:44:53 -- Configuring done 06:44:54 -- Generating done 06:44:54 -- Build files have been written to: /tmp/sdk/build/release 06:44:54 + make all package 06:44:54 + tee release.log 06:44:54 Scanning dependencies of target csdk 06:44:54 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:44:55 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 06:44:55 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:44:57 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 06:44:57 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:44:57 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 06:44:58 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 06:44:59 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 06:44:59 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:45:00 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:45:02 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:45:02 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:45:02 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:45:03 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:45:03 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 06:45:04 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:45:04 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:45:06 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:45:07 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 06:45:07 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 06:45:07 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 06:45:08 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 06:45:09 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 06:45:11 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 06:45:11 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 06:45:11 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 06:45:12 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 06:45:12 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 06:45:12 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 06:45:13 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 06:45:14 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 06:45:14 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 06:45:14 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 06:45:16 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:45:16 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:45:17 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 06:45:18 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:45:22 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:45:22 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:45:23 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:45:23 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:45:24 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:45:25 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:45:27 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 06:45:31 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:45:31 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:45:31 [ 74%] Linking C shared library libcsdk.so 06:45:31 [ 74%] Built target csdk 06:45:31 Scanning dependencies of target template 06:45:31 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:45:32 [ 77%] Linking C executable template 06:45:32 [ 77%] Built target template 06:45:32 Scanning dependencies of target device-counter 06:45:32 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:45:33 [ 80%] Linking C executable device-counter 06:45:33 [ 80%] Built target device-counter 06:45:33 Scanning dependencies of target device-random 06:45:33 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:45:33 [ 84%] Linking C executable device-random 06:45:33 [ 84%] Built target device-random 06:45:33 Scanning dependencies of target device-gyro 06:45:33 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:45:34 [ 87%] Linking C executable device-gyro 06:45:34 [ 87%] Built target device-gyro 06:45:34 Scanning dependencies of target device-bitfields 06:45:34 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:45:35 [ 90%] Linking C executable device-bitfields 06:45:35 [ 90%] Built target device-bitfields 06:45:35 Scanning dependencies of target template-discovery 06:45:35 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:45:35 [ 93%] Linking C executable template-discovery 06:45:36 [ 93%] Built target template-discovery 06:45:36 Scanning dependencies of target device-file 06:45:36 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:45:36 [ 96%] Linking C executable device-file 06:45:37 [ 96%] Built target device-file 06:45:37 Scanning dependencies of target device-terminal 06:45:37 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:45:37 [100%] Linking C executable device-terminal 06:45:37 [100%] Built target device-terminal 06:45:38 Run CPack packaging tool... 06:45:38 CPack: Create package using TGZ 06:45:38 CPack: Install projects 06:45:38 CPack: - Run preinstall target for: Csdk 06:45:38 CPack: - Install project: Csdk 06:45:38 CPack: Create package 06:45:38 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 06:45:38 + '[' false '=' true ] 06:45:38 + '[' false '=' true ] 06:45:38 + mkdir -p /tmp/sdk/build/debug 06:45:38 + cd /tmp/sdk/build/debug 06:45:38 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 06:45:38 -- The C compiler identification is GNU 8.3.0 06:45:38 -- Check for working C compiler: /usr/bin/cc 06:45:39 -- Check for working C compiler: /usr/bin/cc -- works 06:45:39 -- Detecting C compiler ABI info 06:45:39 -- Detecting C compiler ABI info - done 06:45:39 -- Detecting C compile features 06:45:40 -- Detecting C compile features - done 06:45:40 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:45:40 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 06:45:40 -- Found LIBYAML: /usr/lib/libyaml.so 06:45:40 -- Found LIBUUID: /usr/lib/libuuid.so 06:45:40 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 06:45:40 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:45:40 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 06:45:40 -- C SDK 0.0.0 for Linux 06:45:40 -- Performing Test CSDK_HAVE_ATOMIC 06:45:40 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:45:40 -- Found Curses: /usr/lib/libcurses.so 06:45:40 -- Configuring done 06:45:40 -- Generating done 06:45:40 -- Build files have been written to: /tmp/sdk/build/debug 06:45:40 + make 06:45:40 + tee debug.log 06:45:40 Scanning dependencies of target csdk 06:45:41 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:45:41 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 06:45:41 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:45:42 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 06:45:42 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:45:42 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 06:45:42 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 06:45:43 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 06:45:43 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:45:44 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:45:44 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:45:44 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:45:44 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:45:45 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:45:45 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 06:45:45 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:45:45 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:45:46 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:45:46 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 06:45:47 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 06:45:47 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 06:45:47 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 06:45:47 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 06:45:48 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 06:45:48 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 06:45:48 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 06:45:49 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 06:45:49 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 06:45:49 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 06:45:49 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 06:45:49 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 06:45:50 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 06:45:50 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 06:45:50 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:45:50 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:45:51 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 06:45:51 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:45:52 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:45:52 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:45:53 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:45:53 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:45:53 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:45:54 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:45:55 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 06:45:55 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:45:56 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:45:56 [ 74%] Linking C shared library libcsdk.so 06:45:56 [ 74%] Built target csdk 06:45:56 Scanning dependencies of target template 06:45:56 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:45:56 [ 77%] Linking C executable template 06:45:57 [ 77%] Built target template 06:45:57 Scanning dependencies of target device-counter 06:45:57 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:45:57 [ 80%] Linking C executable device-counter 06:45:57 [ 80%] Built target device-counter 06:45:57 Scanning dependencies of target device-random 06:45:57 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:45:57 [ 84%] Linking C executable device-random 06:45:58 [ 84%] Built target device-random 06:45:58 Scanning dependencies of target device-gyro 06:45:58 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:45:58 [ 87%] Linking C executable device-gyro 06:45:58 [ 87%] Built target device-gyro 06:45:58 Scanning dependencies of target device-bitfields 06:45:58 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:45:59 [ 90%] Linking C executable device-bitfields 06:45:59 [ 90%] Built target device-bitfields 06:45:59 Scanning dependencies of target template-discovery 06:45:59 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:45:59 [ 93%] Linking C executable template-discovery 06:45:59 [ 93%] Built target template-discovery 06:45:59 Scanning dependencies of target device-file 06:45:59 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:46:00 [ 96%] Linking C executable device-file 06:46:00 [ 96%] Built target device-file 06:46:00 Scanning dependencies of target device-terminal 06:46:00 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:46:00 [100%] Linking C executable device-terminal 06:46:00 [100%] Built target device-terminal 06:46:00 make: Entering directory '/tmp/sdk/build/release' 06:46:00 make[1]: Entering directory '/tmp/sdk/build/release' 06:46:00 make[2]: Entering directory '/tmp/sdk/build/release' 06:46:00 make[2]: Leaving directory '/tmp/sdk/build/release' 06:46:00 [ 74%] Built target csdk 06:46:00 make[2]: Entering directory '/tmp/sdk/build/release' 06:46:00 make[2]: Leaving directory '/tmp/sdk/build/release' 06:46:01 [ 77%] Built target template 06:46:01 make[2]: Entering directory '/tmp/sdk/build/release' 06:46:01 make[2]: Leaving directory '/tmp/sdk/build/release' 06:46:01 [ 80%] Built target device-counter 06:46:01 make[2]: Entering directory '/tmp/sdk/build/release' 06:46:01 make[2]: Leaving directory '/tmp/sdk/build/release' 06:46:01 [ 84%] Built target device-random 06:46:01 make[2]: Entering directory '/tmp/sdk/build/release' 06:46:01 make[2]: Leaving directory '/tmp/sdk/build/release' 06:46:01 [ 87%] Built target device-gyro 06:46:01 make[2]: Entering directory '/tmp/sdk/build/release' 06:46:01 make[2]: Leaving directory '/tmp/sdk/build/release' 06:46:01 [ 90%] Built target device-bitfields 06:46:01 make[2]: Entering directory '/tmp/sdk/build/release' 06:46:01 make[2]: Leaving directory '/tmp/sdk/build/release' 06:46:01 [ 93%] Built target template-discovery 06:46:01 make[2]: Entering directory '/tmp/sdk/build/release' 06:46:01 make[2]: Leaving directory '/tmp/sdk/build/release' 06:46:01 [ 96%] Built target device-file 06:46:01 make[2]: Entering directory '/tmp/sdk/build/release' 06:46:01 make[2]: Leaving directory '/tmp/sdk/build/release' 06:46:01 [100%] Built target device-terminal 06:46:01 make[1]: Leaving directory '/tmp/sdk/build/release' 06:46:01 Install the project... 06:46:01 -- Install configuration: "Release" 06:46:01 -- Installing: /usr/local/lib/libcsdk.so 06:46:01 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 06:46:01 -- Up-to-date: /usr/local/include 06:46:01 -- Installing: /usr/local/include/edgex 06:46:01 -- Installing: /usr/local/include/edgex/rest-server.h 06:46:01 -- Installing: /usr/local/include/edgex/edgex-base.h 06:46:01 -- Installing: /usr/local/include/edgex/edgex.h 06:46:01 -- Installing: /usr/local/include/edgex/devices.h 06:46:01 -- Installing: /usr/local/include/edgex/profiles.h 06:46:01 -- Installing: /usr/local/include/edgex/csdk-defs.h 06:46:01 -- Installing: /usr/local/include/devsdk 06:46:01 -- Installing: /usr/local/include/devsdk/devsdk-base.h 06:46:01 -- Installing: /usr/local/include/devsdk/devsdk.h 06:46:01 -- Installing: /usr/local/include/iot 06:46:01 -- Installing: /usr/local/include/iot/json.h 06:46:01 -- Installing: /usr/local/include/iot/container.h 06:46:01 -- Installing: /usr/local/include/iot/component.h 06:46:01 -- Installing: /usr/local/include/iot/typecode.h 06:46:01 -- Installing: /usr/local/include/iot/iot.h 06:46:01 -- Installing: /usr/local/include/iot/time.h 06:46:01 -- Installing: /usr/local/include/iot/hash.h 06:46:01 -- Installing: /usr/local/include/iot/logger.h 06:46:01 -- Installing: /usr/local/include/iot/os 06:46:01 -- Installing: /usr/local/include/iot/os/zephyr.h 06:46:01 -- Installing: /usr/local/include/iot/os/linux.h 06:46:01 -- Installing: /usr/local/include/iot/os/macos.h 06:46:01 -- Installing: /usr/local/include/iot/scheduler.h 06:46:01 -- Installing: /usr/local/include/iot/data.h 06:46:01 -- Installing: /usr/local/include/iot/thread.h 06:46:01 -- Installing: /usr/local/include/iot/os.h 06:46:01 -- Installing: /usr/local/include/iot/base64.h 06:46:01 -- Installing: /usr/local/include/iot/defs.h 06:46:01 -- Installing: /usr/local/include/iot/threadpool.h 06:46:01 -- Installing: /usr/local/include/iot/config.h 06:46:01 -- Installing: /usr/local/share/device-sdk-c/LICENSE 06:46:01 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 06:46:01 make: Leaving directory '/tmp/sdk/build/release' 06:46:03 Removing intermediate container cddb42b0f15b 06:46:03 ---> 817da2897d70 06:46:03 Step 16/25 : FROM ${BASE} 06:46:03 ---> b23d30803547 06:46:03 Step 17/25 : LABEL maintainer="IOTech " 06:46:03 ---> Running in 202310b31dfe 06:46:04 Removing intermediate container 202310b31dfe 06:46:04 ---> 4b0f4e92b8fa 06:46:04 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 06:46:04 ---> Running in 32cfc113bc0f 06:46:05 Connecting to iotech.jfrog.io (54.170.66.44:443) 06:46:05 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 06:46:05 06:46:06 Removing intermediate container 32cfc113bc0f 06:46:06 ---> 50c9a74d31dc 06:46:06 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 06:46:06 ---> Running in ab01f5ed9661 06:46:08 Removing intermediate container ab01f5ed9661 06:46:08 ---> b1a5d47104eb 06:46:08 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 06:46:09 ---> Running in bf591f0ac73a 06:46:10 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 06:46:11 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 06:46:11 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 06:46:12 (1/6) Installing curl (7.64.0-r5) 06:46:12 (2/6) Installing hiredis (0.14.0-r0) 06:46:12 (3/6) Installing hiredis-dev (0.14.0-r0) 06:46:12 (4/6) Installing libuuid (2.33-r0) 06:46:12 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 06:46:14 (6/6) Installing wget (1.20.3-r0) 06:46:14 Executing busybox-1.29.3-r10.trigger 06:46:14 OK: 283 MiB in 81 packages 06:46:15 Removing intermediate container bf591f0ac73a 06:46:15 ---> bdb375212fd8 06:46:15 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 06:46:16 ---> 39db8d8ab120 06:46:16 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 06:46:17 ---> 647e5f90153d 06:46:17 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 06:46:18 ---> 8178990ee5d6 06:46:18 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 06:46:18 ---> a23f674d3927 06:46:18 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 06:46:19 ---> c0a0d8ff51f5 06:46:19 Successfully built c0a0d8ff51f5 06:46:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:46:20 + docker inspect -f . ci-base-image-arm64 06:46:20 . [Pipeline] withDockerContainer 06:46:20 prd-ubuntu18.04-docker-arm64-4c-16g-87 does not seem to be running inside a container 06:46:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:46:22 $ docker top 7ef67721e5de13618340cbe156d8ecccf657fc52d744bb742558ea5cca406172 -eo pid,comm [Pipeline] { [Pipeline] sh 06:46:23 + make test 06:46:23 echo "make test" 06:46:23 make test [Pipeline] } 06:46:23 $ docker stop --time=1 7ef67721e5de13618340cbe156d8ecccf657fc52d744bb742558ea5cca406172 06:46:25 $ docker rm -f 7ef67721e5de13618340cbe156d8ecccf657fc52d744bb742558ea5cca406172 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:46:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:46:26 + ls -al . 06:46:26 total 192 06:46:26 drwxrwxr-x 8 jenkins jenkins 4096 Jul 5 06:43 . 06:46:26 drwxrwxr-x 4 jenkins jenkins 4096 Jul 5 06:43 .. 06:46:26 drwxrwxr-x 8 jenkins jenkins 4096 Jul 5 06:43 .git 06:46:26 drwxrwxr-x 2 jenkins jenkins 4096 Jul 5 06:43 .github 06:46:26 -rw-rw-r-- 1 jenkins jenkins 176 Jul 5 06:43 .gitignore 06:46:26 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 5 06:43 Attribution.txt 06:46:26 -rw-rw-r-- 1 jenkins jenkins 7509 Jul 5 06:43 CHANGES 06:46:26 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 5 06:43 Doxyfile 06:46:26 -rw-rw-r-- 1 jenkins jenkins 784 Jul 5 06:43 Jenkinsfile 06:46:26 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 5 06:43 LICENSE 06:46:26 -rw-rw-r-- 1 jenkins jenkins 444 Jul 5 06:43 Makefile 06:46:26 -rw-rw-r-- 1 jenkins jenkins 4090 Jul 5 06:43 README.md 06:46:26 -rw-rw-r-- 1 jenkins jenkins 7090 Jul 5 06:43 README.v2.md 06:46:26 -rw-rw-r-- 1 jenkins jenkins 5 Jul 5 06:39 VERSION 06:46:26 drwxrwxr-x 2 jenkins jenkins 4096 Jul 5 06:43 docs 06:46:26 drwxrwxr-x 4 jenkins jenkins 4096 Jul 5 06:43 include 06:46:26 drwxrwxr-x 2 jenkins jenkins 4096 Jul 5 06:43 scripts 06:46:26 drwxrwxr-x 4 jenkins jenkins 4096 Jul 5 06:43 src [Pipeline] isUnix [Pipeline] sh 06:46:26 + 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=574127dbd35a5f0b3785285bd9b73c60951e2550 --label arch=arm64 --label version=0.0.0 . 06:46:27 Sending build context to Docker daemon 2.585MB 06:46:27 Step 1/17 : ARG BASE=alpine:3.12 06:46:27 Step 2/17 : FROM ${BASE} 06:46:27 ---> c0a0d8ff51f5 06:46:27 Step 3/17 : LABEL maintainer="IOTech " 06:46:27 ---> Running in fa5e59f13fcd 06:46:27 Removing intermediate container fa5e59f13fcd 06:46:27 ---> 83505c0ae3f7 06:46:27 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 06:46:27 ---> Running in d871fc9f9247 06:46:29 --2021-07-05 06:46:28-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 06:46:29 Resolving iotech.jfrog.io... 54.229.110.245, 54.170.66.44, 54.195.244.87 06:46:29 Connecting to iotech.jfrog.io|54.229.110.245|:443... connected. 06:46:29 HTTP request sent, awaiting response... 200 OK 06:46:29 Length: 451 [application/octet-stream] 06:46:29 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 06:46:29  06:46:29 0K  100% 17.7M=0s 06:46:29 06:46:29 2021-07-05 06:46:29 (17.7 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 06:46:29 06:46:30 Removing intermediate container d871fc9f9247 06:46:30 ---> 1f884fb3c4c7 06:46:30 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 06:46:30 ---> Running in bfd3912307d0 06:46:32 Removing intermediate container bfd3912307d0 06:46:32 ---> 79e9b30f6b99 06:46:32 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 06:46:32 ---> Running in ae8516dc8f25 06:46:34 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 06:46:34 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 06:46:35 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 06:46:36 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 06:46:36 (2/6) Installing libblkid (2.33-r0) 06:46:36 (3/6) Installing libfdisk (2.33-r0) 06:46:36 (4/6) Installing libmount (2.33-r0) 06:46:36 (5/6) Installing libsmartcols (2.33-r0) 06:46:36 (6/6) Installing util-linux-dev (2.33-r0) 06:46:36 Executing busybox-1.29.3-r10.trigger 06:46:36 OK: 287 MiB in 87 packages 06:46:37 Removing intermediate container ae8516dc8f25 06:46:37 ---> 7c766c4da3f3 06:46:37 Step 7/17 : COPY VERSION /edgex-c-sdk/ 06:46:38 ---> f8c414bc2a34 06:46:38 Step 8/17 : COPY src /edgex-c-sdk/src/ 06:46:39 ---> bd3c61a29a23 06:46:39 Step 9/17 : COPY include /edgex-c-sdk/include/ 06:46:40 ---> 0dceeab1dbcc 06:46:40 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 06:46:41 ---> 5473efedec78 06:46:41 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 06:46:42 ---> 704c0ec64403 06:46:42 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 06:46:42 ---> 6abcad590d9c 06:46:42 Step 13/17 : WORKDIR /edgex-c-sdk 06:46:42 ---> Running in 0eed1d8bc667 06:46:43 Removing intermediate container 0eed1d8bc667 06:46:43 ---> 136246cd08e5 06:46:43 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 06:46:43 ---> Running in 0e9e9bc5cc1d 06:46:44 Removing intermediate container 0e9e9bc5cc1d 06:46:44 ---> 464c62524857 06:46:44 Step 15/17 : LABEL arch=arm64 06:46:44 ---> Running in 7b6403449f5d 06:46:44 Removing intermediate container 7b6403449f5d 06:46:44 ---> ea6a9d55dc70 06:46:44 Step 16/17 : LABEL git_sha=574127dbd35a5f0b3785285bd9b73c60951e2550 06:46:44 ---> Running in bcdd41a76c58 06:46:45 Removing intermediate container bcdd41a76c58 06:46:45 ---> 1df4d17ecdb1 06:46:45 Step 17/17 : LABEL version=0.0.0 06:46:45 ---> Running in 718385f247ae 06:46:45 Removing intermediate container 718385f247ae 06:46:45 ---> 533340b2e00a 06:46:45 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:46:45 Successfully built 533340b2e00a 06:46:45 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 06:46:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:46:48 ---> package-listing.sh 06:46:48 ++ facter osfamily 06:46:48 ++ tr '[:upper:]' '[:lower:]' 06:46:48 + OS_FAMILY=redhat 06:46:48 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-355 06:46:48 + START_PACKAGES=/tmp/packages_start.txt 06:46:48 + END_PACKAGES=/tmp/packages_end.txt 06:46:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:46:48 + PACKAGES=/tmp/packages_start.txt 06:46:48 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-355 ']' 06:46:48 + PACKAGES=/tmp/packages_end.txt 06:46:48 + case "${OS_FAMILY}" in 06:46:48 + rpm -qa 06:46:48 + sort 06:46:48 + '[' -f /tmp/packages_start.txt ']' 06:46:48 + '[' -f /tmp/packages_end.txt ']' 06:46:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:46:48 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-355 ']' 06:46:48 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-355/archives/ 06:46:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-355/archives/ [Pipeline] echo 06:46:48 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-355/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:46:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:46:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:46:49 06:46:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:46:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:46:50 alpine: Pulling from edgex-lftools-log-publisher 06:46:50 df20fa9351a1: Pulling fs layer 06:46:50 36b3adc4ff6f: Pulling fs layer 06:46:50 8ad3a11d3b57: Pulling fs layer 06:46:50 46f8f816bc3b: Pulling fs layer 06:46:50 93b61091891f: Pulling fs layer 06:46:50 93b9cdb0e59b: Pulling fs layer 06:46:50 5e14af77c1be: Pulling fs layer 06:46:50 01666e4c0597: Pulling fs layer 06:46:50 aa168da1d23b: Pulling fs layer 06:46:50 93b61091891f: Waiting 06:46:50 93b9cdb0e59b: Waiting 06:46:50 5e14af77c1be: Waiting 06:46:50 01666e4c0597: Waiting 06:46:50 aa168da1d23b: Waiting 06:46:50 46f8f816bc3b: Waiting 06:46:50 36b3adc4ff6f: Verifying Checksum 06:46:50 36b3adc4ff6f: Download complete 06:46:50 46f8f816bc3b: Verifying Checksum 06:46:50 46f8f816bc3b: Download complete 06:46:50 df20fa9351a1: Verifying Checksum 06:46:50 df20fa9351a1: Download complete 06:46:50 93b9cdb0e59b: Verifying Checksum 06:46:50 93b9cdb0e59b: Download complete 06:46:50 5e14af77c1be: Verifying Checksum 06:46:50 5e14af77c1be: Download complete 06:46:50 93b61091891f: Verifying Checksum 06:46:50 93b61091891f: Download complete 06:46:50 01666e4c0597: Verifying Checksum 06:46:50 01666e4c0597: Download complete 06:46:50 8ad3a11d3b57: Verifying Checksum 06:46:50 8ad3a11d3b57: Download complete 06:46:50 df20fa9351a1: Pull complete 06:46:50 36b3adc4ff6f: Pull complete 06:46:51 8ad3a11d3b57: Pull complete 06:46:51 46f8f816bc3b: Pull complete 06:46:51 93b61091891f: Pull complete 06:46:51 93b9cdb0e59b: Pull complete 06:46:51 5e14af77c1be: Pull complete 06:46:51 01666e4c0597: Pull complete 06:46:52 aa168da1d23b: Download complete 06:46:56 aa168da1d23b: Pull complete 06:46:56 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:46:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:46:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:46:56 prd-centos7-docker-4c-2g-86 does not seem to be running inside a container 06:46:56 $ 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-355/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-355 -v /w/workspace/edgexfoundry_device-sdk-c_PR-355:/w/workspace/edgexfoundry_device-sdk-c_PR-355:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-355@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 06:46:59 $ docker top 71f75c20f0f56e505d034b447dfd09c1d8113c688705e5234ba458df565587df -eo pid,comm [Pipeline] { [Pipeline] sh 06:47:00 + touch /tmp/pre-build-complete [Pipeline] sh 06:47:00 + mkdir -p /var/log/sa [Pipeline] sh 06:47:00 + ls /var/log/sa-host 06:47:00 + sadf -c /var/log/sa-host/sa05 06:47:00 file_magic: OK 06:47:00 HZ: Using current value: 100 06:47:00 file_header: OK 06:47:00 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 06:47:00 Statistics: 06:47:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:47:00 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:47:00 provisioning config files... 06:47:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/config6907464037110586869tmp [Pipeline] { [Pipeline] echo 06:47:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:47:01 ---> create-netrc.sh [Pipeline] } 06:47:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:47:01 ---> python-tools-install.sh [Pipeline] echo 06:47:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:47:02 ---> sudo-logs.sh 06:47:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:47:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:47:02 ---> job-cost.sh 06:47:02 lf-activate-venv: SKIPPING 06:47:02 INFO: No Stack... 06:47:02 INFO: Retrieving Pricing Info for: v3-standard-2 06:47:03 INFO: Archiving Costs [Pipeline] echo 06:47:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:47:03 ---> logs-deploy.sh 06:47:03 lf-activate-venv: SKIPPING 06:47:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-355/2 06:47:03 INFO: archiving workspace using pattern(s): 06:47:04 Archives upload complete. 06:47:04 INFO: archiving logs to Nexus 06:47:05 ---> uname -a: 06:47:05 Linux prd-centos7-docker-4c-2g-86.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 06:47:05 06:47:05 06:47:05 ---> lscpu: 06:47:05 Architecture: x86_64 06:47:05 CPU op-mode(s): 32-bit, 64-bit 06:47:05 Byte Order: Little Endian 06:47:05 Address sizes: 40 bits physical, 48 bits virtual 06:47:05 CPU(s): 2 06:47:05 On-line CPU(s) list: 0,1 06:47:05 Thread(s) per core: 1 06:47:05 Core(s) per socket: 1 06:47:05 Socket(s): 2 06:47:05 NUMA node(s): 1 06:47:05 Vendor ID: AuthenticAMD 06:47:05 CPU family: 23 06:47:05 Model: 49 06:47:05 Model name: AMD EPYC-Rome Processor 06:47:05 Stepping: 0 06:47:05 CPU MHz: 2800.000 06:47:05 BogoMIPS: 5600.00 06:47:05 Virtualization: AMD-V 06:47:05 Hypervisor vendor: KVM 06:47:05 Virtualization type: full 06:47:05 L1d cache: 64 KiB 06:47:05 L1i cache: 64 KiB 06:47:05 L2 cache: 1 MiB 06:47:05 L3 cache: 32 MiB 06:47:05 NUMA node0 CPU(s): 0,1 06:47:05 Vulnerability Itlb multihit: Not affected 06:47:05 Vulnerability L1tf: Not affected 06:47:05 Vulnerability Mds: Not affected 06:47:05 Vulnerability Meltdown: Not affected 06:47:05 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:47:05 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:47:05 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:47:05 Vulnerability Srbds: Not affected 06:47:05 Vulnerability Tsx async abort: Not affected 06:47:05 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 06:47:05 06:47:05 06:47:05 ---> nproc: 06:47:05 2 06:47:05 06:47:05 06:47:05 ---> df -h: 06:47:05 Filesystem Size Used Available Use% Mounted on 06:47:05 overlay 40.0G 7.6G 32.4G 19% / 06:47:05 tmpfs 64.0M 0 64.0M 0% /dev 06:47:05 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 06:47:05 shm 64.0M 0 64.0M 0% /dev/shm 06:47:05 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 06:47:05 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 06:47:05 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 06:47:05 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 06:47:05 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 06:47:05 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-355 06:47:05 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 06:47:05 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp 06:47:05 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 06:47:05 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 06:47:05 06:47:05 06:47:05 ---> free -m: 06:47:05 total used free shared buff/cache available 06:47:05 Mem: 7821 975 4749 0 2097 6668 06:47:05 Swap: 1023 0 1023 06:47:05 06:47:05 06:47:05 ---> ip addr: 06:47:05 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:47:05 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:47:05 inet 127.0.0.1/8 scope host lo 06:47:05 valid_lft forever preferred_lft forever 06:47:05 inet6 ::1/128 scope host 06:47:05 valid_lft forever preferred_lft forever 06:47:05 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:47:05 link/ether fa:16:3e:db:a7:77 brd ff:ff:ff:ff:ff:ff 06:47:05 inet 10.30.122.183/23 brd 10.30.123.255 scope global dynamic eth0 06:47:05 valid_lft 85892sec preferred_lft 85892sec 06:47:05 inet6 fe80::f816:3eff:fedb:a777/64 scope link 06:47:05 valid_lft forever preferred_lft forever 06:47:05 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:47:05 link/ether 02:42:5e:ec:27:49 brd ff:ff:ff:ff:ff:ff 06:47:05 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:47:05 valid_lft forever preferred_lft forever 06:47:05 inet6 fe80::42:5eff:feec:2749/64 scope link 06:47:05 valid_lft forever preferred_lft forever 06:47:05 06:47:05 06:47:05 ---> sar -b -r -n DEV: 06:47:05 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/05/21 _x86_64_ (2 CPU) 06:47:05 06:47:05 06:38:28 LINUX RESTART (2 CPU) 06:47:05 06:47:05 06:39:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:47:05 06:40:01 83.24 4.46 78.78 0.00 2836.09 3604.58 0.00 06:47:05 06:41:01 1.63 0.00 1.63 0.00 0.00 34.15 0.00 06:47:05 06:42:01 0.27 0.00 0.27 0.00 0.00 3.35 0.00 06:47:05 06:43:01 0.20 0.00 0.20 0.00 0.00 2.83 0.00 06:47:05 06:44:01 0.28 0.00 0.28 0.00 0.00 3.70 0.00 06:47:05 06:45:01 0.40 0.00 0.40 0.00 0.00 5.83 0.00 06:47:05 06:46:01 0.17 0.00 0.17 0.00 0.00 1.88 0.00 06:47:05 Average: 12.32 0.64 11.68 0.00 405.41 522.65 0.00 06:47:05 06:47:05 06:39:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:47:05 06:40:01 5455128 0 811244 10.13 2620 1739948 1288672 14.23 582316 1571060 124 06:47:05 06:41:01 5466428 0 799936 9.99 2620 1739956 1203932 13.29 573248 1571028 8 06:47:05 06:42:01 5465588 0 800776 10.00 2620 1739956 1204196 13.29 572424 1573352 8 06:47:05 06:43:01 5464612 0 801748 10.01 2620 1739960 1204172 13.29 573332 1573352 8 06:47:05 06:44:01 5463128 0 803224 10.03 2620 1739968 1204076 13.29 571732 1577160 16 06:47:05 06:45:01 5460964 0 805388 10.06 2620 1739968 1204076 13.29 572924 1577160 8 06:47:05 06:46:01 5461876 0 804468 10.04 2620 1739976 1203932 13.29 572024 1577160 8 06:47:05 Average: 5462532 0 803826 10.04 2620 1739962 1216151 13.43 574000 1574325 26 06:47:05 06:47:05 06:39:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:47:05 06:40:01 eth0 524.65 371.77 924.13 78.48 0.00 0.00 0.00 0.00 06:47:05 06:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:47:05 06:40:01 docker0 10.45 7.72 1.16 25.41 0.00 0.00 0.00 0.00 06:47:05 06:41:01 eth0 0.13 0.08 0.01 0.05 0.00 0.00 0.00 0.00 06:47:05 06:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:47:05 06:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:47:05 06:42:01 eth0 3.68 1.63 3.02 0.11 0.00 0.00 0.00 0.00 06:47:05 06:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:47:05 06:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:47:05 06:43:01 eth0 1.15 0.32 0.34 0.20 0.00 0.00 0.00 0.00 06:47:05 06:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:47:05 06:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:47:05 06:44:01 eth0 0.75 0.48 0.37 0.24 0.00 0.00 0.00 0.00 06:47:05 06:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:47:05 06:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:47:05 06:45:01 eth0 0.97 0.35 0.37 0.23 0.00 0.00 0.00 0.00 06:47:05 06:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:47:05 06:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:47:05 06:46:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:47:05 06:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:47:05 06:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:47:05 Average: eth0 75.96 53.56 132.69 11.34 0.00 0.00 0.00 0.00 06:47:05 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:47:05 Average: docker0 1.49 1.10 0.17 3.63 0.00 0.00 0.00 0.00 06:47:05 06:47:05 06:47:05 ---> sar -P ALL: 06:47:05 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/05/21 _x86_64_ (2 CPU) 06:47:05 06:47:05 06:38:28 LINUX RESTART (2 CPU) 06:47:05 06:47:05 06:39:01 CPU %user %nice %system %iowait %steal %idle 06:47:05 06:40:01 all 9.86 0.00 2.98 2.36 0.05 84.75 06:47:05 06:40:01 0 10.71 0.00 3.00 1.71 0.05 84.52 06:47:05 06:40:01 1 9.01 0.00 2.96 3.00 0.05 84.97 06:47:05 06:41:01 all 0.18 0.00 0.06 0.00 0.03 99.73 06:47:05 06:41:01 0 0.33 0.00 0.07 0.00 0.03 99.57 06:47:05 06:41:01 1 0.03 0.00 0.05 0.00 0.02 99.90 06:47:05 06:42:01 all 0.13 0.00 0.06 0.00 0.03 99.77 06:47:05 06:42:01 0 0.18 0.00 0.07 0.00 0.02 99.73 06:47:05 06:42:01 1 0.08 0.00 0.05 0.00 0.05 99.82 06:47:05 06:43:01 all 0.18 0.00 0.02 0.00 0.02 99.78 06:47:05 06:43:01 0 0.33 0.00 0.02 0.00 0.02 99.63 06:47:05 06:43:01 1 0.03 0.00 0.02 0.00 0.02 99.93 06:47:05 06:44:01 all 0.18 0.00 0.05 0.00 0.02 99.76 06:47:05 06:44:01 0 0.30 0.00 0.05 0.00 0.02 99.63 06:47:05 06:44:01 1 0.05 0.00 0.05 0.00 0.02 99.88 06:47:05 06:45:01 all 0.16 0.00 0.04 0.00 0.02 99.78 06:47:05 06:45:01 0 0.30 0.00 0.05 0.00 0.02 99.63 06:47:05 06:45:01 1 0.02 0.00 0.03 0.00 0.02 99.93 06:47:05 06:46:01 all 0.13 0.00 0.03 0.00 0.02 99.83 06:47:05 06:46:01 0 0.22 0.00 0.03 0.00 0.02 99.73 06:47:05 06:46:01 1 0.03 0.00 0.02 0.00 0.02 99.93 06:47:05 Average: all 1.52 0.00 0.45 0.33 0.03 97.67 06:47:05 Average: 0 1.74 0.00 0.46 0.24 0.02 97.54 06:47:05 Average: 1 1.30 0.00 0.45 0.42 0.03 97.81 06:47:05 06:47:05 06:47:05