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 [2022-06-23T10:55:38.430Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-23T10:55:38.593Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-23T10:55:38.694Z] ========================================================= [2022-06-23T10:55:38.694Z] EdgeX Global Pipelines Version Info [2022-06-23T10:55:38.694Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:55:39.495Z] ------------------- [2022-06-23T10:55:39.495Z] stable info: [2022-06-23T10:55:39.495Z] ------------------- [2022-06-23T10:55:39.495Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-23T10:55:39.495Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T10:55:39.495Z] Message: update stable to v1.0.234 [2022-06-23T10:55:40.069Z] ------------------- [2022-06-23T10:55:40.069Z] experimental info: [2022-06-23T10:55:40.069Z] ------------------- [2022-06-23T10:55:40.069Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-23T10:55:40.069Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T10:55:40.069Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-23T10:55:40.445Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-06-23T10:55:40.484Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-06-23T10:55:40.519Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-23T10:55:40.553Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-23T10:55:40.591Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-23T10:55:40.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-06-23T10:55:40.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-06-23T10:55:40.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-23T10:55:40.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-23T10:55:40.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-06-23T10:55:40.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-23T10:55:40.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-23T10:55:40.905Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T10:55:40.946Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T10:55:40.983Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-23T10:55:41.021Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-23T10:55:41.059Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-23T10:55:41.096Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-422 [Pipeline] echo [2022-06-23T10:55:41.138Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-422 [Pipeline] echo [2022-06-23T10:55:41.174Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-422 [Pipeline] echo [2022-06-23T10:55:41.211Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd93335fa5a2419811336d42df6bf0719f663889 [Pipeline] echo [2022-06-23T10:55:41.250Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd93335 [Pipeline] echo [2022-06-23T10:55:41.291Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T10:55:41.398Z] provisioning config files... [2022-06-23T10:55:41.411Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-422@tmp/config4082391383492860730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:55:41.762Z] ---> docker-login.sh [2022-06-23T10:55:41.762Z] nexus3.edgexfoundry.org:10001 [2022-06-23T10:55:42.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:55:42.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:55:42.023Z] Configure a credential helper to remove this warning. See [2022-06-23T10:55:42.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:55:42.023Z] [2022-06-23T10:55:42.023Z] Login Succeeded [2022-06-23T10:55:42.023Z] nexus3.edgexfoundry.org:10002 [2022-06-23T10:55:42.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:55:42.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:55:42.284Z] Configure a credential helper to remove this warning. See [2022-06-23T10:55:42.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:55:42.284Z] [2022-06-23T10:55:42.284Z] Login Succeeded [2022-06-23T10:55:42.284Z] nexus3.edgexfoundry.org:10003 [2022-06-23T10:55:42.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:55:42.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:55:42.284Z] Configure a credential helper to remove this warning. See [2022-06-23T10:55:42.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:55:42.284Z] [2022-06-23T10:55:42.284Z] Login Succeeded [2022-06-23T10:55:42.284Z] nexus3.edgexfoundry.org:10004 [2022-06-23T10:55:42.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:55:42.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:55:42.545Z] Configure a credential helper to remove this warning. See [2022-06-23T10:55:42.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:55:42.545Z] [2022-06-23T10:55:42.545Z] Login Succeeded [2022-06-23T10:55:42.545Z] docker.io [2022-06-23T10:55:42.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:55:42.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:55:42.806Z] Configure a credential helper to remove this warning. See [2022-06-23T10:55:42.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:55:42.806Z] [2022-06-23T10:55:42.806Z] Login Succeeded [2022-06-23T10:55:42.806Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T10:55:42.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2022-06-23T10:55:43.421Z] + git rev-list -1 --merges dd93335fa5a2419811336d42df6bf0719f663889~1..dd93335fa5a2419811336d42df6bf0719f663889 [Pipeline] echo [2022-06-23T10:55:43.471Z] -----------> git rev-list -1 --merges dd93335fa5a2419811336d42df6bf0719f663889~1..dd93335fa5a2419811336d42df6bf0719f663889 dd93335fa5a2419811336d42df6bf0719f663889 [false] [Pipeline] sh [2022-06-23T10:55:43.780Z] + git log --format=format:%s -1 dd93335fa5a2419811336d42df6bf0719f663889 [Pipeline] echo [2022-06-23T10:55:43.812Z] ========================================================= [2022-06-23T10:55:43.812Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-23T10:55:43.812Z] ========================================================= 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 [2022-06-23T10:55:44.630Z] + git rev-list -1 --merges dd93335fa5a2419811336d42df6bf0719f663889~1..dd93335fa5a2419811336d42df6bf0719f663889 [Pipeline] echo [2022-06-23T10:55:44.671Z] -----------> git rev-list -1 --merges dd93335fa5a2419811336d42df6bf0719f663889~1..dd93335fa5a2419811336d42df6bf0719f663889 dd93335fa5a2419811336d42df6bf0719f663889 [false] [Pipeline] sh [2022-06-23T10:55:44.988Z] + git log --format=format:%s -1 dd93335fa5a2419811336d42df6bf0719f663889 [Pipeline] echo [2022-06-23T10:55:45.027Z] ========================================================= [2022-06-23T10:55:45.027Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-23T10:55:45.027Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-06-23T10:55:45.524Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-23T10:55:45.524Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-23T10:55:45.524Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-23T10:55:45.524Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-23T10:55:45.524Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-23T10:55:45.524Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-23T10:55:45.524Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:55:46.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T10:55:46.091Z] [2022-06-23T10:55:46.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:55:46.537Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T10:55:46.537Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-23T10:55:46.537Z] 42c077c10790: Pulling fs layer [2022-06-23T10:55:46.537Z] f63e77b7563a: Pulling fs layer [2022-06-23T10:55:46.537Z] bd5fdadae976: Pulling fs layer [2022-06-23T10:55:46.537Z] 205491f53016: Pulling fs layer [2022-06-23T10:55:46.537Z] df18705c85c3: Pulling fs layer [2022-06-23T10:55:46.537Z] bdb3f477010e: Pulling fs layer [2022-06-23T10:55:46.537Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-23T10:55:46.537Z] 2c6e9b1d212d: Pulling fs layer [2022-06-23T10:55:46.537Z] bdb8f0575790: Pulling fs layer [2022-06-23T10:55:46.537Z] 386e3cb2ff24: Pulling fs layer [2022-06-23T10:55:46.537Z] 2343380bae48: Pulling fs layer [2022-06-23T10:55:46.537Z] 205491f53016: Waiting [2022-06-23T10:55:46.537Z] df18705c85c3: Waiting [2022-06-23T10:55:46.537Z] bdb3f477010e: Waiting [2022-06-23T10:55:46.537Z] c8a8fc8e1c8f: Waiting [2022-06-23T10:55:46.537Z] 2c6e9b1d212d: Waiting [2022-06-23T10:55:46.537Z] bdb8f0575790: Waiting [2022-06-23T10:55:46.537Z] 386e3cb2ff24: Waiting [2022-06-23T10:55:46.537Z] 2343380bae48: Waiting [2022-06-23T10:55:46.537Z] f63e77b7563a: Verifying Checksum [2022-06-23T10:55:46.537Z] f63e77b7563a: Download complete [2022-06-23T10:55:46.537Z] 205491f53016: Verifying Checksum [2022-06-23T10:55:46.537Z] 205491f53016: Download complete [2022-06-23T10:55:46.537Z] df18705c85c3: Download complete [2022-06-23T10:55:46.537Z] bd5fdadae976: Verifying Checksum [2022-06-23T10:55:46.537Z] bd5fdadae976: Download complete [2022-06-23T10:55:46.537Z] bdb3f477010e: Verifying Checksum [2022-06-23T10:55:46.537Z] bdb3f477010e: Download complete [2022-06-23T10:55:46.537Z] 2c6e9b1d212d: Download complete [2022-06-23T10:55:46.797Z] bdb8f0575790: Download complete [2022-06-23T10:55:46.797Z] 386e3cb2ff24: Verifying Checksum [2022-06-23T10:55:46.797Z] 386e3cb2ff24: Download complete [2022-06-23T10:55:46.797Z] 2343380bae48: Verifying Checksum [2022-06-23T10:55:46.797Z] 2343380bae48: Download complete [2022-06-23T10:55:46.797Z] 42c077c10790: Verifying Checksum [2022-06-23T10:55:46.797Z] 42c077c10790: Download complete [2022-06-23T10:55:47.056Z] c8a8fc8e1c8f: Download complete [2022-06-23T10:55:47.995Z] 42c077c10790: Pull complete [2022-06-23T10:55:47.995Z] f63e77b7563a: Pull complete [2022-06-23T10:55:48.573Z] bd5fdadae976: Pull complete [2022-06-23T10:55:48.573Z] 205491f53016: Pull complete [2022-06-23T10:55:48.833Z] df18705c85c3: Pull complete [2022-06-23T10:55:49.094Z] bdb3f477010e: Pull complete [2022-06-23T10:55:50.999Z] c8a8fc8e1c8f: Pull complete [2022-06-23T10:55:50.999Z] 2c6e9b1d212d: Pull complete [2022-06-23T10:55:50.999Z] bdb8f0575790: Pull complete [2022-06-23T10:55:50.999Z] 386e3cb2ff24: Pull complete [2022-06-23T10:55:50.999Z] 2343380bae48: Pull complete [2022-06-23T10:55:50.999Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-23T10:55:50.999Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T10:55:50.999Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T10:55:51.217Z] prd-ubuntu20.04-docker-8c-8g-15440 does not seem to be running inside a container [2022-06-23T10:55:51.261Z] $ 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 [2022-06-23T10:55:52.518Z] $ docker top d5eb17d53231136fdde9a484888442ed7a830a860fc4df21359096e09071b394 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-23T10:55:52.683Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T10:55:52.683Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T10:55:52.805Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T10:55:52.812Z] $ docker exec d5eb17d53231136fdde9a484888442ed7a830a860fc4df21359096e09071b394 ssh-agent [2022-06-23T10:55:52.917Z] SSH_AUTH_SOCK=/tmp/ssh-yxGzzFTxJMQa/agent.34 [2022-06-23T10:55:52.917Z] SSH_AGENT_PID=41 [2022-06-23T10:55:52.922Z] Running ssh-add (command line suppressed) [2022-06-23T10:55:53.032Z] 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) [2022-06-23T10:55:53.042Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T10:55:53.369Z] + git tag --points-at HEAD [Pipeline] } [2022-06-23T10:55:53.402Z] $ docker exec --env ******** --env ******** d5eb17d53231136fdde9a484888442ed7a830a860fc4df21359096e09071b394 ssh-agent -k [2022-06-23T10:55:53.499Z] unset SSH_AUTH_SOCK; [2022-06-23T10:55:53.499Z] unset SSH_AGENT_PID; [2022-06-23T10:55:53.499Z] echo Agent pid 41 killed; [2022-06-23T10:55:53.511Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-23T10:55:53.601Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T10:55:53.601Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T10:55:53.734Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T10:55:53.742Z] $ docker exec d5eb17d53231136fdde9a484888442ed7a830a860fc4df21359096e09071b394 ssh-agent [2022-06-23T10:55:53.855Z] SSH_AUTH_SOCK=/tmp/ssh-foCHgWgF8VDP/agent.73 [2022-06-23T10:55:53.855Z] SSH_AGENT_PID=80 [2022-06-23T10:55:53.860Z] Running ssh-add (command line suppressed) [2022-06-23T10:55:53.980Z] 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) [2022-06-23T10:55:53.991Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T10:55:54.325Z] + git semver init [2022-06-23T10:55:54.586Z] 2022-06-23 10:55:54,539 [run_init] DEBUG init version:0.0.0 force:False [2022-06-23T10:55:54.586Z] 2022-06-23 10:55:54,540 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-422/.semver [2022-06-23T10:55:54.586Z] 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 [2022-06-23T10:55:54.586Z] 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) [2022-06-23T10:55:55.531Z] 2022-06-23 10:55:55,232 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-422/.git/info/exclude [2022-06-23T10:55:55.531Z] 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 [2022-06-23T10:55:55.531Z] 2022-06-23 10:55:55,233 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-422/.semver/PR-422 [2022-06-23T10:55:55.531Z] 2022-06-23 10:55:55,238 [execute] INFO git cat-file --batch-check [2022-06-23T10:55:55.531Z] 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=) [2022-06-23T10:55:55.531Z] 2022-06-23 10:55:55,245 [execute] INFO git cat-file --batch [2022-06-23T10:55:55.531Z] 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=) [2022-06-23T10:55:55.531Z] 2022-06-23 10:55:55,251 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-422/.semver/PR-422 [2022-06-23T10:55:55.531Z] 0.0.0 [Pipeline] } [2022-06-23T10:55:55.565Z] $ docker exec --env ******** --env ******** d5eb17d53231136fdde9a484888442ed7a830a860fc4df21359096e09071b394 ssh-agent -k [2022-06-23T10:55:55.683Z] unset SSH_AUTH_SOCK; [2022-06-23T10:55:55.684Z] unset SSH_AGENT_PID; [2022-06-23T10:55:55.684Z] echo Agent pid 80 killed; [2022-06-23T10:55:55.690Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-23T10:55:56.106Z] + git semver [Pipeline] } [2022-06-23T10:55:56.395Z] $ docker stop --time=1 d5eb17d53231136fdde9a484888442ed7a830a860fc4df21359096e09071b394 [2022-06-23T10:55:57.682Z] $ docker rm -f d5eb17d53231136fdde9a484888442ed7a830a860fc4df21359096e09071b394 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T10:55:58.081Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-23T10:55:58.382Z] Stashed 1 file(s) [Pipeline] echo [2022-06-23T10:55:58.399Z] [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 [2022-06-23T10:55:58.999Z] provisioning config files... [2022-06-23T10:55:59.009Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-422@tmp/config7744534029232048563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:55:59.354Z] ---> docker-login.sh [2022-06-23T10:55:59.354Z] nexus3.edgexfoundry.org:10001 [2022-06-23T10:55:59.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:55:59.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:55:59.354Z] Configure a credential helper to remove this warning. See [2022-06-23T10:55:59.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:55:59.354Z] [2022-06-23T10:55:59.354Z] Login Succeeded [2022-06-23T10:55:59.354Z] nexus3.edgexfoundry.org:10002 [2022-06-23T10:55:59.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:55:59.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:55:59.614Z] Configure a credential helper to remove this warning. See [2022-06-23T10:55:59.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:55:59.614Z] [2022-06-23T10:55:59.614Z] Login Succeeded [2022-06-23T10:55:59.614Z] nexus3.edgexfoundry.org:10003 [2022-06-23T10:55:59.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:55:59.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:55:59.614Z] Configure a credential helper to remove this warning. See [2022-06-23T10:55:59.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:55:59.614Z] [2022-06-23T10:55:59.614Z] Login Succeeded [2022-06-23T10:55:59.614Z] nexus3.edgexfoundry.org:10004 [2022-06-23T10:55:59.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:55:59.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:55:59.874Z] Configure a credential helper to remove this warning. See [2022-06-23T10:55:59.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:55:59.874Z] [2022-06-23T10:55:59.874Z] Login Succeeded [2022-06-23T10:55:59.874Z] docker.io [2022-06-23T10:55:59.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:56:00.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:56:00.140Z] Configure a credential helper to remove this warning. See [2022-06-23T10:56:00.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:56:00.140Z] [2022-06-23T10:56:00.140Z] Login Succeeded [2022-06-23T10:56:00.140Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T10:56:00.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T10:56:00.671Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T10:56:00.701Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-06-23T10:56:00.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T10:56:00.767Z] ========================================================= [2022-06-23T10:56:00.767Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-06-23T10:56:00.767Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:56:01.289Z] + 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 . [2022-06-23T10:56:01.289Z] Sending build context to Docker daemon 4.609MB [2022-06-23T10:56:01.289Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-06-23T10:56:01.289Z] Step 2/22 : FROM ${BASE} as builder [2022-06-23T10:56:01.289Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-06-23T10:56:01.289Z] df9b9388f04a: Pulling fs layer [2022-06-23T10:56:01.289Z] 37ea90d01205: Pulling fs layer [2022-06-23T10:56:01.289Z] c88372d24652: Pulling fs layer [2022-06-23T10:56:01.289Z] 37ea90d01205: Verifying Checksum [2022-06-23T10:56:01.289Z] 37ea90d01205: Download complete [2022-06-23T10:56:01.548Z] df9b9388f04a: Verifying Checksum [2022-06-23T10:56:01.548Z] df9b9388f04a: Download complete [2022-06-23T10:56:01.548Z] df9b9388f04a: Pull complete [2022-06-23T10:56:01.808Z] 37ea90d01205: Pull complete [2022-06-23T10:56:02.068Z] c88372d24652: Verifying Checksum [2022-06-23T10:56:02.068Z] c88372d24652: Download complete [2022-06-23T10:56:04.608Z] c88372d24652: Pull complete [2022-06-23T10:56:04.608Z] Digest: sha256:7838dbf83682cb41b3dca2bf01f77fb67835a209a78790cfccd94cf2d79d2d2e [2022-06-23T10:56:04.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-06-23T10:56:04.608Z] ---> 95f6e8fcc511 [2022-06-23T10:56:04.608Z] 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 [2022-06-23T10:56:05.549Z] ---> Running in 9151de806445 [2022-06-23T10:56:05.810Z] Connecting to iotech.jfrog.io (34.248.37.48:443) [2022-06-23T10:56:06.069Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-23T10:56:06.069Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-23T10:56:06.069Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-23T10:56:06.328Z] Removing intermediate container 9151de806445 [2022-06-23T10:56:06.328Z] ---> 1513d458e9b4 [2022-06-23T10:56:06.328Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-23T10:56:06.328Z] ---> Running in 216aa83da9dd [2022-06-23T10:56:06.898Z] Removing intermediate container 216aa83da9dd [2022-06-23T10:56:06.898Z] ---> a109448c246a [2022-06-23T10:56:06.898Z] 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 [2022-06-23T10:56:06.898Z] ---> Running in c9cacd2c287f [2022-06-23T10:56:07.158Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T10:56:08.100Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T10:56:08.360Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T10:56:08.932Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-23T10:56:08.932Z] (1/31) Installing hiredis (1.0.2-r0) [2022-06-23T10:56:08.932Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-06-23T10:56:08.932Z] (3/31) Installing libcbor (0.8.0-r0) [2022-06-23T10:56:09.193Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-06-23T10:56:09.193Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-06-23T10:56:09.193Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-06-23T10:56:10.137Z] (7/31) Installing util-linux (2.37.4-r0) [2022-06-23T10:56:10.137Z] (8/31) Installing libblkid (2.37.4-r0) [2022-06-23T10:56:10.398Z] (9/31) Installing libeconf (0.4.2-r0) [2022-06-23T10:56:10.398Z] (10/31) Installing libuuid (2.37.4-r0) [2022-06-23T10:56:10.659Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-06-23T10:56:10.659Z] (12/31) Installing libmount (2.37.4-r0) [2022-06-23T10:56:10.659Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-06-23T10:56:10.920Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-06-23T10:56:11.182Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-06-23T10:56:11.182Z] (16/31) Installing runuser (2.37.4-r0) [2022-06-23T10:56:11.182Z] (17/31) Installing hexdump (2.37.4-r0) [2022-06-23T10:56:11.443Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-06-23T10:56:11.443Z] (19/31) Installing blkid (2.37.4-r0) [2022-06-23T10:56:11.443Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-06-23T10:56:11.703Z] (21/31) Installing mcookie (2.37.4-r0) [2022-06-23T10:56:11.703Z] (22/31) Installing wipefs (2.37.4-r0) [2022-06-23T10:56:11.703Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-06-23T10:56:11.965Z] (24/31) Installing flock (2.37.4-r0) [2022-06-23T10:56:11.965Z] (25/31) Installing lsblk (2.37.4-r0) [2022-06-23T10:56:11.965Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-06-23T10:56:12.226Z] (27/31) Installing setpriv (2.37.4-r0) [2022-06-23T10:56:12.226Z] (28/31) Installing logger (2.37.4-r0) [2022-06-23T10:56:12.226Z] (29/31) Installing partx (2.37.4-r0) [2022-06-23T10:56:12.486Z] (30/31) Installing findmnt (2.37.4-r0) [2022-06-23T10:56:12.486Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-06-23T10:56:12.747Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T10:56:12.747Z] OK: 293 MiB in 108 packages [2022-06-23T10:56:13.317Z] Removing intermediate container c9cacd2c287f [2022-06-23T10:56:13.317Z] ---> 4fde5dd3f024 [2022-06-23T10:56:13.317Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-06-23T10:56:13.317Z] ---> Running in 5c8abb6b5952 [2022-06-23T10:56:13.749Z] Still waiting to schedule task [2022-06-23T10:56:13.749Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-23T10:56:13.887Z] Removing intermediate container 5c8abb6b5952 [2022-06-23T10:56:13.887Z] ---> 862512637d31 [2022-06-23T10:56:13.887Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-06-23T10:56:13.887Z] ---> 14c22e2cf3fa [2022-06-23T10:56:13.887Z] Step 8/22 : COPY src /tmp/sdk/src [2022-06-23T10:56:14.165Z] ---> 34ea329dbeb3 [2022-06-23T10:56:14.165Z] Step 9/22 : COPY include /tmp/sdk/include [2022-06-23T10:56:14.426Z] ---> 66d48069e80a [2022-06-23T10:56:14.426Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-06-23T10:56:14.426Z] ---> 34ebe0bcf933 [2022-06-23T10:56:14.426Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-06-23T10:56:14.689Z] ---> 46a0731a7b85 [2022-06-23T10:56:14.689Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-06-23T10:56:14.689Z] ---> 9c2f861e223a [2022-06-23T10:56:14.689Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-06-23T10:56:14.689Z] ---> Running in 092aa168686b [2022-06-23T10:56:14.948Z] + CPPCHECK=false [2022-06-23T10:56:14.948Z] + DOCGEN=false [2022-06-23T10:56:14.948Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-06-23T10:56:14.948Z] + TOMLVER=SDK-0.2 [2022-06-23T10:56:14.948Z] + CUTILVER=1.2.2 [2022-06-23T10:56:14.948Z] + '[' 0 -gt 0 ] [2022-06-23T10:56:14.948Z] + readlink -f ./scripts/build.sh [2022-06-23T10:56:14.948Z] + dirname /tmp/sdk/scripts/build.sh [2022-06-23T10:56:14.948Z] + dirname /tmp/sdk/scripts [2022-06-23T10:56:14.948Z] + ROOT=/tmp/sdk [2022-06-23T10:56:14.948Z] + cd /tmp/sdk [2022-06-23T10:56:14.948Z] + '[' '!' -d deps ] [2022-06-23T10:56:14.948Z] + mkdir deps [2022-06-23T10:56:14.948Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-06-23T10:56:14.948Z] + tar -C deps -z -x -f - [2022-06-23T10:56:14.948Z] Connecting to github.com (140.82.113.4:443) [2022-06-23T10:56:15.210Z] Connecting to codeload.github.com (140.82.114.9:443) [2022-06-23T10:56:15.471Z] writing to stdout [2022-06-23T10:56:15.471Z] - 100% |********************************| 16451 0:00:00 ETA [2022-06-23T10:56:15.471Z] written to stdout [2022-06-23T10:56:15.471Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-06-23T10:56:15.471Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-06-23T10:56:15.471Z] + tar -C deps -z -x -f - [2022-06-23T10:56:15.472Z] Connecting to github.com (140.82.113.4:443) [2022-06-23T10:56:15.472Z] Connecting to codeload.github.com (140.82.114.9:443) [2022-06-23T10:56:15.738Z] writing to stdout [2022-06-23T10:56:15.738Z] - 100% |********************************| 189k 0:00:00 ETA [2022-06-23T10:56:15.738Z] written to stdout [2022-06-23T10:56:15.738Z] + mkdir -p src/c/iot [2022-06-23T10:56:15.738Z] + 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 [2022-06-23T10:56:15.738Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-06-23T10:56:15.738Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-06-23T10:56:15.738Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-06-23T10:56:15.738Z] + mkdir -p include/iot [2022-06-23T10:56:15.738Z] + 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 [2022-06-23T10:56:15.738Z] + mkdir -p include/iot/os [2022-06-23T10:56:15.738Z] + 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 [2022-06-23T10:56:15.738Z] + mkdir -p /tmp/sdk/build/release [2022-06-23T10:56:15.738Z] + cd /tmp/sdk/build/release [2022-06-23T10:56:15.738Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-06-23T10:56:15.999Z] -- The C compiler identification is GNU 10.3.1 [2022-06-23T10:56:15.999Z] -- Detecting C compiler ABI info [2022-06-23T10:56:15.999Z] -- Detecting C compiler ABI info - done [2022-06-23T10:56:15.999Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-06-23T10:56:15.999Z] -- Detecting C compile features [2022-06-23T10:56:15.999Z] -- Detecting C compile features - done [2022-06-23T10:56:15.999Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-06-23T10:56:15.999Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-06-23T10:56:15.999Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-06-23T10:56:15.999Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-06-23T10:56:15.999Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-06-23T10:56:15.999Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-06-23T10:56:15.999Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-06-23T10:56:15.999Z] -- C SDK 0.0.0 for Linux [2022-06-23T10:56:15.999Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-06-23T10:56:16.261Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-06-23T10:56:16.261Z] -- Found Curses: /usr/lib/libcurses.so [2022-06-23T10:56:16.261Z] -- Configuring done [2022-06-23T10:56:16.261Z] -- Generating done [2022-06-23T10:56:16.261Z] -- Build files have been written to: /tmp/sdk/build/release [2022-06-23T10:56:16.261Z] + make all package [2022-06-23T10:56:16.261Z] + tee release.log [2022-06-23T10:56:16.261Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-06-23T10:56:16.520Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-06-23T10:56:16.520Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-06-23T10:56:17.092Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-06-23T10:56:17.092Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-06-23T10:56:17.092Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-06-23T10:56:17.353Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-06-23T10:56:17.614Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-06-23T10:56:17.614Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-06-23T10:56:17.876Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-06-23T10:56:18.138Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-06-23T10:56:18.138Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-06-23T10:56:18.398Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-06-23T10:56:18.398Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-06-23T10:56:18.659Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-06-23T10:56:18.659Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-06-23T10:56:18.659Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-06-23T10:56:19.232Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-06-23T10:56:19.232Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-06-23T10:56:19.495Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-06-23T10:56:19.495Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-06-23T10:56:19.495Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-06-23T10:56:19.495Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-06-23T10:56:19.495Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-06-23T10:56:19.495Z] 275 | const iot_component_factory_t * factory; [2022-06-23T10:56:19.495Z] | ^~~~~~~ [2022-06-23T10:56:19.757Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-06-23T10:56:20.696Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-06-23T10:56:20.696Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-06-23T10:56:20.696Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-06-23T10:56:20.696Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-06-23T10:56:20.954Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-06-23T10:56:20.954Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-06-23T10:56:21.213Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-06-23T10:56:21.213Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-06-23T10:56:21.472Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-06-23T10:56:21.472Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-06-23T10:56:21.472Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-06-23T10:56:22.043Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-06-23T10:56:22.043Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-06-23T10:56:22.303Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-06-23T10:56:22.303Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-06-23T10:56:23.241Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-06-23T10:56:23.241Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-06-23T10:56:23.241Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-06-23T10:56:23.241Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-06-23T10:56:23.501Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-06-23T10:56:23.501Z] /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] [2022-06-23T10:56:23.501Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-06-23T10:56:23.501Z] | ^~~~~~~~~~~~~ [2022-06-23T10:56:23.501Z] | | [2022-06-23T10:56:23.501Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-06-23T10:56:23.501Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-23T10:56:23.501Z] /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 *)' [2022-06-23T10:56:23.501Z] 2784 | MHD_KeyValueIterator iterator, [2022-06-23T10:56:23.501Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-06-23T10:56:23.501Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-06-23T10:56:23.501Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-23T10:56:23.501Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-06-23T10:56:23.501Z] | ^~~~~~~~~~~~ [2022-06-23T10:56:23.501Z] | | [2022-06-23T10:56:23.501Z] | 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 **)} [2022-06-23T10:56:23.501Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-23T10:56:23.501Z] /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 **)'} [2022-06-23T10:56:23.501Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-23T10:56:23.501Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-23T10:56:23.501Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-23T10:56:23.501Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-06-23T10:56:23.501Z] | ^~~~~~~~~~~~ [2022-06-23T10:56:23.501Z] | | [2022-06-23T10:56:23.501Z] | 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 **)} [2022-06-23T10:56:23.501Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-23T10:56:23.501Z] /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 **)'} [2022-06-23T10:56:23.501Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-23T10:56:23.501Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-23T10:56:23.501Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-06-23T10:56:24.101Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-06-23T10:56:24.101Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-06-23T10:56:24.101Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-06-23T10:56:24.101Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-06-23T10:56:24.751Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-06-23T10:56:25.323Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-06-23T10:56:25.582Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-06-23T10:56:25.582Z] [ 76%] Linking C shared library libcsdk.so [2022-06-23T10:56:25.582Z] [ 76%] Built target csdk [2022-06-23T10:56:25.582Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-06-23T10:56:25.846Z] [ 79%] Linking C executable template [2022-06-23T10:56:25.846Z] [ 79%] Built target template [2022-06-23T10:56:25.846Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-06-23T10:56:26.105Z] [ 82%] Linking C executable device-counter [2022-06-23T10:56:26.105Z] [ 82%] Built target device-counter [2022-06-23T10:56:26.105Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-06-23T10:56:26.105Z] [ 85%] Linking C executable device-random [2022-06-23T10:56:26.105Z] [ 85%] Built target device-random [2022-06-23T10:56:26.364Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-06-23T10:56:26.364Z] [ 88%] Linking C executable device-gyro [2022-06-23T10:56:26.364Z] [ 88%] Built target device-gyro [2022-06-23T10:56:26.364Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-06-23T10:56:26.624Z] [ 91%] Linking C executable device-bitfields [2022-06-23T10:56:26.624Z] [ 91%] Built target device-bitfields [2022-06-23T10:56:26.624Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-06-23T10:56:26.885Z] [ 94%] Linking C executable template-discovery [2022-06-23T10:56:26.885Z] [ 94%] Built target template-discovery [2022-06-23T10:56:26.885Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-06-23T10:56:26.885Z] [ 97%] Linking C executable device-file [2022-06-23T10:56:27.148Z] [ 97%] Built target device-file [2022-06-23T10:56:27.148Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-06-23T10:56:27.148Z] [100%] Linking C executable device-terminal [2022-06-23T10:56:27.148Z] [100%] Built target device-terminal [2022-06-23T10:56:27.148Z] Run CPack packaging tool... [2022-06-23T10:56:27.148Z] CPack: Create package using TGZ [2022-06-23T10:56:27.148Z] CPack: Install projects [2022-06-23T10:56:27.148Z] CPack: - Run preinstall target for: Csdk [2022-06-23T10:56:27.410Z] CPack: - Install project: Csdk [] [2022-06-23T10:56:27.410Z] CPack: Create package [2022-06-23T10:56:27.671Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-06-23T10:56:27.671Z] + '[' false '=' true ] [2022-06-23T10:56:27.671Z] + '[' false '=' true ] [2022-06-23T10:56:27.671Z] + mkdir -p /tmp/sdk/build/debug [2022-06-23T10:56:27.671Z] + cd /tmp/sdk/build/debug [2022-06-23T10:56:27.671Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-06-23T10:56:27.671Z] -- The C compiler identification is GNU 10.3.1 [2022-06-23T10:56:27.671Z] -- Detecting C compiler ABI info [2022-06-23T10:56:27.671Z] -- Detecting C compiler ABI info - done [2022-06-23T10:56:27.671Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-06-23T10:56:27.671Z] -- Detecting C compile features [2022-06-23T10:56:27.671Z] -- Detecting C compile features - done [2022-06-23T10:56:27.671Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-06-23T10:56:27.933Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-06-23T10:56:27.933Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-06-23T10:56:27.933Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-06-23T10:56:27.933Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-06-23T10:56:27.933Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-06-23T10:56:27.933Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-06-23T10:56:27.933Z] -- C SDK 0.0.0 for Linux [2022-06-23T10:56:27.933Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-06-23T10:56:27.933Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-06-23T10:56:27.933Z] -- Found Curses: /usr/lib/libcurses.so [2022-06-23T10:56:27.933Z] -- Configuring done [2022-06-23T10:56:27.933Z] -- Generating done [2022-06-23T10:56:27.933Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-06-23T10:56:27.933Z] + make [2022-06-23T10:56:27.933Z] + tee debug.log [2022-06-23T10:56:28.196Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-06-23T10:56:28.196Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-06-23T10:56:28.196Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-06-23T10:56:28.456Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-06-23T10:56:28.456Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-06-23T10:56:28.456Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-06-23T10:56:28.716Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-06-23T10:56:28.716Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-06-23T10:56:28.716Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-06-23T10:56:28.716Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-06-23T10:56:28.977Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-06-23T10:56:28.977Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-06-23T10:56:28.977Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-06-23T10:56:29.238Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-06-23T10:56:29.238Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-06-23T10:56:29.238Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-06-23T10:56:29.238Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-06-23T10:56:29.499Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-06-23T10:56:29.499Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-06-23T10:56:29.499Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-06-23T10:56:29.760Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-06-23T10:56:29.760Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-06-23T10:56:29.760Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-06-23T10:56:29.760Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-06-23T10:56:29.760Z] 275 | const iot_component_factory_t * factory; [2022-06-23T10:56:29.760Z] | ^~~~~~~ [2022-06-23T10:56:29.760Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-06-23T10:56:30.021Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-06-23T10:56:30.021Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-06-23T10:56:30.283Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-06-23T10:56:30.283Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-06-23T10:56:30.283Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-06-23T10:56:30.283Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-06-23T10:56:30.283Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-06-23T10:56:30.543Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-06-23T10:56:30.543Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-06-23T10:56:30.543Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-06-23T10:56:30.543Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-06-23T10:56:30.805Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-06-23T10:56:30.805Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-06-23T10:56:30.805Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-06-23T10:56:31.064Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-06-23T10:56:31.064Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-06-23T10:56:31.324Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-06-23T10:56:31.324Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-06-23T10:56:31.324Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-06-23T10:56:31.324Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-06-23T10:56:31.324Z] /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] [2022-06-23T10:56:31.324Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-06-23T10:56:31.324Z] | ^~~~~~~~~~~~~ [2022-06-23T10:56:31.324Z] | | [2022-06-23T10:56:31.324Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-06-23T10:56:31.324Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-23T10:56:31.324Z] /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 *)' [2022-06-23T10:56:31.324Z] 2784 | MHD_KeyValueIterator iterator, [2022-06-23T10:56:31.324Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-06-23T10:56:31.324Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-06-23T10:56:31.324Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-23T10:56:31.324Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-06-23T10:56:31.324Z] | ^~~~~~~~~~~~ [2022-06-23T10:56:31.324Z] | | [2022-06-23T10:56:31.324Z] | 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 **)} [2022-06-23T10:56:31.324Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-23T10:56:31.324Z] /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 **)'} [2022-06-23T10:56:31.324Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-23T10:56:31.324Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-23T10:56:31.324Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-23T10:56:31.324Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-06-23T10:56:31.324Z] | ^~~~~~~~~~~~ [2022-06-23T10:56:31.324Z] | | [2022-06-23T10:56:31.324Z] | 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 **)} [2022-06-23T10:56:31.324Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-23T10:56:31.325Z] /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 **)'} [2022-06-23T10:56:31.325Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-23T10:56:31.325Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-23T10:56:31.586Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-06-23T10:56:31.586Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-06-23T10:56:31.847Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-06-23T10:56:31.847Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-06-23T10:56:31.847Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-06-23T10:56:32.109Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-06-23T10:56:32.109Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-06-23T10:56:32.369Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-06-23T10:56:32.369Z] [ 76%] Linking C shared library libcsdk.so [2022-06-23T10:56:32.369Z] [ 76%] Built target csdk [2022-06-23T10:56:32.369Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-06-23T10:56:32.631Z] [ 79%] Linking C executable template [2022-06-23T10:56:32.631Z] [ 79%] Built target template [2022-06-23T10:56:32.631Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-06-23T10:56:32.631Z] [ 82%] Linking C executable device-counter [2022-06-23T10:56:32.631Z] [ 82%] Built target device-counter [2022-06-23T10:56:32.631Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-06-23T10:56:32.892Z] [ 85%] Linking C executable device-random [2022-06-23T10:56:32.892Z] [ 85%] Built target device-random [2022-06-23T10:56:32.892Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-06-23T10:56:32.892Z] [ 88%] Linking C executable device-gyro [2022-06-23T10:56:32.892Z] [ 88%] Built target device-gyro [2022-06-23T10:56:32.892Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-06-23T10:56:33.155Z] [ 91%] Linking C executable device-bitfields [2022-06-23T10:56:33.155Z] [ 91%] Built target device-bitfields [2022-06-23T10:56:33.155Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-06-23T10:56:33.155Z] [ 94%] Linking C executable template-discovery [2022-06-23T10:56:33.155Z] [ 94%] Built target template-discovery [2022-06-23T10:56:33.416Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-06-23T10:56:33.416Z] [ 97%] Linking C executable device-file [2022-06-23T10:56:33.416Z] [ 97%] Built target device-file [2022-06-23T10:56:33.416Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-06-23T10:56:33.416Z] [100%] Linking C executable device-terminal [2022-06-23T10:56:33.677Z] [100%] Built target device-terminal [2022-06-23T10:56:33.677Z] make: Entering directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] [ 76%] Built target csdk [2022-06-23T10:56:33.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] [ 79%] Built target template [2022-06-23T10:56:33.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] [ 82%] Built target device-counter [2022-06-23T10:56:33.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] [ 85%] Built target device-random [2022-06-23T10:56:33.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] [ 88%] Built target device-gyro [2022-06-23T10:56:33.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] [ 91%] Built target device-bitfields [2022-06-23T10:56:33.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] [ 94%] Built target template-discovery [2022-06-23T10:56:33.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] [ 97%] Built target device-file [2022-06-23T10:56:33.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.677Z] [100%] Built target device-terminal [2022-06-23T10:56:33.677Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T10:56:33.951Z] Install the project... [2022-06-23T10:56:33.951Z] -- Install configuration: "Release" [2022-06-23T10:56:33.951Z] -- Installing: /usr/local/lib/libcsdk.so [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/edgex [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/edgex/devices.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/devsdk [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/thread.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/hash.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/typecode.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/uuid.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/logger.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/config.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/os.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/container.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/defs.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/iot.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/component.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/os [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/base64.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/time.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/data.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/include/iot/json.h [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-06-23T10:56:33.952Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-06-23T10:56:33.952Z] make: Leaving directory '/tmp/sdk/build/release' [2022-06-23T10:56:34.520Z] Removing intermediate container 092aa168686b [2022-06-23T10:56:34.520Z] ---> 9873c4c142bf [2022-06-23T10:56:34.520Z] Step 14/22 : FROM ${BASE} [2022-06-23T10:56:34.520Z] ---> 95f6e8fcc511 [2022-06-23T10:56:34.520Z] Step 15/22 : LABEL maintainer="IOTech " [2022-06-23T10:56:34.520Z] ---> Running in c84ceb85bdc0 [2022-06-23T10:56:34.520Z] Removing intermediate container c84ceb85bdc0 [2022-06-23T10:56:34.520Z] ---> 1fc88e33d045 [2022-06-23T10:56:34.520Z] 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 [2022-06-23T10:56:34.520Z] ---> Running in 67d81f3bd795 [2022-06-23T10:56:35.089Z] Connecting to iotech.jfrog.io (52.208.230.92:443) [2022-06-23T10:56:35.351Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-23T10:56:35.352Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-23T10:56:35.352Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-23T10:56:35.612Z] Removing intermediate container 67d81f3bd795 [2022-06-23T10:56:35.612Z] ---> 7c944e8616b5 [2022-06-23T10:56:35.612Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-23T10:56:35.612Z] ---> Running in 2d97d6975e87 [2022-06-23T10:56:36.181Z] Removing intermediate container 2d97d6975e87 [2022-06-23T10:56:36.181Z] ---> 330af7148f73 [2022-06-23T10:56:36.181Z] 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 [2022-06-23T10:56:36.181Z] ---> Running in 8cba42a02491 [2022-06-23T10:56:36.441Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T10:56:37.384Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T10:56:37.384Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T10:56:37.956Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-23T10:56:37.956Z] (1/6) Installing curl (7.80.0-r1) [2022-06-23T10:56:37.956Z] (2/6) Installing hiredis (1.0.2-r0) [2022-06-23T10:56:38.217Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-06-23T10:56:38.217Z] (4/6) Installing libcbor (0.8.0-r0) [2022-06-23T10:56:38.217Z] (5/6) Installing libuuid (2.37.4-r0) [2022-06-23T10:56:38.478Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-06-23T10:56:39.051Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T10:56:39.051Z] OK: 283 MiB in 83 packages [2022-06-23T10:56:39.622Z] Removing intermediate container 8cba42a02491 [2022-06-23T10:56:39.622Z] ---> 13a331db651c [2022-06-23T10:56:39.622Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-06-23T10:56:39.622Z] ---> b6ef01837c45 [2022-06-23T10:56:39.622Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-06-23T10:56:39.882Z] ---> 9c1bcf9d6d74 [2022-06-23T10:56:39.882Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-06-23T10:56:40.142Z] ---> 471dd92fbc30 [2022-06-23T10:56:40.142Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-06-23T10:56:40.142Z] ---> 9caab822e29a [2022-06-23T10:56:40.142Z] Successfully built 9caab822e29a [2022-06-23T10:56:40.142Z] 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 [2022-06-23T10:56:40.830Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T10:56:40.830Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T10:56:40.982Z] prd-ubuntu20.04-docker-8c-8g-15440 does not seem to be running inside a container [2022-06-23T10:56:41.023Z] $ 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 [2022-06-23T10:56:41.387Z] $ docker top 14fb0314d6c9fca70d3cf9beb670f683ff530e01056067057f1e0ea7988f2e61 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T10:56:41.787Z] + make test [2022-06-23T10:56:41.787Z] echo "make test" [2022-06-23T10:56:41.787Z] make test [Pipeline] } [2022-06-23T10:56:41.825Z] $ docker stop --time=1 14fb0314d6c9fca70d3cf9beb670f683ff530e01056067057f1e0ea7988f2e61 [2022-06-23T10:56:43.091Z] $ docker rm -f 14fb0314d6c9fca70d3cf9beb670f683ff530e01056067057f1e0ea7988f2e61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T10:56:43.939Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T10:56:44.249Z] + ls -al . [2022-06-23T10:56:44.249Z] total 208 [2022-06-23T10:56:44.249Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 10:55 . [2022-06-23T10:56:44.249Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:55 .. [2022-06-23T10:56:44.250Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 10:55 .git [2022-06-23T10:56:44.250Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 10:55 .github [2022-06-23T10:56:44.250Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 23 10:55 .gitignore [2022-06-23T10:56:44.250Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 10:55 .semver [2022-06-23T10:56:44.250Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jun 23 10:55 Attribution.txt [2022-06-23T10:56:44.250Z] -rw-rw-r-- 1 jenkins jenkins 8378 Jun 23 10:55 CHANGES [2022-06-23T10:56:44.250Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 23 10:55 Doxyfile [2022-06-23T10:56:44.250Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 10:55 GOVERNANCE.md [2022-06-23T10:56:44.250Z] -rw-rw-r-- 1 jenkins jenkins 784 Jun 23 10:55 Jenkinsfile [2022-06-23T10:56:44.250Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 23 10:55 LICENSE [2022-06-23T10:56:44.250Z] -rw-rw-r-- 1 jenkins jenkins 444 Jun 23 10:55 Makefile [2022-06-23T10:56:44.250Z] -rw-rw-r-- 1 jenkins jenkins 618 Jun 23 10:55 OWNERS.md [2022-06-23T10:56:44.250Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jun 23 10:55 README.md [2022-06-23T10:56:44.250Z] -rw-rw-r-- 1 jenkins jenkins 7422 Jun 23 10:55 README.v2.md [2022-06-23T10:56:44.250Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 10:55 VERSION [2022-06-23T10:56:44.250Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 10:55 docs [2022-06-23T10:56:44.250Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:55 include [2022-06-23T10:56:44.250Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 10:55 scripts [2022-06-23T10:56:44.250Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:55 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:56:44.642Z] + 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 . [2022-06-23T10:56:44.642Z] Sending build context to Docker daemon 4.609MB [2022-06-23T10:56:44.642Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-06-23T10:56:44.642Z] Step 2/17 : FROM ${BASE} [2022-06-23T10:56:44.642Z] ---> 9caab822e29a [2022-06-23T10:56:44.642Z] Step 3/17 : LABEL maintainer="IOTech " [2022-06-23T10:56:44.642Z] ---> Running in dec5f859c7bb [2022-06-23T10:56:44.901Z] Removing intermediate container dec5f859c7bb [2022-06-23T10:56:44.901Z] ---> 9a0cd99187a1 [2022-06-23T10:56:44.901Z] 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 [2022-06-23T10:56:44.901Z] ---> Running in 766cc67f0cb5 [2022-06-23T10:56:45.162Z] Connecting to iotech.jfrog.io (3.248.164.40:443) [2022-06-23T10:56:45.422Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-23T10:56:45.422Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-23T10:56:45.422Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-23T10:56:45.682Z] Removing intermediate container 766cc67f0cb5 [2022-06-23T10:56:45.682Z] ---> 66eb54bcf467 [2022-06-23T10:56:45.682Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-23T10:56:45.682Z] ---> Running in 9492b8d7a42a [2022-06-23T10:56:46.253Z] Removing intermediate container 9492b8d7a42a [2022-06-23T10:56:46.253Z] ---> b13b9882687f [2022-06-23T10:56:46.253Z] 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 [2022-06-23T10:56:46.517Z] ---> Running in d4a10adc3d0d [2022-06-23T10:56:46.778Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T10:56:47.721Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T10:56:47.721Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T10:56:48.291Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-23T10:56:48.291Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-06-23T10:56:48.291Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-06-23T10:56:48.291Z] (3/26) Installing util-linux (2.37.4-r0) [2022-06-23T10:56:48.552Z] (4/26) Installing libblkid (2.37.4-r0) [2022-06-23T10:56:48.552Z] (5/26) Installing libeconf (0.4.2-r0) [2022-06-23T10:56:48.552Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-06-23T10:56:48.811Z] (7/26) Installing libmount (2.37.4-r0) [2022-06-23T10:56:48.811Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-06-23T10:56:48.811Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-06-23T10:56:49.071Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-06-23T10:56:49.331Z] (11/26) Installing runuser (2.37.4-r0) [2022-06-23T10:56:49.331Z] (12/26) Installing hexdump (2.37.4-r0) [2022-06-23T10:56:49.331Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-06-23T10:56:49.591Z] (14/26) Installing blkid (2.37.4-r0) [2022-06-23T10:56:49.591Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-06-23T10:56:49.591Z] (16/26) Installing mcookie (2.37.4-r0) [2022-06-23T10:56:49.852Z] (17/26) Installing wipefs (2.37.4-r0) [2022-06-23T10:56:49.852Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-06-23T10:56:49.852Z] (19/26) Installing flock (2.37.4-r0) [2022-06-23T10:56:50.113Z] (20/26) Installing lsblk (2.37.4-r0) [2022-06-23T10:56:50.113Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-06-23T10:56:50.113Z] (22/26) Installing setpriv (2.37.4-r0) [2022-06-23T10:56:50.380Z] (23/26) Installing logger (2.37.4-r0) [2022-06-23T10:56:50.380Z] (24/26) Installing partx (2.37.4-r0) [2022-06-23T10:56:50.380Z] (25/26) Installing findmnt (2.37.4-r0) [2022-06-23T10:56:50.641Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-06-23T10:56:50.641Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T10:56:50.641Z] OK: 294 MiB in 109 packages [2022-06-23T10:56:51.213Z] Removing intermediate container d4a10adc3d0d [2022-06-23T10:56:51.213Z] ---> acf5de09e22c [2022-06-23T10:56:51.213Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-06-23T10:56:51.472Z] ---> aa40ca8fa9ff [2022-06-23T10:56:51.472Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-06-23T10:56:51.730Z] ---> 274c0a8da7cf [2022-06-23T10:56:51.730Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-06-23T10:56:51.730Z] ---> cd594af29033 [2022-06-23T10:56:51.730Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-06-23T10:56:51.990Z] ---> 7994726960b9 [2022-06-23T10:56:51.990Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-06-23T10:56:51.990Z] ---> 04e986ee179f [2022-06-23T10:56:51.990Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-06-23T10:56:52.250Z] ---> 804af31e96a7 [2022-06-23T10:56:52.250Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-06-23T10:56:52.250Z] ---> Running in 3a135f4a7ffd [2022-06-23T10:56:52.250Z] Removing intermediate container 3a135f4a7ffd [2022-06-23T10:56:52.250Z] ---> 2c0dd52ba206 [2022-06-23T10:56:52.250Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-06-23T10:56:52.250Z] ---> Running in 9e3ff76a94fb [2022-06-23T10:56:52.510Z] Removing intermediate container 9e3ff76a94fb [2022-06-23T10:56:52.510Z] ---> 63192470f528 [2022-06-23T10:56:52.510Z] Step 15/17 : LABEL arch=amd64 [2022-06-23T10:56:52.510Z] ---> Running in 36117f391ba8 [2022-06-23T10:56:52.510Z] Removing intermediate container 36117f391ba8 [2022-06-23T10:56:52.510Z] ---> c88673b8cc6e [2022-06-23T10:56:52.510Z] Step 16/17 : LABEL git_sha=dd93335fa5a2419811336d42df6bf0719f663889 [2022-06-23T10:56:52.510Z] ---> Running in d6703a212bb4 [2022-06-23T10:56:52.769Z] Removing intermediate container d6703a212bb4 [2022-06-23T10:56:52.769Z] ---> 0f93b09a5d3c [2022-06-23T10:56:52.769Z] Step 17/17 : LABEL version=0.0.0 [2022-06-23T10:56:52.769Z] ---> Running in ec42b228323b [2022-06-23T10:56:52.769Z] Removing intermediate container ec42b228323b [2022-06-23T10:56:52.769Z] ---> 4dc27b3a0d50 [2022-06-23T10:56:52.769Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-06-23T10:56:52.769Z] Successfully built 4dc27b3a0d50 [2022-06-23T10:56:52.769Z] 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 [2022-06-23T10:56:53.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T10:56:53.694Z] [2022-06-23T10:56:53.694Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:56:54.070Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T10:56:54.070Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-23T10:56:54.070Z] 5eb5b503b376: Pulling fs layer [2022-06-23T10:56:54.070Z] 5c69ac0246d0: Pulling fs layer [2022-06-23T10:56:54.070Z] ec43610c2a17: Pulling fs layer [2022-06-23T10:56:54.070Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-23T10:56:54.070Z] 33b1e0a273af: Pulling fs layer [2022-06-23T10:56:54.070Z] 5d3b04190fa2: Pulling fs layer [2022-06-23T10:56:54.070Z] 2f39f015ded8: Pulling fs layer [2022-06-23T10:56:54.070Z] 33b1e0a273af: Waiting [2022-06-23T10:56:54.070Z] 5d3b04190fa2: Waiting [2022-06-23T10:56:54.070Z] 2f39f015ded8: Waiting [2022-06-23T10:56:54.070Z] 5c69ac0246d0: Verifying Checksum [2022-06-23T10:56:54.070Z] 5c69ac0246d0: Download complete [2022-06-23T10:56:54.070Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-23T10:56:54.070Z] 3a2ae6a8a46f: Download complete [2022-06-23T10:56:54.070Z] 33b1e0a273af: Verifying Checksum [2022-06-23T10:56:54.070Z] 33b1e0a273af: Download complete [2022-06-23T10:56:54.070Z] 5d3b04190fa2: Verifying Checksum [2022-06-23T10:56:54.070Z] 5d3b04190fa2: Download complete [2022-06-23T10:56:54.070Z] ec43610c2a17: Verifying Checksum [2022-06-23T10:56:54.070Z] ec43610c2a17: Download complete [2022-06-23T10:56:54.334Z] 5eb5b503b376: Verifying Checksum [2022-06-23T10:56:54.334Z] 5eb5b503b376: Download complete [2022-06-23T10:56:54.902Z] 2f39f015ded8: Download complete [2022-06-23T10:56:55.470Z] 5eb5b503b376: Pull complete [2022-06-23T10:56:55.729Z] 5c69ac0246d0: Pull complete [2022-06-23T10:56:55.991Z] ec43610c2a17: Pull complete [2022-06-23T10:56:56.252Z] 3a2ae6a8a46f: Pull complete [2022-06-23T10:56:56.517Z] 33b1e0a273af: Pull complete [2022-06-23T10:56:56.517Z] 5d3b04190fa2: Pull complete [2022-06-23T10:57:00.726Z] 2f39f015ded8: Pull complete [2022-06-23T10:57:00.726Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-23T10:57:00.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T10:57:00.726Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T10:57:00.934Z] prd-ubuntu20.04-docker-8c-8g-15440 does not seem to be running inside a container [2022-06-23T10:57:00.975Z] $ 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 [2022-06-23T10:57:02.348Z] $ docker top cb94fdd16c37b960dd547cdd81ae630eaa8712ea50f23a922a6f24dadedc52f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:57:02.812Z] ---> job-cost.sh [2022-06-23T10:57:02.812Z] lf-activate-venv: SKIPPING [2022-06-23T10:57:02.812Z] INFO: No Stack... [2022-06-23T10:57:03.383Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T10:57:03.956Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T10:57:04.270Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-422/archives/cost.csv [2022-06-23T10:57:04.270Z] + cut -d, -f6 [Pipeline] lock [2022-06-23T10:57:04.311Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-422-1-stack-cost] [2022-06-23T10:57:04.316Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-422-1-stack-cost] did not exist. Created. [2022-06-23T10:57:04.316Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T10:57:04.697Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-23T10:57:04.768Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T10:57:04.783Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-422-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T10:57:04.857Z] $ docker stop --time=1 cb94fdd16c37b960dd547cdd81ae630eaa8712ea50f23a922a6f24dadedc52f2 [2022-06-23T10:57:06.011Z] $ docker rm -f cb94fdd16c37b960dd547cdd81ae630eaa8712ea50f23a922a6f24dadedc52f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-23T10:57:50.249Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15442 in /w/workspace/edgexfoundry_device-sdk-c_PR-422 [Pipeline] { [Pipeline] ws [2022-06-23T10:57:50.291Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2022-06-23T10:57:50.405Z] Selected Git installation does not exist. Using Default [2022-06-23T10:57:50.405Z] The recommended git tool is: NONE [2022-06-23T10:57:56.395Z] using credential edgex-jenkins-ssh [2022-06-23T10:57:56.412Z] Cloning the remote Git repository [2022-06-23T10:57:56.469Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-06-23T10:57:56.554Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2022-06-23T10:57:56.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-06-23T10:57:56.664Z] > git --version # timeout=10 [2022-06-23T10:57:56.682Z] > git --version # 'git version 2.25.1' [2022-06-23T10:57:56.685Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T10:57:56.760Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T10:57:57.724Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-06-23T10:57:57.743Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T10:57:57.781Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-06-23T10:57:57.867Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-06-23T10:57:57.868Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T10:57:57.903Z] > 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 [2022-06-23T10:57:58.450Z] Merging remotes/origin/main commit 165bf1afc6928f684637a03d8c76ec8e2cf51e8a into PR head commit dd93335fa5a2419811336d42df6bf0719f663889 [2022-06-23T10:57:58.703Z] Merge succeeded, producing dd93335fa5a2419811336d42df6bf0719f663889 [2022-06-23T10:57:58.704Z] Checking out Revision dd93335fa5a2419811336d42df6bf0719f663889 (PR-422) [2022-06-23T10:57:58.475Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T10:57:58.501Z] > git checkout -f dd93335fa5a2419811336d42df6bf0719f663889 # timeout=10 [2022-06-23T10:57:58.620Z] > git remote # timeout=10 [2022-06-23T10:57:58.639Z] > git config --get remote.origin.url # timeout=10 [2022-06-23T10:57:58.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T10:57:58.667Z] > git merge 165bf1afc6928f684637a03d8c76ec8e2cf51e8a # timeout=10 [2022-06-23T10:57:58.691Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-23T10:57:58.713Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T10:57:58.731Z] > git checkout -f dd93335fa5a2419811336d42df6bf0719f663889 # timeout=10 [2022-06-23T10:58:02.823Z] Commit message: "feat: use vault access tokens for consul (#335)" [2022-06-23T10:58:02.879Z] > git --version # timeout=10 [2022-06-23T10:58:02.888Z] > git --version # 'git version 2.25.1' [2022-06-23T10:58:02.899Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T10:58:04.182Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-23T10:58:04.182Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-23T10:58:04.182Z] Dload Upload Total Spent Left Speed [2022-06-23T10:58:04.182Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 92825 0 --:--:-- --:--:-- --:--:-- 93534 [Pipeline] sh [2022-06-23T10:58:04.869Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-23T10:58:05.216Z] + sudo tee /etc/docker/daemon.new [2022-06-23T10:58:05.216Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-23T10:58:05.216Z] { [2022-06-23T10:58:05.216Z] "registry-mirrors": [ [2022-06-23T10:58:05.216Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-23T10:58:05.216Z] ], [2022-06-23T10:58:05.216Z] "bip": "10.250.0.254/24", [2022-06-23T10:58:05.216Z] "hosts": [ [2022-06-23T10:58:05.216Z] "tcp://0.0.0.0:5555", [2022-06-23T10:58:05.216Z] "unix:///var/run/docker.sock" [2022-06-23T10:58:05.216Z] ], [2022-06-23T10:58:05.216Z] "mtu": 1458, [2022-06-23T10:58:05.216Z] "selinux-enabled": true, [2022-06-23T10:58:05.216Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-23T10:58:05.216Z] } [Pipeline] sh [2022-06-23T10:58:05.578Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-23T10:58:05.937Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T10:58:24.487Z] provisioning config files... [2022-06-23T10:58:24.514Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config8790898475524231159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:58:24.913Z] ---> docker-login.sh [2022-06-23T10:58:24.913Z] nexus3.edgexfoundry.org:10001 [2022-06-23T10:58:25.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:58:25.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:58:25.790Z] Configure a credential helper to remove this warning. See [2022-06-23T10:58:25.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:58:25.790Z] [2022-06-23T10:58:25.790Z] Login Succeeded [2022-06-23T10:58:25.790Z] nexus3.edgexfoundry.org:10002 [2022-06-23T10:58:26.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:58:26.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:58:26.064Z] Configure a credential helper to remove this warning. See [2022-06-23T10:58:26.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:58:26.064Z] [2022-06-23T10:58:26.064Z] Login Succeeded [2022-06-23T10:58:26.064Z] nexus3.edgexfoundry.org:10003 [2022-06-23T10:58:26.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:58:26.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:58:26.663Z] Configure a credential helper to remove this warning. See [2022-06-23T10:58:26.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:58:26.663Z] [2022-06-23T10:58:26.663Z] Login Succeeded [2022-06-23T10:58:26.663Z] nexus3.edgexfoundry.org:10004 [2022-06-23T10:58:26.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:58:26.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:58:26.940Z] Configure a credential helper to remove this warning. See [2022-06-23T10:58:26.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:58:26.940Z] [2022-06-23T10:58:27.213Z] Login Succeeded [2022-06-23T10:58:27.213Z] docker.io [2022-06-23T10:58:27.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:58:27.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:58:27.758Z] Configure a credential helper to remove this warning. See [2022-06-23T10:58:27.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:58:27.758Z] [2022-06-23T10:58:27.758Z] Login Succeeded [2022-06-23T10:58:27.758Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T10:58:27.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T10:58:28.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T10:58:28.181Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-06-23T10:58:28.219Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T10:58:28.251Z] ========================================================= [2022-06-23T10:58:28.251Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-06-23T10:58:28.251Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:58:28.705Z] + 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 . [2022-06-23T10:58:28.977Z] Sending build context to Docker daemon 2.809MB [2022-06-23T10:58:29.251Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-06-23T10:58:29.251Z] Step 2/22 : FROM ${BASE} as builder [2022-06-23T10:58:29.251Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-06-23T10:58:29.251Z] 9981e73032c8: Pulling fs layer [2022-06-23T10:58:29.251Z] 2a34a092ebf8: Pulling fs layer [2022-06-23T10:58:29.251Z] 1928f2f5eed1: Pulling fs layer [2022-06-23T10:58:29.251Z] 2a34a092ebf8: Download complete [2022-06-23T10:58:29.528Z] 9981e73032c8: Verifying Checksum [2022-06-23T10:58:29.528Z] 9981e73032c8: Download complete [2022-06-23T10:58:30.135Z] 9981e73032c8: Pull complete [2022-06-23T10:58:30.410Z] 2a34a092ebf8: Pull complete [2022-06-23T10:58:31.391Z] 1928f2f5eed1: Verifying Checksum [2022-06-23T10:58:31.391Z] 1928f2f5eed1: Download complete [2022-06-23T10:58:39.673Z] 1928f2f5eed1: Pull complete [2022-06-23T10:58:39.673Z] Digest: sha256:a37ac18e3346f1207f128df2ed5908582a11844daa8098035d7eb30aeded1086 [2022-06-23T10:58:39.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-06-23T10:58:39.673Z] ---> cad489bbaf40 [2022-06-23T10:58:39.673Z] 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 [2022-06-23T10:58:40.663Z] ---> Running in 67d2d1275556 [2022-06-23T10:58:42.111Z] Connecting to iotech.jfrog.io (52.18.78.255:443) [2022-06-23T10:58:42.387Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-23T10:58:42.387Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-23T10:58:42.387Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-23T10:58:42.988Z] Removing intermediate container 67d2d1275556 [2022-06-23T10:58:42.988Z] ---> e1bd1a79e6ce [2022-06-23T10:58:42.988Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-23T10:58:42.988Z] ---> Running in 14f674185c74 [2022-06-23T10:58:44.972Z] Removing intermediate container 14f674185c74 [2022-06-23T10:58:44.972Z] ---> b2e518c7f1d5 [2022-06-23T10:58:44.972Z] 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 [2022-06-23T10:58:44.972Z] ---> Running in 8ee95d957e6a [2022-06-23T10:58:45.568Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T10:58:46.542Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T10:58:47.137Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T10:58:47.731Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-23T10:58:47.731Z] (1/31) Installing hiredis (1.0.2-r0) [2022-06-23T10:58:48.004Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-06-23T10:58:48.004Z] (3/31) Installing libcbor (0.8.0-r0) [2022-06-23T10:58:48.004Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-06-23T10:58:48.279Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-06-23T10:58:48.279Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-06-23T10:58:49.253Z] (7/31) Installing util-linux (2.37.4-r0) [2022-06-23T10:58:49.253Z] (8/31) Installing libblkid (2.37.4-r0) [2022-06-23T10:58:49.526Z] (9/31) Installing libeconf (0.4.2-r0) [2022-06-23T10:58:49.526Z] (10/31) Installing libuuid (2.37.4-r0) [2022-06-23T10:58:49.798Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-06-23T10:58:49.798Z] (12/31) Installing libmount (2.37.4-r0) [2022-06-23T10:58:49.798Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-06-23T10:58:50.070Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-06-23T10:58:50.343Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-06-23T10:58:50.343Z] (16/31) Installing runuser (2.37.4-r0) [2022-06-23T10:58:50.616Z] (17/31) Installing hexdump (2.37.4-r0) [2022-06-23T10:58:50.616Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-06-23T10:58:50.616Z] (19/31) Installing blkid (2.37.4-r0) [2022-06-23T10:58:50.888Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-06-23T10:58:50.888Z] (21/31) Installing mcookie (2.37.4-r0) [2022-06-23T10:58:50.888Z] (22/31) Installing wipefs (2.37.4-r0) [2022-06-23T10:58:51.160Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-06-23T10:58:51.160Z] (24/31) Installing flock (2.37.4-r0) [2022-06-23T10:58:51.160Z] (25/31) Installing lsblk (2.37.4-r0) [2022-06-23T10:58:51.430Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-06-23T10:58:51.430Z] (27/31) Installing setpriv (2.37.4-r0) [2022-06-23T10:58:51.430Z] (28/31) Installing logger (2.37.4-r0) [2022-06-23T10:58:51.704Z] (29/31) Installing partx (2.37.4-r0) [2022-06-23T10:58:51.704Z] (30/31) Installing findmnt (2.37.4-r0) [2022-06-23T10:58:51.704Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-06-23T10:58:51.980Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T10:58:51.980Z] OK: 289 MiB in 108 packages [2022-06-23T10:58:53.424Z] Removing intermediate container 8ee95d957e6a [2022-06-23T10:58:53.424Z] ---> 4a5b6d24b3ee [2022-06-23T10:58:53.424Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-06-23T10:58:53.424Z] ---> Running in 32bd00d7c92f [2022-06-23T10:58:55.411Z] Removing intermediate container 32bd00d7c92f [2022-06-23T10:58:55.411Z] ---> 5c4716b55805 [2022-06-23T10:58:55.411Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-06-23T10:58:56.846Z] ---> eb0e39b04fb7 [2022-06-23T10:58:56.846Z] Step 8/22 : COPY src /tmp/sdk/src [2022-06-23T10:58:57.828Z] ---> 81bb320bf7b7 [2022-06-23T10:58:57.828Z] Step 9/22 : COPY include /tmp/sdk/include [2022-06-23T10:58:58.434Z] ---> 7535e9285985 [2022-06-23T10:58:58.434Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-06-23T10:58:58.709Z] ---> b68f4fe185ea [2022-06-23T10:58:58.709Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-06-23T10:58:59.307Z] ---> bc22c818d363 [2022-06-23T10:58:59.307Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-06-23T10:58:59.906Z] ---> 2253ce82cb01 [2022-06-23T10:58:59.906Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-06-23T10:58:59.906Z] ---> Running in 46b1db3526e5 [2022-06-23T10:59:00.895Z] + CPPCHECK=false [2022-06-23T10:59:00.895Z] + DOCGEN=false [2022-06-23T10:59:00.895Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-06-23T10:59:00.895Z] + TOMLVER=SDK-0.2 [2022-06-23T10:59:00.895Z] + CUTILVER=1.2.2 [2022-06-23T10:59:00.895Z] + '[' 0 -gt 0 ] [2022-06-23T10:59:00.895Z] + readlink -f ./scripts/build.sh [2022-06-23T10:59:00.895Z] + dirname /tmp/sdk/scripts/build.sh [2022-06-23T10:59:00.895Z] + dirname /tmp/sdk/scripts [2022-06-23T10:59:00.895Z] + ROOT=/tmp/sdk [2022-06-23T10:59:00.895Z] + cd /tmp/sdk [2022-06-23T10:59:00.895Z] + '[' '!' -d deps ] [2022-06-23T10:59:00.895Z] + mkdir deps [2022-06-23T10:59:00.895Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-06-23T10:59:00.895Z] + tar -C deps -z -x -f - [2022-06-23T10:59:00.895Z] Connecting to github.com (140.82.114.3:443) [2022-06-23T10:59:00.895Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-06-23T10:59:01.171Z] writing to stdout [2022-06-23T10:59:01.171Z] - 100% |********************************| 16451 0:00:00 ETA [2022-06-23T10:59:01.171Z] written to stdout [2022-06-23T10:59:01.171Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-06-23T10:59:01.171Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-06-23T10:59:01.171Z] + tar -C deps -z -x -f - [2022-06-23T10:59:01.171Z] Connecting to github.com (140.82.114.3:443) [2022-06-23T10:59:01.442Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-06-23T10:59:01.715Z] writing to stdout [2022-06-23T10:59:01.715Z] - 71010 --:--:-- ETA [2022-06-23T10:59:01.715Z] - 100% |********************************| 189k 0:00:00 ETA [2022-06-23T10:59:01.715Z] written to stdout [2022-06-23T10:59:01.715Z] + mkdir -p src/c/iot [2022-06-23T10:59:01.715Z] + 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 [2022-06-23T10:59:01.715Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-06-23T10:59:01.715Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-06-23T10:59:01.715Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-06-23T10:59:01.715Z] + mkdir -p include/iot [2022-06-23T10:59:01.715Z] + 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 [2022-06-23T10:59:01.715Z] + mkdir -p include/iot/os [2022-06-23T10:59:01.715Z] + 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 [2022-06-23T10:59:01.715Z] + mkdir -p /tmp/sdk/build/release [2022-06-23T10:59:01.715Z] + cd /tmp/sdk/build/release [2022-06-23T10:59:01.715Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-06-23T10:59:01.986Z] -- The C compiler identification is GNU 10.3.1 [2022-06-23T10:59:02.259Z] -- Detecting C compiler ABI info [2022-06-23T10:59:02.532Z] -- Detecting C compiler ABI info - done [2022-06-23T10:59:02.532Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-06-23T10:59:02.532Z] -- Detecting C compile features [2022-06-23T10:59:02.532Z] -- Detecting C compile features - done [2022-06-23T10:59:02.532Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-06-23T10:59:02.806Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-06-23T10:59:02.806Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-06-23T10:59:02.806Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-06-23T10:59:02.806Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-06-23T10:59:02.806Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-06-23T10:59:02.806Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-06-23T10:59:02.806Z] -- C SDK 0.0.0 for Linux [2022-06-23T10:59:02.806Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-06-23T10:59:03.092Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-06-23T10:59:03.366Z] -- Found Curses: /usr/lib/libcurses.so [2022-06-23T10:59:03.366Z] -- Configuring done [2022-06-23T10:59:03.641Z] -- Generating done [2022-06-23T10:59:03.641Z] -- Build files have been written to: /tmp/sdk/build/release [2022-06-23T10:59:03.641Z] + make all package [2022-06-23T10:59:03.641Z] + tee release.log [2022-06-23T10:59:03.917Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-06-23T10:59:04.513Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-06-23T10:59:05.109Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-06-23T10:59:07.732Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-06-23T10:59:08.708Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-06-23T10:59:08.708Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-06-23T10:59:09.682Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-06-23T10:59:10.659Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-06-23T10:59:10.659Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-06-23T10:59:12.090Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-06-23T10:59:14.700Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-06-23T10:59:14.973Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-06-23T10:59:15.949Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-06-23T10:59:16.541Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-06-23T10:59:17.135Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-06-23T10:59:17.408Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-06-23T10:59:17.681Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-06-23T10:59:21.057Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-06-23T10:59:21.057Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-06-23T10:59:21.649Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-06-23T10:59:22.242Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-06-23T10:59:22.836Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-06-23T10:59:22.836Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-06-23T10:59:22.836Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-06-23T10:59:22.836Z] 275 | const iot_component_factory_t * factory; [2022-06-23T10:59:22.836Z] | ^~~~~~~ [2022-06-23T10:59:23.809Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-06-23T10:59:29.192Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-06-23T10:59:29.192Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-06-23T10:59:29.192Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-06-23T10:59:29.788Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-06-23T10:59:30.381Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-06-23T10:59:30.653Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-06-23T10:59:32.082Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-06-23T10:59:32.356Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-06-23T10:59:33.333Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-06-23T10:59:33.608Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-06-23T10:59:33.882Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-06-23T10:59:36.512Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-06-23T10:59:37.109Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-06-23T10:59:38.085Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-06-23T10:59:38.360Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-06-23T10:59:43.750Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-06-23T10:59:44.024Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-06-23T10:59:44.297Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-06-23T10:59:44.891Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-06-23T10:59:45.164Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-06-23T10:59:45.164Z] /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] [2022-06-23T10:59:45.164Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-06-23T10:59:45.164Z] | ^~~~~~~~~~~~~ [2022-06-23T10:59:45.164Z] | | [2022-06-23T10:59:45.164Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-06-23T10:59:45.164Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-23T10:59:45.164Z] /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 *)' [2022-06-23T10:59:45.164Z] 2784 | MHD_KeyValueIterator iterator, [2022-06-23T10:59:45.164Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-06-23T10:59:45.164Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-06-23T10:59:45.164Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-23T10:59:45.164Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-06-23T10:59:45.164Z] | ^~~~~~~~~~~~ [2022-06-23T10:59:45.164Z] | | [2022-06-23T10:59:45.164Z] | 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 **)} [2022-06-23T10:59:45.164Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-23T10:59:45.164Z] /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 **)'} [2022-06-23T10:59:45.164Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-23T10:59:45.164Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-23T10:59:45.164Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-23T10:59:45.164Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-06-23T10:59:45.164Z] | ^~~~~~~~~~~~ [2022-06-23T10:59:45.164Z] | | [2022-06-23T10:59:45.164Z] | 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 **)} [2022-06-23T10:59:45.164Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-23T10:59:45.164Z] /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 **)'} [2022-06-23T10:59:45.164Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-23T10:59:45.164Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-23T10:59:46.139Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-06-23T10:59:48.752Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-06-23T10:59:49.024Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-06-23T10:59:49.618Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-06-23T10:59:50.212Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-06-23T10:59:52.822Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-06-23T10:59:57.115Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-06-23T10:59:57.708Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-06-23T10:59:58.684Z] [ 76%] Linking C shared library libcsdk.so [2022-06-23T10:59:58.684Z] [ 76%] Built target csdk [2022-06-23T10:59:58.684Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-06-23T10:59:59.659Z] [ 79%] Linking C executable template [2022-06-23T10:59:59.932Z] [ 79%] Built target template [2022-06-23T10:59:59.932Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-06-23T11:00:00.525Z] [ 82%] Linking C executable device-counter [2022-06-23T11:00:00.797Z] [ 82%] Built target device-counter [2022-06-23T11:00:00.797Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-06-23T11:00:01.390Z] [ 85%] Linking C executable device-random [2022-06-23T11:00:01.661Z] [ 85%] Built target device-random [2022-06-23T11:00:01.661Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-06-23T11:00:02.255Z] [ 88%] Linking C executable device-gyro [2022-06-23T11:00:02.526Z] [ 88%] Built target device-gyro [2022-06-23T11:00:02.527Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-06-23T11:00:03.118Z] [ 91%] Linking C executable device-bitfields [2022-06-23T11:00:03.390Z] [ 91%] Built target device-bitfields [2022-06-23T11:00:03.390Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-06-23T11:00:04.398Z] [ 94%] Linking C executable template-discovery [2022-06-23T11:00:04.690Z] [ 94%] Built target template-discovery [2022-06-23T11:00:04.690Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-06-23T11:00:05.700Z] [ 97%] Linking C executable device-file [2022-06-23T11:00:05.700Z] [ 97%] Built target device-file [2022-06-23T11:00:05.995Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-06-23T11:00:06.638Z] [100%] Linking C executable device-terminal [2022-06-23T11:00:06.924Z] [100%] Built target device-terminal [2022-06-23T11:00:06.924Z] Run CPack packaging tool... [2022-06-23T11:00:06.924Z] CPack: Create package using TGZ [2022-06-23T11:00:06.924Z] CPack: Install projects [2022-06-23T11:00:06.924Z] CPack: - Run preinstall target for: Csdk [2022-06-23T11:00:07.912Z] CPack: - Install project: Csdk [] [2022-06-23T11:00:07.912Z] CPack: Create package [2022-06-23T11:00:07.912Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-06-23T11:00:07.912Z] + '[' false '=' true ] [2022-06-23T11:00:07.912Z] + '[' false '=' true ] [2022-06-23T11:00:07.912Z] + mkdir -p /tmp/sdk/build/debug [2022-06-23T11:00:07.912Z] + cd /tmp/sdk/build/debug [2022-06-23T11:00:07.912Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-06-23T11:00:08.185Z] -- The C compiler identification is GNU 10.3.1 [2022-06-23T11:00:08.457Z] -- Detecting C compiler ABI info [2022-06-23T11:00:08.732Z] -- Detecting C compiler ABI info - done [2022-06-23T11:00:08.732Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-06-23T11:00:08.732Z] -- Detecting C compile features [2022-06-23T11:00:08.732Z] -- Detecting C compile features - done [2022-06-23T11:00:08.732Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-06-23T11:00:09.007Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-06-23T11:00:09.008Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-06-23T11:00:09.008Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-06-23T11:00:09.008Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-06-23T11:00:09.008Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-06-23T11:00:09.008Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-06-23T11:00:09.008Z] -- C SDK 0.0.0 for Linux [2022-06-23T11:00:09.008Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-06-23T11:00:09.281Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-06-23T11:00:09.554Z] -- Found Curses: /usr/lib/libcurses.so [2022-06-23T11:00:09.554Z] -- Configuring done [2022-06-23T11:00:09.829Z] -- Generating done [2022-06-23T11:00:09.829Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-06-23T11:00:09.829Z] + make [2022-06-23T11:00:09.829Z] + tee debug.log [2022-06-23T11:00:10.100Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-06-23T11:00:10.374Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-06-23T11:00:10.648Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-06-23T11:00:11.666Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-06-23T11:00:11.942Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-06-23T11:00:11.942Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-06-23T11:00:12.535Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-06-23T11:00:12.807Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-06-23T11:00:13.079Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-06-23T11:00:13.676Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-06-23T11:00:14.270Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-06-23T11:00:14.542Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-06-23T11:00:15.136Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-06-23T11:00:15.409Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-06-23T11:00:15.682Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-06-23T11:00:15.953Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-06-23T11:00:16.225Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-06-23T11:00:17.200Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-06-23T11:00:17.200Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-06-23T11:00:17.473Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-06-23T11:00:17.747Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-06-23T11:00:18.019Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-06-23T11:00:18.294Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-06-23T11:00:18.294Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-06-23T11:00:18.294Z] 275 | const iot_component_factory_t * factory; [2022-06-23T11:00:18.294Z] | ^~~~~~~ [2022-06-23T11:00:18.294Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-06-23T11:00:19.727Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-06-23T11:00:19.728Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-06-23T11:00:20.000Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-06-23T11:00:20.272Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-06-23T11:00:20.543Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-06-23T11:00:20.817Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-06-23T11:00:21.087Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-06-23T11:00:21.358Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-06-23T11:00:21.634Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-06-23T11:00:21.903Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-06-23T11:00:22.174Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-06-23T11:00:22.768Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-06-23T11:00:22.768Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-06-23T11:00:23.362Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-06-23T11:00:23.637Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-06-23T11:00:25.068Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-06-23T11:00:25.342Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-06-23T11:00:25.618Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-06-23T11:00:25.896Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-06-23T11:00:26.172Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-06-23T11:00:26.172Z] /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] [2022-06-23T11:00:26.172Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-06-23T11:00:26.172Z] | ^~~~~~~~~~~~~ [2022-06-23T11:00:26.172Z] | | [2022-06-23T11:00:26.172Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-06-23T11:00:26.172Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-23T11:00:26.172Z] /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 *)' [2022-06-23T11:00:26.172Z] 2784 | MHD_KeyValueIterator iterator, [2022-06-23T11:00:26.172Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-06-23T11:00:26.172Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-06-23T11:00:26.172Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-23T11:00:26.172Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-06-23T11:00:26.172Z] | ^~~~~~~~~~~~ [2022-06-23T11:00:26.172Z] | | [2022-06-23T11:00:26.172Z] | 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 **)} [2022-06-23T11:00:26.172Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-23T11:00:26.172Z] /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 **)'} [2022-06-23T11:00:26.172Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-23T11:00:26.172Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-23T11:00:26.172Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-23T11:00:26.172Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-06-23T11:00:26.172Z] | ^~~~~~~~~~~~ [2022-06-23T11:00:26.172Z] | | [2022-06-23T11:00:26.172Z] | 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 **)} [2022-06-23T11:00:26.172Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-23T11:00:26.172Z] /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 **)'} [2022-06-23T11:00:26.172Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-23T11:00:26.172Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-23T11:00:26.444Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-06-23T11:00:27.889Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-06-23T11:00:28.162Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-06-23T11:00:28.446Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-06-23T11:00:29.040Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-06-23T11:00:29.636Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-06-23T11:00:30.612Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-06-23T11:00:30.885Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-06-23T11:00:31.157Z] [ 76%] Linking C shared library libcsdk.so [2022-06-23T11:00:31.429Z] [ 76%] Built target csdk [2022-06-23T11:00:31.429Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-06-23T11:00:31.704Z] [ 79%] Linking C executable template [2022-06-23T11:00:31.978Z] [ 79%] Built target template [2022-06-23T11:00:32.252Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-06-23T11:00:32.525Z] [ 82%] Linking C executable device-counter [2022-06-23T11:00:32.799Z] [ 82%] Built target device-counter [2022-06-23T11:00:32.799Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-06-23T11:00:33.072Z] [ 85%] Linking C executable device-random [2022-06-23T11:00:33.343Z] [ 85%] Built target device-random [2022-06-23T11:00:33.343Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-06-23T11:00:33.616Z] [ 88%] Linking C executable device-gyro [2022-06-23T11:00:33.890Z] [ 88%] Built target device-gyro [2022-06-23T11:00:33.890Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-06-23T11:00:34.164Z] [ 91%] Linking C executable device-bitfields [2022-06-23T11:00:34.436Z] [ 91%] Built target device-bitfields [2022-06-23T11:00:34.436Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-06-23T11:00:35.033Z] [ 94%] Linking C executable template-discovery [2022-06-23T11:00:35.305Z] [ 94%] Built target template-discovery [2022-06-23T11:00:35.305Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-06-23T11:00:35.578Z] [ 97%] Linking C executable device-file [2022-06-23T11:00:35.851Z] [ 97%] Built target device-file [2022-06-23T11:00:35.851Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-06-23T11:00:36.444Z] [100%] Linking C executable device-terminal [2022-06-23T11:00:36.719Z] [100%] Built target device-terminal [2022-06-23T11:00:36.719Z] make: Entering directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.719Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.719Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.719Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.719Z] [ 76%] Built target csdk [2022-06-23T11:00:36.719Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.719Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.719Z] [ 79%] Built target template [2022-06-23T11:00:36.719Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.991Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.991Z] [ 82%] Built target device-counter [2022-06-23T11:00:36.991Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.991Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.991Z] [ 85%] Built target device-random [2022-06-23T11:00:36.991Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.991Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.991Z] [ 88%] Built target device-gyro [2022-06-23T11:00:36.991Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.991Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.991Z] [ 91%] Built target device-bitfields [2022-06-23T11:00:36.991Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.991Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.991Z] [ 94%] Built target template-discovery [2022-06-23T11:00:36.991Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T11:00:36.991Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T11:00:37.263Z] [ 97%] Built target device-file [2022-06-23T11:00:37.263Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-23T11:00:37.263Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T11:00:37.263Z] [100%] Built target device-terminal [2022-06-23T11:00:37.263Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-06-23T11:00:37.263Z] Install the project... [2022-06-23T11:00:37.263Z] -- Install configuration: "Release" [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/lib/libcsdk.so [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/devsdk [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/edgex [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/edgex/devices.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/defs.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/time.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/base64.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/component.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/config.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/container.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/uuid.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/os.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/thread.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/data.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/typecode.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/hash.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/logger.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/os [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/json.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/include/iot/iot.h [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-06-23T11:00:37.263Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-06-23T11:00:37.263Z] make: Leaving directory '/tmp/sdk/build/release' [2022-06-23T11:00:39.238Z] Removing intermediate container 46b1db3526e5 [2022-06-23T11:00:39.238Z] ---> 89bcf6a8e8b6 [2022-06-23T11:00:39.238Z] Step 14/22 : FROM ${BASE} [2022-06-23T11:00:39.238Z] ---> cad489bbaf40 [2022-06-23T11:00:39.238Z] Step 15/22 : LABEL maintainer="IOTech " [2022-06-23T11:00:39.238Z] ---> Running in 7ee57ac90451 [2022-06-23T11:00:39.511Z] Removing intermediate container 7ee57ac90451 [2022-06-23T11:00:39.511Z] ---> 1b4bc2ea56c1 [2022-06-23T11:00:39.511Z] 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 [2022-06-23T11:00:39.511Z] ---> Running in d934a9d73835 [2022-06-23T11:00:40.492Z] Connecting to iotech.jfrog.io (52.18.78.255:443) [2022-06-23T11:00:41.472Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-23T11:00:41.472Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-23T11:00:41.472Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-23T11:00:41.749Z] Removing intermediate container d934a9d73835 [2022-06-23T11:00:41.749Z] ---> 2f17b32152e3 [2022-06-23T11:00:41.749Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-23T11:00:42.040Z] ---> Running in 337047f19ed7 [2022-06-23T11:00:43.484Z] Removing intermediate container 337047f19ed7 [2022-06-23T11:00:43.484Z] ---> dfaf696c19ea [2022-06-23T11:00:43.484Z] 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 [2022-06-23T11:00:43.484Z] ---> Running in 8e91e9715d78 [2022-06-23T11:00:44.467Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T11:00:45.446Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T11:00:46.040Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T11:00:46.634Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-23T11:00:46.634Z] (1/6) Installing curl (7.80.0-r1) [2022-06-23T11:00:46.634Z] (2/6) Installing hiredis (1.0.2-r0) [2022-06-23T11:00:46.904Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-06-23T11:00:46.904Z] (4/6) Installing libcbor (0.8.0-r0) [2022-06-23T11:00:46.904Z] (5/6) Installing libuuid (2.37.4-r0) [2022-06-23T11:00:47.176Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-06-23T11:00:47.771Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T11:00:47.771Z] OK: 278 MiB in 83 packages [2022-06-23T11:00:48.747Z] Removing intermediate container 8e91e9715d78 [2022-06-23T11:00:48.747Z] ---> 305dde807ea2 [2022-06-23T11:00:48.747Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-06-23T11:00:49.341Z] ---> 49f1cf22c6c1 [2022-06-23T11:00:49.341Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-06-23T11:00:49.935Z] ---> 1099823878cc [2022-06-23T11:00:49.935Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-06-23T11:00:50.528Z] ---> 4cdc4c3ed6ee [2022-06-23T11:00:50.528Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-06-23T11:00:51.125Z] ---> 8db198c47ae4 [2022-06-23T11:00:51.125Z] Successfully built 8db198c47ae4 [2022-06-23T11:00:51.125Z] 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 [2022-06-23T11:00:51.837Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T11:00:51.837Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T11:00:52.184Z] prd-ubuntu20.04-docker-arm64-4c-16g-15442 does not seem to be running inside a container [2022-06-23T11:00:52.294Z] $ 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 [2022-06-23T11:00:53.632Z] $ docker top 8a77c45d6f7ba98d3f83786580f20079b1cf5a79810985a28edc5daa9d2dc22d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T11:00:54.666Z] + make test [2022-06-23T11:00:54.666Z] echo "make test" [2022-06-23T11:00:54.666Z] make test [Pipeline] } [2022-06-23T11:00:54.709Z] $ docker stop --time=1 8a77c45d6f7ba98d3f83786580f20079b1cf5a79810985a28edc5daa9d2dc22d [2022-06-23T11:00:56.336Z] $ docker rm -f 8a77c45d6f7ba98d3f83786580f20079b1cf5a79810985a28edc5daa9d2dc22d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T11:00:57.186Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T11:00:57.531Z] + ls -al . [2022-06-23T11:00:57.531Z] total 204 [2022-06-23T11:00:57.531Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 10:57 . [2022-06-23T11:00:57.531Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:57 .. [2022-06-23T11:00:57.531Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 10:58 .git [2022-06-23T11:00:57.531Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 10:57 .github [2022-06-23T11:00:57.531Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 23 10:57 .gitignore [2022-06-23T11:00:57.531Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jun 23 10:57 Attribution.txt [2022-06-23T11:00:57.531Z] -rw-rw-r-- 1 jenkins jenkins 8378 Jun 23 10:57 CHANGES [2022-06-23T11:00:57.531Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 23 10:57 Doxyfile [2022-06-23T11:00:57.531Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 10:57 GOVERNANCE.md [2022-06-23T11:00:57.531Z] -rw-rw-r-- 1 jenkins jenkins 784 Jun 23 10:57 Jenkinsfile [2022-06-23T11:00:57.531Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 23 10:57 LICENSE [2022-06-23T11:00:57.531Z] -rw-rw-r-- 1 jenkins jenkins 444 Jun 23 10:57 Makefile [2022-06-23T11:00:57.531Z] -rw-rw-r-- 1 jenkins jenkins 618 Jun 23 10:57 OWNERS.md [2022-06-23T11:00:57.531Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jun 23 10:57 README.md [2022-06-23T11:00:57.531Z] -rw-rw-r-- 1 jenkins jenkins 7422 Jun 23 10:57 README.v2.md [2022-06-23T11:00:57.531Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 10:55 VERSION [2022-06-23T11:00:57.531Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 10:57 docs [2022-06-23T11:00:57.531Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:57 include [2022-06-23T11:00:57.531Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 10:57 scripts [2022-06-23T11:00:57.531Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:57 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T11:00:57.965Z] + 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 . [2022-06-23T11:00:58.238Z] Sending build context to Docker daemon 2.809MB [2022-06-23T11:00:58.238Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-06-23T11:00:58.238Z] Step 2/17 : FROM ${BASE} [2022-06-23T11:00:58.238Z] ---> 8db198c47ae4 [2022-06-23T11:00:58.238Z] Step 3/17 : LABEL maintainer="IOTech " [2022-06-23T11:00:58.512Z] ---> Running in 63e6fbee8f85 [2022-06-23T11:00:58.787Z] Removing intermediate container 63e6fbee8f85 [2022-06-23T11:00:58.787Z] ---> 0a8a7941223f [2022-06-23T11:00:58.787Z] 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 [2022-06-23T11:00:58.787Z] ---> Running in ab8ec26bea3c [2022-06-23T11:00:59.778Z] Connecting to iotech.jfrog.io (52.208.230.92:443) [2022-06-23T11:01:00.052Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-23T11:01:00.052Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-23T11:01:00.052Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-23T11:01:01.046Z] Removing intermediate container ab8ec26bea3c [2022-06-23T11:01:01.046Z] ---> 7c0e58e62316 [2022-06-23T11:01:01.046Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-23T11:01:01.046Z] ---> Running in 5eec3d99bfaf [2022-06-23T11:01:02.478Z] Removing intermediate container 5eec3d99bfaf [2022-06-23T11:01:02.478Z] ---> 3d6da2099721 [2022-06-23T11:01:02.478Z] 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 [2022-06-23T11:01:02.478Z] ---> Running in 4bd20466a5ff [2022-06-23T11:01:03.455Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T11:01:04.437Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T11:01:04.710Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T11:01:05.684Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-23T11:01:05.684Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-06-23T11:01:05.684Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-06-23T11:01:05.684Z] (3/26) Installing util-linux (2.37.4-r0) [2022-06-23T11:01:05.954Z] (4/26) Installing libblkid (2.37.4-r0) [2022-06-23T11:01:05.954Z] (5/26) Installing libeconf (0.4.2-r0) [2022-06-23T11:01:05.954Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-06-23T11:01:06.224Z] (7/26) Installing libmount (2.37.4-r0) [2022-06-23T11:01:06.224Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-06-23T11:01:06.494Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-06-23T11:01:06.769Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-06-23T11:01:06.769Z] (11/26) Installing runuser (2.37.4-r0) [2022-06-23T11:01:07.040Z] (12/26) Installing hexdump (2.37.4-r0) [2022-06-23T11:01:07.040Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-06-23T11:01:07.040Z] (14/26) Installing blkid (2.37.4-r0) [2022-06-23T11:01:07.313Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-06-23T11:01:07.313Z] (16/26) Installing mcookie (2.37.4-r0) [2022-06-23T11:01:07.313Z] (17/26) Installing wipefs (2.37.4-r0) [2022-06-23T11:01:07.585Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-06-23T11:01:07.585Z] (19/26) Installing flock (2.37.4-r0) [2022-06-23T11:01:07.585Z] (20/26) Installing lsblk (2.37.4-r0) [2022-06-23T11:01:07.585Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-06-23T11:01:07.856Z] (22/26) Installing setpriv (2.37.4-r0) [2022-06-23T11:01:07.856Z] (23/26) Installing logger (2.37.4-r0) [2022-06-23T11:01:07.856Z] (24/26) Installing partx (2.37.4-r0) [2022-06-23T11:01:08.129Z] (25/26) Installing findmnt (2.37.4-r0) [2022-06-23T11:01:08.129Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-06-23T11:01:08.401Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T11:01:08.401Z] OK: 290 MiB in 109 packages [2022-06-23T11:01:09.832Z] Removing intermediate container 4bd20466a5ff [2022-06-23T11:01:09.832Z] ---> b2d5a26a0e22 [2022-06-23T11:01:09.832Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-06-23T11:01:10.427Z] ---> b58daf2e13d0 [2022-06-23T11:01:10.427Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-06-23T11:01:11.026Z] ---> f4139fa35c77 [2022-06-23T11:01:11.026Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-06-23T11:01:11.621Z] ---> 6cca41d1a3d2 [2022-06-23T11:01:11.621Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-06-23T11:01:12.217Z] ---> d0127531e7ef [2022-06-23T11:01:12.217Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-06-23T11:01:12.813Z] ---> 18c38cdc99a7 [2022-06-23T11:01:12.813Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-06-23T11:01:13.409Z] ---> f69a401fb588 [2022-06-23T11:01:13.409Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-06-23T11:01:13.409Z] ---> Running in 4da85710386b [2022-06-23T11:01:13.685Z] Removing intermediate container 4da85710386b [2022-06-23T11:01:13.685Z] ---> 9c0e8fbdeff2 [2022-06-23T11:01:13.685Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-06-23T11:01:13.685Z] ---> Running in 4ae611b5b60d [2022-06-23T11:01:13.957Z] Removing intermediate container 4ae611b5b60d [2022-06-23T11:01:13.957Z] ---> a7a6532a9e7d [2022-06-23T11:01:13.957Z] Step 15/17 : LABEL arch=arm64 [2022-06-23T11:01:14.233Z] ---> Running in 2157c8caa427 [2022-06-23T11:01:14.505Z] Removing intermediate container 2157c8caa427 [2022-06-23T11:01:14.505Z] ---> 3079079812c8 [2022-06-23T11:01:14.505Z] Step 16/17 : LABEL git_sha=dd93335fa5a2419811336d42df6bf0719f663889 [2022-06-23T11:01:14.505Z] ---> Running in 7fd4f606312a [2022-06-23T11:01:14.782Z] Removing intermediate container 7fd4f606312a [2022-06-23T11:01:14.782Z] ---> 62014fcce979 [2022-06-23T11:01:14.782Z] Step 17/17 : LABEL version=0.0.0 [2022-06-23T11:01:14.782Z] ---> Running in abea6bf1648f [2022-06-23T11:01:15.053Z] Removing intermediate container abea6bf1648f [2022-06-23T11:01:15.053Z] ---> 925344b91858 [2022-06-23T11:01:15.053Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-06-23T11:01:15.326Z] Successfully built 925344b91858 [2022-06-23T11:01:15.326Z] 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 [2022-06-23T11:01:16.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T11:01:16.139Z] [2022-06-23T11:01:16.139Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T11:01:16.575Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T11:01:16.852Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-23T11:01:16.852Z] 8998bd30e6a1: Pulling fs layer [2022-06-23T11:01:16.853Z] 04944245beec: Pulling fs layer [2022-06-23T11:01:16.853Z] 699f458cf7ca: Pulling fs layer [2022-06-23T11:01:16.853Z] 765212b225bb: Pulling fs layer [2022-06-23T11:01:16.853Z] f23df028b6ca: Pulling fs layer [2022-06-23T11:01:16.853Z] d65c8cfc05b1: Pulling fs layer [2022-06-23T11:01:16.853Z] 2437ff75d9bd: Pulling fs layer [2022-06-23T11:01:16.853Z] f23df028b6ca: Waiting [2022-06-23T11:01:16.853Z] 765212b225bb: Waiting [2022-06-23T11:01:16.853Z] d65c8cfc05b1: Waiting [2022-06-23T11:01:16.853Z] 2437ff75d9bd: Waiting [2022-06-23T11:01:16.853Z] 04944245beec: Verifying Checksum [2022-06-23T11:01:16.853Z] 04944245beec: Download complete [2022-06-23T11:01:16.853Z] 765212b225bb: Verifying Checksum [2022-06-23T11:01:16.853Z] 765212b225bb: Download complete [2022-06-23T11:01:16.853Z] f23df028b6ca: Download complete [2022-06-23T11:01:16.853Z] d65c8cfc05b1: Verifying Checksum [2022-06-23T11:01:16.853Z] d65c8cfc05b1: Download complete [2022-06-23T11:01:17.128Z] 699f458cf7ca: Verifying Checksum [2022-06-23T11:01:17.128Z] 699f458cf7ca: Download complete [2022-06-23T11:01:17.404Z] 8998bd30e6a1: Verifying Checksum [2022-06-23T11:01:17.404Z] 8998bd30e6a1: Download complete [2022-06-23T11:01:20.034Z] 2437ff75d9bd: Verifying Checksum [2022-06-23T11:01:20.034Z] 2437ff75d9bd: Download complete [2022-06-23T11:01:22.012Z] 8998bd30e6a1: Pull complete [2022-06-23T11:01:22.012Z] 04944245beec: Pull complete [2022-06-23T11:01:23.439Z] 699f458cf7ca: Pull complete [2022-06-23T11:01:23.712Z] 765212b225bb: Pull complete [2022-06-23T11:01:24.688Z] f23df028b6ca: Pull complete [2022-06-23T11:01:24.688Z] d65c8cfc05b1: Pull complete [2022-06-23T11:01:39.764Z] 2437ff75d9bd: Pull complete [2022-06-23T11:01:39.764Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-23T11:01:39.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T11:01:39.764Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T11:01:40.145Z] prd-ubuntu20.04-docker-arm64-4c-16g-15442 does not seem to be running inside a container [2022-06-23T11:01:40.225Z] $ 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 [2022-06-23T11:01:42.635Z] $ docker top c41f24972e7f67db9fab6018bebd4d5141af418e07499cc64643019494844605 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:01:43.614Z] ---> job-cost.sh [2022-06-23T11:01:43.614Z] lf-activate-venv: SKIPPING [2022-06-23T11:01:43.614Z] INFO: No Stack... [2022-06-23T11:01:43.885Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-23T11:01:44.860Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T11:01:45.534Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2022-06-23T11:01:45.534Z] + cut -d, -f6 [Pipeline] lock [2022-06-23T11:01:45.617Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-422-1-stack-cost] [2022-06-23T11:01:45.622Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-422-1-stack-cost] did not exist. Created. [2022-06-23T11:01:45.622Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T11:01:46.359Z] /w/workspace/device-sdk-c/1@tmp/durable-fcad30d6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-23T11:01:47.052Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-23T11:01:47.085Z] Warning: overwriting stash ‘stack-cost’ [2022-06-23T11:01:47.710Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T11:01:47.726Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-422-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T11:01:47.804Z] $ docker stop --time=1 c41f24972e7f67db9fab6018bebd4d5141af418e07499cc64643019494844605 [2022-06-23T11:01:49.322Z] $ 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 [2022-06-23T11:01:51.013Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-422/archives ] [2022-06-23T11:01:51.013Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-422/archives [2022-06-23T11:01:51.013Z] total 16 [2022-06-23T11:01:51.013Z] drwxr-xr-x 3 root root 4096 Jun 23 10:57 . [2022-06-23T11:01:51.013Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 10:57 .. [2022-06-23T11:01:51.013Z] drwxr-xr-x 2 root root 4096 Jun 23 10:57 cost [2022-06-23T11:01:51.013Z] -rw-r--r-- 1 root root 84 Jun 23 10:57 cost.csv [2022-06-23T11:01:51.013Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-422/archives [2022-06-23T11:01:51.013Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-422/archives [2022-06-23T11:01:51.013Z] total 16 [2022-06-23T11:01:51.013Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 10:57 . [2022-06-23T11:01:51.014Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 10:57 .. [2022-06-23T11:01:51.014Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 23 10:57 cost [2022-06-23T11:01:51.014Z] -rw-r--r-- 1 jenkins jenkins 84 Jun 23 10:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:01:51.339Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:01:52.237Z] ---> package-listing.sh [2022-06-23T11:01:52.237Z] ++ facter osfamily [2022-06-23T11:01:52.237Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-23T11:01:52.497Z] + OS_FAMILY=debian [2022-06-23T11:01:52.497Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-422 [2022-06-23T11:01:52.497Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-23T11:01:52.497Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-23T11:01:52.497Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-23T11:01:52.497Z] + PACKAGES=/tmp/packages_start.txt [2022-06-23T11:01:52.497Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-422 ']' [2022-06-23T11:01:52.497Z] + PACKAGES=/tmp/packages_end.txt [2022-06-23T11:01:52.497Z] + case "${OS_FAMILY}" in [2022-06-23T11:01:52.497Z] + dpkg -l [2022-06-23T11:01:52.497Z] + grep '^ii' [2022-06-23T11:01:52.497Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-23T11:01:52.497Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-23T11:01:52.497Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-23T11:01:52.497Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-422 ']' [2022-06-23T11:01:52.497Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-422/archives/ [2022-06-23T11:01:52.497Z] + 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 [2022-06-23T11:01:52.529Z] 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 [2022-06-23T11:01:52.822Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T11:01:53.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T11:01:53.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T11:01:53.602Z] prd-ubuntu20.04-docker-8c-8g-15440 does not seem to be running inside a container [2022-06-23T11:01:53.638Z] $ 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 [2022-06-23T11:01:53.873Z] $ docker top 668e7c9d79896e57defe62af6c20b826002ffe150d4f02a3a61504668fb7b39e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T11:01:54.291Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-23T11:01:54.603Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-23T11:01:54.915Z] + ls /var/log/sa-host [2022-06-23T11:01:54.915Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T11:01:55.095Z] provisioning config files... [2022-06-23T11:01:55.103Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-422@tmp/config7625779938859354687tmp [Pipeline] { [Pipeline] echo [2022-06-23T11:01:55.152Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:01:55.477Z] ---> create-netrc.sh [Pipeline] } [2022-06-23T11:01:55.501Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:01:55.899Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-23T11:01:55.932Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:01:56.247Z] ---> sudo-logs.sh [2022-06-23T11:01:56.247Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-23T11:01:56.328Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:01:56.645Z] ---> job-cost.sh [2022-06-23T11:01:56.645Z] lf-activate-venv: SKIPPING [2022-06-23T11:01:56.645Z] DEBUG: total: 0.2199999988079071 [2022-06-23T11:01:56.645Z] INFO: Retrieving Stack Cost... [2022-06-23T11:01:56.906Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T11:01:57.477Z] INFO: Archiving Costs [Pipeline] echo [2022-06-23T11:01:57.511Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:01:57.831Z] ---> logs-deploy.sh [2022-06-23T11:01:57.831Z] lf-activate-venv: SKIPPING [2022-06-23T11:01:57.831Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-422/1 [2022-06-23T11:01:57.831Z] INFO: archiving workspace using pattern(s): [2022-06-23T11:01:58.773Z] Archives upload complete. [2022-06-23T11:01:58.773Z] INFO: archiving logs to Nexus