Pull request #396 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 e05508a3cfac6281449c00e5bc1f9c19cdf5daef+8c74ffe4fc698c219175e751f1cca4a77f9c9083 (e794f6c16569f02fd56ef2628e7d9b654f256b1a) 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-ssh12021236844566153473.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4796208213392811025.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-396/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-396/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh861998842664769454.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10410905213989847143.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-396/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-396/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16610063931375549350.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4433 in /w/workspace/edgexfoundry_device-sdk-c_PR-396 [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-396 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/jenkins-gitclient-ssh5714448162362912219.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8c74ffe4fc698c219175e751f1cca4a77f9c9083 into PR head commit e05508a3cfac6281449c00e5bc1f9c19cdf5daef Merge succeeded, producing e05508a3cfac6281449c00e5bc1f9c19cdf5daef Checking out Revision e05508a3cfac6281449c00e5bc1f9c19cdf5daef (PR-396) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/jenkins-gitclient-ssh8466748576961273169.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e05508a3cfac6281449c00e5bc1f9c19cdf5daef # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/jenkins-gitclient-ssh157228778341067364.key > git merge 8c74ffe4fc698c219175e751f1cca4a77f9c9083 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e05508a3cfac6281449c00e5bc1f9c19cdf5daef # timeout=10 Commit message: "fix: retry attempts to resolve service endpoints from registry (#394)" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk d85d632fe5c36600cf4491fc43fab161c21463c2 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:29:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:29:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:29:11 ========================================================= 13:29:11 EdgeX Global Pipelines Version Info 13:29:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:29:12 ------------------- 13:29:12 stable info: 13:29:12 ------------------- 13:29:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:29:12 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 13:29:12 Message: update stable to v1.0.220 13:29:13 ------------------- 13:29:13 experimental info: 13:29:13 ------------------- 13:29:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:29:13 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 13:29:13 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-396 [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-396 [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-396 [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e05508a3cfac6281449c00e5bc1f9c19cdf5daef [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e05508a [Pipeline] echo 13:29:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:29:13 provisioning config files... 13:29:13 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/config8208612293622336459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:29:14 ---> docker-login.sh 13:29:14 nexus3.edgexfoundry.org:10001 13:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:14 Configure a credential helper to remove this warning. See 13:29:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:14 13:29:14 Login Succeeded 13:29:14 nexus3.edgexfoundry.org:10002 13:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:14 Configure a credential helper to remove this warning. See 13:29:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:14 13:29:14 Login Succeeded 13:29:14 nexus3.edgexfoundry.org:10003 13:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:14 Configure a credential helper to remove this warning. See 13:29:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:14 13:29:14 Login Succeeded 13:29:14 nexus3.edgexfoundry.org:10004 13:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:14 Configure a credential helper to remove this warning. See 13:29:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:14 13:29:14 Login Succeeded 13:29:14 docker.io 13:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:15 Configure a credential helper to remove this warning. See 13:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:15 13:29:15 Login Succeeded 13:29:15 ---> docker-login.sh ends [Pipeline] } 13:29:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 13:29:15 + git rev-list -1 --merges e05508a3cfac6281449c00e5bc1f9c19cdf5daef~1..e05508a3cfac6281449c00e5bc1f9c19cdf5daef [Pipeline] echo 13:29:15 -----------> git rev-list -1 --merges e05508a3cfac6281449c00e5bc1f9c19cdf5daef~1..e05508a3cfac6281449c00e5bc1f9c19cdf5daef e05508a3cfac6281449c00e5bc1f9c19cdf5daef [false] [Pipeline] sh 13:29:15 + git log --format=format:%s -1 e05508a3cfac6281449c00e5bc1f9c19cdf5daef [Pipeline] echo 13:29:15 ========================================================= 13:29:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:29:15 ========================================================= 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 13:29:16 + git rev-list -1 --merges e05508a3cfac6281449c00e5bc1f9c19cdf5daef~1..e05508a3cfac6281449c00e5bc1f9c19cdf5daef [Pipeline] echo 13:29:16 -----------> git rev-list -1 --merges e05508a3cfac6281449c00e5bc1f9c19cdf5daef~1..e05508a3cfac6281449c00e5bc1f9c19cdf5daef e05508a3cfac6281449c00e5bc1f9c19cdf5daef [false] [Pipeline] sh 13:29:16 + git log --format=format:%s -1 e05508a3cfac6281449c00e5bc1f9c19cdf5daef [Pipeline] echo 13:29:16 ========================================================= 13:29:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:29:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 13:29:17 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 13:29:17 + grep -v github /etc/ssh/ssh_known_hosts 13:29:17 + '[' -e /tmp/ssh_known_hosts ']' 13:29:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:29:17 + sudo tee -a /etc/ssh/ssh_known_hosts 13:29:17 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 13:29:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:29:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:29:17 13:29:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:29:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:29:17 latest: Pulling from edgex-devops/git-semver 13:29:17 a0d0a0d46f8b: Pulling fs layer 13:29:17 3e5f54012d9b: Pulling fs layer 13:29:17 4c7163046ea9: Pulling fs layer 13:29:17 0c2d73faf560: Pulling fs layer 13:29:17 0c2d73faf560: Waiting 13:29:17 3e5f54012d9b: Verifying Checksum 13:29:17 3e5f54012d9b: Download complete 13:29:17 a0d0a0d46f8b: Verifying Checksum 13:29:17 a0d0a0d46f8b: Download complete 13:29:17 0c2d73faf560: Verifying Checksum 13:29:17 0c2d73faf560: Download complete 13:29:17 4c7163046ea9: Verifying Checksum 13:29:17 4c7163046ea9: Download complete 13:29:18 a0d0a0d46f8b: Pull complete 13:29:18 3e5f54012d9b: Pull complete 13:29:18 4c7163046ea9: Pull complete 13:29:18 0c2d73faf560: Pull complete 13:29:18 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 13:29:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:29:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:29:18 prd-centos7-docker-4c-2g-4433 does not seem to be running inside a container 13:29:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-396 -v /w/workspace/edgexfoundry_device-sdk-c_PR-396:/w/workspace/edgexfoundry_device-sdk-c_PR-396:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-396@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:29:19 $ docker top d74cd0b09d701fe8d771e93be26005c8144fa8a8edd478848fdd4a7498ab975b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:29:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:29:19 [ssh-agent] Looking for ssh-agent implementation... 13:29:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:29:19 $ docker exec d74cd0b09d701fe8d771e93be26005c8144fa8a8edd478848fdd4a7498ab975b ssh-agent 13:29:19 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPAhgfe/agent.14 13:29:19 SSH_AGENT_PID=21 13:29:19 Running ssh-add (command line suppressed) 13:29:19 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/private_key_5761348133306013136.key (/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/private_key_5761348133306013136.key) 13:29:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:29:20 + git tag --points-at HEAD [Pipeline] } 13:29:20 $ docker exec --env ******** --env ******** d74cd0b09d701fe8d771e93be26005c8144fa8a8edd478848fdd4a7498ab975b ssh-agent -k 13:29:20 unset SSH_AUTH_SOCK; 13:29:20 unset SSH_AGENT_PID; 13:29:20 echo Agent pid 21 killed; 13:29:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:29:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:29:20 [ssh-agent] Looking for ssh-agent implementation... 13:29:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:29:20 $ docker exec d74cd0b09d701fe8d771e93be26005c8144fa8a8edd478848fdd4a7498ab975b ssh-agent 13:29:20 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHHLCLe/agent.54 13:29:20 SSH_AGENT_PID=61 13:29:20 Running ssh-add (command line suppressed) 13:29:20 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/private_key_4436479244416023102.key (/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/private_key_4436479244416023102.key) 13:29:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:29:20 + git semver init 13:29:20 # -> Open(): unable to determine branch for HEAD 13:29:20 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-396/.git 13:29:20 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-396 13:29:20 # $SEMVER_REMOTE_NAME = origin 13:29:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:29:20 # $SEMVER_USER_NAME = edgex-jenkins 13:29:20 # $SEMVER_BRANCH = PR-396 13:29:20 # $SEMVER_TEMP = /tmp/semver-073465011 13:29:20 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 13:29:21 # '/tmp/semver-073465011' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-396/.semver' 13:29:21 # -> Force: false 13:29:21 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-396/.semver [Pipeline] } 13:29:21 $ docker exec --env ******** --env ******** d74cd0b09d701fe8d771e93be26005c8144fa8a8edd478848fdd4a7498ab975b ssh-agent -k 13:29:21 unset SSH_AUTH_SOCK; 13:29:21 unset SSH_AGENT_PID; 13:29:21 echo Agent pid 61 killed; 13:29:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:29:22 + git semver [Pipeline] } 13:29:22 $ docker stop --time=1 d74cd0b09d701fe8d771e93be26005c8144fa8a8edd478848fdd4a7498ab975b 13:29:23 $ docker rm -f d74cd0b09d701fe8d771e93be26005c8144fa8a8edd478848fdd4a7498ab975b [Pipeline] // withDockerContainer [Pipeline] sh 13:29:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:29:24 Stashed 1 file(s) [Pipeline] echo 13:29:24 [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 13:29:24 provisioning config files... 13:29:24 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/config118653827039778060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:29:24 ---> docker-login.sh 13:29:24 nexus3.edgexfoundry.org:10001 13:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:24 Configure a credential helper to remove this warning. See 13:29:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:24 13:29:24 Login Succeeded 13:29:24 nexus3.edgexfoundry.org:10002 13:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:24 Configure a credential helper to remove this warning. See 13:29:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:24 13:29:24 Login Succeeded 13:29:24 nexus3.edgexfoundry.org:10003 13:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:24 Configure a credential helper to remove this warning. See 13:29:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:24 13:29:24 Login Succeeded 13:29:24 nexus3.edgexfoundry.org:10004 13:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:24 Configure a credential helper to remove this warning. See 13:29:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:24 13:29:24 Login Succeeded 13:29:24 docker.io 13:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:25 Configure a credential helper to remove this warning. See 13:29:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:25 13:29:25 Login Succeeded 13:29:25 ---> docker-login.sh ends [Pipeline] } 13:29:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:29:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:29:25 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 13:29:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:29:25 ========================================================= 13:29:25 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 13:29:25 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:29:25 + 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 . 13:29:25 Sending build context to Docker daemon 4.503MB 13:29:25 Step 1/24 : ARG BASE=alpine:3.14 13:29:25 Step 2/24 : FROM ${BASE} as builder 13:29:25 latest: Pulling from edgex-devops/edgex-gcc-base 13:29:25 a0d0a0d46f8b: Already exists 13:29:25 39017ce70367: Pulling fs layer 13:29:25 dcf9283bb20a: Pulling fs layer 13:29:25 39017ce70367: Verifying Checksum 13:29:25 39017ce70367: Download complete 13:29:26 39017ce70367: Pull complete 13:29:26 dcf9283bb20a: Verifying Checksum 13:29:26 dcf9283bb20a: Download complete 13:29:29 dcf9283bb20a: Pull complete 13:29:29 Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 13:29:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 13:29:29 ---> a4e04833b611 13:29:29 Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 13:29:30 ---> Running in 5e732f52ef3f 13:29:30 Connecting to iotech.jfrog.io (54.74.239.58:443) 13:29:31 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:29:31 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:29:31 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:29:31 Removing intermediate container 5e732f52ef3f 13:29:31 ---> 27bef9eb9b2f 13:29:31 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 13:29:31 ---> Running in fe552bb117c7 13:29:31 Removing intermediate container fe552bb117c7 13:29:31 ---> ca3ccbd8e064 13:29:31 Step 5/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev 13:29:31 ---> Running in a968d8307220 13:29:32 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:29:32 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:29:33 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 13:29:33 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:29:33 (1/27) Installing hiredis (1.0.0-r0) 13:29:33 (2/27) Installing hiredis-dev (1.0.0-r0) 13:29:33 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 13:29:34 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 13:29:34 (5/27) Installing libblkid (2.37.2-r0) 13:29:34 (6/27) Installing blkid (2.37.2-r0) 13:29:34 (7/27) Installing libcap-ng (0.8.2-r0) 13:29:35 (8/27) Installing setpriv (2.37.2-r0) 13:29:35 (9/27) Installing libmount (2.37.2-r0) 13:29:35 (10/27) Installing libsmartcols (2.37.2-r0) 13:29:35 (11/27) Installing findmnt (2.37.2-r0) 13:29:35 (12/27) Installing mcookie (2.37.2-r0) 13:29:35 (13/27) Installing hexdump (2.37.2-r0) 13:29:35 (14/27) Installing lsblk (2.37.2-r0) 13:29:35 (15/27) Installing libuuid (2.37.2-r0) 13:29:35 (16/27) Installing libfdisk (2.37.2-r0) 13:29:35 (17/27) Installing sfdisk (2.37.2-r0) 13:29:35 (18/27) Installing cfdisk (2.37.2-r0) 13:29:36 (19/27) Installing partx (2.37.2-r0) 13:29:36 (20/27) Installing flock (2.37.2-r0) 13:29:36 (21/27) Installing logger (2.37.2-r0) 13:29:36 (22/27) Installing uuidgen (2.37.2-r0) 13:29:36 (23/27) Installing libeconf (0.3.8-r1) 13:29:36 (24/27) Installing util-linux (2.37.2-r0) 13:29:36 (25/27) Installing util-linux-dev (2.37.2-r0) 13:29:36 (26/27) Installing libidn2 (2.3.1-r0) 13:29:36 (27/27) Installing wget (1.21.1-r1) 13:29:36 Executing busybox-1.33.1-r3.trigger 13:29:36 OK: 290 MiB in 104 packages 13:29:37 Removing intermediate container a968d8307220 13:29:37 ---> 25a26184e16d 13:29:37 Step 6/24 : ENV CBOR_VERSION=0.5.0 13:29:37 ---> Running in 4cbf3f597b42 13:29:37 Removing intermediate container 4cbf3f597b42 13:29:37 ---> 2a8e3afcf33b 13:29:37 Step 7/24 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 13:29:37 ---> Running in 8870de46ad27 13:29:38 --2022-02-02 13:29:37-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:29:38 Resolving github.com (github.com)... 140.82.114.3 13:29:38 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 13:29:38 HTTP request sent, awaiting response... 302 Found 13:29:38 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:29:38 --2022-02-02 13:29:37-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:29:38 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 13:29:38 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 13:29:38 HTTP request sent, awaiting response... 200 OK 13:29:38 Length: unspecified [application/x-gzip] 13:29:38 Saving to: 'STDOUT' 13:29:38 13:29:38 0K .......... .......... .......... .......... .......... 1.22M 13:29:38 50K .......... .......... .......... .......... .......... 2.47M 13:29:38 100K .......... .......... .......... .......... .......... 55.2M 13:29:38 150K .......... .......... .......... .......... .......... 2.55M 13:29:38 200K .......... .......... .......... .......... .......... 59.8M 13:29:38 250K .......... .......... .......... .......... .......... 6.55M 13:29:38 300K .......... .......... .......... .......... .......... 4.21M 13:29:38 350K .......... .......... .......... .......... .......... 27.1M 13:29:38 400K .......... .......... .......... .......... .......... 6.41M 13:29:38 450K .......... .......... .......... .......... .......... 10.4M 13:29:38 500K .......... .......... .......... .......... .......... 8.26M 13:29:38 550K .......... .......... .......... .......... .......... 9.48M 13:29:38 600K .......... .......... .......... .......... .......... 5.10M 13:29:38 650K .......... .......... .......... .......... .......... 7.59M 13:29:38 700K .. 51.9M=0.1s 13:29:38 13:29:38 2022-02-02 13:29:38 (4.87 MB/s) - written to stdout [719348] 13:29:38 13:29:38 -- The C compiler identification is GNU 10.3.1 13:29:38 -- The CXX compiler identification is GNU 10.3.1 13:29:38 -- Detecting C compiler ABI info 13:29:38 -- Detecting C compiler ABI info - done 13:29:38 -- Check for working C compiler: /usr/bin/cc - skipped 13:29:38 -- Detecting C compile features 13:29:38 -- Detecting C compile features - done 13:29:38 -- Detecting CXX compiler ABI info 13:29:38 -- Detecting CXX compiler ABI info - done 13:29:38 -- Check for working CXX compiler: /usr/bin/c++ - skipped 13:29:38 -- Detecting CXX compile features 13:29:38 -- Detecting CXX compile features - done 13:29:38 -- Looking for include file endian.h 13:29:38 -- Looking for include file endian.h - found 13:29:38 -- Looking for sys/types.h 13:29:38 -- Looking for sys/types.h - found 13:29:38 -- Looking for stdint.h 13:29:38 -- Looking for stdint.h - found 13:29:38 -- Looking for stddef.h 13:29:39 -- Looking for stddef.h - found 13:29:39 -- Check size of size_t 13:29:39 -- Check size of size_t - done 13:29:39 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:29:39 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:29:39 asked CMake to find a package configuration file provided by "cJSON", but 13:29:39 CMake did not find one. 13:29:39 13:29:39 Could not find a package configuration file provided by "cJSON" with any of 13:29:39 the following names: 13:29:39 13:29:39 cJSONConfig.cmake 13:29:39 cjson-config.cmake 13:29:39 13:29:39 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:29:39 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:29:39 provides a separate development package or SDK, be sure it has been 13:29:39 installed. 13:29:39 13:29:39 13:29:39 -- Configuring done 13:29:39 -- Generating done 13:29:39 -- Build files have been written to: /tmp/cbor 13:29:39 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:29:39 Still waiting to schedule task 13:29:39 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 13:29:39 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:29:39 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:29:39 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:29:39 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:29:39 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:29:39 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:29:39 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:29:39 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:29:39 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:29:40 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:29:40 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:29:40 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:29:40 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:29:40 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:29:40 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:29:40 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:29:40 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:29:40 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:29:40 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:29:40 [ 40%] Linking C shared library libcbor.so 13:29:40 [ 40%] Built target cbor_shared 13:29:40 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:29:40 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:29:40 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:29:41 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:29:41 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:29:41 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:29:41 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:29:41 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:29:41 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:29:41 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:29:42 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:29:42 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:29:42 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:29:42 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:29:42 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:29:42 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:29:42 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:29:42 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:29:42 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:29:42 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:29:42 [ 80%] Linking C static library libcbor.a 13:29:42 [ 80%] Built target cbor 13:29:42 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:29:42 [ 84%] Linking C executable readfile 13:29:42 [ 84%] Built target readfile 13:29:42 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:29:42 [ 88%] Linking C executable create_items 13:29:42 [ 88%] Built target create_items 13:29:42 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:29:42 [ 92%] Linking C executable sort 13:29:43 [ 92%] Built target sort 13:29:43 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:29:43 [ 96%] Linking C executable hello 13:29:43 [ 96%] Built target hello 13:29:43 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:29:43 [100%] Linking C executable streaming_parser 13:29:43 [100%] Built target streaming_parser 13:29:43 Install the project... 13:29:43 -- Install configuration: "Release" 13:29:43 -- Installing: /usr/local/include/cbor/configuration.h 13:29:43 -- Installing: /usr/local/lib/libcbor.a 13:29:43 -- Installing: /usr/local/lib/libcbor.so.0.0.0 13:29:43 -- Installing: /usr/local/lib/libcbor.so.0 13:29:43 -- Installing: /usr/local/lib/libcbor.so 13:29:43 -- Up-to-date: /usr/local/include/cbor 13:29:43 -- Installing: /usr/local/include/cbor/arrays.h 13:29:43 -- Installing: /usr/local/include/cbor/bytestrings.h 13:29:43 -- Installing: /usr/local/include/cbor/callbacks.h 13:29:43 -- Installing: /usr/local/include/cbor/common.h 13:29:43 -- Installing: /usr/local/include/cbor/data.h 13:29:43 -- Installing: /usr/local/include/cbor/encoding.h 13:29:43 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:29:43 -- Installing: /usr/local/include/cbor/internal 13:29:43 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:29:43 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:29:43 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:29:43 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:29:43 -- Installing: /usr/local/include/cbor/internal/stack.h 13:29:43 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:29:43 -- Installing: /usr/local/include/cbor/ints.h 13:29:43 -- Installing: /usr/local/include/cbor/maps.h 13:29:43 -- Installing: /usr/local/include/cbor/serialization.h 13:29:43 -- Installing: /usr/local/include/cbor/streaming.h 13:29:43 -- Installing: /usr/local/include/cbor/strings.h 13:29:43 -- Installing: /usr/local/include/cbor/tags.h 13:29:43 -- Installing: /usr/local/include/cbor.h 13:29:43 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 13:29:43 Removing intermediate container 8870de46ad27 13:29:43 ---> b9779a88cba5 13:29:43 Step 8/24 : RUN mkdir /tmp/sdk 13:29:43 ---> Running in dede592b06ea 13:29:44 Removing intermediate container dede592b06ea 13:29:44 ---> c7b17e3f6f59 13:29:44 Step 9/24 : COPY VERSION /tmp/sdk 13:29:44 ---> 718e32c755d7 13:29:44 Step 10/24 : COPY src /tmp/sdk/src 13:29:44 ---> 5674fe39775f 13:29:44 Step 11/24 : COPY include /tmp/sdk/include 13:29:44 ---> 526bb284dc84 13:29:44 Step 12/24 : COPY scripts /tmp/sdk/scripts 13:29:44 ---> 093256bb76a9 13:29:44 Step 13/24 : COPY LICENSE /tmp/sdk 13:29:45 ---> fa75532854d6 13:29:45 Step 14/24 : COPY Attribution.txt /tmp/sdk 13:29:45 ---> de5802be8ce8 13:29:45 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:29:45 ---> Running in db60914d00e8 13:29:45 + CPPCHECK=false 13:29:45 + DOCGEN=false 13:29:45 + TOMLVER=SDK-0.2 13:29:45 + CUTILVER=1.2.2 13:29:45 + '[' 0 -gt 0 ] 13:29:45 + readlink -f ./scripts/build.sh 13:29:45 + dirname /tmp/sdk/scripts/build.sh 13:29:45 + dirname /tmp/sdk/scripts 13:29:45 + ROOT=/tmp/sdk 13:29:45 + cd /tmp/sdk 13:29:45 + '[' '!' -d deps ] 13:29:45 + mkdir deps 13:29:45 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:29:45 + tar -C deps -z -x -f - 13:29:45 --2022-02-02 13:29:45-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:29:45 Resolving github.com (github.com)... 140.82.114.3 13:29:45 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 13:29:45 HTTP request sent, awaiting response... 302 Found 13:29:45 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:29:45 --2022-02-02 13:29:45-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:29:45 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 13:29:45 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 13:29:46 HTTP request sent, awaiting response... 200 OK 13:29:46 Length: unspecified [application/x-gzip] 13:29:46 Saving to: 'STDOUT' 13:29:46  13:29:46 0K .......... ......  801K=0.02s 13:29:46 13:29:46 2022-02-02 13:29:46 (801 KB/s) - written to stdout [16451] 13:29:46 13:29:46 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:29:46 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 13:29:46 + tar -C deps -z -x -f - 13:29:46 --2022-02-02 13:29:46-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 13:29:46 Resolving github.com (github.com)... 140.82.114.3 13:29:46 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 13:29:46 HTTP request sent, awaiting response... 302 Found 13:29:46 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 13:29:46 --2022-02-02 13:29:46-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 13:29:46 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 13:29:46 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 13:29:46 HTTP request sent, awaiting response... 200 OK 13:29:46 Length: unspecified [application/x-gzip] 13:29:46 Saving to: 'STDOUT' 13:29:46 13:29:46 0K .......... .......... .......... .......... .......... 1.23M 13:29:46 50K .......... .......... .......... .......... .......... 2.48M 13:29:46 100K .......... .......... .......... .......... .......... 25.6M 13:29:46 150K .......... .......... .......... ......... 3.64M=0.07s 13:29:46 13:29:46 2022-02-02 13:29:46 (2.58 MB/s) - written to stdout [193961] 13:29:46 13:29:46 + mkdir -p src/c/iot 13:29:46 + 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 13:29:46 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 13:29:46 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 13:29:46 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 13:29:46 + mkdir -p include/iot 13:29:46 + 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 13:29:46 + mkdir -p include/iot/os 13:29:46 + 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 13:29:46 + mkdir -p /tmp/sdk/build/release 13:29:46 + cd /tmp/sdk/build/release 13:29:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:29:46 -- The C compiler identification is GNU 10.3.1 13:29:46 -- Detecting C compiler ABI info 13:29:47 -- Detecting C compiler ABI info - done 13:29:47 -- Check for working C compiler: /usr/bin/cc - skipped 13:29:47 -- Detecting C compile features 13:29:47 -- Detecting C compile features - done 13:29:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:29:47 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 13:29:47 -- Found LIBYAML: /usr/lib/libyaml.so 13:29:47 -- Found LIBUUID: /usr/lib/libuuid.so 13:29:47 -- Found LIBCBOR: /usr/local/lib/libcbor.so 13:29:47 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:29:47 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:29:47 -- C SDK 0.0.0 for Linux 13:29:47 -- Performing Test CSDK_HAVE_ATOMIC 13:29:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:29:47 -- Found Curses: /usr/lib/libcurses.so 13:29:47 -- Configuring done 13:29:47 -- Generating done 13:29:47 -- Build files have been written to: /tmp/sdk/build/release 13:29:47 + make all package 13:29:47 + tee release.log 13:29:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:29:47 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:29:47 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:29:47 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:29:48 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:29:48 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:29:48 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:29:48 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:29:48 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:29:48 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:29:48 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:29:49 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:29:49 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:29:49 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:29:49 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:29:49 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:29:49 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:29:50 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:29:50 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:29:50 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:29:50 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:29:50 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:29:50 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 13:29:50 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 13:29:50 275 | const iot_component_factory_t * factory; 13:29:50 | ^~~~~~~ 13:29:50 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:29:51 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:29:51 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:29:51 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:29:51 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:29:51 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:29:51 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:29:51 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:29:51 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:29:52 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:29:52 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 13:29:52 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:29:52 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:29:52 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:29:53 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:29:53 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:29:54 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:29:54 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:29:54 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:29:54 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:29:54 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 13:29:54 /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] 13:29:54 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 13:29:54 | ^~~~~~~~~~~~~ 13:29:54 | | 13:29:54 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 13:29:54 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:29:54 /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 13:29:54 2714 | MHD_KeyValueIterator iterator, 13:29:54 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 13:29:54 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 13:29:54 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:29:54 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 13:29:54 | ^~~~~~~~~~~~ 13:29:54 | | 13:29:54 | 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 **)} 13:29:54 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:29:54 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 13:29:54 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:29:54 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:29:54 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:29:54 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 13:29:54 | ^~~~~~~~~~~~ 13:29:54 | | 13:29:54 | 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 **)} 13:29:54 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:29:54 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 13:29:54 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:29:54 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:29:54 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:29:54 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:29:54 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:29:54 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:29:54 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:29:55 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:29:56 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:29:56 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:29:56 [ 76%] Linking C shared library libcsdk.so 13:29:56 [ 76%] Built target csdk 13:29:56 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:29:56 [ 79%] Linking C executable template 13:29:56 [ 79%] Built target template 13:29:56 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:29:56 [ 82%] Linking C executable device-counter 13:29:56 [ 82%] Built target device-counter 13:29:56 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:29:56 [ 85%] Linking C executable device-random 13:29:57 [ 85%] Built target device-random 13:29:57 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:29:57 [ 88%] Linking C executable device-gyro 13:29:57 [ 88%] Built target device-gyro 13:29:57 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:29:57 [ 91%] Linking C executable device-bitfields 13:29:57 [ 91%] Built target device-bitfields 13:29:57 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:29:57 [ 94%] Linking C executable template-discovery 13:29:57 [ 94%] Built target template-discovery 13:29:57 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:29:57 [ 97%] Linking C executable device-file 13:29:57 [ 97%] Built target device-file 13:29:57 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:29:57 [100%] Linking C executable device-terminal 13:29:57 [100%] Built target device-terminal 13:29:57 Run CPack packaging tool... 13:29:57 CPack: Create package using TGZ 13:29:57 CPack: Install projects 13:29:57 CPack: - Run preinstall target for: Csdk 13:29:58 CPack: - Install project: Csdk [] 13:29:58 CPack: Create package 13:29:58 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:29:58 + '[' false '=' true ] 13:29:58 + '[' false '=' true ] 13:29:58 + mkdir -p /tmp/sdk/build/debug 13:29:58 + cd /tmp/sdk/build/debug 13:29:58 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:29:58 -- The C compiler identification is GNU 10.3.1 13:29:58 -- Detecting C compiler ABI info 13:29:58 -- Detecting C compiler ABI info - done 13:29:58 -- Check for working C compiler: /usr/bin/cc - skipped 13:29:58 -- Detecting C compile features 13:29:58 -- Detecting C compile features - done 13:29:58 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:29:58 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 13:29:58 -- Found LIBYAML: /usr/lib/libyaml.so 13:29:58 -- Found LIBUUID: /usr/lib/libuuid.so 13:29:58 -- Found LIBCBOR: /usr/local/lib/libcbor.so 13:29:58 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:29:58 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:29:58 -- C SDK 0.0.0 for Linux 13:29:58 -- Performing Test CSDK_HAVE_ATOMIC 13:29:58 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:29:58 -- Found Curses: /usr/lib/libcurses.so 13:29:58 -- Configuring done 13:29:58 -- Generating done 13:29:58 -- Build files have been written to: /tmp/sdk/build/debug 13:29:58 + make 13:29:58 + tee debug.log 13:29:58 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:29:58 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:29:58 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:29:58 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:29:58 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:29:59 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:29:59 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:29:59 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:29:59 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:29:59 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:29:59 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:29:59 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:29:59 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:29:59 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:29:59 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:29:59 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:29:59 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:29:59 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:30:00 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:30:00 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:30:00 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:30:00 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:30:00 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 13:30:00 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 13:30:00 275 | const iot_component_factory_t * factory; 13:30:00 | ^~~~~~~ 13:30:00 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:30:00 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:30:00 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:30:00 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:30:00 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:30:00 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:30:00 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:30:01 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:30:01 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:30:01 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:30:01 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 13:30:01 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:30:01 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:30:01 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:30:01 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:30:01 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:30:01 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:30:01 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:30:01 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:30:01 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:30:01 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 13:30:01 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 13:30:01 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 13:30:01 | ^~~~~~~~~~~~~ 13:30:01 | | 13:30:01 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 13:30:01 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:30:01 /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 13:30:01 2714 | MHD_KeyValueIterator iterator, 13:30:01 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 13:30:01 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 13:30:01 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:30:01 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 13:30:01 | ^~~~~~~~~~~~ 13:30:01 | | 13:30:01 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 13:30:01 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:30:01 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 13:30:01 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:30:01 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:30:01 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:30:01 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 13:30:01 | ^~~~~~~~~~~~ 13:30:01 | | 13:30:01 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 13:30:01 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:30:01 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 13:30:01 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:30:01 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:30:01 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:30:02 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:30:02 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:30:02 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:30:02 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:30:02 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:30:02 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:30:02 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:30:02 [ 76%] Linking C shared library libcsdk.so 13:30:02 [ 76%] Built target csdk 13:30:02 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:30:02 [ 79%] Linking C executable template 13:30:03 [ 79%] Built target template 13:30:03 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:30:03 [ 82%] Linking C executable device-counter 13:30:03 [ 82%] Built target device-counter 13:30:03 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:30:03 [ 85%] Linking C executable device-random 13:30:03 [ 85%] Built target device-random 13:30:03 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:30:03 [ 88%] Linking C executable device-gyro 13:30:03 [ 88%] Built target device-gyro 13:30:03 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:30:03 [ 91%] Linking C executable device-bitfields 13:30:03 [ 91%] Built target device-bitfields 13:30:03 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:30:03 [ 94%] Linking C executable template-discovery 13:30:03 [ 94%] Built target template-discovery 13:30:03 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:30:03 [ 97%] Linking C executable device-file 13:30:03 [ 97%] Built target device-file 13:30:03 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:30:03 [100%] Linking C executable device-terminal 13:30:03 [100%] Built target device-terminal 13:30:03 make: Entering directory '/tmp/sdk/build/release' 13:30:03 make[1]: Entering directory '/tmp/sdk/build/release' 13:30:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:03 [ 76%] Built target csdk 13:30:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:03 [ 79%] Built target template 13:30:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:04 [ 82%] Built target device-counter 13:30:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:04 [ 85%] Built target device-random 13:30:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:04 [ 88%] Built target device-gyro 13:30:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:04 [ 91%] Built target device-bitfields 13:30:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:04 [ 94%] Built target template-discovery 13:30:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:04 [ 97%] Built target device-file 13:30:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:30:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:30:04 [100%] Built target device-terminal 13:30:04 make[1]: Leaving directory '/tmp/sdk/build/release' 13:30:04 Install the project... 13:30:04 -- Install configuration: "Release" 13:30:04 -- Installing: /usr/local/lib/libcsdk.so 13:30:04 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:30:04 -- Up-to-date: /usr/local/include 13:30:04 -- Installing: /usr/local/include/devsdk 13:30:04 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:30:04 -- Installing: /usr/local/include/devsdk/devsdk.h 13:30:04 -- Installing: /usr/local/include/edgex 13:30:04 -- Installing: /usr/local/include/edgex/devices.h 13:30:04 -- Installing: /usr/local/include/edgex/edgex-base.h 13:30:04 -- Installing: /usr/local/include/edgex/edgex.h 13:30:04 -- Installing: /usr/local/include/edgex/profiles.h 13:30:04 -- Installing: /usr/local/include/edgex/rest-server.h 13:30:04 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:30:04 -- Installing: /usr/local/include/iot 13:30:04 -- Installing: /usr/local/include/iot/base64.h 13:30:04 -- Installing: /usr/local/include/iot/component.h 13:30:04 -- Installing: /usr/local/include/iot/config.h 13:30:04 -- Installing: /usr/local/include/iot/container.h 13:30:04 -- Installing: /usr/local/include/iot/data.h 13:30:04 -- Installing: /usr/local/include/iot/hash.h 13:30:04 -- Installing: /usr/local/include/iot/iot.h 13:30:04 -- Installing: /usr/local/include/iot/json.h 13:30:04 -- Installing: /usr/local/include/iot/logger.h 13:30:04 -- Installing: /usr/local/include/iot/os.h 13:30:04 -- Installing: /usr/local/include/iot/scheduler.h 13:30:04 -- Installing: /usr/local/include/iot/thread.h 13:30:04 -- Installing: /usr/local/include/iot/threadpool.h 13:30:04 -- Installing: /usr/local/include/iot/time.h 13:30:04 -- Installing: /usr/local/include/iot/typecode.h 13:30:04 -- Installing: /usr/local/include/iot/uuid.h 13:30:04 -- Installing: /usr/local/include/iot/os 13:30:04 -- Installing: /usr/local/include/iot/os/linux.h 13:30:04 -- Installing: /usr/local/include/iot/os/macos.h 13:30:04 -- Installing: /usr/local/include/iot/os/zephyr.h 13:30:04 -- Installing: /usr/local/include/iot/defs.h 13:30:04 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:30:04 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:30:04 make: Leaving directory '/tmp/sdk/build/release' 13:30:04 Removing intermediate container db60914d00e8 13:30:04 ---> 474d38a2cefc 13:30:04 Step 16/24 : FROM ${BASE} 13:30:04 ---> a4e04833b611 13:30:04 Step 17/24 : LABEL maintainer="IOTech " 13:30:04 ---> Running in 8053ea36ef9a 13:30:04 Removing intermediate container 8053ea36ef9a 13:30:04 ---> 81394ae124b1 13:30:04 Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 13:30:04 ---> Running in 75d60cdeb976 13:30:05 Connecting to iotech.jfrog.io (54.72.115.12:443) 13:30:05 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:30:05 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:30:05 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:30:05 Removing intermediate container 75d60cdeb976 13:30:05 ---> 3a50e9a62c66 13:30:05 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 13:30:05 ---> Running in ff7a802b90a1 13:30:06 Removing intermediate container ff7a802b90a1 13:30:06 ---> f89e0a483bf7 13:30:06 Step 20/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev 13:30:06 ---> Running in 2c2b06b010b1 13:30:06 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:30:07 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:30:07 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 13:30:07 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:30:07 (1/7) Installing curl (7.79.1-r0) 13:30:08 (2/7) Installing hiredis (1.0.0-r0) 13:30:08 (3/7) Installing hiredis-dev (1.0.0-r0) 13:30:08 (4/7) Installing libuuid (2.37.2-r0) 13:30:08 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 13:30:09 (6/7) Installing libidn2 (2.3.1-r0) 13:30:09 (7/7) Installing wget (1.21.1-r1) 13:30:09 Executing busybox-1.33.1-r3.trigger 13:30:09 OK: 281 MiB in 84 packages 13:30:09 Removing intermediate container 2c2b06b010b1 13:30:09 ---> 4abcdc6f6023 13:30:09 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:30:09 ---> 651db0db8e45 13:30:09 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:30:09 ---> 4c0f3ab7fc85 13:30:09 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 13:30:10 ---> b6dbbd03bde9 13:30:10 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:30:10 ---> 80851984e724 13:30:10 Successfully built 80851984e724 13:30:10 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 13:30:10 + docker inspect -f . ci-base-image-x86_64 13:30:10 . [Pipeline] withDockerContainer 13:30:10 prd-centos7-docker-4c-2g-4433 does not seem to be running inside a container 13:30:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-396 -v /w/workspace/edgexfoundry_device-sdk-c_PR-396:/w/workspace/edgexfoundry_device-sdk-c_PR-396:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-396@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 ******** ci-base-image-x86_64 cat 13:30:11 $ docker top 36d2f3a70293e792015720680214c2ebc402b4a243e81111ec735fd540e8c2e3 -eo pid,comm [Pipeline] { [Pipeline] sh 13:30:11 + make test 13:30:11 echo "make test" 13:30:11 make test [Pipeline] } 13:30:11 $ docker stop --time=1 36d2f3a70293e792015720680214c2ebc402b4a243e81111ec735fd540e8c2e3 13:30:12 $ docker rm -f 36d2f3a70293e792015720680214c2ebc402b4a243e81111ec735fd540e8c2e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:30:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:30:14 + ls -al . 13:30:14 total 172 13:30:14 drwxrwxr-x. 9 jenkins jenkins 4096 Feb 2 13:29 . 13:30:14 drwxrwxr-x. 4 jenkins jenkins 112 Feb 2 13:29 .. 13:30:14 -rw-rw-r--. 1 jenkins jenkins 3104 Feb 2 13:29 Attribution.txt 13:30:14 -rw-rw-r--. 1 jenkins jenkins 7880 Feb 2 13:29 CHANGES 13:30:14 drwxrwxr-x. 2 jenkins jenkins 121 Feb 2 13:29 docs 13:30:14 -rw-rw-r--. 1 jenkins jenkins 108574 Feb 2 13:29 Doxyfile 13:30:14 drwxrwxr-x. 8 jenkins jenkins 179 Feb 2 13:29 .git 13:30:14 drwxrwxr-x. 3 jenkins jenkins 103 Feb 2 13:29 .github 13:30:14 -rw-rw-r--. 1 jenkins jenkins 176 Feb 2 13:29 .gitignore 13:30:14 -rw-rw-r--. 1 jenkins jenkins 677 Feb 2 13:29 GOVERNANCE.md 13:30:14 drwxrwxr-x. 4 jenkins jenkins 33 Feb 2 13:29 include 13:30:14 -rw-rw-r--. 1 jenkins jenkins 784 Feb 2 13:29 Jenkinsfile 13:30:14 -rw-rw-r--. 1 jenkins jenkins 10174 Feb 2 13:29 LICENSE 13:30:14 -rw-rw-r--. 1 jenkins jenkins 444 Feb 2 13:29 Makefile 13:30:14 -rw-rw-r--. 1 jenkins jenkins 618 Feb 2 13:29 OWNERS.md 13:30:14 -rw-rw-r--. 1 jenkins jenkins 4086 Feb 2 13:29 README.md 13:30:14 -rw-rw-r--. 1 jenkins jenkins 7422 Feb 2 13:29 README.v2.md 13:30:14 drwxrwxr-x. 2 jenkins jenkins 98 Feb 2 13:29 scripts 13:30:14 drwx------. 3 jenkins jenkins 85 Feb 2 13:29 .semver 13:30:14 drwxrwxr-x. 4 jenkins jenkins 50 Feb 2 13:29 src 13:30:14 -rw-rw-r--. 1 jenkins jenkins 5 Feb 2 13:29 VERSION [Pipeline] isUnix [Pipeline] sh 13:30:14 + 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=e05508a3cfac6281449c00e5bc1f9c19cdf5daef --label arch=amd64 --label version=0.0.0 . 13:30:14 Sending build context to Docker daemon 4.503MB 13:30:14 Step 1/17 : ARG BASE=alpine:3.14 13:30:14 Step 2/17 : FROM ${BASE} 13:30:14 ---> 80851984e724 13:30:14 Step 3/17 : LABEL maintainer="IOTech " 13:30:14 ---> Running in aceef7672775 13:30:14 Removing intermediate container aceef7672775 13:30:14 ---> 6ce8977e8d00 13:30:14 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 13:30:14 ---> Running in 6b333da96cbe 13:30:15 --2022-02-02 13:30:14-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 13:30:15 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.74.239.58, 54.195.244.87, 54.229.110.245, ... 13:30:15 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.74.239.58|:443... connected. 13:30:15 HTTP request sent, awaiting response... 200 OK 13:30:15 Length: unspecified [application/json] 13:30:15 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 13:30:15  13:30:15 0K 173M=0s 13:30:15 13:30:15 2022-02-02 13:30:15 (173 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 13:30:15 13:30:15 Removing intermediate container 6b333da96cbe 13:30:15 ---> 079541faee9f 13:30:15 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 13:30:15 ---> Running in f4aee9f7c227 13:30:15 Removing intermediate container f4aee9f7c227 13:30:15 ---> c80128078191 13:30:15 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 13:30:16 ---> Running in 2f1388a413be 13:30:16 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:30:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:30:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 13:30:17 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:30:17 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 13:30:17 (2/21) Installing libblkid (2.37.2-r0) 13:30:17 (3/21) Installing blkid (2.37.2-r0) 13:30:18 (4/21) Installing libcap-ng (0.8.2-r0) 13:30:18 (5/21) Installing setpriv (2.37.2-r0) 13:30:18 (6/21) Installing libmount (2.37.2-r0) 13:30:18 (7/21) Installing libsmartcols (2.37.2-r0) 13:30:18 (8/21) Installing findmnt (2.37.2-r0) 13:30:18 (9/21) Installing mcookie (2.37.2-r0) 13:30:18 (10/21) Installing hexdump (2.37.2-r0) 13:30:18 (11/21) Installing lsblk (2.37.2-r0) 13:30:18 (12/21) Installing libfdisk (2.37.2-r0) 13:30:18 (13/21) Installing sfdisk (2.37.2-r0) 13:30:18 (14/21) Installing cfdisk (2.37.2-r0) 13:30:18 (15/21) Installing partx (2.37.2-r0) 13:30:19 (16/21) Installing flock (2.37.2-r0) 13:30:19 (17/21) Installing logger (2.37.2-r0) 13:30:19 (18/21) Installing uuidgen (2.37.2-r0) 13:30:19 (19/21) Installing libeconf (0.3.8-r1) 13:30:19 (20/21) Installing util-linux (2.37.2-r0) 13:30:19 (21/21) Installing util-linux-dev (2.37.2-r0) 13:30:19 Executing busybox-1.33.1-r3.trigger 13:30:19 OK: 291 MiB in 105 packages 13:30:20 Removing intermediate container 2f1388a413be 13:30:20 ---> b0fa283553b8 13:30:20 Step 7/17 : COPY VERSION /edgex-c-sdk/ 13:30:20 ---> a29a4868bf61 13:30:20 Step 8/17 : COPY src /edgex-c-sdk/src/ 13:30:20 ---> 44cc6143a513 13:30:20 Step 9/17 : COPY include /edgex-c-sdk/include/ 13:30:20 ---> dff2991bbc77 13:30:20 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 13:30:20 ---> 1a58849159d0 13:30:20 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 13:30:20 ---> 0da314fe9d07 13:30:20 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 13:30:21 ---> 73e4a43d17c4 13:30:21 Step 13/17 : WORKDIR /edgex-c-sdk 13:30:21 ---> Running in eb29985500c2 13:30:21 Removing intermediate container eb29985500c2 13:30:21 ---> fc11b2d6c71c 13:30:21 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:30:21 ---> Running in 112e58da524a 13:30:21 Removing intermediate container 112e58da524a 13:30:21 ---> 5deb19bd6e3d 13:30:21 Step 15/17 : LABEL arch=amd64 13:30:21 ---> Running in 8aaf16676b71 13:30:21 Removing intermediate container 8aaf16676b71 13:30:21 ---> 9b60697c7fe0 13:30:21 Step 16/17 : LABEL git_sha=e05508a3cfac6281449c00e5bc1f9c19cdf5daef 13:30:21 ---> Running in 2e9300f40c5f 13:30:21 Removing intermediate container 2e9300f40c5f 13:30:21 ---> 4fcf61a30b15 13:30:21 Step 17/17 : LABEL version=0.0.0 13:30:21 ---> Running in afe28791d7fc 13:30:21 Removing intermediate container afe28791d7fc 13:30:21 ---> db796ec91ddd 13:30:21 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:30:21 Successfully built db796ec91ddd 13:30:21 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 13:30:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:30:22 13:30:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:30:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:30:22 latest: Pulling from edgex-lftools-log-publisher 13:30:22 b4d181a07f80: Pulling fs layer 13:30:22 a1111a8f2ec3: Pulling fs layer 13:30:22 ed53099fbce6: Pulling fs layer 13:30:22 dc539afda2c1: Pulling fs layer 13:30:22 77bc0d833cb6: Pulling fs layer 13:30:22 9065ff56babe: Pulling fs layer 13:30:22 d287ab97295c: Pulling fs layer 13:30:22 dc539afda2c1: Waiting 13:30:22 77bc0d833cb6: Waiting 13:30:22 9065ff56babe: Waiting 13:30:22 d287ab97295c: Waiting 13:30:22 a1111a8f2ec3: Verifying Checksum 13:30:22 a1111a8f2ec3: Download complete 13:30:22 dc539afda2c1: Verifying Checksum 13:30:22 dc539afda2c1: Download complete 13:30:22 ed53099fbce6: Verifying Checksum 13:30:22 ed53099fbce6: Download complete 13:30:22 77bc0d833cb6: Verifying Checksum 13:30:22 77bc0d833cb6: Download complete 13:30:22 9065ff56babe: Verifying Checksum 13:30:22 9065ff56babe: Download complete 13:30:22 b4d181a07f80: Verifying Checksum 13:30:22 b4d181a07f80: Download complete 13:30:23 d287ab97295c: Verifying Checksum 13:30:23 d287ab97295c: Download complete 13:30:24 b4d181a07f80: Pull complete 13:30:24 a1111a8f2ec3: Pull complete 13:30:24 ed53099fbce6: Pull complete 13:30:24 dc539afda2c1: Pull complete 13:30:25 77bc0d833cb6: Pull complete 13:30:25 9065ff56babe: Pull complete 13:30:30 d287ab97295c: Pull complete 13:30:30 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 13:30:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:30:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:30:30 prd-centos7-docker-4c-2g-4433 does not seem to be running inside a container 13:30:30 $ 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-396 -v /w/workspace/edgexfoundry_device-sdk-c_PR-396:/w/workspace/edgexfoundry_device-sdk-c_PR-396:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-396@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:30:33 $ docker top fdfd1ec5c27b7c5a17b088e341fde43ba21f2ed1960cafe0f11b7d73af4f728d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:30:33 ---> job-cost.sh 13:30:33 lf-activate-venv: SKIPPING 13:30:33 INFO: No Stack... 13:30:33 INFO: Retrieving Pricing Info for: v3-standard-2 13:30:34 INFO: Archiving Costs [Pipeline] sh 13:30:34 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives/cost.csv 13:30:34 + cut -d, -f6 [Pipeline] lock 13:30:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-396-2-stack-cost] 13:30:34 Resource [jenkins-edgexfoundry-device-sdk-c-PR-396-2-stack-cost] did not exist. Created. 13:30:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-396-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:30:34 + echo total: 0.05999999865889549 [Pipeline] stash 13:30:34 Stashed 1 file(s) [Pipeline] } 13:30:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-396-2-stack-cost] [Pipeline] // lock [Pipeline] } 13:30:34 $ docker stop --time=1 fdfd1ec5c27b7c5a17b088e341fde43ba21f2ed1960cafe0f11b7d73af4f728d 13:30:35 $ docker rm -f fdfd1ec5c27b7c5a17b088e341fde43ba21f2ed1960cafe0f11b7d73af4f728d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:31:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4434 in /w/workspace/edgexfoundry_device-sdk-c_PR-396 [Pipeline] { [Pipeline] ws 13:31:03 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 13:31:03 Selected Git installation does not exist. Using Default 13:31:03 The recommended git tool is: NONE 13:31:08 using credential edgex-jenkins-ssh 13:31:08 Cloning the remote Git repository 13:31:08 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:31:08 > git init /w/workspace/device-sdk-c/2 # timeout=10 13:31:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:31:08 > git --version # timeout=10 13:31:08 > git --version # 'git version 2.17.1' 13:31:08 using GIT_SSH to set credentials SSH Credentials for GitHub 13:31:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:31:10 Merging remotes/origin/main commit 8c74ffe4fc698c219175e751f1cca4a77f9c9083 into PR head commit e05508a3cfac6281449c00e5bc1f9c19cdf5daef 13:31:10 Merge succeeded, producing e05508a3cfac6281449c00e5bc1f9c19cdf5daef 13:31:10 Checking out Revision e05508a3cfac6281449c00e5bc1f9c19cdf5daef (PR-396) 13:31:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:31:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:31:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:31:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:31:09 using GIT_SSH to set credentials SSH Credentials for GitHub 13:31:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:31:10 > git config core.sparsecheckout # timeout=10 13:31:10 > git checkout -f e05508a3cfac6281449c00e5bc1f9c19cdf5daef # timeout=10 13:31:10 > git remote # timeout=10 13:31:10 > git config --get remote.origin.url # timeout=10 13:31:10 using GIT_SSH to set credentials SSH Credentials for GitHub 13:31:10 > git merge 8c74ffe4fc698c219175e751f1cca4a77f9c9083 # timeout=10 13:31:10 > git rev-parse HEAD^{commit} # timeout=10 13:31:10 > git config core.sparsecheckout # timeout=10 13:31:10 > git checkout -f e05508a3cfac6281449c00e5bc1f9c19cdf5daef # timeout=10 13:31:15 Commit message: "fix: retry attempts to resolve service endpoints from registry (#394)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:31:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:31:15 % Total % Received % Xferd Average Speed Time Time Time Current 13:31:15 Dload Upload Total Spent Left Speed 13:31:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 93251 0 --:--:-- --:--:-- --:--:-- 93251 [Pipeline] sh 13:31:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:31:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:31:16 + sudo tee /etc/docker/daemon.new 13:31:16 { 13:31:16 "registry-mirrors": [ 13:31:16 "https://nexus3.edgexfoundry.org:10001" 13:31:16 ], 13:31:16 "bip": "10.250.0.254/24", 13:31:16 "hosts": [ 13:31:16 "tcp://0.0.0.0:5555", 13:31:16 "unix:///var/run/docker.sock" 13:31:16 ], 13:31:16 "mtu": 1458, 13:31:16 "selinux-enabled": true, 13:31:16 "seccomp-profile": "/etc/docker/seccomp.json" 13:31:16 } [Pipeline] sh 13:31:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:31:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:31:35 provisioning config files... 13:31:35 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config771664625818326622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:31:36 ---> docker-login.sh 13:31:36 nexus3.edgexfoundry.org:10001 13:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:36 Configure a credential helper to remove this warning. See 13:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:36 13:31:36 Login Succeeded 13:31:37 nexus3.edgexfoundry.org:10002 13:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:37 Configure a credential helper to remove this warning. See 13:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:37 13:31:37 Login Succeeded 13:31:37 nexus3.edgexfoundry.org:10003 13:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:37 Configure a credential helper to remove this warning. See 13:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:37 13:31:37 Login Succeeded 13:31:37 nexus3.edgexfoundry.org:10004 13:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:38 Configure a credential helper to remove this warning. See 13:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:38 13:31:38 Login Succeeded 13:31:38 docker.io 13:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:38 Configure a credential helper to remove this warning. See 13:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:38 13:31:38 Login Succeeded 13:31:38 ---> docker-login.sh ends [Pipeline] } 13:31:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:31:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:31:39 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 13:31:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:31:39 ========================================================= 13:31:39 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 13:31:39 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:31:39 + 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 . 13:31:39 Sending build context to Docker daemon 2.745MB 13:31:40 Step 1/24 : ARG BASE=alpine:3.14 13:31:40 Step 2/24 : FROM ${BASE} as builder 13:31:40 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 13:31:40 552d1f2373af: Pulling fs layer 13:31:40 f2be2b6548c6: Pulling fs layer 13:31:40 ee4ac2fe028c: Pulling fs layer 13:31:40 f2be2b6548c6: Verifying Checksum 13:31:40 f2be2b6548c6: Download complete 13:31:40 552d1f2373af: Verifying Checksum 13:31:40 552d1f2373af: Download complete 13:31:40 552d1f2373af: Pull complete 13:31:41 f2be2b6548c6: Pull complete 13:31:42 ee4ac2fe028c: Verifying Checksum 13:31:42 ee4ac2fe028c: Download complete 13:31:50 ee4ac2fe028c: Pull complete 13:31:50 Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b 13:31:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 13:31:50 ---> b6d714ea7bf2 13:31:50 Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 13:31:50 ---> Running in e23a8b75d629 13:31:51 Connecting to iotech.jfrog.io (54.74.239.58:443) 13:31:52 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:31:52 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:31:52 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:31:53 Removing intermediate container e23a8b75d629 13:31:53 ---> 0a677a5cf732 13:31:53 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 13:31:53 ---> Running in f8a321a435a1 13:31:55 Removing intermediate container f8a321a435a1 13:31:55 ---> 7814eb21ac62 13:31:55 Step 5/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev 13:31:55 ---> Running in c2d3ea51a11f 13:31:56 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:31:57 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:31:57 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 13:31:57 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:31:57 (1/27) Installing hiredis (1.0.0-r0) 13:31:58 (2/27) Installing hiredis-dev (1.0.0-r0) 13:31:58 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 13:31:58 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 13:31:59 (5/27) Installing libblkid (2.37.2-r0) 13:31:59 (6/27) Installing blkid (2.37.2-r0) 13:31:59 (7/27) Installing libcap-ng (0.8.2-r0) 13:31:59 (8/27) Installing setpriv (2.37.2-r0) 13:31:59 (9/27) Installing libmount (2.37.2-r0) 13:31:59 (10/27) Installing libsmartcols (2.37.2-r0) 13:31:59 (11/27) Installing findmnt (2.37.2-r0) 13:31:59 (12/27) Installing mcookie (2.37.2-r0) 13:31:59 (13/27) Installing hexdump (2.37.2-r0) 13:31:59 (14/27) Installing lsblk (2.37.2-r0) 13:32:00 (15/27) Installing libuuid (2.37.2-r0) 13:32:00 (16/27) Installing libfdisk (2.37.2-r0) 13:32:00 (17/27) Installing sfdisk (2.37.2-r0) 13:32:00 (18/27) Installing cfdisk (2.37.2-r0) 13:32:00 (19/27) Installing partx (2.37.2-r0) 13:32:00 (20/27) Installing flock (2.37.2-r0) 13:32:00 (21/27) Installing logger (2.37.2-r0) 13:32:00 (22/27) Installing uuidgen (2.37.2-r0) 13:32:00 (23/27) Installing libeconf (0.3.8-r1) 13:32:00 (24/27) Installing util-linux (2.37.2-r0) 13:32:01 (25/27) Installing util-linux-dev (2.37.2-r0) 13:32:01 (26/27) Installing libidn2 (2.3.1-r0) 13:32:01 (27/27) Installing wget (1.21.1-r1) 13:32:01 Executing busybox-1.33.1-r3.trigger 13:32:01 OK: 286 MiB in 104 packages 13:32:03 Removing intermediate container c2d3ea51a11f 13:32:03 ---> f6b827e210dd 13:32:03 Step 6/24 : ENV CBOR_VERSION=0.5.0 13:32:03 ---> Running in 6c13b02fbdc6 13:32:03 Removing intermediate container 6c13b02fbdc6 13:32:03 ---> a7be29fe6911 13:32:03 Step 7/24 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 13:32:03 ---> Running in 74f49eb1254e 13:32:04 --2022-02-02 13:32:04-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:32:04 Resolving github.com (github.com)... 140.82.114.4 13:32:04 Connecting to github.com (github.com)|140.82.114.4|:443... connected. 13:32:04 HTTP request sent, awaiting response... 302 Found 13:32:04 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:32:04 --2022-02-02 13:32:04-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:32:04 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 13:32:04 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 13:32:04 HTTP request sent, awaiting response... 200 OK 13:32:04 Length: unspecified [application/x-gzip] 13:32:04 Saving to: 'STDOUT' 13:32:04  13:32:04 0K .......... .......... .......... .......... .......... 1.21M 13:32:04 50K .......... .......... .......... .......... .......... 2.34M 13:32:04 100K .......... .......... .......... .......... .......... 18.8M 13:32:04 150K .......... .......... .......... .......... .......... 2.68M 13:32:04 200K .......... .......... .......... .......... .......... 15.5M 13:32:04 250K .......... .......... .......... .......... .......... 3.36M 13:32:04 300K .......... .......... .......... .......... .......... 4.30M 13:32:04 350K .......... .......... .......... .......... .......... 9.39M 13:32:04 400K .......... .......... .......... .......... .......... 3.24M 13:32:04 450K .......... .......... .......... .......... .......... 3.80M 13:32:04 500K .......... .......... .......... .......... .......... 7.27M 13:32:04 550K .......... .......... .......... .......... .......... 2.36M 13:32:04 600K .......... .......... .......... .......... .......... 866K 13:32:05 650K .......... .......... .......... .......... .......... 2.04M 13:32:05 700K .. 7.92M=0.3s 13:32:05 13:32:05 2022-02-02 13:32:04 (2.71 MB/s) - written to stdout [719348] 13:32:05 13:32:05 -- The C compiler identification is GNU 10.3.1 13:32:05 -- The CXX compiler identification is GNU 10.3.1 13:32:05 -- Detecting C compiler ABI info 13:32:05 -- Detecting C compiler ABI info - done 13:32:05 -- Check for working C compiler: /usr/bin/cc - skipped 13:32:05 -- Detecting C compile features 13:32:05 -- Detecting C compile features - done 13:32:05 -- Detecting CXX compiler ABI info 13:32:06 -- Detecting CXX compiler ABI info - done 13:32:06 -- Check for working CXX compiler: /usr/bin/c++ - skipped 13:32:06 -- Detecting CXX compile features 13:32:06 -- Detecting CXX compile features - done 13:32:06 -- Looking for include file endian.h 13:32:06 -- Looking for include file endian.h - found 13:32:06 -- Looking for sys/types.h 13:32:07 -- Looking for sys/types.h - found 13:32:07 -- Looking for stdint.h 13:32:07 -- Looking for stdint.h - found 13:32:07 -- Looking for stddef.h 13:32:07 -- Looking for stddef.h - found 13:32:07 -- Check size of size_t 13:32:07 -- Check size of size_t - done 13:32:07 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:32:07 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:32:07 asked CMake to find a package configuration file provided by "cJSON", but 13:32:07 CMake did not find one. 13:32:07 13:32:07 Could not find a package configuration file provided by "cJSON" with any of 13:32:07 the following names: 13:32:07 13:32:07 cJSONConfig.cmake 13:32:07 cjson-config.cmake 13:32:07 13:32:07 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:32:07 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:32:07 provides a separate development package or SDK, be sure it has been 13:32:07 installed. 13:32:07 13:32:07 13:32:07 -- Configuring done 13:32:07 -- Generating done 13:32:08 -- Build files have been written to: /tmp/cbor 13:32:08 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:32:09 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:32:09 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:32:09 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:32:10 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:32:11 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:32:11 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:32:11 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:32:11 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:32:12 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:32:13 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:32:13 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:32:13 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:32:14 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:32:14 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:32:14 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:32:15 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:32:15 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:32:15 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:32:15 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:32:16 [ 40%] Linking C shared library libcbor.so 13:32:16 [ 40%] Built target cbor_shared 13:32:16 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:32:17 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:32:17 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:32:18 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:32:20 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:32:20 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:32:20 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:32:21 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:32:21 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:32:21 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:32:22 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:32:22 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:32:23 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:32:23 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:32:24 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:32:24 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:32:24 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:32:25 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:32:25 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:32:25 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:32:25 [ 80%] Linking C static library libcbor.a 13:32:25 [ 80%] Built target cbor 13:32:25 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:32:26 [ 84%] Linking C executable readfile 13:32:26 [ 84%] Built target readfile 13:32:26 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:32:26 [ 88%] Linking C executable create_items 13:32:26 [ 88%] Built target create_items 13:32:26 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:32:27 [ 92%] Linking C executable sort 13:32:27 [ 92%] Built target sort 13:32:27 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:32:27 [ 96%] Linking C executable hello 13:32:27 [ 96%] Built target hello 13:32:27 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:32:27 [100%] Linking C executable streaming_parser 13:32:27 [100%] Built target streaming_parser 13:32:27 Install the project... 13:32:27 -- Install configuration: "Release" 13:32:27 -- Installing: /usr/local/include/cbor/configuration.h 13:32:27 -- Installing: /usr/local/lib/libcbor.a 13:32:28 -- Installing: /usr/local/lib/libcbor.so.0.0.0 13:32:28 -- Installing: /usr/local/lib/libcbor.so.0 13:32:28 -- Installing: /usr/local/lib/libcbor.so 13:32:28 -- Up-to-date: /usr/local/include/cbor 13:32:28 -- Installing: /usr/local/include/cbor/data.h 13:32:28 -- Installing: /usr/local/include/cbor/callbacks.h 13:32:28 -- Installing: /usr/local/include/cbor/ints.h 13:32:28 -- Installing: /usr/local/include/cbor/arrays.h 13:32:28 -- Installing: /usr/local/include/cbor/maps.h 13:32:28 -- Installing: /usr/local/include/cbor/tags.h 13:32:28 -- Installing: /usr/local/include/cbor/serialization.h 13:32:28 -- Installing: /usr/local/include/cbor/common.h 13:32:28 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:32:28 -- Installing: /usr/local/include/cbor/internal 13:32:28 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:32:28 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:32:28 -- Installing: /usr/local/include/cbor/internal/stack.h 13:32:28 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:32:28 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:32:28 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:32:28 -- Installing: /usr/local/include/cbor/bytestrings.h 13:32:28 -- Installing: /usr/local/include/cbor/encoding.h 13:32:28 -- Installing: /usr/local/include/cbor/streaming.h 13:32:28 -- Installing: /usr/local/include/cbor/strings.h 13:32:28 -- Installing: /usr/local/include/cbor.h 13:32:28 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 13:32:29 Removing intermediate container 74f49eb1254e 13:32:29 ---> 3339eac486fc 13:32:29 Step 8/24 : RUN mkdir /tmp/sdk 13:32:29 ---> Running in 6fb1a88472c7 13:32:31 Removing intermediate container 6fb1a88472c7 13:32:31 ---> 58c116cfac5e 13:32:31 Step 9/24 : COPY VERSION /tmp/sdk 13:32:32 ---> fa5308b01def 13:32:32 Step 10/24 : COPY src /tmp/sdk/src 13:32:33 ---> b8a21b3a2fd8 13:32:33 Step 11/24 : COPY include /tmp/sdk/include 13:32:33 ---> 0a7a8db2bd54 13:32:33 Step 12/24 : COPY scripts /tmp/sdk/scripts 13:32:34 ---> c34292b1c0aa 13:32:34 Step 13/24 : COPY LICENSE /tmp/sdk 13:32:34 ---> c6bf3d594ebe 13:32:34 Step 14/24 : COPY Attribution.txt /tmp/sdk 13:32:35 ---> 8ee7c3859279 13:32:35 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:32:35 ---> Running in cc49d7ce779b 13:32:36 + CPPCHECK=false 13:32:36 + DOCGEN=false 13:32:36 + TOMLVER=SDK-0.2 13:32:36 + CUTILVER=1.2.2 13:32:36 + '[' 0 -gt 0 ] 13:32:36 + readlink -f ./scripts/build.sh 13:32:36 + dirname /tmp/sdk/scripts/build.sh 13:32:36 + dirname /tmp/sdk/scripts 13:32:36 + ROOT=/tmp/sdk 13:32:36 + cd /tmp/sdk 13:32:36 + '[' '!' -d deps ] 13:32:36 + mkdir deps 13:32:36 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:32:36 + tar -C deps -z -x -f - 13:32:36 --2022-02-02 13:32:36-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:32:36 Resolving github.com (github.com)... 140.82.114.4 13:32:36 Connecting to github.com (github.com)|140.82.114.4|:443... connected. 13:32:36 HTTP request sent, awaiting response... 302 Found 13:32:36 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:32:36 --2022-02-02 13:32:36-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:32:36 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 13:32:36 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 13:32:36 HTTP request sent, awaiting response... 200 OK 13:32:36 Length: unspecified [application/x-gzip] 13:32:36 Saving to: 'STDOUT' 13:32:36  13:32:36 0K .......... ......    823K=0.02s 13:32:36 13:32:36 2022-02-02 13:32:36 (823 KB/s) - written to stdout [16451] 13:32:36 13:32:36 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:32:36 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 13:32:36 + tar -C deps -z -x -f - 13:32:36 --2022-02-02 13:32:36-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 13:32:36 Resolving github.com (github.com)... 140.82.114.4 13:32:36 Connecting to github.com (github.com)|140.82.114.4|:443... connected. 13:32:36 HTTP request sent, awaiting response... 302 Found 13:32:36 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 13:32:36 --2022-02-02 13:32:36-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 13:32:36 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 13:32:36 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 13:32:37 HTTP request sent, awaiting response... 200 OK 13:32:37 Length: unspecified [application/x-gzip] 13:32:37 Saving to: 'STDOUT' 13:32:37  13:32:37 0K .......... .......... .......... .......... .......... 1.20M 13:32:37 50K .......... .......... .......... .......... .......... 2.54M 13:32:37 100K .......... .......... .......... .......... .......... 13.4M 13:32:37 150K .......... .......... .......... ......... 2.05M=0.08s 13:32:37 13:32:37 2022-02-02 13:32:37 (2.25 MB/s) - written to stdout [193961] 13:32:37 13:32:37 + mkdir -p src/c/iot 13:32:37 + 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 13:32:37 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 13:32:37 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 13:32:37 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 13:32:37 + mkdir -p include/iot 13:32:37 + 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 13:32:37 + mkdir -p include/iot/os 13:32:37 + 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 13:32:37 + mkdir -p /tmp/sdk/build/release 13:32:37 + cd /tmp/sdk/build/release 13:32:37 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:32:37 -- The C compiler identification is GNU 10.3.1 13:32:37 -- Detecting C compiler ABI info 13:32:37 -- Detecting C compiler ABI info - done 13:32:38 -- Check for working C compiler: /usr/bin/cc - skipped 13:32:38 -- Detecting C compile features 13:32:38 -- Detecting C compile features - done 13:32:38 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:32:38 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 13:32:38 -- Found LIBYAML: /usr/lib/libyaml.so 13:32:38 -- Found LIBUUID: /usr/lib/libuuid.so 13:32:38 -- Found LIBCBOR: /usr/local/lib/libcbor.so 13:32:38 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:32:38 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:32:38 -- C SDK 0.0.0 for Linux 13:32:38 -- Performing Test CSDK_HAVE_ATOMIC 13:32:38 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:32:38 -- Found Curses: /usr/lib/libcurses.so 13:32:38 -- Configuring done 13:32:38 -- Generating done 13:32:38 -- Build files have been written to: /tmp/sdk/build/release 13:32:39 + + maketee all release.log package 13:32:39 13:32:39 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:32:39 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:32:40 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:32:42 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:32:43 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:32:43 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:32:44 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:32:45 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:32:45 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:32:46 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:32:48 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:32:48 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:32:49 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:32:50 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:32:51 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:32:51 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:32:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:32:54 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:32:54 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:32:55 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:32:55 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:32:56 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:32:56 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 13:32:56 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 13:32:56 275 | const iot_component_factory_t * factory; 13:32:56 | ^~~~~~~ 13:32:57 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:33:02 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:33:02 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:33:02 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:33:02 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:33:03 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:33:03 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:33:05 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:33:05 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:33:05 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:33:06 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 13:33:06 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:33:09 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:33:09 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:33:10 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:33:10 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:33:16 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:33:16 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:33:16 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:33:17 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:33:17 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 13:33:17 /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] 13:33:17 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 13:33:17 | ^~~~~~~~~~~~~ 13:33:17 | | 13:33:17 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 13:33:17 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:33:17 /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 13:33:17 2714 | MHD_KeyValueIterator iterator, 13:33:17 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 13:33:17 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 13:33:17 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:33:17 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 13:33:17 | ^~~~~~~~~~~~ 13:33:17 | | 13:33:17 | 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 **)} 13:33:17 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:33:17 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 13:33:17 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:33:17 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:33:17 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:33:17 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 13:33:17 | ^~~~~~~~~~~~ 13:33:17 | | 13:33:17 | 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 **)} 13:33:17 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:33:17 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 13:33:17 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:33:17 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:33:18 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:33:20 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:33:20 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:33:21 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:33:21 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:33:24 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:33:28 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:33:28 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:33:29 [ 76%] Linking C shared library libcsdk.so 13:33:29 [ 76%] Built target csdk 13:33:29 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:33:30 [ 79%] Linking C executable template 13:33:30 [ 79%] Built target template 13:33:30 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:33:31 [ 82%] Linking C executable device-counter 13:33:31 [ 82%] Built target device-counter 13:33:31 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:33:31 [ 85%] Linking C executable device-random 13:33:31 [ 85%] Built target device-random 13:33:31 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:33:32 [ 88%] Linking C executable device-gyro 13:33:32 [ 88%] Built target device-gyro 13:33:32 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:33:33 [ 91%] Linking C executable device-bitfields 13:33:33 [ 91%] Built target device-bitfields 13:33:33 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:33:34 [ 94%] Linking C executable template-discovery 13:33:34 [ 94%] Built target template-discovery 13:33:34 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:33:35 [ 97%] Linking C executable device-file 13:33:35 [ 97%] Built target device-file 13:33:35 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:33:36 [100%] Linking C executable device-terminal 13:33:36 [100%] Built target device-terminal 13:33:36 Run CPack packaging tool... 13:33:36 CPack: Create package using TGZ 13:33:36 CPack: Install projects 13:33:36 CPack: - Run preinstall target for: Csdk 13:33:37 CPack: - Install project: Csdk [] 13:33:37 CPack: Create package 13:33:37 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:33:37 + '[' false '=' true ] 13:33:37 + '[' false '=' true ] 13:33:37 + mkdir -p /tmp/sdk/build/debug 13:33:37 + cd /tmp/sdk/build/debug 13:33:37 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:33:37 -- The C compiler identification is GNU 10.3.1 13:33:37 -- Detecting C compiler ABI info 13:33:38 -- Detecting C compiler ABI info - done 13:33:38 -- Check for working C compiler: /usr/bin/cc - skipped 13:33:38 -- Detecting C compile features 13:33:38 -- Detecting C compile features - done 13:33:38 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:33:38 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 13:33:38 -- Found LIBYAML: /usr/lib/libyaml.so 13:33:38 -- Found LIBUUID: /usr/lib/libuuid.so 13:33:38 -- Found LIBCBOR: /usr/local/lib/libcbor.so 13:33:38 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:33:38 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:33:38 -- C SDK 0.0.0 for Linux 13:33:38 -- Performing Test CSDK_HAVE_ATOMIC 13:33:38 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:33:38 -- Found Curses: /usr/lib/libcurses.so 13:33:38 -- Configuring done 13:33:39 -- Generating done 13:33:39 -- Build files have been written to: /tmp/sdk/build/debug 13:33:39 + make 13:33:39 + tee debug.log 13:33:39 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:33:39 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:33:39 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:33:40 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:33:40 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:33:41 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:33:41 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:33:41 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:33:41 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:33:42 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:33:43 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:33:43 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:33:43 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:33:43 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:33:44 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:33:44 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:33:44 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:33:45 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:33:45 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:33:46 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:33:46 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:33:46 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:33:46 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 13:33:46 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 13:33:46 275 | const iot_component_factory_t * factory; 13:33:46 | ^~~~~~~ 13:33:46 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:33:48 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:33:48 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:33:48 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:33:48 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:33:49 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:33:49 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:33:49 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:33:49 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:33:50 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:33:50 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 13:33:50 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:33:51 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:33:51 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:33:51 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:33:52 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:33:52 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:33:53 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:33:53 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:33:54 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:33:54 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 13:33:54 /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] 13:33:54 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 13:33:54 | ^~~~~~~~~~~~~ 13:33:54 | | 13:33:54 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 13:33:54 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:33:54 /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 13:33:54 2714 | MHD_KeyValueIterator iterator, 13:33:54 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 13:33:54 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 13:33:54 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:33:54 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 13:33:54 | ^~~~~~~~~~~~ 13:33:54 | | 13:33:54 | 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 **)} 13:33:54 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:33:54 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 13:33:54 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:33:54 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:33:54 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:33:54 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 13:33:54 | ^~~~~~~~~~~~ 13:33:54 | | 13:33:54 | 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 **)} 13:33:54 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:33:54 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 13:33:54 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:33:54 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:33:54 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:33:55 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:33:56 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:33:56 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:33:56 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:33:57 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:33:58 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:33:58 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:33:58 [ 76%] Linking C shared library libcsdk.so 13:33:59 [ 76%] Built target csdk 13:33:59 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:33:59 [ 79%] Linking C executable template 13:33:59 [ 79%] Built target template 13:33:59 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:33:59 [ 82%] Linking C executable device-counter 13:34:00 [ 82%] Built target device-counter 13:34:00 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:34:00 [ 85%] Linking C executable device-random 13:34:00 [ 85%] Built target device-random 13:34:00 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:34:00 [ 88%] Linking C executable device-gyro 13:34:01 [ 88%] Built target device-gyro 13:34:01 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:34:01 [ 91%] Linking C executable device-bitfields 13:34:01 [ 91%] Built target device-bitfields 13:34:01 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:34:02 [ 94%] Linking C executable template-discovery 13:34:02 [ 94%] Built target template-discovery 13:34:02 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:34:02 [ 97%] Linking C executable device-file 13:34:03 [ 97%] Built target device-file 13:34:03 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:34:03 [100%] Linking C executable device-terminal 13:34:03 [100%] Built target device-terminal 13:34:03 make: Entering directory '/tmp/sdk/build/release' 13:34:03 make[1]: Entering directory '/tmp/sdk/build/release' 13:34:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:34:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:34:03 [ 76%] Built target csdk 13:34:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:34:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:34:03 [ 79%] Built target template 13:34:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:34:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:34:03 [ 82%] Built target device-counter 13:34:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:34:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:34:03 [ 85%] Built target device-random 13:34:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:34:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:34:03 [ 88%] Built target device-gyro 13:34:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:34:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:34:04 [ 91%] Built target device-bitfields 13:34:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:34:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:34:04 [ 94%] Built target template-discovery 13:34:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:34:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:34:04 [ 97%] Built target device-file 13:34:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:34:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:34:04 [100%] Built target device-terminal 13:34:04 make[1]: Leaving directory '/tmp/sdk/build/release' 13:34:04 Install the project... 13:34:04 -- Install configuration: "Release" 13:34:04 -- Installing: /usr/local/lib/libcsdk.so 13:34:04 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:34:04 -- Up-to-date: /usr/local/include 13:34:04 -- Installing: /usr/local/include/edgex 13:34:04 -- Installing: /usr/local/include/edgex/edgex-base.h 13:34:04 -- Installing: /usr/local/include/edgex/devices.h 13:34:04 -- Installing: /usr/local/include/edgex/rest-server.h 13:34:04 -- Installing: /usr/local/include/edgex/profiles.h 13:34:04 -- Installing: /usr/local/include/edgex/edgex.h 13:34:04 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:34:04 -- Installing: /usr/local/include/devsdk 13:34:04 -- Installing: /usr/local/include/devsdk/devsdk.h 13:34:04 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:34:04 -- Installing: /usr/local/include/iot 13:34:04 -- Installing: /usr/local/include/iot/data.h 13:34:04 -- Installing: /usr/local/include/iot/config.h 13:34:04 -- Installing: /usr/local/include/iot/container.h 13:34:04 -- Installing: /usr/local/include/iot/typecode.h 13:34:04 -- Installing: /usr/local/include/iot/thread.h 13:34:04 -- Installing: /usr/local/include/iot/hash.h 13:34:04 -- Installing: /usr/local/include/iot/iot.h 13:34:04 -- Installing: /usr/local/include/iot/defs.h 13:34:04 -- Installing: /usr/local/include/iot/uuid.h 13:34:04 -- Installing: /usr/local/include/iot/component.h 13:34:04 -- Installing: /usr/local/include/iot/threadpool.h 13:34:04 -- Installing: /usr/local/include/iot/time.h 13:34:04 -- Installing: /usr/local/include/iot/logger.h 13:34:04 -- Installing: /usr/local/include/iot/os 13:34:04 -- Installing: /usr/local/include/iot/os/zephyr.h 13:34:04 -- Installing: /usr/local/include/iot/os/macos.h 13:34:04 -- Installing: /usr/local/include/iot/os/linux.h 13:34:04 -- Installing: /usr/local/include/iot/json.h 13:34:04 -- Installing: /usr/local/include/iot/scheduler.h 13:34:04 -- Installing: /usr/local/include/iot/base64.h 13:34:04 -- Installing: /usr/local/include/iot/os.h 13:34:04 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:34:04 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:34:04 make: Leaving directory '/tmp/sdk/build/release' 13:34:06 Removing intermediate container cc49d7ce779b 13:34:06 ---> 2dcaaaccf325 13:34:06 Step 16/24 : FROM ${BASE} 13:34:06 ---> b6d714ea7bf2 13:34:06 Step 17/24 : LABEL maintainer="IOTech " 13:34:06 ---> Running in 2760ae95ccbc 13:34:06 Removing intermediate container 2760ae95ccbc 13:34:06 ---> 8d1833f225a7 13:34:06 Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 13:34:06 ---> Running in 34b8387f2a8f 13:34:07 Connecting to iotech.jfrog.io (54.170.66.44:443) 13:34:08 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:34:08 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:34:08 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:34:08 Removing intermediate container 34b8387f2a8f 13:34:08 ---> 7c377ab3c2bf 13:34:08 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 13:34:08 ---> Running in 6a5f9a3e5f75 13:34:10 Removing intermediate container 6a5f9a3e5f75 13:34:10 ---> 2fda9220c524 13:34:10 Step 20/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev 13:34:10 ---> Running in 6aaa81dbb328 13:34:11 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:34:12 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:34:12 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 13:34:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:34:13 (1/7) Installing curl (7.79.1-r0) 13:34:13 (2/7) Installing hiredis (1.0.0-r0) 13:34:13 (3/7) Installing hiredis-dev (1.0.0-r0) 13:34:13 (4/7) Installing libuuid (2.37.2-r0) 13:34:13 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 13:34:14 (6/7) Installing libidn2 (2.3.1-r0) 13:34:14 (7/7) Installing wget (1.21.1-r1) 13:34:14 Executing busybox-1.33.1-r3.trigger 13:34:14 OK: 276 MiB in 84 packages 13:34:15 Removing intermediate container 6aaa81dbb328 13:34:15 ---> 802e7647d278 13:34:15 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:34:16 ---> 8ee8d861ac8a 13:34:16 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:34:17 ---> 6b50c7de6075 13:34:17 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 13:34:18 ---> 4ed6aebe420b 13:34:18 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:34:18 ---> 301cf995bb75 13:34:18 Successfully built 301cf995bb75 13:34:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:34:18 + docker inspect -f . ci-base-image-arm64 13:34:18 . [Pipeline] withDockerContainer 13:34:19 prd-ubuntu18.04-docker-arm64-4c-16g-4434 does not seem to be running inside a container 13:34:19 $ 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 ******** ci-base-image-arm64 cat 13:34:20 $ docker top 7ee47d51e627f0b0ff7a7681346a10a579414414e8a6412f2c791ae206eb961e -eo pid,comm [Pipeline] { [Pipeline] sh 13:34:21 + make test 13:34:21 echo "make test" 13:34:21 make test [Pipeline] } 13:34:21 $ docker stop --time=1 7ee47d51e627f0b0ff7a7681346a10a579414414e8a6412f2c791ae206eb961e 13:34:23 $ docker rm -f 7ee47d51e627f0b0ff7a7681346a10a579414414e8a6412f2c791ae206eb961e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:34:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:34:24 + ls -al . 13:34:24 total 200 13:34:24 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 13:31 . 13:34:24 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 13:31 .. 13:34:24 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 13:31 .git 13:34:24 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 13:31 .github 13:34:24 -rw-rw-r-- 1 jenkins jenkins 176 Feb 2 13:31 .gitignore 13:34:24 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 2 13:31 Attribution.txt 13:34:24 -rw-rw-r-- 1 jenkins jenkins 7880 Feb 2 13:31 CHANGES 13:34:24 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 2 13:31 Doxyfile 13:34:24 -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 13:31 GOVERNANCE.md 13:34:24 -rw-rw-r-- 1 jenkins jenkins 784 Feb 2 13:31 Jenkinsfile 13:34:24 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 2 13:31 LICENSE 13:34:24 -rw-rw-r-- 1 jenkins jenkins 444 Feb 2 13:31 Makefile 13:34:24 -rw-rw-r-- 1 jenkins jenkins 618 Feb 2 13:31 OWNERS.md 13:34:24 -rw-rw-r-- 1 jenkins jenkins 4086 Feb 2 13:31 README.md 13:34:24 -rw-rw-r-- 1 jenkins jenkins 7422 Feb 2 13:31 README.v2.md 13:34:24 -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 13:29 VERSION 13:34:24 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 13:31 docs 13:34:24 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 13:31 include 13:34:24 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 13:31 scripts 13:34:24 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 13:31 src [Pipeline] isUnix [Pipeline] sh 13:34:24 + 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=e05508a3cfac6281449c00e5bc1f9c19cdf5daef --label arch=arm64 --label version=0.0.0 . 13:34:24 Sending build context to Docker daemon 2.745MB 13:34:24 Step 1/17 : ARG BASE=alpine:3.14 13:34:24 Step 2/17 : FROM ${BASE} 13:34:24 ---> 301cf995bb75 13:34:24 Step 3/17 : LABEL maintainer="IOTech " 13:34:24 ---> Running in db4a5984393c 13:34:25 Removing intermediate container db4a5984393c 13:34:25 ---> ae4ca81aa172 13:34:25 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 13:34:25 ---> Running in 0496686e9c20 13:34:26 --2022-02-02 13:34:26-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 13:34:26 Resolving iotech.jfrog.io (iotech.jfrog.io)... 34.243.182.113, 54.74.239.58, 54.170.66.44, ... 13:34:26 Connecting to iotech.jfrog.io (iotech.jfrog.io)|34.243.182.113|:443... connected. 13:34:26 HTTP request sent, awaiting response... 200 OK 13:34:26 Length: unspecified [application/json] 13:34:26 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 13:34:26  13:34:26 0K   44.3M=0s 13:34:26 13:34:26 2022-02-02 13:34:26 (44.3 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 13:34:26 13:34:27 Removing intermediate container 0496686e9c20 13:34:27 ---> 5c68e1715480 13:34:27 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 13:34:27 ---> Running in b98e6f1b6374 13:34:29 Removing intermediate container b98e6f1b6374 13:34:29 ---> 240fb697c465 13:34:29 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 13:34:29 ---> Running in df83bab1b0d0 13:34:30 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:34:31 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:34:31 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 13:34:32 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:34:32 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 13:34:32 (2/21) Installing libblkid (2.37.2-r0) 13:34:32 (3/21) Installing blkid (2.37.2-r0) 13:34:32 (4/21) Installing libcap-ng (0.8.2-r0) 13:34:32 (5/21) Installing setpriv (2.37.2-r0) 13:34:32 (6/21) Installing libmount (2.37.2-r0) 13:34:32 (7/21) Installing libsmartcols (2.37.2-r0) 13:34:32 (8/21) Installing findmnt (2.37.2-r0) 13:34:32 (9/21) Installing mcookie (2.37.2-r0) 13:34:32 (10/21) Installing hexdump (2.37.2-r0) 13:34:33 (11/21) Installing lsblk (2.37.2-r0) 13:34:33 (12/21) Installing libfdisk (2.37.2-r0) 13:34:33 (13/21) Installing sfdisk (2.37.2-r0) 13:34:33 (14/21) Installing cfdisk (2.37.2-r0) 13:34:33 (15/21) Installing partx (2.37.2-r0) 13:34:33 (16/21) Installing flock (2.37.2-r0) 13:34:33 (17/21) Installing logger (2.37.2-r0) 13:34:33 (18/21) Installing uuidgen (2.37.2-r0) 13:34:33 (19/21) Installing libeconf (0.3.8-r1) 13:34:34 (20/21) Installing util-linux (2.37.2-r0) 13:34:34 (21/21) Installing util-linux-dev (2.37.2-r0) 13:34:34 Executing busybox-1.33.1-r3.trigger 13:34:34 OK: 286 MiB in 105 packages 13:34:35 Removing intermediate container df83bab1b0d0 13:34:35 ---> e9672963beff 13:34:35 Step 7/17 : COPY VERSION /edgex-c-sdk/ 13:34:36 ---> 19e3a966cb56 13:34:36 Step 8/17 : COPY src /edgex-c-sdk/src/ 13:34:37 ---> 5615a05881dd 13:34:37 Step 9/17 : COPY include /edgex-c-sdk/include/ 13:34:37 ---> 697879a6683b 13:34:37 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 13:34:38 ---> 9723af416efb 13:34:38 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 13:34:38 ---> ee3795ddeb01 13:34:38 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 13:34:39 ---> b653959676cc 13:34:39 Step 13/17 : WORKDIR /edgex-c-sdk 13:34:39 ---> Running in 715a4d6ea6ac 13:34:39 Removing intermediate container 715a4d6ea6ac 13:34:39 ---> 4c653fe2d366 13:34:39 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:34:40 ---> Running in f3e414cfe224 13:34:40 Removing intermediate container f3e414cfe224 13:34:40 ---> 68d4e150c068 13:34:40 Step 15/17 : LABEL arch=arm64 13:34:40 ---> Running in 7926deea9f28 13:34:40 Removing intermediate container 7926deea9f28 13:34:40 ---> 86ada2f62def 13:34:40 Step 16/17 : LABEL git_sha=e05508a3cfac6281449c00e5bc1f9c19cdf5daef 13:34:41 ---> Running in 2eea88f9da01 13:34:41 Removing intermediate container 2eea88f9da01 13:34:41 ---> 03bff8d2da99 13:34:41 Step 17/17 : LABEL version=0.0.0 13:34:41 ---> Running in ea2f9e1bda46 13:34:41 Removing intermediate container ea2f9e1bda46 13:34:41 ---> 2209d37f06b2 13:34:41 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:34:41 Successfully built 2209d37f06b2 13:34:41 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 13:34:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:34:42 13:34:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:34:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:34:43 arm64: Pulling from edgex-lftools-log-publisher 13:34:43 448f6bf000e3: Pulling fs layer 13:34:43 f757da607395: Pulling fs layer 13:34:43 05883995daec: Pulling fs layer 13:34:43 8603b9c90790: Pulling fs layer 13:34:43 1560dd03e051: Pulling fs layer 13:34:43 27f5ce0e4adf: Pulling fs layer 13:34:43 c2d8d7efcc4b: Pulling fs layer 13:34:43 8603b9c90790: Waiting 13:34:43 1560dd03e051: Waiting 13:34:43 27f5ce0e4adf: Waiting 13:34:43 c2d8d7efcc4b: Waiting 13:34:43 f757da607395: Verifying Checksum 13:34:43 f757da607395: Download complete 13:34:43 8603b9c90790: Verifying Checksum 13:34:43 8603b9c90790: Download complete 13:34:43 1560dd03e051: Verifying Checksum 13:34:43 1560dd03e051: Download complete 13:34:43 05883995daec: Verifying Checksum 13:34:43 05883995daec: Download complete 13:34:43 27f5ce0e4adf: Verifying Checksum 13:34:43 27f5ce0e4adf: Download complete 13:34:43 448f6bf000e3: Verifying Checksum 13:34:43 448f6bf000e3: Download complete 13:34:47 c2d8d7efcc4b: Verifying Checksum 13:34:47 c2d8d7efcc4b: Download complete 13:34:48 448f6bf000e3: Pull complete 13:34:48 f757da607395: Pull complete 13:34:50 05883995daec: Pull complete 13:34:50 8603b9c90790: Pull complete 13:34:51 1560dd03e051: Pull complete 13:34:51 27f5ce0e4adf: Pull complete 13:35:06 c2d8d7efcc4b: Pull complete 13:35:06 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 13:35:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:35:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:35:06 prd-ubuntu18.04-docker-arm64-4c-16g-4434 does not seem to be running inside a container 13:35:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:35:09 $ docker top a895218b66e52b30905b86b01ba022197f05cdae1b925b05ed1c81a51d427208 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:35:09 ---> job-cost.sh 13:35:09 lf-activate-venv: SKIPPING 13:35:09 INFO: No Stack... 13:35:10 INFO: Retrieving Pricing Info for: v3-standard-4 13:35:10 INFO: Archiving Costs [Pipeline] sh 13:35:11 + cat /w/workspace/device-sdk-c/2/archives/cost.csv 13:35:11 + cut -d, -f6 [Pipeline] lock 13:35:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-396-2-stack-cost] 13:35:11 Resource [jenkins-edgexfoundry-device-sdk-c-PR-396-2-stack-cost] did not exist. Created. 13:35:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-396-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:35:11 /w/workspace/device-sdk-c/2@tmp/durable-820ca3c0/script.sh: 1: /w/workspace/device-sdk-c/2@tmp/durable-820ca3c0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 13:35:12 + echo total: 0.10999999940395355 [Pipeline] stash 13:35:12 Warning: overwriting stash ‘stack-cost’ 13:35:13 Stashed 1 file(s) [Pipeline] } 13:35:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-396-2-stack-cost] [Pipeline] // lock [Pipeline] } 13:35:13 $ docker stop --time=1 a895218b66e52b30905b86b01ba022197f05cdae1b925b05ed1c81a51d427208 13:35:14 $ docker rm -f a895218b66e52b30905b86b01ba022197f05cdae1b925b05ed1c81a51d427208 [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 13:35:15 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives ']' 13:35:15 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives 13:35:15 total 8 13:35:15 drwxr-xr-x. 3 root root 34 Feb 2 13:30 . 13:35:15 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 2 13:30 .. 13:35:15 drwxr-xr-x. 2 root root 6 Feb 2 13:30 cost 13:35:15 -rw-r--r--. 1 root root 83 Feb 2 13:30 cost.csv 13:35:15 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives 13:35:15 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives 13:35:15 total 8 13:35:15 drwxr-xr-x. 3 jenkins jenkins 34 Feb 2 13:30 . 13:35:15 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 2 13:30 .. 13:35:15 drwxr-xr-x. 2 jenkins jenkins 6 Feb 2 13:30 cost 13:35:15 -rw-r--r--. 1 jenkins jenkins 83 Feb 2 13:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:35:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:35:16 ---> package-listing.sh 13:35:16 ++ facter osfamily 13:35:16 ++ tr '[:upper:]' '[:lower:]' 13:35:16 + OS_FAMILY=redhat 13:35:16 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-396 13:35:16 + START_PACKAGES=/tmp/packages_start.txt 13:35:16 + END_PACKAGES=/tmp/packages_end.txt 13:35:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:35:16 + PACKAGES=/tmp/packages_start.txt 13:35:16 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-396 ']' 13:35:16 + PACKAGES=/tmp/packages_end.txt 13:35:16 + case "${OS_FAMILY}" in 13:35:16 + sort 13:35:16 + rpm -qa 13:35:17 + '[' -f /tmp/packages_start.txt ']' 13:35:17 + '[' -f /tmp/packages_end.txt ']' 13:35:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:35:17 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-396 ']' 13:35:17 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives/ 13:35:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives/ [Pipeline] echo 13:35:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-396/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:35:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:35:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:35:18 . [Pipeline] withDockerContainer 13:35:18 prd-centos7-docker-4c-2g-4433 does not seem to be running inside a container 13:35:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-396/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-396 -v /w/workspace/edgexfoundry_device-sdk-c_PR-396:/w/workspace/edgexfoundry_device-sdk-c_PR-396:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-396@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:10003/edgex-lftools-log-publisher:latest cat 13:35:18 $ docker top 110b4b1ca7e43d9313731b960378a4e9dab121a872508bae8b6ea645e9a6b670 -eo pid,comm [Pipeline] { [Pipeline] sh 13:35:18 + touch /tmp/pre-build-complete [Pipeline] sh 13:35:19 + mkdir -p /var/log/sysstat [Pipeline] sh 13:35:19 + ls /var/log/sa-host 13:35:19 + sadf -c /var/log/sa-host/sa02 13:35:19 file_magic: OK 13:35:19 HZ: Using current value: 100 13:35:19 file_header: OK 13:35:19 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 13:35:19 Statistics: 13:35:19 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:35:19 File successfully converted to sysstat format version 12.0.3 13:35:19 + sadf -c /var/log/sa-host/sa17 13:35:19 file_magic: OK 13:35:19 HZ: Using current value: 100 13:35:19 file_header: OK 13:35:19 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 13:35:19 Statistics: 13:35:19 Hnuu...uuuununununu...Hnuu...uuuununununu... 13:35:19 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:35:19 provisioning config files... 13:35:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/config8583768197897766630tmp [Pipeline] { [Pipeline] echo 13:35:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:35:19 ---> create-netrc.sh [Pipeline] } 13:35:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:35:20 ---> python-tools-install.sh [Pipeline] echo 13:35:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:35:20 ---> sudo-logs.sh 13:35:20 Archiving 'sudo' log.. 13:35:20 sudo: unable to resolve host prd-centos7-docker-4c-2g-4433.novalocal: Name or service not known 13:35:20 sudo: unable to resolve host prd-centos7-docker-4c-2g-4433.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 13:35:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:35:20 ---> job-cost.sh 13:35:20 lf-activate-venv: SKIPPING 13:35:20 DEBUG: total: 0.05999999865889549 13:35:20 INFO: Retrieving Stack Cost... 13:35:21 INFO: Retrieving Pricing Info for: v3-standard-2 13:35:21 INFO: Archiving Costs [Pipeline] echo 13:35:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:35:21 ---> logs-deploy.sh 13:35:21 lf-activate-venv: SKIPPING 13:35:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-396/2 13:35:21 INFO: archiving workspace using pattern(s): 13:35:22 Archives upload complete. 13:35:22 INFO: archiving logs to Nexus