Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 02161a6b4618232bfcf286377d256226a622bc2b 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-ssh3214498385896096406.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh9030769593169463732.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7721814652243406726.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh262214202144747038.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12798850723391458027.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_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-5000 in /w/workspace/edgexfoundry_device-sdk-c_main [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_main # 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_main@tmp/jenkins-gitclient-ssh1551143149943659853.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 02161a6b4618232bfcf286377d256226a622bc2b (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 02161a6b4618232bfcf286377d256226a622bc2b # timeout=10 Commit message: "fix: Dont stringify array elements in readings (#399)" > git rev-list --no-walk 14d3a6bdd029748f665c10001c42d1af5d609c98 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:24:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:24:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:24:54 ========================================================= 17:24:54 EdgeX Global Pipelines Version Info 17:24:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:24:55 ------------------- 17:24:55 stable info: 17:24:55 ------------------- 17:24:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:24:55 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 17:24:55 Message: update stable to v1.0.220 17:24:55 ------------------- 17:24:55 experimental info: 17:24:55 ------------------- 17:24:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:24:55 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 17:24:55 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:24:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 17:24:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 17:24:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:24:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:24:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:24:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 17:24:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 17:24:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:24:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:24:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 17:24:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:24:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:24:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:24:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:24:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:24:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:24:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:24:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:24:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:24:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:24:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02161a6b4618232bfcf286377d256226a622bc2b [Pipeline] echo 17:24:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02161a6 [Pipeline] echo 17:24:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:24:56 provisioning config files... 17:24:56 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config832431249039587358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:56 ---> docker-login.sh 17:24:56 nexus3.edgexfoundry.org:10001 17:24:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:56 Configure a credential helper to remove this warning. See 17:24:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:56 17:24:56 Login Succeeded 17:24:56 nexus3.edgexfoundry.org:10002 17:24:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:56 Configure a credential helper to remove this warning. See 17:24:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:56 17:24:56 Login Succeeded 17:24:56 nexus3.edgexfoundry.org:10003 17:24:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:57 Configure a credential helper to remove this warning. See 17:24:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:57 17:24:57 Login Succeeded 17:24:57 nexus3.edgexfoundry.org:10004 17:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:57 Configure a credential helper to remove this warning. See 17:24:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:57 17:24:57 Login Succeeded 17:24:57 docker.io 17:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:57 Configure a credential helper to remove this warning. See 17:24:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:57 17:24:57 Login Succeeded 17:24:57 ---> docker-login.sh ends [Pipeline] } 17:24:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 17:24:58 + git rev-list -1 --merges 02161a6b4618232bfcf286377d256226a622bc2b~1..02161a6b4618232bfcf286377d256226a622bc2b [Pipeline] echo 17:24:58 -----------> git rev-list -1 --merges 02161a6b4618232bfcf286377d256226a622bc2b~1..02161a6b4618232bfcf286377d256226a622bc2b 02161a6b4618232bfcf286377d256226a622bc2b [false] [Pipeline] sh 17:24:58 + git log --format=format:%s -1 02161a6b4618232bfcf286377d256226a622bc2b [Pipeline] echo 17:24:58 ========================================================= 17:24:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:24:58 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:24:58 + git rev-list -1 --merges 02161a6b4618232bfcf286377d256226a622bc2b~1..02161a6b4618232bfcf286377d256226a622bc2b [Pipeline] echo 17:24:58 -----------> git rev-list -1 --merges 02161a6b4618232bfcf286377d256226a622bc2b~1..02161a6b4618232bfcf286377d256226a622bc2b 02161a6b4618232bfcf286377d256226a622bc2b [false] [Pipeline] sh 17:24:59 + git log --format=format:%s -1 02161a6b4618232bfcf286377d256226a622bc2b [Pipeline] echo 17:24:59 ========================================================= 17:24:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:24:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 17:24:59 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 17:24:59 + grep -v github /etc/ssh/ssh_known_hosts 17:24:59 + '[' -e /tmp/ssh_known_hosts ']' 17:24:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:24:59 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 17:24:59 + sudo tee -a /etc/ssh/ssh_known_hosts 17:24:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:25:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:25:00 17:25:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:25:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:25:00 latest: Pulling from edgex-devops/git-semver 17:25:00 a0d0a0d46f8b: Pulling fs layer 17:25:00 3e5f54012d9b: Pulling fs layer 17:25:00 4c7163046ea9: Pulling fs layer 17:25:00 0c2d73faf560: Pulling fs layer 17:25:00 0c2d73faf560: Waiting 17:25:00 3e5f54012d9b: Verifying Checksum 17:25:00 3e5f54012d9b: Download complete 17:25:00 a0d0a0d46f8b: Verifying Checksum 17:25:00 a0d0a0d46f8b: Download complete 17:25:00 4c7163046ea9: Verifying Checksum 17:25:00 4c7163046ea9: Download complete 17:25:00 0c2d73faf560: Verifying Checksum 17:25:00 0c2d73faf560: Download complete 17:25:00 a0d0a0d46f8b: Pull complete 17:25:00 3e5f54012d9b: Pull complete 17:25:00 4c7163046ea9: Pull complete 17:25:01 0c2d73faf560: Pull complete 17:25:01 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 17:25:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:25:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:25:01 prd-centos7-docker-4c-2g-5000 does not seem to be running inside a container 17:25:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:25:01 $ docker top 6c358ada2a7b4b2c6cec9de182e528d34fe77a022db39e14d69e063867639415 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:25:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:02 [ssh-agent] Looking for ssh-agent implementation... 17:25:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:02 $ docker exec 6c358ada2a7b4b2c6cec9de182e528d34fe77a022db39e14d69e063867639415 ssh-agent 17:25:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFhjKBd/agent.14 17:25:02 SSH_AGENT_PID=21 17:25:02 Running ssh-add (command line suppressed) 17:25:02 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7699354255178252113.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7699354255178252113.key) 17:25:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:02 + git tag --points-at HEAD [Pipeline] } 17:25:02 $ docker exec --env ******** --env ******** 6c358ada2a7b4b2c6cec9de182e528d34fe77a022db39e14d69e063867639415 ssh-agent -k 17:25:02 unset SSH_AUTH_SOCK; 17:25:02 unset SSH_AGENT_PID; 17:25:02 echo Agent pid 21 killed; 17:25:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:25:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:02 [ssh-agent] Looking for ssh-agent implementation... 17:25:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:02 $ docker exec 6c358ada2a7b4b2c6cec9de182e528d34fe77a022db39e14d69e063867639415 ssh-agent 17:25:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDmoNhO/agent.54 17:25:03 SSH_AGENT_PID=61 17:25:03 Running ssh-add (command line suppressed) 17:25:03 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9210482912368321282.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9210482912368321282.key) 17:25:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:03 + git semver init 17:25:03 # -> Open(): unable to determine branch for HEAD 17:25:03 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 17:25:03 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 17:25:03 # $SEMVER_REMOTE_NAME = origin 17:25:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:25:03 # $SEMVER_USER_NAME = edgex-jenkins 17:25:03 # $SEMVER_BRANCH = main 17:25:03 # $SEMVER_TEMP = /tmp/semver-662087264 17:25:03 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 17:25:04 # '/tmp/semver-662087264' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' 17:25:04 # -> Force: false 17:25:04 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 17:25:04 $ docker exec --env ******** --env ******** 6c358ada2a7b4b2c6cec9de182e528d34fe77a022db39e14d69e063867639415 ssh-agent -k 17:25:04 unset SSH_AUTH_SOCK; 17:25:04 unset SSH_AGENT_PID; 17:25:04 echo Agent pid 61 killed; 17:25:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:04 + git semver [Pipeline] } 17:25:04 $ docker stop --time=1 6c358ada2a7b4b2c6cec9de182e528d34fe77a022db39e14d69e063867639415 17:25:06 $ docker rm -f 6c358ada2a7b4b2c6cec9de182e528d34fe77a022db39e14d69e063867639415 [Pipeline] // withDockerContainer [Pipeline] sh 17:25:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:25:06 Stashed 1 file(s) [Pipeline] echo 17:25:06 [edgeXSemver]: initialized semver on version 2.2.0-dev.4 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:25:06 provisioning config files... 17:25:06 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config490879334973796790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:07 ---> docker-login.sh 17:25:07 nexus3.edgexfoundry.org:10001 17:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:07 Configure a credential helper to remove this warning. See 17:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:07 17:25:07 Login Succeeded 17:25:07 nexus3.edgexfoundry.org:10002 17:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:07 Configure a credential helper to remove this warning. See 17:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:07 17:25:07 Login Succeeded 17:25:07 nexus3.edgexfoundry.org:10003 17:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:07 Configure a credential helper to remove this warning. See 17:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:07 17:25:07 Login Succeeded 17:25:07 nexus3.edgexfoundry.org:10004 17:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:07 Configure a credential helper to remove this warning. See 17:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:07 17:25:07 Login Succeeded 17:25:07 docker.io 17:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:07 Configure a credential helper to remove this warning. See 17:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:07 17:25:07 Login Succeeded 17:25:07 ---> docker-login.sh ends [Pipeline] } 17:25:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:25:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:08 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 17:25:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:08 ========================================================= 17:25:08 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 17:25:08 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:25:08 + 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 . 17:25:08 Sending build context to Docker daemon 4.477MB 17:25:08 Step 1/24 : ARG BASE=alpine:3.14 17:25:08 Step 2/24 : FROM ${BASE} as builder 17:25:08 latest: Pulling from edgex-devops/edgex-gcc-base 17:25:08 97518928ae5f: Pulling fs layer 17:25:08 7363053e1ea0: Pulling fs layer 17:25:08 51a0b06becb3: Pulling fs layer 17:25:08 7363053e1ea0: Verifying Checksum 17:25:08 7363053e1ea0: Download complete 17:25:08 97518928ae5f: Verifying Checksum 17:25:08 97518928ae5f: Download complete 17:25:08 97518928ae5f: Pull complete 17:25:08 7363053e1ea0: Pull complete 17:25:08 51a0b06becb3: Verifying Checksum 17:25:08 51a0b06becb3: Download complete 17:25:12 51a0b06becb3: Pull complete 17:25:12 Digest: sha256:87c36446de1e177a99674a7135a8e1d07a26632dff751204c3634b3409cb465c 17:25:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 17:25:12 ---> 621855499e4c 17:25:12 Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 17:25:12 ---> Running in 9252f6174b14 17:25:12 Connecting to iotech.jfrog.io (54.229.110.245:443) 17:25:13 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:25:13 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:25:13 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:25:13 Removing intermediate container 9252f6174b14 17:25:13 ---> 9f08f7278f82 17:25:13 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 17:25:13 ---> Running in 85b043a84901 17:25:13 Removing intermediate container 85b043a84901 17:25:13 ---> 34931e19c04e 17:25:13 Step 5/24 : 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 17:25:13 ---> Running in 14954a6fdd08 17:25:14 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:25:15 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:25:15 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 17:25:15 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:25:15 (1/27) Installing hiredis (1.0.0-r0) 17:25:15 (2/27) Installing hiredis-dev (1.0.0-r0) 17:25:15 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 17:25:16 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 17:25:17 (5/27) Installing libblkid (2.37.3-r0) 17:25:17 (6/27) Installing blkid (2.37.3-r0) 17:25:17 (7/27) Installing libcap-ng (0.8.2-r0) 17:25:17 (8/27) Installing setpriv (2.37.3-r0) 17:25:17 (9/27) Installing libmount (2.37.3-r0) 17:25:17 (10/27) Installing libsmartcols (2.37.3-r0) 17:25:17 (11/27) Installing findmnt (2.37.3-r0) 17:25:17 (12/27) Installing mcookie (2.37.3-r0) 17:25:17 (13/27) Installing hexdump (2.37.3-r0) 17:25:17 (14/27) Installing lsblk (2.37.3-r0) 17:25:17 (15/27) Installing libuuid (2.37.3-r0) 17:25:18 (16/27) Installing libfdisk (2.37.3-r0) 17:25:18 (17/27) Installing sfdisk (2.37.3-r0) 17:25:18 (18/27) Installing cfdisk (2.37.3-r0) 17:25:18 (19/27) Installing partx (2.37.3-r0) 17:25:18 (20/27) Installing flock (2.37.3-r0) 17:25:18 (21/27) Installing logger (2.37.3-r0) 17:25:18 (22/27) Installing uuidgen (2.37.3-r0) 17:25:18 (23/27) Installing libeconf (0.3.8-r1) 17:25:18 (24/27) Installing util-linux (2.37.3-r0) 17:25:18 (25/27) Installing util-linux-dev (2.37.3-r0) 17:25:19 (26/27) Installing libidn2 (2.3.1-r0) 17:25:19 (27/27) Installing wget (1.21.1-r1) 17:25:19 Executing busybox-1.33.1-r6.trigger 17:25:19 OK: 291 MiB in 104 packages 17:25:20 Removing intermediate container 14954a6fdd08 17:25:20 ---> 19fba725b3bf 17:25:20 Step 6/24 : ENV CBOR_VERSION=0.5.0 17:25:20 ---> Running in 6ae6f32d8c9b 17:25:20 Removing intermediate container 6ae6f32d8c9b 17:25:20 ---> 0beaf9ba7dff 17:25:20 Step 7/24 : 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 17:25:20 ---> Running in ded76a06bdda 17:25:20 --2022-02-10 17:25:20-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 17:25:20 Resolving github.com (github.com)... 140.82.113.4 17:25:20 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 17:25:20 HTTP request sent, awaiting response... 302 Found 17:25:20 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 17:25:20 --2022-02-10 17:25:20-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 17:25:20 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 17:25:20 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 17:25:20 HTTP request sent, awaiting response... 200 OK 17:25:20 Length: unspecified [application/x-gzip] 17:25:20 Saving to: 'STDOUT' 17:25:20  17:25:20 0K .......... .......... .......... .......... .......... 1.06M 17:25:20 50K .......... .......... .......... .......... .......... 3.47M 17:25:20 100K .......... .......... .......... .......... .......... 25.5M 17:25:20 150K .......... .......... .......... .......... .......... 10.6M 17:25:20 200K .......... .......... .......... .......... .......... 3.39M 17:25:20 250K .......... .......... .......... .......... .......... 9.06M 17:25:20 300K .......... .......... .......... .......... .......... 8.91M 17:25:20 350K .......... .......... .......... .......... .......... 11.8M 17:25:20 400K .......... .......... .......... .......... .......... 8.77M 17:25:20 450K .......... .......... .......... .......... .......... 11.9M 17:25:20 500K .......... .......... .......... .......... .......... 27.0M 17:25:20 550K .......... .......... .......... .......... .......... 7.08M 17:25:20 600K .......... .......... .......... .......... .......... 4.40M 17:25:20 650K .......... .......... .......... .......... .......... 4.95M 17:25:20 700K .. 69.2M=0.1s 17:25:20 17:25:20 2022-02-10 17:25:20 (5.06 MB/s) - written to stdout [719348] 17:25:20 17:25:20 -- The C compiler identification is GNU 10.3.1 17:25:20 -- The CXX compiler identification is GNU 10.3.1 17:25:20 -- Detecting C compiler ABI info 17:25:21 -- Detecting C compiler ABI info - done 17:25:21 -- Check for working C compiler: /usr/bin/cc - skipped 17:25:21 -- Detecting C compile features 17:25:21 -- Detecting C compile features - done 17:25:21 -- Detecting CXX compiler ABI info 17:25:21 -- Detecting CXX compiler ABI info - done 17:25:21 -- Check for working CXX compiler: /usr/bin/c++ - skipped 17:25:21 -- Detecting CXX compile features 17:25:21 -- Detecting CXX compile features - done 17:25:21 -- Looking for include file endian.h 17:25:21 -- Looking for include file endian.h - found 17:25:21 -- Looking for sys/types.h 17:25:21 -- Looking for sys/types.h - found 17:25:21 -- Looking for stdint.h 17:25:21 -- Looking for stdint.h - found 17:25:21 -- Looking for stddef.h 17:25:21 -- Looking for stddef.h - found 17:25:21 -- Check size of size_t 17:25:21 -- Check size of size_t - done 17:25:21 CMake Warning at examples/CMakeLists.txt:16 (find_package): 17:25:21 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 17:25:21 asked CMake to find a package configuration file provided by "cJSON", but 17:25:21 CMake did not find one. 17:25:21 17:25:21 Could not find a package configuration file provided by "cJSON" with any of 17:25:21 the following names: 17:25:21 17:25:21 cJSONConfig.cmake 17:25:21 cjson-config.cmake 17:25:21 17:25:21 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 17:25:21 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 17:25:21 provides a separate development package or SDK, be sure it has been 17:25:21 installed. 17:25:21 17:25:21 17:25:21 -- Configuring done 17:25:21 -- Generating done 17:25:21 -- Build files have been written to: /tmp/cbor 17:25:21 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 17:25:21 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 17:25:21 Still waiting to schedule task 17:25:21 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:25:21 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 17:25:21 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 17:25:22 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 17:25:22 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 17:25:22 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 17:25:22 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 17:25:22 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 17:25:22 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 17:25:22 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 17:25:22 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 17:25:22 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 17:25:22 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 17:25:22 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 17:25:22 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 17:25:22 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 17:25:22 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 17:25:22 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 17:25:23 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 17:25:23 [ 40%] Linking C shared library libcbor.so 17:25:23 [ 40%] Built target cbor_shared 17:25:23 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 17:25:23 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 17:25:23 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 17:25:23 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 17:25:23 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 17:25:23 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 17:25:23 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 17:25:23 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 17:25:23 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 17:25:24 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 17:25:24 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 17:25:24 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 17:25:24 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 17:25:24 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 17:25:24 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 17:25:24 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 17:25:24 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 17:25:24 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 17:25:24 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 17:25:25 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 17:25:25 [ 80%] Linking C static library libcbor.a 17:25:25 [ 80%] Built target cbor 17:25:25 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 17:25:25 [ 84%] Linking C executable readfile 17:25:25 [ 84%] Built target readfile 17:25:25 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 17:25:25 [ 88%] Linking C executable create_items 17:25:25 [ 88%] Built target create_items 17:25:25 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 17:25:25 [ 92%] Linking C executable sort 17:25:25 [ 92%] Built target sort 17:25:25 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 17:25:25 [ 96%] Linking C executable hello 17:25:25 [ 96%] Built target hello 17:25:25 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 17:25:25 [100%] Linking C executable streaming_parser 17:25:25 [100%] Built target streaming_parser 17:25:25 Install the project... 17:25:25 -- Install configuration: "Release" 17:25:25 -- Installing: /usr/local/include/cbor/configuration.h 17:25:25 -- Installing: /usr/local/lib/libcbor.a 17:25:25 -- Installing: /usr/local/lib/libcbor.so.0.0.0 17:25:25 -- Installing: /usr/local/lib/libcbor.so.0 17:25:25 -- Installing: /usr/local/lib/libcbor.so 17:25:25 -- Up-to-date: /usr/local/include/cbor 17:25:25 -- Installing: /usr/local/include/cbor/arrays.h 17:25:25 -- Installing: /usr/local/include/cbor/bytestrings.h 17:25:25 -- Installing: /usr/local/include/cbor/callbacks.h 17:25:25 -- Installing: /usr/local/include/cbor/common.h 17:25:25 -- Installing: /usr/local/include/cbor/data.h 17:25:25 -- Installing: /usr/local/include/cbor/encoding.h 17:25:25 -- Installing: /usr/local/include/cbor/floats_ctrls.h 17:25:25 -- Installing: /usr/local/include/cbor/internal 17:25:25 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 17:25:25 -- Installing: /usr/local/include/cbor/internal/encoders.h 17:25:25 -- Installing: /usr/local/include/cbor/internal/loaders.h 17:25:25 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 17:25:25 -- Installing: /usr/local/include/cbor/internal/stack.h 17:25:25 -- Installing: /usr/local/include/cbor/internal/unicode.h 17:25:25 -- Installing: /usr/local/include/cbor/ints.h 17:25:25 -- Installing: /usr/local/include/cbor/maps.h 17:25:25 -- Installing: /usr/local/include/cbor/serialization.h 17:25:25 -- Installing: /usr/local/include/cbor/streaming.h 17:25:25 -- Installing: /usr/local/include/cbor/strings.h 17:25:25 -- Installing: /usr/local/include/cbor/tags.h 17:25:25 -- Installing: /usr/local/include/cbor.h 17:25:25 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 17:25:26 Removing intermediate container ded76a06bdda 17:25:26 ---> fdc746e466a0 17:25:26 Step 8/24 : RUN mkdir /tmp/sdk 17:25:26 ---> Running in 9ee168edcd1e 17:25:26 Removing intermediate container 9ee168edcd1e 17:25:26 ---> bd5c31997ab9 17:25:26 Step 9/24 : COPY VERSION /tmp/sdk 17:25:27 ---> b83350de1284 17:25:27 Step 10/24 : COPY src /tmp/sdk/src 17:25:27 ---> cca707b976c1 17:25:27 Step 11/24 : COPY include /tmp/sdk/include 17:25:27 ---> a833a42cbc8a 17:25:27 Step 12/24 : COPY scripts /tmp/sdk/scripts 17:25:27 ---> fba67d1876e9 17:25:27 Step 13/24 : COPY LICENSE /tmp/sdk 17:25:27 ---> bf26465dcff5 17:25:27 Step 14/24 : COPY Attribution.txt /tmp/sdk 17:25:27 ---> e692f348fc2b 17:25:27 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:25:27 ---> Running in d82a99147f03 17:25:28 + CPPCHECK=false 17:25:28 + DOCGEN=false 17:25:28 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 17:25:28 + TOMLVER=SDK-0.2 17:25:28 + CUTILVER=1.2.2 17:25:28 + '[' 0 -gt 0 ] 17:25:28 + readlink -f ./scripts/build.sh 17:25:28 + dirname /tmp/sdk/scripts/build.sh 17:25:28 + dirname /tmp/sdk/scripts 17:25:28 + ROOT=/tmp/sdk 17:25:28 + cd /tmp/sdk 17:25:28 + '[' '!' -d deps ] 17:25:28 + mkdir deps 17:25:28 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:25:28 --2022-02-10 17:25:27-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:25:28 + tar -C deps -z -x -f - 17:25:28 Resolving github.com (github.com)... 140.82.113.4 17:25:28 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 17:25:28 HTTP request sent, awaiting response... 302 Found 17:25:28 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 17:25:28 --2022-02-10 17:25:28-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 17:25:28 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 17:25:28 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 17:25:28 HTTP request sent, awaiting response... 200 OK 17:25:28 Length: unspecified [application/x-gzip] 17:25:28 Saving to: 'STDOUT' 17:25:28  17:25:28 0K .......... ...... 782K=0.02s 17:25:28 17:25:28 2022-02-10 17:25:28 (782 KB/s) - written to stdout [16451] 17:25:28 17:25:28 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 17:25:28 + tar -C deps -z -x -f - 17:25:28 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 17:25:28 --2022-02-10 17:25:28-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 17:25:28 Resolving github.com (github.com)... 140.82.113.4 17:25:28 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 17:25:28 HTTP request sent, awaiting response... 302 Found 17:25:28 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 17:25:28 --2022-02-10 17:25:28-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 17:25:28 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 17:25:28 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 17:25:28 HTTP request sent, awaiting response... 200 OK 17:25:28 Length: unspecified [application/x-gzip] 17:25:28 Saving to: 'STDOUT' 17:25:28  17:25:28 0K .......... .......... .......... .......... .......... 1.23M 17:25:28 50K .......... .......... .......... .......... .......... 2.48M 17:25:28 100K .......... .......... .......... .......... .......... 29.4M 17:25:28 150K .......... .......... .......... ......... 4.75M=0.07s 17:25:28 17:25:28 2022-02-10 17:25:28 (2.68 MB/s) - written to stdout [193961] 17:25:28 17:25:28 + mkdir -p src/c/iot 17:25:28 + 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 17:25:28 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 17:25:28 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 17:25:28 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 17:25:28 + mkdir -p include/iot 17:25:28 + 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 17:25:28 + mkdir -p include/iot/os 17:25:28 + 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 17:25:28 + mkdir -p /tmp/sdk/build/release 17:25:28 + cd /tmp/sdk/build/release 17:25:28 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:25:28 -- The C compiler identification is GNU 10.3.1 17:25:29 -- Detecting C compiler ABI info 17:25:29 -- Detecting C compiler ABI info - done 17:25:29 -- Check for working C compiler: /usr/bin/cc - skipped 17:25:29 -- Detecting C compile features 17:25:29 -- Detecting C compile features - done 17:25:29 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:25:29 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 17:25:29 -- Found LIBYAML: /usr/lib/libyaml.so 17:25:29 -- Found LIBUUID: /usr/lib/libuuid.so 17:25:29 -- Found LIBCBOR: /usr/local/lib/libcbor.so 17:25:29 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:25:29 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:25:29 -- C SDK 2.2.0-dev.4 for Linux 17:25:29 -- Performing Test CSDK_HAVE_ATOMIC 17:25:29 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:25:29 -- Found Curses: /usr/lib/libcurses.so 17:25:29 -- Configuring done 17:25:29 -- Generating done 17:25:29 -- Build files have been written to: /tmp/sdk/build/release 17:25:29 + make all package 17:25:29 + tee release.log 17:25:29 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:25:29 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:25:29 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:25:29 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:25:30 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:25:30 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:25:30 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:25:30 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:25:30 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:25:30 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:25:31 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:25:31 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:25:31 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:25:31 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:25:31 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:25:31 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:25:31 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:25:32 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:25:32 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:25:32 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:25:32 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:25:32 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:25:32 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 17:25:32 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 17:25:32 275 | const iot_component_factory_t * factory; 17:25:32 | ^~~~~~~ 17:25:32 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:25:33 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:25:33 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:25:33 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:25:33 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:25:33 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:25:33 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:25:34 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:25:34 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:25:34 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:25:34 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 17:25:34 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:25:34 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:25:34 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:25:35 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:25:35 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:25:36 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:25:36 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:25:36 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:25:36 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:25:36 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 17:25:36 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 17:25:36 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 17:25:36 | ^~~~~~~~~~~~~ 17:25:36 | | 17:25:36 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 17:25:36 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:25:36 /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 17:25:36 2714 | MHD_KeyValueIterator iterator, 17:25:36 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 17:25:36 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 17:25:36 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:25:36 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 17:25:36 | ^~~~~~~~~~~~ 17:25:36 | | 17:25:36 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 17:25:36 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:25:36 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 17:25:36 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:25:36 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:25:36 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:25:36 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 17:25:36 | ^~~~~~~~~~~~ 17:25:36 | | 17:25:36 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 17:25:36 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:25:36 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 17:25:36 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:25:36 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:25:36 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:25:36 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:25:36 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:25:37 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:25:37 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:25:37 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:25:38 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:25:38 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:25:38 [ 76%] Linking C shared library libcsdk.so 17:25:38 [ 76%] Built target csdk 17:25:38 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:25:38 [ 79%] Linking C executable template 17:25:38 [ 79%] Built target template 17:25:38 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:25:38 [ 82%] Linking C executable device-counter 17:25:38 [ 82%] Built target device-counter 17:25:38 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:25:39 [ 85%] Linking C executable device-random 17:25:39 [ 85%] Built target device-random 17:25:39 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:25:39 [ 88%] Linking C executable device-gyro 17:25:39 [ 88%] Built target device-gyro 17:25:39 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:25:39 [ 91%] Linking C executable device-bitfields 17:25:39 [ 91%] Built target device-bitfields 17:25:39 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:25:39 [ 94%] Linking C executable template-discovery 17:25:39 [ 94%] Built target template-discovery 17:25:39 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:25:39 [ 97%] Linking C executable device-file 17:25:40 [ 97%] Built target device-file 17:25:40 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:25:40 [100%] Linking C executable device-terminal 17:25:40 [100%] Built target device-terminal 17:25:40 Run CPack packaging tool... 17:25:40 CPack: Create package using TGZ 17:25:40 CPack: Install projects 17:25:40 CPack: - Run preinstall target for: Csdk 17:25:40 CPack: - Install project: Csdk [] 17:25:40 CPack: Create package 17:25:40 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.4.tar.gz generated. 17:25:40 + '[' false '=' true ] 17:25:40 + '[' false '=' true ] 17:25:40 + mkdir -p /tmp/sdk/build/debug 17:25:40 + cd /tmp/sdk/build/debug 17:25:40 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:25:40 -- The C compiler identification is GNU 10.3.1 17:25:40 -- Detecting C compiler ABI info 17:25:40 -- Detecting C compiler ABI info - done 17:25:40 -- Check for working C compiler: /usr/bin/cc - skipped 17:25:40 -- Detecting C compile features 17:25:40 -- Detecting C compile features - done 17:25:40 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:25:40 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 17:25:40 -- Found LIBYAML: /usr/lib/libyaml.so 17:25:40 -- Found LIBUUID: /usr/lib/libuuid.so 17:25:40 -- Found LIBCBOR: /usr/local/lib/libcbor.so 17:25:40 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:25:40 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:25:40 -- C SDK 2.2.0-dev.4 for Linux 17:25:40 -- Performing Test CSDK_HAVE_ATOMIC 17:25:40 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:25:40 -- Found Curses: /usr/lib/libcurses.so 17:25:40 -- Configuring done 17:25:40 -- Generating done 17:25:40 -- Build files have been written to: /tmp/sdk/build/debug 17:25:40 + make 17:25:40 + tee debug.log 17:25:40 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:25:41 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:25:41 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:25:41 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:25:41 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:25:41 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:25:41 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:25:41 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:25:41 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:25:41 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:25:41 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:25:41 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:25:41 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:25:41 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:25:42 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:25:42 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:25:42 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:25:42 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:25:42 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:25:42 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:25:42 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:25:42 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:25:42 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 17:25:42 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 17:25:42 275 | const iot_component_factory_t * factory; 17:25:42 | ^~~~~~~ 17:25:42 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:25:42 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:25:42 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:25:42 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:25:42 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:25:43 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:25:43 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:25:43 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:25:43 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:25:43 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:25:43 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 17:25:43 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:25:43 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:25:43 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:25:43 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:25:43 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:25:43 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:25:43 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:25:43 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:25:44 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:25:44 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 17:25:44 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 17:25:44 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 17:25:44 | ^~~~~~~~~~~~~ 17:25:44 | | 17:25:44 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 17:25:44 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:25:44 /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 17:25:44 2714 | MHD_KeyValueIterator iterator, 17:25:44 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 17:25:44 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 17:25:44 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:25:44 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 17:25:44 | ^~~~~~~~~~~~ 17:25:44 | | 17:25:44 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 17:25:44 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:25:44 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 17:25:44 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:25:44 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:25:44 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:25:44 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 17:25:44 | ^~~~~~~~~~~~ 17:25:44 | | 17:25:44 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 17:25:44 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:25:44 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 17:25:44 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:25:44 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:25:44 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:25:44 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:25:44 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:25:44 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:25:44 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:25:44 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:25:45 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:25:45 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:25:45 [ 76%] Linking C shared library libcsdk.so 17:25:45 [ 76%] Built target csdk 17:25:45 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:25:45 [ 79%] Linking C executable template 17:25:45 [ 79%] Built target template 17:25:45 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:25:45 [ 82%] Linking C executable device-counter 17:25:45 [ 82%] Built target device-counter 17:25:45 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:25:45 [ 85%] Linking C executable device-random 17:25:45 [ 85%] Built target device-random 17:25:45 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:25:45 [ 88%] Linking C executable device-gyro 17:25:45 [ 88%] Built target device-gyro 17:25:45 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:25:45 [ 91%] Linking C executable device-bitfields 17:25:45 [ 91%] Built target device-bitfields 17:25:45 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:25:45 [ 94%] Linking C executable template-discovery 17:25:46 [ 94%] Built target template-discovery 17:25:46 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:25:46 [ 97%] Linking C executable device-file 17:25:46 [ 97%] Built target device-file 17:25:46 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:25:46 [100%] Linking C executable device-terminal 17:25:46 [100%] Built target device-terminal 17:25:46 make: Entering directory '/tmp/sdk/build/release' 17:25:46 make[1]: Entering directory '/tmp/sdk/build/release' 17:25:46 make[2]: Entering directory '/tmp/sdk/build/release' 17:25:46 make[2]: Leaving directory '/tmp/sdk/build/release' 17:25:46 [ 76%] Built target csdk 17:25:46 make[2]: Entering directory '/tmp/sdk/build/release' 17:25:46 make[2]: Leaving directory '/tmp/sdk/build/release' 17:25:46 [ 79%] Built target template 17:25:46 make[2]: Entering directory '/tmp/sdk/build/release' 17:25:46 make[2]: Leaving directory '/tmp/sdk/build/release' 17:25:46 [ 82%] Built target device-counter 17:25:46 make[2]: Entering directory '/tmp/sdk/build/release' 17:25:46 make[2]: Leaving directory '/tmp/sdk/build/release' 17:25:46 [ 85%] Built target device-random 17:25:46 make[2]: Entering directory '/tmp/sdk/build/release' 17:25:46 make[2]: Leaving directory '/tmp/sdk/build/release' 17:25:46 [ 88%] Built target device-gyro 17:25:46 make[2]: Entering directory '/tmp/sdk/build/release' 17:25:46 make[2]: Leaving directory '/tmp/sdk/build/release' 17:25:46 [ 91%] Built target device-bitfields 17:25:46 make[2]: Entering directory '/tmp/sdk/build/release' 17:25:46 make[2]: Leaving directory '/tmp/sdk/build/release' 17:25:46 [ 94%] Built target template-discovery 17:25:46 make[2]: Entering directory '/tmp/sdk/build/release' 17:25:46 make[2]: Leaving directory '/tmp/sdk/build/release' 17:25:46 [ 97%] Built target device-file 17:25:46 make[2]: Entering directory '/tmp/sdk/build/release' 17:25:46 make[2]: Leaving directory '/tmp/sdk/build/release' 17:25:46 [100%] Built target device-terminal 17:25:46 make[1]: Leaving directory '/tmp/sdk/build/release' 17:25:46 Install the project... 17:25:46 -- Install configuration: "Release" 17:25:46 -- Installing: /usr/local/lib/libcsdk.so 17:25:46 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:25:46 -- Up-to-date: /usr/local/include 17:25:46 -- Installing: /usr/local/include/devsdk 17:25:46 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:25:46 -- Installing: /usr/local/include/devsdk/devsdk.h 17:25:46 -- Installing: /usr/local/include/edgex 17:25:46 -- Installing: /usr/local/include/edgex/devices.h 17:25:46 -- Installing: /usr/local/include/edgex/edgex-base.h 17:25:46 -- Installing: /usr/local/include/edgex/edgex.h 17:25:46 -- Installing: /usr/local/include/edgex/profiles.h 17:25:46 -- Installing: /usr/local/include/edgex/rest-server.h 17:25:46 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:25:46 -- Installing: /usr/local/include/iot 17:25:46 -- Installing: /usr/local/include/iot/base64.h 17:25:46 -- Installing: /usr/local/include/iot/component.h 17:25:46 -- Installing: /usr/local/include/iot/config.h 17:25:46 -- Installing: /usr/local/include/iot/container.h 17:25:46 -- Installing: /usr/local/include/iot/data.h 17:25:46 -- Installing: /usr/local/include/iot/hash.h 17:25:46 -- Installing: /usr/local/include/iot/iot.h 17:25:46 -- Installing: /usr/local/include/iot/json.h 17:25:46 -- Installing: /usr/local/include/iot/logger.h 17:25:46 -- Installing: /usr/local/include/iot/os.h 17:25:46 -- Installing: /usr/local/include/iot/scheduler.h 17:25:46 -- Installing: /usr/local/include/iot/thread.h 17:25:46 -- Installing: /usr/local/include/iot/threadpool.h 17:25:46 -- Installing: /usr/local/include/iot/time.h 17:25:46 -- Installing: /usr/local/include/iot/typecode.h 17:25:46 -- Installing: /usr/local/include/iot/uuid.h 17:25:46 -- Installing: /usr/local/include/iot/os 17:25:46 -- Installing: /usr/local/include/iot/os/linux.h 17:25:46 -- Installing: /usr/local/include/iot/os/macos.h 17:25:46 -- Installing: /usr/local/include/iot/os/zephyr.h 17:25:46 -- Installing: /usr/local/include/iot/defs.h 17:25:46 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:25:46 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:25:46 make: Leaving directory '/tmp/sdk/build/release' 17:25:47 Removing intermediate container d82a99147f03 17:25:47 ---> 1e4cd219ef28 17:25:47 Step 16/24 : FROM ${BASE} 17:25:47 ---> 621855499e4c 17:25:47 Step 17/24 : LABEL maintainer="IOTech " 17:25:47 ---> Running in 7413bf859ed5 17:25:47 Removing intermediate container 7413bf859ed5 17:25:47 ---> d1c8c5f5d5d5 17:25:47 Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 17:25:47 ---> Running in 303f619c636e 17:25:47 Connecting to iotech.jfrog.io (34.243.182.113:443) 17:25:47 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:25:47 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:25:47 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:25:47 Removing intermediate container 303f619c636e 17:25:47 ---> 9d974f87ec60 17:25:47 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 17:25:47 ---> Running in 46fa6fcd3817 17:25:48 Removing intermediate container 46fa6fcd3817 17:25:48 ---> ca777b4245c4 17:25:48 Step 20/24 : 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 17:25:48 ---> Running in 7c9a224dd541 17:25:48 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:25:49 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:25:49 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 17:25:50 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:25:50 (1/7) Installing curl (7.79.1-r0) 17:25:50 (2/7) Installing hiredis (1.0.0-r0) 17:25:50 (3/7) Installing hiredis-dev (1.0.0-r0) 17:25:50 (4/7) Installing libuuid (2.37.3-r0) 17:25:50 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 17:25:51 (6/7) Installing libidn2 (2.3.1-r0) 17:25:51 (7/7) Installing wget (1.21.1-r1) 17:25:51 Executing busybox-1.33.1-r6.trigger 17:25:51 OK: 281 MiB in 84 packages 17:25:52 Removing intermediate container 7c9a224dd541 17:25:52 ---> a5adfd9e31b3 17:25:52 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 17:25:52 ---> d76d60532c8a 17:25:52 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:25:52 ---> fa9a4a9f2466 17:25:52 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 17:25:52 ---> 7e1eaff6693e 17:25:52 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:25:52 ---> da691add5dd4 17:25:52 Successfully built da691add5dd4 17:25:52 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 17:25:53 + docker inspect -f . ci-base-image-x86_64 17:25:53 . [Pipeline] withDockerContainer 17:25:53 prd-centos7-docker-4c-2g-5000 does not seem to be running inside a container 17:25:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** ci-base-image-x86_64 cat 17:25:53 $ docker top 21f7a2dc9c1e3ee612d85a9fb9df33b7df73b3c46549e216859ed195ef7ef475 -eo pid,comm [Pipeline] { [Pipeline] sh 17:25:54 + make test 17:25:54 echo "make test" 17:25:54 make test [Pipeline] } 17:25:54 $ docker stop --time=1 21f7a2dc9c1e3ee612d85a9fb9df33b7df73b3c46549e216859ed195ef7ef475 17:25:55 $ docker rm -f 21f7a2dc9c1e3ee612d85a9fb9df33b7df73b3c46549e216859ed195ef7ef475 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:25:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:25:56 + ls -al . 17:25:56 total 172 17:25:56 drwxrwxr-x. 9 jenkins jenkins 4096 Feb 10 17:25 . 17:25:56 drwxrwxr-x. 4 jenkins jenkins 108 Feb 10 17:24 .. 17:25:56 -rw-rw-r--. 1 jenkins jenkins 3104 Feb 10 17:24 Attribution.txt 17:25:56 -rw-rw-r--. 1 jenkins jenkins 8183 Feb 10 17:24 CHANGES 17:25:56 drwxrwxr-x. 2 jenkins jenkins 121 Feb 10 17:24 docs 17:25:56 -rw-rw-r--. 1 jenkins jenkins 108574 Feb 10 17:24 Doxyfile 17:25:56 drwxrwxr-x. 8 jenkins jenkins 162 Feb 10 17:24 .git 17:25:56 drwxrwxr-x. 3 jenkins jenkins 103 Feb 10 17:24 .github 17:25:56 -rw-rw-r--. 1 jenkins jenkins 176 Feb 10 17:24 .gitignore 17:25:56 -rw-rw-r--. 1 jenkins jenkins 677 Feb 10 17:24 GOVERNANCE.md 17:25:56 drwxrwxr-x. 4 jenkins jenkins 33 Feb 10 17:24 include 17:25:56 -rw-rw-r--. 1 jenkins jenkins 784 Feb 10 17:24 Jenkinsfile 17:25:56 -rw-rw-r--. 1 jenkins jenkins 10174 Feb 10 17:24 LICENSE 17:25:56 -rw-rw-r--. 1 jenkins jenkins 444 Feb 10 17:24 Makefile 17:25:56 -rw-rw-r--. 1 jenkins jenkins 618 Feb 10 17:24 OWNERS.md 17:25:56 -rw-rw-r--. 1 jenkins jenkins 4086 Feb 10 17:24 README.md 17:25:56 -rw-rw-r--. 1 jenkins jenkins 7422 Feb 10 17:24 README.v2.md 17:25:56 drwxrwxr-x. 2 jenkins jenkins 98 Feb 10 17:24 scripts 17:25:56 drwx------. 3 jenkins jenkins 71 Feb 10 17:25 .semver 17:25:56 drwxrwxr-x. 4 jenkins jenkins 50 Feb 10 17:24 src 17:25:56 -rw-rw-r--. 1 jenkins jenkins 11 Feb 10 17:25 VERSION [Pipeline] isUnix [Pipeline] sh 17:25:57 + 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=02161a6b4618232bfcf286377d256226a622bc2b --label arch=amd64 --label version=2.2.0-dev.4 . 17:25:57 Sending build context to Docker daemon 4.477MB 17:25:57 Step 1/17 : ARG BASE=alpine:3.14 17:25:57 Step 2/17 : FROM ${BASE} 17:25:57 ---> da691add5dd4 17:25:57 Step 3/17 : LABEL maintainer="IOTech " 17:25:57 ---> Running in 9b0765f67d7b 17:25:57 Removing intermediate container 9b0765f67d7b 17:25:57 ---> b721edeea3a8 17:25:57 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 17:25:57 ---> Running in 3b4d1de0b91f 17:25:57 --2022-02-10 17:25:57-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 17:25:57 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.74.239.58, 54.72.115.12, 54.170.66.44, ... 17:25:57 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.74.239.58|:443... connected. 17:25:57 HTTP request sent, awaiting response... 200 OK 17:25:57 Length: unspecified [application/json] 17:25:57 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 17:25:57  17:25:57 0K  189M=0s 17:25:57 17:25:57 2022-02-10 17:25:57 (189 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 17:25:57 17:25:58 Removing intermediate container 3b4d1de0b91f 17:25:58 ---> 4276a5068261 17:25:58 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 17:25:58 ---> Running in a27c553b4278 17:25:58 Removing intermediate container a27c553b4278 17:25:58 ---> f500c5f84cb6 17:25:58 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 17:25:58 ---> Running in e631eac8a9af 17:25:58 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:26:04 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:26:04 WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) 17:26:09 WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.14/community: temporary error (try again later) 17:26:09 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 17:26:09 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:26:09 ERROR: unable to select packages: 17:26:09  ncurses-dev (no such package): 17:26:09 required by: world[ncurses-dev] 17:26:09 util-linux-dev (no such package): 17:26:09 required by: world[util-linux-dev] 17:26:09 The command '/bin/sh -c 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' returned a non-zero code: 2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:26:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:09 17:26:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:26:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:10 latest: Pulling from edgex-lftools-log-publisher 17:26:10 b4d181a07f80: Pulling fs layer 17:26:10 a1111a8f2ec3: Pulling fs layer 17:26:10 ed53099fbce6: Pulling fs layer 17:26:10 dc539afda2c1: Pulling fs layer 17:26:10 77bc0d833cb6: Pulling fs layer 17:26:10 9065ff56babe: Pulling fs layer 17:26:10 d287ab97295c: Pulling fs layer 17:26:10 77bc0d833cb6: Waiting 17:26:10 9065ff56babe: Waiting 17:26:10 d287ab97295c: Waiting 17:26:10 dc539afda2c1: Waiting 17:26:10 a1111a8f2ec3: Verifying Checksum 17:26:10 a1111a8f2ec3: Download complete 17:26:10 dc539afda2c1: Verifying Checksum 17:26:10 dc539afda2c1: Download complete 17:26:10 ed53099fbce6: Verifying Checksum 17:26:10 ed53099fbce6: Download complete 17:26:10 9065ff56babe: Verifying Checksum 17:26:10 9065ff56babe: Download complete 17:26:10 77bc0d833cb6: Verifying Checksum 17:26:10 77bc0d833cb6: Download complete 17:26:10 b4d181a07f80: Verifying Checksum 17:26:10 b4d181a07f80: Download complete 17:26:10 d287ab97295c: Verifying Checksum 17:26:10 d287ab97295c: Download complete 17:26:11 b4d181a07f80: Pull complete 17:26:11 a1111a8f2ec3: Pull complete 17:26:12 ed53099fbce6: Pull complete 17:26:12 dc539afda2c1: Pull complete 17:26:13 77bc0d833cb6: Pull complete 17:26:13 9065ff56babe: Pull complete 17:26:18 d287ab97295c: Pull complete 17:26:18 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:26:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:26:18 prd-centos7-docker-4c-2g-5000 does not seem to be running inside a container 17:26:18 $ 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/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:26:21 $ docker top 19c2128a1adfa0832ecf45ea835bd26173bdb8982b27642b7171d0733fff6010 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:21 ---> job-cost.sh 17:26:21 lf-activate-venv: SKIPPING 17:26:21 INFO: No Stack... 17:26:21 INFO: Retrieving Pricing Info for: v3-standard-2 17:26:22 INFO: Archiving Costs [Pipeline] sh 17:26:22 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 17:26:22 + cut -d, -f6 [Pipeline] lock 17:26:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-18-stack-cost] 17:26:22 Resource [jenkins-edgexfoundry-device-sdk-c-main-18-stack-cost] did not exist. Created. 17:26:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:26:22 + echo total: 0.05999999865889549 [Pipeline] stash 17:26:22 Stashed 1 file(s) [Pipeline] } 17:26:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-18-stack-cost] [Pipeline] // lock [Pipeline] } 17:26:22 $ docker stop --time=1 19c2128a1adfa0832ecf45ea835bd26173bdb8982b27642b7171d0733fff6010 17:26:23 $ docker rm -f 19c2128a1adfa0832ecf45ea835bd26173bdb8982b27642b7171d0733fff6010 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:26:24 Failed in branch amd64 17:26:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5001 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 17:26:47 Running in /w/workspace/device-sdk-c/18 [Pipeline] { [Pipeline] checkout 17:26:48 Selected Git installation does not exist. Using Default 17:26:48 The recommended git tool is: NONE 17:26:52 using credential edgex-jenkins-ssh 17:26:52 Cloning the remote Git repository 17:26:52 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 17:26:52 > git init /w/workspace/device-sdk-c/18 # timeout=10 17:26:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:26:52 > git --version # timeout=10 17:26:52 > git --version # 'git version 2.17.1' 17:26:52 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:26:53 Avoid second fetch 17:26:53 Checking out Revision 02161a6b4618232bfcf286377d256226a622bc2b (main) 17:26:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:26:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:26:53 > git config core.sparsecheckout # timeout=10 17:26:53 > git checkout -f 02161a6b4618232bfcf286377d256226a622bc2b # timeout=10 17:26:58 Commit message: "fix: Dont stringify array elements in readings (#399)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:26:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:26:59 % Total % Received % Xferd Average Speed Time Time Time Current 17:26:59 Dload Upload Total Spent Left Speed 17:26:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89719 0 --:--:-- --:--:-- --:--:-- 90404 [Pipeline] sh 17:26:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:27:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:27:00 + sudo tee /etc/docker/daemon.new 17:27:00 { 17:27:00 "registry-mirrors": [ 17:27:00 "https://nexus3.edgexfoundry.org:10001" 17:27:00 ], 17:27:00 "bip": "10.250.0.254/24", 17:27:00 "hosts": [ 17:27:00 "tcp://0.0.0.0:5555", 17:27:00 "unix:///var/run/docker.sock" 17:27:00 ], 17:27:00 "mtu": 1458, 17:27:00 "selinux-enabled": true, 17:27:00 "seccomp-profile": "/etc/docker/seccomp.json" 17:27:00 } [Pipeline] sh 17:27:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:27:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:27:19 provisioning config files... 17:27:19 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/18@tmp/config4210467371672389302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:19 ---> docker-login.sh 17:27:19 nexus3.edgexfoundry.org:10001 17:27:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:20 Configure a credential helper to remove this warning. See 17:27:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:20 17:27:20 Login Succeeded 17:27:20 nexus3.edgexfoundry.org:10002 17:27:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:21 Configure a credential helper to remove this warning. See 17:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:21 17:27:21 Login Succeeded 17:27:21 nexus3.edgexfoundry.org:10003 17:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:21 Configure a credential helper to remove this warning. See 17:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:21 17:27:21 Login Succeeded 17:27:21 nexus3.edgexfoundry.org:10004 17:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:21 Configure a credential helper to remove this warning. See 17:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:21 17:27:21 Login Succeeded 17:27:21 docker.io 17:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:22 Configure a credential helper to remove this warning. See 17:27:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:22 17:27:22 Login Succeeded 17:27:22 ---> docker-login.sh ends [Pipeline] } 17:27:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:27:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:27:22 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 17:27:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:27:22 ========================================================= 17:27:22 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 17:27:22 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:27:23 + 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 . 17:27:23 Sending build context to Docker daemon 2.725MB 17:27:23 Step 1/24 : ARG BASE=alpine:3.14 17:27:23 Step 2/24 : FROM ${BASE} as builder 17:27:23 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 17:27:23 be307f383ecc: Pulling fs layer 17:27:23 1d4f7adf69d7: Pulling fs layer 17:27:23 52c5421e0b32: Pulling fs layer 17:27:23 1d4f7adf69d7: Verifying Checksum 17:27:23 1d4f7adf69d7: Download complete 17:27:24 be307f383ecc: Download complete 17:27:24 be307f383ecc: Pull complete 17:27:24 1d4f7adf69d7: Pull complete 17:27:25 52c5421e0b32: Verifying Checksum 17:27:25 52c5421e0b32: Download complete 17:27:34 52c5421e0b32: Pull complete 17:27:34 Digest: sha256:b0641e156c351091e85aa6c9760f8a7bff2808f91974893ca31a3cc47f05c631 17:27:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 17:27:34 ---> 3722cfcf980c 17:27:34 Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 17:27:34 ---> Running in f8e78374684c 17:27:35 Connecting to iotech.jfrog.io (54.229.110.245:443) 17:27:36 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:27:36 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:27:36 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:27:36 Removing intermediate container f8e78374684c 17:27:36 ---> 483e65814c75 17:27:36 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 17:27:36 ---> Running in 165a290cd409 17:27:38 Removing intermediate container 165a290cd409 17:27:38 ---> 2cb7ad4720cf 17:27:38 Step 5/24 : 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 17:27:38 ---> Running in 0835f083ad7c 17:27:39 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:27:40 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:27:40 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 17:27:41 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:27:41 (1/27) Installing hiredis (1.0.0-r0) 17:27:41 (2/27) Installing hiredis-dev (1.0.0-r0) 17:27:41 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 17:27:41 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 17:27:42 (5/27) Installing libblkid (2.37.3-r0) 17:27:43 (6/27) Installing blkid (2.37.3-r0) 17:27:43 (7/27) Installing libcap-ng (0.8.2-r0) 17:27:43 (8/27) Installing setpriv (2.37.3-r0) 17:27:43 (9/27) Installing libmount (2.37.3-r0) 17:27:43 (10/27) Installing libsmartcols (2.37.3-r0) 17:27:43 (11/27) Installing findmnt (2.37.3-r0) 17:27:43 (12/27) Installing mcookie (2.37.3-r0) 17:27:43 (13/27) Installing hexdump (2.37.3-r0) 17:27:43 (14/27) Installing lsblk (2.37.3-r0) 17:27:43 (15/27) Installing libuuid (2.37.3-r0) 17:27:43 (16/27) Installing libfdisk (2.37.3-r0) 17:27:44 (17/27) Installing sfdisk (2.37.3-r0) 17:27:44 (18/27) Installing cfdisk (2.37.3-r0) 17:27:44 (19/27) Installing partx (2.37.3-r0) 17:27:44 (20/27) Installing flock (2.37.3-r0) 17:27:44 (21/27) Installing logger (2.37.3-r0) 17:27:44 (22/27) Installing uuidgen (2.37.3-r0) 17:27:44 (23/27) Installing libeconf (0.3.8-r1) 17:27:44 (24/27) Installing util-linux (2.37.3-r0) 17:27:45 (25/27) Installing util-linux-dev (2.37.3-r0) 17:27:45 (26/27) Installing libidn2 (2.3.1-r0) 17:27:45 (27/27) Installing wget (1.21.1-r1) 17:27:45 Executing busybox-1.33.1-r6.trigger 17:27:45 OK: 286 MiB in 104 packages 17:27:47 Removing intermediate container 0835f083ad7c 17:27:47 ---> 2b8d9cc76c52 17:27:47 Step 6/24 : ENV CBOR_VERSION=0.5.0 17:27:47 ---> Running in 44dd274488b3 17:27:47 Removing intermediate container 44dd274488b3 17:27:47 ---> 272545302f9e 17:27:47 Step 7/24 : 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 17:27:47 ---> Running in 7f38d1d595c6 17:27:48 --2022-02-10 17:27:48-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 17:27:48 Resolving github.com (github.com)... 140.82.112.4 17:27:48 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 17:27:48 HTTP request sent, awaiting response... 302 Found 17:27:48 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 17:27:48 --2022-02-10 17:27:48-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 17:27:48 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 17:27:48 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 17:27:48 HTTP request sent, awaiting response... 200 OK 17:27:48 Length: unspecified [application/x-gzip] 17:27:48 Saving to: 'STDOUT' 17:27:48  17:27:48 0K .......... .......... .......... .......... .......... 1.22M 17:27:48 50K .......... .......... .......... .......... .......... 2.34M 17:27:48 100K .......... .......... .......... .......... .......... 15.5M 17:27:48 150K .......... .......... .......... .......... .......... 2.77M 17:27:48 200K .......... .......... .......... .......... .......... 14.0M 17:27:48 250K .......... .......... .......... .......... .......... 3.44M 17:27:48 300K .......... .......... .......... .......... .......... 4.24M 17:27:48 350K .......... .......... .......... .......... .......... 3.82M 17:27:48 400K .......... .......... .......... .......... .......... 3.97M 17:27:48 450K .......... .......... .......... .......... .......... 3.86M 17:27:48 500K .......... .......... .......... .......... .......... 5.35M 17:27:48 550K .......... .......... .......... .......... .......... 1.84M 17:27:48 600K .......... .......... .......... .......... .......... 1.02M 17:27:48 650K .......... .......... .......... .......... .......... 1.94M 17:27:48 700K ..  3.11M=0.3s 17:27:48 17:27:48 2022-02-10 17:27:48 (2.66 MB/s) - written to stdout [719348] 17:27:48 17:27:49 -- The C compiler identification is GNU 10.3.1 17:27:49 -- The CXX compiler identification is GNU 10.3.1 17:27:49 -- Detecting C compiler ABI info 17:27:49 -- Detecting C compiler ABI info - done 17:27:49 -- Check for working C compiler: /usr/bin/cc - skipped 17:27:49 -- Detecting C compile features 17:27:49 -- Detecting C compile features - done 17:27:49 -- Detecting CXX compiler ABI info 17:27:50 -- Detecting CXX compiler ABI info - done 17:27:50 -- Check for working CXX compiler: /usr/bin/c++ - skipped 17:27:50 -- Detecting CXX compile features 17:27:50 -- Detecting CXX compile features - done 17:27:50 -- Looking for include file endian.h 17:27:50 -- Looking for include file endian.h - found 17:27:50 -- Looking for sys/types.h 17:27:50 -- Looking for sys/types.h - found 17:27:50 -- Looking for stdint.h 17:27:51 -- Looking for stdint.h - found 17:27:51 -- Looking for stddef.h 17:27:51 -- Looking for stddef.h - found 17:27:51 -- Check size of size_t 17:27:51 -- Check size of size_t - done 17:27:51 CMake Warning at examples/CMakeLists.txt:16 (find_package): 17:27:51 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 17:27:51 asked CMake to find a package configuration file provided by "cJSON", but 17:27:51 CMake did not find one. 17:27:51 17:27:51 Could not find a package configuration file provided by "cJSON" with any of 17:27:51 the following names: 17:27:51 17:27:51 cJSONConfig.cmake 17:27:51 cjson-config.cmake 17:27:51 17:27:51 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 17:27:51 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 17:27:51 provides a separate development package or SDK, be sure it has been 17:27:51 installed. 17:27:51 17:27:51 17:27:51 -- Configuring done 17:27:51 -- Generating done 17:27:51 -- Build files have been written to: /tmp/cbor 17:27:51 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 17:27:52 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 17:27:53 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 17:27:53 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 17:27:54 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 17:27:54 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 17:27:55 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 17:27:55 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 17:27:55 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 17:27:55 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 17:27:56 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 17:27:57 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 17:27:57 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 17:27:57 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 17:27:58 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 17:27:58 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 17:27:58 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 17:27:59 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 17:27:59 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 17:27:59 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 17:27:59 [ 40%] Linking C shared library libcbor.so 17:27:59 [ 40%] Built target cbor_shared 17:28:00 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 17:28:01 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 17:28:01 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 17:28:02 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 17:28:03 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 17:28:04 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 17:28:04 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 17:28:04 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 17:28:04 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 17:28:05 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 17:28:05 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 17:28:06 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 17:28:07 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 17:28:07 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 17:28:07 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 17:28:07 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 17:28:08 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 17:28:08 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 17:28:09 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 17:28:09 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 17:28:09 [ 80%] Linking C static library libcbor.a 17:28:09 [ 80%] Built target cbor 17:28:09 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 17:28:09 [ 84%] Linking C executable readfile 17:28:10 [ 84%] Built target readfile 17:28:10 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 17:28:10 [ 88%] Linking C executable create_items 17:28:10 [ 88%] Built target create_items 17:28:10 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 17:28:10 [ 92%] Linking C executable sort 17:28:10 [ 92%] Built target sort 17:28:10 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 17:28:11 [ 96%] Linking C executable hello 17:28:11 [ 96%] Built target hello 17:28:11 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 17:28:11 [100%] Linking C executable streaming_parser 17:28:11 [100%] Built target streaming_parser 17:28:11 Install the project... 17:28:11 -- Install configuration: "Release" 17:28:11 -- Installing: /usr/local/include/cbor/configuration.h 17:28:11 -- Installing: /usr/local/lib/libcbor.a 17:28:11 -- Installing: /usr/local/lib/libcbor.so.0.0.0 17:28:11 -- Installing: /usr/local/lib/libcbor.so.0 17:28:11 -- Installing: /usr/local/lib/libcbor.so 17:28:11 -- Up-to-date: /usr/local/include/cbor 17:28:11 -- Installing: /usr/local/include/cbor/data.h 17:28:11 -- Installing: /usr/local/include/cbor/callbacks.h 17:28:11 -- Installing: /usr/local/include/cbor/ints.h 17:28:11 -- Installing: /usr/local/include/cbor/arrays.h 17:28:11 -- Installing: /usr/local/include/cbor/maps.h 17:28:11 -- Installing: /usr/local/include/cbor/tags.h 17:28:11 -- Installing: /usr/local/include/cbor/serialization.h 17:28:11 -- Installing: /usr/local/include/cbor/common.h 17:28:11 -- Installing: /usr/local/include/cbor/floats_ctrls.h 17:28:11 -- Installing: /usr/local/include/cbor/internal 17:28:11 -- Installing: /usr/local/include/cbor/internal/encoders.h 17:28:11 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 17:28:11 -- Installing: /usr/local/include/cbor/internal/stack.h 17:28:11 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 17:28:11 -- Installing: /usr/local/include/cbor/internal/unicode.h 17:28:11 -- Installing: /usr/local/include/cbor/internal/loaders.h 17:28:11 -- Installing: /usr/local/include/cbor/bytestrings.h 17:28:11 -- Installing: /usr/local/include/cbor/encoding.h 17:28:11 -- Installing: /usr/local/include/cbor/streaming.h 17:28:11 -- Installing: /usr/local/include/cbor/strings.h 17:28:11 -- Installing: /usr/local/include/cbor.h 17:28:11 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 17:28:13 Removing intermediate container 7f38d1d595c6 17:28:13 ---> 2aa664c82aa9 17:28:13 Step 8/24 : RUN mkdir /tmp/sdk 17:28:13 ---> Running in 5a9b5a4697b4 17:28:15 Removing intermediate container 5a9b5a4697b4 17:28:15 ---> 7b5ab975850a 17:28:15 Step 9/24 : COPY VERSION /tmp/sdk 17:28:15 ---> a509ffea683f 17:28:15 Step 10/24 : COPY src /tmp/sdk/src 17:28:16 ---> a9c731451755 17:28:16 Step 11/24 : COPY include /tmp/sdk/include 17:28:17 ---> cca1718b8b5a 17:28:17 Step 12/24 : COPY scripts /tmp/sdk/scripts 17:28:17 ---> 6766f5c77656 17:28:17 Step 13/24 : COPY LICENSE /tmp/sdk 17:28:18 ---> 61f189d507e2 17:28:18 Step 14/24 : COPY Attribution.txt /tmp/sdk 17:28:18 ---> ce131c6bea85 17:28:18 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:28:19 ---> Running in 113a3ddff260 17:28:20 + CPPCHECK=false 17:28:20 + DOCGEN=false 17:28:20 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 17:28:20 + TOMLVER=SDK-0.2 17:28:20 + CUTILVER=1.2.2 17:28:20 + '[' 0 -gt 0 ] 17:28:20 + readlink -f ./scripts/build.sh 17:28:20 + dirname /tmp/sdk/scripts/build.sh 17:28:20 + dirname /tmp/sdk/scripts 17:28:20 + ROOT=/tmp/sdk 17:28:20 + cd /tmp/sdk 17:28:20 + '[' '!' -d deps ] 17:28:20 + mkdir deps 17:28:20 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:28:20 + tar -C deps -z -x -f - 17:28:20 --2022-02-10 17:28:19-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:28:20 Resolving github.com (github.com)... 140.82.112.4 17:28:20 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 17:28:20 HTTP request sent, awaiting response... 302 Found 17:28:20 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 17:28:20 --2022-02-10 17:28:20-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 17:28:20 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 17:28:20 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 17:28:20 HTTP request sent, awaiting response... 200 OK 17:28:20 Length: unspecified [application/x-gzip] 17:28:20 Saving to: 'STDOUT' 17:28:20  17:28:20 0K .......... ......   809K=0.02s 17:28:20 17:28:20 2022-02-10 17:28:20 (809 KB/s) - written to stdout [16451] 17:28:20 17:28:20 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 17:28:20 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 17:28:20 + tar -C deps -z -x -f - 17:28:20 --2022-02-10 17:28:20-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 17:28:20 Resolving github.com (github.com)... 140.82.112.4 17:28:20 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 17:28:20 HTTP request sent, awaiting response... 302 Found 17:28:20 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 17:28:20 --2022-02-10 17:28:20-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 17:28:20 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 17:28:20 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 17:28:20 HTTP request sent, awaiting response... 200 OK 17:28:20 Length: unspecified [application/x-gzip] 17:28:20 Saving to: 'STDOUT' 17:28:20  17:28:20 0K .......... .......... .......... .......... .......... 1.17M 17:28:20 50K .......... .......... .......... .......... .......... 2.53M 17:28:20 100K .......... .......... .......... .......... .......... 6.25M 17:28:20 150K .......... .......... .......... ......... 2.85M=0.08s 17:28:20 17:28:20 2022-02-10 17:28:20 (2.25 MB/s) - written to stdout [193961] 17:28:20 17:28:20 + mkdir -p src/c/iot 17:28:20 + 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 17:28:20 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 17:28:20 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 17:28:20 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 17:28:20 + mkdir -p include/iot 17:28:20 + 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 17:28:20 + mkdir -p include/iot/os 17:28:20 + 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 17:28:20 + mkdir -p /tmp/sdk/build/release 17:28:20 + cd /tmp/sdk/build/release 17:28:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:28:21 -- The C compiler identification is GNU 10.3.1 17:28:21 -- Detecting C compiler ABI info 17:28:21 -- Detecting C compiler ABI info - done 17:28:21 -- Check for working C compiler: /usr/bin/cc - skipped 17:28:21 -- Detecting C compile features 17:28:21 -- Detecting C compile features - done 17:28:21 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:28:21 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 17:28:21 -- Found LIBYAML: /usr/lib/libyaml.so 17:28:22 -- Found LIBUUID: /usr/lib/libuuid.so 17:28:22 -- Found LIBCBOR: /usr/local/lib/libcbor.so 17:28:22 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:28:22 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:28:22 -- C SDK 2.2.0-dev.4 for Linux 17:28:22 -- Performing Test CSDK_HAVE_ATOMIC 17:28:22 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:28:22 -- Found Curses: /usr/lib/libcurses.so 17:28:22 -- Configuring done 17:28:22 -- Generating done 17:28:22 -- Build files have been written to: /tmp/sdk/build/release 17:28:22 + make+ all package 17:28:22 tee release.log 17:28:22 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:28:23 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:28:24 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:28:26 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:28:27 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:28:27 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:28:28 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:28:28 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:28:29 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:28:30 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:28:32 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:28:33 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:28:33 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:28:34 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:28:34 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:28:35 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:28:35 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:28:38 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:28:38 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:28:39 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:28:39 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:28:40 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:28:40 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 17:28:40 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 17:28:40 275 | const iot_component_factory_t * factory; 17:28:40 | ^~~~~~~ 17:28:40 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:28:46 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:28:46 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:28:46 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:28:46 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:28:47 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:28:47 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:28:48 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:28:49 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:28:50 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:28:50 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 17:28:50 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:28:53 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:28:53 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:28:54 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:28:54 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:29:00 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:29:00 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:29:00 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:29:01 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:29:01 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 17:29:01 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 17:29:01 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 17:29:01 | ^~~~~~~~~~~~~ 17:29:01 | | 17:29:01 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 17:29:01 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:29:01 /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 17:29:01 2714 | MHD_KeyValueIterator iterator, 17:29:01 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 17:29:01 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 17:29:01 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:29:01 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 17:29:01 | ^~~~~~~~~~~~ 17:29:01 | | 17:29:01 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 17:29:01 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:29:01 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 17:29:01 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:29:01 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:29:01 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:29:01 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 17:29:01 | ^~~~~~~~~~~~ 17:29:01 | | 17:29:01 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 17:29:01 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:29:01 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 17:29:01 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:29:01 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:29:01 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:29:04 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:29:04 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:29:05 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:29:05 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:29:08 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:29:12 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:29:12 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:29:13 [ 76%] Linking C shared library libcsdk.so 17:29:13 [ 76%] Built target csdk 17:29:13 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:29:14 [ 79%] Linking C executable template 17:29:14 [ 79%] Built target template 17:29:14 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:29:14 [ 82%] Linking C executable device-counter 17:29:15 [ 82%] Built target device-counter 17:29:15 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:29:15 [ 85%] Linking C executable device-random 17:29:16 [ 85%] Built target device-random 17:29:16 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:29:16 [ 88%] Linking C executable device-gyro 17:29:16 [ 88%] Built target device-gyro 17:29:16 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:29:17 [ 91%] Linking C executable device-bitfields 17:29:17 [ 91%] Built target device-bitfields 17:29:17 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:29:18 [ 94%] Linking C executable template-discovery 17:29:18 [ 94%] Built target template-discovery 17:29:18 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:29:19 [ 97%] Linking C executable device-file 17:29:19 [ 97%] Built target device-file 17:29:19 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:29:20 [100%] Linking C executable device-terminal 17:29:20 [100%] Built target device-terminal 17:29:20 Run CPack packaging tool... 17:29:20 CPack: Create package using TGZ 17:29:20 CPack: Install projects 17:29:20 CPack: - Run preinstall target for: Csdk 17:29:21 CPack: - Install project: Csdk [] 17:29:21 CPack: Create package 17:29:21 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.4.tar.gz generated. 17:29:21 + '[' false '=' true ] 17:29:21 + '[' false '=' true ] 17:29:21 + mkdir -p /tmp/sdk/build/debug 17:29:21 + cd /tmp/sdk/build/debug 17:29:21 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:29:21 -- The C compiler identification is GNU 10.3.1 17:29:21 -- Detecting C compiler ABI info 17:29:22 -- Detecting C compiler ABI info - done 17:29:22 -- Check for working C compiler: /usr/bin/cc - skipped 17:29:22 -- Detecting C compile features 17:29:22 -- Detecting C compile features - done 17:29:22 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:29:22 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 17:29:22 -- Found LIBYAML: /usr/lib/libyaml.so 17:29:22 -- Found LIBUUID: /usr/lib/libuuid.so 17:29:22 -- Found LIBCBOR: /usr/local/lib/libcbor.so 17:29:22 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:29:22 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:29:22 -- C SDK 2.2.0-dev.4 for Linux 17:29:22 -- Performing Test CSDK_HAVE_ATOMIC 17:29:22 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:29:22 -- Found Curses: /usr/lib/libcurses.so 17:29:22 -- Configuring done 17:29:23 -- Generating done 17:29:23 -- Build files have been written to: /tmp/sdk/build/debug 17:29:23 + make 17:29:23 + tee debug.log 17:29:23 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:29:23 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:29:24 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:29:24 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:29:24 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:29:25 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:29:25 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:29:25 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:29:26 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:29:26 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:29:27 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:29:27 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:29:27 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:29:28 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:29:28 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:29:28 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:29:28 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:29:29 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:29:29 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:29:30 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:29:30 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:29:30 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:29:30 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 17:29:30 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 17:29:30 275 | const iot_component_factory_t * factory; 17:29:30 | ^~~~~~~ 17:29:30 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:29:32 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:29:32 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:29:32 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:29:32 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:29:32 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:29:33 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:29:33 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:29:33 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:29:34 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:29:34 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 17:29:34 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:29:34 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:29:35 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:29:35 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:29:35 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:29:36 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:29:37 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:29:37 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:29:37 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:29:38 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 17:29:38 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 17:29:38 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 17:29:38 | ^~~~~~~~~~~~~ 17:29:38 | | 17:29:38 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 17:29:38 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:29:38 /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 17:29:38 2714 | MHD_KeyValueIterator iterator, 17:29:38 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 17:29:38 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 17:29:38 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:29:38 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 17:29:38 | ^~~~~~~~~~~~ 17:29:38 | | 17:29:38 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 17:29:38 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:29:38 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 17:29:38 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:29:38 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:29:38 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:29:38 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 17:29:38 | ^~~~~~~~~~~~ 17:29:38 | | 17:29:38 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 17:29:38 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:29:38 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 17:29:38 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:29:38 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:29:38 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:29:39 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:29:39 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:29:40 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:29:40 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:29:41 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:29:42 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:29:42 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:29:42 [ 76%] Linking C shared library libcsdk.so 17:29:42 [ 76%] Built target csdk 17:29:42 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:29:43 [ 79%] Linking C executable template 17:29:43 [ 79%] Built target template 17:29:43 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:29:43 [ 82%] Linking C executable device-counter 17:29:43 [ 82%] Built target device-counter 17:29:43 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:29:44 [ 85%] Linking C executable device-random 17:29:44 [ 85%] Built target device-random 17:29:44 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:29:44 [ 88%] Linking C executable device-gyro 17:29:44 [ 88%] Built target device-gyro 17:29:44 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:29:45 [ 91%] Linking C executable device-bitfields 17:29:45 [ 91%] Built target device-bitfields 17:29:45 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:29:45 [ 94%] Linking C executable template-discovery 17:29:45 [ 94%] Built target template-discovery 17:29:45 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:29:46 [ 97%] Linking C executable device-file 17:29:46 [ 97%] Built target device-file 17:29:46 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:29:47 [100%] Linking C executable device-terminal 17:29:47 [100%] Built target device-terminal 17:29:47 make: Entering directory '/tmp/sdk/build/release' 17:29:47 make[1]: Entering directory '/tmp/sdk/build/release' 17:29:47 make[2]: Entering directory '/tmp/sdk/build/release' 17:29:47 make[2]: Leaving directory '/tmp/sdk/build/release' 17:29:47 [ 76%] Built target csdk 17:29:47 make[2]: Entering directory '/tmp/sdk/build/release' 17:29:47 make[2]: Leaving directory '/tmp/sdk/build/release' 17:29:47 [ 79%] Built target template 17:29:47 make[2]: Entering directory '/tmp/sdk/build/release' 17:29:47 make[2]: Leaving directory '/tmp/sdk/build/release' 17:29:47 [ 82%] Built target device-counter 17:29:47 make[2]: Entering directory '/tmp/sdk/build/release' 17:29:47 make[2]: Leaving directory '/tmp/sdk/build/release' 17:29:47 [ 85%] Built target device-random 17:29:47 make[2]: Entering directory '/tmp/sdk/build/release' 17:29:47 make[2]: Leaving directory '/tmp/sdk/build/release' 17:29:47 [ 88%] Built target device-gyro 17:29:47 make[2]: Entering directory '/tmp/sdk/build/release' 17:29:47 make[2]: Leaving directory '/tmp/sdk/build/release' 17:29:47 [ 91%] Built target device-bitfields 17:29:47 make[2]: Entering directory '/tmp/sdk/build/release' 17:29:47 make[2]: Leaving directory '/tmp/sdk/build/release' 17:29:47 [ 94%] Built target template-discovery 17:29:47 make[2]: Entering directory '/tmp/sdk/build/release' 17:29:47 make[2]: Leaving directory '/tmp/sdk/build/release' 17:29:47 [ 97%] Built target device-file 17:29:47 make[2]: Entering directory '/tmp/sdk/build/release' 17:29:47 make[2]: Leaving directory '/tmp/sdk/build/release' 17:29:47 [100%] Built target device-terminal 17:29:47 make[1]: Leaving directory '/tmp/sdk/build/release' 17:29:47 Install the project... 17:29:47 -- Install configuration: "Release" 17:29:47 -- Installing: /usr/local/lib/libcsdk.so 17:29:47 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:29:47 -- Up-to-date: /usr/local/include 17:29:47 -- Installing: /usr/local/include/edgex 17:29:47 -- Installing: /usr/local/include/edgex/edgex-base.h 17:29:47 -- Installing: /usr/local/include/edgex/devices.h 17:29:47 -- Installing: /usr/local/include/edgex/rest-server.h 17:29:47 -- Installing: /usr/local/include/edgex/profiles.h 17:29:47 -- Installing: /usr/local/include/edgex/edgex.h 17:29:47 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:29:47 -- Installing: /usr/local/include/devsdk 17:29:47 -- Installing: /usr/local/include/devsdk/devsdk.h 17:29:47 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:29:47 -- Installing: /usr/local/include/iot 17:29:47 -- Installing: /usr/local/include/iot/data.h 17:29:47 -- Installing: /usr/local/include/iot/config.h 17:29:47 -- Installing: /usr/local/include/iot/container.h 17:29:47 -- Installing: /usr/local/include/iot/typecode.h 17:29:47 -- Installing: /usr/local/include/iot/thread.h 17:29:47 -- Installing: /usr/local/include/iot/hash.h 17:29:47 -- Installing: /usr/local/include/iot/iot.h 17:29:47 -- Installing: /usr/local/include/iot/defs.h 17:29:47 -- Installing: /usr/local/include/iot/uuid.h 17:29:47 -- Installing: /usr/local/include/iot/component.h 17:29:47 -- Installing: /usr/local/include/iot/threadpool.h 17:29:47 -- Installing: /usr/local/include/iot/time.h 17:29:47 -- Installing: /usr/local/include/iot/logger.h 17:29:47 -- Installing: /usr/local/include/iot/os 17:29:47 -- Installing: /usr/local/include/iot/os/zephyr.h 17:29:47 -- Installing: /usr/local/include/iot/os/macos.h 17:29:47 -- Installing: /usr/local/include/iot/os/linux.h 17:29:47 -- Installing: /usr/local/include/iot/json.h 17:29:47 -- Installing: /usr/local/include/iot/scheduler.h 17:29:47 -- Installing: /usr/local/include/iot/base64.h 17:29:47 -- Installing: /usr/local/include/iot/os.h 17:29:47 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:29:47 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:29:47 make: Leaving directory '/tmp/sdk/build/release' 17:29:49 Removing intermediate container 113a3ddff260 17:29:49 ---> 2b6bd25344e7 17:29:49 Step 16/24 : FROM ${BASE} 17:29:49 ---> 3722cfcf980c 17:29:49 Step 17/24 : LABEL maintainer="IOTech " 17:29:49 ---> Running in efc1f1788121 17:29:49 Removing intermediate container efc1f1788121 17:29:49 ---> 87592ac9ad04 17:29:49 Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 17:29:50 ---> Running in 5a20dc7d3125 17:29:51 Connecting to iotech.jfrog.io (54.72.115.12:443) 17:29:51 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:29:51 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:29:51 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:29:51 Removing intermediate container 5a20dc7d3125 17:29:51 ---> 1d6640ec468a 17:29:51 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 17:29:52 ---> Running in ff70ac920108 17:29:53 Removing intermediate container ff70ac920108 17:29:53 ---> c404ce7e9789 17:29:53 Step 20/24 : 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 17:29:53 ---> Running in 362cd719d25a 17:29:54 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:29:55 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:29:55 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 17:29:56 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:29:56 (1/7) Installing curl (7.79.1-r0) 17:29:56 (2/7) Installing hiredis (1.0.0-r0) 17:29:56 (3/7) Installing hiredis-dev (1.0.0-r0) 17:29:56 (4/7) Installing libuuid (2.37.3-r0) 17:29:57 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 17:29:57 (6/7) Installing libidn2 (2.3.1-r0) 17:29:57 (7/7) Installing wget (1.21.1-r1) 17:29:58 Executing busybox-1.33.1-r6.trigger 17:29:58 OK: 276 MiB in 84 packages 17:29:59 Removing intermediate container 362cd719d25a 17:29:59 ---> 135626ee009a 17:29:59 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 17:29:59 ---> 9ddf2b280f92 17:29:59 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:30:00 ---> 1cb143310632 17:30:00 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 17:30:01 ---> d0620f330f93 17:30:01 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:30:01 ---> ead0b40cb62d 17:30:01 Successfully built ead0b40cb62d 17:30:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:30:02 + docker inspect -f . ci-base-image-arm64 17:30:02 . [Pipeline] withDockerContainer 17:30:02 prd-ubuntu18.04-docker-arm64-4c-16g-5001 does not seem to be running inside a container 17:30:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/18 -v /w/workspace/device-sdk-c/18:/w/workspace/device-sdk-c/18:rw,z -v /w/workspace/device-sdk-c/18@tmp:/w/workspace/device-sdk-c/18@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 ******** ci-base-image-arm64 cat 17:30:03 $ docker top ed11b660d5a3458ca8d02197a4c2744fd87c288e0d3036b23347bd64614b41de -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:04 + make test 17:30:04 echo "make test" 17:30:04 make test [Pipeline] } 17:30:04 $ docker stop --time=1 ed11b660d5a3458ca8d02197a4c2744fd87c288e0d3036b23347bd64614b41de 17:30:06 $ docker rm -f ed11b660d5a3458ca8d02197a4c2744fd87c288e0d3036b23347bd64614b41de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:30:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:30:07 + ls -al . 17:30:07 total 200 17:30:07 drwxrwxr-x 8 jenkins jenkins 4096 Feb 10 17:26 . 17:30:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 17:26 .. 17:30:07 drwxrwxr-x 8 jenkins jenkins 4096 Feb 10 17:26 .git 17:30:07 drwxrwxr-x 3 jenkins jenkins 4096 Feb 10 17:26 .github 17:30:07 -rw-rw-r-- 1 jenkins jenkins 176 Feb 10 17:26 .gitignore 17:30:07 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 10 17:26 Attribution.txt 17:30:07 -rw-rw-r-- 1 jenkins jenkins 8183 Feb 10 17:26 CHANGES 17:30:07 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 10 17:26 Doxyfile 17:30:07 -rw-rw-r-- 1 jenkins jenkins 677 Feb 10 17:26 GOVERNANCE.md 17:30:07 -rw-rw-r-- 1 jenkins jenkins 784 Feb 10 17:26 Jenkinsfile 17:30:07 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 10 17:26 LICENSE 17:30:07 -rw-rw-r-- 1 jenkins jenkins 444 Feb 10 17:26 Makefile 17:30:07 -rw-rw-r-- 1 jenkins jenkins 618 Feb 10 17:26 OWNERS.md 17:30:07 -rw-rw-r-- 1 jenkins jenkins 4086 Feb 10 17:26 README.md 17:30:07 -rw-rw-r-- 1 jenkins jenkins 7422 Feb 10 17:26 README.v2.md 17:30:07 -rw-rw-r-- 1 jenkins jenkins 11 Feb 10 17:25 VERSION 17:30:07 drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 17:26 docs 17:30:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 17:26 include 17:30:07 drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 17:26 scripts 17:30:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 17:26 src [Pipeline] isUnix [Pipeline] sh 17:30:07 + 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=02161a6b4618232bfcf286377d256226a622bc2b --label arch=arm64 --label version=2.2.0-dev.4 . 17:30:07 Sending build context to Docker daemon 2.725MB 17:30:07 Step 1/17 : ARG BASE=alpine:3.14 17:30:07 Step 2/17 : FROM ${BASE} 17:30:07 ---> ead0b40cb62d 17:30:07 Step 3/17 : LABEL maintainer="IOTech " 17:30:08 ---> Running in fa75b557daba 17:30:08 Removing intermediate container fa75b557daba 17:30:08 ---> f413de9f66ae 17:30:08 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 17:30:08 ---> Running in 6fdf15aaaf64 17:30:09 --2022-02-10 17:30:09-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 17:30:09 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.72.115.12, 54.170.66.44, ... 17:30:09 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. 17:30:09 HTTP request sent, awaiting response... 200 OK 17:30:09 Length: unspecified [application/json] 17:30:09 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 17:30:09  17:30:09 0K 39.9M=0s 17:30:09 17:30:09 2022-02-10 17:30:09 (39.9 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 17:30:09 17:30:10 Removing intermediate container 6fdf15aaaf64 17:30:10 ---> 7e86b75cea7a 17:30:10 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 17:30:10 ---> Running in 166c55d0101b 17:30:12 Removing intermediate container 166c55d0101b 17:30:12 ---> f6db63cd51bc 17:30:12 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 17:30:12 ---> Running in c35341ee8ae1 17:30:13 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:30:14 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:30:14 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 17:30:15 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:30:15 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 17:30:15 (2/21) Installing libblkid (2.37.3-r0) 17:30:15 (3/21) Installing blkid (2.37.3-r0) 17:30:15 (4/21) Installing libcap-ng (0.8.2-r0) 17:30:15 (5/21) Installing setpriv (2.37.3-r0) 17:30:15 (6/21) Installing libmount (2.37.3-r0) 17:30:16 (7/21) Installing libsmartcols (2.37.3-r0) 17:30:16 (8/21) Installing findmnt (2.37.3-r0) 17:30:16 (9/21) Installing mcookie (2.37.3-r0) 17:30:16 (10/21) Installing hexdump (2.37.3-r0) 17:30:16 (11/21) Installing lsblk (2.37.3-r0) 17:30:16 (12/21) Installing libfdisk (2.37.3-r0) 17:30:16 (13/21) Installing sfdisk (2.37.3-r0) 17:30:16 (14/21) Installing cfdisk (2.37.3-r0) 17:30:16 (15/21) Installing partx (2.37.3-r0) 17:30:16 (16/21) Installing flock (2.37.3-r0) 17:30:16 (17/21) Installing logger (2.37.3-r0) 17:30:16 (18/21) Installing uuidgen (2.37.3-r0) 17:30:17 (19/21) Installing libeconf (0.3.8-r1) 17:30:17 (20/21) Installing util-linux (2.37.3-r0) 17:30:17 (21/21) Installing util-linux-dev (2.37.3-r0) 17:30:17 Executing busybox-1.33.1-r6.trigger 17:30:17 OK: 286 MiB in 105 packages 17:30:19 Removing intermediate container c35341ee8ae1 17:30:19 ---> 4984c0ec8f42 17:30:19 Step 7/17 : COPY VERSION /edgex-c-sdk/ 17:30:19 ---> f920ea9377d5 17:30:19 Step 8/17 : COPY src /edgex-c-sdk/src/ 17:30:20 ---> fcf4a715b408 17:30:20 Step 9/17 : COPY include /edgex-c-sdk/include/ 17:30:20 ---> cbf3a2370dcb 17:30:20 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 17:30:21 ---> f2bd0c4af6b3 17:30:21 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 17:30:22 ---> 6bae1efbe604 17:30:22 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 17:30:22 ---> c7b661902302 17:30:22 Step 13/17 : WORKDIR /edgex-c-sdk 17:30:23 ---> Running in 4f200c0c3b81 17:30:23 Removing intermediate container 4f200c0c3b81 17:30:23 ---> 804daeb7e884 17:30:23 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:30:23 ---> Running in 354bb05e88c5 17:30:23 Removing intermediate container 354bb05e88c5 17:30:23 ---> b805b6aa7123 17:30:23 Step 15/17 : LABEL arch=arm64 17:30:23 ---> Running in 5cd18c30b000 17:30:24 Removing intermediate container 5cd18c30b000 17:30:24 ---> 0e3cda3e1497 17:30:24 Step 16/17 : LABEL git_sha=02161a6b4618232bfcf286377d256226a622bc2b 17:30:24 ---> Running in 2ea5f2d30795 17:30:24 Removing intermediate container 2ea5f2d30795 17:30:24 ---> 4e2f1e0e82d8 17:30:24 Step 17/17 : LABEL version=2.2.0-dev.4 17:30:24 ---> Running in 49bab2ffdad7 17:30:24 Removing intermediate container 49bab2ffdad7 17:30:24 ---> 98a8030d6361 17:30:24 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:30:25 Successfully built 98a8030d6361 17:30:25 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 17:30:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:30:25 17:30:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:30:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:30:26 arm64: Pulling from edgex-lftools-log-publisher 17:30:26 448f6bf000e3: Pulling fs layer 17:30:26 f757da607395: Pulling fs layer 17:30:26 05883995daec: Pulling fs layer 17:30:26 8603b9c90790: Pulling fs layer 17:30:26 1560dd03e051: Pulling fs layer 17:30:26 27f5ce0e4adf: Pulling fs layer 17:30:26 c2d8d7efcc4b: Pulling fs layer 17:30:26 1560dd03e051: Waiting 17:30:26 27f5ce0e4adf: Waiting 17:30:26 c2d8d7efcc4b: Waiting 17:30:26 8603b9c90790: Waiting 17:30:26 f757da607395: Verifying Checksum 17:30:26 f757da607395: Download complete 17:30:26 8603b9c90790: Verifying Checksum 17:30:26 8603b9c90790: Download complete 17:30:26 1560dd03e051: Verifying Checksum 17:30:26 1560dd03e051: Download complete 17:30:26 27f5ce0e4adf: Verifying Checksum 17:30:26 27f5ce0e4adf: Download complete 17:30:26 05883995daec: Verifying Checksum 17:30:26 05883995daec: Download complete 17:30:26 448f6bf000e3: Verifying Checksum 17:30:26 448f6bf000e3: Download complete 17:30:30 c2d8d7efcc4b: Verifying Checksum 17:30:30 c2d8d7efcc4b: Download complete 17:30:31 448f6bf000e3: Pull complete 17:30:32 f757da607395: Pull complete 17:30:33 05883995daec: Pull complete 17:30:34 8603b9c90790: Pull complete 17:30:35 1560dd03e051: Pull complete 17:30:35 27f5ce0e4adf: Pull complete 17:30:50 c2d8d7efcc4b: Pull complete 17:30:50 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 17:30:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:30:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:30:50 prd-ubuntu18.04-docker-arm64-4c-16g-5001 does not seem to be running inside a container 17:30:50 $ 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/18 -v /w/workspace/device-sdk-c/18:/w/workspace/device-sdk-c/18:rw,z -v /w/workspace/device-sdk-c/18@tmp:/w/workspace/device-sdk-c/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:30:52 $ docker top 6e3cce03ffd378dddb38460aed95d41d0a2af7c4c3d208eb30bacff035f18e67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:30:53 ---> job-cost.sh 17:30:53 lf-activate-venv: SKIPPING 17:30:53 INFO: No Stack... 17:30:54 INFO: Retrieving Pricing Info for: v3-standard-4 17:30:54 INFO: Archiving Costs [Pipeline] sh 17:30:55 + cut -d, -f6 17:30:55 + cat /w/workspace/device-sdk-c/18/archives/cost.csv [Pipeline] lock 17:30:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-18-stack-cost] 17:30:55 Resource [jenkins-edgexfoundry-device-sdk-c-main-18-stack-cost] did not exist. Created. 17:30:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:30:56 /w/workspace/device-sdk-c/18@tmp/durable-882881ad/script.sh: 1: /w/workspace/device-sdk-c/18@tmp/durable-882881ad/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:30:56 + echo total: 0.10999999940395355 [Pipeline] stash 17:30:56 Warning: overwriting stash ‘stack-cost’ 17:30:57 Stashed 1 file(s) [Pipeline] } 17:30:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-18-stack-cost] [Pipeline] // lock [Pipeline] } 17:30:57 $ docker stop --time=1 6e3cce03ffd378dddb38460aed95d41d0a2af7c4c3d208eb30bacff035f18e67 17:30:58 $ docker rm -f 6e3cce03ffd378dddb38460aed95d41d0a2af7c4c3d208eb30bacff035f18e67 [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 earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:30:59 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ']' 17:30:59 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 17:30:59 total 8 17:30:59 drwxr-xr-x. 3 root root 34 Feb 10 17:26 . 17:30:59 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 10 17:26 .. 17:30:59 drwxr-xr-x. 2 root root 6 Feb 10 17:26 cost 17:30:59 -rw-r--r--. 1 root root 82 Feb 10 17:26 cost.csv 17:30:59 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 17:30:59 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 17:30:59 total 8 17:30:59 drwxr-xr-x. 3 jenkins jenkins 34 Feb 10 17:26 . 17:30:59 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 10 17:26 .. 17:30:59 drwxr-xr-x. 2 jenkins jenkins 6 Feb 10 17:26 cost 17:30:59 -rw-r--r--. 1 jenkins jenkins 82 Feb 10 17:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:31:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:31:00 ---> package-listing.sh 17:31:00 ++ facter osfamily 17:31:00 ++ tr '[:upper:]' '[:lower:]' 17:31:00 + OS_FAMILY=redhat 17:31:00 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 17:31:00 + START_PACKAGES=/tmp/packages_start.txt 17:31:00 + END_PACKAGES=/tmp/packages_end.txt 17:31:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:31:00 + PACKAGES=/tmp/packages_start.txt 17:31:00 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 17:31:00 + PACKAGES=/tmp/packages_end.txt 17:31:00 + case "${OS_FAMILY}" in 17:31:00 + rpm -qa 17:31:00 + sort 17:31:01 + '[' -f /tmp/packages_start.txt ']' 17:31:01 + '[' -f /tmp/packages_end.txt ']' 17:31:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:31:01 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 17:31:01 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 17:31:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 17:31:01 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:31:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:31:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:02 . [Pipeline] withDockerContainer 17:31:02 prd-centos7-docker-4c-2g-5000 does not seem to be running inside a container 17:31:02 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:31:02 $ docker top 02f7b9e49754efcc237ab3b689a32a4347b19d3c01eae3c1a58f65a35a794d68 -eo pid,comm [Pipeline] { [Pipeline] sh 17:31:02 + touch /tmp/pre-build-complete [Pipeline] sh 17:31:03 + mkdir -p /var/log/sysstat [Pipeline] sh 17:31:03 + ls /var/log/sa-host 17:31:03 + sadf -c /var/log/sa-host/sa10 17:31:03 file_magic: OK 17:31:03 HZ: Using current value: 100 17:31:03 file_header: OK 17:31:03 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 17:31:03 Statistics: 17:31:03 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:31:03 File successfully converted to sysstat format version 12.0.3 17:31:03 + sadf -c /var/log/sa-host/sa17 17:31:03 file_magic: OK 17:31:03 HZ: Using current value: 100 17:31:03 file_header: OK 17:31:03 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 17:31:03 Statistics: 17:31:03 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:31:03 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:31:03 provisioning config files... 17:31:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config283166462273478384tmp [Pipeline] { [Pipeline] echo 17:31:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:31:04 ---> create-netrc.sh [Pipeline] } 17:31:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:31:04 ---> python-tools-install.sh [Pipeline] echo 17:31:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:31:04 ---> sudo-logs.sh 17:31:04 Archiving 'sudo' log.. 17:31:04 sudo: unable to resolve host prd-centos7-docker-4c-2g-5000.novalocal: Name or service not known 17:31:04 sudo: unable to resolve host prd-centos7-docker-4c-2g-5000.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 17:31:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:31:05 ---> job-cost.sh 17:31:05 lf-activate-venv: SKIPPING 17:31:05 DEBUG: total: 0.05999999865889549 17:31:05 INFO: Retrieving Stack Cost... 17:31:05 INFO: Retrieving Pricing Info for: v3-standard-2 17:31:05 INFO: Archiving Costs [Pipeline] echo 17:31:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:31:05 ---> logs-deploy.sh 17:31:05 lf-activate-venv: SKIPPING 17:31:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/18 17:31:05 INFO: archiving workspace using pattern(s): 17:31:06 Archives upload complete. 17:31:06 INFO: archiving logs to Nexus