Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from ea5618c47e08fe482ed2457081bbbe286c91d90d+06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f (e9203c957af337cbc1a923a58e47f75b02acfcf3) 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-ssh6509951159580089395.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a 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-ssh5415822354892655111.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 144eb70ba3d470a427e699408e811d3f535e987a 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-357/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-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3901756049864644508.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > 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-ssh4031843041721844676.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-357/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-357/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7671103553932379277.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 Running on prd-centos7-docker-4c-2g-2236 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [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-357 # 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-357@tmp/jenkins-gitclient-ssh1185314596798435016.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit ea5618c47e08fe482ed2457081bbbe286c91d90d Merge succeeded, producing 55d5a95f4226c7debb3d22f8dd920433124c03f9 Checking out Revision 55d5a95f4226c7debb3d22f8dd920433124c03f9 (PR-357) > 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-357@tmp/jenkins-gitclient-ssh6122427994904317133.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5618c47e08fe482ed2457081bbbe286c91d90d # 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-357@tmp/jenkins-gitclient-ssh1587994470192886351.key > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 55d5a95f4226c7debb3d22f8dd920433124c03f9 # timeout=10 Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" > git rev-list --no-walk ea5618c47e08fe482ed2457081bbbe286c91d90d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:55:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:55:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:55:46 ========================================================= 18:55:46 EdgeX Global Pipelines Version Info 18:55:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:55:48 ------------------- 18:55:48 stable info: 18:55:48 ------------------- 18:55:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:55:48 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 18:55:48 Message: update stable to v1.0.196 18:55:48 ------------------- 18:55:48 experimental info: 18:55:48 ------------------- 18:55:48 Commited By: **** collab-it+edgex@linuxfoundation.org 18:55:48 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 18:55:48 Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:55:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:55:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:55:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:55:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:55:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:55:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo 18:55:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo 18:55:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo 18:55:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55d5a95f4226c7debb3d22f8dd920433124c03f9 [Pipeline] echo 18:55:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55d5a95 [Pipeline] echo 18:55:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:55:49 provisioning config files... 18:55:49 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config3575844732637947364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:49 ---> docker-login.sh 18:55:49 nexus3.edgexfoundry.org:10001 18:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:49 Configure a credential helper to remove this warning. See 18:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:49 18:55:49 Login Succeeded 18:55:49 nexus3.edgexfoundry.org:10002 18:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:50 Configure a credential helper to remove this warning. See 18:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:50 18:55:50 Login Succeeded 18:55:50 nexus3.edgexfoundry.org:10003 18:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:50 Configure a credential helper to remove this warning. See 18:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:50 18:55:50 Login Succeeded 18:55:50 nexus3.edgexfoundry.org:10004 18:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:50 Configure a credential helper to remove this warning. See 18:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:50 18:55:50 Login Succeeded 18:55:50 docker.io 18:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:50 Configure a credential helper to remove this warning. See 18:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:50 18:55:50 Login Succeeded 18:55:50 ---> docker-login.sh ends [Pipeline] } 18:55:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 18:55:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:55:52 18:55:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:55:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:55:52 latest: Pulling from edgex-devops/git-semver 18:55:52 31603596830f: Pulling fs layer 18:55:52 b6dc333f4379: Pulling fs layer 18:55:52 3d9ef1400e77: Pulling fs layer 18:55:52 fd332fbdc1db: Pulling fs layer 18:55:52 fd332fbdc1db: Waiting 18:55:52 b6dc333f4379: Download complete 18:55:52 31603596830f: Verifying Checksum 18:55:52 31603596830f: Download complete 18:55:52 fd332fbdc1db: Verifying Checksum 18:55:52 fd332fbdc1db: Download complete 18:55:52 3d9ef1400e77: Verifying Checksum 18:55:52 3d9ef1400e77: Download complete 18:55:52 31603596830f: Pull complete 18:55:53 b6dc333f4379: Pull complete 18:55:53 3d9ef1400e77: Pull complete 18:55:53 fd332fbdc1db: Pull complete 18:55:53 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 18:55:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:55:53 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:55:54 prd-centos7-docker-4c-2g-2236 does not seem to be running inside a container 18:55:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:55:55 $ docker top 43758761c719e11824a1852bf010ed016a5192fac844a760ee91761710fb6801 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:55:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:55:55 [ssh-agent] Looking for ssh-agent implementation... 18:55:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:55:55 $ docker exec 43758761c719e11824a1852bf010ed016a5192fac844a760ee91761710fb6801 ssh-agent 18:55:55 SSH_AUTH_SOCK=/tmp/ssh-JzsMS2cRNH9T/agent.14 18:55:55 SSH_AGENT_PID=20 18:55:55 Running ssh-add (command line suppressed) 18:55:55 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_6209985646663519566.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_6209985646663519566.key) 18:55:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:55:56 + git tag --points-at HEAD [Pipeline] } 18:55:56 $ docker exec --env ******** --env ******** 43758761c719e11824a1852bf010ed016a5192fac844a760ee91761710fb6801 ssh-agent -k 18:55:56 unset SSH_AUTH_SOCK; 18:55:56 unset SSH_AGENT_PID; 18:55:56 echo Agent pid 20 killed; 18:55:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:55:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:55:56 [ssh-agent] Looking for ssh-agent implementation... 18:55:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:55:56 $ docker exec 43758761c719e11824a1852bf010ed016a5192fac844a760ee91761710fb6801 ssh-agent 18:55:56 SSH_AUTH_SOCK=/tmp/ssh-dMxMwW0nIlnO/agent.52 18:55:56 SSH_AGENT_PID=59 18:55:56 Running ssh-add (command line suppressed) 18:55:56 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_8286880502469966404.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_8286880502469966404.key) 18:55:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:55:56 + git semver init 18:55:56 # -> Open(): unable to determine branch for HEAD 18:55:56 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.git 18:55:56 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-357 18:55:56 # $SEMVER_REMOTE_NAME = origin 18:55:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:55:56 # $SEMVER_USER_NAME = edgex-jenkins 18:55:56 # $SEMVER_BRANCH = PR-357 18:55:56 # $SEMVER_TEMP = /tmp/semver-151965478 18:55:56 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 18:55:57 # '/tmp/semver-151965478' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver' 18:55:57 # -> Force: false 18:55:57 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver [Pipeline] } 18:55:57 $ docker exec --env ******** --env ******** 43758761c719e11824a1852bf010ed016a5192fac844a760ee91761710fb6801 ssh-agent -k 18:55:57 unset SSH_AUTH_SOCK; 18:55:57 unset SSH_AGENT_PID; 18:55:57 echo Agent pid 59 killed; 18:55:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:55:58 + git semver [Pipeline] } 18:55:58 $ docker stop --time=1 43758761c719e11824a1852bf010ed016a5192fac844a760ee91761710fb6801 18:55:59 $ docker rm -f 43758761c719e11824a1852bf010ed016a5192fac844a760ee91761710fb6801 [Pipeline] // withDockerContainer [Pipeline] sh 18:55:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:56:00 Stashed 1 file(s) [Pipeline] echo 18:56:00 [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 18:56:15 Still waiting to schedule task 18:56:15 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2236’ 18:56:15 Still waiting to schedule task 18:56:15 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:58:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2237 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws 18:58:21 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 18:58:21 Selected Git installation does not exist. Using Default 18:58:21 The recommended git tool is: NONE 18:58:26 using credential edgex-jenkins-ssh 18:58:26 Cloning the remote Git repository 18:58:26 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 18:58:26 > git init /w/workspace/device-sdk-c/2 # timeout=10 18:58:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:58:26 > git --version # timeout=10 18:58:26 > git --version # 'git version 2.17.1' 18:58:26 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:58:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:58:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:58:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:58:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:58:28 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:58:28 Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit ea5618c47e08fe482ed2457081bbbe286c91d90d 18:58:29 Merge succeeded, producing f06e92f8fa395b4c962da6f0e248c6f1cccb952a 18:58:29 Checking out Revision f06e92f8fa395b4c962da6f0e248c6f1cccb952a (PR-357) 18:58:28 > git config core.sparsecheckout # timeout=10 18:58:28 > git checkout -f ea5618c47e08fe482ed2457081bbbe286c91d90d # timeout=10 18:58:29 > git remote # timeout=10 18:58:29 > git config --get remote.origin.url # timeout=10 18:58:29 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:29 > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 18:58:29 > git rev-parse HEAD^{commit} # timeout=10 18:58:29 > git config core.sparsecheckout # timeout=10 18:58:29 > git checkout -f f06e92f8fa395b4c962da6f0e248c6f1cccb952a # timeout=10 18:58:33 Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" 18:58:33 > git rev-list --no-walk ea5618c47e08fe482ed2457081bbbe286c91d90d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:58:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:58:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:58:35 + true 18:58:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:58:54 provisioning config files... 18:58:54 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config6401259752475016867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:58:54 ---> docker-login.sh 18:58:54 nexus3.edgexfoundry.org:10001 18:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:55 Configure a credential helper to remove this warning. See 18:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:55 18:58:55 Login Succeeded 18:58:55 nexus3.edgexfoundry.org:10002 18:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:56 Configure a credential helper to remove this warning. See 18:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:56 18:58:56 Login Succeeded 18:58:56 nexus3.edgexfoundry.org:10003 18:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:56 Configure a credential helper to remove this warning. See 18:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:56 18:58:56 Login Succeeded 18:58:56 nexus3.edgexfoundry.org:10004 18:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:57 Configure a credential helper to remove this warning. See 18:58:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:57 18:58:57 Login Succeeded 18:58:57 docker.io 18:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:57 Running on prd-centos7-docker-4c-2g-2238 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws 18:58:57 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 18:58:58 Selected Git installation does not exist. Using Default 18:58:58 The recommended git tool is: NONE 18:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:58 Configure a credential helper to remove this warning. See 18:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:58 18:58:58 Login Succeeded 18:58:58 ---> docker-login.sh ends [Pipeline] } 18:58:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:58:58 ========================================================= 18:58:58 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 18:58:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:58:59 + 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 . 18:58:59 Sending build context to Docker daemon 2.691MB 18:58:59 Step 1/25 : ARG BASE=alpine:3.12 18:58:59 Step 2/25 : FROM ${BASE} as builder 18:59:00 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 18:59:00 0362ad1dd800: Pulling fs layer 18:59:00 f2cdb1532d8b: Pulling fs layer 18:59:00 37ed683be191: Pulling fs layer 18:59:00 f2cdb1532d8b: Download complete 18:59:00 0362ad1dd800: Verifying Checksum 18:59:00 0362ad1dd800: Download complete 18:59:00 using credential edgex-jenkins-ssh 18:59:00 Cloning the remote Git repository 18:59:01 0362ad1dd800: Pull complete 18:59:00 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 18:59:00 > git init /w/workspace/device-sdk-c/2 # timeout=10 18:59:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:59:00 > git --version # timeout=10 18:59:00 > git --version # 'git version 2.24.4' 18:59:00 using GIT_SSH to set credentials SSH Credentials for GitHub 18:59:00 [INFO] Currently running in a labeled security context 18:59:00 [INFO] Currently SELinux is 'enforcing' on the host 18:59:00 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh8585840166698262443.key 18:59:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:59:01 f2cdb1532d8b: Pull complete 18:59:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:59:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:59:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:59:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:59:01 using GIT_SSH to set credentials SSH Credentials for GitHub 18:59:01 [INFO] Currently running in a labeled security context 18:59:01 [INFO] Currently SELinux is 'enforcing' on the host 18:59:01 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh1990219486646581711.key 18:59:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:59:02 Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit ea5618c47e08fe482ed2457081bbbe286c91d90d 18:59:02 Merge succeeded, producing 56650a93bd3a285f1611653009d11773249cf0f8 18:59:02 Checking out Revision 56650a93bd3a285f1611653009d11773249cf0f8 (PR-357) 18:59:02 37ed683be191: Verifying Checksum 18:59:02 37ed683be191: Download complete 18:59:02 > git config core.sparsecheckout # timeout=10 18:59:02 > git checkout -f ea5618c47e08fe482ed2457081bbbe286c91d90d # timeout=10 18:59:02 > git remote # timeout=10 18:59:02 > git config --get remote.origin.url # timeout=10 18:59:02 using GIT_SSH to set credentials SSH Credentials for GitHub 18:59:02 [INFO] Currently running in a labeled security context 18:59:02 [INFO] Currently SELinux is 'enforcing' on the host 18:59:02 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh604267239426728564.key 18:59:02 > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 18:59:02 > git rev-parse HEAD^{commit} # timeout=10 18:59:02 > git config core.sparsecheckout # timeout=10 18:59:02 > git checkout -f 56650a93bd3a285f1611653009d11773249cf0f8 # timeout=10 18:59:10 Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" 18:59:10 > git rev-list --no-walk ea5618c47e08fe482ed2457081bbbe286c91d90d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:59:11 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:59:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:59:12 37ed683be191: Pull complete 18:59:12 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 18:59:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 18:59:12 ---> b23d30803547 18:59:12 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 18:59:12 + sudo service docker restart 18:59:12 + true 18:59:12 Redirecting to /bin/systemctl restart docker.service 18:59:13 ---> Running in b7f49e6e5d51 18:59:14 Connecting to iotech.jfrog.io (54.229.110.245:443) 18:59:15 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 18:59:15 18:59:16 Removing intermediate container b7f49e6e5d51 18:59:16 ---> ac4f62c09a03 18:59:16 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 18:59:16 ---> Running in e61f882d4315 18:59:18 Removing intermediate container e61f882d4315 18:59:18 ---> 8d574b186ebd 18:59:18 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 18:59:18 ---> Running in a3fc2346a937 18:59:19 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 18:59:20 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 18:59:20 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 18:59:21 (1/11) Installing hiredis (0.14.0-r0) 18:59:21 (2/11) Installing hiredis-dev (0.14.0-r0) 18:59:21 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 18:59:21 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 18:59:23 (5/11) Installing libuuid (2.33-r0) 18:59:23 (6/11) Installing libblkid (2.33-r0) 18:59:23 (7/11) Installing libfdisk (2.33-r0) 18:59:23 (8/11) Installing libmount (2.33-r0) 18:59:23 (9/11) Installing libsmartcols (2.33-r0) 18:59:23 (10/11) Installing util-linux-dev (2.33-r0) 18:59:24 (11/11) Installing wget (1.20.3-r0) 18:59:24 Executing busybox-1.29.3-r10.trigger 18:59:24 OK: 287 MiB in 86 packages 18:59:25 Removing intermediate container a3fc2346a937 18:59:25 ---> dfb9c1c12353 18:59:25 Step 6/25 : ENV CBOR_VERSION=0.5.0 18:59:26 ---> Running in 66646aaeafe9 18:59:26 Removing intermediate container 66646aaeafe9 18:59:26 ---> 4230d5c71e47 18:59:26 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 18:59:26 ---> Running in 3b8e83107293 18:59:28 --2021-07-08 18:59:27-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 18:59:28 Resolving github.com... 140.82.114.4 18:59:28 Connecting to github.com|140.82.114.4|:443... connected. 18:59:28 HTTP request sent, awaiting response... 302 Found 18:59:28 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 18:59:28 --2021-07-08 18:59:28-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 18:59:28 Resolving codeload.github.com... 140.82.113.10 18:59:28 Connecting to codeload.github.com|140.82.113.10|:443... connected. 18:59:28 HTTP request sent, awaiting response... 200 OK 18:59:28 Length: unspecified [application/x-gzip] 18:59:28 Saving to: 'STDOUT' 18:59:28 18:59:28 0K .......... .......... .......... .......... .......... 1.34M 18:59:28 50K .......... .......... .......... .......... .......... 2.80M 18:59:28 100K .......... .......... .......... .......... .......... 10.5M 18:59:28 150K .......... .......... .......... .......... .......... 3.49M 18:59:28 200K .......... .......... .......... .......... .......... 11.3M 18:59:28 250K .......... .......... .......... .......... .......... 3.51M 18:59:28 300K .......... .......... .......... .......... .......... 5.15M 18:59:28 350K .......... .......... .......... .......... .......... 4.78M 18:59:28 400K .......... .......... .......... .......... .......... 2.91M 18:59:28 450K .......... .......... .......... .......... .......... 4.71M 18:59:28 500K .......... .......... .......... .......... .......... 6.98M 18:59:28 550K .......... .......... .......... .......... .......... 2.60M 18:59:28 600K .......... .......... .......... .......... .......... 881K 18:59:28 650K .......... .......... .......... .......... .......... 2.06M 18:59:28 700K ..   9.00M=0.2s 18:59:28 18:59:28 2021-07-08 18:59:28 (2.81 MB/s) - written to stdout [719348] 18:59:28 18:59:28 -- The C compiler identification is GNU 8.3.0 18:59:29 -- The CXX compiler identification is GNU 8.3.0 18:59:29 -- Check for working C compiler: /usr/bin/cc 18:59:29 -- Check for working C compiler: /usr/bin/cc -- works 18:59:29 -- Detecting C compiler ABI info 18:59:29 -- Detecting C compiler ABI info - done 18:59:29 -- Detecting C compile features [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:59:30 provisioning config files... 18:59:30 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config7130609782858346581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:59:30 ---> docker-login.sh 18:59:30 nexus3.edgexfoundry.org:10001 18:59:30 -- Detecting C compile features - done 18:59:30 -- Check for working CXX compiler: /usr/bin/c++ 18:59:30 -- Check for working CXX compiler: /usr/bin/c++ -- works 18:59:30 -- Detecting CXX compiler ABI info 18:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:30 Configure a credential helper to remove this warning. See 18:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:30 18:59:30 Login Succeeded 18:59:30 nexus3.edgexfoundry.org:10002 18:59:30 -- Detecting CXX compiler ABI info - done 18:59:30 -- Detecting CXX compile features 18:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:31 Configure a credential helper to remove this warning. See 18:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:31 18:59:31 Login Succeeded 18:59:31 nexus3.edgexfoundry.org:10003 18:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:31 Configure a credential helper to remove this warning. See 18:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:31 18:59:31 Login Succeeded 18:59:31 nexus3.edgexfoundry.org:10004 18:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:31 Configure a credential helper to remove this warning. See 18:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:31 18:59:31 Login Succeeded 18:59:31 docker.io 18:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:31 Configure a credential helper to remove this warning. See 18:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:31 18:59:31 Login Succeeded 18:59:31 ---> docker-login.sh ends [Pipeline] } 18:59:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:59:31 ========================================================= 18:59:31 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 18:59:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:59:32 + 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 . 18:59:32 Sending build context to Docker daemon 2.692MB 18:59:32 Step 1/25 : ARG BASE=alpine:3.12 18:59:32 Step 2/25 : FROM ${BASE} as builder 18:59:32 latest: Pulling from edgex-devops/edgex-gcc-base 18:59:32 e7c96db7181b: Pulling fs layer 18:59:32 4c13bbce0fe7: Pulling fs layer 18:59:32 6059c847ac2f: Pulling fs layer 18:59:32 4c13bbce0fe7: Verifying Checksum 18:59:32 4c13bbce0fe7: Download complete 18:59:32 e7c96db7181b: Verifying Checksum 18:59:32 e7c96db7181b: Download complete 18:59:32 e7c96db7181b: Pull complete 18:59:32 4c13bbce0fe7: Pull complete 18:59:32 -- Detecting CXX compile features - done 18:59:32 -- Looking for include file endian.h 18:59:32 -- Looking for include file endian.h - found 18:59:32 -- Check if the system is big endian 18:59:32 -- Searching 16 bit integer 18:59:32 -- Looking for sys/types.h 18:59:32 -- Looking for sys/types.h - found 18:59:33 -- Looking for stdint.h 18:59:33 -- Looking for stdint.h - found 18:59:33 -- Looking for stddef.h 18:59:33 -- Looking for stddef.h - found 18:59:33 -- Check size of unsigned short 18:59:33 6059c847ac2f: Verifying Checksum 18:59:33 6059c847ac2f: Download complete 18:59:33 -- Check size of unsigned short - done 18:59:33 -- Using unsigned short 18:59:33 -- Check if the system is big endian - little endian 18:59:33 -- Check size of size_t 18:59:34 -- Check size of size_t - done 18:59:34 CMake Warning at examples/CMakeLists.txt:16 (find_package): 18:59:34 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 18:59:34 asked CMake to find a package configuration file provided by "cJSON", but 18:59:34 CMake did not find one. 18:59:34 18:59:34 Could not find a package configuration file provided by "cJSON" with any of 18:59:34 the following names: 18:59:34 18:59:34 cJSONConfig.cmake 18:59:34 cjson-config.cmake 18:59:34 18:59:34 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 18:59:34 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 18:59:34 provides a separate development package or SDK, be sure it has been 18:59:34 installed. 18:59:34 18:59:34 18:59:34 -- Configuring done 18:59:34 -- Generating done 18:59:34 -- Build files have been written to: /tmp/cbor 18:59:34 Scanning dependencies of target cbor_shared 18:59:34 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 18:59:35 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 18:59:35 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 18:59:36 6059c847ac2f: Pull complete 18:59:36 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 18:59:36 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 18:59:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 18:59:36 ---> 5eabd8fd8ba2 18:59:36 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 18:59:36 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 18:59:37 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 18:59:37 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 18:59:37 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 18:59:37 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 18:59:37 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 18:59:38 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 18:59:38 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 18:59:39 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 18:59:39 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 18:59:39 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 18:59:39 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 18:59:40 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 18:59:40 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 18:59:40 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 18:59:40 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 18:59:40 [ 40%] Linking C shared library libcbor.so 18:59:41 [ 40%] Built target cbor_shared 18:59:41 Scanning dependencies of target cbor 18:59:41 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 18:59:41 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 18:59:41 ---> Running in b0ba416122ce 18:59:42 Connecting to iotech.jfrog.io (54.195.244.87:443) 18:59:42 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 18:59:42 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 18:59:42 18:59:42 Removing intermediate container b0ba416122ce 18:59:42 ---> 6c55479d3953 18:59:42 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 18:59:42 ---> Running in faa03520e586 18:59:42 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 18:59:43 Removing intermediate container faa03520e586 18:59:43 ---> d2a22434886f 18:59:43 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 18:59:43 ---> Running in 25f686edc69d 18:59:43 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 18:59:44 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 18:59:44 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 18:59:44 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 18:59:44 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 18:59:44 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 18:59:44 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 18:59:44 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 18:59:44 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 18:59:45 (1/11) Installing hiredis (0.14.0-r0) 18:59:45 (2/11) Installing hiredis-dev (0.14.0-r0) 18:59:45 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 18:59:45 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 18:59:45 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 18:59:45 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 18:59:46 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 18:59:46 (5/11) Installing libuuid (2.33-r0) 18:59:46 (6/11) Installing libblkid (2.33-r0) 18:59:46 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 18:59:46 (7/11) Installing libfdisk (2.33-r0) 18:59:46 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 18:59:47 (8/11) Installing libmount (2.33-r0) 18:59:47 (9/11) Installing libsmartcols (2.33-r0) 18:59:47 (10/11) Installing util-linux-dev (2.33-r0) 18:59:47 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 18:59:47 (11/11) Installing wget (1.20.3-r0) 18:59:47 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 18:59:47 Executing busybox-1.29.3-r10.trigger 18:59:47 OK: 273 MiB in 86 packages 18:59:47 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 18:59:47 Removing intermediate container 25f686edc69d 18:59:47 ---> 4398a441a9f2 18:59:47 Step 6/25 : ENV CBOR_VERSION=0.5.0 18:59:47 ---> Running in c3f4026d5bb6 18:59:48 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 18:59:48 Removing intermediate container c3f4026d5bb6 18:59:48 ---> d8e3ecdc97da 18:59:48 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 18:59:48 ---> Running in d2aafc9ebfb4 18:59:48 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 18:59:48 [ 80%] Linking C static library libcbor.a 18:59:48 --2021-07-08 18:59:48-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 18:59:48 Resolving github.com... 140.82.114.4 18:59:48 Connecting to github.com|140.82.114.4|:443... connected. 18:59:48 HTTP request sent, awaiting response... 302 Found 18:59:48 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 18:59:48 --2021-07-08 18:59:48-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 18:59:48 Resolving codeload.github.com... 140.82.113.10 18:59:48 Connecting to codeload.github.com|140.82.113.10|:443... connected. 18:59:48 [ 80%] Built target cbor 18:59:48 Scanning dependencies of target create_items 18:59:48 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 18:59:48 HTTP request sent, awaiting response... 200 OK 18:59:48 Length: unspecified [application/x-gzip] 18:59:48 Saving to: 'STDOUT' 18:59:48 18:59:48 0K .......... .......... .......... .......... .......... 1.42M 18:59:48 50K .......... .......... .......... .......... .......... 2.87M 18:59:48 100K .......... .......... .......... .......... .......... 33.4M 18:59:48 150K .......... .......... .......... .......... .......... 3.19M 18:59:48 200K .......... .......... .......... .......... .......... 38.5M 18:59:48 250K .......... .......... .......... .......... .......... 6.88M 18:59:48 300K .......... .......... .......... .......... .......... 7.77M 18:59:48 350K .......... .......... .......... .......... .......... 15.8M 18:59:48 400K .......... .......... .......... .......... .......... 14.2M 18:59:48 450K .......... .......... .......... .......... .......... 11.5M 18:59:48 500K .......... .......... .......... .......... .......... 28.2M 18:59:48 550K .......... .......... .......... .......... .......... 12.4M 18:59:48 600K .......... .......... .......... .......... .......... 4.03M 18:59:48 650K .......... .......... .......... .......... .......... 6.28M 18:59:48 700K .. 77.6M=0.1s 18:59:48 18:59:48 2021-07-08 18:59:48 (5.75 MB/s) - written to stdout [719348] 18:59:48 18:59:48 -- The C compiler identification is GNU 8.3.0 18:59:48 -- The CXX compiler identification is GNU 8.3.0 18:59:48 -- Check for working C compiler: /usr/bin/cc 18:59:48 [ 84%] Linking C executable create_items 18:59:48 [ 84%] Built target create_items 18:59:48 Scanning dependencies of target readfile 18:59:48 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 18:59:49 -- Check for working C compiler: /usr/bin/cc -- works 18:59:49 -- Detecting C compiler ABI info 18:59:49 -- Detecting C compiler ABI info - done 18:59:49 -- Detecting C compile features 18:59:49 [ 88%] Linking C executable readfile 18:59:49 [ 88%] Built target readfile 18:59:49 Scanning dependencies of target streaming_parser 18:59:49 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 18:59:49 -- Detecting C compile features - done 18:59:49 -- Check for working CXX compiler: /usr/bin/c++ 18:59:49 -- Check for working CXX compiler: /usr/bin/c++ -- works 18:59:49 -- Detecting CXX compiler ABI info 18:59:49 -- Detecting CXX compiler ABI info - done 18:59:49 -- Detecting CXX compile features 18:59:49 [ 92%] Linking C executable streaming_parser 18:59:49 [ 92%] Built target streaming_parser 18:59:49 Scanning dependencies of target sort 18:59:49 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 18:59:49 [ 96%] Linking C executable sort 18:59:49 -- Detecting CXX compile features - done 18:59:49 -- Looking for include file endian.h 18:59:49 -- Looking for include file endian.h - found 18:59:49 -- Check if the system is big endian 18:59:49 -- Searching 16 bit integer 18:59:49 -- Looking for sys/types.h 18:59:49 -- Looking for sys/types.h - found 18:59:49 -- Looking for stdint.h 18:59:49 [ 96%] Built target sort 18:59:49 Scanning dependencies of target hello 18:59:49 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 18:59:49 [100%] Linking C executable hello 18:59:50 -- Looking for stdint.h - found 18:59:50 -- Looking for stddef.h 18:59:50 -- Looking for stddef.h - found 18:59:50 -- Check size of unsigned short 18:59:50 -- Check size of unsigned short - done 18:59:50 -- Using unsigned short 18:59:50 -- Check if the system is big endian - little endian 18:59:50 -- Check size of size_t 18:59:50 [100%] Built target hello 18:59:50 Install the project... 18:59:50 -- Install configuration: "Release" 18:59:50 -- Installing: /usr/local/include/cbor/configuration.h 18:59:50 -- Installing: /usr/local/lib64/libcbor.a 18:59:50 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 18:59:50 -- Installing: /usr/local/lib64/libcbor.so.0 18:59:50 -- Installing: /usr/local/lib64/libcbor.so 18:59:50 -- Up-to-date: /usr/local/include/cbor 18:59:50 -- Installing: /usr/local/include/cbor/streaming.h 18:59:50 -- Installing: /usr/local/include/cbor/ints.h 18:59:50 -- Installing: /usr/local/include/cbor/floats_ctrls.h 18:59:50 -- Installing: /usr/local/include/cbor/bytestrings.h 18:59:50 -- Installing: /usr/local/include/cbor/encoding.h 18:59:50 -- Installing: /usr/local/include/cbor/serialization.h 18:59:50 -- Installing: /usr/local/include/cbor/data.h 18:59:50 -- Installing: /usr/local/include/cbor/common.h 18:59:50 -- Installing: /usr/local/include/cbor/callbacks.h 18:59:50 -- Installing: /usr/local/include/cbor/strings.h 18:59:50 -- Installing: /usr/local/include/cbor/tags.h 18:59:50 -- Installing: /usr/local/include/cbor/internal 18:59:50 -- Installing: /usr/local/include/cbor/internal/encoders.h 18:59:50 -- Installing: /usr/local/include/cbor/internal/loaders.h 18:59:50 -- Installing: /usr/local/include/cbor/internal/stack.h 18:59:50 -- Installing: /usr/local/include/cbor/internal/unicode.h 18:59:50 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 18:59:50 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 18:59:50 -- Installing: /usr/local/include/cbor/arrays.h 18:59:50 -- Installing: /usr/local/include/cbor/maps.h 18:59:50 -- Installing: /usr/local/include/cbor.h 18:59:50 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 18:59:50 -- Check size of size_t - done 18:59:50 CMake Warning at examples/CMakeLists.txt:16 (find_package): 18:59:50 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 18:59:50 asked CMake to find a package configuration file provided by "cJSON", but 18:59:50 CMake did not find one. 18:59:50 18:59:50 Could not find a package configuration file provided by "cJSON" with any of 18:59:50 the following names: 18:59:50 18:59:50 cJSONConfig.cmake 18:59:50 cjson-config.cmake 18:59:50 18:59:50 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 18:59:50 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 18:59:50 provides a separate development package or SDK, be sure it has been 18:59:50 installed. 18:59:50 18:59:50 18:59:50 -- Configuring done 18:59:50 -- Generating done 18:59:50 -- Build files have been written to: /tmp/cbor 18:59:50 Scanning dependencies of target cbor_shared 18:59:50 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 18:59:50 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 18:59:50 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 18:59:50 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 18:59:50 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 18:59:50 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 18:59:50 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 18:59:50 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 18:59:51 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 18:59:51 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 18:59:51 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 18:59:51 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 18:59:51 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 18:59:51 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 18:59:51 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 18:59:51 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 18:59:51 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 18:59:51 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 18:59:51 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 18:59:51 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 18:59:51 [ 40%] Linking C shared library libcbor.so 18:59:51 [ 40%] Built target cbor_shared 18:59:51 Scanning dependencies of target cbor 18:59:51 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 18:59:51 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 18:59:51 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 18:59:52 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 18:59:52 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 18:59:52 Removing intermediate container 3b8e83107293 18:59:52 ---> 19263d1841ad 18:59:52 Step 8/25 : RUN mkdir /tmp/sdk 18:59:52 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 18:59:52 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 18:59:52 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 18:59:52 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 18:59:52 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 18:59:52 ---> Running in 8e3d63995e9b 18:59:52 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 18:59:52 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 18:59:53 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 18:59:53 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 18:59:53 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 18:59:53 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 18:59:53 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 18:59:53 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 18:59:53 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 18:59:53 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 18:59:53 [ 80%] Linking C static library libcbor.a 18:59:53 [ 80%] Built target cbor 18:59:53 Scanning dependencies of target create_items 18:59:53 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 18:59:53 [ 84%] Linking C executable create_items 18:59:53 [ 84%] Built target create_items 18:59:53 Scanning dependencies of target readfile 18:59:53 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 18:59:53 [ 88%] Linking C executable readfile 18:59:53 [ 88%] Built target readfile 18:59:53 Scanning dependencies of target streaming_parser 18:59:53 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 18:59:53 [ 92%] Linking C executable streaming_parser 18:59:53 [ 92%] Built target streaming_parser 18:59:53 Scanning dependencies of target sort 18:59:53 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 18:59:53 [ 96%] Linking C executable sort 18:59:53 [ 96%] Built target sort 18:59:53 Scanning dependencies of target hello 18:59:53 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 18:59:53 [100%] Linking C executable hello 18:59:53 [100%] Built target hello 18:59:53 Install the project... 18:59:53 -- Install configuration: "Release" 18:59:53 -- Installing: /usr/local/include/cbor/configuration.h 18:59:53 -- Installing: /usr/local/lib64/libcbor.a 18:59:53 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 18:59:53 -- Installing: /usr/local/lib64/libcbor.so.0 18:59:53 -- Installing: /usr/local/lib64/libcbor.so 18:59:53 -- Up-to-date: /usr/local/include/cbor 18:59:53 -- Installing: /usr/local/include/cbor/arrays.h 18:59:53 -- Installing: /usr/local/include/cbor/bytestrings.h 18:59:53 -- Installing: /usr/local/include/cbor/callbacks.h 18:59:53 -- Installing: /usr/local/include/cbor/common.h 18:59:53 -- Installing: /usr/local/include/cbor/data.h 18:59:53 -- Installing: /usr/local/include/cbor/encoding.h 18:59:53 -- Installing: /usr/local/include/cbor/floats_ctrls.h 18:59:53 -- Installing: /usr/local/include/cbor/internal 18:59:53 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 18:59:53 -- Installing: /usr/local/include/cbor/internal/encoders.h 18:59:53 -- Installing: /usr/local/include/cbor/internal/loaders.h 18:59:53 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 18:59:53 -- Installing: /usr/local/include/cbor/internal/stack.h 18:59:53 -- Installing: /usr/local/include/cbor/internal/unicode.h 18:59:53 -- Installing: /usr/local/include/cbor/ints.h 18:59:53 -- Installing: /usr/local/include/cbor/maps.h 18:59:53 -- Installing: /usr/local/include/cbor/serialization.h 18:59:53 -- Installing: /usr/local/include/cbor/streaming.h 18:59:53 -- Installing: /usr/local/include/cbor/strings.h 18:59:53 -- Installing: /usr/local/include/cbor/tags.h 18:59:53 -- Installing: /usr/local/include/cbor.h 18:59:53 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 18:59:54 Removing intermediate container d2aafc9ebfb4 18:59:54 ---> b0f653611b23 18:59:54 Step 8/25 : RUN mkdir /tmp/sdk 18:59:54 ---> Running in f9075ef73286 18:59:54 Removing intermediate container 8e3d63995e9b 18:59:54 ---> 2beff280c38f 18:59:54 Step 9/25 : COPY VERSION /tmp/sdk 18:59:54 Removing intermediate container f9075ef73286 18:59:54 ---> 7b7038913aa5 18:59:54 Step 9/25 : COPY VERSION /tmp/sdk 18:59:54 ---> f5652fb147d3 18:59:54 Step 10/25 : COPY src /tmp/sdk/src 18:59:55 ---> 7c95eb128f1a 18:59:55 Step 11/25 : COPY include /tmp/sdk/include 18:59:55 ---> c9ba7d0b44bc 18:59:55 Step 10/25 : COPY src /tmp/sdk/src 18:59:55 ---> 4f61c69438f1 18:59:55 Step 12/25 : COPY scripts /tmp/sdk/scripts 18:59:55 ---> 94a9a4ae2147 18:59:55 Step 13/25 : COPY LICENSE /tmp/sdk 18:59:55 ---> 40965d254141 18:59:55 Step 14/25 : COPY Attribution.txt /tmp/sdk 18:59:56 ---> ae85b47f963c 18:59:56 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:59:56 ---> Running in 89aca9048e38 18:59:56 + CPPCHECK=false 18:59:56 + DOCGEN=false 18:59:56 + TOMLVER=SDK-0.2 18:59:56 + CUTILVER=1.1.4 18:59:56 + '[' 0 -gt 0 ] 18:59:56 + readlink -f ./scripts/build.sh 18:59:56 + dirname /tmp/sdk/scripts/build.sh 18:59:56 + dirname /tmp/sdk/scripts 18:59:56 + ROOT=/tmp/sdk 18:59:56 + cd /tmp/sdk 18:59:56 + '[' '!' -d deps ] 18:59:56 + mkdir deps 18:59:56 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:59:56 + tar -C deps -z -x -f - 18:59:56 --2021-07-08 18:59:56-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:59:56 Resolving github.com... 140.82.114.4 18:59:56 Connecting to github.com|140.82.114.4|:443... connected. 18:59:56 ---> e701c0141799 18:59:56 Step 11/25 : COPY include /tmp/sdk/include 18:59:56 HTTP request sent, awaiting response... 302 Found 18:59:56 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 18:59:56 --2021-07-08 18:59:56-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 18:59:56 Resolving codeload.github.com... 140.82.113.10 18:59:56 Connecting to codeload.github.com|140.82.113.10|:443... connected. 18:59:56 HTTP request sent, awaiting response... 200 OK 18:59:56 Length: unspecified [application/x-gzip] 18:59:56 Saving to: 'STDOUT' 18:59:56  18:59:56 0K .......... ......  912K=0.02s 18:59:56 18:59:56 2021-07-08 18:59:56 (912 KB/s) - written to stdout [16451] 18:59:56 18:59:56 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 18:59:56 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 18:59:56 + tar -C deps -z -x -f - 18:59:56 --2021-07-08 18:59:56-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 18:59:56 Resolving github.com... 140.82.114.4 18:59:56 Connecting to github.com|140.82.114.4|:443... connected. 18:59:56 HTTP request sent, awaiting response... 302 Found 18:59:56 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 18:59:56 --2021-07-08 18:59:56-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 18:59:56 Resolving codeload.github.com... 140.82.113.10 18:59:56 Connecting to codeload.github.com|140.82.113.10|:443... connected. 18:59:57 ---> b8db528c4e0b 18:59:57 Step 12/25 : COPY scripts /tmp/sdk/scripts 18:59:57 HTTP request sent, awaiting response... 200 OK 18:59:57 Length: unspecified [application/x-gzip] 18:59:57 Saving to: 'STDOUT' 18:59:57  18:59:57 0K .......... .......... .......... .......... .......... 1.37M 18:59:57 50K .......... .......... .......... .......... .......... 2.77M 18:59:57 100K .......... .......... .......... .......... .......... 21.8M 18:59:57 150K .......... .......... ....... 3.10M=0.06s 18:59:57 18:59:57 2021-07-08 18:59:56 (2.71 MB/s) - written to stdout [181796] 18:59:57 18:59:57 + mkdir -p src/c/iot 18:59:57 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 18:59:57 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 18:59:57 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 18:59:57 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 18:59:57 + mkdir -p include/iot 18:59:57 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 18:59:57 + mkdir -p include/iot/os 18:59:57 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 18:59:57 + mkdir -p /tmp/sdk/build/release 18:59:57 + cd /tmp/sdk/build/release 18:59:57 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:59:57 -- The C compiler identification is GNU 8.3.0 18:59:57 -- Check for working C compiler: /usr/bin/cc 18:59:57 -- Check for working C compiler: /usr/bin/cc -- works 18:59:57 -- Detecting C compiler ABI info 18:59:57 -- Detecting C compiler ABI info - done 18:59:57 -- Detecting C compile features 18:59:57 -- Detecting C compile features - done 18:59:57 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:59:57 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 18:59:57 -- Found LIBYAML: /usr/lib/libyaml.so 18:59:57 -- Found LIBUUID: /usr/lib/libuuid.so 18:59:57 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 18:59:57 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:59:57 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:59:57 -- C SDK 0.0.0 for Linux 18:59:57 -- Performing Test CSDK_HAVE_ATOMIC 18:59:57 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:59:57 -- Found Curses: /usr/lib/libcurses.so 18:59:57 -- Configuring done 18:59:57 -- Generating done 18:59:57 -- Build files have been written to: /tmp/sdk/build/release 18:59:57 + make all package 18:59:57 + tee release.log 18:59:57 Scanning dependencies of target csdk 18:59:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:59:57 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 18:59:57 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:59:58 ---> a21f305a087b 18:59:58 Step 13/25 : COPY LICENSE /tmp/sdk 18:59:58 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:59:58 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:59:58 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 18:59:58 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 18:59:58 ---> 0c5e7a69f4f7 18:59:58 Step 14/25 : COPY Attribution.txt /tmp/sdk 18:59:58 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 18:59:58 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:59:58 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:59:59 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:59:59 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:59:59 ---> 8178dbee59dc 18:59:59 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:59:59 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:59:59 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:59:59 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 18:59:59 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:59:59 ---> Running in 34d833bb1655 18:59:59 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 19:00:00 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 19:00:00 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 19:00:00 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 19:00:00 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 19:00:00 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 19:00:00 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 19:00:00 + CPPCHECK=false 19:00:00 + DOCGEN=false 19:00:00 + TOMLVER=SDK-0.2 19:00:00 + CUTILVER=1.1.4 19:00:00 + '[' 0 -gt 0 ] 19:00:00 + readlink -f ./scripts/build.sh 19:00:00 + dirname /tmp/sdk/scripts/build.sh 19:00:00 + dirname /tmp/sdk/scripts 19:00:00 + ROOT=/tmp/sdk 19:00:00 + cd /tmp/sdk 19:00:00 + '[' '!' -d deps ] 19:00:00 + mkdir deps 19:00:00 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 19:00:00 + tar -C deps -z -x -f - 19:00:00 --2021-07-08 19:00:00-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 19:00:00 Resolving github.com... 140.82.114.4 19:00:00 Connecting to github.com|140.82.114.4|:443... connected. 19:00:00 HTTP request sent, awaiting response... 302 Found 19:00:00 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 19:00:00 --2021-07-08 19:00:00-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 19:00:00 Resolving codeload.github.com... 140.82.113.10 19:00:00 Connecting to codeload.github.com|140.82.113.10|:443... connected. 19:00:00 HTTP request sent, awaiting response... 200 OK 19:00:00 Length: unspecified [application/x-gzip] 19:00:00 Saving to: 'STDOUT' 19:00:00 19:00:00 0K .......... ......  956K=0.02s 19:00:00 19:00:00 2021-07-08 19:00:00 (956 KB/s) - written to stdout [16451] 19:00:00 19:00:00 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 19:00:00 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 19:00:00 + tar -C deps -z -x -f - 19:00:00 --2021-07-08 19:00:00-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 19:00:00 Resolving github.com... 140.82.114.4 19:00:00 Connecting to github.com|140.82.114.4|:443... connected. 19:00:01 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 19:00:01 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 19:00:01 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 19:00:01 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 19:00:01 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 19:00:01 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 19:00:01 HTTP request sent, awaiting response... 302 Found 19:00:01 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 19:00:01 --2021-07-08 19:00:00-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 19:00:01 Resolving codeload.github.com... 140.82.113.10 19:00:01 Connecting to codeload.github.com|140.82.113.10|:443... connected. 19:00:01 HTTP request sent, awaiting response... 200 OK 19:00:01 Length: unspecified [application/x-gzip] 19:00:01 Saving to: 'STDOUT' 19:00:01 19:00:01 0K .......... .......... .......... .......... .......... 1.51M 19:00:01 50K .......... .......... .......... .......... .......... 2.83M 19:00:01 100K .......... .......... .......... .......... .......... 5.75M 19:00:01 150K .......... .......... ....... 1.51M=0.08s 19:00:01 19:00:01 2021-07-08 19:00:01 (2.29 MB/s) - written to stdout [181796] 19:00:01 19:00:01 + mkdir -p src/c/iot 19:00:01 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 19:00:01 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 19:00:01 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 19:00:01 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 19:00:01 + mkdir -p include/iot 19:00:01 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 19:00:01 + mkdir -p include/iot/os 19:00:01 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 19:00:01 + mkdir -p /tmp/sdk/build/release 19:00:01 + cd /tmp/sdk/build/release 19:00:01 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 19:00:01 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 19:00:01 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 19:00:01 -- The C compiler identification is GNU 8.3.0 19:00:01 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 19:00:01 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 19:00:01 -- Check for working C compiler: /usr/bin/cc 19:00:01 -- Check for working C compiler: /usr/bin/cc -- works 19:00:01 -- Detecting C compiler ABI info 19:00:01 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 19:00:02 -- Detecting C compiler ABI info - done 19:00:02 -- Detecting C compile features 19:00:02 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 19:00:02 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 19:00:02 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 19:00:03 -- Detecting C compile features - done 19:00:03 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 19:00:03 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 19:00:03 -- Found LIBYAML: /usr/lib/libyaml.so 19:00:03 -- Found LIBUUID: /usr/lib/libuuid.so 19:00:03 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 19:00:03 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 19:00:03 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 19:00:03 -- C SDK 0.0.0 for Linux 19:00:03 -- Performing Test CSDK_HAVE_ATOMIC 19:00:03 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 19:00:03 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 19:00:03 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 19:00:03 -- Performing Test CSDK_HAVE_ATOMIC - Success 19:00:03 -- Found Curses: /usr/lib/libcurses.so 19:00:03 -- Configuring done 19:00:03 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 19:00:03 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 19:00:03 -- Generating done 19:00:03 -- Build files have been written to: /tmp/sdk/build/release 19:00:03 + + maketee all release.log package 19:00:03 19:00:03 Scanning dependencies of target csdk 19:00:03 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 19:00:03 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 19:00:03 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 19:00:03 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 19:00:03 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 19:00:04 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 19:00:04 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 19:00:04 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 19:00:05 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 19:00:05 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 19:00:05 [ 75%] Linking C shared library libcsdk.so 19:00:05 [ 75%] Built target csdk 19:00:05 Scanning dependencies of target template 19:00:05 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 19:00:05 [ 78%] Linking C executable template 19:00:05 [ 78%] Built target template 19:00:05 Scanning dependencies of target device-counter 19:00:05 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 19:00:05 [ 81%] Linking C executable device-counter 19:00:05 [ 81%] Built target device-counter 19:00:05 Scanning dependencies of target device-random 19:00:05 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 19:00:05 [ 84%] Linking C executable device-random 19:00:05 [ 84%] Built target device-random 19:00:05 Scanning dependencies of target device-gyro 19:00:05 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 19:00:05 [ 87%] Linking C executable device-gyro 19:00:05 [ 87%] Built target device-gyro 19:00:05 Scanning dependencies of target device-bitfields 19:00:05 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 19:00:05 [ 90%] Linking C executable device-bitfields 19:00:05 [ 90%] Built target device-bitfields 19:00:05 Scanning dependencies of target template-discovery 19:00:05 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 19:00:06 [ 93%] Linking C executable template-discovery 19:00:06 [ 93%] Built target template-discovery 19:00:06 Scanning dependencies of target device-file 19:00:06 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 19:00:06 [ 96%] Linking C executable device-file 19:00:06 [ 96%] Built target device-file 19:00:06 Scanning dependencies of target device-terminal 19:00:06 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 19:00:06 [100%] Linking C executable device-terminal 19:00:06 [100%] Built target device-terminal 19:00:06 Run CPack packaging tool... 19:00:06 CPack: Create package using TGZ 19:00:06 CPack: Install projects 19:00:06 CPack: - Run preinstall target for: Csdk 19:00:06 CPack: - Install project: Csdk 19:00:06 CPack: Create package 19:00:06 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 19:00:06 + '[' false '=' true ] 19:00:06 + '[' false '=' true ] 19:00:06 + mkdir -p /tmp/sdk/build/debug 19:00:06 + cd /tmp/sdk/build/debug 19:00:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 19:00:06 -- The C compiler identification is GNU 8.3.0 19:00:06 -- Check for working C compiler: /usr/bin/cc 19:00:06 -- Check for working C compiler: /usr/bin/cc -- works 19:00:06 -- Detecting C compiler ABI info 19:00:06 -- Detecting C compiler ABI info - done 19:00:06 -- Detecting C compile features 19:00:07 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 19:00:07 -- Detecting C compile features - done 19:00:07 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 19:00:07 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 19:00:07 -- Found LIBYAML: /usr/lib/libyaml.so 19:00:07 -- Found LIBUUID: /usr/lib/libuuid.so 19:00:07 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 19:00:07 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 19:00:07 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 19:00:07 -- C SDK 0.0.0 for Linux 19:00:07 -- Performing Test CSDK_HAVE_ATOMIC 19:00:07 -- Performing Test CSDK_HAVE_ATOMIC - Success 19:00:07 -- Found Curses: /usr/lib/libcurses.so 19:00:07 -- Configuring done 19:00:07 -- Generating done 19:00:07 -- Build files have been written to: /tmp/sdk/build/debug 19:00:07 + tee debug.log 19:00:07 + make 19:00:07 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 19:00:07 Scanning dependencies of target csdk 19:00:07 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 19:00:07 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 19:00:07 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 19:00:07 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 19:00:07 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 19:00:07 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 19:00:07 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 19:00:07 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 19:00:07 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 19:00:07 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 19:00:07 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 19:00:07 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 19:00:08 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 19:00:08 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 19:00:08 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 19:00:08 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 19:00:08 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 19:00:08 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 19:00:08 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 19:00:08 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 19:00:08 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 19:00:08 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 19:00:08 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 19:00:08 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 19:00:08 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 19:00:08 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 19:00:08 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 19:00:09 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 19:00:09 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 19:00:09 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 19:00:09 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 19:00:09 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 19:00:09 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 19:00:09 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 19:00:09 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 19:00:09 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 19:00:09 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 19:00:09 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 19:00:09 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 19:00:09 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 19:00:09 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 19:00:09 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 19:00:09 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 19:00:10 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 19:00:10 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 19:00:10 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 19:00:10 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 19:00:10 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 19:00:10 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 19:00:10 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 19:00:10 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 19:00:10 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 19:00:10 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 19:00:10 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 19:00:10 [ 75%] Linking C shared library libcsdk.so 19:00:10 [ 75%] Built target csdk 19:00:10 Scanning dependencies of target template 19:00:10 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 19:00:10 [ 78%] Linking C executable template 19:00:11 [ 78%] Built target template 19:00:11 Scanning dependencies of target device-counter 19:00:11 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 19:00:11 [ 81%] Linking C executable device-counter 19:00:11 [ 81%] Built target device-counter 19:00:11 Scanning dependencies of target device-random 19:00:11 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 19:00:11 [ 84%] Linking C executable device-random 19:00:11 [ 84%] Built target device-random 19:00:11 Scanning dependencies of target device-gyro 19:00:11 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 19:00:11 [ 87%] Linking C executable device-gyro 19:00:11 [ 87%] Built target device-gyro 19:00:11 Scanning dependencies of target device-bitfields 19:00:11 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 19:00:11 [ 90%] Linking C executable device-bitfields 19:00:11 [ 90%] Built target device-bitfields 19:00:11 Scanning dependencies of target template-discovery 19:00:11 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 19:00:11 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 19:00:11 [ 93%] Linking C executable template-discovery 19:00:11 [ 93%] Built target template-discovery 19:00:11 Scanning dependencies of target device-file 19:00:11 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 19:00:11 [ 96%] Linking C executable device-file 19:00:11 [ 96%] Built target device-file 19:00:11 Scanning dependencies of target device-terminal 19:00:11 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 19:00:11 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 19:00:11 [100%] Linking C executable device-terminal 19:00:11 [100%] Built target device-terminal 19:00:11 make: Entering directory '/tmp/sdk/build/release' 19:00:11 make[1]: Entering directory '/tmp/sdk/build/release' 19:00:11 make[2]: Entering directory '/tmp/sdk/build/release' 19:00:11 make[2]: Leaving directory '/tmp/sdk/build/release' 19:00:11 [ 75%] Built target csdk 19:00:11 make[2]: Entering directory '/tmp/sdk/build/release' 19:00:11 make[2]: Leaving directory '/tmp/sdk/build/release' 19:00:11 [ 78%] Built target template 19:00:11 make[2]: Entering directory '/tmp/sdk/build/release' 19:00:11 make[2]: Leaving directory '/tmp/sdk/build/release' 19:00:11 [ 81%] Built target device-counter 19:00:11 make[2]: Entering directory '/tmp/sdk/build/release' 19:00:11 make[2]: Leaving directory '/tmp/sdk/build/release' 19:00:11 [ 84%] Built target device-random 19:00:11 make[2]: Entering directory '/tmp/sdk/build/release' 19:00:11 make[2]: Leaving directory '/tmp/sdk/build/release' 19:00:11 [ 87%] Built target device-gyro 19:00:11 make[2]: Entering directory '/tmp/sdk/build/release' 19:00:11 make[2]: Leaving directory '/tmp/sdk/build/release' 19:00:11 [ 90%] Built target device-bitfields 19:00:11 make[2]: Entering directory '/tmp/sdk/build/release' 19:00:11 make[2]: Leaving directory '/tmp/sdk/build/release' 19:00:11 [ 93%] Built target template-discovery 19:00:11 make[2]: Entering directory '/tmp/sdk/build/release' 19:00:11 make[2]: Leaving directory '/tmp/sdk/build/release' 19:00:11 [ 96%] Built target device-file 19:00:11 make[2]: Entering directory '/tmp/sdk/build/release' 19:00:11 make[2]: Leaving directory '/tmp/sdk/build/release' 19:00:11 [100%] Built target device-terminal 19:00:11 make[1]: Leaving directory '/tmp/sdk/build/release' 19:00:11 Install the project... 19:00:11 -- Install configuration: "Release" 19:00:11 -- Installing: /usr/local/lib/libcsdk.so 19:00:11 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 19:00:11 -- Up-to-date: /usr/local/include 19:00:11 -- Installing: /usr/local/include/devsdk 19:00:11 -- Installing: /usr/local/include/devsdk/devsdk-base.h 19:00:11 -- Installing: /usr/local/include/devsdk/devsdk.h 19:00:11 -- Installing: /usr/local/include/edgex 19:00:11 -- Installing: /usr/local/include/edgex/devices.h 19:00:11 -- Installing: /usr/local/include/edgex/edgex-base.h 19:00:11 -- Installing: /usr/local/include/edgex/edgex.h 19:00:11 -- Installing: /usr/local/include/edgex/profiles.h 19:00:11 -- Installing: /usr/local/include/edgex/rest-server.h 19:00:11 -- Installing: /usr/local/include/edgex/secrets.h 19:00:11 -- Installing: /usr/local/include/edgex/csdk-defs.h 19:00:11 -- Installing: /usr/local/include/iot 19:00:11 -- Installing: /usr/local/include/iot/base64.h 19:00:11 -- Installing: /usr/local/include/iot/component.h 19:00:11 -- Installing: /usr/local/include/iot/config.h 19:00:11 -- Installing: /usr/local/include/iot/container.h 19:00:11 -- Installing: /usr/local/include/iot/data.h 19:00:11 -- Installing: /usr/local/include/iot/hash.h 19:00:11 -- Installing: /usr/local/include/iot/iot.h 19:00:11 -- Installing: /usr/local/include/iot/json.h 19:00:11 -- Installing: /usr/local/include/iot/logger.h 19:00:11 -- Installing: /usr/local/include/iot/os.h 19:00:11 -- Installing: /usr/local/include/iot/scheduler.h 19:00:11 -- Installing: /usr/local/include/iot/thread.h 19:00:12 -- Installing: /usr/local/include/iot/threadpool.h 19:00:12 -- Installing: /usr/local/include/iot/time.h 19:00:12 -- Installing: /usr/local/include/iot/typecode.h 19:00:12 -- Installing: /usr/local/include/iot/os 19:00:12 -- Installing: /usr/local/include/iot/os/linux.h 19:00:12 -- Installing: /usr/local/include/iot/os/macos.h 19:00:12 -- Installing: /usr/local/include/iot/os/zephyr.h 19:00:12 -- Installing: /usr/local/include/iot/defs.h 19:00:12 -- Installing: /usr/local/share/device-sdk-c/LICENSE 19:00:12 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 19:00:12 make: Leaving directory '/tmp/sdk/build/release' 19:00:12 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 19:00:12 Removing intermediate container 89aca9048e38 19:00:12 ---> 7a15abeab4db 19:00:12 Step 16/25 : FROM ${BASE} 19:00:12 ---> 5eabd8fd8ba2 19:00:12 Step 17/25 : LABEL maintainer="IOTech " 19:00:12 ---> Running in f03c9e0e767c 19:00:12 Removing intermediate container f03c9e0e767c 19:00:12 ---> fb6bb44d4ca3 19:00:12 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 19:00:12 ---> Running in 5e70f3f194f0 19:00:13 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 19:00:13 Connecting to iotech.jfrog.io (54.195.244.87:443) 19:00:13 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 19:00:13 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 19:00:13 19:00:13 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 19:00:13 Removing intermediate container 5e70f3f194f0 19:00:13 ---> ed247f5d0312 19:00:13 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 19:00:13 ---> Running in bceff2dd3be4 19:00:13 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 19:00:14 Removing intermediate container bceff2dd3be4 19:00:14 ---> 0bc735d171e3 19:00:14 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 19:00:14 ---> Running in b898411b0036 19:00:14 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 19:00:15 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 19:00:15 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 19:00:16 (1/6) Installing curl (7.64.0-r5) 19:00:16 (2/6) Installing hiredis (0.14.0-r0) 19:00:16 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 19:00:16 (3/6) Installing hiredis-dev (0.14.0-r0) 19:00:16 (4/6) Installing libuuid (2.33-r0) 19:00:16 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 19:00:16 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 19:00:16 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 19:00:17 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 19:00:17 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 19:00:17 (6/6) Installing wget (1.20.3-r0) 19:00:18 Executing busybox-1.29.3-r10.trigger 19:00:18 OK: 269 MiB in 81 packages 19:00:18 Removing intermediate container b898411b0036 19:00:18 ---> b6170047eecc 19:00:18 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 19:00:18 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 19:00:18 ---> e87db3232231 19:00:18 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 19:00:18 ---> 9e4a635f2c1c 19:00:18 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 19:00:18 ---> 43f062e5c1be 19:00:18 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 19:00:18 ---> 7bb1e8e87bea 19:00:18 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 19:00:19 ---> 0161b79e31d9 19:00:19 Successfully built 0161b79e31d9 19:00:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:00:19 + docker inspect -f . ci-base-image-x86_64 19:00:19 . [Pipeline] withDockerContainer 19:00:19 prd-centos7-docker-4c-2g-2238 does not seem to be running inside a container 19:00:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:00:20 $ docker top 8360f142b91152228ad9cbc406a34793add65eb4119ce166a454a91bbe9d241e -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:20 + make test 19:00:20 echo "make test" 19:00:20 make test [Pipeline] } 19:00:20 $ docker stop --time=1 8360f142b91152228ad9cbc406a34793add65eb4119ce166a454a91bbe9d241e 19:00:21 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 19:00:21 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 19:00:21 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 19:00:21 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 19:00:21 $ docker rm -f 8360f142b91152228ad9cbc406a34793add65eb4119ce166a454a91bbe9d241e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 19:00:22 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 19:00:22 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 19:00:23 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 19:00:23 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 19:00:24 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 19:00:24 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [Pipeline] sh 19:00:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:00:25 + ls -al . 19:00:25 total 160 19:00:25 drwxrwxr-x. 8 jenkins jenkins 260 Jul 8 18:59 . 19:00:25 drwxrwxr-x. 4 jenkins jenkins 28 Jul 8 18:59 .. 19:00:25 -rw-rw-r--. 1 jenkins jenkins 3104 Jul 8 18:59 Attribution.txt 19:00:25 -rw-rw-r--. 1 jenkins jenkins 7556 Jul 8 18:59 CHANGES 19:00:25 drwxrwxr-x. 2 jenkins jenkins 121 Jul 8 18:59 docs 19:00:25 -rw-rw-r--. 1 jenkins jenkins 108574 Jul 8 18:59 Doxyfile 19:00:25 drwxrwxr-x. 8 jenkins jenkins 179 Jul 8 18:59 .git 19:00:25 drwxrwxr-x. 2 jenkins jenkins 81 Jul 8 18:59 .github 19:00:25 -rw-rw-r--. 1 jenkins jenkins 176 Jul 8 18:59 .gitignore 19:00:25 drwxrwxr-x. 4 jenkins jenkins 33 Jul 8 18:59 include 19:00:25 -rw-rw-r--. 1 jenkins jenkins 784 Jul 8 18:59 Jenkinsfile 19:00:25 -rw-rw-r--. 1 jenkins jenkins 10174 Jul 8 18:59 LICENSE 19:00:25 -rw-rw-r--. 1 jenkins jenkins 444 Jul 8 18:59 Makefile 19:00:25 -rw-rw-r--. 1 jenkins jenkins 4090 Jul 8 18:59 README.md 19:00:25 -rw-rw-r--. 1 jenkins jenkins 7090 Jul 8 18:59 README.v2.md 19:00:25 drwxrwxr-x. 2 jenkins jenkins 98 Jul 8 18:59 scripts 19:00:25 drwxrwxr-x. 4 jenkins jenkins 50 Jul 8 18:59 src 19:00:25 -rw-rw-r--. 1 jenkins jenkins 5 Jul 8 18:55 VERSION [Pipeline] isUnix [Pipeline] sh 19:00:25 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=56650a93bd3a285f1611653009d11773249cf0f8 --label arch=amd64 --label version=0.0.0 . 19:00:25 Sending build context to Docker daemon 2.692MB 19:00:25 Step 1/17 : ARG BASE=alpine:3.12 19:00:25 Step 2/17 : FROM ${BASE} 19:00:25 ---> 0161b79e31d9 19:00:25 Step 3/17 : LABEL maintainer="IOTech " 19:00:25 ---> Running in fa102a82d5ae 19:00:25 Removing intermediate container fa102a82d5ae 19:00:25 ---> de016c050078 19:00:25 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 19:00:25 ---> Running in 9e96a971cda6 19:00:26 --2021-07-08 19:00:25-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 19:00:26 Resolving iotech.jfrog.io... 54.170.66.44, 54.229.110.245, 54.195.244.87 19:00:26 Connecting to iotech.jfrog.io|54.170.66.44|:443... connected. 19:00:26 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 19:00:26 HTTP request sent, awaiting response... 200 OK 19:00:26 Length: 451 [application/octet-stream] 19:00:26 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 19:00:26  19:00:26 0K 100% 50.5M=0s 19:00:26 19:00:26 2021-07-08 19:00:26 (50.5 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 19:00:26 19:00:26 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 19:00:26 Removing intermediate container 9e96a971cda6 19:00:26 ---> a1d082a13292 19:00:26 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 19:00:26 ---> Running in f5ad9d6eeb24 19:00:27 Removing intermediate container f5ad9d6eeb24 19:00:27 ---> 89c7bdb31405 19:00:27 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 19:00:27 ---> Running in ab27a4b24f7a 19:00:27 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 19:00:27 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 19:00:27 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 19:00:28 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 19:00:28 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 19:00:29 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 19:00:29 (2/6) Installing libblkid (2.33-r0) 19:00:29 (3/6) Installing libfdisk (2.33-r0) 19:00:29 (4/6) Installing libmount (2.33-r0) 19:00:29 (5/6) Installing libsmartcols (2.33-r0) 19:00:29 (6/6) Installing util-linux-dev (2.33-r0) 19:00:30 Executing busybox-1.29.3-r10.trigger 19:00:30 OK: 273 MiB in 87 packages 19:00:30 Removing intermediate container ab27a4b24f7a 19:00:30 ---> e822cc1f53e5 19:00:30 Step 7/17 : COPY VERSION /edgex-c-sdk/ 19:00:30 ---> 4fff2728d880 19:00:30 Step 8/17 : COPY src /edgex-c-sdk/src/ 19:00:30 ---> 1964c5de46c9 19:00:30 Step 9/17 : COPY include /edgex-c-sdk/include/ 19:00:31 ---> a78645ca116e 19:00:31 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 19:00:31 ---> b41217463b46 19:00:31 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 19:00:31 ---> e7570de3b827 19:00:31 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 19:00:31 ---> e2bbe644a6a5 19:00:31 Step 13/17 : WORKDIR /edgex-c-sdk 19:00:31 ---> Running in ad1285f65149 19:00:31 Removing intermediate container ad1285f65149 19:00:31 ---> ae403b41fbb6 19:00:31 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 19:00:31 ---> Running in f1ff0f72179a 19:00:31 Removing intermediate container f1ff0f72179a 19:00:31 ---> 2fae24483cec 19:00:31 Step 15/17 : LABEL arch=amd64 19:00:31 ---> Running in a842330f420a 19:00:31 Removing intermediate container a842330f420a 19:00:31 ---> a99d915147b0 19:00:31 Step 16/17 : LABEL git_sha=56650a93bd3a285f1611653009d11773249cf0f8 19:00:31 ---> Running in 585f1df0139d 19:00:31 Removing intermediate container 585f1df0139d 19:00:31 ---> 3f34c5803c4c 19:00:31 Step 17/17 : LABEL version=0.0.0 19:00:31 ---> Running in b3ed87d958d5 19:00:31 Removing intermediate container b3ed87d958d5 19:00:31 ---> 8dafe6a500b8 19:00:31 [Warning] One or more build-args [ARCH MAKE] were not consumed 19:00:31 Successfully built 8dafe6a500b8 19:00:31 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } 19:00:31 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 19:00:32 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:00:32 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 19:00:33 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 19:00:33 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 19:00:35 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 19:00:35 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 19:00:35 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 19:00:36 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 19:00:38 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 19:00:41 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 19:00:41 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 19:00:42 [ 75%] Linking C shared library libcsdk.so 19:00:42 [ 75%] Built target csdk 19:00:42 Scanning dependencies of target template 19:00:42 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 19:00:43 [ 78%] Linking C executable template 19:00:43 [ 78%] Built target template 19:00:43 Scanning dependencies of target device-counter 19:00:43 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 19:00:43 [ 81%] Linking C executable device-counter 19:00:44 [ 81%] Built target device-counter 19:00:44 Scanning dependencies of target device-random 19:00:44 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 19:00:44 [ 84%] Linking C executable device-random 19:00:44 [ 84%] Built target device-random 19:00:44 Scanning dependencies of target device-gyro 19:00:44 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 19:00:45 [ 87%] Linking C executable device-gyro 19:00:45 [ 87%] Built target device-gyro 19:00:45 Scanning dependencies of target device-bitfields 19:00:45 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 19:00:45 [ 90%] Linking C executable device-bitfields 19:00:45 [ 90%] Built target device-bitfields 19:00:45 Scanning dependencies of target template-discovery 19:00:45 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 19:00:46 [ 93%] Linking C executable template-discovery 19:00:46 [ 93%] Built target template-discovery 19:00:46 Scanning dependencies of target device-file 19:00:46 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 19:00:47 [ 96%] Linking C executable device-file 19:00:47 [ 96%] Built target device-file 19:00:47 Scanning dependencies of target device-terminal 19:00:47 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 19:00:48 [100%] Linking C executable device-terminal 19:00:48 [100%] Built target device-terminal 19:00:48 Run CPack packaging tool... 19:00:48 CPack: Create package using TGZ 19:00:48 CPack: Install projects 19:00:48 CPack: - Run preinstall target for: Csdk 19:00:49 CPack: - Install project: Csdk 19:00:49 CPack: Create package 19:00:49 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 19:00:49 + '[' false '=' true ] 19:00:49 + '[' false '=' true ] 19:00:49 + mkdir -p /tmp/sdk/build/debug 19:00:49 + cd /tmp/sdk/build/debug 19:00:49 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 19:00:49 -- The C compiler identification is GNU 8.3.0 19:00:49 -- Check for working C compiler: /usr/bin/cc 19:00:49 -- Check for working C compiler: /usr/bin/cc -- works 19:00:49 -- Detecting C compiler ABI info 19:00:50 -- Detecting C compiler ABI info - done 19:00:50 -- Detecting C compile features 19:00:50 -- Detecting C compile features - done 19:00:50 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 19:00:50 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 19:00:51 -- Found LIBYAML: /usr/lib/libyaml.so 19:00:51 -- Found LIBUUID: /usr/lib/libuuid.so 19:00:51 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 19:00:51 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 19:00:51 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 19:00:51 -- C SDK 0.0.0 for Linux 19:00:51 -- Performing Test CSDK_HAVE_ATOMIC 19:00:51 -- Performing Test CSDK_HAVE_ATOMIC - Success 19:00:51 -- Found Curses: /usr/lib/libcurses.so 19:00:51 -- Configuring done 19:00:51 -- Generating done 19:00:51 -- Build files have been written to: /tmp/sdk/build/debug 19:00:51 + + teemake debug.log 19:00:51 19:00:51 Scanning dependencies of target csdk 19:00:51 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 19:00:52 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 19:00:52 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 19:00:52 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 19:00:53 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 19:00:53 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 19:00:53 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 19:00:54 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 19:00:54 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 19:00:54 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 19:00:55 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 19:00:55 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 19:00:55 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 19:00:56 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 19:00:56 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 19:00:56 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 19:00:56 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 19:00:57 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 19:00:57 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 19:00:57 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 19:00:57 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 19:00:58 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 19:00:58 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 19:00:59 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 19:00:59 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 19:00:59 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 19:00:59 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 19:00:59 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 19:01:00 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 19:01:00 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 19:01:00 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 19:01:01 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 19:01:01 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 19:01:01 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 19:01:01 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 19:01:02 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 19:01:02 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 19:01:03 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 19:01:03 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 19:01:03 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 19:01:04 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 19:01:04 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 19:01:05 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 19:01:05 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 19:01:05 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 19:01:05 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 19:01:06 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 19:01:07 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 19:01:07 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 19:01:07 [ 75%] Linking C shared library libcsdk.so 19:01:07 [ 75%] Built target csdk 19:01:07 Scanning dependencies of target template 19:01:07 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 19:01:08 [ 78%] Linking C executable template 19:01:08 [ 78%] Built target template 19:01:08 Scanning dependencies of target device-counter 19:01:08 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 19:01:08 [ 81%] Linking C executable device-counter 19:01:09 [ 81%] Built target device-counter 19:01:09 Scanning dependencies of target device-random 19:01:09 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 19:01:09 [ 84%] Linking C executable device-random 19:01:09 [ 84%] Built target device-random 19:01:09 Scanning dependencies of target device-gyro 19:01:09 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 19:01:09 [ 87%] Linking C executable device-gyro 19:01:10 [ 87%] Built target device-gyro 19:01:10 Scanning dependencies of target device-bitfields 19:01:10 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 19:01:10 [ 90%] Linking C executable device-bitfields 19:01:10 [ 90%] Built target device-bitfields 19:01:10 Scanning dependencies of target template-discovery 19:01:10 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 19:01:10 [ 93%] Linking C executable template-discovery 19:01:10 [ 93%] Built target template-discovery 19:01:11 Scanning dependencies of target device-file 19:01:11 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 19:01:11 [ 96%] Linking C executable device-file 19:01:11 [ 96%] Built target device-file 19:01:11 Scanning dependencies of target device-terminal 19:01:11 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 19:01:12 [100%] Linking C executable device-terminal 19:01:12 [100%] Built target device-terminal 19:01:12 make: Entering directory '/tmp/sdk/build/release' 19:01:12 make[1]: Entering directory '/tmp/sdk/build/release' 19:01:12 make[2]: Entering directory '/tmp/sdk/build/release' 19:01:12 make[2]: Leaving directory '/tmp/sdk/build/release' 19:01:12 [ 75%] Built target csdk 19:01:12 make[2]: Entering directory '/tmp/sdk/build/release' 19:01:12 make[2]: Leaving directory '/tmp/sdk/build/release' 19:01:12 [ 78%] Built target template 19:01:12 make[2]: Entering directory '/tmp/sdk/build/release' 19:01:12 make[2]: Leaving directory '/tmp/sdk/build/release' 19:01:12 [ 81%] Built target device-counter 19:01:12 make[2]: Entering directory '/tmp/sdk/build/release' 19:01:12 make[2]: Leaving directory '/tmp/sdk/build/release' 19:01:12 [ 84%] Built target device-random 19:01:12 make[2]: Entering directory '/tmp/sdk/build/release' 19:01:12 make[2]: Leaving directory '/tmp/sdk/build/release' 19:01:12 [ 87%] Built target device-gyro 19:01:12 make[2]: Entering directory '/tmp/sdk/build/release' 19:01:12 make[2]: Leaving directory '/tmp/sdk/build/release' 19:01:12 [ 90%] Built target device-bitfields 19:01:12 make[2]: Entering directory '/tmp/sdk/build/release' 19:01:12 make[2]: Leaving directory '/tmp/sdk/build/release' 19:01:12 [ 93%] Built target template-discovery 19:01:12 make[2]: Entering directory '/tmp/sdk/build/release' 19:01:12 make[2]: Leaving directory '/tmp/sdk/build/release' 19:01:12 [ 96%] Built target device-file 19:01:12 make[2]: Entering directory '/tmp/sdk/build/release' 19:01:12 make[2]: Leaving directory '/tmp/sdk/build/release' 19:01:12 [100%] Built target device-terminal 19:01:12 make[1]: Leaving directory '/tmp/sdk/build/release' 19:01:12 Install the project... 19:01:12 -- Install configuration: "Release" 19:01:12 -- Installing: /usr/local/lib/libcsdk.so 19:01:12 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 19:01:12 -- Up-to-date: /usr/local/include 19:01:12 -- Installing: /usr/local/include/edgex 19:01:12 -- Installing: /usr/local/include/edgex/rest-server.h 19:01:12 -- Installing: /usr/local/include/edgex/edgex-base.h 19:01:12 -- Installing: /usr/local/include/edgex/edgex.h 19:01:12 -- Installing: /usr/local/include/edgex/devices.h 19:01:12 -- Installing: /usr/local/include/edgex/secrets.h 19:01:12 -- Installing: /usr/local/include/edgex/profiles.h 19:01:12 -- Installing: /usr/local/include/edgex/csdk-defs.h 19:01:12 -- Installing: /usr/local/include/devsdk 19:01:12 -- Installing: /usr/local/include/devsdk/devsdk-base.h 19:01:12 -- Installing: /usr/local/include/devsdk/devsdk.h 19:01:12 -- Installing: /usr/local/include/iot 19:01:12 -- Installing: /usr/local/include/iot/json.h 19:01:12 -- Installing: /usr/local/include/iot/container.h 19:01:12 -- Installing: /usr/local/include/iot/component.h 19:01:12 -- Installing: /usr/local/include/iot/typecode.h 19:01:12 -- Installing: /usr/local/include/iot/iot.h 19:01:12 -- Installing: /usr/local/include/iot/time.h 19:01:12 -- Installing: /usr/local/include/iot/hash.h 19:01:12 -- Installing: /usr/local/include/iot/logger.h 19:01:12 -- Installing: /usr/local/include/iot/os 19:01:12 -- Installing: /usr/local/include/iot/os/zephyr.h 19:01:12 -- Installing: /usr/local/include/iot/os/linux.h 19:01:12 -- Installing: /usr/local/include/iot/os/macos.h 19:01:12 -- Installing: /usr/local/include/iot/scheduler.h 19:01:12 -- Installing: /usr/local/include/iot/data.h 19:01:12 -- Installing: /usr/local/include/iot/thread.h 19:01:12 -- Installing: /usr/local/include/iot/os.h 19:01:12 -- Installing: /usr/local/include/iot/base64.h 19:01:12 -- Installing: /usr/local/include/iot/defs.h 19:01:12 -- Installing: /usr/local/include/iot/threadpool.h 19:01:12 -- Installing: /usr/local/include/iot/config.h 19:01:12 -- Installing: /usr/local/share/device-sdk-c/LICENSE 19:01:12 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 19:01:12 make: Leaving directory '/tmp/sdk/build/release' 19:01:14 Removing intermediate container 34d833bb1655 19:01:14 ---> 89001f023fbb 19:01:14 Step 16/25 : FROM ${BASE} 19:01:14 ---> b23d30803547 19:01:14 Step 17/25 : LABEL maintainer="IOTech " 19:01:14 ---> Running in 1ccadeb266aa 19:01:15 Removing intermediate container 1ccadeb266aa 19:01:15 ---> e90fd2fbc986 19:01:15 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 19:01:15 ---> Running in 9dc443fa3f91 19:01:16 Connecting to iotech.jfrog.io (54.170.66.44:443) 19:01:17 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 19:01:17  19:01:18 Removing intermediate container 9dc443fa3f91 19:01:18 ---> f273afa2b67e 19:01:18 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 19:01:18 ---> Running in f14a0aeb000a 19:01:20 Removing intermediate container f14a0aeb000a 19:01:20 ---> 696192c64a24 19:01:20 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 19:01:20 ---> Running in 514e9dd707b2 19:01:21 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 19:01:22 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 19:01:23 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 19:01:23 (1/6) Installing curl (7.64.0-r5) 19:01:23 (2/6) Installing hiredis (0.14.0-r0) 19:01:23 (3/6) Installing hiredis-dev (0.14.0-r0) 19:01:24 (4/6) Installing libuuid (2.33-r0) 19:01:24 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 19:01:25 (6/6) Installing wget (1.20.3-r0) 19:01:25 Executing busybox-1.29.3-r10.trigger 19:01:26 OK: 283 MiB in 81 packages 19:01:27 Removing intermediate container 514e9dd707b2 19:01:27 ---> e3c5d447211a 19:01:27 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 19:01:28 ---> 6e73018747d1 19:01:28 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 19:01:29 ---> 1c6a40880475 19:01:29 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 19:01:29 ---> 4c7f3683ade1 19:01:29 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 19:01:30 ---> fc8378e837c8 19:01:30 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 19:01:31 ---> e6bd02651473 19:01:31 Successfully built e6bd02651473 19:01:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:01:31 + docker inspect -f . ci-base-image-arm64 19:01:31 . [Pipeline] withDockerContainer 19:01:32 prd-ubuntu18.04-docker-arm64-4c-16g-2237 does not seem to be running inside a container 19:01:32 $ 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-arm64 cat 19:01:33 $ docker top bac985871ee218eac14f7af98e8e002e02c689f0b1cb945a82fa044530ebf742 -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:34 + make test 19:01:34 echo "make test" 19:01:34 make test [Pipeline] } 19:01:34 $ docker stop --time=1 bac985871ee218eac14f7af98e8e002e02c689f0b1cb945a82fa044530ebf742 19:01:36 $ docker rm -f bac985871ee218eac14f7af98e8e002e02c689f0b1cb945a82fa044530ebf742 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:01:37 + ls -al . 19:01:37 total 192 19:01:37 drwxrwxr-x 8 jenkins jenkins 4096 Jul 8 18:58 . 19:01:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 18:58 .. 19:01:37 drwxrwxr-x 8 jenkins jenkins 4096 Jul 8 18:58 .git 19:01:37 drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 18:58 .github 19:01:37 -rw-rw-r-- 1 jenkins jenkins 176 Jul 8 18:58 .gitignore 19:01:37 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 8 18:58 Attribution.txt 19:01:37 -rw-rw-r-- 1 jenkins jenkins 7556 Jul 8 18:58 CHANGES 19:01:37 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 8 18:58 Doxyfile 19:01:37 -rw-rw-r-- 1 jenkins jenkins 784 Jul 8 18:58 Jenkinsfile 19:01:37 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 8 18:58 LICENSE 19:01:37 -rw-rw-r-- 1 jenkins jenkins 444 Jul 8 18:58 Makefile 19:01:37 -rw-rw-r-- 1 jenkins jenkins 4090 Jul 8 18:58 README.md 19:01:37 -rw-rw-r-- 1 jenkins jenkins 7090 Jul 8 18:58 README.v2.md 19:01:37 -rw-rw-r-- 1 jenkins jenkins 5 Jul 8 18:55 VERSION 19:01:37 drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 18:58 docs 19:01:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 18:58 include 19:01:37 drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 18:58 scripts 19:01:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 18:58 src [Pipeline] isUnix [Pipeline] sh 19:01:38 + 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=f06e92f8fa395b4c962da6f0e248c6f1cccb952a --label arch=arm64 --label version=0.0.0 . 19:01:38 Sending build context to Docker daemon 2.691MB 19:01:38 Step 1/17 : ARG BASE=alpine:3.12 19:01:38 Step 2/17 : FROM ${BASE} 19:01:38 ---> e6bd02651473 19:01:38 Step 3/17 : LABEL maintainer="IOTech " 19:01:39 ---> Running in a5cf7187cfdc 19:01:39 Removing intermediate container a5cf7187cfdc 19:01:39 ---> 55737554e84d 19:01:39 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 19:01:39 ---> Running in d3f5df88f7a3 19:01:40 --2021-07-08 19:01:40-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 19:01:40 Resolving iotech.jfrog.io... 54.195.244.87, 54.170.66.44, 54.229.110.245 19:01:40 Connecting to iotech.jfrog.io|54.195.244.87|:443... connected. 19:01:41 HTTP request sent, awaiting response... 200 OK 19:01:41 Length: 451 [application/octet-stream] 19:01:41 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 19:01:41  19:01:41 0K   100% 18.4M=0s 19:01:41 19:01:41 2021-07-08 19:01:41 (18.4 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 19:01:41 19:01:42 Removing intermediate container d3f5df88f7a3 19:01:42 ---> 0901775b918b 19:01:42 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 19:01:42 ---> Running in 761b43ecb47f 19:01:44 Removing intermediate container 761b43ecb47f 19:01:44 ---> f3684c4d1d0a 19:01:44 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 19:01:44 ---> Running in 36cceda070e4 19:01:45 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 19:01:46 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 19:01:47 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 19:01:47 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 19:01:48 (2/6) Installing libblkid (2.33-r0) 19:01:48 (3/6) Installing libfdisk (2.33-r0) 19:01:48 (4/6) Installing libmount (2.33-r0) 19:01:48 (5/6) Installing libsmartcols (2.33-r0) 19:01:48 (6/6) Installing util-linux-dev (2.33-r0) 19:01:48 Executing busybox-1.29.3-r10.trigger 19:01:48 OK: 287 MiB in 87 packages 19:01:50 Removing intermediate container 36cceda070e4 19:01:50 ---> e1c22e91466b 19:01:50 Step 7/17 : COPY VERSION /edgex-c-sdk/ 19:01:50 ---> 7552900a43dc 19:01:50 Step 8/17 : COPY src /edgex-c-sdk/src/ 19:01:52 ---> f9e6675997e9 19:01:52 Step 9/17 : COPY include /edgex-c-sdk/include/ 19:01:52 ---> b843e0bf6de6 19:01:52 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 19:01:53 ---> 2d845fbb6689 19:01:53 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 19:01:54 ---> a90ce1389267 19:01:54 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 19:01:55 ---> e463b39ee57c 19:01:55 Step 13/17 : WORKDIR /edgex-c-sdk 19:01:55 ---> Running in b0f48a59dbdc 19:01:55 Removing intermediate container b0f48a59dbdc 19:01:55 ---> e15040be9f70 19:01:55 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 19:01:55 ---> Running in 820b6dd42b09 19:01:56 Removing intermediate container 820b6dd42b09 19:01:56 ---> 17d9f2f7de31 19:01:56 Step 15/17 : LABEL arch=arm64 19:01:56 ---> Running in 3551817ab899 19:01:56 Removing intermediate container 3551817ab899 19:01:56 ---> d352f0ce8f29 19:01:56 Step 16/17 : LABEL git_sha=f06e92f8fa395b4c962da6f0e248c6f1cccb952a 19:01:57 ---> Running in cf57574c85df 19:01:57 Removing intermediate container cf57574c85df 19:01:57 ---> 67f72b4677d2 19:01:57 Step 17/17 : LABEL version=0.0.0 19:01:57 ---> Running in 3cf09cd8505b 19:01:58 Removing intermediate container 3cf09cd8505b 19:01:58 ---> 705bc19d449d 19:01:58 [Warning] One or more build-args [MAKE ARCH] were not consumed 19:01:58 Successfully built 705bc19d449d 19:01:58 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 19:01:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:02:00 ---> package-listing.sh 19:02:00 ++ facter osfamily 19:02:00 ++ tr '[:upper:]' '[:lower:]' 19:02:00 + OS_FAMILY=redhat 19:02:00 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-357 19:02:00 + START_PACKAGES=/tmp/packages_start.txt 19:02:00 + END_PACKAGES=/tmp/packages_end.txt 19:02:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:02:00 + PACKAGES=/tmp/packages_start.txt 19:02:00 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' 19:02:00 + PACKAGES=/tmp/packages_end.txt 19:02:00 + case "${OS_FAMILY}" in 19:02:00 + sort 19:02:00 + rpm -qa 19:02:01 + '[' -f /tmp/packages_start.txt ']' 19:02:01 + '[' -f /tmp/packages_end.txt ']' 19:02:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:02:01 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' 19:02:01 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ 19:02:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [Pipeline] echo 19:02:01 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-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:02:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:02:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:02:02 19:02:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:02:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:02:03 alpine: Pulling from edgex-lftools-log-publisher 19:02:03 df20fa9351a1: Pulling fs layer 19:02:03 36b3adc4ff6f: Pulling fs layer 19:02:03 8ad3a11d3b57: Pulling fs layer 19:02:03 46f8f816bc3b: Pulling fs layer 19:02:03 93b61091891f: Pulling fs layer 19:02:03 93b9cdb0e59b: Pulling fs layer 19:02:03 5e14af77c1be: Pulling fs layer 19:02:03 01666e4c0597: Pulling fs layer 19:02:03 aa168da1d23b: Pulling fs layer 19:02:03 93b9cdb0e59b: Waiting 19:02:03 5e14af77c1be: Waiting 19:02:03 01666e4c0597: Waiting 19:02:03 aa168da1d23b: Waiting 19:02:03 46f8f816bc3b: Waiting 19:02:03 93b61091891f: Waiting 19:02:03 36b3adc4ff6f: Verifying Checksum 19:02:03 36b3adc4ff6f: Download complete 19:02:03 46f8f816bc3b: Verifying Checksum 19:02:03 46f8f816bc3b: Download complete 19:02:03 93b61091891f: Verifying Checksum 19:02:03 93b61091891f: Download complete 19:02:03 df20fa9351a1: Verifying Checksum 19:02:03 df20fa9351a1: Download complete 19:02:03 8ad3a11d3b57: Verifying Checksum 19:02:03 8ad3a11d3b57: Download complete 19:02:03 01666e4c0597: Verifying Checksum 19:02:03 01666e4c0597: Download complete 19:02:03 93b9cdb0e59b: Verifying Checksum 19:02:03 93b9cdb0e59b: Download complete 19:02:03 5e14af77c1be: Verifying Checksum 19:02:03 5e14af77c1be: Download complete 19:02:03 df20fa9351a1: Pull complete 19:02:03 36b3adc4ff6f: Pull complete 19:02:04 8ad3a11d3b57: Pull complete 19:02:04 46f8f816bc3b: Pull complete 19:02:04 93b61091891f: Pull complete 19:02:04 93b9cdb0e59b: Pull complete 19:02:04 5e14af77c1be: Pull complete 19:02:04 01666e4c0597: Pull complete 19:02:05 aa168da1d23b: Verifying Checksum 19:02:05 aa168da1d23b: Download complete 19:02:10 aa168da1d23b: Pull complete 19:02:10 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 19:02:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:02:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:02:10 prd-centos7-docker-4c-2g-2236 does not seem to be running inside a container 19:02:10 $ 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-357/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-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 19:02:14 $ docker top c8a920063f5010e49f08db086c87ae033863156fce64856a75e586cf3a01c269 -eo pid,comm [Pipeline] { [Pipeline] sh 19:02:14 + touch /tmp/pre-build-complete [Pipeline] sh 19:02:14 + mkdir -p /var/log/sa [Pipeline] sh 19:02:15 + ls /var/log/sa-host 19:02:15 + sadf -c /var/log/sa-host/sa05 19:02:15 file_magic: OK 19:02:15 HZ: Using current value: 100 19:02:15 file_header: OK 19:02:15 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 19:02:15 Statistics: 19:02:15 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:02:15 File successfully converted to sysstat format version 12.2.1 19:02:15 + sadf -c /var/log/sa-host/sa08 19:02:15 file_magic: OK 19:02:15 HZ: Using current value: 100 19:02:15 file_header: OK 19:02:15 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 19:02:15 Statistics: 19:02:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:02:15 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:02:15 provisioning config files... 19:02:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config3110383095521297325tmp [Pipeline] { [Pipeline] echo 19:02:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:02:16 ---> create-netrc.sh [Pipeline] } 19:02:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:02:16 ---> python-tools-install.sh [Pipeline] echo 19:02:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:02:16 ---> sudo-logs.sh 19:02:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:02:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:02:17 ---> job-cost.sh 19:02:17 lf-activate-venv: SKIPPING 19:02:17 INFO: No Stack... 19:02:18 INFO: Retrieving Pricing Info for: v3-standard-2 19:02:18 INFO: Archiving Costs [Pipeline] echo 19:02:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:02:19 ---> logs-deploy.sh 19:02:19 lf-activate-venv: SKIPPING 19:02:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-357/2 19:02:19 INFO: archiving workspace using pattern(s): 19:02:20 Archives upload complete. 19:02:20 INFO: archiving logs to Nexus 19:02:20 ---> uname -a: 19:02:20 Linux prd-centos7-docker-4c-2g-2236.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 19:02:20 19:02:20 19:02:20 ---> lscpu: 19:02:20 Architecture: x86_64 19:02:20 CPU op-mode(s): 32-bit, 64-bit 19:02:20 Byte Order: Little Endian 19:02:20 Address sizes: 40 bits physical, 48 bits virtual 19:02:20 CPU(s): 2 19:02:20 On-line CPU(s) list: 0,1 19:02:20 Thread(s) per core: 1 19:02:20 Core(s) per socket: 1 19:02:20 Socket(s): 2 19:02:20 NUMA node(s): 1 19:02:20 Vendor ID: AuthenticAMD 19:02:20 CPU family: 23 19:02:20 Model: 49 19:02:20 Model name: AMD EPYC-Rome Processor 19:02:20 Stepping: 0 19:02:20 CPU MHz: 2800.000 19:02:20 BogoMIPS: 5600.00 19:02:20 Virtualization: AMD-V 19:02:20 Hypervisor vendor: KVM 19:02:20 Virtualization type: full 19:02:20 L1d cache: 64 KiB 19:02:20 L1i cache: 64 KiB 19:02:20 L2 cache: 1 MiB 19:02:20 L3 cache: 32 MiB 19:02:20 NUMA node0 CPU(s): 0,1 19:02:20 Vulnerability Itlb multihit: Not affected 19:02:20 Vulnerability L1tf: Not affected 19:02:20 Vulnerability Mds: Not affected 19:02:20 Vulnerability Meltdown: Not affected 19:02:20 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:02:20 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 19:02:20 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 19:02:20 Vulnerability Srbds: Not affected 19:02:20 Vulnerability Tsx async abort: Not affected 19:02:20 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 19:02:20 19:02:20 19:02:20 ---> nproc: 19:02:20 2 19:02:20 19:02:20 19:02:20 ---> df -h: 19:02:20 Filesystem Size Used Available Use% Mounted on 19:02:20 overlay 40.0G 7.6G 32.4G 19% / 19:02:20 tmpfs 64.0M 0 64.0M 0% /dev 19:02:20 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 19:02:20 shm 64.0M 0 64.0M 0% /dev/shm 19:02:20 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 19:02:20 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 19:02:20 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 19:02:20 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 19:02:20 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 19:02:20 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 19:02:20 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 19:02:20 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-357 19:02:20 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp 19:02:20 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 19:02:20 19:02:20 19:02:20 ---> free -m: 19:02:20 total used free shared buff/cache available 19:02:20 Mem: 7821 930 4793 0 2097 6712 19:02:20 Swap: 1023 0 1023 19:02:20 19:02:20 19:02:20 ---> ip addr: 19:02:20 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 19:02:20 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:02:20 inet 127.0.0.1/8 scope host lo 19:02:20 valid_lft forever preferred_lft forever 19:02:20 inet6 ::1/128 scope host 19:02:20 valid_lft forever preferred_lft forever 19:02:20 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 19:02:20 link/ether fa:16:3e:db:35:0c brd ff:ff:ff:ff:ff:ff 19:02:20 inet 10.30.123.193/23 brd 10.30.123.255 scope global dynamic eth0 19:02:20 valid_lft 85970sec preferred_lft 85970sec 19:02:20 inet6 fe80::f816:3eff:fedb:350c/64 scope link 19:02:20 valid_lft forever preferred_lft forever 19:02:20 3: docker0: mtu 1500 qdisc noqueue state DOWN 19:02:20 link/ether 02:42:0e:55:6e:47 brd ff:ff:ff:ff:ff:ff 19:02:20 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 19:02:20 valid_lft forever preferred_lft forever 19:02:20 inet6 fe80::42:eff:fe55:6e47/64 scope link 19:02:20 valid_lft forever preferred_lft forever 19:02:20 19:02:20 19:02:20 ---> sar -b -r -n DEV: 19:02:20 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/08/21 _x86_64_ (2 CPU) 19:02:20 19:02:20 18:54:59 LINUX RESTART (2 CPU) 19:02:20 19:02:20 18:56:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:02:20 18:57:01 1.90 0.00 1.90 0.00 0.00 41.53 0.00 19:02:20 18:58:01 0.35 0.00 0.35 0.00 0.00 5.06 0.00 19:02:20 18:59:01 0.33 0.00 0.33 0.00 0.00 4.61 0.00 19:02:20 19:00:01 0.18 0.00 0.18 0.00 0.00 2.07 0.00 19:02:20 19:01:01 0.37 0.02 0.35 0.00 0.13 5.15 0.00 19:02:20 19:02:01 0.50 0.20 0.30 0.00 11.72 4.46 0.00 19:02:20 Average: 0.61 0.04 0.57 0.00 1.98 10.48 0.00 19:02:20 19:02:20 18:56:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:02:20 18:57:01 5461068 0 805140 10.05 2620 1740112 1208044 13.34 573212 1576472 16 19:02:20 18:58:01 5461584 0 804616 10.05 2620 1740120 1204960 13.30 579000 1570508 16 19:02:20 18:59:01 5459372 0 806828 10.07 2620 1740120 1205200 13.31 576360 1575372 8 19:02:20 19:00:01 5458836 0 807360 10.08 2620 1740124 1205296 13.31 576040 1576356 8 19:02:20 19:01:01 5458060 0 808124 10.09 2620 1740136 1207808 13.33 572936 1579756 8 19:02:20 19:02:01 5446424 0 819180 10.23 2620 1740716 1292868 14.27 693816 1467884 76 19:02:20 Average: 5457557 0 808541 10.10 2620 1740221 1220696 13.48 595227 1557725 22 19:02:20 19:02:20 18:56:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:02:20 18:57:01 eth0 0.33 0.10 0.02 0.02 0.00 0.00 0.00 0.00 19:02:20 18:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:02:20 18:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:02:20 18:58:01 eth0 0.58 0.08 0.06 0.01 0.00 0.00 0.00 0.00 19:02:20 18:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:02:20 18:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:02:20 18:59:01 eth0 1.02 0.50 0.32 0.21 0.00 0.00 0.00 0.00 19:02:20 18:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:02:20 18:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:02:20 19:00:01 eth0 0.65 0.55 0.42 0.22 0.00 0.00 0.00 0.00 19:02:20 19:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:02:20 19:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:02:20 19:01:01 eth0 0.28 0.25 0.14 0.07 0.00 0.00 0.00 0.00 19:02:20 19:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:02:20 19:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:02:20 19:02:01 eth0 6.16 4.63 3.98 23.38 0.00 0.00 0.00 0.00 19:02:20 19:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:02:20 19:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:02:20 Average: eth0 1.50 1.02 0.82 3.99 0.00 0.00 0.00 0.00 19:02:20 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:02:20 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:02:20 19:02:20 19:02:20 ---> sar -P ALL: 19:02:20 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/08/21 _x86_64_ (2 CPU) 19:02:20 19:02:20 18:54:59 LINUX RESTART (2 CPU) 19:02:20 19:02:20 18:56:01 CPU %user %nice %system %iowait %steal %idle 19:02:20 18:57:01 all 0.18 0.00 0.06 0.00 0.02 99.74 19:02:20 18:57:01 0 0.10 0.00 0.07 0.00 0.02 99.82 19:02:20 18:57:01 1 0.27 0.00 0.05 0.00 0.02 99.67 19:02:20 18:58:01 all 0.14 0.00 0.03 0.00 0.02 99.81 19:02:20 18:58:01 0 0.25 0.00 0.05 0.00 0.03 99.67 19:02:20 18:58:01 1 0.03 0.00 0.02 0.00 0.00 99.95 19:02:20 18:59:01 all 0.10 0.00 0.03 0.00 0.02 99.85 19:02:20 18:59:01 0 0.08 0.00 0.03 0.00 0.02 99.87 19:02:20 18:59:01 1 0.12 0.00 0.03 0.00 0.02 99.83 19:02:20 19:00:01 all 0.09 0.00 0.03 0.00 0.02 99.87 19:02:20 19:00:01 0 0.05 0.00 0.03 0.00 0.02 99.90 19:02:20 19:00:01 1 0.13 0.00 0.02 0.00 0.02 99.83 19:02:20 19:01:01 all 0.13 0.00 0.07 0.00 0.01 99.79 19:02:20 19:01:01 0 0.08 0.00 0.10 0.00 0.02 99.80 19:02:20 19:01:01 1 0.18 0.00 0.03 0.00 0.00 99.78 19:02:20 19:02:01 all 1.45 0.00 0.19 0.01 0.03 98.33 19:02:20 19:02:01 0 1.57 0.00 0.22 0.00 0.02 98.20 19:02:20 19:02:01 1 1.32 0.00 0.17 0.02 0.03 98.46 19:02:20 Average: all 0.35 0.00 0.07 0.00 0.02 99.56 19:02:20 Average: 0 0.36 0.00 0.08 0.00 0.02 99.54 19:02:20 Average: 1 0.34 0.00 0.05 0.00 0.01 99.59 19:02:20 19:02:20 19:02:20