Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 48c08245ad9168b435c5e70f99b42d590e34b603 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-ssh10195761921889380062.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-ssh7128818752850597058.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-ssh11253446850951041238.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-ssh7613491748073651127.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-ssh11357475464714903460.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-5782 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-ssh8481284840644517548.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 48c08245ad9168b435c5e70f99b42d590e34b603 (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 48c08245ad9168b435c5e70f99b42d590e34b603 # timeout=10 Commit message: "build(deps): bump Alpine to 3.15 (#401)" > git rev-list --no-walk 02161a6b4618232bfcf286377d256226a622bc2b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:23:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:23:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:23:06 ========================================================= 10:23:06 EdgeX Global Pipelines Version Info 10:23:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:23:08 ------------------- 10:23:08 stable info: 10:23:08 ------------------- 10:23:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:23:08 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 10:23:08 Message: update stable to v1.0.220 10:23:08 ------------------- 10:23:08 experimental info: 10:23:08 ------------------- 10:23:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:23:08 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 10:23:08 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:23:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48c08245ad9168b435c5e70f99b42d590e34b603 [Pipeline] echo 10:23:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 48c0824 [Pipeline] echo 10:23:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:23:09 provisioning config files... 10:23:09 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2679666137696643368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:23:09 ---> docker-login.sh 10:23:09 nexus3.edgexfoundry.org:10001 10:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:09 Configure a credential helper to remove this warning. See 10:23:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:09 10:23:09 Login Succeeded 10:23:09 nexus3.edgexfoundry.org:10002 10:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:09 Configure a credential helper to remove this warning. See 10:23:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:09 10:23:09 Login Succeeded 10:23:09 nexus3.edgexfoundry.org:10003 10:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:09 Configure a credential helper to remove this warning. See 10:23:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:09 10:23:09 Login Succeeded 10:23:09 nexus3.edgexfoundry.org:10004 10:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:09 Configure a credential helper to remove this warning. See 10:23:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:09 10:23:09 Login Succeeded 10:23:09 docker.io 10:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:10 Configure a credential helper to remove this warning. See 10:23:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:10 10:23:10 Login Succeeded 10:23:10 ---> docker-login.sh ends [Pipeline] } 10:23:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 10:23:10 + git rev-list -1 --merges 48c08245ad9168b435c5e70f99b42d590e34b603~1..48c08245ad9168b435c5e70f99b42d590e34b603 [Pipeline] echo 10:23:10 -----------> git rev-list -1 --merges 48c08245ad9168b435c5e70f99b42d590e34b603~1..48c08245ad9168b435c5e70f99b42d590e34b603 48c08245ad9168b435c5e70f99b42d590e34b603 [false] [Pipeline] sh 10:23:11 + git log --format=format:%s -1 48c08245ad9168b435c5e70f99b42d590e34b603 [Pipeline] echo 10:23:11 ========================================================= 10:23:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:23:11 ========================================================= 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 10:23:11 + git rev-list -1 --merges 48c08245ad9168b435c5e70f99b42d590e34b603~1..48c08245ad9168b435c5e70f99b42d590e34b603 [Pipeline] echo 10:23:11 -----------> git rev-list -1 --merges 48c08245ad9168b435c5e70f99b42d590e34b603~1..48c08245ad9168b435c5e70f99b42d590e34b603 48c08245ad9168b435c5e70f99b42d590e34b603 [false] [Pipeline] sh 10:23:11 + git log --format=format:%s -1 48c08245ad9168b435c5e70f99b42d590e34b603 [Pipeline] echo 10:23:11 ========================================================= 10:23:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:23:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 10:23:12 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 10:23:12 + grep -v github /etc/ssh/ssh_known_hosts 10:23:12 + '[' -e /tmp/ssh_known_hosts ']' 10:23:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:23:12 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 10:23:12 + sudo tee -a /etc/ssh/ssh_known_hosts 10:23:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:23:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:23:12 10:23:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:23:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:23:13 latest: Pulling from edgex-devops/git-semver 10:23:13 a0d0a0d46f8b: Pulling fs layer 10:23:13 3e5f54012d9b: Pulling fs layer 10:23:13 4c7163046ea9: Pulling fs layer 10:23:13 0c2d73faf560: Pulling fs layer 10:23:13 0c2d73faf560: Waiting 10:23:13 3e5f54012d9b: Verifying Checksum 10:23:13 3e5f54012d9b: Download complete 10:23:13 a0d0a0d46f8b: Verifying Checksum 10:23:13 a0d0a0d46f8b: Download complete 10:23:13 4c7163046ea9: Verifying Checksum 10:23:13 4c7163046ea9: Download complete 10:23:13 0c2d73faf560: Verifying Checksum 10:23:13 0c2d73faf560: Download complete 10:23:13 a0d0a0d46f8b: Pull complete 10:23:13 3e5f54012d9b: Pull complete 10:23:14 4c7163046ea9: Pull complete 10:23:14 0c2d73faf560: Pull complete 10:23:14 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 10:23:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:23:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:23:14 prd-centos7-docker-4c-2g-5782 does not seem to be running inside a container 10:23:14 $ 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 10:23:14 $ docker top 260be32798c01984f3bb59e2b0f11d1697e0cedcfd58ab6a89def2f29345bf2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:23:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:23:15 [ssh-agent] Looking for ssh-agent implementation... 10:23:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:23:15 $ docker exec 260be32798c01984f3bb59e2b0f11d1697e0cedcfd58ab6a89def2f29345bf2d ssh-agent 10:23:15 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLBmMNM/agent.15 10:23:15 SSH_AGENT_PID=21 10:23:15 Running ssh-add (command line suppressed) 10:23:15 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4374542636004153968.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4374542636004153968.key) 10:23:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:23:15 + git tag --points-at HEAD [Pipeline] } 10:23:15 $ docker exec --env ******** --env ******** 260be32798c01984f3bb59e2b0f11d1697e0cedcfd58ab6a89def2f29345bf2d ssh-agent -k 10:23:15 unset SSH_AUTH_SOCK; 10:23:15 unset SSH_AGENT_PID; 10:23:15 echo Agent pid 21 killed; 10:23:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:23:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:23:15 [ssh-agent] Looking for ssh-agent implementation... 10:23:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:23:15 $ docker exec 260be32798c01984f3bb59e2b0f11d1697e0cedcfd58ab6a89def2f29345bf2d ssh-agent 10:23:16 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmhmApo/agent.54 10:23:16 SSH_AGENT_PID=60 10:23:16 Running ssh-add (command line suppressed) 10:23:16 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7484961888437679012.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7484961888437679012.key) 10:23:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:23:16 + git semver init 10:23:16 # -> Open(): unable to determine branch for HEAD 10:23:16 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 10:23:16 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 10:23:16 # $SEMVER_REMOTE_NAME = origin 10:23:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:23:16 # $SEMVER_USER_NAME = edgex-jenkins 10:23:16 # $SEMVER_BRANCH = main 10:23:16 # $SEMVER_TEMP = /tmp/semver-374409951 10:23:16 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 10:23:17 # '/tmp/semver-374409951' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' 10:23:17 # -> Force: false 10:23:17 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 10:23:17 $ docker exec --env ******** --env ******** 260be32798c01984f3bb59e2b0f11d1697e0cedcfd58ab6a89def2f29345bf2d ssh-agent -k 10:23:17 unset SSH_AUTH_SOCK; 10:23:17 unset SSH_AGENT_PID; 10:23:17 echo Agent pid 60 killed; 10:23:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:23:17 + git semver [Pipeline] } 10:23:17 $ docker stop --time=1 260be32798c01984f3bb59e2b0f11d1697e0cedcfd58ab6a89def2f29345bf2d 10:23:19 $ docker rm -f 260be32798c01984f3bb59e2b0f11d1697e0cedcfd58ab6a89def2f29345bf2d [Pipeline] // withDockerContainer [Pipeline] sh 10:23:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:23:19 Stashed 1 file(s) [Pipeline] echo 10:23:19 [edgeXSemver]: initialized semver on version 2.2.0-dev.4 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:23:19 provisioning config files... 10:23:19 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4422984638254233936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:23:20 ---> docker-login.sh 10:23:20 nexus3.edgexfoundry.org:10001 10:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:20 Configure a credential helper to remove this warning. See 10:23:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:20 10:23:20 Login Succeeded 10:23:20 nexus3.edgexfoundry.org:10002 10:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:20 Configure a credential helper to remove this warning. See 10:23:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:20 10:23:20 Login Succeeded 10:23:20 nexus3.edgexfoundry.org:10003 10:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:20 Configure a credential helper to remove this warning. See 10:23:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:20 10:23:20 Login Succeeded 10:23:20 nexus3.edgexfoundry.org:10004 10:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:20 Configure a credential helper to remove this warning. See 10:23:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:20 10:23:20 Login Succeeded 10:23:20 docker.io 10:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:20 Configure a credential helper to remove this warning. See 10:23:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:20 10:23:20 Login Succeeded 10:23:20 ---> docker-login.sh ends [Pipeline] } 10:23:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:23:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:23:20 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 10:23:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:23:21 ========================================================= 10:23:21 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 10:23:21 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:23:21 + 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 . 10:23:21 Sending build context to Docker daemon 4.478MB 10:23:21 Step 1/22 : ARG BASE=alpine:3.15 10:23:21 Step 2/22 : FROM ${BASE} as builder 10:23:21 latest: Pulling from edgex-devops/edgex-gcc-base 10:23:21 59bf1c3509f3: Pulling fs layer 10:23:21 c743a93c8381: Pulling fs layer 10:23:21 a2ad9f71ba65: Pulling fs layer 10:23:21 c743a93c8381: Verifying Checksum 10:23:21 c743a93c8381: Download complete 10:23:21 59bf1c3509f3: Verifying Checksum 10:23:21 59bf1c3509f3: Download complete 10:23:21 59bf1c3509f3: Pull complete 10:23:21 c743a93c8381: Pull complete 10:23:22 a2ad9f71ba65: Download complete 10:23:25 a2ad9f71ba65: Pull complete 10:23:25 Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 10:23:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 10:23:25 ---> c9e13ccc37c5 10:23:25 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:23:25 ---> Running in a9db2a8b2344 10:23:26 Connecting to iotech.jfrog.io (34.243.182.113:443) 10:23:26 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:23:26 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:23:26 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:23:26 Removing intermediate container a9db2a8b2344 10:23:26 ---> fc39d3d624e8 10:23:26 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:23:27 ---> Running in 67c875cd2eda 10:23:27 Removing intermediate container 67c875cd2eda 10:23:27 ---> 6c5ce23591cd 10:23:27 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev 10:23:27 ---> Running in 9c83944fc118 10:23:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:23:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:23:29 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 10:23:29 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:23:29 (1/31) Installing hiredis (1.0.2-r0) 10:23:29 (2/31) Installing hiredis-dev (1.0.2-r0) 10:23:29 (3/31) Installing libcbor (0.8.0-r0) 10:23:29 (4/31) Installing libcbor-dev (0.8.0-r0) 10:23:29 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 10:23:29 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 10:23:30 (7/31) Installing util-linux (2.37.4-r0) 10:23:30 (8/31) Installing libblkid (2.37.4-r0) 10:23:31 (9/31) Installing libeconf (0.4.2-r0) 10:23:31 (10/31) Installing libuuid (2.37.4-r0) 10:23:31 (11/31) Installing libfdisk (2.37.4-r0) 10:23:31 (12/31) Installing libmount (2.37.4-r0) 10:23:31 (13/31) Installing libsmartcols (2.37.4-r0) 10:23:31 (14/31) Installing util-linux-misc (2.37.4-r0) 10:23:31 (15/31) Installing linux-pam (1.5.2-r0) 10:23:32 (16/31) Installing runuser (2.37.4-r0) 10:23:32 (17/31) Installing hexdump (2.37.4-r0) 10:23:32 (18/31) Installing uuidgen (2.37.4-r0) 10:23:32 (19/31) Installing blkid (2.37.4-r0) 10:23:32 (20/31) Installing sfdisk (2.37.4-r0) 10:23:32 (21/31) Installing mcookie (2.37.4-r0) 10:23:32 (22/31) Installing wipefs (2.37.4-r0) 10:23:32 (23/31) Installing cfdisk (2.37.4-r0) 10:23:32 (24/31) Installing flock (2.37.4-r0) 10:23:32 (25/31) Installing lsblk (2.37.4-r0) 10:23:32 (26/31) Installing libcap-ng (0.8.2-r1) 10:23:32 (27/31) Installing setpriv (2.37.4-r0) 10:23:33 (28/31) Installing logger (2.37.4-r0) 10:23:33 (29/31) Installing partx (2.37.4-r0) 10:23:33 (30/31) Installing findmnt (2.37.4-r0) 10:23:33 (31/31) Installing util-linux-dev (2.37.4-r0) 10:23:33 Executing busybox-1.34.1-r3.trigger 10:23:33 OK: 293 MiB in 108 packages 10:23:34 Removing intermediate container 9c83944fc118 10:23:34 ---> ab8c08f4358b 10:23:34 Step 6/22 : RUN mkdir /tmp/sdk 10:23:34 ---> Running in a2df5ae8002b 10:23:34 Removing intermediate container a2df5ae8002b 10:23:34 ---> 073af284cb2d 10:23:34 Step 7/22 : COPY VERSION /tmp/sdk 10:23:34 ---> 833f66d80c4d 10:23:34 Step 8/22 : COPY src /tmp/sdk/src 10:23:34 Still waiting to schedule task 10:23:34 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 10:23:34 ---> 4ddb2e309958 10:23:34 Step 9/22 : COPY include /tmp/sdk/include 10:23:35 ---> 4ff94a1f8191 10:23:35 Step 10/22 : COPY scripts /tmp/sdk/scripts 10:23:35 ---> d0b1572fff59 10:23:35 Step 11/22 : COPY LICENSE /tmp/sdk 10:23:35 ---> 5bcefe6a6b77 10:23:35 Step 12/22 : COPY Attribution.txt /tmp/sdk 10:23:35 ---> c2addce7b503 10:23:35 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:23:35 ---> Running in 5a7c0e32c3ef 10:23:35 + CPPCHECK=false 10:23:35 + DOCGEN=false 10:23:35 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:23:35 + TOMLVER=SDK-0.2 10:23:35 + CUTILVER=1.2.2 10:23:35 + '[' 0 -gt 0 ] 10:23:35 + readlink -f ./scripts/build.sh 10:23:35 + dirname /tmp/sdk/scripts/build.sh 10:23:35 + dirname /tmp/sdk/scripts 10:23:35 + ROOT=/tmp/sdk 10:23:35 + cd /tmp/sdk 10:23:35 + '[' '!' -d deps ] 10:23:35 + mkdir deps 10:23:35 + + tar -C deps -z -x -f - 10:23:35 wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 10:23:35 Connecting to github.com (140.82.112.3:443) 10:23:35 Connecting to codeload.github.com (140.82.114.10:443) 10:23:36 writing to stdout 10:23:36 - 100% |********************************| 16451 0:00:00 ETA 10:23:36 written to stdout 10:23:36 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 10:23:36 + tar -C deps -z -x -f - 10:23:36 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 10:23:36 Connecting to github.com (140.82.112.3:443) 10:23:36 Connecting to codeload.github.com (140.82.114.10:443) 10:23:36 writing to stdout 10:23:36 - 100% |********************************| 189k 0:00:00 ETA 10:23:36 written to stdout 10:23:36 + mkdir -p src/c/iot 10:23:36 + 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 10:23:36 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 10:23:36 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 10:23:36 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 10:23:36 + mkdir -p include/iot 10:23:36 + 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 10:23:36 + mkdir -p include/iot/os 10:23:36 + 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 10:23:36 + mkdir -p /tmp/sdk/build/release 10:23:36 + cd /tmp/sdk/build/release 10:23:36 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:23:36 -- The C compiler identification is GNU 10.3.1 10:23:36 -- Detecting C compiler ABI info 10:23:36 -- Detecting C compiler ABI info - done 10:23:36 -- Check for working C compiler: /usr/bin/cc - skipped 10:23:36 -- Detecting C compile features 10:23:36 -- Detecting C compile features - done 10:23:36 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:23:36 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 10:23:36 -- Found LIBYAML: /usr/lib/libyaml.so 10:23:36 -- Found LIBUUID: /usr/lib/libuuid.so 10:23:36 -- Found LIBCBOR: /usr/lib/libcbor.so 10:23:36 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:23:36 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:23:36 -- C SDK 2.2.0-dev.4 for Linux 10:23:36 -- Performing Test CSDK_HAVE_ATOMIC 10:23:36 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:23:36 -- Found Curses: /usr/lib/libcurses.so 10:23:36 -- Configuring done 10:23:36 -- Generating done 10:23:36 -- Build files have been written to: /tmp/sdk/build/release 10:23:37 + make all package 10:23:37 + tee release.log 10:23:37 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:23:37 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:23:37 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:23:37 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:23:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:23:38 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:23:38 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:23:38 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:23:38 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:23:38 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:23:38 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:23:39 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:23:39 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:23:39 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:23:39 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:23:39 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:23:39 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:23:40 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:23:40 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 10:23:40 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:23:40 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:23:40 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:23:40 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:23:40 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:23:40 275 | const iot_component_factory_t * factory; 10:23:40 | ^~~~~~~ 10:23:40 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:23:41 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:23:41 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:23:41 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:23:41 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:23:41 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:23:41 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:23:41 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:23:41 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:23:42 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:23:42 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:23:42 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:23:42 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:23:42 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:23:42 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:23:42 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:23:43 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:23:43 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:23:44 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:23:44 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:23:44 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 10:23:44 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 10:23:44 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 10:23:44 | ^~~~~~~~~~~~~ 10:23:44 | | 10:23:44 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 10:23:44 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:23:44 /usr/include/microhttpd.h:2784: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 *)' 10:23:44 2784 | MHD_KeyValueIterator iterator, 10:23:44 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 10:23:44 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 10:23:44 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:23:44 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 10:23:44 | ^~~~~~~~~~~~ 10:23:44 | | 10:23:44 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 10:23:44 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:23:44 /usr/include/microhttpd.h:2480: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 **)'} 10:23:44 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:23:44 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:23:44 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:23:44 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 10:23:44 | ^~~~~~~~~~~~ 10:23:44 | | 10:23:44 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 10:23:44 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:23:44 /usr/include/microhttpd.h:2480: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 **)'} 10:23:44 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:23:44 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:23:44 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:23:44 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:23:44 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:23:44 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:23:44 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:23:45 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:23:46 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:23:46 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:23:46 [ 76%] Linking C shared library libcsdk.so 10:23:46 [ 76%] Built target csdk 10:23:46 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:23:46 [ 79%] Linking C executable template 10:23:46 [ 79%] Built target template 10:23:46 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:23:46 [ 82%] Linking C executable device-counter 10:23:46 [ 82%] Built target device-counter 10:23:46 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:23:47 [ 85%] Linking C executable device-random 10:23:47 [ 85%] Built target device-random 10:23:47 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:23:47 [ 88%] Linking C executable device-gyro 10:23:47 [ 88%] Built target device-gyro 10:23:47 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:23:47 [ 91%] Linking C executable device-bitfields 10:23:47 [ 91%] Built target device-bitfields 10:23:47 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:23:47 [ 94%] Linking C executable template-discovery 10:23:47 [ 94%] Built target template-discovery 10:23:47 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:23:47 [ 97%] Linking C executable device-file 10:23:47 [ 97%] Built target device-file 10:23:47 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:23:47 [100%] Linking C executable device-terminal 10:23:47 [100%] Built target device-terminal 10:23:47 Run CPack packaging tool... 10:23:48 CPack: Create package using TGZ 10:23:48 CPack: Install projects 10:23:48 CPack: - Run preinstall target for: Csdk 10:23:48 CPack: - Install project: Csdk [] 10:23:48 CPack: Create package 10:23:48 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.4.tar.gz generated. 10:23:48 + '[' false '=' true ] 10:23:48 + '[' false '=' true ] 10:23:48 + mkdir -p /tmp/sdk/build/debug 10:23:48 + cd /tmp/sdk/build/debug 10:23:48 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:23:48 -- The C compiler identification is GNU 10.3.1 10:23:48 -- Detecting C compiler ABI info 10:23:48 -- Detecting C compiler ABI info - done 10:23:48 -- Check for working C compiler: /usr/bin/cc - skipped 10:23:48 -- Detecting C compile features 10:23:48 -- Detecting C compile features - done 10:23:48 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:23:48 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 10:23:48 -- Found LIBYAML: /usr/lib/libyaml.so 10:23:48 -- Found LIBUUID: /usr/lib/libuuid.so 10:23:48 -- Found LIBCBOR: /usr/lib/libcbor.so 10:23:48 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:23:48 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:23:48 -- C SDK 2.2.0-dev.4 for Linux 10:23:48 -- Performing Test CSDK_HAVE_ATOMIC 10:23:48 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:23:48 -- Found Curses: /usr/lib/libcurses.so 10:23:48 -- Configuring done 10:23:48 -- Generating done 10:23:48 -- Build files have been written to: /tmp/sdk/build/debug 10:23:48 + tee debug.log 10:23:48 + make 10:23:48 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:23:49 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:23:49 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:23:49 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:23:49 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:23:49 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:23:49 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:23:49 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:23:49 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:23:49 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:23:49 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:23:49 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:23:49 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:23:49 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:23:50 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:23:50 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:23:50 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:23:50 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:23:50 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 10:23:50 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:23:50 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:23:50 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:23:50 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:23:50 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:23:50 275 | const iot_component_factory_t * factory; 10:23:50 | ^~~~~~~ 10:23:50 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:23:50 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:23:50 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:23:50 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:23:50 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:23:51 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:23:51 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:23:51 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:23:51 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:23:51 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:23:51 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:23:51 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:23:51 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:23:51 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:23:51 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:23:51 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:23:51 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:23:51 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:23:52 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:23:52 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:23:52 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 10:23:52 /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] 10:23:52 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 10:23:52 | ^~~~~~~~~~~~~ 10:23:52 | | 10:23:52 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 10:23:52 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:23:52 /usr/include/microhttpd.h:2784: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 *)' 10:23:52 2784 | MHD_KeyValueIterator iterator, 10:23:52 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 10:23:52 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 10:23:52 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:23:52 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 10:23:52 | ^~~~~~~~~~~~ 10:23:52 | | 10:23:52 | 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 **)} 10:23:52 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:23:52 /usr/include/microhttpd.h:2480: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 **)'} 10:23:52 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:23:52 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:23:52 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:23:52 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 10:23:52 | ^~~~~~~~~~~~ 10:23:52 | | 10:23:52 | 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 **)} 10:23:52 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:23:52 /usr/include/microhttpd.h:2480: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 **)'} 10:23:52 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:23:52 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:23:52 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:23:52 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:23:52 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:23:52 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:23:52 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:23:52 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:23:52 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:23:52 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:23:52 [ 76%] Linking C shared library libcsdk.so 10:23:53 [ 76%] Built target csdk 10:23:53 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:23:53 [ 79%] Linking C executable template 10:23:53 [ 79%] Built target template 10:23:53 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:23:53 [ 82%] Linking C executable device-counter 10:23:53 [ 82%] Built target device-counter 10:23:53 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:23:53 [ 85%] Linking C executable device-random 10:23:53 [ 85%] Built target device-random 10:23:53 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:23:53 [ 88%] Linking C executable device-gyro 10:23:53 [ 88%] Built target device-gyro 10:23:53 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:23:53 [ 91%] Linking C executable device-bitfields 10:23:53 [ 91%] Built target device-bitfields 10:23:53 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:23:53 [ 94%] Linking C executable template-discovery 10:23:53 [ 94%] Built target template-discovery 10:23:53 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:23:53 [ 97%] Linking C executable device-file 10:23:53 [ 97%] Built target device-file 10:23:53 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:23:53 [100%] Linking C executable device-terminal 10:23:54 [100%] Built target device-terminal 10:23:54 make: Entering directory '/tmp/sdk/build/release' 10:23:54 make[1]: Entering directory '/tmp/sdk/build/release' 10:23:54 make[2]: Entering directory '/tmp/sdk/build/release' 10:23:54 make[2]: Leaving directory '/tmp/sdk/build/release' 10:23:54 [ 76%] Built target csdk 10:23:54 make[2]: Entering directory '/tmp/sdk/build/release' 10:23:54 make[2]: Leaving directory '/tmp/sdk/build/release' 10:23:54 [ 79%] Built target template 10:23:54 make[2]: Entering directory '/tmp/sdk/build/release' 10:23:54 make[2]: Leaving directory '/tmp/sdk/build/release' 10:23:54 [ 82%] Built target device-counter 10:23:54 make[2]: Entering directory '/tmp/sdk/build/release' 10:23:54 make[2]: Leaving directory '/tmp/sdk/build/release' 10:23:54 [ 85%] Built target device-random 10:23:54 make[2]: Entering directory '/tmp/sdk/build/release' 10:23:54 make[2]: Leaving directory '/tmp/sdk/build/release' 10:23:54 [ 88%] Built target device-gyro 10:23:54 make[2]: Entering directory '/tmp/sdk/build/release' 10:23:54 make[2]: Leaving directory '/tmp/sdk/build/release' 10:23:54 [ 91%] Built target device-bitfields 10:23:54 make[2]: Entering directory '/tmp/sdk/build/release' 10:23:54 make[2]: Leaving directory '/tmp/sdk/build/release' 10:23:54 [ 94%] Built target template-discovery 10:23:54 make[2]: Entering directory '/tmp/sdk/build/release' 10:23:54 make[2]: Leaving directory '/tmp/sdk/build/release' 10:23:54 [ 97%] Built target device-file 10:23:54 make[2]: Entering directory '/tmp/sdk/build/release' 10:23:54 make[2]: Leaving directory '/tmp/sdk/build/release' 10:23:54 [100%] Built target device-terminal 10:23:54 make[1]: Leaving directory '/tmp/sdk/build/release' 10:23:54 Install the project... 10:23:54 -- Install configuration: "Release" 10:23:54 -- Installing: /usr/local/lib/libcsdk.so 10:23:54 -- Installing: /usr/local/include 10:23:54 -- Installing: /usr/local/include/devsdk 10:23:54 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:23:54 -- Installing: /usr/local/include/devsdk/devsdk.h 10:23:54 -- Installing: /usr/local/include/edgex 10:23:54 -- Installing: /usr/local/include/edgex/devices.h 10:23:54 -- Installing: /usr/local/include/edgex/edgex-base.h 10:23:54 -- Installing: /usr/local/include/edgex/edgex.h 10:23:54 -- Installing: /usr/local/include/edgex/profiles.h 10:23:54 -- Installing: /usr/local/include/edgex/rest-server.h 10:23:54 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:23:54 -- Installing: /usr/local/include/iot 10:23:54 -- Installing: /usr/local/include/iot/base64.h 10:23:54 -- Installing: /usr/local/include/iot/component.h 10:23:54 -- Installing: /usr/local/include/iot/config.h 10:23:54 -- Installing: /usr/local/include/iot/container.h 10:23:54 -- Installing: /usr/local/include/iot/data.h 10:23:54 -- Installing: /usr/local/include/iot/hash.h 10:23:54 -- Installing: /usr/local/include/iot/iot.h 10:23:54 -- Installing: /usr/local/include/iot/json.h 10:23:54 -- Installing: /usr/local/include/iot/logger.h 10:23:54 -- Installing: /usr/local/include/iot/os.h 10:23:54 -- Installing: /usr/local/include/iot/scheduler.h 10:23:54 -- Installing: /usr/local/include/iot/thread.h 10:23:54 -- Installing: /usr/local/include/iot/threadpool.h 10:23:54 -- Installing: /usr/local/include/iot/time.h 10:23:54 -- Installing: /usr/local/include/iot/typecode.h 10:23:54 -- Installing: /usr/local/include/iot/uuid.h 10:23:54 -- Installing: /usr/local/include/iot/os 10:23:54 -- Installing: /usr/local/include/iot/os/linux.h 10:23:54 -- Installing: /usr/local/include/iot/os/macos.h 10:23:54 -- Installing: /usr/local/include/iot/os/zephyr.h 10:23:54 -- Installing: /usr/local/include/iot/defs.h 10:23:54 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:23:54 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:23:54 make: Leaving directory '/tmp/sdk/build/release' 10:23:55 Removing intermediate container 5a7c0e32c3ef 10:23:55 ---> 7f2ce4146568 10:23:55 Step 14/22 : FROM ${BASE} 10:23:55 ---> c9e13ccc37c5 10:23:55 Step 15/22 : LABEL maintainer="IOTech " 10:23:55 ---> Running in 622dc9c5f8f8 10:23:55 Removing intermediate container 622dc9c5f8f8 10:23:55 ---> ae2bface76f8 10:23:55 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:23:55 ---> Running in 4e4c3c8bfb64 10:23:55 Connecting to iotech.jfrog.io (54.229.110.245:443) 10:23:55 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:23:55 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:23:55 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:23:55 Removing intermediate container 4e4c3c8bfb64 10:23:55 ---> ce53f17bfc41 10:23:55 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:23:55 ---> Running in 70b937917ac1 10:23:56 Removing intermediate container 70b937917ac1 10:23:56 ---> b39dd59de25e 10:23:56 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev 10:23:56 ---> Running in 9e5b5a5e6b33 10:23:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:23:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:23:57 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 10:23:58 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:23:58 (1/6) Installing curl (7.80.0-r0) 10:23:58 (2/6) Installing hiredis (1.0.2-r0) 10:23:58 (3/6) Installing hiredis-dev (1.0.2-r0) 10:23:58 (4/6) Installing libcbor (0.8.0-r0) 10:23:58 (5/6) Installing libuuid (2.37.4-r0) 10:23:58 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 10:23:59 Executing busybox-1.34.1-r3.trigger 10:23:59 OK: 283 MiB in 83 packages 10:23:59 Removing intermediate container 9e5b5a5e6b33 10:23:59 ---> ded8e93e2e5e 10:23:59 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 10:23:59 ---> 81e16dddd60a 10:23:59 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:24:00 ---> 4894502a66b7 10:24:00 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 10:24:00 ---> ca8b1e912f6d 10:24:00 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:24:00 ---> 7f54d7f33fdd 10:24:00 Successfully built 7f54d7f33fdd 10:24:00 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 10:24:00 + docker inspect -f . ci-base-image-x86_64 10:24:00 . [Pipeline] withDockerContainer 10:24:00 prd-centos7-docker-4c-2g-5782 does not seem to be running inside a container 10:24:00 $ 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 10:24:01 $ docker top adc98cab8efa15423b481208d64ee2e3616d325adf60b9dae69a162e340150f1 -eo pid,comm [Pipeline] { [Pipeline] sh 10:24:01 + make test 10:24:01 echo "make test" 10:24:01 make test [Pipeline] } 10:24:01 $ docker stop --time=1 adc98cab8efa15423b481208d64ee2e3616d325adf60b9dae69a162e340150f1 10:24:02 $ docker rm -f adc98cab8efa15423b481208d64ee2e3616d325adf60b9dae69a162e340150f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:24:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:24:04 + ls -al . 10:24:04 total 176 10:24:04 drwxrwxr-x. 9 jenkins jenkins 4096 Feb 21 10:23 . 10:24:04 drwxrwxr-x. 4 jenkins jenkins 108 Feb 21 10:23 .. 10:24:04 -rw-rw-r--. 1 jenkins jenkins 3104 Feb 21 10:23 Attribution.txt 10:24:04 -rw-rw-r--. 1 jenkins jenkins 8222 Feb 21 10:23 CHANGES 10:24:04 drwxrwxr-x. 2 jenkins jenkins 121 Feb 21 10:23 docs 10:24:04 -rw-rw-r--. 1 jenkins jenkins 108574 Feb 21 10:23 Doxyfile 10:24:04 drwxrwxr-x. 8 jenkins jenkins 162 Feb 21 10:23 .git 10:24:04 drwxrwxr-x. 3 jenkins jenkins 103 Feb 21 10:23 .github 10:24:04 -rw-rw-r--. 1 jenkins jenkins 176 Feb 21 10:23 .gitignore 10:24:04 -rw-rw-r--. 1 jenkins jenkins 677 Feb 21 10:23 GOVERNANCE.md 10:24:04 drwxrwxr-x. 4 jenkins jenkins 33 Feb 21 10:23 include 10:24:04 -rw-rw-r--. 1 jenkins jenkins 784 Feb 21 10:23 Jenkinsfile 10:24:04 -rw-rw-r--. 1 jenkins jenkins 10174 Feb 21 10:23 LICENSE 10:24:04 -rw-rw-r--. 1 jenkins jenkins 444 Feb 21 10:23 Makefile 10:24:04 -rw-rw-r--. 1 jenkins jenkins 618 Feb 21 10:23 OWNERS.md 10:24:04 -rw-rw-r--. 1 jenkins jenkins 4086 Feb 21 10:23 README.md 10:24:04 -rw-rw-r--. 1 jenkins jenkins 7422 Feb 21 10:23 README.v2.md 10:24:04 drwxrwxr-x. 2 jenkins jenkins 98 Feb 21 10:23 scripts 10:24:04 drwx------. 3 jenkins jenkins 71 Feb 21 10:23 .semver 10:24:04 drwxrwxr-x. 4 jenkins jenkins 50 Feb 21 10:23 src 10:24:04 -rw-rw-r--. 1 jenkins jenkins 11 Feb 21 10:23 VERSION [Pipeline] isUnix [Pipeline] sh 10:24:04 + 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=48c08245ad9168b435c5e70f99b42d590e34b603 --label arch=amd64 --label version=2.2.0-dev.4 . 10:24:04 Sending build context to Docker daemon 4.478MB 10:24:04 Step 1/17 : ARG BASE=alpine:3.15 10:24:04 Step 2/17 : FROM ${BASE} 10:24:04 ---> 7f54d7f33fdd 10:24:04 Step 3/17 : LABEL maintainer="IOTech " 10:24:04 ---> Running in 130809f2fd51 10:24:04 Removing intermediate container 130809f2fd51 10:24:04 ---> d80c0e60a95f 10:24:04 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 10:24:04 ---> Running in ec1cf0bb25c3 10:24:05 Connecting to iotech.jfrog.io (54.72.115.12:443) 10:24:05 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:24:05 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:24:05 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:24:05 Removing intermediate container ec1cf0bb25c3 10:24:05 ---> 08f1c150ff3b 10:24:05 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:24:05 ---> Running in 84cee5dd3c35 10:24:06 Removing intermediate container 84cee5dd3c35 10:24:06 ---> 21c9663a19c8 10:24:06 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 10:24:06 ---> Running in 575f9fa10913 10:24:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:24:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:24:07 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 10:24:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:24:08 (1/26) Installing libcbor-dev (0.8.0-r0) 10:24:08 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 10:24:08 (3/26) Installing util-linux (2.37.4-r0) 10:24:08 (4/26) Installing libblkid (2.37.4-r0) 10:24:08 (5/26) Installing libeconf (0.4.2-r0) 10:24:08 (6/26) Installing libfdisk (2.37.4-r0) 10:24:08 (7/26) Installing libmount (2.37.4-r0) 10:24:08 (8/26) Installing libsmartcols (2.37.4-r0) 10:24:08 (9/26) Installing util-linux-misc (2.37.4-r0) 10:24:09 (10/26) Installing linux-pam (1.5.2-r0) 10:24:09 (11/26) Installing runuser (2.37.4-r0) 10:24:09 (12/26) Installing hexdump (2.37.4-r0) 10:24:09 (13/26) Installing uuidgen (2.37.4-r0) 10:24:09 (14/26) Installing blkid (2.37.4-r0) 10:24:09 (15/26) Installing sfdisk (2.37.4-r0) 10:24:09 (16/26) Installing mcookie (2.37.4-r0) 10:24:09 (17/26) Installing wipefs (2.37.4-r0) 10:24:09 (18/26) Installing cfdisk (2.37.4-r0) 10:24:09 (19/26) Installing flock (2.37.4-r0) 10:24:10 (20/26) Installing lsblk (2.37.4-r0) 10:24:10 (21/26) Installing libcap-ng (0.8.2-r1) 10:24:10 (22/26) Installing setpriv (2.37.4-r0) 10:24:10 (23/26) Installing logger (2.37.4-r0) 10:24:10 (24/26) Installing partx (2.37.4-r0) 10:24:10 (25/26) Installing findmnt (2.37.4-r0) 10:24:10 (26/26) Installing util-linux-dev (2.37.4-r0) 10:24:10 Executing busybox-1.34.1-r3.trigger 10:24:10 OK: 294 MiB in 109 packages 10:24:11 Removing intermediate container 575f9fa10913 10:24:11 ---> 227be0091fa1 10:24:11 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:24:11 ---> 4d78b6a855fc 10:24:11 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:24:11 ---> 13966b16e66d 10:24:11 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:24:11 ---> 056b7510c760 10:24:11 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:24:12 ---> ad9bec5d41ef 10:24:12 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:24:12 ---> 631c0b5b9704 10:24:12 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:24:12 ---> cc9bdf4e9d3b 10:24:12 Step 13/17 : WORKDIR /edgex-c-sdk 10:24:12 ---> Running in bb4df9d4b015 10:24:12 Removing intermediate container bb4df9d4b015 10:24:12 ---> 8de2ac23e5d4 10:24:12 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:24:12 ---> Running in e1c47023d499 10:24:12 Removing intermediate container e1c47023d499 10:24:12 ---> 4d7777f23178 10:24:12 Step 15/17 : LABEL arch=amd64 10:24:12 ---> Running in b535ad3ddf38 10:24:12 Removing intermediate container b535ad3ddf38 10:24:12 ---> 638aa3ef418b 10:24:12 Step 16/17 : LABEL git_sha=48c08245ad9168b435c5e70f99b42d590e34b603 10:24:12 ---> Running in 3d77d1869d91 10:24:12 Removing intermediate container 3d77d1869d91 10:24:12 ---> 045294c47e00 10:24:12 Step 17/17 : LABEL version=2.2.0-dev.4 10:24:12 ---> Running in 0dace2f283c6 10:24:12 Removing intermediate container 0dace2f283c6 10:24:12 ---> e866a5122174 10:24:12 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:24:12 Successfully built e866a5122174 10:24:12 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 10:24:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:24:13 10:24:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:24:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:24:13 latest: Pulling from edgex-lftools-log-publisher 10:24:13 b4d181a07f80: Pulling fs layer 10:24:13 a1111a8f2ec3: Pulling fs layer 10:24:13 ed53099fbce6: Pulling fs layer 10:24:13 dc539afda2c1: Pulling fs layer 10:24:13 77bc0d833cb6: Pulling fs layer 10:24:13 9065ff56babe: Pulling fs layer 10:24:13 d287ab97295c: Pulling fs layer 10:24:13 dc539afda2c1: Waiting 10:24:13 77bc0d833cb6: Waiting 10:24:13 9065ff56babe: Waiting 10:24:13 d287ab97295c: Waiting 10:24:13 a1111a8f2ec3: Verifying Checksum 10:24:13 a1111a8f2ec3: Download complete 10:24:13 dc539afda2c1: Verifying Checksum 10:24:13 dc539afda2c1: Download complete 10:24:13 ed53099fbce6: Verifying Checksum 10:24:13 ed53099fbce6: Download complete 10:24:13 9065ff56babe: Verifying Checksum 10:24:13 9065ff56babe: Download complete 10:24:13 77bc0d833cb6: Verifying Checksum 10:24:13 77bc0d833cb6: Download complete 10:24:13 b4d181a07f80: Verifying Checksum 10:24:13 b4d181a07f80: Download complete 10:24:14 d287ab97295c: Verifying Checksum 10:24:14 d287ab97295c: Download complete 10:24:15 b4d181a07f80: Pull complete 10:24:15 a1111a8f2ec3: Pull complete 10:24:16 ed53099fbce6: Pull complete 10:24:16 dc539afda2c1: Pull complete 10:24:16 77bc0d833cb6: Pull complete 10:24:16 9065ff56babe: Pull complete 10:24:21 d287ab97295c: Pull complete 10:24:21 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 10:24:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:24:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:24:21 prd-centos7-docker-4c-2g-5782 does not seem to be running inside a container 10:24:21 $ 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 10:24:24 $ docker top a22eae6f2d2e3afbee73c6114a46f401c96c60e29a81a6c0b2cac8a0928fd6e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:24:24 ---> job-cost.sh 10:24:24 lf-activate-venv: SKIPPING 10:24:24 INFO: No Stack... 10:24:25 INFO: Retrieving Pricing Info for: v3-standard-2 10:24:25 INFO: Archiving Costs [Pipeline] sh 10:24:26 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 10:24:26 + cut -d, -f6 [Pipeline] lock 10:24:26 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-19-stack-cost] 10:24:26 Resource [jenkins-edgexfoundry-device-sdk-c-main-19-stack-cost] did not exist. Created. 10:24:26 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:24:26 + echo total: 0.05999999865889549 [Pipeline] stash 10:24:26 Stashed 1 file(s) [Pipeline] } 10:24:26 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-19-stack-cost] [Pipeline] // lock [Pipeline] } 10:24:26 $ docker stop --time=1 a22eae6f2d2e3afbee73c6114a46f401c96c60e29a81a6c0b2cac8a0928fd6e0 10:24:27 $ docker rm -f a22eae6f2d2e3afbee73c6114a46f401c96c60e29a81a6c0b2cac8a0928fd6e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:24:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5783 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 10:24:58 Running in /w/workspace/device-sdk-c/19 [Pipeline] { [Pipeline] checkout 10:24:58 Selected Git installation does not exist. Using Default 10:24:58 The recommended git tool is: NONE 10:25:03 using credential edgex-jenkins-ssh 10:25:03 Cloning the remote Git repository 10:25:03 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 10:25:03 > git init /w/workspace/device-sdk-c/19 # timeout=10 10:25:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 10:25:03 > git --version # timeout=10 10:25:03 > git --version # 'git version 2.17.1' 10:25:03 using GIT_SSH to set credentials SSH Credentials for GitHub 10:25:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:25:04 Avoid second fetch 10:25:04 Checking out Revision 48c08245ad9168b435c5e70f99b42d590e34b603 (main) 10:25:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 10:25:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:25:04 > git config core.sparsecheckout # timeout=10 10:25:04 > git checkout -f 48c08245ad9168b435c5e70f99b42d590e34b603 # timeout=10 10:25:08 Commit message: "build(deps): bump Alpine to 3.15 (#401)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:25:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:25:09 % Total % Received % Xferd Average Speed Time Time Time Current 10:25:09 Dload Upload Total Spent Left Speed 10:25:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 76406 0 --:--:-- --:--:-- --:--:-- 76406 [Pipeline] sh 10:25:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:25:10 + sudo tee /etc/docker/daemon.new 10:25:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:25:10 { 10:25:10 "registry-mirrors": [ 10:25:10 "https://nexus3.edgexfoundry.org:10001" 10:25:10 ], 10:25:10 "bip": "10.250.0.254/24", 10:25:10 "hosts": [ 10:25:10 "tcp://0.0.0.0:5555", 10:25:10 "unix:///var/run/docker.sock" 10:25:10 ], 10:25:10 "mtu": 1458, 10:25:10 "selinux-enabled": true, 10:25:10 "seccomp-profile": "/etc/docker/seccomp.json" 10:25:10 } [Pipeline] sh 10:25:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:25:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:25:29 provisioning config files... 10:25:29 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/19@tmp/config3169884221996052505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:25:30 ---> docker-login.sh 10:25:30 nexus3.edgexfoundry.org:10001 10:25:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:31 Configure a credential helper to remove this warning. See 10:25:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:31 10:25:31 Login Succeeded 10:25:31 nexus3.edgexfoundry.org:10002 10:25:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:31 Configure a credential helper to remove this warning. See 10:25:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:31 10:25:31 Login Succeeded 10:25:31 nexus3.edgexfoundry.org:10003 10:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:32 Configure a credential helper to remove this warning. See 10:25:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:32 10:25:32 Login Succeeded 10:25:32 nexus3.edgexfoundry.org:10004 10:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:32 Configure a credential helper to remove this warning. See 10:25:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:32 10:25:32 Login Succeeded 10:25:32 docker.io 10:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:33 Configure a credential helper to remove this warning. See 10:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:33 10:25:33 Login Succeeded 10:25:33 ---> docker-login.sh ends [Pipeline] } 10:25:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:25:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:25:33 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 10:25:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:25:33 ========================================================= 10:25:33 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 10:25:33 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:25:33 + 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 . 10:25:34 Sending build context to Docker daemon 2.725MB 10:25:34 Step 1/22 : ARG BASE=alpine:3.15 10:25:34 Step 2/22 : FROM ${BASE} as builder 10:25:34 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 10:25:34 9b3977197b4f: Pulling fs layer 10:25:34 2a93055cfd06: Pulling fs layer 10:25:34 ff5fdaca7850: Pulling fs layer 10:25:34 2a93055cfd06: Verifying Checksum 10:25:34 2a93055cfd06: Download complete 10:25:34 9b3977197b4f: Verifying Checksum 10:25:34 9b3977197b4f: Download complete 10:25:35 9b3977197b4f: Pull complete 10:25:35 2a93055cfd06: Pull complete 10:25:36 ff5fdaca7850: Verifying Checksum 10:25:36 ff5fdaca7850: Download complete 10:25:44 ff5fdaca7850: Pull complete 10:25:44 Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da 10:25:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 10:25:44 ---> 0af3d9908a83 10:25:44 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:25:45 ---> Running in 0165fda69294 10:25:46 Connecting to iotech.jfrog.io (54.229.110.245:443) 10:25:47 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:25:47 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:25:47 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:25:47 Removing intermediate container 0165fda69294 10:25:47 ---> 6c2f3f61b88d 10:25:47 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:25:47 ---> Running in be1fcb3ba806 10:25:49 Removing intermediate container be1fcb3ba806 10:25:49 ---> 83077917e793 10:25:49 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev 10:25:49 ---> Running in 46b3e22adca8 10:25:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:25:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:25:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 10:25:52 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:25:52 (1/31) Installing hiredis (1.0.2-r0) 10:25:52 (2/31) Installing hiredis-dev (1.0.2-r0) 10:25:52 (3/31) Installing libcbor (0.8.0-r0) 10:25:52 (4/31) Installing libcbor-dev (0.8.0-r0) 10:25:53 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 10:25:53 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 10:25:54 (7/31) Installing util-linux (2.37.4-r0) 10:25:54 (8/31) Installing libblkid (2.37.4-r0) 10:25:54 (9/31) Installing libeconf (0.4.2-r0) 10:25:54 (10/31) Installing libuuid (2.37.4-r0) 10:25:54 (11/31) Installing libfdisk (2.37.4-r0) 10:25:54 (12/31) Installing libmount (2.37.4-r0) 10:25:54 (13/31) Installing libsmartcols (2.37.4-r0) 10:25:54 (14/31) Installing util-linux-misc (2.37.4-r0) 10:25:55 (15/31) Installing linux-pam (1.5.2-r0) 10:25:55 (16/31) Installing runuser (2.37.4-r0) 10:25:55 (17/31) Installing hexdump (2.37.4-r0) 10:25:55 (18/31) Installing uuidgen (2.37.4-r0) 10:25:55 (19/31) Installing blkid (2.37.4-r0) 10:25:55 (20/31) Installing sfdisk (2.37.4-r0) 10:25:55 (21/31) Installing mcookie (2.37.4-r0) 10:25:55 (22/31) Installing wipefs (2.37.4-r0) 10:25:56 (23/31) Installing cfdisk (2.37.4-r0) 10:25:56 (24/31) Installing flock (2.37.4-r0) 10:25:56 (25/31) Installing lsblk (2.37.4-r0) 10:25:56 (26/31) Installing libcap-ng (0.8.2-r1) 10:25:56 (27/31) Installing setpriv (2.37.4-r0) 10:25:56 (28/31) Installing logger (2.37.4-r0) 10:25:56 (29/31) Installing partx (2.37.4-r0) 10:25:56 (30/31) Installing findmnt (2.37.4-r0) 10:25:56 (31/31) Installing util-linux-dev (2.37.4-r0) 10:25:56 Executing busybox-1.34.1-r3.trigger 10:25:56 OK: 289 MiB in 108 packages 10:25:58 Removing intermediate container 46b3e22adca8 10:25:58 ---> 082de63de98a 10:25:58 Step 6/22 : RUN mkdir /tmp/sdk 10:25:58 ---> Running in dcff0a8d5392 10:26:00 Removing intermediate container dcff0a8d5392 10:26:00 ---> 3638ca96579f 10:26:00 Step 7/22 : COPY VERSION /tmp/sdk 10:26:00 ---> 5b5c7e0ddd27 10:26:00 Step 8/22 : COPY src /tmp/sdk/src 10:26:01 ---> b585771bb034 10:26:01 Step 9/22 : COPY include /tmp/sdk/include 10:26:02 ---> bbaa3e9ea910 10:26:02 Step 10/22 : COPY scripts /tmp/sdk/scripts 10:26:02 ---> 3f0ba4ea9b4a 10:26:02 Step 11/22 : COPY LICENSE /tmp/sdk 10:26:03 ---> b138a0045c8f 10:26:03 Step 12/22 : COPY Attribution.txt /tmp/sdk 10:26:04 ---> 8270cbe750b8 10:26:04 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:26:04 ---> Running in ff49c657f9b9 10:26:05 + CPPCHECK=false 10:26:05 + DOCGEN=false 10:26:05 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:26:05 + TOMLVER=SDK-0.2 10:26:05 + CUTILVER=1.2.2 10:26:05 + '[' 0 -gt 0 ] 10:26:05 + readlink -f ./scripts/build.sh 10:26:05 + dirname /tmp/sdk/scripts/build.sh 10:26:05 + dirname /tmp/sdk/scripts 10:26:05 + ROOT=/tmp/sdk 10:26:05 + cd /tmp/sdk 10:26:05 + '[' '!' -d deps ] 10:26:05 + mkdir deps 10:26:05 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 10:26:05 + tar -C deps -z -x -f - 10:26:05 Connecting to github.com (140.82.114.3:443) 10:26:05 Connecting to codeload.github.com (140.82.112.10:443) 10:26:05 writing to stdout 10:26:05 - 100% |********************************| 16451 0:00:00 ETA 10:26:05 written to stdout 10:26:05 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 10:26:05 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 10:26:05 + tar -C deps -z -x -f - 10:26:05 Connecting to github.com (140.82.114.3:443) 10:26:05 Connecting to codeload.github.com (140.82.112.10:443) 10:26:05 writing to stdout 10:26:06 - 100% |********************************| 189k 0:00:00 ETA 10:26:06 written to stdout 10:26:06 + mkdir -p src/c/iot 10:26:06 + 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 10:26:06 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 10:26:06 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 10:26:06 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 10:26:06 + mkdir -p include/iot 10:26:06 + 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 10:26:06 + mkdir -p include/iot/os 10:26:06 + 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 10:26:06 + mkdir -p /tmp/sdk/build/release 10:26:06 + cd /tmp/sdk/build/release 10:26:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:26:06 -- The C compiler identification is GNU 10.3.1 10:26:06 -- Detecting C compiler ABI info 10:26:06 -- Detecting C compiler ABI info - done 10:26:06 -- Check for working C compiler: /usr/bin/cc - skipped 10:26:06 -- Detecting C compile features 10:26:06 -- Detecting C compile features - done 10:26:06 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:26:07 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 10:26:07 -- Found LIBYAML: /usr/lib/libyaml.so 10:26:07 -- Found LIBUUID: /usr/lib/libuuid.so 10:26:07 -- Found LIBCBOR: /usr/lib/libcbor.so 10:26:07 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:26:07 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:26:07 -- C SDK 2.2.0-dev.4 for Linux 10:26:07 -- Performing Test CSDK_HAVE_ATOMIC 10:26:07 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:26:07 -- Found Curses: /usr/lib/libcurses.so 10:26:07 -- Configuring done 10:26:07 -- Generating done 10:26:07 -- Build files have been written to: /tmp/sdk/build/release 10:26:07 + make all package 10:26:07 + tee release.log 10:26:08 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:26:08 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:26:09 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:26:12 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:26:13 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:26:13 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:26:13 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:26:14 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:26:14 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:26:16 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:26:18 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:26:18 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:26:19 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:26:20 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:26:21 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:26:21 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:26:21 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:26:24 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:26:24 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 10:26:25 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:26:25 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:26:26 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:26:26 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:26:26 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:26:26 275 | const iot_component_factory_t * factory; 10:26:26 | ^~~~~~~ 10:26:27 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:26:32 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:26:32 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:26:32 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:26:33 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:26:34 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:26:34 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:26:35 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:26:35 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:26:36 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:26:37 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:26:37 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:26:40 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:26:40 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:26:42 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:26:42 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:26:47 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:26:47 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:26:48 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:26:48 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:26:49 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 10:26:49 /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] 10:26:49 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 10:26:49 | ^~~~~~~~~~~~~ 10:26:49 | | 10:26:49 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 10:26:49 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:26:49 /usr/include/microhttpd.h:2784: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 *)' 10:26:49 2784 | MHD_KeyValueIterator iterator, 10:26:49 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 10:26:49 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 10:26:49 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:26:49 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 10:26:49 | ^~~~~~~~~~~~ 10:26:49 | | 10:26:49 | 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 **)} 10:26:49 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:26:49 /usr/include/microhttpd.h:2480: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 **)'} 10:26:49 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:26:49 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:26:49 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:26:49 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 10:26:49 | ^~~~~~~~~~~~ 10:26:49 | | 10:26:49 | 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 **)} 10:26:49 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:26:49 /usr/include/microhttpd.h:2480: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 **)'} 10:26:49 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:26:49 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:26:50 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:26:52 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:26:52 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:26:53 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:26:53 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:26:56 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:27:00 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:27:01 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:27:01 [ 76%] Linking C shared library libcsdk.so 10:27:01 [ 76%] Built target csdk 10:27:01 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:27:02 [ 79%] Linking C executable template 10:27:03 [ 79%] Built target template 10:27:03 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:27:03 [ 82%] Linking C executable device-counter 10:27:03 [ 82%] Built target device-counter 10:27:03 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:27:04 [ 85%] Linking C executable device-random 10:27:04 [ 85%] Built target device-random 10:27:04 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:27:05 [ 88%] Linking C executable device-gyro 10:27:05 [ 88%] Built target device-gyro 10:27:05 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:27:05 [ 91%] Linking C executable device-bitfields 10:27:06 [ 91%] Built target device-bitfields 10:27:06 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:27:07 [ 94%] Linking C executable template-discovery 10:27:07 [ 94%] Built target template-discovery 10:27:07 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:27:08 [ 97%] Linking C executable device-file 10:27:08 [ 97%] Built target device-file 10:27:08 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:27:09 [100%] Linking C executable device-terminal 10:27:09 [100%] Built target device-terminal 10:27:09 Run CPack packaging tool... 10:27:09 CPack: Create package using TGZ 10:27:09 CPack: Install projects 10:27:09 CPack: - Run preinstall target for: Csdk 10:27:10 CPack: - Install project: Csdk [] 10:27:10 CPack: Create package 10:27:10 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.4.tar.gz generated. 10:27:10 + '[' false '=' true ] 10:27:10 + '[' false '=' true ] 10:27:10 + mkdir -p /tmp/sdk/build/debug 10:27:10 + cd /tmp/sdk/build/debug 10:27:10 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:27:10 -- The C compiler identification is GNU 10.3.1 10:27:10 -- Detecting C compiler ABI info 10:27:10 -- Detecting C compiler ABI info - done 10:27:10 -- Check for working C compiler: /usr/bin/cc - skipped 10:27:10 -- Detecting C compile features 10:27:10 -- Detecting C compile features - done 10:27:11 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:27:11 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 10:27:11 -- Found LIBYAML: /usr/lib/libyaml.so 10:27:11 -- Found LIBUUID: /usr/lib/libuuid.so 10:27:11 -- Found LIBCBOR: /usr/lib/libcbor.so 10:27:11 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:27:11 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:27:11 -- C SDK 2.2.0-dev.4 for Linux 10:27:11 -- Performing Test CSDK_HAVE_ATOMIC 10:27:11 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:27:11 -- Found Curses: /usr/lib/libcurses.so 10:27:11 -- Configuring done 10:27:12 -- Generating done 10:27:12 -- Build files have been written to: /tmp/sdk/build/debug 10:27:12 + make 10:27:12 + tee debug.log 10:27:12 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:27:12 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:27:12 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:27:13 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:27:14 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:27:14 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:27:14 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:27:15 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:27:15 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:27:15 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:27:16 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:27:16 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:27:17 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:27:17 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:27:17 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:27:17 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:27:18 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:27:19 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:27:19 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 10:27:19 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:27:19 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:27:19 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:27:20 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:27:20 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:27:20 275 | const iot_component_factory_t * factory; 10:27:20 | ^~~~~~~ 10:27:20 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:27:21 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:27:21 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:27:21 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:27:22 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:27:22 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:27:22 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:27:22 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:27:23 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:27:23 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:27:23 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:27:24 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:27:24 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:27:24 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:27:25 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:27:25 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:27:27 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:27:27 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:27:27 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:27:27 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:27:27 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 10:27:27 /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] 10:27:27 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 10:27:27 | ^~~~~~~~~~~~~ 10:27:27 | | 10:27:27 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 10:27:27 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:27:27 /usr/include/microhttpd.h:2784: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 *)' 10:27:27 2784 | MHD_KeyValueIterator iterator, 10:27:27 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 10:27:27 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 10:27:27 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:27:27 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 10:27:27 | ^~~~~~~~~~~~ 10:27:27 | | 10:27:27 | 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 **)} 10:27:27 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:27:27 /usr/include/microhttpd.h:2480: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 **)'} 10:27:27 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:27:27 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:27:27 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:27:27 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 10:27:27 | ^~~~~~~~~~~~ 10:27:27 | | 10:27:27 | 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 **)} 10:27:27 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:27:27 /usr/include/microhttpd.h:2480: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 **)'} 10:27:27 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:27:27 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:27:28 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:27:29 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:27:29 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:27:30 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:27:30 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:27:31 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:27:31 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:27:32 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:27:32 [ 76%] Linking C shared library libcsdk.so 10:27:33 [ 76%] Built target csdk 10:27:33 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:27:33 [ 79%] Linking C executable template 10:27:33 [ 79%] Built target template 10:27:33 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:27:33 [ 82%] Linking C executable device-counter 10:27:34 [ 82%] Built target device-counter 10:27:34 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:27:34 [ 85%] Linking C executable device-random 10:27:34 [ 85%] Built target device-random 10:27:34 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:27:34 [ 88%] Linking C executable device-gyro 10:27:35 [ 88%] Built target device-gyro 10:27:35 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:27:35 [ 91%] Linking C executable device-bitfields 10:27:35 [ 91%] Built target device-bitfields 10:27:36 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:27:36 [ 94%] Linking C executable template-discovery 10:27:36 [ 94%] Built target template-discovery 10:27:36 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:27:36 [ 97%] Linking C executable device-file 10:27:37 [ 97%] Built target device-file 10:27:37 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:27:37 [100%] Linking C executable device-terminal 10:27:38 [100%] Built target device-terminal 10:27:38 make: Entering directory '/tmp/sdk/build/release' 10:27:38 make[1]: Entering directory '/tmp/sdk/build/release' 10:27:38 make[2]: Entering directory '/tmp/sdk/build/release' 10:27:38 make[2]: Leaving directory '/tmp/sdk/build/release' 10:27:38 [ 76%] Built target csdk 10:27:38 make[2]: Entering directory '/tmp/sdk/build/release' 10:27:38 make[2]: Leaving directory '/tmp/sdk/build/release' 10:27:38 [ 79%] Built target template 10:27:38 make[2]: Entering directory '/tmp/sdk/build/release' 10:27:38 make[2]: Leaving directory '/tmp/sdk/build/release' 10:27:38 [ 82%] Built target device-counter 10:27:38 make[2]: Entering directory '/tmp/sdk/build/release' 10:27:38 make[2]: Leaving directory '/tmp/sdk/build/release' 10:27:38 [ 85%] Built target device-random 10:27:38 make[2]: Entering directory '/tmp/sdk/build/release' 10:27:38 make[2]: Leaving directory '/tmp/sdk/build/release' 10:27:38 [ 88%] Built target device-gyro 10:27:38 make[2]: Entering directory '/tmp/sdk/build/release' 10:27:38 make[2]: Leaving directory '/tmp/sdk/build/release' 10:27:38 [ 91%] Built target device-bitfields 10:27:38 make[2]: Entering directory '/tmp/sdk/build/release' 10:27:38 make[2]: Leaving directory '/tmp/sdk/build/release' 10:27:38 [ 94%] Built target template-discovery 10:27:38 make[2]: Entering directory '/tmp/sdk/build/release' 10:27:38 make[2]: Leaving directory '/tmp/sdk/build/release' 10:27:38 [ 97%] Built target device-file 10:27:38 make[2]: Entering directory '/tmp/sdk/build/release' 10:27:38 make[2]: Leaving directory '/tmp/sdk/build/release' 10:27:38 [100%] Built target device-terminal 10:27:38 make[1]: Leaving directory '/tmp/sdk/build/release' 10:27:38 Install the project... 10:27:38 -- Install configuration: "Release" 10:27:38 -- Installing: /usr/local/lib/libcsdk.so 10:27:38 -- Installing: /usr/local/include 10:27:38 -- Installing: /usr/local/include/edgex 10:27:38 -- Installing: /usr/local/include/edgex/edgex-base.h 10:27:38 -- Installing: /usr/local/include/edgex/devices.h 10:27:38 -- Installing: /usr/local/include/edgex/rest-server.h 10:27:38 -- Installing: /usr/local/include/edgex/profiles.h 10:27:38 -- Installing: /usr/local/include/edgex/edgex.h 10:27:38 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:27:38 -- Installing: /usr/local/include/devsdk 10:27:38 -- Installing: /usr/local/include/devsdk/devsdk.h 10:27:38 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:27:38 -- Installing: /usr/local/include/iot 10:27:38 -- Installing: /usr/local/include/iot/data.h 10:27:38 -- Installing: /usr/local/include/iot/config.h 10:27:38 -- Installing: /usr/local/include/iot/container.h 10:27:38 -- Installing: /usr/local/include/iot/typecode.h 10:27:38 -- Installing: /usr/local/include/iot/thread.h 10:27:38 -- Installing: /usr/local/include/iot/hash.h 10:27:38 -- Installing: /usr/local/include/iot/iot.h 10:27:38 -- Installing: /usr/local/include/iot/defs.h 10:27:38 -- Installing: /usr/local/include/iot/uuid.h 10:27:38 -- Installing: /usr/local/include/iot/component.h 10:27:38 -- Installing: /usr/local/include/iot/threadpool.h 10:27:38 -- Installing: /usr/local/include/iot/time.h 10:27:38 -- Installing: /usr/local/include/iot/logger.h 10:27:38 -- Installing: /usr/local/include/iot/os 10:27:38 -- Installing: /usr/local/include/iot/os/zephyr.h 10:27:38 -- Installing: /usr/local/include/iot/os/macos.h 10:27:38 -- Installing: /usr/local/include/iot/os/linux.h 10:27:38 -- Installing: /usr/local/include/iot/json.h 10:27:38 -- Installing: /usr/local/include/iot/scheduler.h 10:27:38 -- Installing: /usr/local/include/iot/base64.h 10:27:38 -- Installing: /usr/local/include/iot/os.h 10:27:38 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:27:38 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:27:38 make: Leaving directory '/tmp/sdk/build/release' 10:27:40 Removing intermediate container ff49c657f9b9 10:27:40 ---> b84db55d0435 10:27:40 Step 14/22 : FROM ${BASE} 10:27:40 ---> 0af3d9908a83 10:27:40 Step 15/22 : LABEL maintainer="IOTech " 10:27:40 ---> Running in d3888f30bcaa 10:27:40 Removing intermediate container d3888f30bcaa 10:27:40 ---> ebb064b3cbd2 10:27:40 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:27:40 ---> Running in 6a016e6e9315 10:27:41 Connecting to iotech.jfrog.io (54.72.115.12:443) 10:27:42 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:27:42 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:27:42 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:27:42 Removing intermediate container 6a016e6e9315 10:27:42 ---> d1e49c211a63 10:27:42 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:27:43 ---> Running in a275cb9a5427 10:27:44 Removing intermediate container a275cb9a5427 10:27:44 ---> 2b730195a283 10:27:44 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev 10:27:44 ---> Running in 105fbfe752d4 10:27:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:27:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:27:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 10:27:48 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:27:48 (1/6) Installing curl (7.80.0-r0) 10:27:48 (2/6) Installing hiredis (1.0.2-r0) 10:27:48 (3/6) Installing hiredis-dev (1.0.2-r0) 10:27:48 (4/6) Installing libcbor (0.8.0-r0) 10:27:48 (5/6) Installing libuuid (2.37.4-r0) 10:27:48 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 10:27:49 Executing busybox-1.34.1-r3.trigger 10:27:49 OK: 278 MiB in 83 packages 10:27:50 Removing intermediate container 105fbfe752d4 10:27:50 ---> 05faae5c263c 10:27:50 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 10:27:51 ---> d08213f28478 10:27:51 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:27:51 ---> 56c6aef15a91 10:27:51 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 10:27:52 ---> c48917fe527a 10:27:52 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:27:53 ---> e0870c4f71bd 10:27:53 Successfully built e0870c4f71bd 10:27:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:27:53 + docker inspect -f . ci-base-image-arm64 10:27:53 . [Pipeline] withDockerContainer 10:27:53 prd-ubuntu18.04-docker-arm64-4c-16g-5783 does not seem to be running inside a container 10:27:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/19 -v /w/workspace/device-sdk-c/19:/w/workspace/device-sdk-c/19:rw,z -v /w/workspace/device-sdk-c/19@tmp:/w/workspace/device-sdk-c/19@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 10:27:55 $ docker top 4dddcfe1ed9faae9871dcd697e3f292e36d623cd9ca1db3a9d8442f8657663d9 -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:56 + make test 10:27:56 echo "make test" 10:27:56 make test [Pipeline] } 10:27:56 $ docker stop --time=1 4dddcfe1ed9faae9871dcd697e3f292e36d623cd9ca1db3a9d8442f8657663d9 10:27:57 $ docker rm -f 4dddcfe1ed9faae9871dcd697e3f292e36d623cd9ca1db3a9d8442f8657663d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:27:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:27:58 + ls -al . 10:27:58 total 204 10:27:58 drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 10:25 . 10:27:58 drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 10:25 .. 10:27:58 drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 10:25 .git 10:27:58 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 10:25 .github 10:27:58 -rw-rw-r-- 1 jenkins jenkins 176 Feb 21 10:25 .gitignore 10:27:58 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 21 10:25 Attribution.txt 10:27:58 -rw-rw-r-- 1 jenkins jenkins 8222 Feb 21 10:25 CHANGES 10:27:58 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 21 10:25 Doxyfile 10:27:58 -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 10:25 GOVERNANCE.md 10:27:58 -rw-rw-r-- 1 jenkins jenkins 784 Feb 21 10:25 Jenkinsfile 10:27:58 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 21 10:25 LICENSE 10:27:58 -rw-rw-r-- 1 jenkins jenkins 444 Feb 21 10:25 Makefile 10:27:58 -rw-rw-r-- 1 jenkins jenkins 618 Feb 21 10:25 OWNERS.md 10:27:58 -rw-rw-r-- 1 jenkins jenkins 4086 Feb 21 10:25 README.md 10:27:58 -rw-rw-r-- 1 jenkins jenkins 7422 Feb 21 10:25 README.v2.md 10:27:58 -rw-rw-r-- 1 jenkins jenkins 11 Feb 21 10:23 VERSION 10:27:58 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 10:25 docs 10:27:58 drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 10:25 include 10:27:58 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 10:25 scripts 10:27:58 drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 10:25 src [Pipeline] isUnix [Pipeline] sh 10:27:59 + 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=48c08245ad9168b435c5e70f99b42d590e34b603 --label arch=arm64 --label version=2.2.0-dev.4 . 10:27:59 Sending build context to Docker daemon 2.725MB 10:27:59 Step 1/17 : ARG BASE=alpine:3.15 10:27:59 Step 2/17 : FROM ${BASE} 10:27:59 ---> e0870c4f71bd 10:27:59 Step 3/17 : LABEL maintainer="IOTech " 10:27:59 ---> Running in 0c8a72cf0d17 10:27:59 Removing intermediate container 0c8a72cf0d17 10:27:59 ---> 3a82685d7050 10:27:59 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 10:28:00 ---> Running in 5d99001153e0 10:28:01 Connecting to iotech.jfrog.io (34.243.182.113:443) 10:28:01 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:28:01 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:28:01 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:28:02 Removing intermediate container 5d99001153e0 10:28:02 ---> cedc7d2c2623 10:28:02 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:28:02 ---> Running in f4efa1a259af 10:28:04 Removing intermediate container f4efa1a259af 10:28:04 ---> d12914b84fde 10:28:04 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 10:28:04 ---> Running in 6a4dbca93d87 10:28:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:28:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:28:06 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 10:28:07 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:28:07 (1/26) Installing libcbor-dev (0.8.0-r0) 10:28:07 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 10:28:07 (3/26) Installing util-linux (2.37.4-r0) 10:28:07 (4/26) Installing libblkid (2.37.4-r0) 10:28:07 (5/26) Installing libeconf (0.4.2-r0) 10:28:07 (6/26) Installing libfdisk (2.37.4-r0) 10:28:08 (7/26) Installing libmount (2.37.4-r0) 10:28:08 (8/26) Installing libsmartcols (2.37.4-r0) 10:28:08 (9/26) Installing util-linux-misc (2.37.4-r0) 10:28:08 (10/26) Installing linux-pam (1.5.2-r0) 10:28:08 (11/26) Installing runuser (2.37.4-r0) 10:28:08 (12/26) Installing hexdump (2.37.4-r0) 10:28:08 (13/26) Installing uuidgen (2.37.4-r0) 10:28:08 (14/26) Installing blkid (2.37.4-r0) 10:28:08 (15/26) Installing sfdisk (2.37.4-r0) 10:28:09 (16/26) Installing mcookie (2.37.4-r0) 10:28:09 (17/26) Installing wipefs (2.37.4-r0) 10:28:09 (18/26) Installing cfdisk (2.37.4-r0) 10:28:09 (19/26) Installing flock (2.37.4-r0) 10:28:09 (20/26) Installing lsblk (2.37.4-r0) 10:28:09 (21/26) Installing libcap-ng (0.8.2-r1) 10:28:09 (22/26) Installing setpriv (2.37.4-r0) 10:28:09 (23/26) Installing logger (2.37.4-r0) 10:28:09 (24/26) Installing partx (2.37.4-r0) 10:28:09 (25/26) Installing findmnt (2.37.4-r0) 10:28:09 (26/26) Installing util-linux-dev (2.37.4-r0) 10:28:09 Executing busybox-1.34.1-r3.trigger 10:28:10 OK: 290 MiB in 109 packages 10:28:11 Removing intermediate container 6a4dbca93d87 10:28:11 ---> 1bb0530e469e 10:28:11 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:28:12 ---> b4999a6d6c22 10:28:12 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:28:13 ---> fdcfcb602cef 10:28:13 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:28:13 ---> 07ece918a7ea 10:28:13 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:28:14 ---> 9b4b45113916 10:28:14 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:28:15 ---> 96d2ccf5cf8f 10:28:15 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:28:15 ---> d41876f1014b 10:28:15 Step 13/17 : WORKDIR /edgex-c-sdk 10:28:15 ---> Running in 2e107744d18c 10:28:15 Removing intermediate container 2e107744d18c 10:28:15 ---> d30a43b92c36 10:28:15 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:28:15 ---> Running in b149155e4c4b 10:28:16 Removing intermediate container b149155e4c4b 10:28:16 ---> d5b60fb36088 10:28:16 Step 15/17 : LABEL arch=arm64 10:28:16 ---> Running in e7b35409a4eb 10:28:16 Removing intermediate container e7b35409a4eb 10:28:16 ---> 448930445396 10:28:16 Step 16/17 : LABEL git_sha=48c08245ad9168b435c5e70f99b42d590e34b603 10:28:16 ---> Running in cf626b50cdc6 10:28:17 Removing intermediate container cf626b50cdc6 10:28:17 ---> 89132323f13b 10:28:17 Step 17/17 : LABEL version=2.2.0-dev.4 10:28:17 ---> Running in 84ba950e3f88 10:28:17 Removing intermediate container 84ba950e3f88 10:28:17 ---> 07ee68e82562 10:28:17 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:28:17 Successfully built 07ee68e82562 10:28:17 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 10:28:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:28:18 10:28:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 10:28:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:28:18 arm64: Pulling from edgex-lftools-log-publisher 10:28:18 448f6bf000e3: Pulling fs layer 10:28:18 f757da607395: Pulling fs layer 10:28:18 05883995daec: Pulling fs layer 10:28:18 8603b9c90790: Pulling fs layer 10:28:18 1560dd03e051: Pulling fs layer 10:28:18 27f5ce0e4adf: Pulling fs layer 10:28:18 c2d8d7efcc4b: Pulling fs layer 10:28:18 8603b9c90790: Waiting 10:28:18 1560dd03e051: Waiting 10:28:18 27f5ce0e4adf: Waiting 10:28:18 c2d8d7efcc4b: Waiting 10:28:18 f757da607395: Verifying Checksum 10:28:18 f757da607395: Download complete 10:28:18 8603b9c90790: Verifying Checksum 10:28:18 8603b9c90790: Download complete 10:28:19 1560dd03e051: Verifying Checksum 10:28:19 1560dd03e051: Download complete 10:28:19 27f5ce0e4adf: Verifying Checksum 10:28:19 27f5ce0e4adf: Download complete 10:28:19 05883995daec: Verifying Checksum 10:28:19 05883995daec: Download complete 10:28:19 448f6bf000e3: Verifying Checksum 10:28:19 448f6bf000e3: Download complete 10:28:21 c2d8d7efcc4b: Verifying Checksum 10:28:21 c2d8d7efcc4b: Download complete 10:28:22 448f6bf000e3: Pull complete 10:28:23 f757da607395: Pull complete 10:28:24 05883995daec: Pull complete 10:28:25 8603b9c90790: Pull complete 10:28:26 1560dd03e051: Pull complete 10:28:26 27f5ce0e4adf: Pull complete 10:28:41 c2d8d7efcc4b: Pull complete 10:28:41 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 10:28:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:28:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 10:28:41 prd-ubuntu18.04-docker-arm64-4c-16g-5783 does not seem to be running inside a container 10:28:41 $ 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/19 -v /w/workspace/device-sdk-c/19:/w/workspace/device-sdk-c/19:rw,z -v /w/workspace/device-sdk-c/19@tmp:/w/workspace/device-sdk-c/19@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 10:28:44 $ docker top 28d93fa58b01642611946f6dd585a424efda5662745bf91a1fce4bc3356d03ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:28:45 ---> job-cost.sh 10:28:45 lf-activate-venv: SKIPPING 10:28:45 INFO: No Stack... 10:28:45 INFO: Retrieving Pricing Info for: v3-standard-4 10:28:46 INFO: Archiving Costs [Pipeline] sh 10:28:46 + + catcut /w/workspace/device-sdk-c/19/archives/cost.csv -d, 10:28:46 -f6 [Pipeline] lock 10:28:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-19-stack-cost] 10:28:46 Resource [jenkins-edgexfoundry-device-sdk-c-main-19-stack-cost] did not exist. Created. 10:28:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:28:47 /w/workspace/device-sdk-c/19@tmp/durable-f48ae543/script.sh: 1: /w/workspace/device-sdk-c/19@tmp/durable-f48ae543/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 10:28:48 + echo total: 0.10999999940395355 [Pipeline] stash 10:28:48 Warning: overwriting stash ‘stack-cost’ 10:28:49 Stashed 1 file(s) [Pipeline] } 10:28:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-19-stack-cost] [Pipeline] // lock [Pipeline] } 10:28:49 $ docker stop --time=1 28d93fa58b01642611946f6dd585a424efda5662745bf91a1fce4bc3356d03ab 10:28:50 $ docker rm -f 28d93fa58b01642611946f6dd585a424efda5662745bf91a1fce4bc3356d03ab [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 10:28:51 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 10:28:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:28:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:28:51 . [Pipeline] withDockerContainer 10:28:51 prd-centos7-docker-4c-2g-5782 does not seem to be running inside a container 10:28:51 $ 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 10:28:52 $ docker top 53463d1e114b815ebf61a6f27c2de6656d74b77397e0f66dbfcf4e4f070c4244 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:28:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:28:52 [ssh-agent] Looking for ssh-agent implementation... 10:28:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:28:52 $ docker exec 53463d1e114b815ebf61a6f27c2de6656d74b77397e0f66dbfcf4e4f070c4244 ssh-agent 10:28:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJLpHEd/agent.14 10:28:52 SSH_AGENT_PID=21 10:28:52 Running ssh-add (command line suppressed) 10:28:52 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4410044162864773006.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4410044162864773006.key) 10:28:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:28:53 + git semver tag 10:28:53 # -> Open(): unable to determine branch for HEAD 10:28:53 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 10:28:53 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 10:28:53 # $SEMVER_REMOTE_NAME = origin 10:28:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:28:53 # $SEMVER_USER_NAME = edgex-jenkins 10:28:53 # $SEMVER_BRANCH = main 10:28:53 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver 10:28:53 # 48c08245ad9168b435c5e70f99b42d590e34b603 HEAD 10:28:53 # -> Force: false 10:28:53 # b2d2b2badcc8a6f7ea9be22cdf01bdb85e63f107 refs/tags/v2.2.0-dev.4 [Pipeline] } 10:28:53 $ docker exec --env ******** --env ******** 53463d1e114b815ebf61a6f27c2de6656d74b77397e0f66dbfcf4e4f070c4244 ssh-agent -k 10:28:53 unset SSH_AUTH_SOCK; 10:28:53 unset SSH_AGENT_PID; 10:28:53 echo Agent pid 21 killed; 10:28:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:28:53 + git semver [Pipeline] } 10:28:53 $ docker stop --time=1 53463d1e114b815ebf61a6f27c2de6656d74b77397e0f66dbfcf4e4f070c4244 10:28:54 $ docker rm -f 53463d1e114b815ebf61a6f27c2de6656d74b77397e0f66dbfcf4e4f070c4244 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 10:28:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:28:55 10:28:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 10:28:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:28:55 0.23.1-centos7: Pulling from edgex-lftools 10:28:55 ab5ef0e58194: Pulling fs layer 10:28:55 9712f1f96733: Pulling fs layer 10:28:55 63f879dbbcfc: Pulling fs layer 10:28:55 0d9ebad4ef96: Pulling fs layer 10:28:55 e9a5061849ea: Pulling fs layer 10:28:55 d747dcd14b5f: Pulling fs layer 10:28:55 2de7ff778b66: Pulling fs layer 10:28:55 e9a5061849ea: Waiting 10:28:55 d747dcd14b5f: Waiting 10:28:55 2de7ff778b66: Waiting 10:28:55 0d9ebad4ef96: Waiting 10:28:55 9712f1f96733: Verifying Checksum 10:28:55 9712f1f96733: Download complete 10:28:55 ab5ef0e58194: Verifying Checksum 10:28:55 ab5ef0e58194: Download complete 10:28:55 63f879dbbcfc: Verifying Checksum 10:28:55 63f879dbbcfc: Download complete 10:28:55 0d9ebad4ef96: Verifying Checksum 10:28:55 0d9ebad4ef96: Download complete 10:28:55 d747dcd14b5f: Verifying Checksum 10:28:55 d747dcd14b5f: Download complete 10:28:55 e9a5061849ea: Verifying Checksum 10:28:55 e9a5061849ea: Download complete 10:28:55 2de7ff778b66: Verifying Checksum 10:28:55 2de7ff778b66: Download complete 10:28:58 ab5ef0e58194: Pull complete 10:28:58 9712f1f96733: Pull complete 10:28:59 63f879dbbcfc: Pull complete 10:29:03 0d9ebad4ef96: Pull complete 10:29:03 e9a5061849ea: Pull complete 10:29:03 d747dcd14b5f: Pull complete 10:29:04 2de7ff778b66: Pull complete 10:29:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:29:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:29:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 10:29:04 prd-centos7-docker-4c-2g-5782 does not seem to be running inside a container 10:29:04 $ 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 10:29:07 $ docker top f67296759b0ea42a403c8ec5de4ba12657dfef03f82e8486f207797d72601341 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:29:08 provisioning config files... 10:29:08 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8366448966494794595tmp 10:29:08 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7774650159296742671tmp 10:29:08 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7507755249920526835tmp [Pipeline] { [Pipeline] echo 10:29:08 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:29:08 ---> sigul-configuration.sh 10:29:08 gpg: directory `/root/.gnupg' created 10:29:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:29:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:29:08 gpg: keyring `/root/.gnupg/secring.gpg' created 10:29:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:29:08 gpg: CAST5 encrypted data 10:29:08 gpg: encrypted with 1 passphrase 10:29:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:29:08 + mkdir /home/jenkins 10:29:08 + mkdir /home/jenkins/sigul [Pipeline] sh 10:29:08 + 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 10:29:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:29:09 ---> sigul-install.sh 10:29:09 Sigul already installed; skipping installation. [Pipeline] sh 10:29:09 + git tag --list 10:29:09 0.7.0 10:29:09 0.7.1 10:29:09 1.0.0 10:29:09 v1.0.1 10:29:09 v1.0.2 10:29:09 v1.0.3 10:29:09 v1.1.0 10:29:09 v1.1.1 10:29:09 v1.2.0 10:29:09 v1.2.1 10:29:09 v1.2.2 10:29:09 v1.3.0 10:29:09 v1.3.1 10:29:09 v2.0.0 10:29:09 v2.0.1-dev.1 10:29:09 v2.0.1-dev.10 10:29:09 v2.0.1-dev.11 10:29:09 v2.0.1-dev.12 10:29:09 v2.0.1-dev.13 10:29:09 v2.0.1-dev.2 10:29:09 v2.0.1-dev.3 10:29:09 v2.0.1-dev.4 10:29:09 v2.0.1-dev.5 10:29:09 v2.0.1-dev.6 10:29:09 v2.0.1-dev.7 10:29:09 v2.0.1-dev.8 10:29:09 v2.0.1-dev.9 10:29:09 v2.1.0 10:29:09 v2.2.0-dev.1 10:29:09 v2.2.0-dev.2 10:29:09 v2.2.0-dev.3 10:29:09 v2.2.0-dev.4 [Pipeline] sh 10:29:09 + lftools sign git-tag v2.2.0-dev.4 10:29:10 Signing Git tag with Sigul... 10:29:10 Signing v2.2.0-dev.4 [Pipeline] echo 10:29:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:29:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:29:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:29:11 $ docker stop --time=1 f67296759b0ea42a403c8ec5de4ba12657dfef03f82e8486f207797d72601341 10:29:12 $ docker rm -f f67296759b0ea42a403c8ec5de4ba12657dfef03f82e8486f207797d72601341 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:29:12 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 10:29:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:29:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:29:12 . [Pipeline] withDockerContainer 10:29:12 prd-centos7-docker-4c-2g-5782 does not seem to be running inside a container 10:29:13 $ 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 10:29:13 $ docker top a5c7ee5271e1c9e495d9bfe415b930251788320829be7dcaee77ccc19fa1e231 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:29:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:29:13 [ssh-agent] Looking for ssh-agent implementation... 10:29:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:29:13 $ docker exec a5c7ee5271e1c9e495d9bfe415b930251788320829be7dcaee77ccc19fa1e231 ssh-agent 10:29:13 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBjkoll/agent.15 10:29:13 SSH_AGENT_PID=21 10:29:13 Running ssh-add (command line suppressed) 10:29:13 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8037052477467628820.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8037052477467628820.key) 10:29:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:29:14 + git semver bump pre 10:29:14 # -> Open(): unable to determine branch for HEAD 10:29:14 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 10:29:14 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 10:29:14 # $SEMVER_REMOTE_NAME = origin 10:29:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:29:14 # $SEMVER_USER_NAME = edgex-jenkins 10:29:14 # $SEMVER_BRANCH = main 10:29:14 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver 10:29:14 2.2.0-dev.5 [Pipeline] } 10:29:14 $ docker exec --env ******** --env ******** a5c7ee5271e1c9e495d9bfe415b930251788320829be7dcaee77ccc19fa1e231 ssh-agent -k 10:29:14 unset SSH_AUTH_SOCK; 10:29:14 unset SSH_AGENT_PID; 10:29:14 echo Agent pid 21 killed; 10:29:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:29:14 + git semver [Pipeline] } 10:29:14 $ docker stop --time=1 a5c7ee5271e1c9e495d9bfe415b930251788320829be7dcaee77ccc19fa1e231 10:29:15 $ docker rm -f a5c7ee5271e1c9e495d9bfe415b930251788320829be7dcaee77ccc19fa1e231 [Pipeline] // withDockerContainer [Pipeline] sh 10:29:16 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 10:29:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:29:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:29:16 . [Pipeline] withDockerContainer 10:29:16 prd-centos7-docker-4c-2g-5782 does not seem to be running inside a container 10:29:16 $ 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 10:29:16 $ docker top 0db53a19e4389f53823122299ee1ab9577327abd8696216f5505e5e6cdf6f0a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:29:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:29:16 [ssh-agent] Looking for ssh-agent implementation... 10:29:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:29:16 $ docker exec 0db53a19e4389f53823122299ee1ab9577327abd8696216f5505e5e6cdf6f0a2 ssh-agent 10:29:17 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiPAmiH/agent.14 10:29:17 SSH_AGENT_PID=20 10:29:17 Running ssh-add (command line suppressed) 10:29:17 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1153072830816741403.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1153072830816741403.key) 10:29:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:29:17 + git semver push 10:29:17 # -> Open(): unable to determine branch for HEAD 10:29:17 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 10:29:17 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 10:29:17 # $SEMVER_REMOTE_NAME = origin 10:29:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:29:17 # $SEMVER_USER_NAME = edgex-jenkins 10:29:17 # $SEMVER_BRANCH = main 10:29:17 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 10:29:19 $ docker exec --env ******** --env ******** 0db53a19e4389f53823122299ee1ab9577327abd8696216f5505e5e6cdf6f0a2 ssh-agent -k 10:29:19 unset SSH_AUTH_SOCK; 10:29:19 unset SSH_AGENT_PID; 10:29:19 echo Agent pid 20 killed; 10:29:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:29:19 + git semver [Pipeline] } 10:29:19 $ docker stop --time=1 0db53a19e4389f53823122299ee1ab9577327abd8696216f5505e5e6cdf6f0a2 10:29:20 $ docker rm -f 0db53a19e4389f53823122299ee1ab9577327abd8696216f5505e5e6cdf6f0a2 [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 10:29:21 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ']' 10:29:21 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 10:29:21 total 8 10:29:21 drwxr-xr-x. 3 root root 34 Feb 21 10:24 . 10:29:21 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 21 10:29 .. 10:29:21 drwxr-xr-x. 2 root root 6 Feb 21 10:24 cost 10:29:21 -rw-r--r--. 1 root root 82 Feb 21 10:24 cost.csv 10:29:21 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 10:29:21 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 10:29:21 total 8 10:29:21 drwxr-xr-x. 3 jenkins jenkins 34 Feb 21 10:24 . 10:29:21 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 21 10:29 .. 10:29:21 drwxr-xr-x. 2 jenkins jenkins 6 Feb 21 10:24 cost 10:29:21 -rw-r--r--. 1 jenkins jenkins 82 Feb 21 10:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:29:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:29:22 ---> package-listing.sh 10:29:22 ++ facter osfamily 10:29:22 ++ tr '[:upper:]' '[:lower:]' 10:29:22 + OS_FAMILY=redhat 10:29:22 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 10:29:22 + START_PACKAGES=/tmp/packages_start.txt 10:29:22 + END_PACKAGES=/tmp/packages_end.txt 10:29:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:29:22 + PACKAGES=/tmp/packages_start.txt 10:29:22 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 10:29:22 + PACKAGES=/tmp/packages_end.txt 10:29:22 + case "${OS_FAMILY}" in 10:29:22 + sort 10:29:22 + rpm -qa 10:29:23 + '[' -f /tmp/packages_start.txt ']' 10:29:23 + '[' -f /tmp/packages_end.txt ']' 10:29:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:29:23 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 10:29:23 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 10:29:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 10:29:23 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 10:29:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:29:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:29:23 . [Pipeline] withDockerContainer 10:29:23 prd-centos7-docker-4c-2g-5782 does not seem to be running inside a container 10:29:23 $ 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 10:29:24 $ docker top 20432ac7e2e4d1552d48aaf445eb62b92e1919934d278b88ce057a79b7ef2ee7 -eo pid,comm [Pipeline] { [Pipeline] sh 10:29:24 + touch /tmp/pre-build-complete [Pipeline] sh 10:29:24 + mkdir -p /var/log/sysstat [Pipeline] sh 10:29:25 + ls /var/log/sa-host 10:29:25 + sadf -c /var/log/sa-host/sa17 10:29:25 file_magic: OK 10:29:25 HZ: Using current value: 100 10:29:25 file_header: OK 10:29:25 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 10:29:25 Statistics: 10:29:25 Hnuu...uuuununununu...Hnuu...uuuununununu... 10:29:25 File successfully converted to sysstat format version 12.0.3 10:29:25 + sadf -c /var/log/sa-host/sa21 10:29:25 file_magic: OK 10:29:25 HZ: Using current value: 100 10:29:25 file_header: OK 10:29:25 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 10:29:25 Statistics: 10:29:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:29:25 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:29:25 provisioning config files... 10:29:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9164090769339070472tmp [Pipeline] { [Pipeline] echo 10:29:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:29:25 ---> create-netrc.sh [Pipeline] } 10:29:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:29:25 ---> python-tools-install.sh [Pipeline] echo 10:29:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:29:26 ---> sudo-logs.sh 10:29:26 Archiving 'sudo' log.. 10:29:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-5782.novalocal: Name or service not known 10:29:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-5782.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 10:29:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:29:26 ---> job-cost.sh 10:29:26 lf-activate-venv: SKIPPING 10:29:26 DEBUG: total: 0.05999999865889549 10:29:26 INFO: Retrieving Stack Cost... 10:29:26 INFO: Retrieving Pricing Info for: v3-standard-2 10:29:27 INFO: Archiving Costs [Pipeline] echo 10:29:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:29:27 ---> logs-deploy.sh 10:29:27 lf-activate-venv: SKIPPING 10:29:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/19 10:29:27 INFO: archiving workspace using pattern(s): 10:29:28 Archives upload complete. 10:29:28 INFO: archiving logs to Nexus 10:29:28 ---> uname -a: 10:29:28 Linux prd-centos7-docker-4c-2g-5782.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux 10:29:28 10:29:28 10:29:28 ---> lscpu: 10:29:28 Architecture: x86_64 10:29:28 CPU op-mode(s): 32-bit, 64-bit 10:29:28 Byte Order: Little Endian 10:29:28 Address sizes: 40 bits physical, 48 bits virtual 10:29:28 CPU(s): 2 10:29:28 On-line CPU(s) list: 0,1 10:29:28 Thread(s) per core: 1 10:29:28 Core(s) per socket: 1 10:29:28 Socket(s): 2 10:29:28 NUMA node(s): 1 10:29:28 Vendor ID: AuthenticAMD 10:29:28 CPU family: 23 10:29:28 Model: 49 10:29:28 Model name: AMD EPYC-Rome Processor 10:29:28 Stepping: 0 10:29:28 CPU MHz: 2799.998 10:29:28 BogoMIPS: 5599.99 10:29:28 Virtualization: AMD-V 10:29:28 Hypervisor vendor: KVM 10:29:28 Virtualization type: full 10:29:28 L1d cache: 32K 10:29:28 L1i cache: 32K 10:29:28 L2 cache: 512K 10:29:28 L3 cache: 16384K 10:29:28 NUMA node0 CPU(s): 0,1 10:29:28 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 10:29:28 10:29:28 10:29:28 ---> nproc: 10:29:28 2 10:29:28 10:29:28 10:29:28 ---> df -h: 10:29:28 Filesystem Size Used Avail Use% Mounted on 10:29:28 overlay 40G 8.6G 32G 22% / 10:29:28 tmpfs 64M 0 64M 0% /dev 10:29:28 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 10:29:28 shm 64M 0 64M 0% /dev/shm 10:29:28 /dev/vda1 40G 8.6G 32G 22% /facter-os 10:29:28 10:29:28 10:29:28 ---> sar -b -r -n DEV: 10:29:28 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 02/21/22 _x86_64_ (2 CPU) 10:29:28 10:29:28 10:22:30 LINUX RESTART (2 CPU) 10:29:28 10:29:28 10:23:01 tps rtps wtps bread/s bwrtn/s 10:29:28 10:24:01 159.05 3.28 155.77 2349.53 15141.72 10:29:28 10:25:01 106.64 0.00 106.64 0.00 19182.60 10:29:28 10:26:01 0.15 0.00 0.15 0.00 1.73 10:29:28 10:27:01 0.23 0.00 0.23 0.00 3.60 10:29:28 10:28:01 0.32 0.00 0.32 0.00 4.66 10:29:28 10:29:02 11.32 0.00 11.32 0.00 596.29 10:29:28 Average: 46.29 0.55 45.75 391.72 5822.64 10:29:28 10:29:28 10:23:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:29:28 10:24:01 5240444 0 746528 9.32 2620 2019340 1539896 17.00 703232 1781280 40 10:29:28 10:25:01 4610080 0 874792 10.92 2620 2521440 1263632 13.95 787224 2235260 16 10:29:28 10:26:01 4620284 0 864588 10.80 2620 2521440 1164056 12.85 781976 2235260 8 10:29:28 10:27:01 4629288 0 855576 10.68 2620 2521448 1164120 12.85 779696 2235260 8 10:29:28 10:28:01 4626884 0 857976 10.71 2620 2521452 1164216 12.85 782384 2235260 12 10:29:28 10:29:02 3890008 0 1038300 12.96 2620 3078004 1783320 19.69 974056 2692764 555848 10:29:28 Average: 4602831 0 872960 10.90 2620 2530521 1346540 14.87 801428 2235847 92655 10:29:28 10:29:28 10:23:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:29:28 10:24:01 eth0 263.28 176.89 2316.14 64.08 0.00 0.00 0.00 0.00 10:29:28 10:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:29:28 10:24:01 veth8de9c5d 0.03 0.05 0.00 0.00 0.00 0.00 0.00 0.00 10:29:28 10:24:01 docker0 34.83 40.37 2.77 186.89 0.00 0.00 0.00 0.00 10:29:28 10:25:01 eth0 143.15 86.43 2716.07 17.49 0.00 0.00 0.00 0.00 10:29:28 10:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:29:28 10:25:01 docker0 15.95 19.40 1.00 96.04 0.00 0.00 0.00 0.00 10:29:28 10:26:01 eth0 0.28 0.28 0.02 0.05 0.00 0.00 0.00 0.00 10:29:28 10:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:29:28 10:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:29:28 10:27:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 10:29:28 10:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:29:28 10:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:29:28 10:28:01 eth0 0.22 0.18 0.08 0.07 0.00 0.00 0.00 0.00 10:29:28 10:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:29:28 10:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:29:28 10:29:02 eth0 125.12 82.22 3184.69 110.78 0.00 0.00 0.00 0.00 10:29:28 10:29:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:29:28 10:29:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:29:28 Average: eth0 88.71 57.70 1369.81 32.09 0.00 0.00 0.00 0.00 10:29:28 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:29:28 Average: docker0 8.47 9.96 0.63 47.17 0.00 0.00 0.00 0.00 10:29:28 10:29:28 10:29:28 ---> sar -P ALL: 10:29:28 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 02/21/22 _x86_64_ (2 CPU) 10:29:28 10:29:28 10:22:30 LINUX RESTART (2 CPU) 10:29:28 10:29:28 10:23:01 CPU %user %nice %system %iowait %steal %idle 10:29:28 10:24:01 all 25.70 0.00 9.27 3.22 0.10 61.72 10:29:28 10:24:01 0 24.09 0.00 9.30 3.64 0.09 62.88 10:29:28 10:24:01 1 27.30 0.00 9.24 2.80 0.11 60.55 10:29:28 10:25:01 all 9.57 0.00 4.36 0.83 0.06 85.18 10:29:28 10:25:01 0 9.86 0.00 4.68 0.92 0.07 84.47 10:29:28 10:25:01 1 9.28 0.00 4.04 0.74 0.05 85.89 10:29:28 10:26:01 all 0.23 0.00 0.08 0.00 0.02 99.67 10:29:28 10:26:01 0 0.38 0.00 0.12 0.00 0.02 99.48 10:29:28 10:26:01 1 0.08 0.00 0.05 0.00 0.02 99.85 10:29:28 10:27:01 all 0.24 0.00 0.13 0.00 0.03 99.60 10:29:28 10:27:01 0 0.42 0.00 0.15 0.00 0.02 99.42 10:29:28 10:27:01 1 0.07 0.00 0.12 0.00 0.03 99.78 10:29:28 10:28:01 all 0.23 0.00 0.03 0.00 0.02 99.73 10:29:28 10:28:01 0 0.28 0.00 0.02 0.00 0.02 99.68 10:29:28 10:28:01 1 0.17 0.00 0.03 0.00 0.02 99.78 10:29:28 10:29:02 all 7.57 0.00 2.78 0.03 0.03 89.59 10:29:28 10:29:02 0 7.59 0.00 2.95 0.03 0.03 89.39 10:29:28 10:29:02 1 7.55 0.00 2.61 0.03 0.03 89.78 10:29:28 Average: all 7.09 0.00 2.71 0.66 0.04 89.50 10:29:28 Average: 0 6.95 0.00 2.81 0.74 0.04 89.46 10:29:28 Average: 1 7.22 0.00 2.62 0.58 0.04 89.54 10:29:28 10:29:28 10:29:28