Pull request #404 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 342cb0defea55b91bcaf06a94818d65ade22a939+48c08245ad9168b435c5e70f99b42d590e34b603 (f5c105f1d837587a53fe19e3cc21f6db6b56ce8f) 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-ssh11621783849345753704.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh18269424882321447567.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-404/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-404/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17039249021160386426.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh13770798195972146918.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-404/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-404/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12721738332505397931.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7972’ Running on prd-ubuntu20.04-docker-8c-8g-7974 in /w/workspace/edgexfoundry_device-sdk-c_PR-404 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-404 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 48c08245ad9168b435c5e70f99b42d590e34b603 into PR head commit 342cb0defea55b91bcaf06a94818d65ade22a939 Merge succeeded, producing 342cb0defea55b91bcaf06a94818d65ade22a939 Checking out Revision 342cb0defea55b91bcaf06a94818d65ade22a939 (PR-404) > git config core.sparsecheckout # timeout=10 > git checkout -f 342cb0defea55b91bcaf06a94818d65ade22a939 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 48c08245ad9168b435c5e70f99b42d590e34b603 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 342cb0defea55b91bcaf06a94818d65ade22a939 # timeout=10 Commit message: "feat: upload secrets from file" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:36:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:36:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:36:14 ========================================================= 14:36:14 EdgeX Global Pipelines Version Info 14:36:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 45edf2ad213826a4bfa964888770c44e6986307a # timeout=10 14:36:15 ------------------- 14:36:15 stable info: 14:36:15 ------------------- 14:36:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:36:15 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 14:36:15 Message: update stable to v1.0.221 14:36:15 ------------------- 14:36:15 experimental info: 14:36:15 ------------------- 14:36:15 Commited By: **** collab-it+edgex@linuxfoundation.org 14:36:15 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 14:36:15 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-404 [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-404 [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-404 [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 342cb0defea55b91bcaf06a94818d65ade22a939 [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 342cb0d [Pipeline] echo 14:36:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:36:15 provisioning config files... 14:36:15 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/config4540187564069870920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:36:16 ---> docker-login.sh 14:36:16 nexus3.edgexfoundry.org:10001 14:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:16 Configure a credential helper to remove this warning. See 14:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:16 14:36:16 Login Succeeded 14:36:16 nexus3.edgexfoundry.org:10002 14:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:16 Configure a credential helper to remove this warning. See 14:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:16 14:36:16 Login Succeeded 14:36:16 nexus3.edgexfoundry.org:10003 14:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:17 Configure a credential helper to remove this warning. See 14:36:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:17 14:36:17 Login Succeeded 14:36:17 nexus3.edgexfoundry.org:10004 14:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:17 Configure a credential helper to remove this warning. See 14:36:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:17 14:36:17 Login Succeeded 14:36:17 docker.io 14:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:17 Configure a credential helper to remove this warning. See 14:36:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:17 14:36:17 Login Succeeded 14:36:17 ---> docker-login.sh ends [Pipeline] } 14:36:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 14:36:18 + git rev-list -1 --merges 342cb0defea55b91bcaf06a94818d65ade22a939~1..342cb0defea55b91bcaf06a94818d65ade22a939 [Pipeline] echo 14:36:18 -----------> git rev-list -1 --merges 342cb0defea55b91bcaf06a94818d65ade22a939~1..342cb0defea55b91bcaf06a94818d65ade22a939 342cb0defea55b91bcaf06a94818d65ade22a939 [false] [Pipeline] sh 14:36:18 + git log --format=format:%s -1 342cb0defea55b91bcaf06a94818d65ade22a939 [Pipeline] echo 14:36:18 ========================================================= 14:36:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:36:18 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:36:18 + git rev-list -1 --merges 342cb0defea55b91bcaf06a94818d65ade22a939~1..342cb0defea55b91bcaf06a94818d65ade22a939 [Pipeline] echo 14:36:18 -----------> git rev-list -1 --merges 342cb0defea55b91bcaf06a94818d65ade22a939~1..342cb0defea55b91bcaf06a94818d65ade22a939 342cb0defea55b91bcaf06a94818d65ade22a939 [false] [Pipeline] sh 14:36:19 + git log --format=format:%s -1 342cb0defea55b91bcaf06a94818d65ade22a939 [Pipeline] echo 14:36:19 ========================================================= 14:36:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:36:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 14:36:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:36:19 + grep -v github /etc/ssh/ssh_known_hosts 14:36:19 + [ -e /tmp/ssh_known_hosts ] 14:36:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:36:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:36:19 + sudo tee -a /etc/ssh/ssh_known_hosts 14:36:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:36:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:36:19 14:36:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:36:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:36:20 latest: Pulling from edgex-devops/git-semver 14:36:20 a0d0a0d46f8b: Pulling fs layer 14:36:20 3e5f54012d9b: Pulling fs layer 14:36:20 4c7163046ea9: Pulling fs layer 14:36:20 0c2d73faf560: Pulling fs layer 14:36:20 0c2d73faf560: Waiting 14:36:20 3e5f54012d9b: Verifying Checksum 14:36:20 3e5f54012d9b: Download complete 14:36:20 a0d0a0d46f8b: Download complete 14:36:20 0c2d73faf560: Verifying Checksum 14:36:20 0c2d73faf560: Download complete 14:36:20 4c7163046ea9: Verifying Checksum 14:36:20 4c7163046ea9: Download complete 14:36:20 a0d0a0d46f8b: Pull complete 14:36:20 3e5f54012d9b: Pull complete 14:36:20 4c7163046ea9: Pull complete 14:36:20 0c2d73faf560: Pull complete 14:36:20 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:36:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:36:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:36:21 prd-ubuntu20.04-docker-8c-8g-7974 does not seem to be running inside a container 14:36:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-404 -v /w/workspace/edgexfoundry_device-sdk-c_PR-404:/w/workspace/edgexfoundry_device-sdk-c_PR-404:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:36:21 $ docker top fa64c5fd0d583db87d015dd6f71a7aae29e0944367d43ff42c11facd784eff4b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:36:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:36:21 [ssh-agent] Looking for ssh-agent implementation... 14:36:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:36:21 $ docker exec fa64c5fd0d583db87d015dd6f71a7aae29e0944367d43ff42c11facd784eff4b ssh-agent 14:36:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIfAjnl/agent.13 14:36:22 SSH_AGENT_PID=19 14:36:22 Running ssh-add (command line suppressed) 14:36:22 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/private_key_6081507672631676359.key (/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/private_key_6081507672631676359.key) 14:36:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:36:22 + git tag --points-at HEAD [Pipeline] } 14:36:22 $ docker exec --env ******** --env ******** fa64c5fd0d583db87d015dd6f71a7aae29e0944367d43ff42c11facd784eff4b ssh-agent -k 14:36:22 unset SSH_AUTH_SOCK; 14:36:22 unset SSH_AGENT_PID; 14:36:22 echo Agent pid 19 killed; 14:36:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:36:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:36:22 [ssh-agent] Looking for ssh-agent implementation... 14:36:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:36:22 $ docker exec fa64c5fd0d583db87d015dd6f71a7aae29e0944367d43ff42c11facd784eff4b ssh-agent 14:36:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjDPBHb/agent.54 14:36:22 SSH_AGENT_PID=60 14:36:22 Running ssh-add (command line suppressed) 14:36:23 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/private_key_2742038154678581901.key (/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/private_key_2742038154678581901.key) 14:36:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:36:23 + git semver init 14:36:23 # -> Open(): unable to determine branch for HEAD 14:36:23 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-404/.git 14:36:23 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-404 14:36:23 # $SEMVER_REMOTE_NAME = origin 14:36:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:36:23 # $SEMVER_USER_NAME = edgex-jenkins 14:36:23 # $SEMVER_BRANCH = PR-404 14:36:23 # $SEMVER_TEMP = /tmp/semver-184315240 14:36:23 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 14:36:24 # '/tmp/semver-184315240' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-404/.semver' 14:36:24 # -> Force: false 14:36:24 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-404/.semver [Pipeline] } 14:36:24 $ docker exec --env ******** --env ******** fa64c5fd0d583db87d015dd6f71a7aae29e0944367d43ff42c11facd784eff4b ssh-agent -k 14:36:24 unset SSH_AUTH_SOCK; 14:36:24 unset SSH_AGENT_PID; 14:36:24 echo Agent pid 60 killed; 14:36:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:36:24 + git semver [Pipeline] } 14:36:24 $ docker stop --time=1 fa64c5fd0d583db87d015dd6f71a7aae29e0944367d43ff42c11facd784eff4b 14:36:26 $ docker rm -f fa64c5fd0d583db87d015dd6f71a7aae29e0944367d43ff42c11facd784eff4b [Pipeline] // withDockerContainer [Pipeline] sh 14:36:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:36:26 Stashed 1 file(s) [Pipeline] echo 14:36:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:36:26 provisioning config files... 14:36:26 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/config1875273706455541728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:36:27 ---> docker-login.sh 14:36:27 nexus3.edgexfoundry.org:10001 14:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:27 Configure a credential helper to remove this warning. See 14:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:27 14:36:27 Login Succeeded 14:36:27 nexus3.edgexfoundry.org:10002 14:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:27 Configure a credential helper to remove this warning. See 14:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:27 14:36:27 Login Succeeded 14:36:27 nexus3.edgexfoundry.org:10003 14:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:27 Configure a credential helper to remove this warning. See 14:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:27 14:36:27 Login Succeeded 14:36:27 nexus3.edgexfoundry.org:10004 14:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:27 Configure a credential helper to remove this warning. See 14:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:27 14:36:27 Login Succeeded 14:36:27 docker.io 14:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:27 Configure a credential helper to remove this warning. See 14:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:27 14:36:27 Login Succeeded 14:36:27 ---> docker-login.sh ends [Pipeline] } 14:36:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:36:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:36:28 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 14:36:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:36:28 ========================================================= 14:36:28 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:36:28 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:36:28 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 14:36:28 Sending build context to Docker daemon 4.533MB 14:36:28 Step 1/22 : ARG BASE=alpine:3.15 14:36:28 Step 2/22 : FROM ${BASE} as builder 14:36:28 latest: Pulling from edgex-devops/edgex-gcc-base 14:36:28 59bf1c3509f3: Pulling fs layer 14:36:28 c743a93c8381: Pulling fs layer 14:36:28 a2ad9f71ba65: Pulling fs layer 14:36:28 c743a93c8381: Verifying Checksum 14:36:28 c743a93c8381: Download complete 14:36:28 59bf1c3509f3: Verifying Checksum 14:36:28 59bf1c3509f3: Pull complete 14:36:28 c743a93c8381: Pull complete 14:36:29 a2ad9f71ba65: Verifying Checksum 14:36:29 a2ad9f71ba65: Download complete 14:36:32 a2ad9f71ba65: Pull complete 14:36:32 Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 14:36:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:36:32 ---> c9e13ccc37c5 14:36:32 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 14:36:32 ---> Running in 917cafcea6f2 14:36:32 Connecting to iotech.jfrog.io (52.30.156.103:443) 14:36:33 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:36:33 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:36:33 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:36:33 Removing intermediate container 917cafcea6f2 14:36:33 ---> 41c7be4ca299 14:36:33 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 14:36:33 ---> Running in cb7c3f89bf35 14:36:34 Removing intermediate container cb7c3f89bf35 14:36:34 ---> a0b1654f01e1 14:36:34 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 14:36:34 ---> Running in 9d8920b3ec0f 14:36:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:36:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:36:35 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 14:36:36 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:36:36 (1/31) Installing hiredis (1.0.2-r0) 14:36:36 (2/31) Installing hiredis-dev (1.0.2-r0) 14:36:36 (3/31) Installing libcbor (0.8.0-r0) 14:36:36 (4/31) Installing libcbor-dev (0.8.0-r0) 14:36:36 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 14:36:36 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 14:36:37 (7/31) Installing util-linux (2.37.4-r0) 14:36:37 (8/31) Installing libblkid (2.37.4-r0) 14:36:37 (9/31) Installing libeconf (0.4.2-r0) 14:36:37 (10/31) Installing libuuid (2.37.4-r0) 14:36:37 (11/31) Installing libfdisk (2.37.4-r0) 14:36:37 (12/31) Installing libmount (2.37.4-r0) 14:36:37 (13/31) Installing libsmartcols (2.37.4-r0) 14:36:37 (14/31) Installing util-linux-misc (2.37.4-r0) 14:36:38 (15/31) Installing linux-pam (1.5.2-r0) 14:36:38 (16/31) Installing runuser (2.37.4-r0) 14:36:38 (17/31) Installing hexdump (2.37.4-r0) 14:36:38 (18/31) Installing uuidgen (2.37.4-r0) 14:36:38 (19/31) Installing blkid (2.37.4-r0) 14:36:38 (20/31) Installing sfdisk (2.37.4-r0) 14:36:38 (21/31) Installing mcookie (2.37.4-r0) 14:36:38 (22/31) Installing wipefs (2.37.4-r0) 14:36:38 (23/31) Installing cfdisk (2.37.4-r0) 14:36:38 (24/31) Installing flock (2.37.4-r0) 14:36:38 (25/31) Installing lsblk (2.37.4-r0) 14:36:38 (26/31) Installing libcap-ng (0.8.2-r1) 14:36:39 (27/31) Installing setpriv (2.37.4-r0) 14:36:39 (28/31) Installing logger (2.37.4-r0) 14:36:39 (29/31) Installing partx (2.37.4-r0) 14:36:39 (30/31) Installing findmnt (2.37.4-r0) 14:36:39 (31/31) Installing util-linux-dev (2.37.4-r0) 14:36:39 Executing busybox-1.34.1-r3.trigger 14:36:39 OK: 293 MiB in 108 packages 14:36:39 Removing intermediate container 9d8920b3ec0f 14:36:39 ---> 7c75a0cd7260 14:36:39 Step 6/22 : RUN mkdir /tmp/sdk 14:36:40 ---> Running in 889991cb55de 14:36:40 Removing intermediate container 889991cb55de 14:36:40 ---> 0955477e032a 14:36:40 Step 7/22 : COPY VERSION /tmp/sdk 14:36:40 ---> 496ebe5b7a8e 14:36:40 Step 8/22 : COPY src /tmp/sdk/src 14:36:41 ---> c17c6adf6f81 14:36:41 Step 9/22 : COPY include /tmp/sdk/include 14:36:41 ---> 59632e6ccc27 14:36:41 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:36:41 ---> 8b7fba6c23f5 14:36:41 Step 11/22 : COPY LICENSE /tmp/sdk 14:36:41 ---> 62c0f517b233 14:36:41 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:36:41 ---> 4dcfeb571b4d 14:36:41 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:36:41 ---> Running in aa4182a5ac3e 14:36:41 Still waiting to schedule task 14:36:41 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7973’ 14:36:41 + CPPCHECK=false 14:36:41 + DOCGEN=false 14:36:41 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:36:41 + TOMLVER=SDK-0.2 14:36:41 + CUTILVER=1.2.2 14:36:41 + '[' 0 -gt 0 ] 14:36:41 + readlink -f ./scripts/build.sh 14:36:41 + dirname /tmp/sdk/scripts/build.sh 14:36:41 + dirname /tmp/sdk/scripts 14:36:41 + ROOT=/tmp/sdk 14:36:41 + cd /tmp/sdk 14:36:41 + '[' '!' -d deps ] 14:36:41 + mkdir deps 14:36:41 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:36:41 + tar -C deps -z -x -f - 14:36:41 Connecting to github.com (140.82.112.4:443) 14:36:42 Connecting to codeload.github.com (140.82.113.10:443) 14:36:42 writing to stdout 14:36:42 - 100% |********************************| 16451 0:00:00 ETA 14:36:42 written to stdout 14:36:42 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:36:42 + wget -O -+ https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 14:36:42 tar -C deps -z -x -f - 14:36:42 Connecting to github.com (140.82.112.4:443) 14:36:42 Connecting to codeload.github.com (140.82.113.10:443) 14:36:42 writing to stdout 14:36:42 - 100% |********************************| 189k 0:00:00 ETA 14:36:42 written to stdout 14:36:42 + mkdir -p src/c/iot 14:36:42 + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot 14:36:42 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 14:36:42 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 14:36:42 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 14:36:42 + mkdir -p include/iot 14:36:42 + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot 14:36:42 + mkdir -p include/iot/os 14:36:42 + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os 14:36:42 + mkdir -p /tmp/sdk/build/release 14:36:42 + cd /tmp/sdk/build/release 14:36:42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:36:42 -- The C compiler identification is GNU 10.3.1 14:36:42 -- Detecting C compiler ABI info 14:36:42 -- Detecting C compiler ABI info - done 14:36:43 -- Check for working C compiler: /usr/bin/cc - skipped 14:36:43 -- Detecting C compile features 14:36:43 -- Detecting C compile features - done 14:36:43 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:36:43 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 14:36:43 -- Found LIBYAML: /usr/lib/libyaml.so 14:36:43 -- Found LIBUUID: /usr/lib/libuuid.so 14:36:43 -- Found LIBCBOR: /usr/lib/libcbor.so 14:36:43 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:36:43 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:36:43 -- C SDK 0.0.0 for Linux 14:36:43 -- Performing Test CSDK_HAVE_ATOMIC 14:36:43 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:36:43 -- Found Curses: /usr/lib/libcurses.so 14:36:43 -- Configuring done 14:36:43 -- Generating done 14:36:43 -- Build files have been written to: /tmp/sdk/build/release 14:36:43 + make all package 14:36:43 + tee release.log 14:36:43 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:36:43 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:36:43 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:36:43 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:36:44 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:36:44 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:36:44 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:36:44 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:36:44 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:36:44 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:36:44 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:36:45 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:36:45 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:36:45 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:36:45 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:36:45 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:36:45 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:36:46 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:36:46 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:36:46 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:36:46 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:36:46 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:36:46 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 14:36:46 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 14:36:46 275 | const iot_component_factory_t * factory; 14:36:46 | ^~~~~~~ 14:36:46 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:36:47 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:36:47 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:36:47 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:36:47 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:36:47 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:36:47 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:36:48 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:36:48 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:36:48 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:36:48 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 14:36:48 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:36:48 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:36:48 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:36:49 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:36:49 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:36:50 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:36:50 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:36:50 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:36:50 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:36:50 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 14:36:50 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 14:36:50 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 14:36:50 | ^~~~~~~~~~~~~ 14:36:50 | | 14:36:50 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 14:36:50 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:36:50 /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 *)' 14:36:50 2784 | MHD_KeyValueIterator iterator, 14:36:50 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 14:36:50 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 14:36:50 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:36:50 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 14:36:50 | ^~~~~~~~~~~~ 14:36:50 | | 14:36:50 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 14:36:50 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:36:50 /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 **)'} 14:36:50 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:36:50 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:36:50 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:36:50 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 14:36:50 | ^~~~~~~~~~~~ 14:36:50 | | 14:36:50 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 14:36:50 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:36:50 /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 **)'} 14:36:50 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:36:50 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:36:50 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:36:50 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:36:51 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:36:51 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:36:51 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:36:51 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:36:52 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:36:52 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:36:52 [ 76%] Linking C shared library libcsdk.so 14:36:52 [ 76%] Built target csdk 14:36:52 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:36:52 [ 79%] Linking C executable template 14:36:52 [ 79%] Built target template 14:36:52 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:36:53 [ 82%] Linking C executable device-counter 14:36:53 [ 82%] Built target device-counter 14:36:53 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:36:53 [ 85%] Linking C executable device-random 14:36:53 [ 85%] Built target device-random 14:36:53 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:36:53 [ 88%] Linking C executable device-gyro 14:36:53 [ 88%] Built target device-gyro 14:36:53 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:36:53 [ 91%] Linking C executable device-bitfields 14:36:53 [ 91%] Built target device-bitfields 14:36:53 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:36:53 [ 94%] Linking C executable template-discovery 14:36:53 [ 94%] Built target template-discovery 14:36:53 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:36:53 [ 97%] Linking C executable device-file 14:36:54 [ 97%] Built target device-file 14:36:54 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:36:54 [100%] Linking C executable device-terminal 14:36:54 [100%] Built target device-terminal 14:36:54 Run CPack packaging tool... 14:36:54 CPack: Create package using TGZ 14:36:54 CPack: Install projects 14:36:54 CPack: - Run preinstall target for: Csdk 14:36:54 CPack: - Install project: Csdk [] 14:36:54 CPack: Create package 14:36:54 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:36:54 + '[' false '=' true ] 14:36:54 + '[' false '=' true ] 14:36:54 + mkdir -p /tmp/sdk/build/debug 14:36:54 + cd /tmp/sdk/build/debug 14:36:54 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:36:54 -- The C compiler identification is GNU 10.3.1 14:36:54 -- Detecting C compiler ABI info 14:36:54 -- Detecting C compiler ABI info - done 14:36:54 -- Check for working C compiler: /usr/bin/cc - skipped 14:36:54 -- Detecting C compile features 14:36:54 -- Detecting C compile features - done 14:36:54 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:36:54 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 14:36:54 -- Found LIBYAML: /usr/lib/libyaml.so 14:36:54 -- Found LIBUUID: /usr/lib/libuuid.so 14:36:54 -- Found LIBCBOR: /usr/lib/libcbor.so 14:36:54 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:36:54 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:36:54 -- C SDK 0.0.0 for Linux 14:36:54 -- Performing Test CSDK_HAVE_ATOMIC 14:36:54 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:36:54 -- Found Curses: /usr/lib/libcurses.so 14:36:54 -- Configuring done 14:36:54 -- Generating done 14:36:54 -- Build files have been written to: /tmp/sdk/build/debug 14:36:54 + make 14:36:54 + tee debug.log 14:36:54 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:36:55 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:36:55 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:36:55 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:36:55 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:36:55 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:36:55 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:36:55 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:36:55 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:36:55 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:36:55 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:36:55 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:36:55 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:36:55 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:36:56 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:36:56 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:36:56 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:36:56 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:36:56 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:36:56 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:36:56 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:36:56 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:36:56 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 14:36:56 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 14:36:56 275 | const iot_component_factory_t * factory; 14:36:56 | ^~~~~~~ 14:36:56 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:36:56 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:36:56 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:36:56 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:36:56 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:36:57 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:36:57 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:36:57 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:36:57 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:36:57 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:36:57 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 14:36:57 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:36:57 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:36:57 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:36:57 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:36:57 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:36:57 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:36:57 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:36:58 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:36:58 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:36:58 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 14:36:58 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 14:36:58 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 14:36:58 | ^~~~~~~~~~~~~ 14:36:58 | | 14:36:58 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 14:36:58 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:36:58 /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 *)' 14:36:58 2784 | MHD_KeyValueIterator iterator, 14:36:58 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 14:36:58 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 14:36:58 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:36:58 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 14:36:58 | ^~~~~~~~~~~~ 14:36:58 | | 14:36:58 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 14:36:58 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:36:58 /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 **)'} 14:36:58 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:36:58 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:36:58 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:36:58 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 14:36:58 | ^~~~~~~~~~~~ 14:36:58 | | 14:36:58 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 14:36:58 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:36:58 /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 **)'} 14:36:58 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:36:58 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:36:58 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:36:58 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:36:58 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:36:58 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:36:58 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:36:58 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:36:59 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:36:59 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:36:59 [ 76%] Linking C shared library libcsdk.so 14:36:59 [ 76%] Built target csdk 14:36:59 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:36:59 [ 79%] Linking C executable template 14:36:59 [ 79%] Built target template 14:36:59 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:36:59 [ 82%] Linking C executable device-counter 14:36:59 [ 82%] Built target device-counter 14:36:59 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:36:59 [ 85%] Linking C executable device-random 14:36:59 [ 85%] Built target device-random 14:36:59 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:36:59 [ 88%] Linking C executable device-gyro 14:36:59 [ 88%] Built target device-gyro 14:36:59 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:36:59 [ 91%] Linking C executable device-bitfields 14:37:00 [ 91%] Built target device-bitfields 14:37:00 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:37:00 [ 94%] Linking C executable template-discovery 14:37:00 [ 94%] Built target template-discovery 14:37:00 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:37:00 [ 97%] Linking C executable device-file 14:37:00 [ 97%] Built target device-file 14:37:00 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:37:00 [100%] Linking C executable device-terminal 14:37:00 [100%] Built target device-terminal 14:37:00 make: Entering directory '/tmp/sdk/build/release' 14:37:00 make[1]: Entering directory '/tmp/sdk/build/release' 14:37:00 make[2]: Entering directory '/tmp/sdk/build/release' 14:37:00 make[2]: Leaving directory '/tmp/sdk/build/release' 14:37:00 [ 76%] Built target csdk 14:37:00 make[2]: Entering directory '/tmp/sdk/build/release' 14:37:00 make[2]: Leaving directory '/tmp/sdk/build/release' 14:37:00 [ 79%] Built target template 14:37:00 make[2]: Entering directory '/tmp/sdk/build/release' 14:37:00 make[2]: Leaving directory '/tmp/sdk/build/release' 14:37:00 [ 82%] Built target device-counter 14:37:00 make[2]: Entering directory '/tmp/sdk/build/release' 14:37:00 make[2]: Leaving directory '/tmp/sdk/build/release' 14:37:00 [ 85%] Built target device-random 14:37:00 make[2]: Entering directory '/tmp/sdk/build/release' 14:37:00 make[2]: Leaving directory '/tmp/sdk/build/release' 14:37:00 [ 88%] Built target device-gyro 14:37:00 make[2]: Entering directory '/tmp/sdk/build/release' 14:37:00 make[2]: Leaving directory '/tmp/sdk/build/release' 14:37:00 [ 91%] Built target device-bitfields 14:37:00 make[2]: Entering directory '/tmp/sdk/build/release' 14:37:00 make[2]: Leaving directory '/tmp/sdk/build/release' 14:37:00 [ 94%] Built target template-discovery 14:37:00 make[2]: Entering directory '/tmp/sdk/build/release' 14:37:00 make[2]: Leaving directory '/tmp/sdk/build/release' 14:37:00 [ 97%] Built target device-file 14:37:00 make[2]: Entering directory '/tmp/sdk/build/release' 14:37:00 make[2]: Leaving directory '/tmp/sdk/build/release' 14:37:00 [100%] Built target device-terminal 14:37:00 make[1]: Leaving directory '/tmp/sdk/build/release' 14:37:00 Install the project... 14:37:00 -- Install configuration: "Release" 14:37:00 -- Installing: /usr/local/lib/libcsdk.so 14:37:00 -- Installing: /usr/local/include 14:37:00 -- Installing: /usr/local/include/edgex 14:37:00 -- Installing: /usr/local/include/edgex/profiles.h 14:37:00 -- Installing: /usr/local/include/edgex/edgex.h 14:37:00 -- Installing: /usr/local/include/edgex/rest-server.h 14:37:00 -- Installing: /usr/local/include/edgex/edgex-base.h 14:37:00 -- Installing: /usr/local/include/edgex/devices.h 14:37:00 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:37:00 -- Installing: /usr/local/include/devsdk 14:37:00 -- Installing: /usr/local/include/devsdk/devsdk.h 14:37:00 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:37:00 -- Installing: /usr/local/include/iot 14:37:00 -- Installing: /usr/local/include/iot/thread.h 14:37:00 -- Installing: /usr/local/include/iot/hash.h 14:37:00 -- Installing: /usr/local/include/iot/typecode.h 14:37:00 -- Installing: /usr/local/include/iot/threadpool.h 14:37:00 -- Installing: /usr/local/include/iot/uuid.h 14:37:00 -- Installing: /usr/local/include/iot/logger.h 14:37:00 -- Installing: /usr/local/include/iot/config.h 14:37:00 -- Installing: /usr/local/include/iot/os.h 14:37:00 -- Installing: /usr/local/include/iot/container.h 14:37:00 -- Installing: /usr/local/include/iot/scheduler.h 14:37:00 -- Installing: /usr/local/include/iot/defs.h 14:37:00 -- Installing: /usr/local/include/iot/iot.h 14:37:00 -- Installing: /usr/local/include/iot/component.h 14:37:00 -- Installing: /usr/local/include/iot/os 14:37:00 -- Installing: /usr/local/include/iot/os/linux.h 14:37:00 -- Installing: /usr/local/include/iot/os/zephyr.h 14:37:00 -- Installing: /usr/local/include/iot/os/macos.h 14:37:00 -- Installing: /usr/local/include/iot/base64.h 14:37:00 -- Installing: /usr/local/include/iot/time.h 14:37:00 -- Installing: /usr/local/include/iot/data.h 14:37:00 -- Installing: /usr/local/include/iot/json.h 14:37:00 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:37:00 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:37:00 make: Leaving directory '/tmp/sdk/build/release' 14:37:01 Removing intermediate container aa4182a5ac3e 14:37:01 ---> 53c488d98c83 14:37:01 Step 14/22 : FROM ${BASE} 14:37:01 ---> c9e13ccc37c5 14:37:01 Step 15/22 : LABEL maintainer="IOTech " 14:37:01 ---> Running in 40ac33a84086 14:37:01 Removing intermediate container 40ac33a84086 14:37:01 ---> 381a1d168b36 14:37:01 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 14:37:01 ---> Running in 8460b0deea37 14:37:01 Connecting to iotech.jfrog.io (52.49.191.191:443) 14:37:01 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:37:01 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:37:01 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:37:02 Removing intermediate container 8460b0deea37 14:37:02 ---> f752a4f8a2c2 14:37:02 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 14:37:02 ---> Running in 1772dfa878f5 14:37:02 Removing intermediate container 1772dfa878f5 14:37:02 ---> 9d31a3f08dfa 14:37:02 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 14:37:02 ---> Running in cc1dbfe8288e 14:37:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:37:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:37:04 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 14:37:04 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:37:04 (1/6) Installing curl (7.80.0-r0) 14:37:04 (2/6) Installing hiredis (1.0.2-r0) 14:37:04 (3/6) Installing hiredis-dev (1.0.2-r0) 14:37:04 (4/6) Installing libcbor (0.8.0-r0) 14:37:05 (5/6) Installing libuuid (2.37.4-r0) 14:37:05 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 14:37:06 Executing busybox-1.34.1-r3.trigger 14:37:06 OK: 283 MiB in 83 packages 14:37:06 Removing intermediate container cc1dbfe8288e 14:37:06 ---> 0ca972493a1d 14:37:06 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:37:06 ---> 4e94e48d8b4c 14:37:06 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:37:06 ---> c624341d228e 14:37:06 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:37:06 ---> 0f4a82c2614b 14:37:06 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:37:06 ---> c77c317203a7 14:37:06 Successfully built c77c317203a7 14:37:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:37:07 + docker inspect -f . ci-base-image-x86_64 14:37:07 . [Pipeline] withDockerContainer 14:37:07 prd-ubuntu20.04-docker-8c-8g-7974 does not seem to be running inside a container 14:37:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-404 -v /w/workspace/edgexfoundry_device-sdk-c_PR-404:/w/workspace/edgexfoundry_device-sdk-c_PR-404:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:37:07 $ docker top 84010de6b1d49161664284923cb8479a41d5f627aa0e407e547a4e610991e0a2 -eo pid,comm [Pipeline] { [Pipeline] sh 14:37:08 + make test 14:37:08 echo "make test" 14:37:08 make test [Pipeline] } 14:37:08 $ docker stop --time=1 84010de6b1d49161664284923cb8479a41d5f627aa0e407e547a4e610991e0a2 14:37:09 $ docker rm -f 84010de6b1d49161664284923cb8479a41d5f627aa0e407e547a4e610991e0a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:37:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:37:10 + ls -al . 14:37:10 total 208 14:37:10 drwxrwxr-x 9 jenkins jenkins 4096 Mar 18 14:36 . 14:37:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 14:36 .. 14:37:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 14:36 .git 14:37:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 14:36 .github 14:37:10 -rw-rw-r-- 1 jenkins jenkins 176 Mar 18 14:36 .gitignore 14:37:10 drwx------ 3 jenkins jenkins 4096 Mar 18 14:36 .semver 14:37:10 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 18 14:36 Attribution.txt 14:37:10 -rw-rw-r-- 1 jenkins jenkins 8260 Mar 18 14:36 CHANGES 14:37:10 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 18 14:36 Doxyfile 14:37:10 -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 14:36 GOVERNANCE.md 14:37:10 -rw-rw-r-- 1 jenkins jenkins 784 Mar 18 14:36 Jenkinsfile 14:37:10 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 18 14:36 LICENSE 14:37:10 -rw-rw-r-- 1 jenkins jenkins 444 Mar 18 14:36 Makefile 14:37:10 -rw-rw-r-- 1 jenkins jenkins 618 Mar 18 14:36 OWNERS.md 14:37:10 -rw-rw-r-- 1 jenkins jenkins 4086 Mar 18 14:36 README.md 14:37:10 -rw-rw-r-- 1 jenkins jenkins 7422 Mar 18 14:36 README.v2.md 14:37:10 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 14:36 VERSION 14:37:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 14:36 docs 14:37:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 14:36 include 14:37:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 14:36 scripts 14:37:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 14:36 src [Pipeline] isUnix [Pipeline] sh 14:37:10 + 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=342cb0defea55b91bcaf06a94818d65ade22a939 --label arch=amd64 --label version=0.0.0 . 14:37:10 Sending build context to Docker daemon 4.533MB 14:37:10 Step 1/17 : ARG BASE=alpine:3.15 14:37:10 Step 2/17 : FROM ${BASE} 14:37:10 ---> c77c317203a7 14:37:10 Step 3/17 : LABEL maintainer="IOTech " 14:37:10 ---> Running in af49c491222e 14:37:10 Removing intermediate container af49c491222e 14:37:10 ---> 72f0b779f32b 14:37:10 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:37:10 ---> Running in 3b4c66df95a4 14:37:11 Connecting to iotech.jfrog.io (52.49.191.191:443) 14:37:11 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:37:11 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:37:11 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:37:11 Removing intermediate container 3b4c66df95a4 14:37:11 ---> df58bd94b4d6 14:37:11 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 14:37:11 ---> Running in 11169fcd38ce 14:37:12 Removing intermediate container 11169fcd38ce 14:37:12 ---> af66711dd5aa 14:37:12 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 14:37:12 ---> Running in 70fde35c2403 14:37:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:37:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:37:13 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 14:37:14 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:37:14 (1/26) Installing libcbor-dev (0.8.0-r0) 14:37:14 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 14:37:14 (3/26) Installing util-linux (2.37.4-r0) 14:37:14 (4/26) Installing libblkid (2.37.4-r0) 14:37:14 (5/26) Installing libeconf (0.4.2-r0) 14:37:14 (6/26) Installing libfdisk (2.37.4-r0) 14:37:14 (7/26) Installing libmount (2.37.4-r0) 14:37:14 (8/26) Installing libsmartcols (2.37.4-r0) 14:37:14 (9/26) Installing util-linux-misc (2.37.4-r0) 14:37:15 (10/26) Installing linux-pam (1.5.2-r0) 14:37:15 (11/26) Installing runuser (2.37.4-r0) 14:37:15 (12/26) Installing hexdump (2.37.4-r0) 14:37:15 (13/26) Installing uuidgen (2.37.4-r0) 14:37:15 (14/26) Installing blkid (2.37.4-r0) 14:37:15 (15/26) Installing sfdisk (2.37.4-r0) 14:37:15 (16/26) Installing mcookie (2.37.4-r0) 14:37:15 (17/26) Installing wipefs (2.37.4-r0) 14:37:15 (18/26) Installing cfdisk (2.37.4-r0) 14:37:15 (19/26) Installing flock (2.37.4-r0) 14:37:15 (20/26) Installing lsblk (2.37.4-r0) 14:37:16 (21/26) Installing libcap-ng (0.8.2-r1) 14:37:16 (22/26) Installing setpriv (2.37.4-r0) 14:37:16 (23/26) Installing logger (2.37.4-r0) 14:37:16 (24/26) Installing partx (2.37.4-r0) 14:37:16 (25/26) Installing findmnt (2.37.4-r0) 14:37:16 (26/26) Installing util-linux-dev (2.37.4-r0) 14:37:16 Executing busybox-1.34.1-r3.trigger 14:37:16 OK: 294 MiB in 109 packages 14:37:17 Removing intermediate container 70fde35c2403 14:37:17 ---> 8aaa1979caed 14:37:17 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:37:17 ---> b3e5b8bc3e8a 14:37:17 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:37:17 ---> 652fd6e23431 14:37:17 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:37:17 ---> dc6a37ecdd79 14:37:17 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:37:17 ---> fe19592f287c 14:37:17 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:37:17 ---> 5d13b23d3029 14:37:17 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:37:17 ---> 583ab63d53be 14:37:17 Step 13/17 : WORKDIR /edgex-c-sdk 14:37:17 ---> Running in 56f660fc8ac4 14:37:18 Removing intermediate container 56f660fc8ac4 14:37:18 ---> 9fd860958951 14:37:18 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:37:18 ---> Running in 40eb19251ab6 14:37:18 Removing intermediate container 40eb19251ab6 14:37:18 ---> 2f75dbb99224 14:37:18 Step 15/17 : LABEL arch=amd64 14:37:18 ---> Running in 5b7bc31cab34 14:37:18 Removing intermediate container 5b7bc31cab34 14:37:18 ---> 3a5b30c8b4cb 14:37:18 Step 16/17 : LABEL git_sha=342cb0defea55b91bcaf06a94818d65ade22a939 14:37:18 ---> Running in 6a94bec068e1 14:37:18 Removing intermediate container 6a94bec068e1 14:37:18 ---> b7b82ea6a3f8 14:37:18 Step 17/17 : LABEL version=0.0.0 14:37:18 ---> Running in 7e7fac962d63 14:37:18 Removing intermediate container 7e7fac962d63 14:37:18 ---> 54ac38f03636 14:37:18 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:37:18 Successfully built 54ac38f03636 14:37:18 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:37:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:37:19 14:37:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:37:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:37:19 latest: Pulling from edgex-lftools-log-publisher 14:37:19 5eb5b503b376: Pulling fs layer 14:37:19 5c69ac0246d0: Pulling fs layer 14:37:19 ec43610c2a17: Pulling fs layer 14:37:19 3a2ae6a8a46f: Pulling fs layer 14:37:19 33b1e0a273af: Pulling fs layer 14:37:19 5d3b04190fa2: Pulling fs layer 14:37:19 2f39f015ded8: Pulling fs layer 14:37:19 33b1e0a273af: Waiting 14:37:19 5d3b04190fa2: Waiting 14:37:19 2f39f015ded8: Waiting 14:37:19 3a2ae6a8a46f: Waiting 14:37:19 5c69ac0246d0: Verifying Checksum 14:37:19 5c69ac0246d0: Download complete 14:37:19 3a2ae6a8a46f: Verifying Checksum 14:37:19 3a2ae6a8a46f: Download complete 14:37:19 33b1e0a273af: Verifying Checksum 14:37:19 33b1e0a273af: Download complete 14:37:19 5d3b04190fa2: Verifying Checksum 14:37:19 5d3b04190fa2: Download complete 14:37:19 ec43610c2a17: Download complete 14:37:19 5eb5b503b376: Verifying Checksum 14:37:19 5eb5b503b376: Download complete 14:37:20 2f39f015ded8: Download complete 14:37:20 5eb5b503b376: Pull complete 14:37:20 5c69ac0246d0: Pull complete 14:37:21 ec43610c2a17: Pull complete 14:37:21 3a2ae6a8a46f: Pull complete 14:37:21 33b1e0a273af: Pull complete 14:37:21 5d3b04190fa2: Pull complete 14:37:25 2f39f015ded8: Pull complete 14:37:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:37:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:37:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:37:25 prd-ubuntu20.04-docker-8c-8g-7974 does not seem to be running inside a container 14:37:25 $ 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_PR-404 -v /w/workspace/edgexfoundry_device-sdk-c_PR-404:/w/workspace/edgexfoundry_device-sdk-c_PR-404:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:37:27 $ docker top 73e3c8608f0ede440d61faf8ffe7054608614243a967068b1da763105a0aab64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:37:27 ---> job-cost.sh 14:37:27 lf-activate-venv: SKIPPING 14:37:27 INFO: No Stack... 14:37:28 INFO: Retrieving Pricing Info for: v3-standard-8 14:37:28 INFO: Archiving Costs [Pipeline] sh 14:37:28 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives/cost.csv 14:37:28 + cut -d, -f6 [Pipeline] lock 14:37:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-404-2-stack-cost] 14:37:28 Resource [jenkins-edgexfoundry-device-sdk-c-PR-404-2-stack-cost] did not exist. Created. 14:37:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-404-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:37:29 + echo total: 0.2199999988079071 [Pipeline] stash 14:37:29 Stashed 1 file(s) [Pipeline] } 14:37:29 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-404-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:37:29 $ docker stop --time=1 73e3c8608f0ede440d61faf8ffe7054608614243a967068b1da763105a0aab64 14:37:30 $ docker rm -f 73e3c8608f0ede440d61faf8ffe7054608614243a967068b1da763105a0aab64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:40:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7975 in /w/workspace/edgexfoundry_device-sdk-c_PR-404 [Pipeline] { [Pipeline] ws 14:40:22 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 14:40:22 Selected Git installation does not exist. Using Default 14:40:22 The recommended git tool is: NONE 14:40:30 using credential edgex-jenkins-ssh 14:40:30 Cloning the remote Git repository 14:40:30 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:40:30 > git init /w/workspace/device-sdk-c/2 # timeout=10 14:40:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:40:30 > git --version # timeout=10 14:40:30 > git --version # 'git version 2.25.1' 14:40:30 using GIT_SSH to set credentials SSH Credentials for GitHub 14:40:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:40:33 Merging remotes/origin/main commit 48c08245ad9168b435c5e70f99b42d590e34b603 into PR head commit 342cb0defea55b91bcaf06a94818d65ade22a939 14:40:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:40:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:40:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:40:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:40:32 using GIT_SSH to set credentials SSH Credentials for GitHub 14:40:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:40:33 > git config core.sparsecheckout # timeout=10 14:40:33 Merge succeeded, producing 342cb0defea55b91bcaf06a94818d65ade22a939 14:40:33 Checking out Revision 342cb0defea55b91bcaf06a94818d65ade22a939 (PR-404) 14:40:33 > git checkout -f 342cb0defea55b91bcaf06a94818d65ade22a939 # timeout=10 14:40:33 > git remote # timeout=10 14:40:33 > git config --get remote.origin.url # timeout=10 14:40:33 using GIT_SSH to set credentials SSH Credentials for GitHub 14:40:33 > git merge 48c08245ad9168b435c5e70f99b42d590e34b603 # timeout=10 14:40:33 > git rev-parse HEAD^{commit} # timeout=10 14:40:33 > git config core.sparsecheckout # timeout=10 14:40:33 > git checkout -f 342cb0defea55b91bcaf06a94818d65ade22a939 # timeout=10 14:40:38 Commit message: "feat: upload secrets from file" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:40:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:40:39 % Total % Received % Xferd Average Speed Time Time Time Current 14:40:39 Dload Upload Total Spent Left Speed 14:40:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47754 0 --:--:-- --:--:-- --:--:-- 47754 [Pipeline] sh 14:40:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:40:40 + sudo tee /etc/docker/daemon.new 14:40:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:40:40 { 14:40:40 "registry-mirrors": [ 14:40:40 "https://nexus3.edgexfoundry.org:10001" 14:40:40 ], 14:40:40 "bip": "10.250.0.254/24", 14:40:40 "hosts": [ 14:40:40 "tcp://0.0.0.0:5555", 14:40:40 "unix:///var/run/docker.sock" 14:40:40 ], 14:40:40 "mtu": 1458, 14:40:40 "selinux-enabled": true, 14:40:40 "seccomp-profile": "/etc/docker/seccomp.json" 14:40:40 } [Pipeline] sh 14:40:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:40:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:40:59 provisioning config files... 14:40:59 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config338796089425362537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:40:59 ---> docker-login.sh 14:40:59 nexus3.edgexfoundry.org:10001 14:41:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:41:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:41:00 Configure a credential helper to remove this warning. See 14:41:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:41:00 14:41:00 Login Succeeded 14:41:00 nexus3.edgexfoundry.org:10002 14:41:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:41:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:41:00 Configure a credential helper to remove this warning. See 14:41:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:41:00 14:41:00 Login Succeeded 14:41:00 nexus3.edgexfoundry.org:10003 14:41:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:41:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:41:01 Configure a credential helper to remove this warning. See 14:41:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:41:01 14:41:01 Login Succeeded 14:41:01 nexus3.edgexfoundry.org:10004 14:41:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:41:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:41:01 Configure a credential helper to remove this warning. See 14:41:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:41:01 14:41:01 Login Succeeded 14:41:01 docker.io 14:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:41:02 Configure a credential helper to remove this warning. See 14:41:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:41:02 14:41:02 Login Succeeded 14:41:02 ---> docker-login.sh ends [Pipeline] } 14:41:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:41:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:41:03 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 14:41:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:41:03 ========================================================= 14:41:03 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:41:03 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:41:03 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 14:41:03 Sending build context to Docker daemon 2.768MB 14:41:04 Step 1/22 : ARG BASE=alpine:3.15 14:41:04 Step 2/22 : FROM ${BASE} as builder 14:41:04 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:41:04 9b3977197b4f: Pulling fs layer 14:41:04 2a93055cfd06: Pulling fs layer 14:41:04 ff5fdaca7850: Pulling fs layer 14:41:04 2a93055cfd06: Verifying Checksum 14:41:04 2a93055cfd06: Download complete 14:41:04 9b3977197b4f: Verifying Checksum 14:41:04 9b3977197b4f: Download complete 14:41:05 9b3977197b4f: Pull complete 14:41:05 2a93055cfd06: Pull complete 14:41:06 ff5fdaca7850: Verifying Checksum 14:41:06 ff5fdaca7850: Download complete 14:41:14 ff5fdaca7850: Pull complete 14:41:14 Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da 14:41:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:41:14 ---> 0af3d9908a83 14:41:14 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 14:41:15 ---> Running in 551ca09977d2 14:41:16 Connecting to iotech.jfrog.io (34.246.230.219:443) 14:41:17 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:41:17 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:41:17 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:41:17 Removing intermediate container 551ca09977d2 14:41:17 ---> a64bd63b60ae 14:41:17 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 14:41:18 ---> Running in 743fdb0563d9 14:41:19 Removing intermediate container 743fdb0563d9 14:41:19 ---> 1cddc173e72b 14:41:19 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 14:41:19 ---> Running in 9a6d3de89f56 14:41:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:41:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:41:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 14:41:22 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:41:22 (1/31) Installing hiredis (1.0.2-r0) 14:41:22 (2/31) Installing hiredis-dev (1.0.2-r0) 14:41:22 (3/31) Installing libcbor (0.8.0-r0) 14:41:22 (4/31) Installing libcbor-dev (0.8.0-r0) 14:41:23 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 14:41:23 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 14:41:24 (7/31) Installing util-linux (2.37.4-r0) 14:41:24 (8/31) Installing libblkid (2.37.4-r0) 14:41:25 (9/31) Installing libeconf (0.4.2-r0) 14:41:25 (10/31) Installing libuuid (2.37.4-r0) 14:41:25 (11/31) Installing libfdisk (2.37.4-r0) 14:41:25 (12/31) Installing libmount (2.37.4-r0) 14:41:25 (13/31) Installing libsmartcols (2.37.4-r0) 14:41:25 (14/31) Installing util-linux-misc (2.37.4-r0) 14:41:25 (15/31) Installing linux-pam (1.5.2-r0) 14:41:25 (16/31) Installing runuser (2.37.4-r0) 14:41:26 (17/31) Installing hexdump (2.37.4-r0) 14:41:26 (18/31) Installing uuidgen (2.37.4-r0) 14:41:26 (19/31) Installing blkid (2.37.4-r0) 14:41:26 (20/31) Installing sfdisk (2.37.4-r0) 14:41:26 (21/31) Installing mcookie (2.37.4-r0) 14:41:26 (22/31) Installing wipefs (2.37.4-r0) 14:41:26 (23/31) Installing cfdisk (2.37.4-r0) 14:41:26 (24/31) Installing flock (2.37.4-r0) 14:41:26 (25/31) Installing lsblk (2.37.4-r0) 14:41:26 (26/31) Installing libcap-ng (0.8.2-r1) 14:41:26 (27/31) Installing setpriv (2.37.4-r0) 14:41:26 (28/31) Installing logger (2.37.4-r0) 14:41:26 (29/31) Installing partx (2.37.4-r0) 14:41:27 (30/31) Installing findmnt (2.37.4-r0) 14:41:27 (31/31) Installing util-linux-dev (2.37.4-r0) 14:41:27 Executing busybox-1.34.1-r3.trigger 14:41:27 OK: 289 MiB in 108 packages 14:41:28 Removing intermediate container 9a6d3de89f56 14:41:28 ---> 210419446b39 14:41:28 Step 6/22 : RUN mkdir /tmp/sdk 14:41:28 ---> Running in d478a6f7071c 14:41:30 Removing intermediate container d478a6f7071c 14:41:30 ---> de3b86c6cd12 14:41:30 Step 7/22 : COPY VERSION /tmp/sdk 14:41:31 ---> 57b6a733978f 14:41:31 Step 8/22 : COPY src /tmp/sdk/src 14:41:31 ---> d224580fd75c 14:41:31 Step 9/22 : COPY include /tmp/sdk/include 14:41:32 ---> a0db57ef30dd 14:41:32 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:41:33 ---> 56bb8c454b38 14:41:33 Step 11/22 : COPY LICENSE /tmp/sdk 14:41:33 ---> de3cfd011942 14:41:33 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:41:34 ---> aea6ecbd3916 14:41:34 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:41:34 ---> Running in fee91c3eb98b 14:41:35 + CPPCHECK=false 14:41:35 + DOCGEN=false 14:41:35 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:41:35 + TOMLVER=SDK-0.2 14:41:35 + CUTILVER=1.2.2 14:41:35 + '[' 0 -gt 0 ] 14:41:35 + readlink -f ./scripts/build.sh 14:41:35 + dirname /tmp/sdk/scripts/build.sh 14:41:35 + dirname /tmp/sdk/scripts 14:41:35 + ROOT=/tmp/sdk 14:41:35 + cd /tmp/sdk 14:41:35 + '[' '!' -d deps ] 14:41:35 + mkdir deps 14:41:35 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:41:35 + tar -C deps -z -x -f - 14:41:35 Connecting to github.com (140.82.112.4:443) 14:41:35 Connecting to codeload.github.com (140.82.113.9:443) 14:41:35 writing to stdout 14:41:35 - 100% |********************************| 16451 0:00:00 ETA 14:41:35 written to stdout 14:41:35 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:41:35 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 14:41:35 + tar -C deps -z -x -f - 14:41:35 Connecting to github.com (140.82.112.4:443) 14:41:35 Connecting to codeload.github.com (140.82.113.9:443) 14:41:36 writing to stdout 14:41:36 - 100% |********************************| 189k 0:00:00 ETA 14:41:36 written to stdout 14:41:36 + mkdir -p src/c/iot 14:41: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 14:41:36 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 14:41:36 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 14:41:36 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 14:41:36 + mkdir -p include/iot 14:41: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 14:41:36 + mkdir -p include/iot/os 14:41: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 14:41:36 + mkdir -p /tmp/sdk/build/release 14:41:36 + cd /tmp/sdk/build/release 14:41:36 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:41:36 -- The C compiler identification is GNU 10.3.1 14:41:36 -- Detecting C compiler ABI info 14:41:36 -- Detecting C compiler ABI info - done 14:41:37 -- Check for working C compiler: /usr/bin/cc - skipped 14:41:37 -- Detecting C compile features 14:41:37 -- Detecting C compile features - done 14:41:37 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:41:37 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 14:41:37 -- Found LIBYAML: /usr/lib/libyaml.so 14:41:37 -- Found LIBUUID: /usr/lib/libuuid.so 14:41:37 -- Found LIBCBOR: /usr/lib/libcbor.so 14:41:37 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:41:37 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:41:37 -- C SDK 0.0.0 for Linux 14:41:37 -- Performing Test CSDK_HAVE_ATOMIC 14:41:37 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:41:37 -- Found Curses: /usr/lib/libcurses.so 14:41:37 -- Configuring done 14:41:38 -- Generating done 14:41:38 -- Build files have been written to: /tmp/sdk/build/release 14:41:38 + make all package 14:41:38 + tee release.log 14:41:38 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:41:39 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:41:40 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:41:42 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:41:43 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:41:43 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:41:44 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:41:45 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:41:45 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:41:46 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:41:49 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:41:49 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:41:50 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:41:51 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:41:51 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:41:52 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:41:52 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:41:55 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:41:55 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:41:56 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:41:56 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:41:57 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:41:57 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 14:41:57 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 14:41:57 275 | const iot_component_factory_t * factory; 14:41:57 | ^~~~~~~ 14:41:58 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:42:03 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:42:03 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:42:03 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:42:04 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:42:05 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:42:05 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:42:06 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:42:07 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:42:08 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:42:08 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 14:42:08 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:42:11 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:42:11 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:42:13 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:42:13 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:42:18 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:42:18 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:42:19 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:42:20 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:42:20 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 14:42:20 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 14:42:20 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 14:42:20 | ^~~~~~~~~~~~~ 14:42:20 | | 14:42:20 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 14:42:20 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:42:20 /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 *)' 14:42:20 2784 | MHD_KeyValueIterator iterator, 14:42:20 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 14:42:20 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 14:42:20 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:42:20 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 14:42:20 | ^~~~~~~~~~~~ 14:42:20 | | 14:42:20 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 14:42:20 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:42:20 /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 **)'} 14:42:20 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:42:20 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:42:20 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:42:20 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 14:42:20 | ^~~~~~~~~~~~ 14:42:20 | | 14:42:20 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 14:42:20 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:42:20 /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 **)'} 14:42:20 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:42:20 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:42:20 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:42:23 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:42:23 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:42:24 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:42:25 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:42:27 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:42:31 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:42:32 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:42:33 [ 76%] Linking C shared library libcsdk.so 14:42:33 [ 76%] Built target csdk 14:42:33 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:42:34 [ 79%] Linking C executable template 14:42:34 [ 79%] Built target template 14:42:34 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:42:35 [ 82%] Linking C executable device-counter 14:42:35 [ 82%] Built target device-counter 14:42:35 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:42:36 [ 85%] Linking C executable device-random 14:42:36 [ 85%] Built target device-random 14:42:36 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:42:37 [ 88%] Linking C executable device-gyro 14:42:37 [ 88%] Built target device-gyro 14:42:37 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:42:37 [ 91%] Linking C executable device-bitfields 14:42:38 [ 91%] Built target device-bitfields 14:42:38 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:42:39 [ 94%] Linking C executable template-discovery 14:42:39 [ 94%] Built target template-discovery 14:42:39 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:42:40 [ 97%] Linking C executable device-file 14:42:40 [ 97%] Built target device-file 14:42:40 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:42:41 [100%] Linking C executable device-terminal 14:42:41 [100%] Built target device-terminal 14:42:41 Run CPack packaging tool... 14:42:41 CPack: Create package using TGZ 14:42:41 CPack: Install projects 14:42:41 CPack: - Run preinstall target for: Csdk 14:42:42 CPack: - Install project: Csdk [] 14:42:42 CPack: Create package 14:42:42 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:42:42 + '[' false '=' true ] 14:42:42 + '[' false '=' true ] 14:42:42 + mkdir -p /tmp/sdk/build/debug 14:42:42 + cd /tmp/sdk/build/debug 14:42:42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:42:42 -- The C compiler identification is GNU 10.3.1 14:42:42 -- Detecting C compiler ABI info 14:42:43 -- Detecting C compiler ABI info - done 14:42:43 -- Check for working C compiler: /usr/bin/cc - skipped 14:42:43 -- Detecting C compile features 14:42:43 -- Detecting C compile features - done 14:42:43 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:42:43 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 14:42:43 -- Found LIBYAML: /usr/lib/libyaml.so 14:42:43 -- Found LIBUUID: /usr/lib/libuuid.so 14:42:43 -- Found LIBCBOR: /usr/lib/libcbor.so 14:42:43 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:42:43 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:42:43 -- C SDK 0.0.0 for Linux 14:42:43 -- Performing Test CSDK_HAVE_ATOMIC 14:42:43 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:42:43 -- Found Curses: /usr/lib/libcurses.so 14:42:44 -- Configuring done 14:42:44 -- Generating done 14:42:44 -- Build files have been written to: /tmp/sdk/build/debug 14:42:44 + make 14:42:44 + tee debug.log 14:42:44 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:42:45 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:42:45 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:42:45 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:42:46 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:42:46 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:42:47 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:42:47 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:42:47 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:42:48 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:42:48 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:42:49 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:42:49 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:42:49 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:42:50 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:42:50 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:42:50 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:42:51 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:42:51 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:42:51 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:42:52 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:42:52 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:42:52 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 14:42:52 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 14:42:52 275 | const iot_component_factory_t * factory; 14:42:52 | ^~~~~~~ 14:42:53 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:42:54 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:42:54 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:42:54 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:42:54 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:42:55 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:42:55 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:42:55 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:42:55 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:42:56 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:42:56 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 14:42:56 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:42:57 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:42:57 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:42:57 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:42:58 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:42:59 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:42:59 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:43:00 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:43:00 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:43:00 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 14:43:00 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 14:43:00 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 14:43:00 | ^~~~~~~~~~~~~ 14:43:00 | | 14:43:00 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 14:43:00 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:43:00 /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 *)' 14:43:00 2784 | MHD_KeyValueIterator iterator, 14:43:00 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 14:43:00 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 14:43:00 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:43:00 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 14:43:00 | ^~~~~~~~~~~~ 14:43:00 | | 14:43:00 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 14:43:00 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:43:00 /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 **)'} 14:43:00 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:43:00 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:43:00 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:43:00 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 14:43:00 | ^~~~~~~~~~~~ 14:43:00 | | 14:43:00 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 14:43:00 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:43:00 /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 **)'} 14:43:00 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:43:00 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:43:00 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:43:02 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:43:02 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:43:02 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:43:03 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:43:04 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:43:04 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:43:05 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:43:05 [ 76%] Linking C shared library libcsdk.so 14:43:05 [ 76%] Built target csdk 14:43:05 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:43:06 [ 79%] Linking C executable template 14:43:06 [ 79%] Built target template 14:43:06 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:43:06 [ 82%] Linking C executable device-counter 14:43:07 [ 82%] Built target device-counter 14:43:07 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:43:07 [ 85%] Linking C executable device-random 14:43:07 [ 85%] Built target device-random 14:43:07 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:43:08 [ 88%] Linking C executable device-gyro 14:43:08 [ 88%] Built target device-gyro 14:43:08 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:43:08 [ 91%] Linking C executable device-bitfields 14:43:08 [ 91%] Built target device-bitfields 14:43:08 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:43:09 [ 94%] Linking C executable template-discovery 14:43:09 [ 94%] Built target template-discovery 14:43:09 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:43:10 [ 97%] Linking C executable device-file 14:43:10 [ 97%] Built target device-file 14:43:10 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:43:10 [100%] Linking C executable device-terminal 14:43:10 [100%] Built target device-terminal 14:43:11 make: Entering directory '/tmp/sdk/build/release' 14:43:11 make[1]: Entering directory '/tmp/sdk/build/release' 14:43:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:11 [ 76%] Built target csdk 14:43:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:11 [ 79%] Built target template 14:43:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:11 [ 82%] Built target device-counter 14:43:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:11 [ 85%] Built target device-random 14:43:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:11 [ 88%] Built target device-gyro 14:43:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:11 [ 91%] Built target device-bitfields 14:43:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:11 [ 94%] Built target template-discovery 14:43:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:11 [ 97%] Built target device-file 14:43:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:11 [100%] Built target device-terminal 14:43:11 make[1]: Leaving directory '/tmp/sdk/build/release' 14:43:11 Install the project... 14:43:11 -- Install configuration: "Release" 14:43:11 -- Installing: /usr/local/lib/libcsdk.so 14:43:11 -- Installing: /usr/local/include 14:43:11 -- Installing: /usr/local/include/devsdk 14:43:11 -- Installing: /usr/local/include/devsdk/devsdk.h 14:43:11 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:43:11 -- Installing: /usr/local/include/edgex 14:43:11 -- Installing: /usr/local/include/edgex/rest-server.h 14:43:11 -- Installing: /usr/local/include/edgex/edgex.h 14:43:11 -- Installing: /usr/local/include/edgex/edgex-base.h 14:43:11 -- Installing: /usr/local/include/edgex/devices.h 14:43:11 -- Installing: /usr/local/include/edgex/profiles.h 14:43:11 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:43:11 -- Installing: /usr/local/include/iot 14:43:11 -- Installing: /usr/local/include/iot/threadpool.h 14:43:11 -- Installing: /usr/local/include/iot/defs.h 14:43:11 -- Installing: /usr/local/include/iot/time.h 14:43:11 -- Installing: /usr/local/include/iot/base64.h 14:43:11 -- Installing: /usr/local/include/iot/component.h 14:43:11 -- Installing: /usr/local/include/iot/scheduler.h 14:43:11 -- Installing: /usr/local/include/iot/config.h 14:43:11 -- Installing: /usr/local/include/iot/container.h 14:43:11 -- Installing: /usr/local/include/iot/uuid.h 14:43:11 -- Installing: /usr/local/include/iot/os.h 14:43:11 -- Installing: /usr/local/include/iot/thread.h 14:43:11 -- Installing: /usr/local/include/iot/data.h 14:43:11 -- Installing: /usr/local/include/iot/typecode.h 14:43:11 -- Installing: /usr/local/include/iot/hash.h 14:43:11 -- Installing: /usr/local/include/iot/logger.h 14:43:11 -- Installing: /usr/local/include/iot/os 14:43:11 -- Installing: /usr/local/include/iot/os/zephyr.h 14:43:11 -- Installing: /usr/local/include/iot/os/macos.h 14:43:11 -- Installing: /usr/local/include/iot/os/linux.h 14:43:11 -- Installing: /usr/local/include/iot/json.h 14:43:11 -- Installing: /usr/local/include/iot/iot.h 14:43:11 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:43:11 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:43:11 make: Leaving directory '/tmp/sdk/build/release' 14:43:13 Removing intermediate container fee91c3eb98b 14:43:13 ---> 0ee15da093d5 14:43:13 Step 14/22 : FROM ${BASE} 14:43:13 ---> 0af3d9908a83 14:43:13 Step 15/22 : LABEL maintainer="IOTech " 14:43:13 ---> Running in 6a1db4d3aee5 14:43:13 Removing intermediate container 6a1db4d3aee5 14:43:13 ---> 4a996a2d739c 14:43:13 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 14:43:13 ---> Running in ce8e0888923f 14:43:14 Connecting to iotech.jfrog.io (34.246.230.219:443) 14:43:14 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:43:14 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:43:14 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:43:15 Removing intermediate container ce8e0888923f 14:43:15 ---> 16f325aad56e 14:43:15 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 14:43:15 ---> Running in c44a976de2d8 14:43:17 Removing intermediate container c44a976de2d8 14:43:17 ---> 42457761565f 14:43:17 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 14:43:17 ---> Running in 87388a6eb14a 14:43:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:43:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:43:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 14:43:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:43:20 (1/6) Installing curl (7.80.0-r0) 14:43:20 (2/6) Installing hiredis (1.0.2-r0) 14:43:20 (3/6) Installing hiredis-dev (1.0.2-r0) 14:43:20 (4/6) Installing libcbor (0.8.0-r0) 14:43:20 (5/6) Installing libuuid (2.37.4-r0) 14:43:20 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 14:43:21 Executing busybox-1.34.1-r3.trigger 14:43:21 OK: 278 MiB in 83 packages 14:43:22 Removing intermediate container 87388a6eb14a 14:43:22 ---> 96e2c25686bc 14:43:22 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:43:23 ---> 24a4c5fa0824 14:43:23 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:43:23 ---> c51441755177 14:43:23 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:43:24 ---> 5ab5932c743c 14:43:24 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:43:24 ---> e71e43168a6b 14:43:24 Successfully built e71e43168a6b 14:43:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:43:24 + docker inspect -f . ci-base-image-arm64 14:43:24 . [Pipeline] withDockerContainer 14:43:25 prd-ubuntu20.04-docker-arm64-4c-16g-7975 does not seem to be running inside a container 14:43:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:43:26 $ docker top 29b9e01e567f64dd0574d57435e35ed067b5bee950054fcb3a0316ecfad29010 -eo pid,comm [Pipeline] { [Pipeline] sh 14:43:27 + make test 14:43:27 echo "make test" 14:43:27 make test [Pipeline] } 14:43:27 $ docker stop --time=1 29b9e01e567f64dd0574d57435e35ed067b5bee950054fcb3a0316ecfad29010 14:43:29 $ docker rm -f 29b9e01e567f64dd0574d57435e35ed067b5bee950054fcb3a0316ecfad29010 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:43:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:43:30 + ls -al . 14:43:30 total 204 14:43:30 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 14:40 . 14:43:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 14:40 .. 14:43:30 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 14:40 .git 14:43:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 14:40 .github 14:43:30 -rw-rw-r-- 1 jenkins jenkins 176 Mar 18 14:40 .gitignore 14:43:30 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 18 14:40 Attribution.txt 14:43:30 -rw-rw-r-- 1 jenkins jenkins 8260 Mar 18 14:40 CHANGES 14:43:30 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 18 14:40 Doxyfile 14:43:30 -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 14:40 GOVERNANCE.md 14:43:30 -rw-rw-r-- 1 jenkins jenkins 784 Mar 18 14:40 Jenkinsfile 14:43:30 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 18 14:40 LICENSE 14:43:30 -rw-rw-r-- 1 jenkins jenkins 444 Mar 18 14:40 Makefile 14:43:30 -rw-rw-r-- 1 jenkins jenkins 618 Mar 18 14:40 OWNERS.md 14:43:30 -rw-rw-r-- 1 jenkins jenkins 4086 Mar 18 14:40 README.md 14:43:30 -rw-rw-r-- 1 jenkins jenkins 7422 Mar 18 14:40 README.v2.md 14:43:30 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 14:36 VERSION 14:43:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 14:40 docs 14:43:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 14:40 include 14:43:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 14:40 scripts 14:43:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 14:40 src [Pipeline] isUnix [Pipeline] sh 14:43:30 + 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=342cb0defea55b91bcaf06a94818d65ade22a939 --label arch=arm64 --label version=0.0.0 . 14:43:31 Sending build context to Docker daemon 2.768MB 14:43:31 Step 1/17 : ARG BASE=alpine:3.15 14:43:31 Step 2/17 : FROM ${BASE} 14:43:31 ---> e71e43168a6b 14:43:31 Step 3/17 : LABEL maintainer="IOTech " 14:43:31 ---> Running in 25f4ed37cda1 14:43:31 Removing intermediate container 25f4ed37cda1 14:43:31 ---> 318c964b7c43 14:43:31 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:43:31 ---> Running in 8255028b309d 14:43:32 Connecting to iotech.jfrog.io (52.49.191.191:443) 14:43:32 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:43:32 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:43:32 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:43:33 Removing intermediate container 8255028b309d 14:43:33 ---> c5a416398206 14:43:33 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 14:43:33 ---> Running in 1de0a1687f36 14:43:34 Removing intermediate container 1de0a1687f36 14:43:34 ---> 1d38938e2d4e 14:43:34 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 14:43:34 ---> Running in 0d90c7c79c17 14:43:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:43:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:43:37 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 14:43:38 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:43:38 (1/26) Installing libcbor-dev (0.8.0-r0) 14:43:38 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 14:43:38 (3/26) Installing util-linux (2.37.4-r0) 14:43:38 (4/26) Installing libblkid (2.37.4-r0) 14:43:38 (5/26) Installing libeconf (0.4.2-r0) 14:43:38 (6/26) Installing libfdisk (2.37.4-r0) 14:43:38 (7/26) Installing libmount (2.37.4-r0) 14:43:38 (8/26) Installing libsmartcols (2.37.4-r0) 14:43:38 (9/26) Installing util-linux-misc (2.37.4-r0) 14:43:39 (10/26) Installing linux-pam (1.5.2-r0) 14:43:39 (11/26) Installing runuser (2.37.4-r0) 14:43:39 (12/26) Installing hexdump (2.37.4-r0) 14:43:39 (13/26) Installing uuidgen (2.37.4-r0) 14:43:39 (14/26) Installing blkid (2.37.4-r0) 14:43:39 (15/26) Installing sfdisk (2.37.4-r0) 14:43:39 (16/26) Installing mcookie (2.37.4-r0) 14:43:39 (17/26) Installing wipefs (2.37.4-r0) 14:43:40 (18/26) Installing cfdisk (2.37.4-r0) 14:43:40 (19/26) Installing flock (2.37.4-r0) 14:43:40 (20/26) Installing lsblk (2.37.4-r0) 14:43:40 (21/26) Installing libcap-ng (0.8.2-r1) 14:43:40 (22/26) Installing setpriv (2.37.4-r0) 14:43:40 (23/26) Installing logger (2.37.4-r0) 14:43:40 (24/26) Installing partx (2.37.4-r0) 14:43:40 (25/26) Installing findmnt (2.37.4-r0) 14:43:40 (26/26) Installing util-linux-dev (2.37.4-r0) 14:43:40 Executing busybox-1.34.1-r3.trigger 14:43:40 OK: 290 MiB in 109 packages 14:43:42 Removing intermediate container 0d90c7c79c17 14:43:42 ---> 1fb6bbca1d5c 14:43:42 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:43:42 ---> 76a78dac1ef0 14:43:42 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:43:43 ---> 0331671ff0f9 14:43:43 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:43:44 ---> 479c282d3fed 14:43:44 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:43:44 ---> a32ef96270f5 14:43:44 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:43:45 ---> db3abc720541 14:43:45 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:43:45 ---> c4385ae9990d 14:43:45 Step 13/17 : WORKDIR /edgex-c-sdk 14:43:45 ---> Running in 43becfaf4690 14:43:45 Removing intermediate container 43becfaf4690 14:43:45 ---> 4410b9a1b9f5 14:43:45 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:43:46 ---> Running in 2da2ee51d649 14:43:46 Removing intermediate container 2da2ee51d649 14:43:46 ---> 156ff53ab131 14:43:46 Step 15/17 : LABEL arch=arm64 14:43:46 ---> Running in 1bb7aaf8447f 14:43:46 Removing intermediate container 1bb7aaf8447f 14:43:46 ---> 2d96d38d0da6 14:43:46 Step 16/17 : LABEL git_sha=342cb0defea55b91bcaf06a94818d65ade22a939 14:43:46 ---> Running in c6fb5d749f71 14:43:47 Removing intermediate container c6fb5d749f71 14:43:47 ---> 51ceac53da86 14:43:47 Step 17/17 : LABEL version=0.0.0 14:43:47 ---> Running in d010b2812285 14:43:47 Removing intermediate container d010b2812285 14:43:47 ---> 45513f4d7cbf 14:43:47 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:43:47 Successfully built 45513f4d7cbf 14:43:47 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:43:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:43:48 14:43:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:43:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:43:48 arm64: Pulling from edgex-lftools-log-publisher 14:43:48 8998bd30e6a1: Pulling fs layer 14:43:48 04944245beec: Pulling fs layer 14:43:48 699f458cf7ca: Pulling fs layer 14:43:48 765212b225bb: Pulling fs layer 14:43:48 f23df028b6ca: Pulling fs layer 14:43:48 d65c8cfc05b1: Pulling fs layer 14:43:48 2437ff75d9bd: Pulling fs layer 14:43:48 765212b225bb: Waiting 14:43:48 f23df028b6ca: Waiting 14:43:48 d65c8cfc05b1: Waiting 14:43:48 2437ff75d9bd: Waiting 14:43:48 04944245beec: Verifying Checksum 14:43:48 04944245beec: Download complete 14:43:48 765212b225bb: Verifying Checksum 14:43:48 765212b225bb: Download complete 14:43:48 f23df028b6ca: Verifying Checksum 14:43:48 f23df028b6ca: Download complete 14:43:48 d65c8cfc05b1: Verifying Checksum 14:43:48 d65c8cfc05b1: Download complete 14:43:48 699f458cf7ca: Verifying Checksum 14:43:48 699f458cf7ca: Download complete 14:43:49 8998bd30e6a1: Verifying Checksum 14:43:49 8998bd30e6a1: Download complete 14:43:51 2437ff75d9bd: Verifying Checksum 14:43:51 2437ff75d9bd: Download complete 14:43:53 8998bd30e6a1: Pull complete 14:43:54 04944245beec: Pull complete 14:43:55 699f458cf7ca: Pull complete 14:43:55 765212b225bb: Pull complete 14:43:56 f23df028b6ca: Pull complete 14:43:57 d65c8cfc05b1: Pull complete 14:44:12 2437ff75d9bd: Pull complete 14:44:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:44:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:44:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:44:12 prd-ubuntu20.04-docker-arm64-4c-16g-7975 does not seem to be running inside a container 14:44:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:44:15 $ docker top 1a331ff848ae9f701f9661ef3592178eb0a9b2dc86beba9a68e76d9d502f8227 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:44:16 ---> job-cost.sh 14:44:16 lf-activate-venv: SKIPPING 14:44:16 INFO: No Stack... 14:44:16 INFO: Retrieving Pricing Info for: v3-standard-4 14:44:17 INFO: Archiving Costs [Pipeline] sh 14:44:17 + cut -d, -f6 14:44:17 + cat /w/workspace/device-sdk-c/2/archives/cost.csv [Pipeline] lock 14:44:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-404-2-stack-cost] 14:44:18 Resource [jenkins-edgexfoundry-device-sdk-c-PR-404-2-stack-cost] did not exist. Created. 14:44:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-404-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:44:18 /w/workspace/device-sdk-c/2@tmp/durable-bb24dab0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:44:19 + echo total: 0.10999999940395355 [Pipeline] stash 14:44:19 Warning: overwriting stash ‘stack-cost’ 14:44:20 Stashed 1 file(s) [Pipeline] } 14:44:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-404-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:44:20 $ docker stop --time=1 1a331ff848ae9f701f9661ef3592178eb0a9b2dc86beba9a68e76d9d502f8227 14:44:21 $ docker rm -f 1a331ff848ae9f701f9661ef3592178eb0a9b2dc86beba9a68e76d9d502f8227 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:44:22 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives ] 14:44:22 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives 14:44:22 total 16 14:44:22 drwxr-xr-x 3 root root 4096 Mar 18 14:37 . 14:44:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 14:37 .. 14:44:22 drwxr-xr-x 2 root root 4096 Mar 18 14:37 cost 14:44:22 -rw-r--r-- 1 root root 83 Mar 18 14:37 cost.csv 14:44:22 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives 14:44:22 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives 14:44:22 total 16 14:44:22 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 14:37 . 14:44:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 14:37 .. 14:44:22 drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 14:37 cost 14:44:22 -rw-r--r-- 1 jenkins jenkins 83 Mar 18 14:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:44:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:44:23 ---> package-listing.sh 14:44:23 ++ facter osfamily 14:44:23 ++ tr '[:upper:]' '[:lower:]' 14:44:24 + OS_FAMILY=debian 14:44:24 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-404 14:44:24 + START_PACKAGES=/tmp/packages_start.txt 14:44:24 + END_PACKAGES=/tmp/packages_end.txt 14:44:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:44:24 + PACKAGES=/tmp/packages_start.txt 14:44:24 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-404 ']' 14:44:24 + PACKAGES=/tmp/packages_end.txt 14:44:24 + case "${OS_FAMILY}" in 14:44:24 + dpkg -l 14:44:24 + grep '^ii' 14:44:24 + '[' -f /tmp/packages_start.txt ']' 14:44:24 + '[' -f /tmp/packages_end.txt ']' 14:44:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:44:24 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-404 ']' 14:44:24 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives/ 14:44:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives/ [Pipeline] echo 14:44:24 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-404/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:44:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:44:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:44:24 . [Pipeline] withDockerContainer 14:44:24 prd-ubuntu20.04-docker-8c-8g-7974 does not seem to be running inside a container 14:44:25 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-404/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-404 -v /w/workspace/edgexfoundry_device-sdk-c_PR-404:/w/workspace/edgexfoundry_device-sdk-c_PR-404:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:44:25 $ docker top f3d755852104c45d91648a08bb7a6d07b12fba2d72432b0629a068f8c69404dc -eo pid,comm [Pipeline] { [Pipeline] sh 14:44:25 + touch /tmp/pre-build-complete [Pipeline] sh 14:44:25 + mkdir -p /var/log/sysstat [Pipeline] sh 14:44:26 + ls /var/log/sa-host 14:44:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:44:26 provisioning config files... 14:44:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/config6613907847104591018tmp [Pipeline] { [Pipeline] echo 14:44:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:44:26 ---> create-netrc.sh [Pipeline] } 14:44:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:44:26 ---> python-tools-install.sh [Pipeline] echo 14:44:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:44:27 ---> sudo-logs.sh 14:44:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:44:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:44:27 ---> job-cost.sh 14:44:27 lf-activate-venv: SKIPPING 14:44:27 DEBUG: total: 0.2199999988079071 14:44:27 INFO: Retrieving Stack Cost... 14:44:27 INFO: Retrieving Pricing Info for: v3-standard-8 14:44:28 INFO: Archiving Costs [Pipeline] echo 14:44:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:44:28 ---> logs-deploy.sh 14:44:28 lf-activate-venv: SKIPPING 14:44:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-404/2 14:44:28 INFO: archiving workspace using pattern(s): 14:44:29 Archives upload complete. 14:44:29 INFO: archiving logs to Nexus