Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 14d3a6bdd029748f665c10001c42d1af5d609c98 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-ssh15426518720770788100.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-ssh16263275547050498761.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-ssh6682879911037755102.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-ssh15543897013961291068.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-ssh7886747503488695889.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-4435 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-ssh9192321198522159413.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 14d3a6bdd029748f665c10001c42d1af5d609c98 (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 14d3a6bdd029748f665c10001c42d1af5d609c98 # timeout=10 Commit message: "fix: retry attempts to resolve service endpoints from registry (#394) (#396)" > git rev-list --no-walk 8c74ffe4fc698c219175e751f1cca4a77f9c9083 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:59:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:59:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:59:59 ========================================================= 13:59:59 EdgeX Global Pipelines Version Info 13:59:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:00:00 ------------------- 14:00:00 stable info: 14:00:00 ------------------- 14:00:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:00:00 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 14:00:00 Message: update stable to v1.0.220 14:00:00 ------------------- 14:00:00 experimental info: 14:00:00 ------------------- 14:00:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:00:00 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 14:00:00 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14d3a6bdd029748f665c10001c42d1af5d609c98 [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14d3a6b [Pipeline] echo 14:00:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:00:01 provisioning config files... 14:00:01 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7042220184459799708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:00:01 ---> docker-login.sh 14:00:01 nexus3.edgexfoundry.org:10001 14:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:01 Configure a credential helper to remove this warning. See 14:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:01 14:00:01 Login Succeeded 14:00:01 nexus3.edgexfoundry.org:10002 14:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:01 Configure a credential helper to remove this warning. See 14:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:01 14:00:01 Login Succeeded 14:00:01 nexus3.edgexfoundry.org:10003 14:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:02 Configure a credential helper to remove this warning. See 14:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:02 14:00:02 Login Succeeded 14:00:02 nexus3.edgexfoundry.org:10004 14:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:02 Configure a credential helper to remove this warning. See 14:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:02 14:00:02 Login Succeeded 14:00:02 docker.io 14:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:02 Configure a credential helper to remove this warning. See 14:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:02 14:00:02 Login Succeeded 14:00:02 ---> docker-login.sh ends [Pipeline] } 14:00:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 14:00:03 + git rev-list -1 --merges 14d3a6bdd029748f665c10001c42d1af5d609c98~1..14d3a6bdd029748f665c10001c42d1af5d609c98 [Pipeline] echo 14:00:03 -----------> git rev-list -1 --merges 14d3a6bdd029748f665c10001c42d1af5d609c98~1..14d3a6bdd029748f665c10001c42d1af5d609c98 14d3a6bdd029748f665c10001c42d1af5d609c98 [false] [Pipeline] sh 14:00:03 + git log --format=format:%s -1 14d3a6bdd029748f665c10001c42d1af5d609c98 [Pipeline] echo 14:00:03 ========================================================= 14:00:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:00:03 ========================================================= 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 14:00:03 + git rev-list -1 --merges 14d3a6bdd029748f665c10001c42d1af5d609c98~1..14d3a6bdd029748f665c10001c42d1af5d609c98 [Pipeline] echo 14:00:03 -----------> git rev-list -1 --merges 14d3a6bdd029748f665c10001c42d1af5d609c98~1..14d3a6bdd029748f665c10001c42d1af5d609c98 14d3a6bdd029748f665c10001c42d1af5d609c98 [false] [Pipeline] sh 14:00:04 + git log --format=format:%s -1 14d3a6bdd029748f665c10001c42d1af5d609c98 [Pipeline] echo 14:00:04 ========================================================= 14:00:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:00:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 14:00:04 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:00:04 + grep -v github /etc/ssh/ssh_known_hosts 14:00:04 + '[' -e /tmp/ssh_known_hosts ']' 14:00:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:00:04 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 14:00:04 + sudo tee -a /etc/ssh/ssh_known_hosts 14:00:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:00:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:00:05 14:00:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:00:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:00:05 latest: Pulling from edgex-devops/git-semver 14:00:05 a0d0a0d46f8b: Pulling fs layer 14:00:05 3e5f54012d9b: Pulling fs layer 14:00:05 4c7163046ea9: Pulling fs layer 14:00:05 0c2d73faf560: Pulling fs layer 14:00:05 0c2d73faf560: Waiting 14:00:05 3e5f54012d9b: Verifying Checksum 14:00:05 3e5f54012d9b: Download complete 14:00:05 a0d0a0d46f8b: Verifying Checksum 14:00:05 a0d0a0d46f8b: Download complete 14:00:05 4c7163046ea9: Verifying Checksum 14:00:05 4c7163046ea9: Download complete 14:00:05 0c2d73faf560: Verifying Checksum 14:00:05 0c2d73faf560: Download complete 14:00:05 a0d0a0d46f8b: Pull complete 14:00:05 3e5f54012d9b: Pull complete 14:00:05 4c7163046ea9: Pull complete 14:00:06 0c2d73faf560: Pull complete 14:00:06 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:00:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:00:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:00:06 prd-centos7-docker-4c-2g-4435 does not seem to be running inside a container 14:00:06 $ 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 14:00:06 $ docker top f84b4956cf5fe65b7865f3a2c5619f6a2866163d04ac4b15868445263c0ee2f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:00:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:00:06 [ssh-agent] Looking for ssh-agent implementation... 14:00:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:00:07 $ docker exec f84b4956cf5fe65b7865f3a2c5619f6a2866163d04ac4b15868445263c0ee2f5 ssh-agent 14:00:07 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXODfidP/agent.14 14:00:07 SSH_AGENT_PID=20 14:00:07 Running ssh-add (command line suppressed) 14:00:07 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6661227717446841014.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6661227717446841014.key) 14:00:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:00:07 + git tag --points-at HEAD [Pipeline] } 14:00:07 $ docker exec --env ******** --env ******** f84b4956cf5fe65b7865f3a2c5619f6a2866163d04ac4b15868445263c0ee2f5 ssh-agent -k 14:00:07 unset SSH_AUTH_SOCK; 14:00:07 unset SSH_AGENT_PID; 14:00:07 echo Agent pid 20 killed; 14:00:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:00:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:00:07 [ssh-agent] Looking for ssh-agent implementation... 14:00:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:00:07 $ docker exec f84b4956cf5fe65b7865f3a2c5619f6a2866163d04ac4b15868445263c0ee2f5 ssh-agent 14:00:07 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaefPoj/agent.53 14:00:07 SSH_AGENT_PID=59 14:00:07 Running ssh-add (command line suppressed) 14:00:08 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5583564480756958454.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5583564480756958454.key) 14:00:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:00:08 + git semver init 14:00:08 # -> Open(): unable to determine branch for HEAD 14:00:08 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 14:00:08 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 14:00:08 # $SEMVER_REMOTE_NAME = origin 14:00:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:00:08 # $SEMVER_USER_NAME = edgex-jenkins 14:00:08 # $SEMVER_BRANCH = main 14:00:08 # $SEMVER_TEMP = /tmp/semver-048802847 14:00:08 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 14:00:09 # '/tmp/semver-048802847' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' 14:00:09 # -> Force: false 14:00:09 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 14:00:09 $ docker exec --env ******** --env ******** f84b4956cf5fe65b7865f3a2c5619f6a2866163d04ac4b15868445263c0ee2f5 ssh-agent -k 14:00:09 unset SSH_AUTH_SOCK; 14:00:09 unset SSH_AGENT_PID; 14:00:09 echo Agent pid 59 killed; 14:00:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:00:09 + git semver [Pipeline] } 14:00:09 $ docker stop --time=1 f84b4956cf5fe65b7865f3a2c5619f6a2866163d04ac4b15868445263c0ee2f5 14:00:10 $ docker rm -f f84b4956cf5fe65b7865f3a2c5619f6a2866163d04ac4b15868445263c0ee2f5 [Pipeline] // withDockerContainer [Pipeline] sh 14:00:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:00:11 Stashed 1 file(s) [Pipeline] echo 14:00:11 [edgeXSemver]: initialized semver on version 2.2.0-dev.3 [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 14:00:11 provisioning config files... 14:00:11 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1688059457811895782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:00:12 ---> docker-login.sh 14:00:12 nexus3.edgexfoundry.org:10001 14:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:12 Configure a credential helper to remove this warning. See 14:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:12 14:00:12 Login Succeeded 14:00:12 nexus3.edgexfoundry.org:10002 14:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:12 Configure a credential helper to remove this warning. See 14:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:12 14:00:12 Login Succeeded 14:00:12 nexus3.edgexfoundry.org:10003 14:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:12 Configure a credential helper to remove this warning. See 14:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:12 14:00:12 Login Succeeded 14:00:12 nexus3.edgexfoundry.org:10004 14:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:12 Configure a credential helper to remove this warning. See 14:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:12 14:00:12 Login Succeeded 14:00:12 docker.io 14:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:12 Configure a credential helper to remove this warning. See 14:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:12 14:00:12 Login Succeeded 14:00:12 ---> docker-login.sh ends [Pipeline] } 14:00:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:00:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:00:12 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 14:00:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:00:12 ========================================================= 14:00:12 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:00:12 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:00:13 + 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 . 14:00:13 Sending build context to Docker daemon 4.47MB 14:00:13 Step 1/24 : ARG BASE=alpine:3.14 14:00:13 Step 2/24 : FROM ${BASE} as builder 14:00:13 latest: Pulling from edgex-devops/edgex-gcc-base 14:00:13 a0d0a0d46f8b: Already exists 14:00:13 39017ce70367: Pulling fs layer 14:00:13 dcf9283bb20a: Pulling fs layer 14:00:13 39017ce70367: Verifying Checksum 14:00:13 39017ce70367: Download complete 14:00:13 39017ce70367: Pull complete 14:00:13 dcf9283bb20a: Verifying Checksum 14:00:13 dcf9283bb20a: Download complete 14:00:17 dcf9283bb20a: Pull complete 14:00:17 Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 14:00:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:00:17 ---> a4e04833b611 14:00:17 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 14:00:17 ---> Running in 037b19f76142 14:00:17 Connecting to iotech.jfrog.io (54.72.115.12:443) 14:00:17 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:00:17 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:00:17 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:00:18 Removing intermediate container 037b19f76142 14:00:18 ---> 296b413eaa7b 14:00:18 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 14:00:18 ---> Running in b237dc31cbac 14:00:18 Removing intermediate container b237dc31cbac 14:00:18 ---> 4cdea29415ad 14:00:18 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 14:00:18 ---> Running in c961517b5093 14:00:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:00:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:00:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 14:00:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:00:20 (1/27) Installing hiredis (1.0.0-r0) 14:00:20 (2/27) Installing hiredis-dev (1.0.0-r0) 14:00:20 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 14:00:20 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 14:00:21 (5/27) Installing libblkid (2.37.2-r0) 14:00:21 (6/27) Installing blkid (2.37.2-r0) 14:00:21 (7/27) Installing libcap-ng (0.8.2-r0) 14:00:21 (8/27) Installing setpriv (2.37.2-r0) 14:00:21 (9/27) Installing libmount (2.37.2-r0) 14:00:21 (10/27) Installing libsmartcols (2.37.2-r0) 14:00:21 (11/27) Installing findmnt (2.37.2-r0) 14:00:22 (12/27) Installing mcookie (2.37.2-r0) 14:00:22 (13/27) Installing hexdump (2.37.2-r0) 14:00:22 (14/27) Installing lsblk (2.37.2-r0) 14:00:22 (15/27) Installing libuuid (2.37.2-r0) 14:00:22 (16/27) Installing libfdisk (2.37.2-r0) 14:00:22 (17/27) Installing sfdisk (2.37.2-r0) 14:00:22 (18/27) Installing cfdisk (2.37.2-r0) 14:00:22 (19/27) Installing partx (2.37.2-r0) 14:00:22 (20/27) Installing flock (2.37.2-r0) 14:00:22 (21/27) Installing logger (2.37.2-r0) 14:00:22 (22/27) Installing uuidgen (2.37.2-r0) 14:00:22 (23/27) Installing libeconf (0.3.8-r1) 14:00:23 (24/27) Installing util-linux (2.37.2-r0) 14:00:23 (25/27) Installing util-linux-dev (2.37.2-r0) 14:00:23 (26/27) Installing libidn2 (2.3.1-r0) 14:00:23 (27/27) Installing wget (1.21.1-r1) 14:00:23 Executing busybox-1.33.1-r3.trigger 14:00:23 OK: 290 MiB in 104 packages 14:00:24 Removing intermediate container c961517b5093 14:00:24 ---> 8a47dee51af2 14:00:24 Step 6/24 : ENV CBOR_VERSION=0.5.0 14:00:24 ---> Running in db547950a520 14:00:24 Removing intermediate container db547950a520 14:00:24 ---> 6f43a57b84c1 14:00:24 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 14:00:24 ---> Running in 9ae4ae71b2c1 14:00:24 --2022-02-02 14:00:24-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:00:24 Resolving github.com (github.com)... 140.82.114.3 14:00:24 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 14:00:24 HTTP request sent, awaiting response... 302 Found 14:00:24 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:00:24 --2022-02-02 14:00:24-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:00:24 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 14:00:24 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 14:00:24 HTTP request sent, awaiting response... 200 OK 14:00:24 Length: unspecified [application/x-gzip] 14:00:24 Saving to: 'STDOUT' 14:00:24 14:00:25 0K .......... .......... .......... .......... .......... 1.22M 14:00:25 50K .......... .......... .......... .......... .......... 2.46M 14:00:25 100K .......... .......... .......... .......... .......... 49.3M 14:00:25 150K .......... .......... .......... .......... .......... 2.64M 14:00:25 200K .......... .......... .......... .......... .......... 41.6M 14:00:25 250K .......... .......... .......... .......... .......... 8.71M 14:00:25 300K .......... .......... .......... .......... .......... 6.46M 14:00:25 350K .......... .......... .......... .......... .......... 16.4M 14:00:25 400K .......... .......... .......... .......... .......... 10.5M 14:00:25 450K .......... .......... .......... .......... .......... 16.7M 14:00:25 500K .......... .......... .......... .......... .......... 30.8M 14:00:25 550K .......... .......... .......... .......... .......... 7.11M 14:00:25 600K .......... .......... .......... .......... .......... 4.98M 14:00:25 650K .......... .......... .......... .......... .......... 12.1M 14:00:25 700K .. 80.4M=0.1s 14:00:25 14:00:25 2022-02-02 14:00:24 (5.42 MB/s) - written to stdout [719348] 14:00:25 14:00:25 -- The C compiler identification is GNU 10.3.1 14:00:25 -- The CXX compiler identification is GNU 10.3.1 14:00:25 -- Detecting C compiler ABI info 14:00:25 -- Detecting C compiler ABI info - done 14:00:25 -- Check for working C compiler: /usr/bin/cc - skipped 14:00:25 -- Detecting C compile features 14:00:25 -- Detecting C compile features - done 14:00:25 -- Detecting CXX compiler ABI info 14:00:25 -- Detecting CXX compiler ABI info - done 14:00:25 -- Check for working CXX compiler: /usr/bin/c++ - skipped 14:00:25 -- Detecting CXX compile features 14:00:25 -- Detecting CXX compile features - done 14:00:25 -- Looking for include file endian.h 14:00:25 -- Looking for include file endian.h - found 14:00:25 -- Looking for sys/types.h 14:00:25 -- Looking for sys/types.h - found 14:00:25 -- Looking for stdint.h 14:00:25 -- Looking for stdint.h - found 14:00:25 -- Looking for stddef.h 14:00:25 -- Looking for stddef.h - found 14:00:25 -- Check size of size_t 14:00:25 -- Check size of size_t - done 14:00:25 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:00:25 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:00:25 asked CMake to find a package configuration file provided by "cJSON", but 14:00:25 CMake did not find one. 14:00:25 14:00:25 Could not find a package configuration file provided by "cJSON" with any of 14:00:25 the following names: 14:00:25 14:00:25 cJSONConfig.cmake 14:00:25 cjson-config.cmake 14:00:25 14:00:25 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:00:25 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:00:25 provides a separate development package or SDK, be sure it has been 14:00:25 installed. 14:00:25 14:00:25 14:00:25 -- Configuring done 14:00:25 -- Generating done 14:00:25 -- Build files have been written to: /tmp/cbor 14:00:25 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:00:26 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:00:26 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:00:26 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:00:26 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:00:26 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:00:26 Still waiting to schedule task 14:00:26 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:00:26 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:00:26 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:00:26 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:00:26 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:00:26 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:00:26 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:00:26 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:00:27 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:00:27 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:00:27 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:00:27 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:00:27 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:00:27 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:00:27 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:00:27 [ 40%] Linking C shared library libcbor.so 14:00:27 [ 40%] Built target cbor_shared 14:00:27 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:00:27 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:00:28 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:00:28 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:00:28 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:00:28 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:00:28 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:00:28 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:00:28 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:00:28 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:00:28 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:00:28 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:00:29 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:00:29 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:00:29 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:00:29 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:00:29 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:00:29 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:00:29 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:00:29 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:00:29 [ 80%] Linking C static library libcbor.a 14:00:29 [ 80%] Built target cbor 14:00:29 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:00:29 [ 84%] Linking C executable readfile 14:00:29 [ 84%] Built target readfile 14:00:29 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:00:29 [ 88%] Linking C executable create_items 14:00:29 [ 88%] Built target create_items 14:00:29 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:00:29 [ 92%] Linking C executable sort 14:00:29 [ 92%] Built target sort 14:00:29 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:00:29 [ 96%] Linking C executable hello 14:00:29 [ 96%] Built target hello 14:00:29 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:00:29 [100%] Linking C executable streaming_parser 14:00:30 [100%] Built target streaming_parser 14:00:30 Install the project... 14:00:30 -- Install configuration: "Release" 14:00:30 -- Installing: /usr/local/include/cbor/configuration.h 14:00:30 -- Installing: /usr/local/lib/libcbor.a 14:00:30 -- Installing: /usr/local/lib/libcbor.so.0.0.0 14:00:30 -- Installing: /usr/local/lib/libcbor.so.0 14:00:30 -- Installing: /usr/local/lib/libcbor.so 14:00:30 -- Up-to-date: /usr/local/include/cbor 14:00:30 -- Installing: /usr/local/include/cbor/arrays.h 14:00:30 -- Installing: /usr/local/include/cbor/bytestrings.h 14:00:30 -- Installing: /usr/local/include/cbor/callbacks.h 14:00:30 -- Installing: /usr/local/include/cbor/common.h 14:00:30 -- Installing: /usr/local/include/cbor/data.h 14:00:30 -- Installing: /usr/local/include/cbor/encoding.h 14:00:30 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:00:30 -- Installing: /usr/local/include/cbor/internal 14:00:30 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:00:30 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:00:30 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:00:30 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:00:30 -- Installing: /usr/local/include/cbor/internal/stack.h 14:00:30 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:00:30 -- Installing: /usr/local/include/cbor/ints.h 14:00:30 -- Installing: /usr/local/include/cbor/maps.h 14:00:30 -- Installing: /usr/local/include/cbor/serialization.h 14:00:30 -- Installing: /usr/local/include/cbor/streaming.h 14:00:30 -- Installing: /usr/local/include/cbor/strings.h 14:00:30 -- Installing: /usr/local/include/cbor/tags.h 14:00:30 -- Installing: /usr/local/include/cbor.h 14:00:30 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 14:00:30 Removing intermediate container 9ae4ae71b2c1 14:00:30 ---> 1f695f106c19 14:00:30 Step 8/24 : RUN mkdir /tmp/sdk 14:00:30 ---> Running in 7c05e76d5129 14:00:31 Removing intermediate container 7c05e76d5129 14:00:31 ---> 0a6f2724324a 14:00:31 Step 9/24 : COPY VERSION /tmp/sdk 14:00:31 ---> b30471dd299f 14:00:31 Step 10/24 : COPY src /tmp/sdk/src 14:00:31 ---> 903e8f649ad2 14:00:31 Step 11/24 : COPY include /tmp/sdk/include 14:00:31 ---> 51b6a0a8b71a 14:00:31 Step 12/24 : COPY scripts /tmp/sdk/scripts 14:00:31 ---> 56119794c0b8 14:00:31 Step 13/24 : COPY LICENSE /tmp/sdk 14:00:31 ---> 22474b146317 14:00:31 Step 14/24 : COPY Attribution.txt /tmp/sdk 14:00:32 ---> 50a3f30a935f 14:00:32 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:00:32 ---> Running in 836413d36272 14:00:32 + CPPCHECK=false 14:00:32 + DOCGEN=false 14:00:32 + TOMLVER=SDK-0.2 14:00:32 + CUTILVER=1.2.2 14:00:32 + '[' 0 -gt 0 ] 14:00:32 + readlink -f ./scripts/build.sh 14:00:32 + dirname /tmp/sdk/scripts/build.sh 14:00:32 + dirname /tmp/sdk/scripts 14:00:32 + ROOT=/tmp/sdk 14:00:32 + cd /tmp/sdk 14:00:32 + '[' '!' -d deps ] 14:00:32 + mkdir deps 14:00:32 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:00:32 + tar -C deps -z -x -f - 14:00:32 --2022-02-02 14:00:32-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:00:32 Resolving github.com (github.com)... 140.82.114.3 14:00:32 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 14:00:32 HTTP request sent, awaiting response... 302 Found 14:00:32 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:00:32 --2022-02-02 14:00:32-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:00:32 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 14:00:32 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 14:00:32 HTTP request sent, awaiting response... 200 OK 14:00:32 Length: unspecified [application/x-gzip] 14:00:32 Saving to: 'STDOUT' 14:00:32 14:00:32 0K .......... ......  822K=0.02s 14:00:32 14:00:32 2022-02-02 14:00:32 (822 KB/s) - written to stdout [16451] 14:00:32 14:00:32 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:00:32 + tar -C deps -z -x -f - 14:00:32 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 14:00:32 --2022-02-02 14:00:32-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 14:00:32 Resolving github.com (github.com)... 140.82.114.3 14:00:32 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 14:00:32 HTTP request sent, awaiting response... 302 Found 14:00:32 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 14:00:32 --2022-02-02 14:00:32-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 14:00:32 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 14:00:32 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 14:00:33 HTTP request sent, awaiting response... 200 OK 14:00:33 Length: unspecified [application/x-gzip] 14:00:33 Saving to: 'STDOUT' 14:00:33  14:00:33 0K .......... .......... .......... .......... .......... 1.24M 14:00:33 50K .......... .......... .......... .......... .......... 2.47M 14:00:33 100K .......... .......... .......... .......... .......... 87.0M 14:00:33 150K .......... .......... .......... ......... 3.69M=0.07s 14:00:33 14:00:33 2022-02-02 14:00:32 (2.63 MB/s) - written to stdout [193961] 14:00:33 14:00:33 + mkdir -p src/c/iot 14:00:33 + 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 14:00:33 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 14:00:33 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 14:00:33 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 14:00:33 + mkdir -p include/iot 14:00:33 + 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 14:00:33 + mkdir -p include/iot/os 14:00:33 + 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 14:00:33 + mkdir -p /tmp/sdk/build/release 14:00:33 + cd /tmp/sdk/build/release 14:00:33 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:00:33 -- The C compiler identification is GNU 10.3.1 14:00:33 -- Detecting C compiler ABI info 14:00:33 -- Detecting C compiler ABI info - done 14:00:33 -- Check for working C compiler: /usr/bin/cc - skipped 14:00:33 -- Detecting C compile features 14:00:33 -- Detecting C compile features - done 14:00:33 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:00:33 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 14:00:33 -- Found LIBYAML: /usr/lib/libyaml.so 14:00:33 -- Found LIBUUID: /usr/lib/libuuid.so 14:00:33 -- Found LIBCBOR: /usr/local/lib/libcbor.so 14:00:33 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:00:33 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:00:33 -- C SDK 2.2.0-dev.3 for Linux 14:00:33 -- Performing Test CSDK_HAVE_ATOMIC 14:00:33 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:00:33 -- Found Curses: /usr/lib/libcurses.so 14:00:33 -- Configuring done 14:00:33 -- Generating done 14:00:33 -- Build files have been written to: /tmp/sdk/build/release 14:00:33 + make all package 14:00:33 + tee release.log 14:00:33 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:00:33 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:00:33 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:00:34 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:00:34 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:00:34 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:00:34 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:00:34 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:00:34 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:00:34 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:00:35 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:00:35 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:00:35 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:00:35 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:00:35 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:00:35 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:00:35 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:00:36 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:00:36 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:00:36 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:00:36 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:00:36 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:00:36 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 14:00:36 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 14:00:36 275 | const iot_component_factory_t * factory; 14:00:36 | ^~~~~~~ 14:00:37 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:00:38 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:00:38 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:00:38 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:00:38 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:00:38 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:00:38 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:00:38 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:00:38 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:00:38 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:00:38 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 14:00:38 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:00:39 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:00:39 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:00:39 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:00:39 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:00:40 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:00:40 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:00:40 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:00:40 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:00:40 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 14:00:40 /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] 14:00:40 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 14:00:40 | ^~~~~~~~~~~~~ 14:00:40 | | 14:00:40 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 14:00:40 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:00:40 /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 *)' 14:00:40 2714 | MHD_KeyValueIterator iterator, 14:00:40 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 14:00:40 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 14:00:40 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:00:40 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 14:00:40 | ^~~~~~~~~~~~ 14:00:40 | | 14:00:40 | 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 **)} 14:00:40 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:00:40 /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 **)'} 14:00:40 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:00:40 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:00:40 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:00:40 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 14:00:40 | ^~~~~~~~~~~~ 14:00:40 | | 14:00:40 | 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 **)} 14:00:40 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:00:40 /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 **)'} 14:00:40 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:00:40 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:00:40 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:00:41 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:00:41 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:00:41 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:00:41 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:00:41 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:00:42 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:00:42 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:00:42 [ 76%] Linking C shared library libcsdk.so 14:00:42 [ 76%] Built target csdk 14:00:43 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:00:43 [ 79%] Linking C executable template 14:00:43 [ 79%] Built target template 14:00:43 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:00:43 [ 82%] Linking C executable device-counter 14:00:43 [ 82%] Built target device-counter 14:00:43 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:00:43 [ 85%] Linking C executable device-random 14:00:43 [ 85%] Built target device-random 14:00:43 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:00:43 [ 88%] Linking C executable device-gyro 14:00:43 [ 88%] Built target device-gyro 14:00:43 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:00:43 [ 91%] Linking C executable device-bitfields 14:00:43 [ 91%] Built target device-bitfields 14:00:43 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:00:43 [ 94%] Linking C executable template-discovery 14:00:44 [ 94%] Built target template-discovery 14:00:44 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:00:44 [ 97%] Linking C executable device-file 14:00:44 [ 97%] Built target device-file 14:00:44 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:00:44 [100%] Linking C executable device-terminal 14:00:44 [100%] Built target device-terminal 14:00:44 Run CPack packaging tool... 14:00:44 CPack: Create package using TGZ 14:00:44 CPack: Install projects 14:00:44 CPack: - Run preinstall target for: Csdk 14:00:44 CPack: - Install project: Csdk [] 14:00:44 CPack: Create package 14:00:44 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.3.tar.gz generated. 14:00:44 + '[' false '=' true ] 14:00:44 + '[' false '=' true ] 14:00:44 + mkdir -p /tmp/sdk/build/debug 14:00:44 + cd /tmp/sdk/build/debug 14:00:44 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:00:44 -- The C compiler identification is GNU 10.3.1 14:00:44 -- Detecting C compiler ABI info 14:00:44 -- Detecting C compiler ABI info - done 14:00:44 -- Check for working C compiler: /usr/bin/cc - skipped 14:00:44 -- Detecting C compile features 14:00:44 -- Detecting C compile features - done 14:00:44 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:00:44 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 14:00:44 -- Found LIBYAML: /usr/lib/libyaml.so 14:00:44 -- Found LIBUUID: /usr/lib/libuuid.so 14:00:44 -- Found LIBCBOR: /usr/local/lib/libcbor.so 14:00:44 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:00:44 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:00:44 -- C SDK 2.2.0-dev.3 for Linux 14:00:44 -- Performing Test CSDK_HAVE_ATOMIC 14:00:44 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:00:44 -- Found Curses: /usr/lib/libcurses.so 14:00:44 -- Configuring done 14:00:45 -- Generating done 14:00:45 -- Build files have been written to: /tmp/sdk/build/debug 14:00:45 + make 14:00:45 + tee debug.log 14:00:45 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:00:45 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:00:45 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:00:45 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:00:45 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:00:45 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:00:45 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:00:45 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:00:45 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:00:45 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:00:45 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:00:45 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:00:46 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:00:46 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:00:46 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:00:46 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:00:46 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:00:46 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:00:46 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:00:46 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:00:46 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:00:46 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:00:46 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 14:00:46 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 14:00:46 275 | const iot_component_factory_t * factory; 14:00:46 | ^~~~~~~ 14:00:46 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:00:46 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:00:46 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:00:47 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:00:47 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:00:47 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:00:47 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:00:47 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:00:47 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:00:47 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:00:47 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 14:00:47 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:00:47 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:00:47 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:00:47 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:00:48 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:00:48 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:00:48 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:00:48 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:00:48 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:00:48 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 14:00:48 /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] 14:00:48 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 14:00:48 | ^~~~~~~~~~~~~ 14:00:48 | | 14:00:48 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 14:00:48 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:00:48 /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 *)' 14:00:48 2714 | MHD_KeyValueIterator iterator, 14:00:48 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 14:00:48 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 14:00:48 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:00:48 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 14:00:48 | ^~~~~~~~~~~~ 14:00:48 | | 14:00:48 | 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 **)} 14:00:48 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:00:48 /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 **)'} 14:00:48 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:00:48 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:00:48 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:00:48 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 14:00:48 | ^~~~~~~~~~~~ 14:00:48 | | 14:00:48 | 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 **)} 14:00:48 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:00:48 /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 **)'} 14:00:48 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:00:48 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:00:48 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:00:48 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:00:48 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:00:48 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:00:48 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:00:49 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:00:49 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:00:49 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:00:49 [ 76%] Linking C shared library libcsdk.so 14:00:49 [ 76%] Built target csdk 14:00:49 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:00:49 [ 79%] Linking C executable template 14:00:49 [ 79%] Built target template 14:00:49 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:00:49 [ 82%] Linking C executable device-counter 14:00:49 [ 82%] Built target device-counter 14:00:49 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:00:49 [ 85%] Linking C executable device-random 14:00:49 [ 85%] Built target device-random 14:00:49 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:00:49 [ 88%] Linking C executable device-gyro 14:00:49 [ 88%] Built target device-gyro 14:00:49 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:00:50 [ 91%] Linking C executable device-bitfields 14:00:50 [ 91%] Built target device-bitfields 14:00:50 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:00:50 [ 94%] Linking C executable template-discovery 14:00:50 [ 94%] Built target template-discovery 14:00:50 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:00:50 [ 97%] Linking C executable device-file 14:00:50 [ 97%] Built target device-file 14:00:50 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:00:50 [100%] Linking C executable device-terminal 14:00:50 [100%] Built target device-terminal 14:00:50 make: Entering directory '/tmp/sdk/build/release' 14:00:50 make[1]: Entering directory '/tmp/sdk/build/release' 14:00:50 make[2]: Entering directory '/tmp/sdk/build/release' 14:00:50 make[2]: Leaving directory '/tmp/sdk/build/release' 14:00:50 [ 76%] Built target csdk 14:00:50 make[2]: Entering directory '/tmp/sdk/build/release' 14:00:50 make[2]: Leaving directory '/tmp/sdk/build/release' 14:00:50 [ 79%] Built target template 14:00:50 make[2]: Entering directory '/tmp/sdk/build/release' 14:00:50 make[2]: Leaving directory '/tmp/sdk/build/release' 14:00:50 [ 82%] Built target device-counter 14:00:50 make[2]: Entering directory '/tmp/sdk/build/release' 14:00:50 make[2]: Leaving directory '/tmp/sdk/build/release' 14:00:50 [ 85%] Built target device-random 14:00:50 make[2]: Entering directory '/tmp/sdk/build/release' 14:00:50 make[2]: Leaving directory '/tmp/sdk/build/release' 14:00:50 [ 88%] Built target device-gyro 14:00:50 make[2]: Entering directory '/tmp/sdk/build/release' 14:00:50 make[2]: Leaving directory '/tmp/sdk/build/release' 14:00:50 [ 91%] Built target device-bitfields 14:00:50 make[2]: Entering directory '/tmp/sdk/build/release' 14:00:50 make[2]: Leaving directory '/tmp/sdk/build/release' 14:00:50 [ 94%] Built target template-discovery 14:00:50 make[2]: Entering directory '/tmp/sdk/build/release' 14:00:50 make[2]: Leaving directory '/tmp/sdk/build/release' 14:00:50 [ 97%] Built target device-file 14:00:50 make[2]: Entering directory '/tmp/sdk/build/release' 14:00:50 make[2]: Leaving directory '/tmp/sdk/build/release' 14:00:50 [100%] Built target device-terminal 14:00:50 make[1]: Leaving directory '/tmp/sdk/build/release' 14:00:50 Install the project... 14:00:50 -- Install configuration: "Release" 14:00:50 -- Installing: /usr/local/lib/libcsdk.so 14:00:50 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:00:50 -- Up-to-date: /usr/local/include 14:00:50 -- Installing: /usr/local/include/devsdk 14:00:50 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:00:50 -- Installing: /usr/local/include/devsdk/devsdk.h 14:00:50 -- Installing: /usr/local/include/edgex 14:00:50 -- Installing: /usr/local/include/edgex/devices.h 14:00:50 -- Installing: /usr/local/include/edgex/edgex-base.h 14:00:50 -- Installing: /usr/local/include/edgex/edgex.h 14:00:50 -- Installing: /usr/local/include/edgex/profiles.h 14:00:50 -- Installing: /usr/local/include/edgex/rest-server.h 14:00:50 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:00:50 -- Installing: /usr/local/include/iot 14:00:50 -- Installing: /usr/local/include/iot/base64.h 14:00:50 -- Installing: /usr/local/include/iot/component.h 14:00:50 -- Installing: /usr/local/include/iot/config.h 14:00:50 -- Installing: /usr/local/include/iot/container.h 14:00:50 -- Installing: /usr/local/include/iot/data.h 14:00:50 -- Installing: /usr/local/include/iot/hash.h 14:00:50 -- Installing: /usr/local/include/iot/iot.h 14:00:50 -- Installing: /usr/local/include/iot/json.h 14:00:50 -- Installing: /usr/local/include/iot/logger.h 14:00:50 -- Installing: /usr/local/include/iot/os.h 14:00:50 -- Installing: /usr/local/include/iot/scheduler.h 14:00:50 -- Installing: /usr/local/include/iot/thread.h 14:00:50 -- Installing: /usr/local/include/iot/threadpool.h 14:00:50 -- Installing: /usr/local/include/iot/time.h 14:00:50 -- Installing: /usr/local/include/iot/typecode.h 14:00:50 -- Installing: /usr/local/include/iot/uuid.h 14:00:50 -- Installing: /usr/local/include/iot/os 14:00:50 -- Installing: /usr/local/include/iot/os/linux.h 14:00:50 -- Installing: /usr/local/include/iot/os/macos.h 14:00:50 -- Installing: /usr/local/include/iot/os/zephyr.h 14:00:50 -- Installing: /usr/local/include/iot/defs.h 14:00:50 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:00:50 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:00:50 make: Leaving directory '/tmp/sdk/build/release' 14:00:51 Removing intermediate container 836413d36272 14:00:51 ---> a0d0e899df92 14:00:51 Step 16/24 : FROM ${BASE} 14:00:51 ---> a4e04833b611 14:00:51 Step 17/24 : LABEL maintainer="IOTech " 14:00:51 ---> Running in acde0844d70d 14:00:51 Removing intermediate container acde0844d70d 14:00:51 ---> eaba1af363dd 14:00:51 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 14:00:51 ---> Running in cec6b191fccc 14:00:51 Connecting to iotech.jfrog.io (54.195.244.87:443) 14:00:52 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:00:52 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:00:52 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:00:52 Removing intermediate container cec6b191fccc 14:00:52 ---> 68f839757bb0 14:00:52 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 14:00:52 ---> Running in 0fa7110fcb68 14:00:52 Removing intermediate container 0fa7110fcb68 14:00:52 ---> 3f5026cfadb0 14:00:52 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 14:00:52 ---> Running in 1f4b2578ba0a 14:00:53 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:00:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:00:53 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 14:00:54 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:00:54 (1/7) Installing curl (7.79.1-r0) 14:00:54 (2/7) Installing hiredis (1.0.0-r0) 14:00:54 (3/7) Installing hiredis-dev (1.0.0-r0) 14:00:54 (4/7) Installing libuuid (2.37.2-r0) 14:00:54 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 14:00:55 (6/7) Installing libidn2 (2.3.1-r0) 14:00:55 (7/7) Installing wget (1.21.1-r1) 14:00:55 Executing busybox-1.33.1-r3.trigger 14:00:55 OK: 281 MiB in 84 packages 14:00:56 Removing intermediate container 1f4b2578ba0a 14:00:56 ---> edb4f2ea1c00 14:00:56 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:00:56 ---> be8bbf505ec8 14:00:56 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:00:56 ---> 7637a66d6e66 14:00:56 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 14:00:56 ---> c63ecd30ad30 14:00:56 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:00:56 ---> 82dce66bafc4 14:00:56 Successfully built 82dce66bafc4 14:00:57 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 14:00:57 + docker inspect -f . ci-base-image-x86_64 14:00:57 . [Pipeline] withDockerContainer 14:00:57 prd-centos7-docker-4c-2g-4435 does not seem to be running inside a container 14:00:57 $ 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 14:00:57 $ docker top 066801dd4720f5da6e154923a81dedcfe180f09b8523f5032cca00e7b50e3e0f -eo pid,comm [Pipeline] { [Pipeline] sh 14:00:58 + make test 14:00:58 echo "make test" 14:00:58 make test [Pipeline] } 14:00:58 $ docker stop --time=1 066801dd4720f5da6e154923a81dedcfe180f09b8523f5032cca00e7b50e3e0f 14:00:59 $ docker rm -f 066801dd4720f5da6e154923a81dedcfe180f09b8523f5032cca00e7b50e3e0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:01:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:01:00 + ls -al . 14:01:00 total 172 14:01:00 drwxrwxr-x. 9 jenkins jenkins 4096 Feb 2 14:00 . 14:01:00 drwxrwxr-x. 4 jenkins jenkins 108 Feb 2 13:59 .. 14:01:00 -rw-rw-r--. 1 jenkins jenkins 3104 Feb 2 13:59 Attribution.txt 14:01:00 -rw-rw-r--. 1 jenkins jenkins 7880 Feb 2 13:59 CHANGES 14:01:00 drwxrwxr-x. 2 jenkins jenkins 121 Feb 2 13:59 docs 14:01:00 -rw-rw-r--. 1 jenkins jenkins 108574 Feb 2 13:59 Doxyfile 14:01:00 drwxrwxr-x. 8 jenkins jenkins 162 Feb 2 13:59 .git 14:01:00 drwxrwxr-x. 3 jenkins jenkins 103 Feb 2 13:59 .github 14:01:00 -rw-rw-r--. 1 jenkins jenkins 176 Feb 2 13:59 .gitignore 14:01:00 -rw-rw-r--. 1 jenkins jenkins 677 Feb 2 13:59 GOVERNANCE.md 14:01:00 drwxrwxr-x. 4 jenkins jenkins 33 Feb 2 13:59 include 14:01:00 -rw-rw-r--. 1 jenkins jenkins 784 Feb 2 13:59 Jenkinsfile 14:01:00 -rw-rw-r--. 1 jenkins jenkins 10174 Feb 2 13:59 LICENSE 14:01:00 -rw-rw-r--. 1 jenkins jenkins 444 Feb 2 13:59 Makefile 14:01:00 -rw-rw-r--. 1 jenkins jenkins 618 Feb 2 13:59 OWNERS.md 14:01:00 -rw-rw-r--. 1 jenkins jenkins 4086 Feb 2 13:59 README.md 14:01:00 -rw-rw-r--. 1 jenkins jenkins 7422 Feb 2 13:59 README.v2.md 14:01:00 drwxrwxr-x. 2 jenkins jenkins 98 Feb 2 13:59 scripts 14:01:00 drwx------. 3 jenkins jenkins 71 Feb 2 14:00 .semver 14:01:00 drwxrwxr-x. 4 jenkins jenkins 50 Feb 2 13:59 src 14:01:00 -rw-rw-r--. 1 jenkins jenkins 11 Feb 2 14:00 VERSION [Pipeline] isUnix [Pipeline] sh 14:01:01 + 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=14d3a6bdd029748f665c10001c42d1af5d609c98 --label arch=amd64 --label version=2.2.0-dev.3 . 14:01:01 Sending build context to Docker daemon 4.47MB 14:01:01 Step 1/17 : ARG BASE=alpine:3.14 14:01:01 Step 2/17 : FROM ${BASE} 14:01:01 ---> 82dce66bafc4 14:01:01 Step 3/17 : LABEL maintainer="IOTech " 14:01:01 ---> Running in e0511f0d69a8 14:01:01 Removing intermediate container e0511f0d69a8 14:01:01 ---> 5e9fba922b8a 14:01:01 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 14:01:01 ---> Running in cca8852596ef 14:01:01 --2022-02-02 14:01:01-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 14:01:01 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.74.239.58, 54.195.244.87, 54.229.110.245, ... 14:01:01 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.74.239.58|:443... connected. 14:01:02 HTTP request sent, awaiting response... 200 OK 14:01:02 Length: unspecified [application/json] 14:01:02 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 14:01:02 14:01:02 0K 169M=0s 14:01:02 14:01:02 2022-02-02 14:01:01 (169 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 14:01:02 14:01:02 Removing intermediate container cca8852596ef 14:01:02 ---> 484792ea4bfc 14:01:02 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 14:01:02 ---> Running in 1d4c124696dd 14:01:02 Removing intermediate container 1d4c124696dd 14:01:02 ---> f530ea535c10 14:01:02 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 14:01:02 ---> Running in d6e9bbd0a740 14:01:03 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:01:03 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:01:04 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 14:01:04 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:01:04 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 14:01:04 (2/21) Installing libblkid (2.37.2-r0) 14:01:04 (3/21) Installing blkid (2.37.2-r0) 14:01:05 (4/21) Installing libcap-ng (0.8.2-r0) 14:01:05 (5/21) Installing setpriv (2.37.2-r0) 14:01:05 (6/21) Installing libmount (2.37.2-r0) 14:01:05 (7/21) Installing libsmartcols (2.37.2-r0) 14:01:05 (8/21) Installing findmnt (2.37.2-r0) 14:01:05 (9/21) Installing mcookie (2.37.2-r0) 14:01:05 (10/21) Installing hexdump (2.37.2-r0) 14:01:05 (11/21) Installing lsblk (2.37.2-r0) 14:01:05 (12/21) Installing libfdisk (2.37.2-r0) 14:01:05 (13/21) Installing sfdisk (2.37.2-r0) 14:01:05 (14/21) Installing cfdisk (2.37.2-r0) 14:01:05 (15/21) Installing partx (2.37.2-r0) 14:01:06 (16/21) Installing flock (2.37.2-r0) 14:01:06 (17/21) Installing logger (2.37.2-r0) 14:01:06 (18/21) Installing uuidgen (2.37.2-r0) 14:01:06 (19/21) Installing libeconf (0.3.8-r1) 14:01:06 (20/21) Installing util-linux (2.37.2-r0) 14:01:06 (21/21) Installing util-linux-dev (2.37.2-r0) 14:01:06 Executing busybox-1.33.1-r3.trigger 14:01:06 OK: 291 MiB in 105 packages 14:01:06 Removing intermediate container d6e9bbd0a740 14:01:06 ---> e87f892175ce 14:01:06 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:01:07 ---> 7c37402e67f8 14:01:07 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:01:07 ---> 29e2f4185c03 14:01:07 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:01:07 ---> bb841659aae5 14:01:07 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:01:07 ---> 0fde331e1dd0 14:01:07 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:01:07 ---> a4bdeabbd2f9 14:01:07 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:01:07 ---> 14c72f23ddba 14:01:07 Step 13/17 : WORKDIR /edgex-c-sdk 14:01:07 ---> Running in 9ea6663bc332 14:01:08 Removing intermediate container 9ea6663bc332 14:01:08 ---> 167e993f5868 14:01:08 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:01:08 ---> Running in c37ceb51df0b 14:01:08 Removing intermediate container c37ceb51df0b 14:01:08 ---> 12d3a006a27e 14:01:08 Step 15/17 : LABEL arch=amd64 14:01:08 ---> Running in 3ef2f6f59b9e 14:01:08 Removing intermediate container 3ef2f6f59b9e 14:01:08 ---> 10f4f2b89599 14:01:08 Step 16/17 : LABEL git_sha=14d3a6bdd029748f665c10001c42d1af5d609c98 14:01:08 ---> Running in 86ec7d11452a 14:01:08 Removing intermediate container 86ec7d11452a 14:01:08 ---> a0f663e81c3e 14:01:08 Step 17/17 : LABEL version=2.2.0-dev.3 14:01:08 ---> Running in 0d45378f6bf3 14:01:08 Removing intermediate container 0d45378f6bf3 14:01:08 ---> a326d3907669 14:01:08 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:01:08 Successfully built a326d3907669 14:01:08 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:01:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:01:08 14:01:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:01:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:01:09 latest: Pulling from edgex-lftools-log-publisher 14:01:09 b4d181a07f80: Pulling fs layer 14:01:09 a1111a8f2ec3: Pulling fs layer 14:01:09 ed53099fbce6: Pulling fs layer 14:01:09 dc539afda2c1: Pulling fs layer 14:01:09 77bc0d833cb6: Pulling fs layer 14:01:09 9065ff56babe: Pulling fs layer 14:01:09 d287ab97295c: Pulling fs layer 14:01:09 dc539afda2c1: Waiting 14:01:09 77bc0d833cb6: Waiting 14:01:09 9065ff56babe: Waiting 14:01:09 d287ab97295c: Waiting 14:01:09 a1111a8f2ec3: Verifying Checksum 14:01:09 a1111a8f2ec3: Download complete 14:01:09 dc539afda2c1: Verifying Checksum 14:01:09 dc539afda2c1: Download complete 14:01:09 ed53099fbce6: Verifying Checksum 14:01:09 ed53099fbce6: Download complete 14:01:09 9065ff56babe: Verifying Checksum 14:01:09 9065ff56babe: Download complete 14:01:09 77bc0d833cb6: Verifying Checksum 14:01:09 77bc0d833cb6: Download complete 14:01:09 b4d181a07f80: Verifying Checksum 14:01:09 b4d181a07f80: Download complete 14:01:10 d287ab97295c: Verifying Checksum 14:01:10 d287ab97295c: Download complete 14:01:11 b4d181a07f80: Pull complete 14:01:11 a1111a8f2ec3: Pull complete 14:01:11 ed53099fbce6: Pull complete 14:01:11 dc539afda2c1: Pull complete 14:01:11 77bc0d833cb6: Pull complete 14:01:11 9065ff56babe: Pull complete 14:01:17 d287ab97295c: Pull complete 14:01:17 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:01:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:01:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:01:17 prd-centos7-docker-4c-2g-4435 does not seem to be running inside a container 14:01:17 $ 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 14:01:19 $ docker top c21462689a7e6682c092757d61d300d2886962ad684b8f06eb86abda833e403a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:01:19 ---> job-cost.sh 14:01:19 lf-activate-venv: SKIPPING 14:01:19 INFO: No Stack... 14:01:20 INFO: Retrieving Pricing Info for: v3-standard-2 14:01:20 INFO: Archiving Costs [Pipeline] sh 14:01:21 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 14:01:21 + cut -d, -f6 [Pipeline] lock 14:01:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-17-stack-cost] 14:01:21 Resource [jenkins-edgexfoundry-device-sdk-c-main-17-stack-cost] did not exist. Created. 14:01:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:01:21 + echo total: 0.05999999865889549 [Pipeline] stash 14:01:21 Stashed 1 file(s) [Pipeline] } 14:01:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-17-stack-cost] [Pipeline] // lock [Pipeline] } 14:01:21 $ docker stop --time=1 c21462689a7e6682c092757d61d300d2886962ad684b8f06eb86abda833e403a 14:01:22 $ docker rm -f c21462689a7e6682c092757d61d300d2886962ad684b8f06eb86abda833e403a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:01:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4436 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 14:01:47 Running in /w/workspace/device-sdk-c/17 [Pipeline] { [Pipeline] checkout 14:01:48 Selected Git installation does not exist. Using Default 14:01:48 The recommended git tool is: NONE 14:01:52 using credential edgex-jenkins-ssh 14:01:52 Cloning the remote Git repository 14:01:52 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:01:52 > git init /w/workspace/device-sdk-c/17 # timeout=10 14:01:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:01:52 > git --version # timeout=10 14:01:52 > git --version # 'git version 2.17.1' 14:01:52 using GIT_SSH to set credentials SSH Credentials for GitHub 14:01:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:01:53 Avoid second fetch 14:01:53 Checking out Revision 14d3a6bdd029748f665c10001c42d1af5d609c98 (main) 14:01:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:01:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:01:53 > git config core.sparsecheckout # timeout=10 14:01:53 > git checkout -f 14d3a6bdd029748f665c10001c42d1af5d609c98 # timeout=10 14:01:58 Commit message: "fix: retry attempts to resolve service endpoints from registry (#394) (#396)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:01:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:01:59 % Total % Received % Xferd Average Speed Time Time Time Current 14:01:59 Dload Upload Total Spent Left Speed 14:01:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 93251 0 --:--:-- --:--:-- --:--:-- 93251 [Pipeline] sh 14:01:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:01:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:01:59 + sudo tee /etc/docker/daemon.new 14:01:59 { 14:01:59 "registry-mirrors": [ 14:01:59 "https://nexus3.edgexfoundry.org:10001" 14:01:59 ], 14:01:59 "bip": "10.250.0.254/24", 14:01:59 "hosts": [ 14:01:59 "tcp://0.0.0.0:5555", 14:01:59 "unix:///var/run/docker.sock" 14:01:59 ], 14:01:59 "mtu": 1458, 14:01:59 "selinux-enabled": true, 14:01:59 "seccomp-profile": "/etc/docker/seccomp.json" 14:01:59 } [Pipeline] sh 14:02:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:02:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:02:18 provisioning config files... 14:02:18 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/17@tmp/config1712223839052055718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:02:19 ---> docker-login.sh 14:02:19 nexus3.edgexfoundry.org:10001 14:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:02:20 Configure a credential helper to remove this warning. See 14:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:02:20 14:02:20 Login Succeeded 14:02:20 nexus3.edgexfoundry.org:10002 14:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:02:20 Configure a credential helper to remove this warning. See 14:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:02:20 14:02:20 Login Succeeded 14:02:20 nexus3.edgexfoundry.org:10003 14:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:02:21 Configure a credential helper to remove this warning. See 14:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:02:21 14:02:21 Login Succeeded 14:02:21 nexus3.edgexfoundry.org:10004 14:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:02:21 Configure a credential helper to remove this warning. See 14:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:02:21 14:02:21 Login Succeeded 14:02:21 docker.io 14:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:02:22 Configure a credential helper to remove this warning. See 14:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:02:22 14:02:22 Login Succeeded 14:02:22 ---> docker-login.sh ends [Pipeline] } 14:02:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:02:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:02:22 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 14:02:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:02:22 ========================================================= 14:02:22 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:02:22 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:02: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 . 14:02:23 Sending build context to Docker daemon 2.719MB 14:02:23 Step 1/24 : ARG BASE=alpine:3.14 14:02:23 Step 2/24 : FROM ${BASE} as builder 14:02:23 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:02:23 552d1f2373af: Pulling fs layer 14:02:23 f2be2b6548c6: Pulling fs layer 14:02:23 ee4ac2fe028c: Pulling fs layer 14:02:23 f2be2b6548c6: Download complete 14:02:23 552d1f2373af: Download complete 14:02:24 552d1f2373af: Pull complete 14:02:24 f2be2b6548c6: Pull complete 14:02:25 ee4ac2fe028c: Verifying Checksum 14:02:25 ee4ac2fe028c: Download complete 14:02:33 ee4ac2fe028c: Pull complete 14:02:33 Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b 14:02:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:02:33 ---> b6d714ea7bf2 14:02:33 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 14:02:34 ---> Running in f90a6f01751d 14:02:35 Connecting to iotech.jfrog.io (54.72.115.12:443) 14:02:35 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:02:35 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:02:35 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:02:36 Removing intermediate container f90a6f01751d 14:02:36 ---> 6506e51c2792 14:02:36 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 14:02:36 ---> Running in 9c0c311f6bdc 14:02:37 Removing intermediate container 9c0c311f6bdc 14:02:37 ---> c273322a21ce 14:02:37 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 14:02:38 ---> Running in dab99605aab2 14:02:39 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:02:40 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:02:40 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 14:02:41 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:02:41 (1/27) Installing hiredis (1.0.0-r0) 14:02:41 (2/27) Installing hiredis-dev (1.0.0-r0) 14:02:41 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 14:02:41 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 14:02:42 (5/27) Installing libblkid (2.37.2-r0) 14:02:42 (6/27) Installing blkid (2.37.2-r0) 14:02:42 (7/27) Installing libcap-ng (0.8.2-r0) 14:02:42 (8/27) Installing setpriv (2.37.2-r0) 14:02:42 (9/27) Installing libmount (2.37.2-r0) 14:02:42 (10/27) Installing libsmartcols (2.37.2-r0) 14:02:43 (11/27) Installing findmnt (2.37.2-r0) 14:02:43 (12/27) Installing mcookie (2.37.2-r0) 14:02:43 (13/27) Installing hexdump (2.37.2-r0) 14:02:43 (14/27) Installing lsblk (2.37.2-r0) 14:02:43 (15/27) Installing libuuid (2.37.2-r0) 14:02:43 (16/27) Installing libfdisk (2.37.2-r0) 14:02:43 (17/27) Installing sfdisk (2.37.2-r0) 14:02:43 (18/27) Installing cfdisk (2.37.2-r0) 14:02:43 (19/27) Installing partx (2.37.2-r0) 14:02:43 (20/27) Installing flock (2.37.2-r0) 14:02:43 (21/27) Installing logger (2.37.2-r0) 14:02:43 (22/27) Installing uuidgen (2.37.2-r0) 14:02:44 (23/27) Installing libeconf (0.3.8-r1) 14:02:44 (24/27) Installing util-linux (2.37.2-r0) 14:02:44 (25/27) Installing util-linux-dev (2.37.2-r0) 14:02:44 (26/27) Installing libidn2 (2.3.1-r0) 14:02:44 (27/27) Installing wget (1.21.1-r1) 14:02:45 Executing busybox-1.33.1-r3.trigger 14:02:45 OK: 286 MiB in 104 packages 14:02:46 Removing intermediate container dab99605aab2 14:02:46 ---> db41a6b4484e 14:02:46 Step 6/24 : ENV CBOR_VERSION=0.5.0 14:02:46 ---> Running in 308e5a3e3c18 14:02:46 Removing intermediate container 308e5a3e3c18 14:02:46 ---> 3fd0df87df01 14:02:46 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 14:02:46 ---> Running in e61083315185 14:02:47 --2022-02-02 14:02:47-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:02:47 Resolving github.com (github.com)... 140.82.114.3 14:02:47 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 14:02:47 HTTP request sent, awaiting response... 302 Found 14:02:47 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:02:47 --2022-02-02 14:02:47-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:02:47 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 14:02:47 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 14:02:48 HTTP request sent, awaiting response... 200 OK 14:02:48 Length: unspecified [application/x-gzip] 14:02:48 Saving to: 'STDOUT' 14:02:48  14:02:48 0K .......... .......... .......... .......... .......... 1.21M 14:02:48 50K .......... .......... .......... .......... .......... 2.32M 14:02:48 100K .......... .......... .......... .......... .......... 18.7M 14:02:48 150K .......... .......... .......... .......... .......... 2.63M 14:02:48 200K .......... .......... .......... .......... .......... 17.9M 14:02:48 250K .......... .......... .......... .......... .......... 3.38M 14:02:48 300K .......... .......... .......... .......... .......... 5.41M 14:02:48 350K .......... .......... .......... .......... .......... 5.75M 14:02:48 400K .......... .......... .......... .......... .......... 3.85M 14:02:48 450K .......... .......... .......... .......... .......... 3.04M 14:02:48 500K .......... .......... .......... .......... .......... 8.73M 14:02:48 550K .......... .......... .......... .......... .......... 1.82M 14:02:48 600K .......... .......... .......... .......... .......... 978K 14:02:48 650K .......... .......... .......... .......... .......... 2.04M 14:02:48 700K ..       5.90M=0.3s 14:02:48 14:02:48 2022-02-02 14:02:48 (2.70 MB/s) - written to stdout [719348] 14:02:48 14:02:48 -- The C compiler identification is GNU 10.3.1 14:02:49 -- The CXX compiler identification is GNU 10.3.1 14:02:49 -- Detecting C compiler ABI info 14:02:49 -- Detecting C compiler ABI info - done 14:02:49 -- Check for working C compiler: /usr/bin/cc - skipped 14:02:49 -- Detecting C compile features 14:02:49 -- Detecting C compile features - done 14:02:49 -- Detecting CXX compiler ABI info 14:02:49 -- Detecting CXX compiler ABI info - done 14:02:49 -- Check for working CXX compiler: /usr/bin/c++ - skipped 14:02:49 -- Detecting CXX compile features 14:02:49 -- Detecting CXX compile features - done 14:02:49 -- Looking for include file endian.h 14:02:50 -- Looking for include file endian.h - found 14:02:50 -- Looking for sys/types.h 14:02:50 -- Looking for sys/types.h - found 14:02:50 -- Looking for stdint.h 14:02:50 -- Looking for stdint.h - found 14:02:50 -- Looking for stddef.h 14:02:50 -- Looking for stddef.h - found 14:02:50 -- Check size of size_t 14:02:51 -- Check size of size_t - done 14:02:51 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:02:51 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:02:51 asked CMake to find a package configuration file provided by "cJSON", but 14:02:51 CMake did not find one. 14:02:51 14:02:51 Could not find a package configuration file provided by "cJSON" with any of 14:02:51 the following names: 14:02:51 14:02:51 cJSONConfig.cmake 14:02:51 cjson-config.cmake 14:02:51 14:02:51 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:02:51 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:02:51 provides a separate development package or SDK, be sure it has been 14:02:51 installed. 14:02:51 14:02:51 14:02:51 -- Configuring done 14:02:51 -- Generating done 14:02:51 -- Build files have been written to: /tmp/cbor 14:02:51 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:02:52 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:02:53 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:02:53 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:02:54 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:02:54 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:02:54 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:02:54 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:02:55 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:02:55 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:02:56 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:02:56 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:02:57 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:02:57 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:02:57 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:02:57 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:02:58 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:02:58 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:02:59 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:02:59 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:02:59 [ 40%] Linking C shared library libcbor.so 14:02:59 [ 40%] Built target cbor_shared 14:02:59 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:03:00 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:03:01 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:03:01 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:03:03 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:03:03 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:03:04 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:03:04 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:03:04 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:03:04 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:03:05 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:03:06 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:03:06 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:03:06 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:03:07 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:03:07 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:03:08 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:03:08 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:03:08 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:03:08 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:03:09 [ 80%] Linking C static library libcbor.a 14:03:09 [ 80%] Built target cbor 14:03:09 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:03:09 [ 84%] Linking C executable readfile 14:03:09 [ 84%] Built target readfile 14:03:09 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:03:10 [ 88%] Linking C executable create_items 14:03:10 [ 88%] Built target create_items 14:03:10 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:03:10 [ 92%] Linking C executable sort 14:03:10 [ 92%] Built target sort 14:03:10 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:03:10 [ 96%] Linking C executable hello 14:03:10 [ 96%] Built target hello 14:03:10 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:03:10 [100%] Linking C executable streaming_parser 14:03:11 [100%] Built target streaming_parser 14:03:11 Install the project... 14:03:11 -- Install configuration: "Release" 14:03:11 -- Installing: /usr/local/include/cbor/configuration.h 14:03:11 -- Installing: /usr/local/lib/libcbor.a 14:03:11 -- Installing: /usr/local/lib/libcbor.so.0.0.0 14:03:11 -- Installing: /usr/local/lib/libcbor.so.0 14:03:11 -- Installing: /usr/local/lib/libcbor.so 14:03:11 -- Up-to-date: /usr/local/include/cbor 14:03:11 -- Installing: /usr/local/include/cbor/data.h 14:03:11 -- Installing: /usr/local/include/cbor/callbacks.h 14:03:11 -- Installing: /usr/local/include/cbor/ints.h 14:03:11 -- Installing: /usr/local/include/cbor/arrays.h 14:03:11 -- Installing: /usr/local/include/cbor/maps.h 14:03:11 -- Installing: /usr/local/include/cbor/tags.h 14:03:11 -- Installing: /usr/local/include/cbor/serialization.h 14:03:11 -- Installing: /usr/local/include/cbor/common.h 14:03:11 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:03:11 -- Installing: /usr/local/include/cbor/internal 14:03:11 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:03:11 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:03:11 -- Installing: /usr/local/include/cbor/internal/stack.h 14:03:11 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:03:11 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:03:11 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:03:11 -- Installing: /usr/local/include/cbor/bytestrings.h 14:03:11 -- Installing: /usr/local/include/cbor/encoding.h 14:03:11 -- Installing: /usr/local/include/cbor/streaming.h 14:03:11 -- Installing: /usr/local/include/cbor/strings.h 14:03:11 -- Installing: /usr/local/include/cbor.h 14:03:11 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 14:03:13 Removing intermediate container e61083315185 14:03:13 ---> dd3042e23c7f 14:03:13 Step 8/24 : RUN mkdir /tmp/sdk 14:03:13 ---> Running in 9fe106c6d5cb 14:03:14 Removing intermediate container 9fe106c6d5cb 14:03:14 ---> 5e7fdbf2e287 14:03:14 Step 9/24 : COPY VERSION /tmp/sdk 14:03:15 ---> 2aba774ba653 14:03:15 Step 10/24 : COPY src /tmp/sdk/src 14:03:16 ---> 360e14e8cb6e 14:03:16 Step 11/24 : COPY include /tmp/sdk/include 14:03:16 ---> 874e6dc4de90 14:03:16 Step 12/24 : COPY scripts /tmp/sdk/scripts 14:03:17 ---> ec2ab7820bdf 14:03:17 Step 13/24 : COPY LICENSE /tmp/sdk 14:03:17 ---> 1960a5cde254 14:03:17 Step 14/24 : COPY Attribution.txt /tmp/sdk 14:03:18 ---> df06e98b80e0 14:03:18 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:03:18 ---> Running in 8dd0e00cc69f 14:03:19 + CPPCHECK=false 14:03:19 + DOCGEN=false 14:03:19 + TOMLVER=SDK-0.2 14:03:19 + CUTILVER=1.2.2 14:03:19 + '[' 0 -gt 0 ] 14:03:19 + readlink -f ./scripts/build.sh 14:03:19 + dirname /tmp/sdk/scripts/build.sh 14:03:19 + dirname /tmp/sdk/scripts 14:03:19 + ROOT=/tmp/sdk 14:03:19 + cd /tmp/sdk 14:03:19 + '[' '!' -d deps ] 14:03:19 + mkdir deps 14:03:19 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:03:19 + tar -C deps -z -x -f - 14:03:19 --2022-02-02 14:03:19-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:03:19 Resolving github.com (github.com)... 140.82.114.3 14:03:19 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 14:03:19 HTTP request sent, awaiting response... 302 Found 14:03:19 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:03:19 --2022-02-02 14:03:19-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:03:19 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 14:03:19 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 14:03:19 HTTP request sent, awaiting response... 200 OK 14:03:19 Length: unspecified [application/x-gzip] 14:03:19 Saving to: 'STDOUT' 14:03:19  14:03:19 0K .......... ......  833K=0.02s 14:03:19 14:03:19 2022-02-02 14:03:19 (833 KB/s) - written to stdout [16451] 14:03:19 14:03:19 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:03:19 + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -z 14:03:19 -x -f - 14:03:19 --2022-02-02 14:03:19-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 14:03:19 Resolving github.com (github.com)... 140.82.114.3 14:03:19 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 14:03:20 HTTP request sent, awaiting response... 302 Found 14:03:20 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 14:03:20 --2022-02-02 14:03:19-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 14:03:20 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 14:03:20 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 14:03:20 HTTP request sent, awaiting response... 200 OK 14:03:20 Length: unspecified [application/x-gzip] 14:03:20 Saving to: 'STDOUT' 14:03:20  14:03:20 0K .......... .......... .......... .......... .......... 1.20M 14:03:20 50K .......... .......... .......... .......... .......... 2.46M 14:03:20 100K .......... .......... .......... .......... .......... 8.19M 14:03:20 150K .......... .......... .......... ......... 2.21M=0.08s 14:03:20 14:03:20 2022-02-02 14:03:20 (2.21 MB/s) - written to stdout [193961] 14:03:20 14:03:20 + mkdir -p src/c/iot 14:03: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 14:03:20 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 14:03:20 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 14:03:20 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 14:03:20 + mkdir -p include/iot 14:03: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 14:03:20 + mkdir -p include/iot/os 14:03: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 14:03:20 + mkdir -p /tmp/sdk/build/release 14:03:20 + cd /tmp/sdk/build/release 14:03:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:03:20 -- The C compiler identification is GNU 10.3.1 14:03:20 -- Detecting C compiler ABI info 14:03:20 -- Detecting C compiler ABI info - done 14:03:21 -- Check for working C compiler: /usr/bin/cc - skipped 14:03:21 -- Detecting C compile features 14:03:21 -- Detecting C compile features - done 14:03:21 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:03:21 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 14:03:21 -- Found LIBYAML: /usr/lib/libyaml.so 14:03:21 -- Found LIBUUID: /usr/lib/libuuid.so 14:03:21 -- Found LIBCBOR: /usr/local/lib/libcbor.so 14:03:21 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:03:21 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:03:21 -- C SDK 2.2.0-dev.3 for Linux 14:03:21 -- Performing Test CSDK_HAVE_ATOMIC 14:03:21 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:03:21 -- Found Curses: /usr/lib/libcurses.so 14:03:21 -- Configuring done 14:03:21 -- Generating done 14:03:21 -- Build files have been written to: /tmp/sdk/build/release 14:03:22 + make all package 14:03:22 + tee release.log 14:03:22 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:03:22 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:03:23 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:03:25 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:03:26 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:03:26 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:03:27 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:03:28 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:03:28 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:03:29 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:03:31 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:03:32 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:03:33 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:03:33 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:03:34 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:03:34 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:03:34 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:03:38 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:03:38 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:03:38 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:03:39 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:03:39 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:03:39 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 14:03:39 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 14:03:39 275 | const iot_component_factory_t * factory; 14:03:39 | ^~~~~~~ 14:03:40 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:03:45 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:03:45 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:03:45 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:03:46 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:03:46 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:03:46 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:03:48 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:03:48 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:03:49 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:03:49 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 14:03:49 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:03:52 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:03:52 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:03:53 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:03:54 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:03:59 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:03:59 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:04:00 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:04:00 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:04:00 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 14:04:00 /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] 14:04:00 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 14:04:00 | ^~~~~~~~~~~~~ 14:04:00 | | 14:04:00 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 14:04:00 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:04:00 /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 *)' 14:04:00 2714 | MHD_KeyValueIterator iterator, 14:04:00 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 14:04:00 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 14:04:00 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:04:00 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 14:04:00 | ^~~~~~~~~~~~ 14:04:00 | | 14:04:00 | 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 **)} 14:04:00 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:04:00 /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 **)'} 14:04:00 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:04:00 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:04:00 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:04:00 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 14:04:00 | ^~~~~~~~~~~~ 14:04:00 | | 14:04:00 | 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 **)} 14:04:00 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:04:00 /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 **)'} 14:04:00 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:04:00 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:04:01 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:04:04 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:04:04 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:04:04 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:04:05 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:04:07 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:04:11 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:04:12 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:04:12 [ 76%] Linking C shared library libcsdk.so 14:04:12 [ 76%] Built target csdk 14:04:12 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:04:13 [ 79%] Linking C executable template 14:04:14 [ 79%] Built target template 14:04:14 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:04:14 [ 82%] Linking C executable device-counter 14:04:14 [ 82%] Built target device-counter 14:04:14 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:04:15 [ 85%] Linking C executable device-random 14:04:15 [ 85%] Built target device-random 14:04:15 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:04:16 [ 88%] Linking C executable device-gyro 14:04:16 [ 88%] Built target device-gyro 14:04:16 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:04:16 [ 91%] Linking C executable device-bitfields 14:04:16 [ 91%] Built target device-bitfields 14:04:16 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:04:17 [ 94%] Linking C executable template-discovery 14:04:18 [ 94%] Built target template-discovery 14:04:18 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:04:19 [ 97%] Linking C executable device-file 14:04:19 [ 97%] Built target device-file 14:04:19 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:04:19 [100%] Linking C executable device-terminal 14:04:19 [100%] Built target device-terminal 14:04:20 Run CPack packaging tool... 14:04:20 CPack: Create package using TGZ 14:04:20 CPack: Install projects 14:04:20 CPack: - Run preinstall target for: Csdk 14:04:20 CPack: - Install project: Csdk [] 14:04:20 CPack: Create package 14:04:21 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.3.tar.gz generated. 14:04:21 + '[' false '=' true ] 14:04:21 + '[' false '=' true ] 14:04:21 + mkdir -p /tmp/sdk/build/debug 14:04:21 + cd /tmp/sdk/build/debug 14:04:21 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:04:21 -- The C compiler identification is GNU 10.3.1 14:04:21 -- Detecting C compiler ABI info 14:04:21 -- Detecting C compiler ABI info - done 14:04:21 -- Check for working C compiler: /usr/bin/cc - skipped 14:04:21 -- Detecting C compile features 14:04:21 -- Detecting C compile features - done 14:04:21 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:04:21 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 14:04:21 -- Found LIBYAML: /usr/lib/libyaml.so 14:04:21 -- Found LIBUUID: /usr/lib/libuuid.so 14:04:21 -- Found LIBCBOR: /usr/local/lib/libcbor.so 14:04:21 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:04:21 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:04:21 -- C SDK 2.2.0-dev.3 for Linux 14:04:21 -- Performing Test CSDK_HAVE_ATOMIC 14:04:22 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:04:22 -- Found Curses: /usr/lib/libcurses.so 14:04:22 -- Configuring done 14:04:22 -- Generating done 14:04:22 -- Build files have been written to: /tmp/sdk/build/debug 14:04:22 + make 14:04:22 + tee debug.log 14:04:22 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:04:23 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:04:23 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:04:24 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:04:24 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:04:24 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:04:25 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:04:25 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:04:25 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:04:26 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:04:26 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:04:26 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:04:27 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:04:27 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:04:27 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:04:28 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:04:28 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:04:29 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:04:29 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:04:29 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:04:29 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:04:30 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:04:30 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 14:04:30 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 14:04:30 275 | const iot_component_factory_t * factory; 14:04:30 | ^~~~~~~ 14:04:30 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:04:31 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:04:31 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:04:31 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:04:32 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:04:32 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:04:32 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:04:33 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:04:33 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:04:33 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:04:33 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 14:04:34 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:04:34 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:04:34 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:04:35 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:04:35 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:04:36 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:04:37 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:04:37 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:04:37 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:04:37 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 14:04:37 /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] 14:04:37 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 14:04:37 | ^~~~~~~~~~~~~ 14:04:37 | | 14:04:37 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 14:04:37 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:04:37 /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 *)' 14:04:37 2714 | MHD_KeyValueIterator iterator, 14:04:37 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 14:04:37 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 14:04:37 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:04:37 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 14:04:37 | ^~~~~~~~~~~~ 14:04:37 | | 14:04:37 | 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 **)} 14:04:37 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:04:37 /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 **)'} 14:04:37 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:04:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:04:37 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:04:37 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 14:04:37 | ^~~~~~~~~~~~ 14:04:37 | | 14:04:37 | 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 **)} 14:04:37 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:04:37 /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 **)'} 14:04:37 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:04:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:04:37 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:04:39 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:04:39 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:04:39 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:04:40 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:04:40 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:04:41 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:04:41 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:04:42 [ 76%] Linking C shared library libcsdk.so 14:04:42 [ 76%] Built target csdk 14:04:42 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:04:42 [ 79%] Linking C executable template 14:04:43 [ 79%] Built target template 14:04:43 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:04:43 [ 82%] Linking C executable device-counter 14:04:43 [ 82%] Built target device-counter 14:04:43 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:04:43 [ 85%] Linking C executable device-random 14:04:44 [ 85%] Built target device-random 14:04:44 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:04:44 [ 88%] Linking C executable device-gyro 14:04:44 [ 88%] Built target device-gyro 14:04:44 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:04:44 [ 91%] Linking C executable device-bitfields 14:04:45 [ 91%] Built target device-bitfields 14:04:45 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:04:45 [ 94%] Linking C executable template-discovery 14:04:45 [ 94%] Built target template-discovery 14:04:45 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:04:46 [ 97%] Linking C executable device-file 14:04:46 [ 97%] Built target device-file 14:04:46 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:04:46 [100%] Linking C executable device-terminal 14:04:47 [100%] Built target device-terminal 14:04:47 make: Entering directory '/tmp/sdk/build/release' 14:04:47 make[1]: Entering directory '/tmp/sdk/build/release' 14:04:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:04:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:04:47 [ 76%] Built target csdk 14:04:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:04:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:04:47 [ 79%] Built target template 14:04:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:04:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:04:47 [ 82%] Built target device-counter 14:04:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:04:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:04:47 [ 85%] Built target device-random 14:04:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:04:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:04:47 [ 88%] Built target device-gyro 14:04:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:04:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:04:47 [ 91%] Built target device-bitfields 14:04:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:04:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:04:47 [ 94%] Built target template-discovery 14:04:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:04:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:04:47 [ 97%] Built target device-file 14:04:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:04:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:04:47 [100%] Built target device-terminal 14:04:47 make[1]: Leaving directory '/tmp/sdk/build/release' 14:04:47 Install the project... 14:04:47 -- Install configuration: "Release" 14:04:47 -- Installing: /usr/local/lib/libcsdk.so 14:04:47 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:04:47 -- Up-to-date: /usr/local/include 14:04:47 -- Installing: /usr/local/include/edgex 14:04:47 -- Installing: /usr/local/include/edgex/edgex-base.h 14:04:47 -- Installing: /usr/local/include/edgex/devices.h 14:04:47 -- Installing: /usr/local/include/edgex/rest-server.h 14:04:47 -- Installing: /usr/local/include/edgex/profiles.h 14:04:47 -- Installing: /usr/local/include/edgex/edgex.h 14:04:47 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:04:47 -- Installing: /usr/local/include/devsdk 14:04:47 -- Installing: /usr/local/include/devsdk/devsdk.h 14:04:47 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:04:47 -- Installing: /usr/local/include/iot 14:04:47 -- Installing: /usr/local/include/iot/data.h 14:04:47 -- Installing: /usr/local/include/iot/config.h 14:04:47 -- Installing: /usr/local/include/iot/container.h 14:04:47 -- Installing: /usr/local/include/iot/typecode.h 14:04:47 -- Installing: /usr/local/include/iot/thread.h 14:04:47 -- Installing: /usr/local/include/iot/hash.h 14:04:47 -- Installing: /usr/local/include/iot/iot.h 14:04:47 -- Installing: /usr/local/include/iot/defs.h 14:04:47 -- Installing: /usr/local/include/iot/uuid.h 14:04:47 -- Installing: /usr/local/include/iot/component.h 14:04:47 -- Installing: /usr/local/include/iot/threadpool.h 14:04:47 -- Installing: /usr/local/include/iot/time.h 14:04:47 -- Installing: /usr/local/include/iot/logger.h 14:04:47 -- Installing: /usr/local/include/iot/os 14:04:47 -- Installing: /usr/local/include/iot/os/zephyr.h 14:04:47 -- Installing: /usr/local/include/iot/os/macos.h 14:04:47 -- Installing: /usr/local/include/iot/os/linux.h 14:04:47 -- Installing: /usr/local/include/iot/json.h 14:04:47 -- Installing: /usr/local/include/iot/scheduler.h 14:04:47 -- Installing: /usr/local/include/iot/base64.h 14:04:47 -- Installing: /usr/local/include/iot/os.h 14:04:47 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:04:47 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:04:47 make: Leaving directory '/tmp/sdk/build/release' 14:04:49 Removing intermediate container 8dd0e00cc69f 14:04:49 ---> 44599ef91a83 14:04:49 Step 16/24 : FROM ${BASE} 14:04:49 ---> b6d714ea7bf2 14:04:49 Step 17/24 : LABEL maintainer="IOTech " 14:04:49 ---> Running in 7381ebb54a29 14:04:50 Removing intermediate container 7381ebb54a29 14:04:50 ---> b72be1aa385f 14:04:50 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 14:04:50 ---> Running in 50a44676db31 14:04:51 Connecting to iotech.jfrog.io (54.170.66.44:443) 14:04:51 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:04:51 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:04:51 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:04:52 Removing intermediate container 50a44676db31 14:04:52 ---> d59a7cea573e 14:04:52 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 14:04:52 ---> Running in 95d97ef36b11 14:04:54 Removing intermediate container 95d97ef36b11 14:04:54 ---> 7cd12f93ffa8 14:04:54 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 14:04:54 ---> Running in e3ce7557058a 14:04:55 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:04:56 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:04:56 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 14:04:57 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:04:57 (1/7) Installing curl (7.79.1-r0) 14:04:57 (2/7) Installing hiredis (1.0.0-r0) 14:04:57 (3/7) Installing hiredis-dev (1.0.0-r0) 14:04:57 (4/7) Installing libuuid (2.37.2-r0) 14:04:57 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 14:04:58 (6/7) Installing libidn2 (2.3.1-r0) 14:04:58 (7/7) Installing wget (1.21.1-r1) 14:04:58 Executing busybox-1.33.1-r3.trigger 14:04:58 OK: 276 MiB in 84 packages 14:04:59 Removing intermediate container e3ce7557058a 14:04:59 ---> af9aaf5f3828 14:04:59 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:05:00 ---> 3f68b7737da3 14:05:00 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:05:01 ---> 984a6dabd154 14:05:01 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 14:05:01 ---> 4cbc2ee629ff 14:05:01 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:05:02 ---> 5ed5bedfcffc 14:05:02 Successfully built 5ed5bedfcffc 14:05:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:05:02 + docker inspect -f . ci-base-image-arm64 14:05:02 . [Pipeline] withDockerContainer 14:05:03 prd-ubuntu18.04-docker-arm64-4c-16g-4436 does not seem to be running inside a container 14:05:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/17 -v /w/workspace/device-sdk-c/17:/w/workspace/device-sdk-c/17:rw,z -v /w/workspace/device-sdk-c/17@tmp:/w/workspace/device-sdk-c/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:05:04 $ docker top 1d520ba3e3832140f0b75bc1556994190bae2a302e36e902d675cdb9fba6eb97 -eo pid,comm [Pipeline] { [Pipeline] sh 14:05:05 + make test 14:05:05 echo "make test" 14:05:05 make test [Pipeline] } 14:05:05 $ docker stop --time=1 1d520ba3e3832140f0b75bc1556994190bae2a302e36e902d675cdb9fba6eb97 14:05:07 $ docker rm -f 1d520ba3e3832140f0b75bc1556994190bae2a302e36e902d675cdb9fba6eb97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:05:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:05:07 + ls -al . 14:05:07 total 200 14:05:07 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 14:01 . 14:05:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 14:01 .. 14:05:07 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 14:01 .git 14:05:07 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 14:01 .github 14:05:07 -rw-rw-r-- 1 jenkins jenkins 176 Feb 2 14:01 .gitignore 14:05:07 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 2 14:01 Attribution.txt 14:05:07 -rw-rw-r-- 1 jenkins jenkins 7880 Feb 2 14:01 CHANGES 14:05:07 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 2 14:01 Doxyfile 14:05:07 -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 14:01 GOVERNANCE.md 14:05:07 -rw-rw-r-- 1 jenkins jenkins 784 Feb 2 14:01 Jenkinsfile 14:05:07 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 2 14:01 LICENSE 14:05:07 -rw-rw-r-- 1 jenkins jenkins 444 Feb 2 14:01 Makefile 14:05:07 -rw-rw-r-- 1 jenkins jenkins 618 Feb 2 14:01 OWNERS.md 14:05:07 -rw-rw-r-- 1 jenkins jenkins 4086 Feb 2 14:01 README.md 14:05:07 -rw-rw-r-- 1 jenkins jenkins 7422 Feb 2 14:01 README.v2.md 14:05:07 -rw-rw-r-- 1 jenkins jenkins 11 Feb 2 14:00 VERSION 14:05:07 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 14:01 docs 14:05:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 14:01 include 14:05:07 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 14:01 scripts 14:05:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 14:01 src [Pipeline] isUnix [Pipeline] sh 14:05:08 + 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=14d3a6bdd029748f665c10001c42d1af5d609c98 --label arch=arm64 --label version=2.2.0-dev.3 . 14:05:08 Sending build context to Docker daemon 2.719MB 14:05:08 Step 1/17 : ARG BASE=alpine:3.14 14:05:08 Step 2/17 : FROM ${BASE} 14:05:08 ---> 5ed5bedfcffc 14:05:08 Step 3/17 : LABEL maintainer="IOTech " 14:05:08 ---> Running in d5f426c782d5 14:05:09 Removing intermediate container d5f426c782d5 14:05:09 ---> e0465a2fa214 14:05:09 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 14:05:09 ---> Running in 17683e7ee3b0 14:05:10 --2022-02-02 14:05:09-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 14:05:10 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.72.115.12, 54.195.244.87, 54.74.239.58, ... 14:05:10 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.72.115.12|:443... connected. 14:05:10 HTTP request sent, awaiting response... 200 OK 14:05:10 Length: unspecified [application/json] 14:05:10 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 14:05:10 14:05:10 0K    48.9M=0s 14:05:10 14:05:10 2022-02-02 14:05:10 (48.9 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 14:05:10 14:05:11 Removing intermediate container 17683e7ee3b0 14:05:11 ---> 8027aafde778 14:05:11 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 14:05:11 ---> Running in efb94ab700d2 14:05:12 Removing intermediate container efb94ab700d2 14:05:12 ---> 56fd7097ada0 14:05: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 14:05:13 ---> Running in f1087dfe39e5 14:05:14 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:05:15 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:05:15 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 14:05:15 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:05:15 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 14:05:16 (2/21) Installing libblkid (2.37.2-r0) 14:05:16 (3/21) Installing blkid (2.37.2-r0) 14:05:16 (4/21) Installing libcap-ng (0.8.2-r0) 14:05:16 (5/21) Installing setpriv (2.37.2-r0) 14:05:16 (6/21) Installing libmount (2.37.2-r0) 14:05:16 (7/21) Installing libsmartcols (2.37.2-r0) 14:05:16 (8/21) Installing findmnt (2.37.2-r0) 14:05:16 (9/21) Installing mcookie (2.37.2-r0) 14:05:16 (10/21) Installing hexdump (2.37.2-r0) 14:05:17 (11/21) Installing lsblk (2.37.2-r0) 14:05:17 (12/21) Installing libfdisk (2.37.2-r0) 14:05:17 (13/21) Installing sfdisk (2.37.2-r0) 14:05:17 (14/21) Installing cfdisk (2.37.2-r0) 14:05:17 (15/21) Installing partx (2.37.2-r0) 14:05:17 (16/21) Installing flock (2.37.2-r0) 14:05:17 (17/21) Installing logger (2.37.2-r0) 14:05:17 (18/21) Installing uuidgen (2.37.2-r0) 14:05:17 (19/21) Installing libeconf (0.3.8-r1) 14:05:17 (20/21) Installing util-linux (2.37.2-r0) 14:05:18 (21/21) Installing util-linux-dev (2.37.2-r0) 14:05:18 Executing busybox-1.33.1-r3.trigger 14:05:18 OK: 286 MiB in 105 packages 14:05:19 Removing intermediate container f1087dfe39e5 14:05:19 ---> 32a02b507504 14:05:19 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:05:20 ---> afcba734f021 14:05:20 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:05:20 ---> dba00548ce17 14:05:20 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:05:21 ---> cb82d98c8aa2 14:05:21 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:05:21 ---> fe109eb3c6d8 14:05:21 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:05:22 ---> 510fc2d1b44b 14:05:22 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:05:23 ---> d18f1eb34402 14:05:23 Step 13/17 : WORKDIR /edgex-c-sdk 14:05:23 ---> Running in 897196eb5ab1 14:05:23 Removing intermediate container 897196eb5ab1 14:05:23 ---> 1c354a9baae6 14:05:23 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:05:23 ---> Running in 4c6ccdb7696d 14:05:24 Removing intermediate container 4c6ccdb7696d 14:05:24 ---> d48d34892706 14:05:24 Step 15/17 : LABEL arch=arm64 14:05:24 ---> Running in 59cff3a32889 14:05:24 Removing intermediate container 59cff3a32889 14:05:24 ---> 1ae2416e5772 14:05:24 Step 16/17 : LABEL git_sha=14d3a6bdd029748f665c10001c42d1af5d609c98 14:05:24 ---> Running in 39054f13b888 14:05:25 Removing intermediate container 39054f13b888 14:05:25 ---> 3c6c54f22890 14:05:25 Step 17/17 : LABEL version=2.2.0-dev.3 14:05:25 ---> Running in f0680bff0893 14:05:25 Removing intermediate container f0680bff0893 14:05:25 ---> b844cc50daab 14:05:25 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:05:25 Successfully built b844cc50daab 14:05: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 14:05:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:05:26 14:05:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:05:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:05:26 arm64: Pulling from edgex-lftools-log-publisher 14:05:26 448f6bf000e3: Pulling fs layer 14:05:26 f757da607395: Pulling fs layer 14:05:26 05883995daec: Pulling fs layer 14:05:26 8603b9c90790: Pulling fs layer 14:05:26 1560dd03e051: Pulling fs layer 14:05:26 27f5ce0e4adf: Pulling fs layer 14:05:26 c2d8d7efcc4b: Pulling fs layer 14:05:26 27f5ce0e4adf: Waiting 14:05:26 c2d8d7efcc4b: Waiting 14:05:26 8603b9c90790: Waiting 14:05:26 1560dd03e051: Waiting 14:05:26 f757da607395: Verifying Checksum 14:05:26 f757da607395: Download complete 14:05:26 8603b9c90790: Verifying Checksum 14:05:26 8603b9c90790: Download complete 14:05:26 1560dd03e051: Verifying Checksum 14:05:26 1560dd03e051: Download complete 14:05:26 27f5ce0e4adf: Verifying Checksum 14:05:26 27f5ce0e4adf: Download complete 14:05:26 05883995daec: Verifying Checksum 14:05:26 05883995daec: Download complete 14:05:27 448f6bf000e3: Verifying Checksum 14:05:27 448f6bf000e3: Download complete 14:05:29 c2d8d7efcc4b: Verifying Checksum 14:05:29 c2d8d7efcc4b: Download complete 14:05:30 448f6bf000e3: Pull complete 14:05:31 f757da607395: Pull complete 14:05:32 05883995daec: Pull complete 14:05:33 8603b9c90790: Pull complete 14:05:34 1560dd03e051: Pull complete 14:05:34 27f5ce0e4adf: Pull complete 14:05:49 c2d8d7efcc4b: Pull complete 14:05:49 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 14:05:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:05:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:05:49 prd-ubuntu18.04-docker-arm64-4c-16g-4436 does not seem to be running inside a container 14:05:49 $ 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/17 -v /w/workspace/device-sdk-c/17:/w/workspace/device-sdk-c/17:rw,z -v /w/workspace/device-sdk-c/17@tmp:/w/workspace/device-sdk-c/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:05:51 $ docker top 37698ac20a97e88d23b3847fc74072e4c567d674c727caaa610c3f8117809564 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:05:52 ---> job-cost.sh 14:05:52 lf-activate-venv: SKIPPING 14:05:52 INFO: No Stack... 14:05:53 INFO: Retrieving Pricing Info for: v3-standard-4 14:05:53 INFO: Archiving Costs [Pipeline] sh 14:05:54 + cat /w/workspace/device-sdk-c/17/archives/cost.csv 14:05:54 + cut -d, -f6 [Pipeline] lock 14:05:54 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-17-stack-cost] 14:05:54 Resource [jenkins-edgexfoundry-device-sdk-c-main-17-stack-cost] did not exist. Created. 14:05:54 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:05:54 /w/workspace/device-sdk-c/17@tmp/durable-f73a2c92/script.sh: 1: /w/workspace/device-sdk-c/17@tmp/durable-f73a2c92/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 14:05:55 + echo total: 0.10999999940395355 [Pipeline] stash 14:05:55 Warning: overwriting stash ‘stack-cost’ 14:05:55 Stashed 1 file(s) [Pipeline] } 14:05:55 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-17-stack-cost] [Pipeline] // lock [Pipeline] } 14:05:55 $ docker stop --time=1 37698ac20a97e88d23b3847fc74072e4c567d674c727caaa610c3f8117809564 14:05:57 $ docker rm -f 37698ac20a97e88d23b3847fc74072e4c567d674c727caaa610c3f8117809564 [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh 14:05:58 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:05:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:05:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:05:58 . [Pipeline] withDockerContainer 14:05:58 prd-centos7-docker-4c-2g-4435 does not seem to be running inside a container 14:05:58 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:05:58 $ docker top 0bacfaae53fb0ec918a19159ded2f9f9a13b6bb8f8d206be86f1ad891fd46f64 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:05:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:05:59 [ssh-agent] Looking for ssh-agent implementation... 14:05:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:05:59 $ docker exec 0bacfaae53fb0ec918a19159ded2f9f9a13b6bb8f8d206be86f1ad891fd46f64 ssh-agent 14:05:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlKocgP/agent.14 14:05:59 SSH_AGENT_PID=20 14:05:59 Running ssh-add (command line suppressed) 14:05:59 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5819973089753786306.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5819973089753786306.key) 14:05:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:05:59 + git semver tag 14:05:59 # -> Open(): unable to determine branch for HEAD 14:05:59 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 14:05:59 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 14:05:59 # $SEMVER_REMOTE_NAME = origin 14:05:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:05:59 # $SEMVER_USER_NAME = edgex-jenkins 14:05:59 # $SEMVER_BRANCH = main 14:05:59 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver 14:05:59 # 14d3a6bdd029748f665c10001c42d1af5d609c98 HEAD 14:05:59 # -> Force: false 14:05:59 # 5e55568222539d6f85e9230870715f7d13351971 refs/tags/v2.2.0-dev.3 [Pipeline] } 14:05:59 $ docker exec --env ******** --env ******** 0bacfaae53fb0ec918a19159ded2f9f9a13b6bb8f8d206be86f1ad891fd46f64 ssh-agent -k 14:05:59 unset SSH_AUTH_SOCK; 14:05:59 unset SSH_AGENT_PID; 14:05:59 echo Agent pid 20 killed; 14:05:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:06:00 + git semver [Pipeline] } 14:06:00 $ docker stop --time=1 0bacfaae53fb0ec918a19159ded2f9f9a13b6bb8f8d206be86f1ad891fd46f64 14:06:01 $ docker rm -f 0bacfaae53fb0ec918a19159ded2f9f9a13b6bb8f8d206be86f1ad891fd46f64 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 14:06:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:06:01 14:06:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 14:06:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:06:01 0.23.1-centos7: Pulling from edgex-lftools 14:06:01 ab5ef0e58194: Pulling fs layer 14:06:01 9712f1f96733: Pulling fs layer 14:06:01 63f879dbbcfc: Pulling fs layer 14:06:01 0d9ebad4ef96: Pulling fs layer 14:06:01 e9a5061849ea: Pulling fs layer 14:06:01 d747dcd14b5f: Pulling fs layer 14:06:01 2de7ff778b66: Pulling fs layer 14:06:01 e9a5061849ea: Waiting 14:06:01 d747dcd14b5f: Waiting 14:06:01 2de7ff778b66: Waiting 14:06:01 0d9ebad4ef96: Waiting 14:06:01 9712f1f96733: Verifying Checksum 14:06:01 9712f1f96733: Download complete 14:06:02 63f879dbbcfc: Verifying Checksum 14:06:02 63f879dbbcfc: Download complete 14:06:02 0d9ebad4ef96: Verifying Checksum 14:06:02 0d9ebad4ef96: Download complete 14:06:02 d747dcd14b5f: Verifying Checksum 14:06:02 d747dcd14b5f: Download complete 14:06:02 e9a5061849ea: Verifying Checksum 14:06:02 e9a5061849ea: Download complete 14:06:02 ab5ef0e58194: Verifying Checksum 14:06:02 ab5ef0e58194: Download complete 14:06:02 2de7ff778b66: Verifying Checksum 14:06:02 2de7ff778b66: Download complete 14:06:05 ab5ef0e58194: Pull complete 14:06:05 9712f1f96733: Pull complete 14:06:06 63f879dbbcfc: Pull complete 14:06:10 0d9ebad4ef96: Pull complete 14:06:10 e9a5061849ea: Pull complete 14:06:10 d747dcd14b5f: Pull complete 14:06:12 2de7ff778b66: Pull complete 14:06:12 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:06:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:06:12 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 14:06:12 prd-centos7-docker-4c-2g-4435 does not seem to be running inside a container 14:06:12 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:06:15 $ docker top bb2fe94963363c8c4442b6198d83f90a846926e650eaa8c30095aead64025cb5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:06:15 provisioning config files... 14:06:15 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7473925602000797601tmp 14:06:15 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2643817934731630836tmp 14:06:15 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2259884784206366853tmp [Pipeline] { [Pipeline] echo 14:06:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:06:15 ---> sigul-configuration.sh 14:06:15 gpg: directory `/root/.gnupg' created 14:06:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:06:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:06:15 gpg: keyring `/root/.gnupg/secring.gpg' created 14:06:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:06:15 gpg: CAST5 encrypted data 14:06:15 gpg: encrypted with 1 passphrase 14:06:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:06:16 + mkdir /home/jenkins 14:06:16 + mkdir /home/jenkins/sigul [Pipeline] sh 14:06:16 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 14:06:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:06:16 ---> sigul-install.sh 14:06:16 Sigul already installed; skipping installation. [Pipeline] sh 14:06:16 + git tag --list 14:06:16 0.7.0 14:06:16 0.7.1 14:06:16 1.0.0 14:06:16 v1.0.1 14:06:16 v1.0.2 14:06:16 v1.0.3 14:06:16 v1.1.0 14:06:16 v1.1.1 14:06:16 v1.2.0 14:06:16 v1.2.1 14:06:16 v1.2.2 14:06:16 v1.3.0 14:06:16 v1.3.1 14:06:16 v2.0.0 14:06:16 v2.0.1-dev.1 14:06:16 v2.0.1-dev.10 14:06:16 v2.0.1-dev.11 14:06:16 v2.0.1-dev.12 14:06:16 v2.0.1-dev.13 14:06:16 v2.0.1-dev.2 14:06:16 v2.0.1-dev.3 14:06:16 v2.0.1-dev.4 14:06:16 v2.0.1-dev.5 14:06:16 v2.0.1-dev.6 14:06:16 v2.0.1-dev.7 14:06:16 v2.0.1-dev.8 14:06:16 v2.0.1-dev.9 14:06:16 v2.1.0 14:06:16 v2.2.0-dev.1 14:06:16 v2.2.0-dev.2 14:06:16 v2.2.0-dev.3 [Pipeline] sh 14:06:17 + lftools sign git-tag v2.2.0-dev.3 14:06:17 Signing Git tag with Sigul... 14:06:17 Signing v2.2.0-dev.3 [Pipeline] echo 14:06:18 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:06:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:06:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:06:18 $ docker stop --time=1 bb2fe94963363c8c4442b6198d83f90a846926e650eaa8c30095aead64025cb5 14:06:19 $ docker rm -f bb2fe94963363c8c4442b6198d83f90a846926e650eaa8c30095aead64025cb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:06:20 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:06:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:06:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:06:20 . [Pipeline] withDockerContainer 14:06:20 prd-centos7-docker-4c-2g-4435 does not seem to be running inside a container 14:06:20 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:06:20 $ docker top 9150d5d2f11c3a7f8d88ca968d507ac1953c75746f67c2069937299df1dba569 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:06:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:06:20 [ssh-agent] Looking for ssh-agent implementation... 14:06:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:06:21 $ docker exec 9150d5d2f11c3a7f8d88ca968d507ac1953c75746f67c2069937299df1dba569 ssh-agent 14:06:21 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAcHeoo/agent.13 14:06:21 SSH_AGENT_PID=20 14:06:21 Running ssh-add (command line suppressed) 14:06:21 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8307779078021366873.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8307779078021366873.key) 14:06:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:06:21 + git semver bump pre 14:06:21 # -> Open(): unable to determine branch for HEAD 14:06:21 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 14:06:21 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 14:06:21 # $SEMVER_REMOTE_NAME = origin 14:06:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:06:21 # $SEMVER_USER_NAME = edgex-jenkins 14:06:21 # $SEMVER_BRANCH = main 14:06:21 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver 14:06:21 2.2.0-dev.4 [Pipeline] } 14:06:21 $ docker exec --env ******** --env ******** 9150d5d2f11c3a7f8d88ca968d507ac1953c75746f67c2069937299df1dba569 ssh-agent -k 14:06:21 unset SSH_AUTH_SOCK; 14:06:21 unset SSH_AGENT_PID; 14:06:21 echo Agent pid 20 killed; 14:06:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:06:21 + git semver [Pipeline] } 14:06:22 $ docker stop --time=1 9150d5d2f11c3a7f8d88ca968d507ac1953c75746f67c2069937299df1dba569 14:06:23 $ docker rm -f 9150d5d2f11c3a7f8d88ca968d507ac1953c75746f67c2069937299df1dba569 [Pipeline] // withDockerContainer [Pipeline] sh 14:06:23 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:06:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:06:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:06:23 . [Pipeline] withDockerContainer 14:06:23 prd-centos7-docker-4c-2g-4435 does not seem to be running inside a container 14:06:23 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:06:24 $ docker top ddeed7c044fc6a98802a7080efc09c2c3f3fa9a50553af6cea0b4a7a83a2a369 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:06:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:06:24 [ssh-agent] Looking for ssh-agent implementation... 14:06:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:06:24 $ docker exec ddeed7c044fc6a98802a7080efc09c2c3f3fa9a50553af6cea0b4a7a83a2a369 ssh-agent 14:06:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiknhlD/agent.13 14:06:24 SSH_AGENT_PID=20 14:06:24 Running ssh-add (command line suppressed) 14:06:24 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4381908668647965255.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4381908668647965255.key) 14:06:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:06:24 + git semver push 14:06:24 # -> Open(): unable to determine branch for HEAD 14:06:24 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 14:06:24 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 14:06:24 # $SEMVER_REMOTE_NAME = origin 14:06:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:06:24 # $SEMVER_USER_NAME = edgex-jenkins 14:06:24 # $SEMVER_BRANCH = main 14:06:24 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 14:06:26 $ docker exec --env ******** --env ******** ddeed7c044fc6a98802a7080efc09c2c3f3fa9a50553af6cea0b4a7a83a2a369 ssh-agent -k 14:06:27 unset SSH_AUTH_SOCK; 14:06:27 unset SSH_AGENT_PID; 14:06:27 echo Agent pid 20 killed; 14:06:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:06:27 + git semver [Pipeline] } 14:06:27 $ docker stop --time=1 ddeed7c044fc6a98802a7080efc09c2c3f3fa9a50553af6cea0b4a7a83a2a369 14:06:28 $ docker rm -f ddeed7c044fc6a98802a7080efc09c2c3f3fa9a50553af6cea0b4a7a83a2a369 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:06:29 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ']' 14:06:29 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 14:06:29 total 8 14:06:29 drwxr-xr-x. 3 root root 34 Feb 2 14:01 . 14:06:29 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 2 14:06 .. 14:06:29 drwxr-xr-x. 2 root root 6 Feb 2 14:01 cost 14:06:29 -rw-r--r--. 1 root root 82 Feb 2 14:01 cost.csv 14:06:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 14:06:29 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 14:06:29 total 8 14:06:29 drwxr-xr-x. 3 jenkins jenkins 34 Feb 2 14:01 . 14:06:29 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 2 14:06 .. 14:06:29 drwxr-xr-x. 2 jenkins jenkins 6 Feb 2 14:01 cost 14:06:29 -rw-r--r--. 1 jenkins jenkins 82 Feb 2 14:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:06:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:06:29 ---> package-listing.sh 14:06:29 ++ facter osfamily 14:06:29 ++ tr '[:upper:]' '[:lower:]' 14:06:30 + OS_FAMILY=redhat 14:06:30 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 14:06:30 + START_PACKAGES=/tmp/packages_start.txt 14:06:30 + END_PACKAGES=/tmp/packages_end.txt 14:06:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:06:30 + PACKAGES=/tmp/packages_start.txt 14:06:30 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 14:06:30 + PACKAGES=/tmp/packages_end.txt 14:06:30 + case "${OS_FAMILY}" in 14:06:30 + sort 14:06:30 + rpm -qa 14:06:30 + '[' -f /tmp/packages_start.txt ']' 14:06:30 + '[' -f /tmp/packages_end.txt ']' 14:06:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:06:30 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 14:06:30 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 14:06:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 14:06:30 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 14:06:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:06:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:06:31 . [Pipeline] withDockerContainer 14:06:31 prd-centos7-docker-4c-2g-4435 does not seem to be running inside a container 14:06:31 $ 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 14:06:31 $ docker top 71e9a7f0d9af824d1a79d3a94eead9071aae0ec3f56d46b084e5cde164ff0186 -eo pid,comm [Pipeline] { [Pipeline] sh 14:06:32 + touch /tmp/pre-build-complete [Pipeline] sh 14:06:32 + mkdir -p /var/log/sysstat [Pipeline] sh 14:06:32 + ls /var/log/sa-host 14:06:32 + sadf -c /var/log/sa-host/sa02 14:06:32 file_magic: OK 14:06:32 HZ: Using current value: 100 14:06:32 file_header: OK 14:06:32 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 14:06:32 Statistics: 14:06:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:06:32 File successfully converted to sysstat format version 12.0.3 14:06:32 + sadf -c /var/log/sa-host/sa17 14:06:32 file_magic: OK 14:06:32 HZ: Using current value: 100 14:06:32 file_header: OK 14:06:32 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 14:06:32 Statistics: 14:06:32 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:06:32 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:06:33 provisioning config files... 14:06:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1261758943897895272tmp [Pipeline] { [Pipeline] echo 14:06:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:06:33 ---> create-netrc.sh [Pipeline] } 14:06:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:06:33 ---> python-tools-install.sh [Pipeline] echo 14:06:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:06:34 ---> sudo-logs.sh 14:06:34 Archiving 'sudo' log.. 14:06:34 sudo: unable to resolve host prd-centos7-docker-4c-2g-4435.novalocal: Name or service not known 14:06:34 sudo: unable to resolve host prd-centos7-docker-4c-2g-4435.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 14:06:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:06:34 ---> job-cost.sh 14:06:34 lf-activate-venv: SKIPPING 14:06:34 DEBUG: total: 0.05999999865889549 14:06:34 INFO: Retrieving Stack Cost... 14:06:34 INFO: Retrieving Pricing Info for: v3-standard-2 14:06:34 INFO: Archiving Costs [Pipeline] echo 14:06:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:06:35 ---> logs-deploy.sh 14:06:35 lf-activate-venv: SKIPPING 14:06:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/17 14:06:35 INFO: archiving workspace using pattern(s): 14:06:35 Archives upload complete. 14:06:35 INFO: archiving logs to Nexus