cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 53e0d6aa6f62f386083d777447c0003f9a1e544b+ce650ad78b6c877d3227a46e4e9eafbdd6610562 (d51631d72cee0968ec87495e32cf9c3e782612b7) 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1750615549896065647.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2623409770694591772.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 c141c1271097dc03ad291c2451e310eaf98cdd06 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-380/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-380/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8479428840517950394.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4472746889606451045.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-380/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-380/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4100581801137736672.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1481 in /w/workspace/edgexfoundry_device-sdk-c_PR-380 [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-380 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp/jenkins-gitclient-ssh1457110168005376741.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 ce650ad78b6c877d3227a46e4e9eafbdd6610562 into PR head commit 53e0d6aa6f62f386083d777447c0003f9a1e544b Merge succeeded, producing 53e0d6aa6f62f386083d777447c0003f9a1e544b Checking out Revision 53e0d6aa6f62f386083d777447c0003f9a1e544b (PR-380) > 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp/jenkins-gitclient-ssh120832406075152494.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53e0d6aa6f62f386083d777447c0003f9a1e544b # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp/jenkins-gitclient-ssh3328079456839779734.key > git merge ce650ad78b6c877d3227a46e4e9eafbdd6610562 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53e0d6aa6f62f386083d777447c0003f9a1e544b # timeout=10 Commit message: "ci: Update PR Template" > git rev-list --no-walk 53e0d6aa6f62f386083d777447c0003f9a1e544b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:15:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:15:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:15:46 ========================================================= 04:15:46 EdgeX Global Pipelines Version Info 04:15:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:15:48 ------------------- 04:15:48 stable info: 04:15:48 ------------------- 04:15:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:15:48 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 04:15:48 Message: update stable to v1.0.206 04:15:48 ------------------- 04:15:48 experimental info: 04:15:48 ------------------- 04:15:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:15:48 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 04:15:48 Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:15:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 04:15:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 04:15:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:15:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:15:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:15:48 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 04:15:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 04:15:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 04:15:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:15:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:15:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 04:15:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:15:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:15:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:15:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:15:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:15:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:15:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:15:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-380 [Pipeline] echo 04:15:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-380 [Pipeline] echo 04:15:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-380 [Pipeline] echo 04:15:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53e0d6aa6f62f386083d777447c0003f9a1e544b [Pipeline] echo 04:15:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53e0d6a [Pipeline] echo 04:15:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:15:49 provisioning config files... 04:15:49 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp/config2634064026843198123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:49 ---> docker-login.sh 04:15:49 nexus3.edgexfoundry.org:10001 04:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:49 Configure a credential helper to remove this warning. See 04:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:49 04:15:49 Login Succeeded 04:15:49 nexus3.edgexfoundry.org:10002 04:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:49 Configure a credential helper to remove this warning. See 04:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:49 04:15:49 Login Succeeded 04:15:49 nexus3.edgexfoundry.org:10003 04:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:50 Configure a credential helper to remove this warning. See 04:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:50 04:15:50 Login Succeeded 04:15:50 nexus3.edgexfoundry.org:10004 04:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:50 Configure a credential helper to remove this warning. See 04:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:50 04:15:50 Login Succeeded 04:15:50 docker.io 04:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:50 Configure a credential helper to remove this warning. See 04:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:50 04:15:50 Login Succeeded 04:15:50 ---> docker-login.sh ends [Pipeline] } 04:15: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 04:15:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:15:51 04:15:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:15:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:15:51 latest: Pulling from edgex-devops/git-semver 04:15:51 31603596830f: Pulling fs layer 04:15:51 04fac38145f0: Pulling fs layer 04:15:51 701f6daf10bf: Pulling fs layer 04:15:51 24f72da36158: Pulling fs layer 04:15:51 24f72da36158: Waiting 04:15:51 04fac38145f0: Verifying Checksum 04:15:51 04fac38145f0: Download complete 04:15:52 31603596830f: Verifying Checksum 04:15:52 31603596830f: Download complete 04:15:52 701f6daf10bf: Verifying Checksum 04:15:52 701f6daf10bf: Download complete 04:15:52 24f72da36158: Verifying Checksum 04:15:52 24f72da36158: Download complete 04:15:52 31603596830f: Pull complete 04:15:52 04fac38145f0: Pull complete 04:15:53 701f6daf10bf: Pull complete 04:15:53 24f72da36158: Pull complete 04:15:53 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 04:15:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:15:53 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:15:53 prd-centos7-docker-4c-2g-1481 does not seem to be running inside a container 04:15:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-380 -v /w/workspace/edgexfoundry_device-sdk-c_PR-380:/w/workspace/edgexfoundry_device-sdk-c_PR-380:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-380@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:15:54 $ docker top 3bfaef52673141d3a7cfcd9ab27a421702890efcd92c1582639685c740fbd980 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:15:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:15:54 [ssh-agent] Looking for ssh-agent implementation... 04:15:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:15:54 $ docker exec 3bfaef52673141d3a7cfcd9ab27a421702890efcd92c1582639685c740fbd980 ssh-agent 04:15:54 SSH_AUTH_SOCK=/tmp/ssh-RbmXeeJan9Rw/agent.15 04:15:54 SSH_AGENT_PID=21 04:15:54 Running ssh-add (command line suppressed) 04:15:54 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp/private_key_6908537980738520257.key (/w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp/private_key_6908537980738520257.key) 04:15:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:15:55 + git tag --points-at HEAD [Pipeline] } 04:15:55 $ docker exec --env ******** --env ******** 3bfaef52673141d3a7cfcd9ab27a421702890efcd92c1582639685c740fbd980 ssh-agent -k 04:15:55 unset SSH_AUTH_SOCK; 04:15:55 unset SSH_AGENT_PID; 04:15:55 echo Agent pid 21 killed; 04:15:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:15:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:15:55 [ssh-agent] Looking for ssh-agent implementation... 04:15:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:15:55 $ docker exec 3bfaef52673141d3a7cfcd9ab27a421702890efcd92c1582639685c740fbd980 ssh-agent 04:15:55 SSH_AUTH_SOCK=/tmp/ssh-9AVG2sZq1eYU/agent.56 04:15:55 SSH_AGENT_PID=62 04:15:55 Running ssh-add (command line suppressed) 04:15:55 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp/private_key_7267482677944496406.key (/w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp/private_key_7267482677944496406.key) 04:15:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:15:55 + git semver init 04:15:55 # -> Open(): unable to determine branch for HEAD 04:15:55 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-380/.git 04:15:55 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-380 04:15:55 # $SEMVER_REMOTE_NAME = origin 04:15:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:15:55 # $SEMVER_USER_NAME = edgex-jenkins 04:15:55 # $SEMVER_BRANCH = PR-380 04:15:55 # $SEMVER_TEMP = /tmp/semver-850740102 04:15:55 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 04:15:56 # '/tmp/semver-850740102' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-380/.semver' 04:15:56 # -> Force: false 04:15:56 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-380/.semver [Pipeline] } 04:15:56 $ docker exec --env ******** --env ******** 3bfaef52673141d3a7cfcd9ab27a421702890efcd92c1582639685c740fbd980 ssh-agent -k 04:15:56 unset SSH_AUTH_SOCK; 04:15:56 unset SSH_AGENT_PID; 04:15:56 echo Agent pid 62 killed; 04:15:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:15:57 + git semver [Pipeline] } 04:15:57 $ docker stop --time=1 3bfaef52673141d3a7cfcd9ab27a421702890efcd92c1582639685c740fbd980 04:15:58 $ docker rm -f 3bfaef52673141d3a7cfcd9ab27a421702890efcd92c1582639685c740fbd980 [Pipeline] // withDockerContainer [Pipeline] sh 04:15:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:15:58 Stashed 1 file(s) [Pipeline] echo 04:15:58 [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 04:16:14 Still waiting to schedule task 04:16:14 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:16:14 Still waiting to schedule task 04:16:14 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:18:36 Running on prd-centos7-docker-4c-2g-1488 in /w/workspace/edgexfoundry_device-sdk-c_PR-380 [Pipeline] { [Pipeline] ws 04:18:36 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 04:18:36 Selected Git installation does not exist. Using Default 04:18:36 The recommended git tool is: NONE 04:18:39 using credential edgex-jenkins-ssh 04:18:39 Cloning the remote Git repository 04:18:39 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 04:18:39 > git init /w/workspace/device-sdk-c/2 # timeout=10 04:18:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 04:18:39 > git --version # timeout=10 04:18:39 > git --version # 'git version 2.24.4' 04:18:39 using GIT_SSH to set credentials SSH Credentials for GitHub 04:18:39 [INFO] Currently running in a labeled security context 04:18:39 [INFO] Currently SELinux is 'enforcing' on the host 04:18:39 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh4825158028826499979.key 04:18:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:18:40 Merging remotes/origin/main commit ce650ad78b6c877d3227a46e4e9eafbdd6610562 into PR head commit 53e0d6aa6f62f386083d777447c0003f9a1e544b 04:18:40 Merge succeeded, producing 53e0d6aa6f62f386083d777447c0003f9a1e544b 04:18:40 Checking out Revision 53e0d6aa6f62f386083d777447c0003f9a1e544b (PR-380) 04:18:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 04:18:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:18:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 04:18:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 04:18:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:18:40 [INFO] Currently running in a labeled security context 04:18:40 [INFO] Currently SELinux is 'enforcing' on the host 04:18:40 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh2424501419309034349.key 04:18:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:18:40 > git config core.sparsecheckout # timeout=10 04:18:40 > git checkout -f 53e0d6aa6f62f386083d777447c0003f9a1e544b # timeout=10 04:18:40 > git remote # timeout=10 04:18:40 > git config --get remote.origin.url # timeout=10 04:18:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:18:40 [INFO] Currently running in a labeled security context 04:18:40 [INFO] Currently SELinux is 'enforcing' on the host 04:18:40 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh1369813652715439010.key 04:18:40 > git merge ce650ad78b6c877d3227a46e4e9eafbdd6610562 # timeout=10 04:18:40 > git rev-parse HEAD^{commit} # timeout=10 04:18:40 > git config core.sparsecheckout # timeout=10 04:18:40 > git checkout -f 53e0d6aa6f62f386083d777447c0003f9a1e544b # timeout=10 04:18:44 Commit message: "ci: Update PR Template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:18:45 provisioning config files... 04:18:45 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config7584104479104233261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:45 ---> docker-login.sh 04:18:45 nexus3.edgexfoundry.org:10001 04:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:46 Configure a credential helper to remove this warning. See 04:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:46 04:18:46 Login Succeeded 04:18:46 nexus3.edgexfoundry.org:10002 04:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:46 Configure a credential helper to remove this warning. See 04:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:46 04:18:46 Login Succeeded 04:18:46 nexus3.edgexfoundry.org:10003 04:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:46 Configure a credential helper to remove this warning. See 04:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:46 04:18:46 Login Succeeded 04:18:46 nexus3.edgexfoundry.org:10004 04:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:46 Configure a credential helper to remove this warning. See 04:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:46 04:18:46 Login Succeeded 04:18:46 docker.io 04:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:46 Configure a credential helper to remove this warning. See 04:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:46 04:18:46 Login Succeeded 04:18:46 ---> docker-login.sh ends [Pipeline] } 04:18:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:18:47 ========================================================= 04:18:47 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 04:18:47 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:18:47 + 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 . 04:18:47 Sending build context to Docker daemon 2.71MB 04:18:47 Step 1/25 : ARG BASE=alpine:3.14 04:18:47 Step 2/25 : FROM ${BASE} as builder 04:18:47 latest: Pulling from edgex-devops/edgex-gcc-base 04:18:47 339de151aab4: Pulling fs layer 04:18:47 3691962f683c: Pulling fs layer 04:18:47 e1147bf81a45: Pulling fs layer 04:18:47 3691962f683c: Verifying Checksum 04:18:47 3691962f683c: Download complete 04:18:47 339de151aab4: Verifying Checksum 04:18:47 339de151aab4: Download complete 04:18:48 339de151aab4: Pull complete 04:18:48 3691962f683c: Pull complete 04:18:48 e1147bf81a45: Verifying Checksum 04:18:48 e1147bf81a45: Download complete 04:18:51 e1147bf81a45: Pull complete 04:18:51 Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee 04:18:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 04:18:51 ---> ac6a0feb3254 04:18:51 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 04:18:53 ---> Running in 23910e8e9cb2 04:18:53 Connecting to iotech.jfrog.io (54.195.244.87:443) 04:18:53 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 04:18:53 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 04:18:53 '/etc/apk/keys/alpine.dev.rsa.pub' saved 04:18:54 Removing intermediate container 23910e8e9cb2 04:18:54 ---> fcde525e2df8 04:18:54 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 04:18:54 ---> Running in 92ac9fa8c406 04:18:54 Removing intermediate container 92ac9fa8c406 04:18:54 ---> 28fcd63b02f8 04:18:54 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-1.3 hiredis-dev 04:18:54 ---> Running in 2e814812ab8c 04:18:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:18:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:18:55 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 04:18:56 WARNING: This apk-tools is OLD! Some packages might not function properly. 04:18:56 (1/22) Installing hiredis (0.14.1-r0) 04:18:56 (2/22) Installing hiredis-dev (0.14.1-r0) 04:18:56 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 04:18:56 (4/22) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 04:18:57 (5/22) Installing libblkid (2.35.2-r0) 04:18:57 (6/22) Installing blkid (2.35.2-r0) 04:18:57 (7/22) Installing libcap-ng (0.7.10-r1) 04:18:57 (8/22) Installing setpriv (2.35.2-r0) 04:18:57 (9/22) Installing libmount (2.35.2-r0) 04:18:57 (10/22) Installing libsmartcols (2.35.2-r0) 04:18:57 (11/22) Installing findmnt (2.35.2-r0) 04:18:57 (12/22) Installing mcookie (2.35.2-r0) 04:18:57 (13/22) Installing hexdump (2.35.2-r0) 04:18:57 (14/22) Installing lsblk (2.35.2-r0) 04:18:58 (15/22) Installing libuuid (2.35.2-r0) 04:18:58 (16/22) Installing libfdisk (2.35.2-r0) 04:18:58 (17/22) Installing sfdisk (2.35.2-r0) 04:18:58 (18/22) Installing cfdisk (2.35.2-r0) 04:18:58 (19/22) Installing util-linux (2.35.2-r0) 04:18:58 (20/22) Installing util-linux-dev (2.35.2-r0) 04:18:58 (21/22) Installing libidn2 (2.3.0-r0) 04:18:59 (22/22) Installing wget (1.20.3-r1) 04:18:59 Executing busybox-1.31.1-r20.trigger 04:18:59 OK: 295 MiB in 97 packages 04:18:59 Removing intermediate container 2e814812ab8c 04:18:59 ---> 6ff9afffe91c 04:18:59 Step 6/25 : ENV CBOR_VERSION=0.5.0 04:18:59 ---> Running in a839d28d7b55 04:18:59 Removing intermediate container a839d28d7b55 04:18:59 ---> 1ed15e42a22f 04:18:59 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 04:18:59 ---> Running in 842aa819ced1 04:18:59 --2021-10-05 04:18:59-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 04:18:59 Resolving github.com (github.com)... 140.82.112.4 04:18:59 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 04:19:00 HTTP request sent, awaiting response... 302 Found 04:19:00 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 04:19:00 --2021-10-05 04:18:59-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 04:19:00 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 04:19:00 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 04:19:00 HTTP request sent, awaiting response... 200 OK 04:19:00 Length: unspecified [application/x-gzip] 04:19:00 Saving to: 'STDOUT' 04:19:00  04:19:00 0K .......... .......... .......... .......... .......... 1.21M 04:19:00 50K .......... .......... .......... .......... .......... 2.73M 04:19:00 100K .......... .......... .......... .......... .......... 19.4M 04:19:00 150K .......... .......... .......... .......... .......... 24.5M 04:19:00 200K .......... .......... .......... .......... .......... 2.93M 04:19:00 250K .......... .......... .......... .......... .......... 7.55M 04:19:00 300K .......... .......... .......... .......... .......... 15.0M 04:19:00 350K .......... .......... .......... .......... .......... 17.4M 04:19:00 400K .......... .......... .......... .......... .......... 7.53M 04:19:00 450K .......... .......... .......... .......... .......... 52.7M 04:19:00 500K .......... .......... .......... .......... .......... 16.1M 04:19:00 550K .......... .......... .......... .......... .......... 9.58M 04:19:00 600K .......... .......... .......... .......... .......... 4.04M 04:19:00 650K .......... .......... .......... .......... .......... 7.50M 04:19:00 700K .. 100M=0.1s 04:19:00 04:19:00 2021-10-05 04:19:00 (5.45 MB/s) - written to stdout [719348] 04:19:00 04:19:00 -- The C compiler identification is GNU 9.3.0 04:19:00 -- The CXX compiler identification is GNU 9.3.0 04:19:00 -- Check for working C compiler: /usr/bin/cc 04:19:00 -- Check for working C compiler: /usr/bin/cc - works 04:19:00 -- Detecting C compiler ABI info 04:19:00 -- Detecting C compiler ABI info - done 04:19:00 -- Detecting C compile features 04:19:00 -- Detecting C compile features - done 04:19:00 -- Check for working CXX compiler: /usr/bin/c++ 04:19:00 -- Check for working CXX compiler: /usr/bin/c++ - works 04:19:00 -- Detecting CXX compiler ABI info 04:19:00 -- Detecting CXX compiler ABI info - done 04:19:00 -- Detecting CXX compile features 04:19:00 -- Detecting CXX compile features - done 04:19:00 -- Looking for include file endian.h 04:19:00 -- Looking for include file endian.h - found 04:19:00 -- Check if the system is big endian 04:19:00 -- Searching 16 bit integer 04:19:00 -- Looking for sys/types.h 04:19:00 -- Looking for sys/types.h - found 04:19:00 -- Looking for stdint.h 04:19:00 -- Looking for stdint.h - found 04:19:00 -- Looking for stddef.h 04:19:01 -- Looking for stddef.h - found 04:19:01 -- Check size of unsigned short 04:19:01 -- Check size of unsigned short - done 04:19:01 -- Searching 16 bit integer - Using unsigned short 04:19:01 -- Check if the system is big endian - little endian 04:19:01 -- Check size of size_t 04:19:01 -- Check size of size_t - done 04:19:01 CMake Warning at examples/CMakeLists.txt:16 (find_package): 04:19:01 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 04:19:01 asked CMake to find a package configuration file provided by "cJSON", but 04:19:01 CMake did not find one. 04:19:01 04:19:01 Could not find a package configuration file provided by "cJSON" with any of 04:19:01 the following names: 04:19:01 04:19:01 cJSONConfig.cmake 04:19:01 cjson-config.cmake 04:19:01 04:19:01 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 04:19:01 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 04:19:01 provides a separate development package or SDK, be sure it has been 04:19:01 installed. 04:19:01 04:19:01 04:19:01 -- Configuring done 04:19:01 -- Generating done 04:19:01 -- Build files have been written to: /tmp/cbor 04:19:01 Scanning dependencies of target cbor_shared 04:19:01 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 04:19:01 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 04:19:01 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 04:19:01 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 04:19:01 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 04:19:02 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 04:19:02 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 04:19:02 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 04:19:02 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 04:19:02 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 04:19:02 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 04:19:02 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 04:19:02 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 04:19:02 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 04:19:02 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 04:19:02 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 04:19:02 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 04:19:02 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 04:19:02 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 04:19:02 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 04:19:02 [ 40%] Linking C shared library libcbor.so 04:19:02 [ 40%] Built target cbor_shared 04:19:02 Scanning dependencies of target cbor 04:19:02 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 04:19:03 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 04:19:03 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 04:19:03 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 04:19:03 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 04:19:03 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 04:19:03 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 04:19:03 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 04:19:03 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 04:19:03 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 04:19:03 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 04:19:03 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 04:19:03 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 04:19:04 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 04:19:04 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 04:19:04 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 04:19:04 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 04:19:04 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 04:19:04 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 04:19:04 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 04:19:04 [ 80%] Linking C static library libcbor.a 04:19:04 [ 80%] Built target cbor 04:19:04 Scanning dependencies of target sort 04:19:04 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 04:19:04 [ 84%] Linking C executable sort 04:19:04 [ 84%] Built target sort 04:19:04 Scanning dependencies of target readfile 04:19:04 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 04:19:04 [ 88%] Linking C executable readfile 04:19:04 [ 88%] Built target readfile 04:19:04 Scanning dependencies of target streaming_parser 04:19:04 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 04:19:04 [ 92%] Linking C executable streaming_parser 04:19:04 [ 92%] Built target streaming_parser 04:19:04 Scanning dependencies of target hello 04:19:04 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 04:19:05 [ 96%] Linking C executable hello 04:19:05 [ 96%] Built target hello 04:19:05 Scanning dependencies of target create_items 04:19:05 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 04:19:05 [100%] Linking C executable create_items 04:19:05 [100%] Built target create_items 04:19:05 Install the project... 04:19:05 -- Install configuration: "Release" 04:19:05 -- Installing: /usr/local/include/cbor/configuration.h 04:19:05 -- Installing: /usr/local/lib64/libcbor.a 04:19:05 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 04:19:05 -- Installing: /usr/local/lib64/libcbor.so.0 04:19:05 -- Installing: /usr/local/lib64/libcbor.so 04:19:05 -- Up-to-date: /usr/local/include/cbor 04:19:05 -- Installing: /usr/local/include/cbor/arrays.h 04:19:05 -- Installing: /usr/local/include/cbor/bytestrings.h 04:19:05 -- Installing: /usr/local/include/cbor/callbacks.h 04:19:05 -- Installing: /usr/local/include/cbor/common.h 04:19:05 -- Installing: /usr/local/include/cbor/data.h 04:19:05 -- Installing: /usr/local/include/cbor/encoding.h 04:19:05 -- Installing: /usr/local/include/cbor/floats_ctrls.h 04:19:05 -- Installing: /usr/local/include/cbor/internal 04:19:05 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 04:19:05 -- Installing: /usr/local/include/cbor/internal/encoders.h 04:19:05 -- Installing: /usr/local/include/cbor/internal/loaders.h 04:19:05 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 04:19:05 -- Installing: /usr/local/include/cbor/internal/stack.h 04:19:05 -- Installing: /usr/local/include/cbor/internal/unicode.h 04:19:05 -- Installing: /usr/local/include/cbor/ints.h 04:19:05 -- Installing: /usr/local/include/cbor/maps.h 04:19:05 -- Installing: /usr/local/include/cbor/serialization.h 04:19:05 -- Installing: /usr/local/include/cbor/streaming.h 04:19:05 -- Installing: /usr/local/include/cbor/strings.h 04:19:05 -- Installing: /usr/local/include/cbor/tags.h 04:19:05 -- Installing: /usr/local/include/cbor.h 04:19:05 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 04:19:05 Removing intermediate container 842aa819ced1 04:19:05 ---> b2c1ebaa275f 04:19:05 Step 8/25 : RUN mkdir /tmp/sdk 04:19:05 ---> Running in 4daf38461c00 04:19:06 Removing intermediate container 4daf38461c00 04:19:06 ---> 79e04bfaf00d 04:19:06 Step 9/25 : COPY VERSION /tmp/sdk 04:19:06 ---> 0ec45539734e 04:19:06 Step 10/25 : COPY src /tmp/sdk/src 04:19:06 ---> 641b23fb770c 04:19:06 Step 11/25 : COPY include /tmp/sdk/include 04:19:06 ---> 763d0e0010c4 04:19:06 Step 12/25 : COPY scripts /tmp/sdk/scripts 04:19:06 ---> f1cd24da82a0 04:19:06 Step 13/25 : COPY LICENSE /tmp/sdk 04:19:06 ---> a0655896b52b 04:19:06 Step 14/25 : COPY Attribution.txt /tmp/sdk 04:19:06 ---> 4969494a1229 04:19:06 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 04:19:06 ---> Running in d08ce1d71f8c 04:19:07 + CPPCHECK=false 04:19:07 + DOCGEN=false 04:19:07 + TOMLVER=SDK-0.2 04:19:07 + CUTILVER=1.2.2 04:19:07 + '[' 0 -gt 0 ] 04:19:07 + readlink -f ./scripts/build.sh 04:19:07 + dirname /tmp/sdk/scripts/build.sh 04:19:07 + dirname /tmp/sdk/scripts 04:19:07 + ROOT=/tmp/sdk 04:19:07 + cd /tmp/sdk 04:19:07 + '[' '!' -d deps ] 04:19:07 + mkdir deps 04:19:07 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 04:19:07 + tar -C deps -z -x -f - 04:19:07 --2021-10-05 04:19:07-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 04:19:07 Resolving github.com (github.com)... 140.82.112.4 04:19:07 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 04:19:07 HTTP request sent, awaiting response... 302 Found 04:19:07 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 04:19:07 --2021-10-05 04:19:07-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 04:19:07 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 04:19:07 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 04:19:07 HTTP request sent, awaiting response... 200 OK 04:19:07 Length: unspecified [application/x-gzip] 04:19:07 Saving to: 'STDOUT' 04:19:07  04:19:07 0K .......... ......  834K=0.02s 04:19:07 04:19:07 2021-10-05 04:19:07 (834 KB/s) - written to stdout [16451] 04:19:07 04:19:07 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 04:19:07 + tar -C deps -z -x+ -f - 04:19:07 wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 04:19:07 --2021-10-05 04:19:07-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 04:19:07 Resolving github.com (github.com)... 140.82.112.4 04:19:07 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 04:19:07 HTTP request sent, awaiting response... 302 Found 04:19:07 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 04:19:07 --2021-10-05 04:19:07-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 04:19:07 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 04:19:07 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 04:19:07 HTTP request sent, awaiting response... 200 OK 04:19:07 Length: unspecified [application/x-gzip] 04:19:07 Saving to: 'STDOUT' 04:19:07 04:19:07 0K .......... .......... .......... .......... .......... 1.22M 04:19:08 50K .......... .......... .......... .......... .......... 2.64M 04:19:08 100K .......... .......... .......... .......... .......... 22.1M 04:19:08 150K .......... .......... .......... ......... 5.39M=0.07s 04:19:08 04:19:08 2021-10-05 04:19:07 (2.73 MB/s) - written to stdout [193971] 04:19:08 04:19:08 + mkdir -p src/c/iot 04:19:08 + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot 04:19:08 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 04:19:08 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 04:19:08 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 04:19:08 + mkdir -p include/iot 04:19:08 + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot 04:19:08 + mkdir -p include/iot/os 04:19:08 + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os 04:19:08 + mkdir -p /tmp/sdk/build/release 04:19:08 + cd /tmp/sdk/build/release 04:19:08 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 04:19:08 -- The C compiler identification is GNU 9.3.0 04:19:08 -- Check for working C compiler: /usr/bin/cc 04:19:08 -- Check for working C compiler: /usr/bin/cc - works 04:19:08 -- Detecting C compiler ABI info 04:19:08 -- Detecting C compiler ABI info - done 04:19:08 -- Detecting C compile features 04:19:08 -- Detecting C compile features - done 04:19:08 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 04:19:08 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 04:19:08 -- Found LIBYAML: /usr/lib/libyaml.so 04:19:08 -- Found LIBUUID: /usr/lib/libuuid.so 04:19:08 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 04:19:08 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 04:19:08 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 04:19:08 -- C SDK 0.0.0 for Linux 04:19:08 -- Performing Test CSDK_HAVE_ATOMIC 04:19:08 -- Performing Test CSDK_HAVE_ATOMIC - Success 04:19:08 -- Found Curses: /usr/lib/libcurses.so 04:19:08 -- Configuring done 04:19:08 -- Generating done 04:19:08 -- Build files have been written to: /tmp/sdk/build/release 04:19:08 + make all package 04:19:08 + tee release.log 04:19:08 Scanning dependencies of target csdk 04:19:08 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 04:19:08 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 04:19:08 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 04:19:09 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 04:19:09 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 04:19:09 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 04:19:09 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 04:19:09 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 04:19:09 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 04:19:09 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 04:19:09 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 04:19:09 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 04:19:10 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 04:19:10 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 04:19:10 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 04:19:10 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 04:19:10 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 04:19:11 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 04:19:11 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 04:19:11 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 04:19:11 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 04:19:11 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 04:19:11 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 04:19:11 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 04:19:11 275 | const iot_component_factory_t * factory; 04:19:11 | ^~~~~~~ 04:19:11 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 04:19:12 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 04:19:12 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 04:19:12 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 04:19:12 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 04:19:12 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 04:19:12 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 04:19:12 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 04:19:12 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 04:19:13 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 04:19:13 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 04:19:13 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 04:19:13 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 04:19:13 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 04:19:13 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 04:19:13 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 04:19:14 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 04:19:14 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 04:19:14 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 04:19:14 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 04:19:14 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 04:19:15 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 04:19:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1486 in /w/workspace/edgexfoundry_device-sdk-c_PR-380 [Pipeline] { [Pipeline] ws 04:19:15 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 04:19:15 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 04:19:15 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 04:19:15 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 04:19:15 Selected Git installation does not exist. Using Default 04:19:15 The recommended git tool is: NONE 04:19:16 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 04:19:16 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 04:19:16 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 04:19:16 [ 76%] Linking C shared library libcsdk.so 04:19:16 [ 76%] Built target csdk 04:19:16 Scanning dependencies of target template 04:19:16 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 04:19:16 [ 79%] Linking C executable template 04:19:16 [ 79%] Built target template 04:19:16 Scanning dependencies of target device-counter 04:19:16 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 04:19:17 [ 82%] Linking C executable device-counter 04:19:17 [ 82%] Built target device-counter 04:19:17 Scanning dependencies of target device-random 04:19:17 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 04:19:17 [ 85%] Linking C executable device-random 04:19:17 [ 85%] Built target device-random 04:19:17 Scanning dependencies of target device-gyro 04:19:17 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 04:19:17 [ 88%] Linking C executable device-gyro 04:19:17 [ 88%] Built target device-gyro 04:19:17 Scanning dependencies of target device-bitfields 04:19:17 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 04:19:17 [ 91%] Linking C executable device-bitfields 04:19:17 [ 91%] Built target device-bitfields 04:19:17 Scanning dependencies of target template-discovery 04:19:17 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 04:19:17 [ 94%] Linking C executable template-discovery 04:19:17 [ 94%] Built target template-discovery 04:19:17 Scanning dependencies of target device-file 04:19:17 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 04:19:18 [ 97%] Linking C executable device-file 04:19:18 [ 97%] Built target device-file 04:19:18 Scanning dependencies of target device-terminal 04:19:18 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 04:19:18 [100%] Linking C executable device-terminal 04:19:18 [100%] Built target device-terminal 04:19:18 Run CPack packaging tool... 04:19:18 CPack: Create package using TGZ 04:19:18 CPack: Install projects 04:19:18 CPack: - Run preinstall target for: Csdk 04:19:18 CPack: - Install project: Csdk [] 04:19:18 CPack: Create package 04:19:18 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 04:19:18 + '[' false '=' true ] 04:19:18 + '[' false '=' true ] 04:19:18 + mkdir -p /tmp/sdk/build/debug 04:19:18 + cd /tmp/sdk/build/debug 04:19:18 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 04:19:18 -- The C compiler identification is GNU 9.3.0 04:19:18 -- Check for working C compiler: /usr/bin/cc 04:19:18 -- Check for working C compiler: /usr/bin/cc - works 04:19:18 -- Detecting C compiler ABI info 04:19:18 -- Detecting C compiler ABI info - done 04:19:18 -- Detecting C compile features 04:19:18 -- Detecting C compile features - done 04:19:18 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 04:19:18 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 04:19:18 -- Found LIBYAML: /usr/lib/libyaml.so 04:19:18 -- Found LIBUUID: /usr/lib/libuuid.so 04:19:18 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 04:19:18 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 04:19:18 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 04:19:18 -- C SDK 0.0.0 for Linux 04:19:18 -- Performing Test CSDK_HAVE_ATOMIC 04:19:18 -- Performing Test CSDK_HAVE_ATOMIC - Success 04:19:18 -- Found Curses: /usr/lib/libcurses.so 04:19:18 -- Configuring done 04:19:18 -- Generating done 04:19:18 -- Build files have been written to: /tmp/sdk/build/debug 04:19:18 + make 04:19:18 + tee debug.log 04:19:18 Scanning dependencies of target csdk 04:19:18 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 04:19:18 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 04:19:19 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 04:19:19 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 04:19:19 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 04:19:19 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 04:19:19 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 04:19:19 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 04:19:19 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 04:19:19 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 04:19:19 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 04:19:19 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 04:19:19 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 04:19:19 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 04:19:19 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 04:19:19 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 04:19:19 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 04:19:20 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 04:19:20 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 04:19:20 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 04:19:20 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 04:19:20 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 04:19:20 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 04:19:20 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 04:19:20 275 | const iot_component_factory_t * factory; 04:19:20 | ^~~~~~~ 04:19:20 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 04:19:20 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 04:19:20 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 04:19:20 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 04:19:20 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 04:19:20 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 04:19:20 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 04:19:20 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 04:19:20 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 04:19:20 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 04:19:21 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 04:19:21 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 04:19:21 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 04:19:21 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 04:19:21 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 04:19:21 using credential edgex-jenkins-ssh 04:19:21 Cloning the remote Git repository 04:19:21 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 04:19:21 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 04:19:21 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 04:19:21 > git init /w/workspace/device-sdk-c/2 # timeout=10 04:19:21 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 04:19:21 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 04:19:21 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 04:19:21 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 04:19:22 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 04:19:22 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 04:19:22 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 04:19:22 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 04:19:22 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 04:19:22 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 04:19:22 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 04:19:22 [ 76%] Linking C shared library libcsdk.so 04:19:22 [ 76%] Built target csdk 04:19:22 Scanning dependencies of target template 04:19:22 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 04:19:22 [ 79%] Linking C executable template 04:19:22 [ 79%] Built target template 04:19:22 Scanning dependencies of target device-counter 04:19:22 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 04:19:22 [ 82%] Linking C executable device-counter 04:19:22 [ 82%] Built target device-counter 04:19:22 Scanning dependencies of target device-random 04:19:22 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 04:19:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 04:19:21 > git --version # timeout=10 04:19:21 > git --version # 'git version 2.17.1' 04:19:21 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:19:23 [ 85%] Linking C executable device-random 04:19:23 [ 85%] Built target device-random 04:19:23 Scanning dependencies of target device-gyro 04:19:23 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 04:19:23 [ 88%] Linking C executable device-gyro 04:19:23 [ 88%] Built target device-gyro 04:19:23 Scanning dependencies of target device-bitfields 04:19:23 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 04:19:23 [ 91%] Linking C executable device-bitfields 04:19:23 [ 91%] Built target device-bitfields 04:19:23 Scanning dependencies of target template-discovery 04:19:23 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 04:19:23 [ 94%] Linking C executable template-discovery 04:19:23 [ 94%] Built target template-discovery 04:19:23 Scanning dependencies of target device-file 04:19:23 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 04:19:23 [ 97%] Linking C executable device-file 04:19:23 [ 97%] Built target device-file 04:19:23 Scanning dependencies of target device-terminal 04:19:23 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 04:19:23 [100%] Linking C executable device-terminal 04:19:23 [100%] Built target device-terminal 04:19:23 make: Entering directory '/tmp/sdk/build/release' 04:19:23 make[1]: Entering directory '/tmp/sdk/build/release' 04:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 04:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 04:19:23 [ 76%] Built target csdk 04:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 04:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 04:19:23 [ 79%] Built target template 04:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 04:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 04:19:23 [ 82%] Built target device-counter 04:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 04:19:23 Merging remotes/origin/main commit ce650ad78b6c877d3227a46e4e9eafbdd6610562 into PR head commit 53e0d6aa6f62f386083d777447c0003f9a1e544b 04:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 04:19:23 [ 85%] Built target device-random 04:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 04:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 04:19:23 [ 88%] Built target device-gyro 04:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 04:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 04:19:23 [ 91%] Built target device-bitfields 04:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 04:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 04:19:23 [ 94%] Built target template-discovery 04:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 04:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 04:19:23 [ 97%] Built target device-file 04:19:23 make[2]: Entering directory '/tmp/sdk/build/release' 04:19:23 make[2]: Leaving directory '/tmp/sdk/build/release' 04:19:23 [100%] Built target device-terminal 04:19:23 make[1]: Leaving directory '/tmp/sdk/build/release' 04:19:23 Install the project... 04:19:23 -- Install configuration: "Release" 04:19:23 -- Installing: /usr/local/lib/libcsdk.so 04:19:23 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 04:19:23 -- Up-to-date: /usr/local/include 04:19:23 -- Installing: /usr/local/include/devsdk 04:19:23 -- Installing: /usr/local/include/devsdk/devsdk-base.h 04:19:23 -- Installing: /usr/local/include/devsdk/devsdk.h 04:19:23 -- Installing: /usr/local/include/edgex 04:19:23 -- Installing: /usr/local/include/edgex/devices.h 04:19:23 -- Installing: /usr/local/include/edgex/edgex-base.h 04:19:23 -- Installing: /usr/local/include/edgex/edgex.h 04:19:23 -- Installing: /usr/local/include/edgex/profiles.h 04:19:23 -- Installing: /usr/local/include/edgex/rest-server.h 04:19:23 -- Installing: /usr/local/include/edgex/csdk-defs.h 04:19:23 -- Installing: /usr/local/include/iot 04:19:23 -- Installing: /usr/local/include/iot/base64.h 04:19:23 -- Installing: /usr/local/include/iot/component.h 04:19:23 -- Installing: /usr/local/include/iot/config.h 04:19:23 -- Installing: /usr/local/include/iot/container.h 04:19:23 -- Installing: /usr/local/include/iot/data.h 04:19:23 -- Installing: /usr/local/include/iot/hash.h 04:19:23 -- Installing: /usr/local/include/iot/iot.h 04:19:23 -- Installing: /usr/local/include/iot/json.h 04:19:23 -- Installing: /usr/local/include/iot/logger.h 04:19:23 -- Installing: /usr/local/include/iot/os.h 04:19:23 -- Installing: /usr/local/include/iot/scheduler.h 04:19:23 -- Installing: /usr/local/include/iot/thread.h 04:19:23 -- Installing: /usr/local/include/iot/threadpool.h 04:19:23 -- Installing: /usr/local/include/iot/time.h 04:19:23 -- Installing: /usr/local/include/iot/typecode.h 04:19:23 -- Installing: /usr/local/include/iot/uuid.h 04:19:23 -- Installing: /usr/local/include/iot/os 04:19:23 -- Installing: /usr/local/include/iot/os/linux.h 04:19:23 -- Installing: /usr/local/include/iot/os/macos.h 04:19:23 -- Installing: /usr/local/include/iot/os/zephyr.h 04:19:23 -- Installing: /usr/local/include/iot/defs.h 04:19:23 -- Installing: /usr/local/share/device-sdk-c/LICENSE 04:19:23 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 04:19:23 make: Leaving directory '/tmp/sdk/build/release' 04:19:24 Merge succeeded, producing 53e0d6aa6f62f386083d777447c0003f9a1e544b 04:19:24 Checking out Revision 53e0d6aa6f62f386083d777447c0003f9a1e544b (PR-380) 04:19:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 04:19:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:19:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 04:19:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 04:19:23 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:19:23 > git config core.sparsecheckout # timeout=10 04:19:23 > git checkout -f 53e0d6aa6f62f386083d777447c0003f9a1e544b # timeout=10 04:19:24 > git remote # timeout=10 04:19:24 > git config --get remote.origin.url # timeout=10 04:19:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:24 > git merge ce650ad78b6c877d3227a46e4e9eafbdd6610562 # timeout=10 04:19:24 > git rev-parse HEAD^{commit} # timeout=10 04:19:24 > git config core.sparsecheckout # timeout=10 04:19:24 > git checkout -f 53e0d6aa6f62f386083d777447c0003f9a1e544b # timeout=10 04:19:24 Removing intermediate container d08ce1d71f8c 04:19:24 ---> 99c0b5b0c7a0 04:19:24 Step 16/25 : FROM ${BASE} 04:19:24 ---> ac6a0feb3254 04:19:24 Step 17/25 : LABEL maintainer="IOTech " 04:19:24 ---> Running in 21fd22ca7f66 04:19:24 Removing intermediate container 21fd22ca7f66 04:19:24 ---> 481562510374 04:19:24 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 04:19:24 ---> Running in 8cd42383c03b 04:19:24 Connecting to iotech.jfrog.io (54.229.110.245:443) 04:19:25 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 04:19:25 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 04:19:25 '/etc/apk/keys/alpine.dev.rsa.pub' saved 04:19:25 Removing intermediate container 8cd42383c03b 04:19:25 ---> 9fc4ba3fc6a4 04:19:25 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 04:19:25 ---> Running in d77286be6e3b 04:19:25 Removing intermediate container d77286be6e3b 04:19:25 ---> 58174da37617 04:19:25 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev 04:19:25 ---> Running in dcdc0b40705e 04:19:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:19:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:19:27 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 04:19:28 Commit message: "ci: Update PR Template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:29 provisioning config files... 04:19:29 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config4482086638782946996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:29 ---> docker-login.sh 04:19:29 nexus3.edgexfoundry.org:10001 04:19:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:31 Configure a credential helper to remove this warning. See 04:19:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:31 04:19:31 Login Succeeded 04:19:31 nexus3.edgexfoundry.org:10002 04:19:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:31 Configure a credential helper to remove this warning. See 04:19:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:31 04:19:31 Login Succeeded 04:19:31 nexus3.edgexfoundry.org:10003 04:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:32 Configure a credential helper to remove this warning. See 04:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:32 04:19:32 Login Succeeded 04:19:32 nexus3.edgexfoundry.org:10004 04:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:32 Configure a credential helper to remove this warning. See 04:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:32 04:19:32 Login Succeeded 04:19:32 docker.io 04:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:33 Configure a credential helper to remove this warning. See 04:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:33 04:19:33 Login Succeeded 04:19:33 ---> docker-login.sh ends [Pipeline] } 04:19:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:19:34 ========================================================= 04:19:34 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 04:19:34 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:19:35 + 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 . 04:19:35 Sending build context to Docker daemon 2.709MB 04:19:35 Step 1/25 : ARG BASE=alpine:3.14 04:19:35 Step 2/25 : FROM ${BASE} as builder 04:19:35 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 04:19:35 d2f70382dc9a: Pulling fs layer 04:19:35 b08cc2eccb4b: Pulling fs layer 04:19:35 7b69db201801: Pulling fs layer 04:19:36 b08cc2eccb4b: Verifying Checksum 04:19:36 b08cc2eccb4b: Download complete 04:19:36 d2f70382dc9a: Verifying Checksum 04:19:36 d2f70382dc9a: Download complete 04:19:37 d2f70382dc9a: Pull complete 04:19:37 b08cc2eccb4b: Pull complete 04:19:38 7b69db201801: Verifying Checksum 04:19:38 7b69db201801: Download complete 04:19:45 WARNING: This apk-tools is OLD! Some packages might not function properly. 04:19:45 (1/7) Installing curl (7.79.1-r0) 04:19:45 (2/7) Installing hiredis (0.14.1-r0) 04:19:45 (3/7) Installing hiredis-dev (0.14.1-r0) 04:19:45 (4/7) Installing libuuid (2.35.2-r0) 04:19:45 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 04:19:45 (6/7) Installing libidn2 (2.3.0-r0) 04:19:45 (7/7) Installing wget (1.20.3-r1) 04:19:45 Executing busybox-1.31.1-r20.trigger 04:19:45 OK: 286 MiB in 82 packages 04:19:45 Removing intermediate container dcdc0b40705e 04:19:45 ---> 7b06b4bf40ec 04:19:45 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 04:19:45 ---> 5f6bef6ed487 04:19:45 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 04:19:45 ---> 6f6d5425dde1 04:19:45 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 04:19:45 ---> d8b12a58eaab 04:19:45 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 04:19:45 ---> 28d8865974c0 04:19:45 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 04:19:46 ---> a13543b33121 04:19:46 Successfully built a13543b33121 04:19:46 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 04:19:46 7b69db201801: Pull complete 04:19:46 Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba 04:19:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 04:19:46 ---> 759262b18b23 04:19:46 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 04:19:46 + docker inspect -f . ci-base-image-x86_64 04:19:46 . [Pipeline] withDockerContainer 04:19:46 prd-centos7-docker-4c-2g-1488 does not seem to be running inside a container 04:19:46 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:19:47 $ docker top 6f2379d74262fb753ceca078cbf432875d148785d361537b6d0ea6180381ec6a -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:47 + make test 04:19:47 echo "make test" 04:19:47 make test [Pipeline] } 04:19:47 $ docker stop --time=1 6f2379d74262fb753ceca078cbf432875d148785d361537b6d0ea6180381ec6a 04:19:48 ---> Running in dcd718454496 04:19:48 $ docker rm -f 6f2379d74262fb753ceca078cbf432875d148785d361537b6d0ea6180381ec6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:19:50 + ls -al . 04:19:50 total 172 04:19:50 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 5 04:18 . 04:19:50 drwxrwxr-x. 4 jenkins jenkins 28 Oct 5 04:18 .. 04:19:50 -rw-rw-r--. 1 jenkins jenkins 3104 Oct 5 04:18 Attribution.txt 04:19:50 -rw-rw-r--. 1 jenkins jenkins 7767 Oct 5 04:18 CHANGES 04:19:50 drwxrwxr-x. 2 jenkins jenkins 121 Oct 5 04:18 docs 04:19:50 -rw-rw-r--. 1 jenkins jenkins 108574 Oct 5 04:18 Doxyfile 04:19:50 drwxrwxr-x. 8 jenkins jenkins 179 Oct 5 04:18 .git 04:19:50 drwxrwxr-x. 3 jenkins jenkins 103 Oct 5 04:18 .github 04:19:50 -rw-rw-r--. 1 jenkins jenkins 176 Oct 5 04:18 .gitignore 04:19:50 -rw-rw-r--. 1 jenkins jenkins 677 Oct 5 04:18 GOVERNANCE.md 04:19:50 drwxrwxr-x. 4 jenkins jenkins 33 Oct 5 04:18 include 04:19:50 -rw-rw-r--. 1 jenkins jenkins 784 Oct 5 04:18 Jenkinsfile 04:19:50 -rw-rw-r--. 1 jenkins jenkins 10174 Oct 5 04:18 LICENSE 04:19:50 -rw-rw-r--. 1 jenkins jenkins 444 Oct 5 04:18 Makefile 04:19:50 -rw-rw-r--. 1 jenkins jenkins 618 Oct 5 04:18 OWNERS.md 04:19:50 -rw-rw-r--. 1 jenkins jenkins 4086 Oct 5 04:18 README.md 04:19:50 -rw-rw-r--. 1 jenkins jenkins 7422 Oct 5 04:18 README.v2.md 04:19:50 drwxrwxr-x. 2 jenkins jenkins 98 Oct 5 04:18 scripts 04:19:50 drwxrwxr-x. 4 jenkins jenkins 50 Oct 5 04:18 src 04:19:50 -rw-rw-r--. 1 jenkins jenkins 5 Oct 5 04:15 VERSION 04:19:50 Connecting to iotech.jfrog.io (54.229.110.245:443) [Pipeline] isUnix [Pipeline] sh 04:19:50 + 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=53e0d6aa6f62f386083d777447c0003f9a1e544b --label arch=amd64 --label version=0.0.0 . 04:19:50 Sending build context to Docker daemon 2.71MB 04:19:50 Step 1/17 : ARG BASE=alpine:3.14 04:19:50 Step 2/17 : FROM ${BASE} 04:19:50 ---> a13543b33121 04:19:50 Step 3/17 : LABEL maintainer="IOTech " 04:19:50 ---> Running in 1beb99d7afbb 04:19:50 Removing intermediate container 1beb99d7afbb 04:19:50 ---> add1ab5a2688 04:19:50 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 04:19:50 ---> Running in ebf300fc71f6 04:19:50 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 04:19:50 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 04:19:50 '/etc/apk/keys/alpine.dev.rsa.pub' saved 04:19:50 --2021-10-05 04:19:50-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 04:19:50 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.72.115.12, 54.229.110.245, 54.195.244.87 04:19:50 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.72.115.12|:443... connected. 04:19:51 HTTP request sent, awaiting response... 200 OK 04:19:51 Length: unspecified [application/json] 04:19:51 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 04:19:51  04:19:51 0K  25.6M=0s 04:19:51 04:19:51 2021-10-05 04:19:51 (25.6 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 04:19:51 04:19:51 Removing intermediate container ebf300fc71f6 04:19:51 ---> 34b769b2c72a 04:19:51 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 04:19:51 ---> Running in cfc9587d8c5c 04:19:51 Removing intermediate container dcd718454496 04:19:51 ---> 3ba41c9443ed 04:19:51 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 04:19:51 ---> Running in 94340647d6d8 04:19:51 Removing intermediate container cfc9587d8c5c 04:19:51 ---> 5d09e35dfdd2 04:19:51 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-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 04:19:51 ---> Running in 4d9e359f75d4 04:19:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:19:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:19:52 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 04:19:53 WARNING: This apk-tools is OLD! Some packages might not function properly. 04:19:53 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 04:19:53 (2/16) Installing libblkid (2.35.2-r0) 04:19:53 (3/16) Installing blkid (2.35.2-r0) 04:19:53 (4/16) Installing libcap-ng (0.7.10-r1) 04:19:53 (5/16) Installing setpriv (2.35.2-r0) 04:19:53 (6/16) Installing libmount (2.35.2-r0) 04:19:53 (7/16) Installing libsmartcols (2.35.2-r0) 04:19:53 (8/16) Installing findmnt (2.35.2-r0) 04:19:53 (9/16) Installing mcookie (2.35.2-r0) 04:19:54 (10/16) Installing hexdump (2.35.2-r0) 04:19:54 (11/16) Installing lsblk (2.35.2-r0) 04:19:54 (12/16) Installing libfdisk (2.35.2-r0) 04:19:54 Removing intermediate container 94340647d6d8 04:19:54 ---> 4d3d0a3cb81c 04:19:54 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-1.3 hiredis-dev 04:19:54 ---> Running in fbe8d6ec714f 04:19:54 (13/16) Installing sfdisk (2.35.2-r0) 04:19:54 (14/16) Installing cfdisk (2.35.2-r0) 04:19:54 (15/16) Installing util-linux (2.35.2-r0) 04:19:54 (16/16) Installing util-linux-dev (2.35.2-r0) 04:19:55 Executing busybox-1.31.1-r20.trigger 04:19:55 OK: 295 MiB in 98 packages 04:19:55 Removing intermediate container 4d9e359f75d4 04:19:55 ---> 56415fac47ab 04:19:55 Step 7/17 : COPY VERSION /edgex-c-sdk/ 04:19:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:19:55 ---> b380edef37de 04:19:55 Step 8/17 : COPY src /edgex-c-sdk/src/ 04:19:55 ---> 1918da58d30a 04:19:55 Step 9/17 : COPY include /edgex-c-sdk/include/ 04:19:55 ---> 943f1503a46a 04:19:55 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 04:19:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:19:56 ---> 2b18e8f9ec9e 04:19:56 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 04:19:56 ---> 80b54e38b421 04:19:56 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 04:19:56 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 04:19:56 ---> 6bf59cd4cf57 04:19:56 Step 13/17 : WORKDIR /edgex-c-sdk 04:19:56 ---> Running in 9cb3cac26cff 04:19:56 Removing intermediate container 9cb3cac26cff 04:19:56 ---> 3f18b2a768df 04:19:56 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 04:19:56 ---> Running in e2e625d5e104 04:19:56 Removing intermediate container e2e625d5e104 04:19:56 ---> 6348c8420843 04:19:56 Step 15/17 : LABEL arch=amd64 04:19:56 ---> Running in 2bfd0e942496 04:19:56 Removing intermediate container 2bfd0e942496 04:19:56 ---> ec6eb5eb5608 04:19:56 Step 16/17 : LABEL git_sha=53e0d6aa6f62f386083d777447c0003f9a1e544b 04:19:56 ---> Running in 9f0171a08f69 04:19:56 Removing intermediate container 9f0171a08f69 04:19:56 ---> e51c972ffdac 04:19:56 Step 17/17 : LABEL version=0.0.0 04:19:56 ---> Running in a4cfa8fc61e2 04:19:56 Removing intermediate container a4cfa8fc61e2 04:19:56 ---> 445ba4aec1ac 04:19:56 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:19:56 Successfully built 445ba4aec1ac 04:19:56 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } 04:19:56 WARNING: This apk-tools is OLD! Some packages might not function properly. 04:19:56 (1/22) Installing hiredis (0.14.1-r0) [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] } 04:19:57 (2/22) Installing hiredis-dev (0.14.1-r0) 04:19:57 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 04:19:57 (4/22) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:19:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:19:57 04:19:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:19:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:19:57 latest: Pulling from edgex-lftools-log-publisher 04:19:57 b4d181a07f80: Pulling fs layer 04:19:57 a1111a8f2ec3: Pulling fs layer 04:19:57 ed53099fbce6: Pulling fs layer 04:19:57 dc539afda2c1: Pulling fs layer 04:19:57 77bc0d833cb6: Pulling fs layer 04:19:57 9065ff56babe: Pulling fs layer 04:19:57 d287ab97295c: Pulling fs layer 04:19:57 dc539afda2c1: Waiting 04:19:57 77bc0d833cb6: Waiting 04:19:57 9065ff56babe: Waiting 04:19:57 d287ab97295c: Waiting 04:19:58 a1111a8f2ec3: Verifying Checksum 04:19:58 a1111a8f2ec3: Download complete 04:19:58 dc539afda2c1: Verifying Checksum 04:19:58 dc539afda2c1: Download complete 04:19:58 ed53099fbce6: Verifying Checksum 04:19:58 ed53099fbce6: Download complete 04:19:58 9065ff56babe: Verifying Checksum 04:19:58 9065ff56babe: Download complete 04:19:58 (5/22) Installing libblkid (2.35.2-r0) 04:19:58 77bc0d833cb6: Verifying Checksum 04:19:58 77bc0d833cb6: Download complete 04:19:58 b4d181a07f80: Verifying Checksum 04:19:58 b4d181a07f80: Download complete 04:19:58 (6/22) Installing blkid (2.35.2-r0) 04:19:58 (7/22) Installing libcap-ng (0.7.10-r1) 04:19:58 (8/22) Installing setpriv (2.35.2-r0) 04:19:58 (9/22) Installing libmount (2.35.2-r0) 04:19:58 (10/22) Installing libsmartcols (2.35.2-r0) 04:19:59 (11/22) Installing findmnt (2.35.2-r0) 04:19:59 (12/22) Installing mcookie (2.35.2-r0) 04:19:59 (13/22) Installing hexdump (2.35.2-r0) 04:19:59 (14/22) Installing lsblk (2.35.2-r0) 04:19:59 (15/22) Installing libuuid (2.35.2-r0) 04:19:59 (16/22) Installing libfdisk (2.35.2-r0) 04:19:59 d287ab97295c: Verifying Checksum 04:19:59 d287ab97295c: Download complete 04:19:59 (17/22) Installing sfdisk (2.35.2-r0) 04:19:59 (18/22) Installing cfdisk (2.35.2-r0) 04:19:59 (19/22) Installing util-linux (2.35.2-r0) 04:19:59 b4d181a07f80: Pull complete 04:19:59 (20/22) Installing util-linux-dev (2.35.2-r0) 04:19:59 a1111a8f2ec3: Pull complete 04:20:00 (21/22) Installing libidn2 (2.3.0-r0) 04:20:00 (22/22) Installing wget (1.20.3-r1) 04:20:00 Executing busybox-1.31.1-r20.trigger 04:20:00 OK: 276 MiB in 97 packages 04:20:00 ed53099fbce6: Pull complete 04:20:00 dc539afda2c1: Pull complete 04:20:00 77bc0d833cb6: Pull complete 04:20:01 9065ff56babe: Pull complete 04:20:02 Removing intermediate container fbe8d6ec714f 04:20:02 ---> ff2b2ef005f1 04:20:02 Step 6/25 : ENV CBOR_VERSION=0.5.0 04:20:02 ---> Running in cb525771f8c7 04:20:02 Removing intermediate container cb525771f8c7 04:20:02 ---> 0bc70ed6dca8 04:20:02 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 04:20:02 ---> Running in f98b7e6c26a5 04:20:04 --2021-10-05 04:20:04-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 04:20:04 Resolving github.com (github.com)... 140.82.112.3 04:20:04 Connecting to github.com (github.com)|140.82.112.3|:443... connected. 04:20:04 HTTP request sent, awaiting response... 302 Found 04:20:04 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 04:20:04 --2021-10-05 04:20:04-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 04:20:04 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 04:20:04 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 04:20:04 HTTP request sent, awaiting response... 200 OK 04:20:04 Length: unspecified [application/x-gzip] 04:20:04 Saving to: 'STDOUT' 04:20:04 04:20:04 0K .......... .......... .......... .......... .......... 1.16M 04:20:04 50K .......... .......... .......... .......... .......... 2.19M 04:20:04 100K .......... .......... .......... .......... .......... 2.45M 04:20:04 150K .......... .......... .......... .......... .......... 13.0M 04:20:04 200K .......... .......... .......... .......... .......... 15.1M 04:20:04 250K .......... .......... .......... .......... .......... 3.42M 04:20:04 300K .......... .......... .......... .......... .......... 5.60M 04:20:04 350K .......... .......... .......... .......... .......... 4.89M 04:20:04 400K .......... .......... .......... .......... .......... 5.06M 04:20:04 450K .......... .......... .......... .......... .......... 6.33M 04:20:04 500K .......... .......... .......... .......... .......... 4.89M 04:20:04 550K .......... .......... .......... .......... .......... 6.18M 04:20:04 600K .......... .......... .......... .......... .......... 1.03M 04:20:04 650K .......... .......... .......... .......... .......... 1.52M 04:20:04 700K ..   4746G=0.2s 04:20:04 04:20:04 2021-10-05 04:20:04 (2.87 MB/s) - written to stdout [719348] 04:20:04 04:20:05 -- The C compiler identification is GNU 9.3.0 04:20:05 -- The CXX compiler identification is GNU 9.3.0 04:20:05 -- Check for working C compiler: /usr/bin/cc 04:20:05 -- Check for working C compiler: /usr/bin/cc - works 04:20:05 -- Detecting C compiler ABI info 04:20:06 -- Detecting C compiler ABI info - done 04:20:06 -- Detecting C compile features 04:20:06 -- Detecting C compile features - done 04:20:06 -- Check for working CXX compiler: /usr/bin/c++ 04:20:06 -- Check for working CXX compiler: /usr/bin/c++ - works 04:20:06 -- Detecting CXX compiler ABI info 04:20:06 d287ab97295c: Pull complete 04:20:06 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:20:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:20:06 prd-centos7-docker-4c-2g-1488 does not seem to be running inside a container 04:20:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:20:07 -- Detecting CXX compiler ABI info - done 04:20:07 -- Detecting CXX compile features 04:20:07 -- Detecting CXX compile features - done 04:20:07 -- Looking for include file endian.h 04:20:07 -- Looking for include file endian.h - found 04:20:07 -- Check if the system is big endian 04:20:07 -- Searching 16 bit integer 04:20:07 -- Looking for sys/types.h 04:20:07 -- Looking for sys/types.h - found 04:20:07 -- Looking for stdint.h 04:20:07 -- Looking for stdint.h - found 04:20:07 -- Looking for stddef.h 04:20:08 -- Looking for stddef.h - found 04:20:08 -- Check size of unsigned short 04:20:08 -- Check size of unsigned short - done 04:20:08 -- Searching 16 bit integer - Using unsigned short 04:20:08 -- Check if the system is big endian - little endian 04:20:08 -- Check size of size_t 04:20:09 -- Check size of size_t - done 04:20:09 CMake Warning at examples/CMakeLists.txt:16 (find_package): 04:20:09 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 04:20:09 asked CMake to find a package configuration file provided by "cJSON", but 04:20:09 CMake did not find one. 04:20:09 04:20:09 Could not find a package configuration file provided by "cJSON" with any of 04:20:09 the following names: 04:20:09 04:20:09 cJSONConfig.cmake 04:20:09 cjson-config.cmake 04:20:09 04:20:09 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 04:20:09 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 04:20:09 provides a separate development package or SDK, be sure it has been 04:20:09 installed. 04:20:09 04:20:09 04:20:09 -- Configuring done 04:20:09 $ docker top c9324295e0535f632e5a1fceb0b53442f5d4f1845aa9178388dbed9453c0de3f -eo pid,comm [Pipeline] { 04:20:09 -- Generating done 04:20:09 -- Build files have been written to: /tmp/cbor [Pipeline] libraryResource [Pipeline] sh 04:20:09 Scanning dependencies of target cbor_shared 04:20:09 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 04:20:09 ---> job-cost.sh 04:20:09 lf-activate-venv: SKIPPING 04:20:09 INFO: No Stack... 04:20:10 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 04:20:11 INFO: Retrieving Pricing Info for: v3-standard-2 04:20:11 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 04:20:11 INFO: Archiving Costs [Pipeline] sh 04:20:11 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 04:20:11 + cat /w/workspace/device-sdk-c/2/archives/cost.csv 04:20:11 + cut -d, -f6 [Pipeline] lock 04:20:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-380-2-stack-cost] 04:20:11 Resource [jenkins-edgexfoundry-device-sdk-c-PR-380-2-stack-cost] did not exist. Created. 04:20:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-380-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:20:12 + echo total: 0.05999999865889549 [Pipeline] stash 04:20:12 Stashed 1 file(s) [Pipeline] } 04:20:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-380-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:20:12 $ docker stop --time=1 c9324295e0535f632e5a1fceb0b53442f5d4f1845aa9178388dbed9453c0de3f 04:20:12 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 04:20:12 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 04:20:12 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 04:20:13 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 04:20:13 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 04:20:13 $ docker rm -f c9324295e0535f632e5a1fceb0b53442f5d4f1845aa9178388dbed9453c0de3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 04:20:13 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:20:14 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 04:20:15 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 04:20:15 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 04:20:15 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 04:20:16 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 04:20:16 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 04:20:17 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 04:20:17 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 04:20:17 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 04:20:18 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 04:20:18 [ 40%] Linking C shared library libcbor.so 04:20:18 [ 40%] Built target cbor_shared 04:20:18 Scanning dependencies of target cbor 04:20:18 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 04:20:19 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 04:20:20 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 04:20:20 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 04:20:22 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 04:20:23 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 04:20:23 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 04:20:23 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 04:20:24 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 04:20:24 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 04:20:25 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 04:20:26 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 04:20:26 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 04:20:26 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 04:20:27 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 04:20:27 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 04:20:28 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 04:20:28 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 04:20:28 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 04:20:29 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 04:20:29 [ 80%] Linking C static library libcbor.a 04:20:29 [ 80%] Built target cbor 04:20:29 Scanning dependencies of target sort 04:20:29 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 04:20:29 [ 84%] Linking C executable sort 04:20:29 [ 84%] Built target sort 04:20:29 Scanning dependencies of target readfile 04:20:29 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 04:20:29 [ 88%] Linking C executable readfile 04:20:30 [ 88%] Built target readfile 04:20:30 Scanning dependencies of target streaming_parser 04:20:30 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 04:20:30 [ 92%] Linking C executable streaming_parser 04:20:30 [ 92%] Built target streaming_parser 04:20:30 Scanning dependencies of target hello 04:20:30 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 04:20:30 [ 96%] Linking C executable hello 04:20:30 [ 96%] Built target hello 04:20:30 Scanning dependencies of target create_items 04:20:31 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 04:20:31 [100%] Linking C executable create_items 04:20:31 [100%] Built target create_items 04:20:31 Install the project... 04:20:31 -- Install configuration: "Release" 04:20:31 -- Installing: /usr/local/include/cbor/configuration.h 04:20:31 -- Installing: /usr/local/lib64/libcbor.a 04:20:31 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 04:20:31 -- Installing: /usr/local/lib64/libcbor.so.0 04:20:31 -- Installing: /usr/local/lib64/libcbor.so 04:20:31 -- Up-to-date: /usr/local/include/cbor 04:20:31 -- Installing: /usr/local/include/cbor/streaming.h 04:20:31 -- Installing: /usr/local/include/cbor/ints.h 04:20:31 -- Installing: /usr/local/include/cbor/floats_ctrls.h 04:20:31 -- Installing: /usr/local/include/cbor/bytestrings.h 04:20:31 -- Installing: /usr/local/include/cbor/encoding.h 04:20:31 -- Installing: /usr/local/include/cbor/serialization.h 04:20:31 -- Installing: /usr/local/include/cbor/data.h 04:20:31 -- Installing: /usr/local/include/cbor/common.h 04:20:31 -- Installing: /usr/local/include/cbor/callbacks.h 04:20:31 -- Installing: /usr/local/include/cbor/strings.h 04:20:31 -- Installing: /usr/local/include/cbor/tags.h 04:20:31 -- Installing: /usr/local/include/cbor/internal 04:20:31 -- Installing: /usr/local/include/cbor/internal/encoders.h 04:20:31 -- Installing: /usr/local/include/cbor/internal/loaders.h 04:20:31 -- Installing: /usr/local/include/cbor/internal/stack.h 04:20:31 -- Installing: /usr/local/include/cbor/internal/unicode.h 04:20:31 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 04:20:31 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 04:20:31 -- Installing: /usr/local/include/cbor/arrays.h 04:20:31 -- Installing: /usr/local/include/cbor/maps.h 04:20:31 -- Installing: /usr/local/include/cbor.h 04:20:31 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 04:20:33 Removing intermediate container f98b7e6c26a5 04:20:33 ---> eb056e0cebb7 04:20:33 Step 8/25 : RUN mkdir /tmp/sdk 04:20:33 ---> Running in 79ff22f3c6bf 04:20:35 Removing intermediate container 79ff22f3c6bf 04:20:35 ---> 0e1104d3ad02 04:20:35 Step 9/25 : COPY VERSION /tmp/sdk 04:20:36 ---> 93b914f6a696 04:20:36 Step 10/25 : COPY src /tmp/sdk/src 04:20:37 ---> 19f0e68c37c0 04:20:37 Step 11/25 : COPY include /tmp/sdk/include 04:20:38 ---> 0d50107a917f 04:20:38 Step 12/25 : COPY scripts /tmp/sdk/scripts 04:20:39 ---> 7426c3e4417d 04:20:39 Step 13/25 : COPY LICENSE /tmp/sdk 04:20:40 ---> 0faa9baa9620 04:20:40 Step 14/25 : COPY Attribution.txt /tmp/sdk 04:20:40 ---> 73cf5a220352 04:20:40 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 04:20:41 ---> Running in e1337172952b 04:20:42 + CPPCHECK=false 04:20:42 + DOCGEN=false 04:20:42 + TOMLVER=SDK-0.2 04:20:42 + CUTILVER=1.2.2 04:20:42 + '[' 0 -gt 0 ] 04:20:42 + readlink -f ./scripts/build.sh 04:20:42 + dirname /tmp/sdk/scripts/build.sh 04:20:42 + dirname /tmp/sdk/scripts 04:20:42 + ROOT=/tmp/sdk 04:20:42 + cd /tmp/sdk 04:20:42 + '[' '!' -d deps ] 04:20:42 + mkdir deps 04:20:42 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 04:20:42 + tar -C deps -z -x -f - 04:20:42 --2021-10-05 04:20:42-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 04:20:42 Resolving github.com (github.com)... 140.82.113.4 04:20:42 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 04:20:42 HTTP request sent, awaiting response... 302 Found 04:20:42 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 04:20:42 --2021-10-05 04:20:42-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 04:20:42 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 04:20:42 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 04:20:43 HTTP request sent, awaiting response... 200 OK 04:20:43 Length: unspecified [application/x-gzip] 04:20:43 Saving to: 'STDOUT' 04:20:43  04:20:43 0K .......... ...... 781K=0.02s 04:20:43 04:20:43 2021-10-05 04:20:42 (781 KB/s) - written to stdout [16451] 04:20:43 04:20:43 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 04:20:43 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -x -f 04:20:43 - 04:20:43 --2021-10-05 04:20:42-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 04:20:43 Resolving github.com (github.com)... 140.82.113.4 04:20:43 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 04:20:43 HTTP request sent, awaiting response... 302 Found 04:20:43 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 04:20:43 --2021-10-05 04:20:43-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 04:20:43 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 04:20:43 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 04:20:43 HTTP request sent, awaiting response... 200 OK 04:20:43 Length: unspecified [application/x-gzip] 04:20:43 Saving to: 'STDOUT' 04:20:43 04:20:43 0K .......... .......... .......... .......... .......... 1.15M 04:20:43 50K .......... .......... .......... .......... .......... 2.24M 04:20:43 100K .......... .......... .......... .......... .......... 2.66M 04:20:43 150K .......... .......... .......... .........  7.68M=0.09s 04:20:43 04:20:43 2021-10-05 04:20:43 (2.11 MB/s) - written to stdout [193971] 04:20:43 04:20:43 + mkdir -p src/c/iot 04:20:43 + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot 04:20:43 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 04:20:43 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 04:20:43 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 04:20:43 + mkdir -p include/iot 04:20:43 + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot 04:20:43 + mkdir -p include/iot/os 04:20:43 + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os 04:20:43 + mkdir -p /tmp/sdk/build/release 04:20:43 + cd /tmp/sdk/build/release 04:20:43 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 04:20:43 -- The C compiler identification is GNU 9.3.0 04:20:43 -- Check for working C compiler: /usr/bin/cc 04:20:44 -- Check for working C compiler: /usr/bin/cc - works 04:20:44 -- Detecting C compiler ABI info 04:20:44 -- Detecting C compiler ABI info - done 04:20:44 -- Detecting C compile features 04:20:44 -- Detecting C compile features - done 04:20:44 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 04:20:44 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 04:20:44 -- Found LIBYAML: /usr/lib/libyaml.so 04:20:44 -- Found LIBUUID: /usr/lib/libuuid.so 04:20:44 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 04:20:44 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 04:20:44 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 04:20:44 -- C SDK 0.0.0 for Linux 04:20:44 -- Performing Test CSDK_HAVE_ATOMIC 04:20:45 -- Performing Test CSDK_HAVE_ATOMIC - Success 04:20:45 -- Found Curses: /usr/lib/libcurses.so 04:20:45 -- Configuring done 04:20:45 -- Generating done 04:20:45 -- Build files have been written to: /tmp/sdk/build/release 04:20:45 + make all package 04:20:45 + tee release.log 04:20:45 Scanning dependencies of target csdk 04:20:46 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 04:20:47 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 04:20:47 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 04:20:50 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 04:20:51 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 04:20:51 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 04:20:52 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 04:20:52 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 04:20:53 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 04:20:54 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 04:20:56 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 04:20:57 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 04:20:58 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 04:20:58 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 04:20:59 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 04:20:59 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 04:20:59 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 04:21:04 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 04:21:04 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 04:21:04 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 04:21:05 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 04:21:05 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 04:21:06 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 04:21:06 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 04:21:06 275 | const iot_component_factory_t * factory; 04:21:06 | ^~~~~~~ 04:21:06 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 04:21:15 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 04:21:15 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 04:21:15 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 04:21:16 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 04:21:16 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 04:21:16 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 04:21:18 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 04:21:18 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 04:21:19 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 04:21:19 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 04:21:20 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 04:21:22 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 04:21:23 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 04:21:24 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 04:21:24 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 04:21:29 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 04:21:30 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 04:21:30 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 04:21:31 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 04:21:32 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 04:21:35 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 04:21:35 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 04:21:35 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 04:21:36 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 04:21:38 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 04:21:44 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 04:21:45 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 04:21:45 [ 76%] Linking C shared library libcsdk.so 04:21:45 [ 76%] Built target csdk 04:21:45 Scanning dependencies of target template 04:21:45 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 04:21:46 [ 79%] Linking C executable template 04:21:46 [ 79%] Built target template 04:21:46 Scanning dependencies of target device-counter 04:21:47 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 04:21:47 [ 82%] Linking C executable device-counter 04:21:47 [ 82%] Built target device-counter 04:21:47 Scanning dependencies of target device-random 04:21:47 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 04:21:48 [ 85%] Linking C executable device-random 04:21:48 [ 85%] Built target device-random 04:21:48 Scanning dependencies of target device-gyro 04:21:48 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 04:21:49 [ 88%] Linking C executable device-gyro 04:21:49 [ 88%] Built target device-gyro 04:21:49 Scanning dependencies of target device-bitfields 04:21:49 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 04:21:50 [ 91%] Linking C executable device-bitfields 04:21:50 [ 91%] Built target device-bitfields 04:21:50 Scanning dependencies of target template-discovery 04:21:50 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 04:21:51 [ 94%] Linking C executable template-discovery 04:21:51 [ 94%] Built target template-discovery 04:21:51 Scanning dependencies of target device-file 04:21:51 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 04:21:52 [ 97%] Linking C executable device-file 04:21:52 [ 97%] Built target device-file 04:21:52 Scanning dependencies of target device-terminal 04:21:52 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 04:21:53 [100%] Linking C executable device-terminal 04:21:53 [100%] Built target device-terminal 04:21:53 Run CPack packaging tool... 04:21:53 CPack: Create package using TGZ 04:21:53 CPack: Install projects 04:21:53 CPack: - Run preinstall target for: Csdk 04:21:54 CPack: - Install project: Csdk [] 04:21:54 CPack: Create package 04:21:54 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 04:21:54 + '[' false '=' true ] 04:21:54 + '[' false '=' true ] 04:21:54 + mkdir -p /tmp/sdk/build/debug 04:21:54 + cd /tmp/sdk/build/debug 04:21:54 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 04:21:54 -- The C compiler identification is GNU 9.3.0 04:21:54 -- Check for working C compiler: /usr/bin/cc 04:21:54 -- Check for working C compiler: /usr/bin/cc - works 04:21:54 -- Detecting C compiler ABI info 04:21:55 -- Detecting C compiler ABI info - done 04:21:55 -- Detecting C compile features 04:21:55 -- Detecting C compile features - done 04:21:55 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 04:21:55 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 04:21:55 -- Found LIBYAML: /usr/lib/libyaml.so 04:21:55 -- Found LIBUUID: /usr/lib/libuuid.so 04:21:55 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 04:21:55 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 04:21:55 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 04:21:55 -- C SDK 0.0.0 for Linux 04:21:55 -- Performing Test CSDK_HAVE_ATOMIC 04:21:55 -- Performing Test CSDK_HAVE_ATOMIC - Success 04:21:55 -- Found Curses: /usr/lib/libcurses.so 04:21:56 -- Configuring done 04:21:56 -- Generating done 04:21:56 -- Build files have been written to: /tmp/sdk/build/debug 04:21:56 + make 04:21:56 + tee debug.log 04:21:56 Scanning dependencies of target csdk 04:21:56 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 04:21:56 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 04:21:57 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 04:21:58 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 04:21:58 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 04:21:58 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 04:21:58 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 04:21:59 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 04:21:59 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 04:22:00 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 04:22:00 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 04:22:00 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 04:22:01 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 04:22:01 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 04:22:01 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 04:22:02 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 04:22:02 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 04:22:03 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 04:22:03 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 04:22:03 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 04:22:03 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 04:22:04 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 04:22:04 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 04:22:04 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 04:22:04 275 | const iot_component_factory_t * factory; 04:22:04 | ^~~~~~~ 04:22:04 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 04:22:05 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 04:22:05 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 04:22:06 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 04:22:06 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 04:22:06 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 04:22:06 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 04:22:07 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 04:22:07 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 04:22:07 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 04:22:08 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 04:22:08 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 04:22:08 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 04:22:08 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 04:22:09 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 04:22:09 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 04:22:11 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 04:22:11 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 04:22:11 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 04:22:11 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 04:22:12 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 04:22:13 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 04:22:13 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 04:22:14 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 04:22:14 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 04:22:14 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 04:22:15 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 04:22:16 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 04:22:16 [ 76%] Linking C shared library libcsdk.so 04:22:16 [ 76%] Built target csdk 04:22:16 Scanning dependencies of target template 04:22:16 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 04:22:17 [ 79%] Linking C executable template 04:22:17 [ 79%] Built target template 04:22:17 Scanning dependencies of target device-counter 04:22:17 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 04:22:17 [ 82%] Linking C executable device-counter 04:22:17 [ 82%] Built target device-counter 04:22:18 Scanning dependencies of target device-random 04:22:18 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 04:22:18 [ 85%] Linking C executable device-random 04:22:18 [ 85%] Built target device-random 04:22:18 Scanning dependencies of target device-gyro 04:22:18 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 04:22:19 [ 88%] Linking C executable device-gyro 04:22:19 [ 88%] Built target device-gyro 04:22:19 Scanning dependencies of target device-bitfields 04:22:19 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 04:22:19 [ 91%] Linking C executable device-bitfields 04:22:19 [ 91%] Built target device-bitfields 04:22:19 Scanning dependencies of target template-discovery 04:22:19 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 04:22:20 [ 94%] Linking C executable template-discovery 04:22:20 [ 94%] Built target template-discovery 04:22:20 Scanning dependencies of target device-file 04:22:20 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 04:22:20 [ 97%] Linking C executable device-file 04:22:21 [ 97%] Built target device-file 04:22:21 Scanning dependencies of target device-terminal 04:22:21 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 04:22:21 [100%] Linking C executable device-terminal 04:22:21 [100%] Built target device-terminal 04:22:21 make: Entering directory '/tmp/sdk/build/release' 04:22:21 make[1]: Entering directory '/tmp/sdk/build/release' 04:22:21 make[2]: Entering directory '/tmp/sdk/build/release' 04:22:21 make[2]: Leaving directory '/tmp/sdk/build/release' 04:22:21 [ 76%] Built target csdk 04:22:21 make[2]: Entering directory '/tmp/sdk/build/release' 04:22:21 make[2]: Leaving directory '/tmp/sdk/build/release' 04:22:21 [ 79%] Built target template 04:22:21 make[2]: Entering directory '/tmp/sdk/build/release' 04:22:21 make[2]: Leaving directory '/tmp/sdk/build/release' 04:22:21 [ 82%] Built target device-counter 04:22:21 make[2]: Entering directory '/tmp/sdk/build/release' 04:22:21 make[2]: Leaving directory '/tmp/sdk/build/release' 04:22:21 [ 85%] Built target device-random 04:22:21 make[2]: Entering directory '/tmp/sdk/build/release' 04:22:22 make[2]: Leaving directory '/tmp/sdk/build/release' 04:22:22 [ 88%] Built target device-gyro 04:22:22 make[2]: Entering directory '/tmp/sdk/build/release' 04:22:22 make[2]: Leaving directory '/tmp/sdk/build/release' 04:22:22 [ 91%] Built target device-bitfields 04:22:22 make[2]: Entering directory '/tmp/sdk/build/release' 04:22:22 make[2]: Leaving directory '/tmp/sdk/build/release' 04:22:22 [ 94%] Built target template-discovery 04:22:22 make[2]: Entering directory '/tmp/sdk/build/release' 04:22:22 make[2]: Leaving directory '/tmp/sdk/build/release' 04:22:22 [ 97%] Built target device-file 04:22:22 make[2]: Entering directory '/tmp/sdk/build/release' 04:22:22 make[2]: Leaving directory '/tmp/sdk/build/release' 04:22:22 [100%] Built target device-terminal 04:22:22 make[1]: Leaving directory '/tmp/sdk/build/release' 04:22:22 Install the project... 04:22:22 -- Install configuration: "Release" 04:22:22 -- Installing: /usr/local/lib/libcsdk.so 04:22:22 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 04:22:22 -- Up-to-date: /usr/local/include 04:22:22 -- Installing: /usr/local/include/edgex 04:22:22 -- Installing: /usr/local/include/edgex/rest-server.h 04:22:22 -- Installing: /usr/local/include/edgex/edgex-base.h 04:22:22 -- Installing: /usr/local/include/edgex/edgex.h 04:22:22 -- Installing: /usr/local/include/edgex/devices.h 04:22:22 -- Installing: /usr/local/include/edgex/profiles.h 04:22:22 -- Installing: /usr/local/include/edgex/csdk-defs.h 04:22:22 -- Installing: /usr/local/include/devsdk 04:22:22 -- Installing: /usr/local/include/devsdk/devsdk-base.h 04:22:22 -- Installing: /usr/local/include/devsdk/devsdk.h 04:22:22 -- Installing: /usr/local/include/iot 04:22:22 -- Installing: /usr/local/include/iot/json.h 04:22:22 -- Installing: /usr/local/include/iot/container.h 04:22:22 -- Installing: /usr/local/include/iot/component.h 04:22:22 -- Installing: /usr/local/include/iot/typecode.h 04:22:22 -- Installing: /usr/local/include/iot/iot.h 04:22:22 -- Installing: /usr/local/include/iot/uuid.h 04:22:22 -- Installing: /usr/local/include/iot/time.h 04:22:22 -- Installing: /usr/local/include/iot/hash.h 04:22:22 -- Installing: /usr/local/include/iot/logger.h 04:22:22 -- Installing: /usr/local/include/iot/os 04:22:22 -- Installing: /usr/local/include/iot/os/zephyr.h 04:22:22 -- Installing: /usr/local/include/iot/os/linux.h 04:22:22 -- Installing: /usr/local/include/iot/os/macos.h 04:22:22 -- Installing: /usr/local/include/iot/scheduler.h 04:22:22 -- Installing: /usr/local/include/iot/data.h 04:22:22 -- Installing: /usr/local/include/iot/thread.h 04:22:22 -- Installing: /usr/local/include/iot/os.h 04:22:22 -- Installing: /usr/local/include/iot/base64.h 04:22:22 -- Installing: /usr/local/include/iot/defs.h 04:22:22 -- Installing: /usr/local/include/iot/threadpool.h 04:22:22 -- Installing: /usr/local/include/iot/config.h 04:22:22 -- Installing: /usr/local/share/device-sdk-c/LICENSE 04:22:22 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 04:22:22 make: Leaving directory '/tmp/sdk/build/release' 04:22:24 Removing intermediate container e1337172952b 04:22:24 ---> d9831e0d8422 04:22:24 Step 16/25 : FROM ${BASE} 04:22:24 ---> 759262b18b23 04:22:24 Step 17/25 : LABEL maintainer="IOTech " 04:22:24 ---> Running in 41c7e994fdb9 04:22:25 Removing intermediate container 41c7e994fdb9 04:22:25 ---> 246adb9c324a 04:22:25 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 04:22:25 ---> Running in 252b98d58c85 04:22:26 Connecting to iotech.jfrog.io (54.229.110.245:443) 04:22:27 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 04:22:27 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 04:22:27 '/etc/apk/keys/alpine.dev.rsa.pub' saved 04:22:28 Removing intermediate container 252b98d58c85 04:22:28 ---> fd2079a49f50 04:22:28 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 04:22:28 ---> Running in c89475a54398 04:22:30 Removing intermediate container c89475a54398 04:22:30 ---> 2da34b1880e1 04:22:30 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev 04:22:30 ---> Running in 09368578bd2e 04:22:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:22:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:22:32 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 04:22:33 WARNING: This apk-tools is OLD! Some packages might not function properly. 04:22:33 (1/7) Installing curl (7.79.1-r0) 04:22:33 (2/7) Installing hiredis (0.14.1-r0) 04:22:33 (3/7) Installing hiredis-dev (0.14.1-r0) 04:22:34 (4/7) Installing libuuid (2.35.2-r0) 04:22:34 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 04:22:35 (6/7) Installing libidn2 (2.3.0-r0) 04:22:35 (7/7) Installing wget (1.20.3-r1) 04:22:35 Executing busybox-1.31.1-r20.trigger 04:22:35 OK: 267 MiB in 82 packages 04:22:36 Removing intermediate container 09368578bd2e 04:22:36 ---> c7be9fcb1d03 04:22:36 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 04:22:37 ---> 363cc607382e 04:22:37 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 04:22:38 ---> 1960bdd07d7f 04:22:38 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 04:22:39 ---> d949ed83a9d9 04:22:39 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 04:22:40 ---> bce9b72fdc52 04:22:40 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 04:22:41 ---> eb6839895b65 04:22:41 Successfully built eb6839895b65 04:22:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:22:42 + docker inspect -f . ci-base-image-arm64 04:22:42 . [Pipeline] withDockerContainer 04:22:42 prd-ubuntu18.04-docker-arm64-4c-16g-1486 does not seem to be running inside a container 04:22:42 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 04:22:44 $ docker top ecaceaf83fdbc784405ab96122fabd919a7d03d1683ceafb21ba1a31b8cd4c0a -eo pid,comm [Pipeline] { [Pipeline] sh 04:22:45 + make test 04:22:45 echo "make test" 04:22:45 make test [Pipeline] } 04:22:45 $ docker stop --time=1 ecaceaf83fdbc784405ab96122fabd919a7d03d1683ceafb21ba1a31b8cd4c0a 04:22:47 $ docker rm -f ecaceaf83fdbc784405ab96122fabd919a7d03d1683ceafb21ba1a31b8cd4c0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:22:48 + ls -al . 04:22:48 total 200 04:22:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 04:19 . 04:22:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:19 .. 04:22:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 04:19 .git 04:22:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 04:19 .github 04:22:48 -rw-rw-r-- 1 jenkins jenkins 176 Oct 5 04:19 .gitignore 04:22:48 -rw-rw-r-- 1 jenkins jenkins 3104 Oct 5 04:19 Attribution.txt 04:22:48 -rw-rw-r-- 1 jenkins jenkins 7767 Oct 5 04:19 CHANGES 04:22:48 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 5 04:19 Doxyfile 04:22:48 -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 04:19 GOVERNANCE.md 04:22:48 -rw-rw-r-- 1 jenkins jenkins 784 Oct 5 04:19 Jenkinsfile 04:22:48 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 5 04:19 LICENSE 04:22:48 -rw-rw-r-- 1 jenkins jenkins 444 Oct 5 04:19 Makefile 04:22:48 -rw-rw-r-- 1 jenkins jenkins 618 Oct 5 04:19 OWNERS.md 04:22:48 -rw-rw-r-- 1 jenkins jenkins 4086 Oct 5 04:19 README.md 04:22:48 -rw-rw-r-- 1 jenkins jenkins 7422 Oct 5 04:19 README.v2.md 04:22:48 -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 04:15 VERSION 04:22:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:19 docs 04:22:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:19 include 04:22:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:19 scripts 04:22:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:19 src [Pipeline] isUnix [Pipeline] sh 04:22:49 + 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=53e0d6aa6f62f386083d777447c0003f9a1e544b --label arch=arm64 --label version=0.0.0 . 04:22:49 Sending build context to Docker daemon 2.709MB 04:22:49 Step 1/17 : ARG BASE=alpine:3.14 04:22:49 Step 2/17 : FROM ${BASE} 04:22:49 ---> eb6839895b65 04:22:49 Step 3/17 : LABEL maintainer="IOTech " 04:22:50 ---> Running in 1b1a854f6ed9 04:22:50 Removing intermediate container 1b1a854f6ed9 04:22:50 ---> b2e622d84302 04:22:50 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 04:22:50 ---> Running in 6e47cfb2f93f 04:22:51 --2021-10-05 04:22:51-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 04:22:52 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.72.115.12, 54.229.110.245, 54.195.244.87 04:22:52 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.72.115.12|:443... connected. 04:22:52 HTTP request sent, awaiting response... 200 OK 04:22:52 Length: unspecified [application/json] 04:22:52 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 04:22:52  04:22:52 0K  8.91M=0s 04:22:52 04:22:52 2021-10-05 04:22:52 (8.91 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 04:22:52 04:22:53 Removing intermediate container 6e47cfb2f93f 04:22:53 ---> 4804eea1e2e2 04:22:53 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 04:22:53 ---> Running in 8aaf8067fa7e 04:22:56 Removing intermediate container 8aaf8067fa7e 04:22:56 ---> 2b2a0019a332 04:22:56 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 04:22:56 ---> Running in 6719cdcd8d32 04:22:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:22:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:22:58 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 04:22:58 WARNING: This apk-tools is OLD! Some packages might not function properly. 04:22:58 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 04:22:58 (2/16) Installing libblkid (2.35.2-r0) 04:22:58 (3/16) Installing blkid (2.35.2-r0) 04:22:58 (4/16) Installing libcap-ng (0.7.10-r1) 04:22:59 (5/16) Installing setpriv (2.35.2-r0) 04:22:59 (6/16) Installing libmount (2.35.2-r0) 04:22:59 (7/16) Installing libsmartcols (2.35.2-r0) 04:22:59 (8/16) Installing findmnt (2.35.2-r0) 04:22:59 (9/16) Installing mcookie (2.35.2-r0) 04:22:59 (10/16) Installing hexdump (2.35.2-r0) 04:22:59 (11/16) Installing lsblk (2.35.2-r0) 04:22:59 (12/16) Installing libfdisk (2.35.2-r0) 04:22:59 (13/16) Installing sfdisk (2.35.2-r0) 04:23:00 (14/16) Installing cfdisk (2.35.2-r0) 04:23:00 (15/16) Installing util-linux (2.35.2-r0) 04:23:00 (16/16) Installing util-linux-dev (2.35.2-r0) 04:23:00 Executing busybox-1.31.1-r20.trigger 04:23:00 OK: 276 MiB in 98 packages 04:23:02 Removing intermediate container 6719cdcd8d32 04:23:02 ---> 41002bf2f094 04:23:02 Step 7/17 : COPY VERSION /edgex-c-sdk/ 04:23:03 ---> c462c04bbfaa 04:23:03 Step 8/17 : COPY src /edgex-c-sdk/src/ 04:23:04 ---> ec078442bc68 04:23:04 Step 9/17 : COPY include /edgex-c-sdk/include/ 04:23:05 ---> 87c205272bd5 04:23:05 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 04:23:05 ---> 6be6a6ff8fde 04:23:05 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 04:23:06 ---> c853555c4bdf 04:23:06 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 04:23:07 ---> d7feba80306a 04:23:07 Step 13/17 : WORKDIR /edgex-c-sdk 04:23:07 ---> Running in 7d03d62f388d 04:23:07 Removing intermediate container 7d03d62f388d 04:23:07 ---> 545d880dbfb7 04:23:07 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 04:23:08 ---> Running in cd7a40b93acb 04:23:08 Removing intermediate container cd7a40b93acb 04:23:08 ---> c85f087b8477 04:23:08 Step 15/17 : LABEL arch=arm64 04:23:08 ---> Running in 2c209b0a0cd8 04:23:09 Removing intermediate container 2c209b0a0cd8 04:23:09 ---> 268ba7c3d18e 04:23:09 Step 16/17 : LABEL git_sha=53e0d6aa6f62f386083d777447c0003f9a1e544b 04:23:09 ---> Running in 0c5292daf85f 04:23:10 Removing intermediate container 0c5292daf85f 04:23:10 ---> 3300d819eb8a 04:23:10 Step 17/17 : LABEL version=0.0.0 04:23:10 ---> Running in fc2c3ff7dc67 04:23:10 Removing intermediate container fc2c3ff7dc67 04:23:10 ---> a6db4d314145 04:23:10 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:23:10 Successfully built a6db4d314145 04:23:10 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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:23:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:23:11 04:23:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:23:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:23:12 arm64: Pulling from edgex-lftools-log-publisher 04:23:12 448f6bf000e3: Pulling fs layer 04:23:12 f757da607395: Pulling fs layer 04:23:12 05883995daec: Pulling fs layer 04:23:12 8603b9c90790: Pulling fs layer 04:23:12 1560dd03e051: Pulling fs layer 04:23:12 27f5ce0e4adf: Pulling fs layer 04:23:12 c2d8d7efcc4b: Pulling fs layer 04:23:12 27f5ce0e4adf: Waiting 04:23:12 8603b9c90790: Waiting 04:23:12 1560dd03e051: Waiting 04:23:12 c2d8d7efcc4b: Waiting 04:23:12 f757da607395: Verifying Checksum 04:23:12 f757da607395: Download complete 04:23:12 8603b9c90790: Verifying Checksum 04:23:12 8603b9c90790: Download complete 04:23:12 1560dd03e051: Download complete 04:23:12 27f5ce0e4adf: Verifying Checksum 04:23:12 27f5ce0e4adf: Download complete 04:23:12 05883995daec: Verifying Checksum 04:23:12 05883995daec: Download complete 04:23:13 448f6bf000e3: Verifying Checksum 04:23:13 448f6bf000e3: Download complete 04:23:16 c2d8d7efcc4b: Download complete 04:23:16 448f6bf000e3: Pull complete 04:23:17 f757da607395: Pull complete 04:23:18 05883995daec: Pull complete 04:23:19 8603b9c90790: Pull complete 04:23:20 1560dd03e051: Pull complete 04:23:20 27f5ce0e4adf: Pull complete 04:23:35 c2d8d7efcc4b: Pull complete 04:23:35 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:23:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:23:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:23:35 prd-ubuntu18.04-docker-arm64-4c-16g-1486 does not seem to be running inside a container 04:23:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:23:41 $ docker top af6d25dc9f467e70be9c990433043c612b04c7227f76fae37bb0d9065c1947cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:42 ---> job-cost.sh 04:23:42 lf-activate-venv: SKIPPING 04:23:42 INFO: No Stack... 04:23:42 INFO: Retrieving Pricing Info for: v3-standard-4 04:23:43 INFO: Archiving Costs [Pipeline] sh 04:23:43 + cat /w/workspace/device-sdk-c/2/archives/cost.csv 04:23:43 + cut -d, -f6 [Pipeline] lock 04:23:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-380-2-stack-cost] 04:23:43 Resource [jenkins-edgexfoundry-device-sdk-c-PR-380-2-stack-cost] did not exist. Created. 04:23:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-380-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:23:44 /w/workspace/device-sdk-c/2@tmp/durable-df122253/script.sh: 1: /w/workspace/device-sdk-c/2@tmp/durable-df122253/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:23:45 + echo total: 0.10999999940395355 [Pipeline] stash 04:23:45 Warning: overwriting stash ‘stack-cost’ 04:23:46 Stashed 1 file(s) [Pipeline] } 04:23:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-380-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:23:46 $ docker stop --time=1 af6d25dc9f467e70be9c990433043c612b04c7227f76fae37bb0d9065c1947cb 04:23:47 $ docker rm -f af6d25dc9f467e70be9c990433043c612b04c7227f76fae37bb0d9065c1947cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] sh 04:23:49 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-380/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:23:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:23:50 ---> package-listing.sh 04:23:50 ++ facter osfamily 04:23:50 ++ tr '[:upper:]' '[:lower:]' 04:23:50 + OS_FAMILY=redhat 04:23:50 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-380 04:23:50 + START_PACKAGES=/tmp/packages_start.txt 04:23:50 + END_PACKAGES=/tmp/packages_end.txt 04:23:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:23:50 + PACKAGES=/tmp/packages_start.txt 04:23:50 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-380 ']' 04:23:50 + PACKAGES=/tmp/packages_end.txt 04:23:50 + case "${OS_FAMILY}" in 04:23:50 + sort 04:23:50 + rpm -qa 04:23:51 + '[' -f /tmp/packages_start.txt ']' 04:23:51 + '[' -f /tmp/packages_end.txt ']' 04:23:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:23:51 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-380 ']' 04:23:51 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-380/archives/ 04:23:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-380/archives/ [Pipeline] echo 04:23:51 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-380/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:23:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:23:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:52 04:23:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:23:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:52 latest: Pulling from edgex-lftools-log-publisher 04:23:52 b4d181a07f80: Pulling fs layer 04:23:52 a1111a8f2ec3: Pulling fs layer 04:23:52 ed53099fbce6: Pulling fs layer 04:23:52 dc539afda2c1: Pulling fs layer 04:23:52 77bc0d833cb6: Pulling fs layer 04:23:52 9065ff56babe: Pulling fs layer 04:23:52 d287ab97295c: Pulling fs layer 04:23:52 77bc0d833cb6: Waiting 04:23:52 9065ff56babe: Waiting 04:23:52 d287ab97295c: Waiting 04:23:52 dc539afda2c1: Waiting 04:23:52 a1111a8f2ec3: Verifying Checksum 04:23:52 a1111a8f2ec3: Download complete 04:23:52 dc539afda2c1: Verifying Checksum 04:23:52 dc539afda2c1: Download complete 04:23:52 77bc0d833cb6: Verifying Checksum 04:23:52 77bc0d833cb6: Download complete 04:23:52 9065ff56babe: Verifying Checksum 04:23:52 9065ff56babe: Download complete 04:23:52 ed53099fbce6: Verifying Checksum 04:23:52 ed53099fbce6: Download complete 04:23:52 b4d181a07f80: Download complete 04:23:54 d287ab97295c: Verifying Checksum 04:23:54 d287ab97295c: Download complete 04:23:54 b4d181a07f80: Pull complete 04:23:54 a1111a8f2ec3: Pull complete 04:23:55 ed53099fbce6: Pull complete 04:23:55 dc539afda2c1: Pull complete 04:23:55 77bc0d833cb6: Pull complete 04:23:55 9065ff56babe: Pull complete 04:24:01 d287ab97295c: Pull complete 04:24:01 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:24:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:24:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:24:01 prd-centos7-docker-4c-2g-1481 does not seem to be running inside a container 04:24:01 $ 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-380/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-380 -v /w/workspace/edgexfoundry_device-sdk-c_PR-380:/w/workspace/edgexfoundry_device-sdk-c_PR-380:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-380@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:24:03 $ docker top c90c4d334f368c15de1298b91120daaf1e079d2b561117a8faface75ce8f9f4d -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:04 + touch /tmp/pre-build-complete [Pipeline] sh 04:24:04 + mkdir -p /var/log/sysstat [Pipeline] sh 04:24:05 + ls /var/log/sa-host 04:24:05 + sadf -c /var/log/sa-host/sa05 04:24:05 file_magic: OK 04:24:05 HZ: Using current value: 100 04:24:05 file_header: OK 04:24:05 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 04:24:05 Statistics: 04:24:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:24:05 File successfully converted to sysstat format version 12.0.3 04:24:05 + sadf -c /var/log/sa-host/sa30 04:24:05 file_magic: OK 04:24:05 HZ: Using current value: 100 04:24:05 file_header: OK 04:24:05 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 04:24:05 Statistics: 04:24:05 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:24:05 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:24:05 provisioning config files... 04:24:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp/config6380411594049732595tmp [Pipeline] { [Pipeline] echo 04:24:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:24:06 ---> create-netrc.sh [Pipeline] } 04:24:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:24:06 ---> python-tools-install.sh [Pipeline] echo 04:24:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:24:06 ---> sudo-logs.sh 04:24:06 Archiving 'sudo' log.. 04:24:06 sudo: unable to resolve host prd-centos7-docker-4c-2g-1481.novalocal: Name or service not known 04:24:06 sudo: unable to resolve host prd-centos7-docker-4c-2g-1481.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:24:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:24:07 ---> job-cost.sh 04:24:07 lf-activate-venv: SKIPPING 04:24:07 DEBUG: total: 0.10999999940395355 04:24:07 INFO: Retrieving Stack Cost... 04:24:07 INFO: Retrieving Pricing Info for: v3-standard-2 04:24:08 INFO: Archiving Costs [Pipeline] echo 04:24:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:24:08 ---> logs-deploy.sh 04:24:08 lf-activate-venv: SKIPPING 04:24:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-380/2 04:24:08 INFO: archiving workspace using pattern(s): 04:24:09 Archives upload complete. 04:24:09 INFO: archiving logs to Nexus 04:24:09 ---> uname -a: 04:24:09 Linux prd-centos7-docker-4c-2g-1481.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 04:24:09 04:24:09 04:24:09 ---> lscpu: 04:24:09 Architecture: x86_64 04:24:09 CPU op-mode(s): 32-bit, 64-bit 04:24:09 Byte Order: Little Endian 04:24:09 Address sizes: 40 bits physical, 48 bits virtual 04:24:09 CPU(s): 2 04:24:09 On-line CPU(s) list: 0,1 04:24:09 Thread(s) per core: 1 04:24:09 Core(s) per socket: 1 04:24:09 Socket(s): 2 04:24:09 NUMA node(s): 1 04:24:09 Vendor ID: AuthenticAMD 04:24:09 CPU family: 23 04:24:09 Model: 49 04:24:09 Model name: AMD EPYC-Rome Processor 04:24:09 Stepping: 0 04:24:09 CPU MHz: 2799.996 04:24:09 BogoMIPS: 5599.99 04:24:09 Virtualization: AMD-V 04:24:09 Hypervisor vendor: KVM 04:24:09 Virtualization type: full 04:24:09 L1d cache: 32K 04:24:09 L1i cache: 32K 04:24:09 L2 cache: 512K 04:24:09 L3 cache: 16384K 04:24:09 NUMA node0 CPU(s): 0,1 04:24:09 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 perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 04:24:09 04:24:09 04:24:09 ---> nproc: 04:24:09 2 04:24:09 04:24:09 04:24:09 ---> df -h: 04:24:09 Filesystem Size Used Avail Use% Mounted on 04:24:09 overlay 40G 7.7G 33G 20% / 04:24:09 tmpfs 64M 0 64M 0% /dev 04:24:09 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 04:24:09 shm 64M 0 64M 0% /dev/shm 04:24:09 /dev/vda1 40G 7.7G 33G 20% /facter-os 04:24:09 04:24:09 04:24:09 ---> sar -b -r -n DEV: 04:24:09 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/05/21 _x86_64_ (2 CPU) 04:24:09 04:24:09 04:15:10 LINUX RESTART (2 CPU) 04:24:09 04:24:09 04:16:01 tps rtps wtps bread/s bwrtn/s 04:24:09 04:17:01 3.53 0.08 3.45 2.67 108.35 04:24:09 04:18:01 0.37 0.00 0.37 0.00 5.70 04:24:09 04:19:01 0.35 0.00 0.35 0.00 3.70 04:24:09 04:20:01 0.33 0.00 0.33 0.00 4.86 04:24:09 04:21:01 0.20 0.00 0.20 0.00 2.47 04:24:09 04:22:01 0.35 0.00 0.35 0.00 4.86 04:24:09 04:23:01 0.23 0.00 0.23 0.00 2.85 04:24:09 04:24:01 27.91 0.12 27.79 10.52 6472.29 04:24:09 Average: 4.16 0.02 4.14 1.65 825.89 04:24:09 04:24:09 04:16:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:24:09 04:17:01 5681148 0 618096 7.72 2620 1707076 1197740 13.22 560600 1529828 24 04:24:09 04:18:01 5676240 0 622996 7.78 2620 1707084 1165872 12.87 565668 1530352 8 04:24:09 04:19:01 5675880 0 623356 7.78 2620 1707084 1166004 12.87 566244 1530352 8 04:24:09 04:20:01 5675404 0 623824 7.79 2620 1707092 1166064 12.87 565648 1531296 20 04:24:09 04:21:01 5678028 0 621192 7.76 2620 1707100 1166016 12.87 563224 1531296 8 04:24:09 04:22:01 5678416 0 620800 7.75 2620 1707104 1166004 12.87 562992 1531364 8 04:24:09 04:23:01 5670112 0 629100 7.85 2620 1707108 1165872 12.87 571440 1531360 16 04:24:09 04:24:01 5042772 0 766168 9.57 2620 2197380 1332048 14.71 760180 1868784 312820 04:24:09 Average: 5597250 0 640692 8.00 2620 1768378 1190702 13.15 589500 1573079 39114 04:24:09 04:24:09 04:16:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:24:09 04:17:01 eth0 1.05 0.33 0.31 0.21 0.00 0.00 0.00 0.00 04:24:09 04:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 04:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 04:18:01 eth0 3.03 0.08 0.29 0.01 0.00 0.00 0.00 0.00 04:24:09 04:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 04:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 04:19:01 eth0 2.32 0.32 0.44 0.20 0.00 0.00 0.00 0.00 04:24:09 04:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 04:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 04:20:01 eth0 1.03 0.60 0.54 0.40 0.00 0.00 0.00 0.00 04:24:09 04:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 04:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 04:21:01 eth0 0.40 0.18 0.09 0.07 0.00 0.00 0.00 0.00 04:24:09 04:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 04:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 04:22:01 eth0 0.28 0.13 0.07 0.01 0.00 0.00 0.00 0.00 04:24:09 04:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 04:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 04:23:01 eth0 0.28 0.08 0.02 0.01 0.00 0.00 0.00 0.00 04:24:09 04:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 04:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 04:24:01 eth0 239.88 184.88 2604.99 18.29 0.00 0.00 0.00 0.00 04:24:09 04:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 04:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 Average: eth0 31.04 23.33 325.95 2.40 0.00 0.00 0.00 0.00 04:24:09 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:09 04:24:09 04:24:09 ---> sar -P ALL: 04:24:09 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/05/21 _x86_64_ (2 CPU) 04:24:09 04:24:09 04:15:10 LINUX RESTART (2 CPU) 04:24:09 04:24:09 04:16:01 CPU %user %nice %system %iowait %steal %idle 04:24:09 04:17:01 all 0.28 0.00 0.06 0.00 0.02 99.65 04:24:09 04:17:01 0 0.43 0.00 0.05 0.00 0.02 99.50 04:24:09 04:17:01 1 0.12 0.00 0.07 0.00 0.02 99.80 04:24:09 04:18:01 all 0.26 0.00 0.04 0.00 0.02 99.68 04:24:09 04:18:01 0 0.45 0.00 0.05 0.00 0.02 99.48 04:24:09 04:18:01 1 0.07 0.00 0.03 0.00 0.02 99.88 04:24:09 04:19:01 all 0.23 0.00 0.04 0.01 0.01 99.72 04:24:09 04:19:01 0 0.40 0.00 0.03 0.00 0.00 99.57 04:24:09 04:19:01 1 0.05 0.00 0.05 0.02 0.02 99.87 04:24:09 04:20:01 all 0.21 0.00 0.03 0.00 0.02 99.75 04:24:09 04:20:01 0 0.08 0.00 0.03 0.00 0.02 99.87 04:24:09 04:20:01 1 0.33 0.00 0.02 0.00 0.02 99.63 04:24:09 04:21:01 all 0.27 0.00 0.03 0.00 0.02 99.69 04:24:09 04:21:01 0 0.03 0.00 0.02 0.00 0.02 99.93 04:24:09 04:21:01 1 0.50 0.00 0.03 0.00 0.02 99.45 04:24:09 04:22:01 all 0.24 0.00 0.03 0.00 0.02 99.72 04:24:09 04:22:01 0 0.03 0.00 0.02 0.00 0.02 99.93 04:24:09 04:22:01 1 0.45 0.00 0.03 0.00 0.02 99.50 04:24:09 04:23:01 all 0.07 0.00 0.06 0.00 0.02 99.86 04:24:09 04:23:01 0 0.03 0.00 0.03 0.00 0.00 99.93 04:24:09 04:23:01 1 0.10 0.00 0.08 0.00 0.03 99.78 04:24:09 04:24:01 all 8.17 0.00 2.66 0.20 0.03 88.93 04:24:09 04:24:01 0 7.34 0.00 2.72 0.17 0.02 89.74 04:24:09 04:24:01 1 9.01 0.00 2.60 0.24 0.03 88.12 04:24:09 Average: all 1.20 0.00 0.36 0.03 0.02 98.39 04:24:09 Average: 0 1.09 0.00 0.37 0.02 0.01 98.51 04:24:09 Average: 1 1.31 0.00 0.36 0.03 0.02 98.28 04:24:09 04:24:09 04:24:09