Pull request #422 opened 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 dd93335fa5a2419811336d42df6bf0719f663889+165bf1afc6928f684637a03d8c76ec8e2cf51e8a (aaf951516073f6b061c8038e4a12550595a65683) 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-ssh7737857504302016375.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh11973853018074963296.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-422/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-422/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3169848152692432049.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-422/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5992193944996944229.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh12121497090444945071.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-422/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-422/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9823629886508566820.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-15440 in /w/workspace/edgexfoundry_device-sdk-c_PR-422 [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-422 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 165bf1afc6928f684637a03d8c76ec8e2cf51e8a into PR head commit dd93335fa5a2419811336d42df6bf0719f663889 Merge succeeded, producing dd93335fa5a2419811336d42df6bf0719f663889 Checking out Revision dd93335fa5a2419811336d42df6bf0719f663889 (PR-422) > git config core.sparsecheckout # timeout=10 > git checkout -f dd93335fa5a2419811336d42df6bf0719f663889 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 165bf1afc6928f684637a03d8c76ec8e2cf51e8a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd93335fa5a2419811336d42df6bf0719f663889 # timeout=10 Commit message: "feat: use vault access tokens for consul (#335)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:55:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:55:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:55:38 ========================================================= 10:55:38 EdgeX Global Pipelines Version Info 10:55:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:55:39 ------------------- 10:55:39 stable info: 10:55:39 ------------------- 10:55:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:55:39 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 10:55:39 Message: update stable to v1.0.234 10:55:40 ------------------- 10:55:40 experimental info: 10:55:40 ------------------- 10:55:40 Commited By: **** collab-it+edgex@linuxfoundation.org 10:55:40 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 10:55:40 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:55:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 10:55:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 10:55:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:55:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:55:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 10:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 10:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 10:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:55:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:55:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:55:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:55:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:55:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:55:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-422 [Pipeline] echo 10:55:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-422 [Pipeline] echo 10:55:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-422 [Pipeline] echo 10:55:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd93335fa5a2419811336d42df6bf0719f663889 [Pipeline] echo 10:55:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd93335 [Pipeline] echo 10:55:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:55:41 provisioning config files... 10:55:41 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-422@tmp/config4082391383492860730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:55:41 ---> docker-login.sh 10:55:41 nexus3.edgexfoundry.org:10001 10:55:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:42 Configure a credential helper to remove this warning. See 10:55:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:42 10:55:42 Login Succeeded 10:55:42 nexus3.edgexfoundry.org:10002 10:55:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:42 Configure a credential helper to remove this warning. See 10:55:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:42 10:55:42 Login Succeeded 10:55:42 nexus3.edgexfoundry.org:10003 10:55:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:42 Configure a credential helper to remove this warning. See 10:55:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:42 10:55:42 Login Succeeded 10:55:42 nexus3.edgexfoundry.org:10004 10:55:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:42 Configure a credential helper to remove this warning. See 10:55:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:42 10:55:42 Login Succeeded 10:55:42 docker.io 10:55:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:42 Configure a credential helper to remove this warning. See 10:55:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:42 10:55:42 Login Succeeded 10:55:42 ---> docker-login.sh ends [Pipeline] } 10:55:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 10:55:43 + git rev-list -1 --merges dd93335fa5a2419811336d42df6bf0719f663889~1..dd93335fa5a2419811336d42df6bf0719f663889 [Pipeline] echo 10:55:43 -----------> git rev-list -1 --merges dd93335fa5a2419811336d42df6bf0719f663889~1..dd93335fa5a2419811336d42df6bf0719f663889 dd93335fa5a2419811336d42df6bf0719f663889 [false] [Pipeline] sh 10:55:43 + git log --format=format:%s -1 dd93335fa5a2419811336d42df6bf0719f663889 [Pipeline] echo 10:55:43 ========================================================= 10:55:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:55:43 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:55:44 + git rev-list -1 --merges dd93335fa5a2419811336d42df6bf0719f663889~1..dd93335fa5a2419811336d42df6bf0719f663889 [Pipeline] echo 10:55:44 -----------> git rev-list -1 --merges dd93335fa5a2419811336d42df6bf0719f663889~1..dd93335fa5a2419811336d42df6bf0719f663889 dd93335fa5a2419811336d42df6bf0719f663889 [false] [Pipeline] sh 10:55:44 + git log --format=format:%s -1 dd93335fa5a2419811336d42df6bf0719f663889 [Pipeline] echo 10:55:45 ========================================================= 10:55:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:55:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 10:55:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:55:45 + grep -v github /etc/ssh/ssh_known_hosts 10:55:45 + [ -e /tmp/ssh_known_hosts ] 10:55:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:55:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:55:45 + sudo tee -a /etc/ssh/ssh_known_hosts 10:55:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:55:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:55:46 10:55:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:55:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:55:46 0.1.4: Pulling from edgex-devops/py-git-semver 10:55:46 42c077c10790: Pulling fs layer 10:55:46 f63e77b7563a: Pulling fs layer 10:55:46 bd5fdadae976: Pulling fs layer 10:55:46 205491f53016: Pulling fs layer 10:55:46 df18705c85c3: Pulling fs layer 10:55:46 bdb3f477010e: Pulling fs layer 10:55:46 c8a8fc8e1c8f: Pulling fs layer 10:55:46 2c6e9b1d212d: Pulling fs layer 10:55:46 bdb8f0575790: Pulling fs layer 10:55:46 386e3cb2ff24: Pulling fs layer 10:55:46 2343380bae48: Pulling fs layer 10:55:46 205491f53016: Waiting 10:55:46 df18705c85c3: Waiting 10:55:46 bdb3f477010e: Waiting 10:55:46 c8a8fc8e1c8f: Waiting 10:55:46 2c6e9b1d212d: Waiting 10:55:46 bdb8f0575790: Waiting 10:55:46 386e3cb2ff24: Waiting 10:55:46 2343380bae48: Waiting 10:55:46 f63e77b7563a: Verifying Checksum 10:55:46 f63e77b7563a: Download complete 10:55:46 205491f53016: Verifying Checksum 10:55:46 205491f53016: Download complete 10:55:46 df18705c85c3: Download complete 10:55:46 bd5fdadae976: Verifying Checksum 10:55:46 bd5fdadae976: Download complete 10:55:46 bdb3f477010e: Verifying Checksum 10:55:46 bdb3f477010e: Download complete 10:55:46 2c6e9b1d212d: Download complete 10:55:46 bdb8f0575790: Download complete 10:55:46 386e3cb2ff24: Verifying Checksum 10:55:46 386e3cb2ff24: Download complete 10:55:46 2343380bae48: Verifying Checksum 10:55:46 2343380bae48: Download complete 10:55:46 42c077c10790: Verifying Checksum 10:55:46 42c077c10790: Download complete 10:55:47 c8a8fc8e1c8f: Download complete 10:55:47 42c077c10790: Pull complete 10:55:47 f63e77b7563a: Pull complete 10:55:48 bd5fdadae976: Pull complete 10:55:48 205491f53016: Pull complete 10:55:48 df18705c85c3: Pull complete 10:55:49 bdb3f477010e: Pull complete 10:55:50 c8a8fc8e1c8f: Pull complete 10:55:50 2c6e9b1d212d: Pull complete 10:55:50 bdb8f0575790: Pull complete 10:55:50 386e3cb2ff24: Pull complete 10:55:50 2343380bae48: Pull complete 10:55:50 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 10:55:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:55:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:55:51 prd-ubuntu20.04-docker-8c-8g-15440 does not seem to be running inside a container 10:55:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-422 -v /w/workspace/edgexfoundry_device-sdk-c_PR-422:/w/workspace/edgexfoundry_device-sdk-c_PR-422:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-422@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-422@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:55:52 $ docker top d5eb17d53231136fdde9a484888442ed7a830a860fc4df21359096e09071b394 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:55:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:55:52 [ssh-agent] Looking for ssh-agent implementation... 10:55:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:55:52 $ docker exec d5eb17d53231136fdde9a484888442ed7a830a860fc4df21359096e09071b394 ssh-agent 10:55:52 SSH_AUTH_SOCK=/tmp/ssh-yxGzzFTxJMQa/agent.34 10:55:52 SSH_AGENT_PID=41 10:55:52 Running ssh-add (command line suppressed) 10:55:53 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-422@tmp/private_key_8090353398950054742.key (/w/workspace/edgexfoundry_device-sdk-c_PR-422@tmp/private_key_8090353398950054742.key) 10:55:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:55:53 + git tag --points-at HEAD [Pipeline] } 10:55:53 $ docker exec --env ******** --env ******** d5eb17d53231136fdde9a484888442ed7a830a860fc4df21359096e09071b394 ssh-agent -k 10:55:53 unset SSH_AUTH_SOCK; 10:55:53 unset SSH_AGENT_PID; 10:55:53 echo Agent pid 41 killed; 10:55:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:55:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:55:53 [ssh-agent] Looking for ssh-agent implementation... 10:55:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:55:53 $ docker exec d5eb17d53231136fdde9a484888442ed7a830a860fc4df21359096e09071b394 ssh-agent 10:55:53 SSH_AUTH_SOCK=/tmp/ssh-foCHgWgF8VDP/agent.73 10:55:53 SSH_AGENT_PID=80 10:55:53 Running ssh-add (command line suppressed) 10:55:53 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-422@tmp/private_key_4602950726146143802.key (/w/workspace/edgexfoundry_device-sdk-c_PR-422@tmp/private_key_4602950726146143802.key) 10:55:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:55:54 + git semver init 10:55:54 2022-06-23 10:55:54,539 [run_init] DEBUG init version:0.0.0 force:False 10:55:54 2022-06-23 10:55:54,540 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-422/.semver 10:55:54 2022-06-23 10:55:54,540 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-422/.semver 10:55:54 2022-06-23 10:55:54,540 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-422/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-422, universal_newlines=False, shell=None, istream=None) 10:55:55 2022-06-23 10:55:55,232 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-422/.git/info/exclude 10:55:55 2022-06-23 10:55:55,233 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-422/.semver/PR-422 with force:False 10:55:55 2022-06-23 10:55:55,233 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-422/.semver/PR-422 10:55:55 2022-06-23 10:55:55,238 [execute] INFO git cat-file --batch-check 10:55:55 2022-06-23 10:55:55,238 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-422/.semver, universal_newlines=False, shell=None, istream=) 10:55:55 2022-06-23 10:55:55,245 [execute] INFO git cat-file --batch 10:55:55 2022-06-23 10:55:55,245 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-422/.semver, universal_newlines=False, shell=None, istream=) 10:55:55 2022-06-23 10:55:55,251 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-422/.semver/PR-422 10:55:55 0.0.0 [Pipeline] } 10:55:55 $ docker exec --env ******** --env ******** d5eb17d53231136fdde9a484888442ed7a830a860fc4df21359096e09071b394 ssh-agent -k 10:55:55 unset SSH_AUTH_SOCK; 10:55:55 unset SSH_AGENT_PID; 10:55:55 echo Agent pid 80 killed; 10:55:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:55:56 + git semver [Pipeline] } 10:55:56 $ docker stop --time=1 d5eb17d53231136fdde9a484888442ed7a830a860fc4df21359096e09071b394 10:55:57 $ docker rm -f d5eb17d53231136fdde9a484888442ed7a830a860fc4df21359096e09071b394 [Pipeline] // withDockerContainer [Pipeline] sh 10:55:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:55:58 Stashed 1 file(s) [Pipeline] echo 10:55:58 [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 10:55:58 provisioning config files... 10:55:59 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-422@tmp/config7744534029232048563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:55:59 ---> docker-login.sh 10:55:59 nexus3.edgexfoundry.org:10001 10:55:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:59 Configure a credential helper to remove this warning. See 10:55:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:59 10:55:59 Login Succeeded 10:55:59 nexus3.edgexfoundry.org:10002 10:55:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:59 Configure a credential helper to remove this warning. See 10:55:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:59 10:55:59 Login Succeeded 10:55:59 nexus3.edgexfoundry.org:10003 10:55:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:59 Configure a credential helper to remove this warning. See 10:55:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:59 10:55:59 Login Succeeded 10:55:59 nexus3.edgexfoundry.org:10004 10:55:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:59 Configure a credential helper to remove this warning. See 10:55:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:59 10:55:59 Login Succeeded 10:55:59 docker.io 10:55:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:00 Configure a credential helper to remove this warning. See 10:56:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:00 10:56:00 Login Succeeded 10:56:00 ---> docker-login.sh ends [Pipeline] } 10:56:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:56:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:56:00 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 10:56:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:56:00 ========================================================= 10:56:00 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 10:56:00 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:56:01 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 10:56:01 Sending build context to Docker daemon 4.609MB 10:56:01 Step 1/22 : ARG BASE=alpine:3.15 10:56:01 Step 2/22 : FROM ${BASE} as builder 10:56:01 latest: Pulling from edgex-devops/edgex-gcc-base 10:56:01 df9b9388f04a: Pulling fs layer 10:56:01 37ea90d01205: Pulling fs layer 10:56:01 c88372d24652: Pulling fs layer 10:56:01 37ea90d01205: Verifying Checksum 10:56:01 37ea90d01205: Download complete 10:56:01 df9b9388f04a: Verifying Checksum 10:56:01 df9b9388f04a: Download complete 10:56:01 df9b9388f04a: Pull complete 10:56:01 37ea90d01205: Pull complete 10:56:02 c88372d24652: Verifying Checksum 10:56:02 c88372d24652: Download complete 10:56:04 c88372d24652: Pull complete 10:56:04 Digest: sha256:7838dbf83682cb41b3dca2bf01f77fb67835a209a78790cfccd94cf2d79d2d2e 10:56:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 10:56:04 ---> 95f6e8fcc511 10:56:04 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:56:05 ---> Running in 9151de806445 10:56:05 Connecting to iotech.jfrog.io (34.248.37.48:443) 10:56:06 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:56:06 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:56:06 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:56:06 Removing intermediate container 9151de806445 10:56:06 ---> 1513d458e9b4 10:56:06 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:56:06 ---> Running in 216aa83da9dd 10:56:06 Removing intermediate container 216aa83da9dd 10:56:06 ---> a109448c246a 10:56:06 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev 10:56:06 ---> Running in c9cacd2c287f 10:56:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:56:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:56:08 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 10:56:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:56:08 (1/31) Installing hiredis (1.0.2-r0) 10:56:08 (2/31) Installing hiredis-dev (1.0.2-r0) 10:56:08 (3/31) Installing libcbor (0.8.0-r0) 10:56:09 (4/31) Installing libcbor-dev (0.8.0-r0) 10:56:09 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 10:56:09 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 10:56:10 (7/31) Installing util-linux (2.37.4-r0) 10:56:10 (8/31) Installing libblkid (2.37.4-r0) 10:56:10 (9/31) Installing libeconf (0.4.2-r0) 10:56:10 (10/31) Installing libuuid (2.37.4-r0) 10:56:10 (11/31) Installing libfdisk (2.37.4-r0) 10:56:10 (12/31) Installing libmount (2.37.4-r0) 10:56:10 (13/31) Installing libsmartcols (2.37.4-r0) 10:56:10 (14/31) Installing util-linux-misc (2.37.4-r0) 10:56:11 (15/31) Installing linux-pam (1.5.2-r0) 10:56:11 (16/31) Installing runuser (2.37.4-r0) 10:56:11 (17/31) Installing hexdump (2.37.4-r0) 10:56:11 (18/31) Installing uuidgen (2.37.4-r0) 10:56:11 (19/31) Installing blkid (2.37.4-r0) 10:56:11 (20/31) Installing sfdisk (2.37.4-r0) 10:56:11 (21/31) Installing mcookie (2.37.4-r0) 10:56:11 (22/31) Installing wipefs (2.37.4-r0) 10:56:11 (23/31) Installing cfdisk (2.37.4-r0) 10:56:11 (24/31) Installing flock (2.37.4-r0) 10:56:11 (25/31) Installing lsblk (2.37.4-r0) 10:56:11 (26/31) Installing libcap-ng (0.8.2-r1) 10:56:12 (27/31) Installing setpriv (2.37.4-r0) 10:56:12 (28/31) Installing logger (2.37.4-r0) 10:56:12 (29/31) Installing partx (2.37.4-r0) 10:56:12 (30/31) Installing findmnt (2.37.4-r0) 10:56:12 (31/31) Installing util-linux-dev (2.37.4-r0) 10:56:12 Executing busybox-1.34.1-r5.trigger 10:56:12 OK: 293 MiB in 108 packages 10:56:13 Removing intermediate container c9cacd2c287f 10:56:13 ---> 4fde5dd3f024 10:56:13 Step 6/22 : RUN mkdir /tmp/sdk 10:56:13 ---> Running in 5c8abb6b5952 10:56:13 Still waiting to schedule task 10:56:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:56:13 Removing intermediate container 5c8abb6b5952 10:56:13 ---> 862512637d31 10:56:13 Step 7/22 : COPY VERSION /tmp/sdk 10:56:13 ---> 14c22e2cf3fa 10:56:13 Step 8/22 : COPY src /tmp/sdk/src 10:56:14 ---> 34ea329dbeb3 10:56:14 Step 9/22 : COPY include /tmp/sdk/include 10:56:14 ---> 66d48069e80a 10:56:14 Step 10/22 : COPY scripts /tmp/sdk/scripts 10:56:14 ---> 34ebe0bcf933 10:56:14 Step 11/22 : COPY LICENSE /tmp/sdk 10:56:14 ---> 46a0731a7b85 10:56:14 Step 12/22 : COPY Attribution.txt /tmp/sdk 10:56:14 ---> 9c2f861e223a 10:56:14 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:56:14 ---> Running in 092aa168686b 10:56:14 + CPPCHECK=false 10:56:14 + DOCGEN=false 10:56:14 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:56:14 + TOMLVER=SDK-0.2 10:56:14 + CUTILVER=1.2.2 10:56:14 + '[' 0 -gt 0 ] 10:56:14 + readlink -f ./scripts/build.sh 10:56:14 + dirname /tmp/sdk/scripts/build.sh 10:56:14 + dirname /tmp/sdk/scripts 10:56:14 + ROOT=/tmp/sdk 10:56:14 + cd /tmp/sdk 10:56:14 + '[' '!' -d deps ] 10:56:14 + mkdir deps 10:56:14 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 10:56:14 + tar -C deps -z -x -f - 10:56:14 Connecting to github.com (140.82.113.4:443) 10:56:15 Connecting to codeload.github.com (140.82.114.9:443) 10:56:15 writing to stdout 10:56:15 - 100% |********************************| 16451 0:00:00 ETA 10:56:15 written to stdout 10:56:15 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 10:56:15 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 10:56:15 + tar -C deps -z -x -f - 10:56:15 Connecting to github.com (140.82.113.4:443) 10:56:15 Connecting to codeload.github.com (140.82.114.9:443) 10:56:15 writing to stdout 10:56:15 - 100% |********************************| 189k 0:00:00 ETA 10:56:15 written to stdout 10:56:15 + mkdir -p src/c/iot 10:56:15 + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot 10:56:15 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 10:56:15 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 10:56:15 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 10:56:15 + mkdir -p include/iot 10:56:15 + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot 10:56:15 + mkdir -p include/iot/os 10:56:15 + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os 10:56:15 + mkdir -p /tmp/sdk/build/release 10:56:15 + cd /tmp/sdk/build/release 10:56:15 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:56:15 -- The C compiler identification is GNU 10.3.1 10:56:15 -- Detecting C compiler ABI info 10:56:15 -- Detecting C compiler ABI info - done 10:56:15 -- Check for working C compiler: /usr/bin/cc - skipped 10:56:15 -- Detecting C compile features 10:56:15 -- Detecting C compile features - done 10:56:15 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:56:15 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 10:56:15 -- Found LIBYAML: /usr/lib/libyaml.so 10:56:15 -- Found LIBUUID: /usr/lib/libuuid.so 10:56:15 -- Found LIBCBOR: /usr/lib/libcbor.so 10:56:15 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:56:15 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:56:15 -- C SDK 0.0.0 for Linux 10:56:15 -- Performing Test CSDK_HAVE_ATOMIC 10:56:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:56:16 -- Found Curses: /usr/lib/libcurses.so 10:56:16 -- Configuring done 10:56:16 -- Generating done 10:56:16 -- Build files have been written to: /tmp/sdk/build/release 10:56:16 + make all package 10:56:16 + tee release.log 10:56:16 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:56:16 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:56:16 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:56:17 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:56:17 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:56:17 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:56:17 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:56:17 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:56:17 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:56:17 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:56:18 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:56:18 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:56:18 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:56:18 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:56:18 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:56:18 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:56:18 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:56:19 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:56:19 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 10:56:19 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:56:19 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:56:19 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:56:19 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:56:19 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:56:19 275 | const iot_component_factory_t * factory; 10:56:19 | ^~~~~~~ 10:56:19 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:56:20 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:56:20 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:56:20 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:56:20 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:56:20 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:56:20 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:56:21 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:56:21 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:56:21 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:56:21 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:56:21 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:56:22 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:56:22 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:56:22 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:56:22 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:56:23 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:56:23 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:56:23 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:56:23 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:56:23 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 10:56:23 /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 10:56:23 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 10:56:23 | ^~~~~~~~~~~~~ 10:56:23 | | 10:56:23 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 10:56:23 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:56:23 /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 10:56:23 2784 | MHD_KeyValueIterator iterator, 10:56:23 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 10:56:23 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 10:56:23 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:56:23 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 10:56:23 | ^~~~~~~~~~~~ 10:56:23 | | 10:56:23 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 10:56:23 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:56:23 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 10:56:23 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:56:23 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:56:23 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:56:23 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 10:56:23 | ^~~~~~~~~~~~ 10:56:23 | | 10:56:23 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 10:56:23 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:56:23 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 10:56:23 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:56:23 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:56:23 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:56:24 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:56:24 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:56:24 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:56:24 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:56:24 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:56:25 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:56:25 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:56:25 [ 76%] Linking C shared library libcsdk.so 10:56:25 [ 76%] Built target csdk 10:56:25 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:56:25 [ 79%] Linking C executable template 10:56:25 [ 79%] Built target template 10:56:25 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:56:26 [ 82%] Linking C executable device-counter 10:56:26 [ 82%] Built target device-counter 10:56:26 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:56:26 [ 85%] Linking C executable device-random 10:56:26 [ 85%] Built target device-random 10:56:26 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:56:26 [ 88%] Linking C executable device-gyro 10:56:26 [ 88%] Built target device-gyro 10:56:26 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:56:26 [ 91%] Linking C executable device-bitfields 10:56:26 [ 91%] Built target device-bitfields 10:56:26 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:56:26 [ 94%] Linking C executable template-discovery 10:56:26 [ 94%] Built target template-discovery 10:56:26 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:56:26 [ 97%] Linking C executable device-file 10:56:27 [ 97%] Built target device-file 10:56:27 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:56:27 [100%] Linking C executable device-terminal 10:56:27 [100%] Built target device-terminal 10:56:27 Run CPack packaging tool... 10:56:27 CPack: Create package using TGZ 10:56:27 CPack: Install projects 10:56:27 CPack: - Run preinstall target for: Csdk 10:56:27 CPack: - Install project: Csdk [] 10:56:27 CPack: Create package 10:56:27 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 10:56:27 + '[' false '=' true ] 10:56:27 + '[' false '=' true ] 10:56:27 + mkdir -p /tmp/sdk/build/debug 10:56:27 + cd /tmp/sdk/build/debug 10:56:27 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:56:27 -- The C compiler identification is GNU 10.3.1 10:56:27 -- Detecting C compiler ABI info 10:56:27 -- Detecting C compiler ABI info - done 10:56:27 -- Check for working C compiler: /usr/bin/cc - skipped 10:56:27 -- Detecting C compile features 10:56:27 -- Detecting C compile features - done 10:56:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:56:27 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 10:56:27 -- Found LIBYAML: /usr/lib/libyaml.so 10:56:27 -- Found LIBUUID: /usr/lib/libuuid.so 10:56:27 -- Found LIBCBOR: /usr/lib/libcbor.so 10:56:27 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:56:27 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:56:27 -- C SDK 0.0.0 for Linux 10:56:27 -- Performing Test CSDK_HAVE_ATOMIC 10:56:27 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:56:27 -- Found Curses: /usr/lib/libcurses.so 10:56:27 -- Configuring done 10:56:27 -- Generating done 10:56:27 -- Build files have been written to: /tmp/sdk/build/debug 10:56:27 + make 10:56:27 + tee debug.log 10:56:28 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:56:28 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:56:28 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:56:28 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:56:28 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:56:28 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:56:28 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:56:28 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:56:28 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:56:28 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:56:28 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:56:28 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:56:28 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:56:29 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:56:29 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:56:29 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:56:29 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:56:29 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:56:29 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 10:56:29 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:56:29 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:56:29 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:56:29 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:56:29 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:56:29 275 | const iot_component_factory_t * factory; 10:56:29 | ^~~~~~~ 10:56:29 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:56:30 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:56:30 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:56:30 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:56:30 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:56:30 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:56:30 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:56:30 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:56:30 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:56:30 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:56:30 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:56:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:56:30 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:56:30 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:56:30 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:56:31 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:56:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:56:31 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:56:31 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:56:31 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:56:31 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 10:56:31 /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 10:56:31 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 10:56:31 | ^~~~~~~~~~~~~ 10:56:31 | | 10:56:31 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 10:56:31 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:56:31 /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 10:56:31 2784 | MHD_KeyValueIterator iterator, 10:56:31 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 10:56:31 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 10:56:31 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:56:31 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 10:56:31 | ^~~~~~~~~~~~ 10:56:31 | | 10:56:31 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 10:56:31 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:56:31 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 10:56:31 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:56:31 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:56:31 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:56:31 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 10:56:31 | ^~~~~~~~~~~~ 10:56:31 | | 10:56:31 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 10:56:31 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:56:31 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 10:56:31 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:56:31 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:56:31 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:56:31 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:56:31 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:56:31 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:56:31 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:56:32 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:56:32 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:56:32 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:56:32 [ 76%] Linking C shared library libcsdk.so 10:56:32 [ 76%] Built target csdk 10:56:32 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:56:32 [ 79%] Linking C executable template 10:56:32 [ 79%] Built target template 10:56:32 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:56:32 [ 82%] Linking C executable device-counter 10:56:32 [ 82%] Built target device-counter 10:56:32 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:56:32 [ 85%] Linking C executable device-random 10:56:32 [ 85%] Built target device-random 10:56:32 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:56:32 [ 88%] Linking C executable device-gyro 10:56:32 [ 88%] Built target device-gyro 10:56:32 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:56:33 [ 91%] Linking C executable device-bitfields 10:56:33 [ 91%] Built target device-bitfields 10:56:33 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:56:33 [ 94%] Linking C executable template-discovery 10:56:33 [ 94%] Built target template-discovery 10:56:33 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:56:33 [ 97%] Linking C executable device-file 10:56:33 [ 97%] Built target device-file 10:56:33 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:56:33 [100%] Linking C executable device-terminal 10:56:33 [100%] Built target device-terminal 10:56:33 make: Entering directory '/tmp/sdk/build/release' 10:56:33 make[1]: Entering directory '/tmp/sdk/build/release' 10:56:33 make[2]: Entering directory '/tmp/sdk/build/release' 10:56:33 make[2]: Leaving directory '/tmp/sdk/build/release' 10:56:33 [ 76%] Built target csdk 10:56:33 make[2]: Entering directory '/tmp/sdk/build/release' 10:56:33 make[2]: Leaving directory '/tmp/sdk/build/release' 10:56:33 [ 79%] Built target template 10:56:33 make[2]: Entering directory '/tmp/sdk/build/release' 10:56:33 make[2]: Leaving directory '/tmp/sdk/build/release' 10:56:33 [ 82%] Built target device-counter 10:56:33 make[2]: Entering directory '/tmp/sdk/build/release' 10:56:33 make[2]: Leaving directory '/tmp/sdk/build/release' 10:56:33 [ 85%] Built target device-random 10:56:33 make[2]: Entering directory '/tmp/sdk/build/release' 10:56:33 make[2]: Leaving directory '/tmp/sdk/build/release' 10:56:33 [ 88%] Built target device-gyro 10:56:33 make[2]: Entering directory '/tmp/sdk/build/release' 10:56:33 make[2]: Leaving directory '/tmp/sdk/build/release' 10:56:33 [ 91%] Built target device-bitfields 10:56:33 make[2]: Entering directory '/tmp/sdk/build/release' 10:56:33 make[2]: Leaving directory '/tmp/sdk/build/release' 10:56:33 [ 94%] Built target template-discovery 10:56:33 make[2]: Entering directory '/tmp/sdk/build/release' 10:56:33 make[2]: Leaving directory '/tmp/sdk/build/release' 10:56:33 [ 97%] Built target device-file 10:56:33 make[2]: Entering directory '/tmp/sdk/build/release' 10:56:33 make[2]: Leaving directory '/tmp/sdk/build/release' 10:56:33 [100%] Built target device-terminal 10:56:33 make[1]: Leaving directory '/tmp/sdk/build/release' 10:56:33 Install the project... 10:56:33 -- Install configuration: "Release" 10:56:33 -- Installing: /usr/local/lib/libcsdk.so 10:56:33 -- Installing: /usr/local/include 10:56:33 -- Installing: /usr/local/include/edgex 10:56:33 -- Installing: /usr/local/include/edgex/profiles.h 10:56:33 -- Installing: /usr/local/include/edgex/edgex.h 10:56:33 -- Installing: /usr/local/include/edgex/rest-server.h 10:56:33 -- Installing: /usr/local/include/edgex/edgex-base.h 10:56:33 -- Installing: /usr/local/include/edgex/devices.h 10:56:33 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:56:33 -- Installing: /usr/local/include/devsdk 10:56:33 -- Installing: /usr/local/include/devsdk/devsdk.h 10:56:33 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:56:33 -- Installing: /usr/local/include/iot 10:56:33 -- Installing: /usr/local/include/iot/thread.h 10:56:33 -- Installing: /usr/local/include/iot/hash.h 10:56:33 -- Installing: /usr/local/include/iot/typecode.h 10:56:33 -- Installing: /usr/local/include/iot/threadpool.h 10:56:33 -- Installing: /usr/local/include/iot/uuid.h 10:56:33 -- Installing: /usr/local/include/iot/logger.h 10:56:33 -- Installing: /usr/local/include/iot/config.h 10:56:33 -- Installing: /usr/local/include/iot/os.h 10:56:33 -- Installing: /usr/local/include/iot/container.h 10:56:33 -- Installing: /usr/local/include/iot/scheduler.h 10:56:33 -- Installing: /usr/local/include/iot/defs.h 10:56:33 -- Installing: /usr/local/include/iot/iot.h 10:56:33 -- Installing: /usr/local/include/iot/component.h 10:56:33 -- Installing: /usr/local/include/iot/os 10:56:33 -- Installing: /usr/local/include/iot/os/linux.h 10:56:33 -- Installing: /usr/local/include/iot/os/zephyr.h 10:56:33 -- Installing: /usr/local/include/iot/os/macos.h 10:56:33 -- Installing: /usr/local/include/iot/base64.h 10:56:33 -- Installing: /usr/local/include/iot/time.h 10:56:33 -- Installing: /usr/local/include/iot/data.h 10:56:33 -- Installing: /usr/local/include/iot/json.h 10:56:33 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:56:33 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:56:33 make: Leaving directory '/tmp/sdk/build/release' 10:56:34 Removing intermediate container 092aa168686b 10:56:34 ---> 9873c4c142bf 10:56:34 Step 14/22 : FROM ${BASE} 10:56:34 ---> 95f6e8fcc511 10:56:34 Step 15/22 : LABEL maintainer="IOTech " 10:56:34 ---> Running in c84ceb85bdc0 10:56:34 Removing intermediate container c84ceb85bdc0 10:56:34 ---> 1fc88e33d045 10:56:34 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:56:34 ---> Running in 67d81f3bd795 10:56:35 Connecting to iotech.jfrog.io (52.208.230.92:443) 10:56:35 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:56:35 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:56:35 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:56:35 Removing intermediate container 67d81f3bd795 10:56:35 ---> 7c944e8616b5 10:56:35 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:56:35 ---> Running in 2d97d6975e87 10:56:36 Removing intermediate container 2d97d6975e87 10:56:36 ---> 330af7148f73 10:56:36 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev 10:56:36 ---> Running in 8cba42a02491 10:56:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:56:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:56:37 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 10:56:37 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:56:37 (1/6) Installing curl (7.80.0-r1) 10:56:37 (2/6) Installing hiredis (1.0.2-r0) 10:56:38 (3/6) Installing hiredis-dev (1.0.2-r0) 10:56:38 (4/6) Installing libcbor (0.8.0-r0) 10:56:38 (5/6) Installing libuuid (2.37.4-r0) 10:56:38 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 10:56:39 Executing busybox-1.34.1-r5.trigger 10:56:39 OK: 283 MiB in 83 packages 10:56:39 Removing intermediate container 8cba42a02491 10:56:39 ---> 13a331db651c 10:56:39 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 10:56:39 ---> b6ef01837c45 10:56:39 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:56:39 ---> 9c1bcf9d6d74 10:56:39 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 10:56:40 ---> 471dd92fbc30 10:56:40 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:56:40 ---> 9caab822e29a 10:56:40 Successfully built 9caab822e29a 10:56:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:56:40 + docker inspect -f . ci-base-image-x86_64 10:56:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:56:40 prd-ubuntu20.04-docker-8c-8g-15440 does not seem to be running inside a container 10:56:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-422 -v /w/workspace/edgexfoundry_device-sdk-c_PR-422:/w/workspace/edgexfoundry_device-sdk-c_PR-422:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-422@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-422@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 ******** ci-base-image-x86_64 cat 10:56:41 $ docker top 14fb0314d6c9fca70d3cf9beb670f683ff530e01056067057f1e0ea7988f2e61 -eo pid,comm [Pipeline] { [Pipeline] sh 10:56:41 + make test 10:56:41 echo "make test" 10:56:41 make test [Pipeline] } 10:56:41 $ docker stop --time=1 14fb0314d6c9fca70d3cf9beb670f683ff530e01056067057f1e0ea7988f2e61 10:56:43 $ docker rm -f 14fb0314d6c9fca70d3cf9beb670f683ff530e01056067057f1e0ea7988f2e61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:56:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:56:44 + ls -al . 10:56:44 total 208 10:56:44 drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 10:55 . 10:56:44 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:55 .. 10:56:44 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 10:55 .git 10:56:44 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 10:55 .github 10:56:44 -rw-rw-r-- 1 jenkins jenkins 176 Jun 23 10:55 .gitignore 10:56:44 drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 10:55 .semver 10:56:44 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 23 10:55 Attribution.txt 10:56:44 -rw-rw-r-- 1 jenkins jenkins 8378 Jun 23 10:55 CHANGES 10:56:44 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 23 10:55 Doxyfile 10:56:44 -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 10:55 GOVERNANCE.md 10:56:44 -rw-rw-r-- 1 jenkins jenkins 784 Jun 23 10:55 Jenkinsfile 10:56:44 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 23 10:55 LICENSE 10:56:44 -rw-rw-r-- 1 jenkins jenkins 444 Jun 23 10:55 Makefile 10:56:44 -rw-rw-r-- 1 jenkins jenkins 618 Jun 23 10:55 OWNERS.md 10:56:44 -rw-rw-r-- 1 jenkins jenkins 4086 Jun 23 10:55 README.md 10:56:44 -rw-rw-r-- 1 jenkins jenkins 7422 Jun 23 10:55 README.v2.md 10:56:44 -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 10:55 VERSION 10:56:44 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 10:55 docs 10:56:44 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:55 include 10:56:44 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 10:55 scripts 10:56:44 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:55 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:56:44 + 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=dd93335fa5a2419811336d42df6bf0719f663889 --label arch=amd64 --label version=0.0.0 . 10:56:44 Sending build context to Docker daemon 4.609MB 10:56:44 Step 1/17 : ARG BASE=alpine:3.15 10:56:44 Step 2/17 : FROM ${BASE} 10:56:44 ---> 9caab822e29a 10:56:44 Step 3/17 : LABEL maintainer="IOTech " 10:56:44 ---> Running in dec5f859c7bb 10:56:44 Removing intermediate container dec5f859c7bb 10:56:44 ---> 9a0cd99187a1 10:56:44 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:56:44 ---> Running in 766cc67f0cb5 10:56:45 Connecting to iotech.jfrog.io (3.248.164.40:443) 10:56:45 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:56:45 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:56:45 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:56:45 Removing intermediate container 766cc67f0cb5 10:56:45 ---> 66eb54bcf467 10:56:45 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:56:45 ---> Running in 9492b8d7a42a 10:56:46 Removing intermediate container 9492b8d7a42a 10:56:46 ---> b13b9882687f 10:56:46 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 10:56:46 ---> Running in d4a10adc3d0d 10:56:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:56:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:56:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 10:56:48 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:56:48 (1/26) Installing libcbor-dev (0.8.0-r0) 10:56:48 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 10:56:48 (3/26) Installing util-linux (2.37.4-r0) 10:56:48 (4/26) Installing libblkid (2.37.4-r0) 10:56:48 (5/26) Installing libeconf (0.4.2-r0) 10:56:48 (6/26) Installing libfdisk (2.37.4-r0) 10:56:48 (7/26) Installing libmount (2.37.4-r0) 10:56:48 (8/26) Installing libsmartcols (2.37.4-r0) 10:56:48 (9/26) Installing util-linux-misc (2.37.4-r0) 10:56:49 (10/26) Installing linux-pam (1.5.2-r0) 10:56:49 (11/26) Installing runuser (2.37.4-r0) 10:56:49 (12/26) Installing hexdump (2.37.4-r0) 10:56:49 (13/26) Installing uuidgen (2.37.4-r0) 10:56:49 (14/26) Installing blkid (2.37.4-r0) 10:56:49 (15/26) Installing sfdisk (2.37.4-r0) 10:56:49 (16/26) Installing mcookie (2.37.4-r0) 10:56:49 (17/26) Installing wipefs (2.37.4-r0) 10:56:49 (18/26) Installing cfdisk (2.37.4-r0) 10:56:49 (19/26) Installing flock (2.37.4-r0) 10:56:50 (20/26) Installing lsblk (2.37.4-r0) 10:56:50 (21/26) Installing libcap-ng (0.8.2-r1) 10:56:50 (22/26) Installing setpriv (2.37.4-r0) 10:56:50 (23/26) Installing logger (2.37.4-r0) 10:56:50 (24/26) Installing partx (2.37.4-r0) 10:56:50 (25/26) Installing findmnt (2.37.4-r0) 10:56:50 (26/26) Installing util-linux-dev (2.37.4-r0) 10:56:50 Executing busybox-1.34.1-r5.trigger 10:56:50 OK: 294 MiB in 109 packages 10:56:51 Removing intermediate container d4a10adc3d0d 10:56:51 ---> acf5de09e22c 10:56:51 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:56:51 ---> aa40ca8fa9ff 10:56:51 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:56:51 ---> 274c0a8da7cf 10:56:51 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:56:51 ---> cd594af29033 10:56:51 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:56:51 ---> 7994726960b9 10:56:51 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:56:51 ---> 04e986ee179f 10:56:51 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:56:52 ---> 804af31e96a7 10:56:52 Step 13/17 : WORKDIR /edgex-c-sdk 10:56:52 ---> Running in 3a135f4a7ffd 10:56:52 Removing intermediate container 3a135f4a7ffd 10:56:52 ---> 2c0dd52ba206 10:56:52 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:56:52 ---> Running in 9e3ff76a94fb 10:56:52 Removing intermediate container 9e3ff76a94fb 10:56:52 ---> 63192470f528 10:56:52 Step 15/17 : LABEL arch=amd64 10:56:52 ---> Running in 36117f391ba8 10:56:52 Removing intermediate container 36117f391ba8 10:56:52 ---> c88673b8cc6e 10:56:52 Step 16/17 : LABEL git_sha=dd93335fa5a2419811336d42df6bf0719f663889 10:56:52 ---> Running in d6703a212bb4 10:56:52 Removing intermediate container d6703a212bb4 10:56:52 ---> 0f93b09a5d3c 10:56:52 Step 17/17 : LABEL version=0.0.0 10:56:52 ---> Running in ec42b228323b 10:56:52 Removing intermediate container ec42b228323b 10:56:52 ---> 4dc27b3a0d50 10:56:52 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:56:52 Successfully built 4dc27b3a0d50 10:56:52 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 10:56:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:56:53 10:56:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:56:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:56:54 latest: Pulling from edgex-lftools-log-publisher 10:56:54 5eb5b503b376: Pulling fs layer 10:56:54 5c69ac0246d0: Pulling fs layer 10:56:54 ec43610c2a17: Pulling fs layer 10:56:54 3a2ae6a8a46f: Pulling fs layer 10:56:54 33b1e0a273af: Pulling fs layer 10:56:54 5d3b04190fa2: Pulling fs layer 10:56:54 2f39f015ded8: Pulling fs layer 10:56:54 33b1e0a273af: Waiting 10:56:54 5d3b04190fa2: Waiting 10:56:54 2f39f015ded8: Waiting 10:56:54 5c69ac0246d0: Verifying Checksum 10:56:54 5c69ac0246d0: Download complete 10:56:54 3a2ae6a8a46f: Verifying Checksum 10:56:54 3a2ae6a8a46f: Download complete 10:56:54 33b1e0a273af: Verifying Checksum 10:56:54 33b1e0a273af: Download complete 10:56:54 5d3b04190fa2: Verifying Checksum 10:56:54 5d3b04190fa2: Download complete 10:56:54 ec43610c2a17: Verifying Checksum 10:56:54 ec43610c2a17: Download complete 10:56:54 5eb5b503b376: Verifying Checksum 10:56:54 5eb5b503b376: Download complete 10:56:54 2f39f015ded8: Download complete 10:56:55 5eb5b503b376: Pull complete 10:56:55 5c69ac0246d0: Pull complete 10:56:55 ec43610c2a17: Pull complete 10:56:56 3a2ae6a8a46f: Pull complete 10:56:56 33b1e0a273af: Pull complete 10:56:56 5d3b04190fa2: Pull complete 10:57:00 2f39f015ded8: Pull complete 10:57:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:57:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:57:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:57:00 prd-ubuntu20.04-docker-8c-8g-15440 does not seem to be running inside a container 10:57:00 $ 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-422 -v /w/workspace/edgexfoundry_device-sdk-c_PR-422:/w/workspace/edgexfoundry_device-sdk-c_PR-422:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-422@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-422@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:57:02 $ docker top cb94fdd16c37b960dd547cdd81ae630eaa8712ea50f23a922a6f24dadedc52f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:57:02 ---> job-cost.sh 10:57:02 lf-activate-venv: SKIPPING 10:57:02 INFO: No Stack... 10:57:03 INFO: Retrieving Pricing Info for: v3-standard-8 10:57:03 INFO: Archiving Costs [Pipeline] sh 10:57:04 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-422/archives/cost.csv 10:57:04 + cut -d, -f6 [Pipeline] lock 10:57:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-422-1-stack-cost] 10:57:04 Resource [jenkins-edgexfoundry-device-sdk-c-PR-422-1-stack-cost] did not exist. Created. 10:57:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:57:04 + echo total: 0.2199999988079071 [Pipeline] stash 10:57:04 Stashed 1 file(s) [Pipeline] } 10:57:04 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-422-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:57:04 $ docker stop --time=1 cb94fdd16c37b960dd547cdd81ae630eaa8712ea50f23a922a6f24dadedc52f2 10:57:06 $ docker rm -f cb94fdd16c37b960dd547cdd81ae630eaa8712ea50f23a922a6f24dadedc52f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:57:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15442 in /w/workspace/edgexfoundry_device-sdk-c_PR-422 [Pipeline] { [Pipeline] ws 10:57:50 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 10:57:50 Selected Git installation does not exist. Using Default 10:57:50 The recommended git tool is: NONE 10:57:56 using credential edgex-jenkins-ssh 10:57:56 Cloning the remote Git repository 10:57:56 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 10:57:56 > git init /w/workspace/device-sdk-c/1 # timeout=10 10:57:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 10:57:56 > git --version # timeout=10 10:57:56 > git --version # 'git version 2.25.1' 10:57:56 using GIT_SSH to set credentials SSH Credentials for GitHub 10:57:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:57:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 10:57:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:57:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 10:57:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 10:57:57 using GIT_SSH to set credentials SSH Credentials for GitHub 10:57:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:57:58 Merging remotes/origin/main commit 165bf1afc6928f684637a03d8c76ec8e2cf51e8a into PR head commit dd93335fa5a2419811336d42df6bf0719f663889 10:57:58 Merge succeeded, producing dd93335fa5a2419811336d42df6bf0719f663889 10:57:58 Checking out Revision dd93335fa5a2419811336d42df6bf0719f663889 (PR-422) 10:57:58 > git config core.sparsecheckout # timeout=10 10:57:58 > git checkout -f dd93335fa5a2419811336d42df6bf0719f663889 # timeout=10 10:57:58 > git remote # timeout=10 10:57:58 > git config --get remote.origin.url # timeout=10 10:57:58 using GIT_SSH to set credentials SSH Credentials for GitHub 10:57:58 > git merge 165bf1afc6928f684637a03d8c76ec8e2cf51e8a # timeout=10 10:57:58 > git rev-parse HEAD^{commit} # timeout=10 10:57:58 > git config core.sparsecheckout # timeout=10 10:57:58 > git checkout -f dd93335fa5a2419811336d42df6bf0719f663889 # timeout=10 10:58:02 Commit message: "feat: use vault access tokens for consul (#335)" 10:58:02 > git --version # timeout=10 10:58:02 > git --version # 'git version 2.25.1' 10:58:02 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:58:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:58:04 % Total % Received % Xferd Average Speed Time Time Time Current 10:58:04 Dload Upload Total Spent Left Speed 10:58:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 92825 0 --:--:-- --:--:-- --:--:-- 93534 [Pipeline] sh 10:58:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:58:05 + sudo tee /etc/docker/daemon.new 10:58:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:58:05 { 10:58:05 "registry-mirrors": [ 10:58:05 "https://nexus3.edgexfoundry.org:10001" 10:58:05 ], 10:58:05 "bip": "10.250.0.254/24", 10:58:05 "hosts": [ 10:58:05 "tcp://0.0.0.0:5555", 10:58:05 "unix:///var/run/docker.sock" 10:58:05 ], 10:58:05 "mtu": 1458, 10:58:05 "selinux-enabled": true, 10:58:05 "seccomp-profile": "/etc/docker/seccomp.json" 10:58:05 } [Pipeline] sh 10:58:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:58:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:58:24 provisioning config files... 10:58:24 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config8790898475524231159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:58:24 ---> docker-login.sh 10:58:24 nexus3.edgexfoundry.org:10001 10:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:58:25 Configure a credential helper to remove this warning. See 10:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:58:25 10:58:25 Login Succeeded 10:58:25 nexus3.edgexfoundry.org:10002 10:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:58:26 Configure a credential helper to remove this warning. See 10:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:58:26 10:58:26 Login Succeeded 10:58:26 nexus3.edgexfoundry.org:10003 10:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:58:26 Configure a credential helper to remove this warning. See 10:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:58:26 10:58:26 Login Succeeded 10:58:26 nexus3.edgexfoundry.org:10004 10:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:58:26 Configure a credential helper to remove this warning. See 10:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:58:26 10:58:27 Login Succeeded 10:58:27 docker.io 10:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:58:27 Configure a credential helper to remove this warning. See 10:58:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:58:27 10:58:27 Login Succeeded 10:58:27 ---> docker-login.sh ends [Pipeline] } 10:58:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:58:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:58:28 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 10:58:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:58:28 ========================================================= 10:58:28 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 10:58:28 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:28 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 10:58:28 Sending build context to Docker daemon 2.809MB 10:58:29 Step 1/22 : ARG BASE=alpine:3.15 10:58:29 Step 2/22 : FROM ${BASE} as builder 10:58:29 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 10:58:29 9981e73032c8: Pulling fs layer 10:58:29 2a34a092ebf8: Pulling fs layer 10:58:29 1928f2f5eed1: Pulling fs layer 10:58:29 2a34a092ebf8: Download complete 10:58:29 9981e73032c8: Verifying Checksum 10:58:29 9981e73032c8: Download complete 10:58:30 9981e73032c8: Pull complete 10:58:30 2a34a092ebf8: Pull complete 10:58:31 1928f2f5eed1: Verifying Checksum 10:58:31 1928f2f5eed1: Download complete 10:58:39 1928f2f5eed1: Pull complete 10:58:39 Digest: sha256:a37ac18e3346f1207f128df2ed5908582a11844daa8098035d7eb30aeded1086 10:58:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 10:58:39 ---> cad489bbaf40 10:58:39 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:58:40 ---> Running in 67d2d1275556 10:58:42 Connecting to iotech.jfrog.io (52.18.78.255:443) 10:58:42 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:58:42 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:58:42 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:58:42 Removing intermediate container 67d2d1275556 10:58:42 ---> e1bd1a79e6ce 10:58:42 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:58:42 ---> Running in 14f674185c74 10:58:44 Removing intermediate container 14f674185c74 10:58:44 ---> b2e518c7f1d5 10:58:44 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev 10:58:44 ---> Running in 8ee95d957e6a 10:58:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:58:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:58:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 10:58:47 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:58:47 (1/31) Installing hiredis (1.0.2-r0) 10:58:48 (2/31) Installing hiredis-dev (1.0.2-r0) 10:58:48 (3/31) Installing libcbor (0.8.0-r0) 10:58:48 (4/31) Installing libcbor-dev (0.8.0-r0) 10:58:48 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 10:58:48 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 10:58:49 (7/31) Installing util-linux (2.37.4-r0) 10:58:49 (8/31) Installing libblkid (2.37.4-r0) 10:58:49 (9/31) Installing libeconf (0.4.2-r0) 10:58:49 (10/31) Installing libuuid (2.37.4-r0) 10:58:49 (11/31) Installing libfdisk (2.37.4-r0) 10:58:49 (12/31) Installing libmount (2.37.4-r0) 10:58:49 (13/31) Installing libsmartcols (2.37.4-r0) 10:58:50 (14/31) Installing util-linux-misc (2.37.4-r0) 10:58:50 (15/31) Installing linux-pam (1.5.2-r0) 10:58:50 (16/31) Installing runuser (2.37.4-r0) 10:58:50 (17/31) Installing hexdump (2.37.4-r0) 10:58:50 (18/31) Installing uuidgen (2.37.4-r0) 10:58:50 (19/31) Installing blkid (2.37.4-r0) 10:58:50 (20/31) Installing sfdisk (2.37.4-r0) 10:58:50 (21/31) Installing mcookie (2.37.4-r0) 10:58:50 (22/31) Installing wipefs (2.37.4-r0) 10:58:51 (23/31) Installing cfdisk (2.37.4-r0) 10:58:51 (24/31) Installing flock (2.37.4-r0) 10:58:51 (25/31) Installing lsblk (2.37.4-r0) 10:58:51 (26/31) Installing libcap-ng (0.8.2-r1) 10:58:51 (27/31) Installing setpriv (2.37.4-r0) 10:58:51 (28/31) Installing logger (2.37.4-r0) 10:58:51 (29/31) Installing partx (2.37.4-r0) 10:58:51 (30/31) Installing findmnt (2.37.4-r0) 10:58:51 (31/31) Installing util-linux-dev (2.37.4-r0) 10:58:51 Executing busybox-1.34.1-r5.trigger 10:58:51 OK: 289 MiB in 108 packages 10:58:53 Removing intermediate container 8ee95d957e6a 10:58:53 ---> 4a5b6d24b3ee 10:58:53 Step 6/22 : RUN mkdir /tmp/sdk 10:58:53 ---> Running in 32bd00d7c92f 10:58:55 Removing intermediate container 32bd00d7c92f 10:58:55 ---> 5c4716b55805 10:58:55 Step 7/22 : COPY VERSION /tmp/sdk 10:58:56 ---> eb0e39b04fb7 10:58:56 Step 8/22 : COPY src /tmp/sdk/src 10:58:57 ---> 81bb320bf7b7 10:58:57 Step 9/22 : COPY include /tmp/sdk/include 10:58:58 ---> 7535e9285985 10:58:58 Step 10/22 : COPY scripts /tmp/sdk/scripts 10:58:58 ---> b68f4fe185ea 10:58:58 Step 11/22 : COPY LICENSE /tmp/sdk 10:58:59 ---> bc22c818d363 10:58:59 Step 12/22 : COPY Attribution.txt /tmp/sdk 10:58:59 ---> 2253ce82cb01 10:58:59 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:58:59 ---> Running in 46b1db3526e5 10:59:00 + CPPCHECK=false 10:59:00 + DOCGEN=false 10:59:00 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:59:00 + TOMLVER=SDK-0.2 10:59:00 + CUTILVER=1.2.2 10:59:00 + '[' 0 -gt 0 ] 10:59:00 + readlink -f ./scripts/build.sh 10:59:00 + dirname /tmp/sdk/scripts/build.sh 10:59:00 + dirname /tmp/sdk/scripts 10:59:00 + ROOT=/tmp/sdk 10:59:00 + cd /tmp/sdk 10:59:00 + '[' '!' -d deps ] 10:59:00 + mkdir deps 10:59:00 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 10:59:00 + tar -C deps -z -x -f - 10:59:00 Connecting to github.com (140.82.114.3:443) 10:59:00 Connecting to codeload.github.com (140.82.112.9:443) 10:59:01 writing to stdout 10:59:01 - 100% |********************************| 16451 0:00:00 ETA 10:59:01 written to stdout 10:59:01 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 10:59:01 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 10:59:01 + tar -C deps -z -x -f - 10:59:01 Connecting to github.com (140.82.114.3:443) 10:59:01 Connecting to codeload.github.com (140.82.112.9:443) 10:59:01 writing to stdout 10:59:01 - 71010 --:--:-- ETA 10:59:01 - 100% |********************************| 189k 0:00:00 ETA 10:59:01 written to stdout 10:59:01 + mkdir -p src/c/iot 10:59:01 + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot 10:59:01 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 10:59:01 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 10:59:01 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 10:59:01 + mkdir -p include/iot 10:59:01 + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot 10:59:01 + mkdir -p include/iot/os 10:59:01 + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os 10:59:01 + mkdir -p /tmp/sdk/build/release 10:59:01 + cd /tmp/sdk/build/release 10:59:01 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:59:01 -- The C compiler identification is GNU 10.3.1 10:59:02 -- Detecting C compiler ABI info 10:59:02 -- Detecting C compiler ABI info - done 10:59:02 -- Check for working C compiler: /usr/bin/cc - skipped 10:59:02 -- Detecting C compile features 10:59:02 -- Detecting C compile features - done 10:59:02 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:59:02 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 10:59:02 -- Found LIBYAML: /usr/lib/libyaml.so 10:59:02 -- Found LIBUUID: /usr/lib/libuuid.so 10:59:02 -- Found LIBCBOR: /usr/lib/libcbor.so 10:59:02 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:59:02 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:59:02 -- C SDK 0.0.0 for Linux 10:59:02 -- Performing Test CSDK_HAVE_ATOMIC 10:59:03 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:59:03 -- Found Curses: /usr/lib/libcurses.so 10:59:03 -- Configuring done 10:59:03 -- Generating done 10:59:03 -- Build files have been written to: /tmp/sdk/build/release 10:59:03 + make all package 10:59:03 + tee release.log 10:59:03 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:59:04 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:59:05 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:59:07 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:59:08 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:59:08 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:59:09 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:59:10 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:59:10 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:59:12 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:59:14 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:59:14 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:59:15 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:59:16 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:59:17 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:59:17 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:59:17 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:59:21 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:59:21 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 10:59:21 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:59:22 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:59:22 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:59:22 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:59:22 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:59:22 275 | const iot_component_factory_t * factory; 10:59:22 | ^~~~~~~ 10:59:23 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:59:29 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:59:29 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:59:29 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:59:29 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:59:30 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:59:30 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:59:32 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:59:32 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:59:33 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:59:33 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:59:33 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:59:36 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:59:37 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:59:38 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:59:38 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:59:43 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:59:44 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:59:44 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:59:44 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:59:45 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 10:59:45 /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 10:59:45 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 10:59:45 | ^~~~~~~~~~~~~ 10:59:45 | | 10:59:45 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 10:59:45 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:59:45 /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 10:59:45 2784 | MHD_KeyValueIterator iterator, 10:59:45 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 10:59:45 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 10:59:45 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:59:45 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 10:59:45 | ^~~~~~~~~~~~ 10:59:45 | | 10:59:45 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 10:59:45 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:59:45 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 10:59:45 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:59:45 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:59:45 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:59:45 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 10:59:45 | ^~~~~~~~~~~~ 10:59:45 | | 10:59:45 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 10:59:45 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:59:45 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 10:59:45 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:59:45 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:59:46 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:59:48 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:59:49 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:59:49 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:59:50 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:59:52 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:59:57 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:59:57 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:59:58 [ 76%] Linking C shared library libcsdk.so 10:59:58 [ 76%] Built target csdk 10:59:58 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:59:59 [ 79%] Linking C executable template 10:59:59 [ 79%] Built target template 10:59:59 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:00:00 [ 82%] Linking C executable device-counter 11:00:00 [ 82%] Built target device-counter 11:00:00 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:00:01 [ 85%] Linking C executable device-random 11:00:01 [ 85%] Built target device-random 11:00:01 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:00:02 [ 88%] Linking C executable device-gyro 11:00:02 [ 88%] Built target device-gyro 11:00:02 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:00:03 [ 91%] Linking C executable device-bitfields 11:00:03 [ 91%] Built target device-bitfields 11:00:03 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:00:04 [ 94%] Linking C executable template-discovery 11:00:04 [ 94%] Built target template-discovery 11:00:04 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:00:05 [ 97%] Linking C executable device-file 11:00:05 [ 97%] Built target device-file 11:00:05 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:00:06 [100%] Linking C executable device-terminal 11:00:06 [100%] Built target device-terminal 11:00:06 Run CPack packaging tool... 11:00:06 CPack: Create package using TGZ 11:00:06 CPack: Install projects 11:00:06 CPack: - Run preinstall target for: Csdk 11:00:07 CPack: - Install project: Csdk [] 11:00:07 CPack: Create package 11:00:07 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 11:00:07 + '[' false '=' true ] 11:00:07 + '[' false '=' true ] 11:00:07 + mkdir -p /tmp/sdk/build/debug 11:00:07 + cd /tmp/sdk/build/debug 11:00:07 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:00:08 -- The C compiler identification is GNU 10.3.1 11:00:08 -- Detecting C compiler ABI info 11:00:08 -- Detecting C compiler ABI info - done 11:00:08 -- Check for working C compiler: /usr/bin/cc - skipped 11:00:08 -- Detecting C compile features 11:00:08 -- Detecting C compile features - done 11:00:08 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:00:09 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 11:00:09 -- Found LIBYAML: /usr/lib/libyaml.so 11:00:09 -- Found LIBUUID: /usr/lib/libuuid.so 11:00:09 -- Found LIBCBOR: /usr/lib/libcbor.so 11:00:09 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:00:09 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:00:09 -- C SDK 0.0.0 for Linux 11:00:09 -- Performing Test CSDK_HAVE_ATOMIC 11:00:09 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:00:09 -- Found Curses: /usr/lib/libcurses.so 11:00:09 -- Configuring done 11:00:09 -- Generating done 11:00:09 -- Build files have been written to: /tmp/sdk/build/debug 11:00:09 + make 11:00:09 + tee debug.log 11:00:10 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:00:10 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:00:10 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:00:11 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:00:11 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:00:11 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 11:00:12 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 11:00:12 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 11:00:13 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:00:13 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:00:14 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:00:14 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:00:15 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:00:15 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:00:15 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:00:15 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:00:16 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:00:17 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:00:17 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:00:17 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:00:17 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:00:18 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:00:18 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 11:00:18 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 11:00:18 275 | const iot_component_factory_t * factory; 11:00:18 | ^~~~~~~ 11:00:18 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:00:19 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:00:19 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:00:20 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:00:20 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:00:20 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:00:20 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:00:21 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:00:21 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:00:21 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:00:21 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 11:00:22 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 11:00:22 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:00:22 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:00:23 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:00:23 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:00:25 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:00:25 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:00:25 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:00:25 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:00:26 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 11:00:26 /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 11:00:26 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 11:00:26 | ^~~~~~~~~~~~~ 11:00:26 | | 11:00:26 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 11:00:26 In file included from /tmp/sdk/src/c/rest-server.c:21: 11:00:26 /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 11:00:26 2784 | MHD_KeyValueIterator iterator, 11:00:26 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 11:00:26 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 11:00:26 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 11:00:26 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 11:00:26 | ^~~~~~~~~~~~ 11:00:26 | | 11:00:26 | 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 **)} 11:00:26 In file included from /tmp/sdk/src/c/rest-server.c:21: 11:00:26 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 11:00:26 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 11:00:26 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 11:00:26 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 11:00:26 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 11:00:26 | ^~~~~~~~~~~~ 11:00:26 | | 11:00:26 | 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 **)} 11:00:26 In file included from /tmp/sdk/src/c/rest-server.c:21: 11:00:26 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 11:00:26 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 11:00:26 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 11:00:26 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:00:27 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:00:28 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:00:28 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:00:29 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:00:29 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:00:30 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:00:30 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:00:31 [ 76%] Linking C shared library libcsdk.so 11:00:31 [ 76%] Built target csdk 11:00:31 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:00:31 [ 79%] Linking C executable template 11:00:31 [ 79%] Built target template 11:00:32 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:00:32 [ 82%] Linking C executable device-counter 11:00:32 [ 82%] Built target device-counter 11:00:32 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:00:33 [ 85%] Linking C executable device-random 11:00:33 [ 85%] Built target device-random 11:00:33 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:00:33 [ 88%] Linking C executable device-gyro 11:00:33 [ 88%] Built target device-gyro 11:00:33 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:00:34 [ 91%] Linking C executable device-bitfields 11:00:34 [ 91%] Built target device-bitfields 11:00:34 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:00:35 [ 94%] Linking C executable template-discovery 11:00:35 [ 94%] Built target template-discovery 11:00:35 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:00:35 [ 97%] Linking C executable device-file 11:00:35 [ 97%] Built target device-file 11:00:35 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:00:36 [100%] Linking C executable device-terminal 11:00:36 [100%] Built target device-terminal 11:00:36 make: Entering directory '/tmp/sdk/build/release' 11:00:36 make[1]: Entering directory '/tmp/sdk/build/release' 11:00:36 make[2]: Entering directory '/tmp/sdk/build/release' 11:00:36 make[2]: Leaving directory '/tmp/sdk/build/release' 11:00:36 [ 76%] Built target csdk 11:00:36 make[2]: Entering directory '/tmp/sdk/build/release' 11:00:36 make[2]: Leaving directory '/tmp/sdk/build/release' 11:00:36 [ 79%] Built target template 11:00:36 make[2]: Entering directory '/tmp/sdk/build/release' 11:00:36 make[2]: Leaving directory '/tmp/sdk/build/release' 11:00:36 [ 82%] Built target device-counter 11:00:36 make[2]: Entering directory '/tmp/sdk/build/release' 11:00:36 make[2]: Leaving directory '/tmp/sdk/build/release' 11:00:36 [ 85%] Built target device-random 11:00:36 make[2]: Entering directory '/tmp/sdk/build/release' 11:00:36 make[2]: Leaving directory '/tmp/sdk/build/release' 11:00:36 [ 88%] Built target device-gyro 11:00:36 make[2]: Entering directory '/tmp/sdk/build/release' 11:00:36 make[2]: Leaving directory '/tmp/sdk/build/release' 11:00:36 [ 91%] Built target device-bitfields 11:00:36 make[2]: Entering directory '/tmp/sdk/build/release' 11:00:36 make[2]: Leaving directory '/tmp/sdk/build/release' 11:00:36 [ 94%] Built target template-discovery 11:00:36 make[2]: Entering directory '/tmp/sdk/build/release' 11:00:36 make[2]: Leaving directory '/tmp/sdk/build/release' 11:00:37 [ 97%] Built target device-file 11:00:37 make[2]: Entering directory '/tmp/sdk/build/release' 11:00:37 make[2]: Leaving directory '/tmp/sdk/build/release' 11:00:37 [100%] Built target device-terminal 11:00:37 make[1]: Leaving directory '/tmp/sdk/build/release' 11:00:37 Install the project... 11:00:37 -- Install configuration: "Release" 11:00:37 -- Installing: /usr/local/lib/libcsdk.so 11:00:37 -- Installing: /usr/local/include 11:00:37 -- Installing: /usr/local/include/devsdk 11:00:37 -- Installing: /usr/local/include/devsdk/devsdk.h 11:00:37 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:00:37 -- Installing: /usr/local/include/edgex 11:00:37 -- Installing: /usr/local/include/edgex/rest-server.h 11:00:37 -- Installing: /usr/local/include/edgex/edgex.h 11:00:37 -- Installing: /usr/local/include/edgex/edgex-base.h 11:00:37 -- Installing: /usr/local/include/edgex/devices.h 11:00:37 -- Installing: /usr/local/include/edgex/profiles.h 11:00:37 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:00:37 -- Installing: /usr/local/include/iot 11:00:37 -- Installing: /usr/local/include/iot/threadpool.h 11:00:37 -- Installing: /usr/local/include/iot/defs.h 11:00:37 -- Installing: /usr/local/include/iot/time.h 11:00:37 -- Installing: /usr/local/include/iot/base64.h 11:00:37 -- Installing: /usr/local/include/iot/component.h 11:00:37 -- Installing: /usr/local/include/iot/scheduler.h 11:00:37 -- Installing: /usr/local/include/iot/config.h 11:00:37 -- Installing: /usr/local/include/iot/container.h 11:00:37 -- Installing: /usr/local/include/iot/uuid.h 11:00:37 -- Installing: /usr/local/include/iot/os.h 11:00:37 -- Installing: /usr/local/include/iot/thread.h 11:00:37 -- Installing: /usr/local/include/iot/data.h 11:00:37 -- Installing: /usr/local/include/iot/typecode.h 11:00:37 -- Installing: /usr/local/include/iot/hash.h 11:00:37 -- Installing: /usr/local/include/iot/logger.h 11:00:37 -- Installing: /usr/local/include/iot/os 11:00:37 -- Installing: /usr/local/include/iot/os/zephyr.h 11:00:37 -- Installing: /usr/local/include/iot/os/macos.h 11:00:37 -- Installing: /usr/local/include/iot/os/linux.h 11:00:37 -- Installing: /usr/local/include/iot/json.h 11:00:37 -- Installing: /usr/local/include/iot/iot.h 11:00:37 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:00:37 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:00:37 make: Leaving directory '/tmp/sdk/build/release' 11:00:39 Removing intermediate container 46b1db3526e5 11:00:39 ---> 89bcf6a8e8b6 11:00:39 Step 14/22 : FROM ${BASE} 11:00:39 ---> cad489bbaf40 11:00:39 Step 15/22 : LABEL maintainer="IOTech " 11:00:39 ---> Running in 7ee57ac90451 11:00:39 Removing intermediate container 7ee57ac90451 11:00:39 ---> 1b4bc2ea56c1 11:00:39 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 11:00:39 ---> Running in d934a9d73835 11:00:40 Connecting to iotech.jfrog.io (52.18.78.255:443) 11:00:41 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:00:41 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:00:41 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:00:41 Removing intermediate container d934a9d73835 11:00:41 ---> 2f17b32152e3 11:00:41 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 11:00:42 ---> Running in 337047f19ed7 11:00:43 Removing intermediate container 337047f19ed7 11:00:43 ---> dfaf696c19ea 11:00:43 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev 11:00:43 ---> Running in 8e91e9715d78 11:00:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:00:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:00:46 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 11:00:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:00:46 (1/6) Installing curl (7.80.0-r1) 11:00:46 (2/6) Installing hiredis (1.0.2-r0) 11:00:46 (3/6) Installing hiredis-dev (1.0.2-r0) 11:00:46 (4/6) Installing libcbor (0.8.0-r0) 11:00:46 (5/6) Installing libuuid (2.37.4-r0) 11:00:47 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 11:00:47 Executing busybox-1.34.1-r5.trigger 11:00:47 OK: 278 MiB in 83 packages 11:00:48 Removing intermediate container 8e91e9715d78 11:00:48 ---> 305dde807ea2 11:00:48 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 11:00:49 ---> 49f1cf22c6c1 11:00:49 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:00:49 ---> 1099823878cc 11:00:49 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 11:00:50 ---> 4cdc4c3ed6ee 11:00:50 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:00:51 ---> 8db198c47ae4 11:00:51 Successfully built 8db198c47ae4 11:00:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:51 + docker inspect -f . ci-base-image-arm64 11:00:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:00:52 prd-ubuntu20.04-docker-arm64-4c-16g-15442 does not seem to be running inside a container 11:00:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** ci-base-image-arm64 cat 11:00:53 $ docker top 8a77c45d6f7ba98d3f83786580f20079b1cf5a79810985a28edc5daa9d2dc22d -eo pid,comm [Pipeline] { [Pipeline] sh 11:00:54 + make test 11:00:54 echo "make test" 11:00:54 make test [Pipeline] } 11:00:54 $ docker stop --time=1 8a77c45d6f7ba98d3f83786580f20079b1cf5a79810985a28edc5daa9d2dc22d 11:00:56 $ docker rm -f 8a77c45d6f7ba98d3f83786580f20079b1cf5a79810985a28edc5daa9d2dc22d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:00:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:00:57 + ls -al . 11:00:57 total 204 11:00:57 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 10:57 . 11:00:57 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:57 .. 11:00:57 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 10:58 .git 11:00:57 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 10:57 .github 11:00:57 -rw-rw-r-- 1 jenkins jenkins 176 Jun 23 10:57 .gitignore 11:00:57 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 23 10:57 Attribution.txt 11:00:57 -rw-rw-r-- 1 jenkins jenkins 8378 Jun 23 10:57 CHANGES 11:00:57 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 23 10:57 Doxyfile 11:00:57 -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 10:57 GOVERNANCE.md 11:00:57 -rw-rw-r-- 1 jenkins jenkins 784 Jun 23 10:57 Jenkinsfile 11:00:57 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 23 10:57 LICENSE 11:00:57 -rw-rw-r-- 1 jenkins jenkins 444 Jun 23 10:57 Makefile 11:00:57 -rw-rw-r-- 1 jenkins jenkins 618 Jun 23 10:57 OWNERS.md 11:00:57 -rw-rw-r-- 1 jenkins jenkins 4086 Jun 23 10:57 README.md 11:00:57 -rw-rw-r-- 1 jenkins jenkins 7422 Jun 23 10:57 README.v2.md 11:00:57 -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 10:55 VERSION 11:00:57 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 10:57 docs 11:00:57 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:57 include 11:00:57 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 10:57 scripts 11:00:57 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:57 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:57 + 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=dd93335fa5a2419811336d42df6bf0719f663889 --label arch=arm64 --label version=0.0.0 . 11:00:58 Sending build context to Docker daemon 2.809MB 11:00:58 Step 1/17 : ARG BASE=alpine:3.15 11:00:58 Step 2/17 : FROM ${BASE} 11:00:58 ---> 8db198c47ae4 11:00:58 Step 3/17 : LABEL maintainer="IOTech " 11:00:58 ---> Running in 63e6fbee8f85 11:00:58 Removing intermediate container 63e6fbee8f85 11:00:58 ---> 0a8a7941223f 11:00:58 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 11:00:58 ---> Running in ab8ec26bea3c 11:00:59 Connecting to iotech.jfrog.io (52.208.230.92:443) 11:01:00 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:01:00 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:01:00 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:01:01 Removing intermediate container ab8ec26bea3c 11:01:01 ---> 7c0e58e62316 11:01:01 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 11:01:01 ---> Running in 5eec3d99bfaf 11:01:02 Removing intermediate container 5eec3d99bfaf 11:01:02 ---> 3d6da2099721 11:01:02 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 11:01:02 ---> Running in 4bd20466a5ff 11:01:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:01:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:01:04 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 11:01:05 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:01:05 (1/26) Installing libcbor-dev (0.8.0-r0) 11:01:05 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 11:01:05 (3/26) Installing util-linux (2.37.4-r0) 11:01:05 (4/26) Installing libblkid (2.37.4-r0) 11:01:05 (5/26) Installing libeconf (0.4.2-r0) 11:01:05 (6/26) Installing libfdisk (2.37.4-r0) 11:01:06 (7/26) Installing libmount (2.37.4-r0) 11:01:06 (8/26) Installing libsmartcols (2.37.4-r0) 11:01:06 (9/26) Installing util-linux-misc (2.37.4-r0) 11:01:06 (10/26) Installing linux-pam (1.5.2-r0) 11:01:06 (11/26) Installing runuser (2.37.4-r0) 11:01:07 (12/26) Installing hexdump (2.37.4-r0) 11:01:07 (13/26) Installing uuidgen (2.37.4-r0) 11:01:07 (14/26) Installing blkid (2.37.4-r0) 11:01:07 (15/26) Installing sfdisk (2.37.4-r0) 11:01:07 (16/26) Installing mcookie (2.37.4-r0) 11:01:07 (17/26) Installing wipefs (2.37.4-r0) 11:01:07 (18/26) Installing cfdisk (2.37.4-r0) 11:01:07 (19/26) Installing flock (2.37.4-r0) 11:01:07 (20/26) Installing lsblk (2.37.4-r0) 11:01:07 (21/26) Installing libcap-ng (0.8.2-r1) 11:01:07 (22/26) Installing setpriv (2.37.4-r0) 11:01:07 (23/26) Installing logger (2.37.4-r0) 11:01:07 (24/26) Installing partx (2.37.4-r0) 11:01:08 (25/26) Installing findmnt (2.37.4-r0) 11:01:08 (26/26) Installing util-linux-dev (2.37.4-r0) 11:01:08 Executing busybox-1.34.1-r5.trigger 11:01:08 OK: 290 MiB in 109 packages 11:01:09 Removing intermediate container 4bd20466a5ff 11:01:09 ---> b2d5a26a0e22 11:01:09 Step 7/17 : COPY VERSION /edgex-c-sdk/ 11:01:10 ---> b58daf2e13d0 11:01:10 Step 8/17 : COPY src /edgex-c-sdk/src/ 11:01:11 ---> f4139fa35c77 11:01:11 Step 9/17 : COPY include /edgex-c-sdk/include/ 11:01:11 ---> 6cca41d1a3d2 11:01:11 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 11:01:12 ---> d0127531e7ef 11:01:12 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 11:01:12 ---> 18c38cdc99a7 11:01:12 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 11:01:13 ---> f69a401fb588 11:01:13 Step 13/17 : WORKDIR /edgex-c-sdk 11:01:13 ---> Running in 4da85710386b 11:01:13 Removing intermediate container 4da85710386b 11:01:13 ---> 9c0e8fbdeff2 11:01:13 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:01:13 ---> Running in 4ae611b5b60d 11:01:13 Removing intermediate container 4ae611b5b60d 11:01:13 ---> a7a6532a9e7d 11:01:13 Step 15/17 : LABEL arch=arm64 11:01:14 ---> Running in 2157c8caa427 11:01:14 Removing intermediate container 2157c8caa427 11:01:14 ---> 3079079812c8 11:01:14 Step 16/17 : LABEL git_sha=dd93335fa5a2419811336d42df6bf0719f663889 11:01:14 ---> Running in 7fd4f606312a 11:01:14 Removing intermediate container 7fd4f606312a 11:01:14 ---> 62014fcce979 11:01:14 Step 17/17 : LABEL version=0.0.0 11:01:14 ---> Running in abea6bf1648f 11:01:15 Removing intermediate container abea6bf1648f 11:01:15 ---> 925344b91858 11:01:15 [Warning] One or more build-args [MAKE ARCH] were not consumed 11:01:15 Successfully built 925344b91858 11:01:15 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 11:01:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:01:16 11:01:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:01:16 arm64: Pulling from edgex-lftools-log-publisher 11:01:16 8998bd30e6a1: Pulling fs layer 11:01:16 04944245beec: Pulling fs layer 11:01:16 699f458cf7ca: Pulling fs layer 11:01:16 765212b225bb: Pulling fs layer 11:01:16 f23df028b6ca: Pulling fs layer 11:01:16 d65c8cfc05b1: Pulling fs layer 11:01:16 2437ff75d9bd: Pulling fs layer 11:01:16 f23df028b6ca: Waiting 11:01:16 765212b225bb: Waiting 11:01:16 d65c8cfc05b1: Waiting 11:01:16 2437ff75d9bd: Waiting 11:01:16 04944245beec: Verifying Checksum 11:01:16 04944245beec: Download complete 11:01:16 765212b225bb: Verifying Checksum 11:01:16 765212b225bb: Download complete 11:01:16 f23df028b6ca: Download complete 11:01:16 d65c8cfc05b1: Verifying Checksum 11:01:16 d65c8cfc05b1: Download complete 11:01:17 699f458cf7ca: Verifying Checksum 11:01:17 699f458cf7ca: Download complete 11:01:17 8998bd30e6a1: Verifying Checksum 11:01:17 8998bd30e6a1: Download complete 11:01:20 2437ff75d9bd: Verifying Checksum 11:01:20 2437ff75d9bd: Download complete 11:01:22 8998bd30e6a1: Pull complete 11:01:22 04944245beec: Pull complete 11:01:23 699f458cf7ca: Pull complete 11:01:23 765212b225bb: Pull complete 11:01:24 f23df028b6ca: Pull complete 11:01:24 d65c8cfc05b1: Pull complete 11:01:39 2437ff75d9bd: Pull complete 11:01:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:01:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:01:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:01:40 prd-ubuntu20.04-docker-arm64-4c-16g-15442 does not seem to be running inside a container 11:01:40 $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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:arm64 cat 11:01:42 $ docker top c41f24972e7f67db9fab6018bebd4d5141af418e07499cc64643019494844605 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:01:43 ---> job-cost.sh 11:01:43 lf-activate-venv: SKIPPING 11:01:43 INFO: No Stack... 11:01:43 INFO: Retrieving Pricing Info for: v3-standard-4 11:01:44 INFO: Archiving Costs [Pipeline] sh 11:01:45 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 11:01:45 + cut -d, -f6 [Pipeline] lock 11:01:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-422-1-stack-cost] 11:01:45 Resource [jenkins-edgexfoundry-device-sdk-c-PR-422-1-stack-cost] did not exist. Created. 11:01:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:01:46 /w/workspace/device-sdk-c/1@tmp/durable-fcad30d6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:01:47 + echo total: 0.10999999940395355 [Pipeline] stash 11:01:47 Warning: overwriting stash ‘stack-cost’ 11:01:47 Stashed 1 file(s) [Pipeline] } 11:01:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-422-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:01:47 $ docker stop --time=1 c41f24972e7f67db9fab6018bebd4d5141af418e07499cc64643019494844605 11:01:49 $ docker rm -f c41f24972e7f67db9fab6018bebd4d5141af418e07499cc64643019494844605 [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 11:01:51 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-422/archives ] 11:01:51 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-422/archives 11:01:51 total 16 11:01:51 drwxr-xr-x 3 root root 4096 Jun 23 10:57 . 11:01:51 drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 10:57 .. 11:01:51 drwxr-xr-x 2 root root 4096 Jun 23 10:57 cost 11:01:51 -rw-r--r-- 1 root root 84 Jun 23 10:57 cost.csv 11:01:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-422/archives 11:01:51 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-422/archives 11:01:51 total 16 11:01:51 drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 10:57 . 11:01:51 drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 10:57 .. 11:01:51 drwxr-xr-x 2 jenkins jenkins 4096 Jun 23 10:57 cost 11:01:51 -rw-r--r-- 1 jenkins jenkins 84 Jun 23 10:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:01:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:01:52 ---> package-listing.sh 11:01:52 ++ facter osfamily 11:01:52 ++ tr '[:upper:]' '[:lower:]' 11:01:52 + OS_FAMILY=debian 11:01:52 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-422 11:01:52 + START_PACKAGES=/tmp/packages_start.txt 11:01:52 + END_PACKAGES=/tmp/packages_end.txt 11:01:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:01:52 + PACKAGES=/tmp/packages_start.txt 11:01:52 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-422 ']' 11:01:52 + PACKAGES=/tmp/packages_end.txt 11:01:52 + case "${OS_FAMILY}" in 11:01:52 + dpkg -l 11:01:52 + grep '^ii' 11:01:52 + '[' -f /tmp/packages_start.txt ']' 11:01:52 + '[' -f /tmp/packages_end.txt ']' 11:01:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:01:52 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-422 ']' 11:01:52 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-422/archives/ 11:01:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-422/archives/ [Pipeline] echo 11:01:52 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-422/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:01:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:01:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:01:53 prd-ubuntu20.04-docker-8c-8g-15440 does not seem to be running inside a container 11:01:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-422/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-422 -v /w/workspace/edgexfoundry_device-sdk-c_PR-422:/w/workspace/edgexfoundry_device-sdk-c_PR-422:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-422@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-422@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:10003/edgex-lftools-log-publisher:latest cat 11:01:53 $ docker top 668e7c9d79896e57defe62af6c20b826002ffe150d4f02a3a61504668fb7b39e -eo pid,comm [Pipeline] { [Pipeline] sh 11:01:54 + touch /tmp/pre-build-complete [Pipeline] sh 11:01:54 + mkdir -p /var/log/sysstat [Pipeline] sh 11:01:54 + ls /var/log/sa-host 11:01:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:01:55 provisioning config files... 11:01:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-422@tmp/config7625779938859354687tmp [Pipeline] { [Pipeline] echo 11:01:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:01:55 ---> create-netrc.sh [Pipeline] } 11:01:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:01:55 ---> python-tools-install.sh [Pipeline] echo 11:01:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:01:56 ---> sudo-logs.sh 11:01:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:01:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:01:56 ---> job-cost.sh 11:01:56 lf-activate-venv: SKIPPING 11:01:56 DEBUG: total: 0.2199999988079071 11:01:56 INFO: Retrieving Stack Cost... 11:01:56 INFO: Retrieving Pricing Info for: v3-standard-8 11:01:57 INFO: Archiving Costs [Pipeline] echo 11:01:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:01:57 ---> logs-deploy.sh 11:01:57 lf-activate-venv: SKIPPING 11:01:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-422/1 11:01:57 INFO: archiving workspace using pattern(s): 11:01:58 Archives upload complete. 11:01:58 INFO: archiving logs to Nexus