Pull request #399 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 260ea64d1f6daf34a9337824e9b7fb5f9512c662+14d3a6bdd029748f665c10001c42d1af5d609c98 (332dcb891679821c8817a64b346bb65ce8a29807) 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-ssh7303348759999690526.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh623673320351623849.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-399/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-399/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14316690735017896660.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5984169243936268483.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-399/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-399/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh487834634782665422.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4997 in /w/workspace/edgexfoundry_device-sdk-c_PR-399 [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-399 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/jenkins-gitclient-ssh8463495074351173374.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 14d3a6bdd029748f665c10001c42d1af5d609c98 into PR head commit 260ea64d1f6daf34a9337824e9b7fb5f9512c662 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/jenkins-gitclient-ssh6033854350071967654.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 260ea64d1f6daf34a9337824e9b7fb5f9512c662 # timeout=10 Merge succeeded, producing 260ea64d1f6daf34a9337824e9b7fb5f9512c662 Checking out Revision 260ea64d1f6daf34a9337824e9b7fb5f9512c662 (PR-399) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/jenkins-gitclient-ssh4937028880367894297.key > git merge 14d3a6bdd029748f665c10001c42d1af5d609c98 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 260ea64d1f6daf34a9337824e9b7fb5f9512c662 # timeout=10 Commit message: "fix: Dont stringify array elements in readings Closes: #397 BREAKING CHANGE: Format of array readings is changed to match device-sdk-go. The SDK may be built to stringify array elements as was previously specified, by using the -legacyv2 flag when running scripts/build.sh" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-10T17:02:06.630Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-10T17:02:06.669Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-10T17:02:06.685Z] ========================================================= [2022-02-10T17:02:06.685Z] EdgeX Global Pipelines Version Info [2022-02-10T17:02:06.685Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 246f55d6fe08234d66b53513a81d98e74fb8f307 # timeout=10 [2022-02-10T17:02:07.851Z] ------------------- [2022-02-10T17:02:07.851Z] stable info: [2022-02-10T17:02:07.851Z] ------------------- [2022-02-10T17:02:07.851Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-10T17:02:07.851Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-10T17:02:07.851Z] Message: update stable to v1.0.220 [2022-02-10T17:02:08.425Z] ------------------- [2022-02-10T17:02:08.425Z] experimental info: [2022-02-10T17:02:08.425Z] ------------------- [2022-02-10T17:02:08.425Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-10T17:02:08.425Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-10T17:02:08.425Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-10T17:02:08.562Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-02-10T17:02:08.575Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-02-10T17:02:08.586Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-10T17:02:08.597Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-10T17:02:08.610Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-10T17:02:08.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-02-10T17:02:08.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-02-10T17:02:08.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-10T17:02:08.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-10T17:02:08.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-02-10T17:02:08.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-10T17:02:08.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-10T17:02:08.722Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-10T17:02:08.736Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-10T17:02:08.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-10T17:02:08.759Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-10T17:02:08.773Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-10T17:02:08.788Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-399 [Pipeline] echo [2022-02-10T17:02:08.798Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-399 [Pipeline] echo [2022-02-10T17:02:08.810Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-399 [Pipeline] echo [2022-02-10T17:02:08.821Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 260ea64d1f6daf34a9337824e9b7fb5f9512c662 [Pipeline] echo [2022-02-10T17:02:08.834Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 260ea64 [Pipeline] echo [2022-02-10T17:02:08.846Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T17:02:08.897Z] provisioning config files... [2022-02-10T17:02:08.912Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/config515157414909248848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:02:09.220Z] ---> docker-login.sh [2022-02-10T17:02:09.220Z] nexus3.edgexfoundry.org:10001 [2022-02-10T17:02:09.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:02:09.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:02:09.484Z] Configure a credential helper to remove this warning. See [2022-02-10T17:02:09.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:02:09.484Z] [2022-02-10T17:02:09.484Z] Login Succeeded [2022-02-10T17:02:09.484Z] nexus3.edgexfoundry.org:10002 [2022-02-10T17:02:09.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:02:09.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:02:09.484Z] Configure a credential helper to remove this warning. See [2022-02-10T17:02:09.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:02:09.484Z] [2022-02-10T17:02:09.484Z] Login Succeeded [2022-02-10T17:02:09.484Z] nexus3.edgexfoundry.org:10003 [2022-02-10T17:02:09.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:02:09.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:02:09.745Z] Configure a credential helper to remove this warning. See [2022-02-10T17:02:09.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:02:09.745Z] [2022-02-10T17:02:09.745Z] Login Succeeded [2022-02-10T17:02:09.745Z] nexus3.edgexfoundry.org:10004 [2022-02-10T17:02:09.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:02:09.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:02:09.745Z] Configure a credential helper to remove this warning. See [2022-02-10T17:02:09.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:02:09.745Z] [2022-02-10T17:02:09.745Z] Login Succeeded [2022-02-10T17:02:09.745Z] docker.io [2022-02-10T17:02:10.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:02:10.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:02:10.275Z] Configure a credential helper to remove this warning. See [2022-02-10T17:02:10.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:02:10.275Z] [2022-02-10T17:02:10.275Z] Login Succeeded [2022-02-10T17:02:10.275Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T17:02:10.284Z] 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-02-10T17:02:10.657Z] + git rev-list -1 --merges 260ea64d1f6daf34a9337824e9b7fb5f9512c662~1..260ea64d1f6daf34a9337824e9b7fb5f9512c662 [Pipeline] echo [2022-02-10T17:02:10.696Z] -----------> git rev-list -1 --merges 260ea64d1f6daf34a9337824e9b7fb5f9512c662~1..260ea64d1f6daf34a9337824e9b7fb5f9512c662 260ea64d1f6daf34a9337824e9b7fb5f9512c662 [false] [Pipeline] sh [2022-02-10T17:02:10.999Z] + git log --format=format:%s -1 260ea64d1f6daf34a9337824e9b7fb5f9512c662 [Pipeline] echo [2022-02-10T17:02:11.015Z] ========================================================= [2022-02-10T17:02:11.015Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-10T17:02:11.015Z] ========================================================= 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-02-10T17:02:11.424Z] + git rev-list -1 --merges 260ea64d1f6daf34a9337824e9b7fb5f9512c662~1..260ea64d1f6daf34a9337824e9b7fb5f9512c662 [Pipeline] echo [2022-02-10T17:02:11.436Z] -----------> git rev-list -1 --merges 260ea64d1f6daf34a9337824e9b7fb5f9512c662~1..260ea64d1f6daf34a9337824e9b7fb5f9512c662 260ea64d1f6daf34a9337824e9b7fb5f9512c662 [false] [Pipeline] sh [2022-02-10T17:02:11.732Z] + git log --format=format:%s -1 260ea64d1f6daf34a9337824e9b7fb5f9512c662 [Pipeline] echo [2022-02-10T17:02:11.754Z] ========================================================= [2022-02-10T17:02:11.754Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-10T17:02:11.754Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-02-10T17:02:12.307Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-10T17:02:12.307Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-10T17:02:12.307Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-10T17:02:12.307Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-10T17:02:12.307Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-10T17:02:12.307Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-10T17:02:12.307Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:02:12.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T17:02:12.734Z] [2022-02-10T17:02:12.734Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:02:13.048Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T17:02:13.048Z] latest: Pulling from edgex-devops/git-semver [2022-02-10T17:02:13.048Z] a0d0a0d46f8b: Pulling fs layer [2022-02-10T17:02:13.048Z] 3e5f54012d9b: Pulling fs layer [2022-02-10T17:02:13.048Z] 4c7163046ea9: Pulling fs layer [2022-02-10T17:02:13.048Z] 0c2d73faf560: Pulling fs layer [2022-02-10T17:02:13.048Z] 0c2d73faf560: Waiting [2022-02-10T17:02:13.048Z] 3e5f54012d9b: Verifying Checksum [2022-02-10T17:02:13.048Z] 3e5f54012d9b: Download complete [2022-02-10T17:02:13.048Z] a0d0a0d46f8b: Verifying Checksum [2022-02-10T17:02:13.048Z] a0d0a0d46f8b: Download complete [2022-02-10T17:02:13.048Z] 4c7163046ea9: Verifying Checksum [2022-02-10T17:02:13.048Z] 4c7163046ea9: Download complete [2022-02-10T17:02:13.048Z] 0c2d73faf560: Verifying Checksum [2022-02-10T17:02:13.048Z] 0c2d73faf560: Download complete [2022-02-10T17:02:13.316Z] a0d0a0d46f8b: Pull complete [2022-02-10T17:02:13.316Z] 3e5f54012d9b: Pull complete [2022-02-10T17:02:13.580Z] 4c7163046ea9: Pull complete [2022-02-10T17:02:13.841Z] 0c2d73faf560: Pull complete [2022-02-10T17:02:13.841Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-10T17:02:13.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T17:02:13.841Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-10T17:02:13.914Z] prd-centos7-docker-4c-2g-4997 does not seem to be running inside a container [2022-02-10T17:02:13.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-399 -v /w/workspace/edgexfoundry_device-sdk-c_PR-399:/w/workspace/edgexfoundry_device-sdk-c_PR-399:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-399@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:10004/edgex-devops/git-semver:latest cat [2022-02-10T17:02:14.620Z] $ docker top 01e7eb09b6ad9c1d3af7e24e4f3781d5b36c670f0d7cfa0ddcfdbcadbcb22d26 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-10T17:02:14.718Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-10T17:02:14.718Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-10T17:02:14.829Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-10T17:02:14.833Z] $ docker exec 01e7eb09b6ad9c1d3af7e24e4f3781d5b36c670f0d7cfa0ddcfdbcadbcb22d26 ssh-agent [2022-02-10T17:02:14.949Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdjBNGK/agent.13 [2022-02-10T17:02:14.949Z] SSH_AGENT_PID=20 [2022-02-10T17:02:14.960Z] Running ssh-add (command line suppressed) [2022-02-10T17:02:15.062Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/private_key_3666981653456448856.key (/w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/private_key_3666981653456448856.key) [2022-02-10T17:02:15.077Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-10T17:02:15.373Z] + git tag --points-at HEAD [Pipeline] } [2022-02-10T17:02:15.386Z] $ docker exec --env ******** --env ******** 01e7eb09b6ad9c1d3af7e24e4f3781d5b36c670f0d7cfa0ddcfdbcadbcb22d26 ssh-agent -k [2022-02-10T17:02:15.480Z] unset SSH_AUTH_SOCK; [2022-02-10T17:02:15.480Z] unset SSH_AGENT_PID; [2022-02-10T17:02:15.480Z] echo Agent pid 20 killed; [2022-02-10T17:02:15.492Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-10T17:02:15.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-10T17:02:15.518Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-10T17:02:15.630Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-10T17:02:15.633Z] $ docker exec 01e7eb09b6ad9c1d3af7e24e4f3781d5b36c670f0d7cfa0ddcfdbcadbcb22d26 ssh-agent [2022-02-10T17:02:15.744Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdhPFMM/agent.55 [2022-02-10T17:02:15.744Z] SSH_AGENT_PID=61 [2022-02-10T17:02:15.750Z] Running ssh-add (command line suppressed) [2022-02-10T17:02:15.850Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/private_key_5031784754870471899.key (/w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/private_key_5031784754870471899.key) [2022-02-10T17:02:15.864Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-10T17:02:16.173Z] + git semver init [2022-02-10T17:02:16.173Z] # -> Open(): unable to determine branch for HEAD [2022-02-10T17:02:16.173Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-399/.git [2022-02-10T17:02:16.173Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-399 [2022-02-10T17:02:16.173Z] # $SEMVER_REMOTE_NAME = origin [2022-02-10T17:02:16.173Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-10T17:02:16.173Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-10T17:02:16.173Z] # $SEMVER_BRANCH = PR-399 [2022-02-10T17:02:16.173Z] # $SEMVER_TEMP = /tmp/semver-507428121 [2022-02-10T17:02:16.173Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2022-02-10T17:02:17.115Z] # '/tmp/semver-507428121' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-399/.semver' [2022-02-10T17:02:17.115Z] # -> Force: false [2022-02-10T17:02:17.115Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-399/.semver [Pipeline] } [2022-02-10T17:02:17.126Z] $ docker exec --env ******** --env ******** 01e7eb09b6ad9c1d3af7e24e4f3781d5b36c670f0d7cfa0ddcfdbcadbcb22d26 ssh-agent -k [2022-02-10T17:02:17.248Z] unset SSH_AUTH_SOCK; [2022-02-10T17:02:17.248Z] unset SSH_AGENT_PID; [2022-02-10T17:02:17.248Z] echo Agent pid 61 killed; [2022-02-10T17:02:17.256Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-10T17:02:17.560Z] + git semver [Pipeline] } [2022-02-10T17:02:17.578Z] $ docker stop --time=1 01e7eb09b6ad9c1d3af7e24e4f3781d5b36c670f0d7cfa0ddcfdbcadbcb22d26 [2022-02-10T17:02:18.822Z] $ docker rm -f 01e7eb09b6ad9c1d3af7e24e4f3781d5b36c670f0d7cfa0ddcfdbcadbcb22d26 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-10T17:02:19.171Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-10T17:02:19.398Z] Stashed 1 file(s) [Pipeline] echo [2022-02-10T17:02:19.402Z] [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-02-10T17:02:19.501Z] provisioning config files... [2022-02-10T17:02:19.510Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/config577930244284783573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:02:19.813Z] ---> docker-login.sh [2022-02-10T17:02:19.813Z] nexus3.edgexfoundry.org:10001 [2022-02-10T17:02:19.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:02:19.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:02:19.813Z] Configure a credential helper to remove this warning. See [2022-02-10T17:02:19.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:02:19.813Z] [2022-02-10T17:02:19.813Z] Login Succeeded [2022-02-10T17:02:19.813Z] nexus3.edgexfoundry.org:10002 [2022-02-10T17:02:19.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:02:20.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:02:20.074Z] Configure a credential helper to remove this warning. See [2022-02-10T17:02:20.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:02:20.074Z] [2022-02-10T17:02:20.074Z] Login Succeeded [2022-02-10T17:02:20.074Z] nexus3.edgexfoundry.org:10003 [2022-02-10T17:02:20.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:02:20.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:02:20.074Z] Configure a credential helper to remove this warning. See [2022-02-10T17:02:20.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:02:20.074Z] [2022-02-10T17:02:20.074Z] Login Succeeded [2022-02-10T17:02:20.074Z] nexus3.edgexfoundry.org:10004 [2022-02-10T17:02:20.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:02:20.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:02:20.337Z] Configure a credential helper to remove this warning. See [2022-02-10T17:02:20.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:02:20.337Z] [2022-02-10T17:02:20.337Z] Login Succeeded [2022-02-10T17:02:20.337Z] docker.io [2022-02-10T17:02:20.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:02:20.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:02:20.601Z] Configure a credential helper to remove this warning. See [2022-02-10T17:02:20.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:02:20.601Z] [2022-02-10T17:02:20.601Z] Login Succeeded [2022-02-10T17:02:20.601Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T17:02:20.621Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-10T17:02:20.684Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T17:02:20.692Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-02-10T17:02:20.699Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T17:02:20.705Z] ========================================================= [2022-02-10T17:02:20.705Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-02-10T17:02:20.705Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:02:21.008Z] + 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-02-10T17:02:21.008Z] Sending build context to Docker daemon 4.509MB [2022-02-10T17:02:21.008Z] Step 1/24 : ARG BASE=alpine:3.14 [2022-02-10T17:02:21.008Z] Step 2/24 : FROM ${BASE} as builder [2022-02-10T17:02:21.008Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-02-10T17:02:21.008Z] 97518928ae5f: Pulling fs layer [2022-02-10T17:02:21.008Z] 7363053e1ea0: Pulling fs layer [2022-02-10T17:02:21.008Z] 51a0b06becb3: Pulling fs layer [2022-02-10T17:02:21.008Z] 7363053e1ea0: Verifying Checksum [2022-02-10T17:02:21.008Z] 7363053e1ea0: Download complete [2022-02-10T17:02:21.283Z] 97518928ae5f: Verifying Checksum [2022-02-10T17:02:21.283Z] 97518928ae5f: Download complete [2022-02-10T17:02:21.550Z] 97518928ae5f: Pull complete [2022-02-10T17:02:21.550Z] 7363053e1ea0: Pull complete [2022-02-10T17:02:21.550Z] 51a0b06becb3: Download complete [2022-02-10T17:02:24.894Z] 51a0b06becb3: Pull complete [2022-02-10T17:02:24.894Z] Digest: sha256:87c36446de1e177a99674a7135a8e1d07a26632dff751204c3634b3409cb465c [2022-02-10T17:02:24.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-02-10T17:02:24.894Z] ---> 621855499e4c [2022-02-10T17:02:24.894Z] Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-02-10T17:02:25.841Z] ---> Running in 888a26977fae [2022-02-10T17:02:26.102Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2022-02-10T17:02:26.671Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-10T17:02:26.671Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-10T17:02:26.671Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-10T17:02:26.932Z] Removing intermediate container 888a26977fae [2022-02-10T17:02:26.932Z] ---> cd659a6ad8b4 [2022-02-10T17:02:26.932Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-10T17:02:26.932Z] ---> Running in f04939939618 [2022-02-10T17:02:27.197Z] Removing intermediate container f04939939618 [2022-02-10T17:02:27.197Z] ---> 0c323dc0e8d6 [2022-02-10T17:02:27.197Z] Step 5/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-10T17:02:27.197Z] ---> Running in 959c80d15db2 [2022-02-10T17:02:27.460Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-10T17:02:28.406Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-10T17:02:28.668Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-10T17:02:29.240Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-10T17:02:29.240Z] (1/27) Installing hiredis (1.0.0-r0) [2022-02-10T17:02:29.240Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2022-02-10T17:02:29.503Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2022-02-10T17:02:29.503Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-10T17:02:30.445Z] (5/27) Installing libblkid (2.37.3-r0) [2022-02-10T17:02:30.707Z] (6/27) Installing blkid (2.37.3-r0) [2022-02-10T17:02:30.969Z] (7/27) Installing libcap-ng (0.8.2-r0) [2022-02-10T17:02:30.969Z] (8/27) Installing setpriv (2.37.3-r0) [2022-02-10T17:02:31.230Z] (9/27) Installing libmount (2.37.3-r0) [2022-02-10T17:02:31.231Z] (10/27) Installing libsmartcols (2.37.3-r0) [2022-02-10T17:02:31.491Z] (11/27) Installing findmnt (2.37.3-r0) [2022-02-10T17:02:31.491Z] (12/27) Installing mcookie (2.37.3-r0) [2022-02-10T17:02:31.491Z] (13/27) Installing hexdump (2.37.3-r0) [2022-02-10T17:02:31.752Z] (14/27) Installing lsblk (2.37.3-r0) [2022-02-10T17:02:31.752Z] (15/27) Installing libuuid (2.37.3-r0) [2022-02-10T17:02:31.752Z] (16/27) Installing libfdisk (2.37.3-r0) [2022-02-10T17:02:32.013Z] (17/27) Installing sfdisk (2.37.3-r0) [2022-02-10T17:02:32.275Z] (18/27) Installing cfdisk (2.37.3-r0) [2022-02-10T17:02:32.275Z] (19/27) Installing partx (2.37.3-r0) [2022-02-10T17:02:32.275Z] (20/27) Installing flock (2.37.3-r0) [2022-02-10T17:02:32.537Z] (21/27) Installing logger (2.37.3-r0) [2022-02-10T17:02:32.537Z] (22/27) Installing uuidgen (2.37.3-r0) [2022-02-10T17:02:32.537Z] (23/27) Installing libeconf (0.3.8-r1) [2022-02-10T17:02:32.797Z] (24/27) Installing util-linux (2.37.3-r0) [2022-02-10T17:02:34.183Z] (25/27) Installing util-linux-dev (2.37.3-r0) [2022-02-10T17:02:34.470Z] Still waiting to schedule task [2022-02-10T17:02:34.470Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-10T17:02:34.755Z] (26/27) Installing libidn2 (2.3.1-r0) [2022-02-10T17:02:34.755Z] (27/27) Installing wget (1.21.1-r1) [2022-02-10T17:02:35.015Z] Executing busybox-1.33.1-r6.trigger [2022-02-10T17:02:35.015Z] OK: 291 MiB in 104 packages [2022-02-10T17:02:35.600Z] Removing intermediate container 959c80d15db2 [2022-02-10T17:02:35.600Z] ---> ba83ce2579bc [2022-02-10T17:02:35.600Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2022-02-10T17:02:35.600Z] ---> Running in 49ed1ba9fed6 [2022-02-10T17:02:35.600Z] Removing intermediate container 49ed1ba9fed6 [2022-02-10T17:02:35.600Z] ---> 5a966bc77e19 [2022-02-10T17:02:35.600Z] Step 7/24 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2022-02-10T17:02:35.600Z] ---> Running in bbb52b914f46 [2022-02-10T17:02:35.861Z] --2022-02-10 17:02:35-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2022-02-10T17:02:35.861Z] Resolving github.com (github.com)... 140.82.112.4 [2022-02-10T17:02:36.121Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2022-02-10T17:02:36.121Z] HTTP request sent, awaiting response... 302 Found [2022-02-10T17:02:36.121Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2022-02-10T17:02:36.121Z] --2022-02-10 17:02:36-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2022-02-10T17:02:36.121Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2022-02-10T17:02:36.121Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2022-02-10T17:02:36.381Z] HTTP request sent, awaiting response... 200 OK [2022-02-10T17:02:36.381Z] Length: unspecified [application/x-gzip] [2022-02-10T17:02:36.381Z] Saving to: 'STDOUT' [2022-02-10T17:02:36.381Z] [2022-02-10T17:02:36.381Z] 0K .......... .......... .......... .......... .......... 1.19M [2022-02-10T17:02:36.381Z] 50K .......... .......... .......... .......... .......... 2.55M [2022-02-10T17:02:36.381Z] 100K .......... .......... .......... .......... .......... 46.8M [2022-02-10T17:02:36.381Z] 150K .......... .......... .......... .......... .......... 2.69M [2022-02-10T17:02:36.381Z] 200K .......... .......... .......... .......... .......... 13.3M [2022-02-10T17:02:36.381Z] 250K .......... .......... .......... .......... .......... 10.7M [2022-02-10T17:02:36.381Z] 300K .......... .......... .......... .......... .......... 8.66M [2022-02-10T17:02:36.381Z] 350K .......... .......... .......... .......... .......... 6.89M [2022-02-10T17:02:36.381Z] 400K .......... .......... .......... .......... .......... 17.0M [2022-02-10T17:02:36.381Z] 450K .......... .......... .......... .......... .......... 13.9M [2022-02-10T17:02:36.381Z] 500K .......... .......... .......... .......... .......... 14.2M [2022-02-10T17:02:36.381Z] 550K .......... .......... .......... .......... .......... 8.43M [2022-02-10T17:02:36.381Z] 600K .......... .......... .......... .......... .......... 3.09M [2022-02-10T17:02:36.381Z] 650K .......... .......... .......... .......... .......... 6.06M [2022-02-10T17:02:36.381Z] 700K .. 110M=0.1s [2022-02-10T17:02:36.381Z] [2022-02-10T17:02:36.381Z] 2022-02-10 17:02:36 (4.91 MB/s) - written to stdout [719348] [2022-02-10T17:02:36.381Z] [2022-02-10T17:02:36.648Z] -- The C compiler identification is GNU 10.3.1 [2022-02-10T17:02:36.648Z] -- The CXX compiler identification is GNU 10.3.1 [2022-02-10T17:02:36.648Z] -- Detecting C compiler ABI info [2022-02-10T17:02:36.648Z] -- Detecting C compiler ABI info - done [2022-02-10T17:02:36.648Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-10T17:02:36.648Z] -- Detecting C compile features [2022-02-10T17:02:36.648Z] -- Detecting C compile features - done [2022-02-10T17:02:36.648Z] -- Detecting CXX compiler ABI info [2022-02-10T17:02:36.910Z] -- Detecting CXX compiler ABI info - done [2022-02-10T17:02:36.910Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2022-02-10T17:02:36.910Z] -- Detecting CXX compile features [2022-02-10T17:02:36.910Z] -- Detecting CXX compile features - done [2022-02-10T17:02:36.910Z] -- Looking for include file endian.h [2022-02-10T17:02:36.910Z] -- Looking for include file endian.h - found [2022-02-10T17:02:36.910Z] -- Looking for sys/types.h [2022-02-10T17:02:36.910Z] -- Looking for sys/types.h - found [2022-02-10T17:02:36.910Z] -- Looking for stdint.h [2022-02-10T17:02:37.171Z] -- Looking for stdint.h - found [2022-02-10T17:02:37.171Z] -- Looking for stddef.h [2022-02-10T17:02:37.171Z] -- Looking for stddef.h - found [2022-02-10T17:02:37.171Z] -- Check size of size_t [2022-02-10T17:02:37.171Z] -- Check size of size_t - done [2022-02-10T17:02:37.171Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2022-02-10T17:02:37.171Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2022-02-10T17:02:37.171Z] asked CMake to find a package configuration file provided by "cJSON", but [2022-02-10T17:02:37.171Z] CMake did not find one. [2022-02-10T17:02:37.171Z] [2022-02-10T17:02:37.171Z] Could not find a package configuration file provided by "cJSON" with any of [2022-02-10T17:02:37.171Z] the following names: [2022-02-10T17:02:37.171Z] [2022-02-10T17:02:37.171Z] cJSONConfig.cmake [2022-02-10T17:02:37.171Z] cjson-config.cmake [2022-02-10T17:02:37.171Z] [2022-02-10T17:02:37.171Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2022-02-10T17:02:37.171Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2022-02-10T17:02:37.171Z] provides a separate development package or SDK, be sure it has been [2022-02-10T17:02:37.171Z] installed. [2022-02-10T17:02:37.171Z] [2022-02-10T17:02:37.171Z] [2022-02-10T17:02:37.171Z] -- Configuring done [2022-02-10T17:02:37.431Z] -- Generating done [2022-02-10T17:02:37.431Z] -- Build files have been written to: /tmp/cbor [2022-02-10T17:02:37.431Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2022-02-10T17:02:37.431Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2022-02-10T17:02:37.705Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2022-02-10T17:02:37.705Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2022-02-10T17:02:37.976Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2022-02-10T17:02:37.976Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2022-02-10T17:02:37.976Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2022-02-10T17:02:37.976Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2022-02-10T17:02:37.976Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2022-02-10T17:02:38.247Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2022-02-10T17:02:38.247Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2022-02-10T17:02:38.247Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2022-02-10T17:02:38.507Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2022-02-10T17:02:38.507Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2022-02-10T17:02:38.507Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2022-02-10T17:02:38.774Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2022-02-10T17:02:38.774Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2022-02-10T17:02:38.774Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2022-02-10T17:02:39.036Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2022-02-10T17:02:39.036Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2022-02-10T17:02:39.036Z] [ 40%] Linking C shared library libcbor.so [2022-02-10T17:02:39.036Z] [ 40%] Built target cbor_shared [2022-02-10T17:02:39.036Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2022-02-10T17:02:39.298Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2022-02-10T17:02:39.298Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2022-02-10T17:02:39.560Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2022-02-10T17:02:39.823Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2022-02-10T17:02:39.823Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2022-02-10T17:02:40.084Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2022-02-10T17:02:40.084Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2022-02-10T17:02:40.084Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2022-02-10T17:02:40.084Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2022-02-10T17:02:40.346Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2022-02-10T17:02:40.346Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2022-02-10T17:02:40.606Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2022-02-10T17:02:40.606Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2022-02-10T17:02:40.606Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2022-02-10T17:02:40.606Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2022-02-10T17:02:40.867Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2022-02-10T17:02:40.867Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2022-02-10T17:02:40.867Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2022-02-10T17:02:41.128Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2022-02-10T17:02:41.128Z] [ 80%] Linking C static library libcbor.a [2022-02-10T17:02:41.128Z] [ 80%] Built target cbor [2022-02-10T17:02:41.128Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2022-02-10T17:02:41.128Z] [ 84%] Linking C executable readfile [2022-02-10T17:02:41.128Z] [ 84%] Built target readfile [2022-02-10T17:02:41.128Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2022-02-10T17:02:41.388Z] [ 88%] Linking C executable create_items [2022-02-10T17:02:41.388Z] [ 88%] Built target create_items [2022-02-10T17:02:41.388Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2022-02-10T17:02:41.388Z] [ 92%] Linking C executable sort [2022-02-10T17:02:41.388Z] [ 92%] Built target sort [2022-02-10T17:02:41.388Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2022-02-10T17:02:41.388Z] [ 96%] Linking C executable hello [2022-02-10T17:02:41.388Z] [ 96%] Built target hello [2022-02-10T17:02:41.653Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2022-02-10T17:02:41.653Z] [100%] Linking C executable streaming_parser [2022-02-10T17:02:41.653Z] [100%] Built target streaming_parser [2022-02-10T17:02:41.653Z] Install the project... [2022-02-10T17:02:41.653Z] -- Install configuration: "Release" [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/configuration.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/lib/libcbor.a [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/lib/libcbor.so.0 [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/lib/libcbor.so [2022-02-10T17:02:41.653Z] -- Up-to-date: /usr/local/include/cbor [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/arrays.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/callbacks.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/common.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/data.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/encoding.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/internal [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/ints.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/maps.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/serialization.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/streaming.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/strings.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor/tags.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/include/cbor.h [2022-02-10T17:02:41.653Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2022-02-10T17:02:42.603Z] Removing intermediate container bbb52b914f46 [2022-02-10T17:02:42.603Z] ---> 51ed387a35ed [2022-02-10T17:02:42.603Z] Step 8/24 : RUN mkdir /tmp/sdk [2022-02-10T17:02:42.603Z] ---> Running in 9abd2ae5ea11 [2022-02-10T17:02:42.864Z] Removing intermediate container 9abd2ae5ea11 [2022-02-10T17:02:42.864Z] ---> 03cc59d09db0 [2022-02-10T17:02:42.864Z] Step 9/24 : COPY VERSION /tmp/sdk [2022-02-10T17:02:43.127Z] ---> e632f6179e72 [2022-02-10T17:02:43.127Z] Step 10/24 : COPY src /tmp/sdk/src [2022-02-10T17:02:43.393Z] ---> 446f3f6672fe [2022-02-10T17:02:43.393Z] Step 11/24 : COPY include /tmp/sdk/include [2022-02-10T17:02:43.656Z] ---> d03814d414d8 [2022-02-10T17:02:43.656Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2022-02-10T17:02:43.656Z] ---> cf0f307b0eec [2022-02-10T17:02:43.656Z] Step 13/24 : COPY LICENSE /tmp/sdk [2022-02-10T17:02:43.919Z] ---> 8439e77ca913 [2022-02-10T17:02:43.919Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2022-02-10T17:02:43.919Z] ---> 2fc2af2afe2c [2022-02-10T17:02:43.919Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-02-10T17:02:44.191Z] ---> Running in cc3b01d221f6 [2022-02-10T17:02:44.455Z] + CPPCHECK=false [2022-02-10T17:02:44.455Z] + DOCGEN=false [2022-02-10T17:02:44.455Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-02-10T17:02:44.455Z] + TOMLVER=SDK-0.2 [2022-02-10T17:02:44.455Z] + CUTILVER=1.2.2 [2022-02-10T17:02:44.455Z] + '[' 0 -gt 0 ] [2022-02-10T17:02:44.455Z] + readlink -f ./scripts/build.sh [2022-02-10T17:02:44.455Z] + dirname /tmp/sdk/scripts/build.sh [2022-02-10T17:02:44.455Z] + dirname /tmp/sdk/scripts [2022-02-10T17:02:44.455Z] + ROOT=/tmp/sdk [2022-02-10T17:02:44.455Z] + cd /tmp/sdk [2022-02-10T17:02:44.455Z] + '[' '!' -d deps ] [2022-02-10T17:02:44.455Z] + mkdir deps [2022-02-10T17:02:44.455Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-10T17:02:44.455Z] + tar -C deps -z -x -f - [2022-02-10T17:02:44.455Z] --2022-02-10 17:02:44-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-10T17:02:44.455Z] Resolving github.com (github.com)... 140.82.112.4 [2022-02-10T17:02:44.455Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2022-02-10T17:02:44.455Z] HTTP request sent, awaiting response... 302 Found [2022-02-10T17:02:44.455Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2022-02-10T17:02:44.455Z] --2022-02-10 17:02:44-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2022-02-10T17:02:44.455Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2022-02-10T17:02:44.455Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2022-02-10T17:02:44.718Z] HTTP request sent, awaiting response... 200 OK [2022-02-10T17:02:44.718Z] Length: unspecified [application/x-gzip] [2022-02-10T17:02:44.718Z] Saving to: 'STDOUT' [2022-02-10T17:02:44.718Z]  [2022-02-10T17:02:44.718Z] 0K .......... ......  806K=0.02s [2022-02-10T17:02:44.718Z] [2022-02-10T17:02:44.718Z] 2022-02-10 17:02:44 (806 KB/s) - written to stdout [16451] [2022-02-10T17:02:44.718Z] [2022-02-10T17:02:44.718Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-02-10T17:02:44.718Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-10T17:02:44.718Z] + tar -C deps -z -x -f - [2022-02-10T17:02:44.718Z] --2022-02-10 17:02:44-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-10T17:02:44.718Z] Resolving github.com (github.com)... 140.82.112.4 [2022-02-10T17:02:44.718Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2022-02-10T17:02:44.979Z] HTTP request sent, awaiting response... 302 Found [2022-02-10T17:02:44.979Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2022-02-10T17:02:44.979Z] --2022-02-10 17:02:44-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2022-02-10T17:02:44.979Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2022-02-10T17:02:44.979Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2022-02-10T17:02:44.979Z] HTTP request sent, awaiting response... 200 OK [2022-02-10T17:02:44.979Z] Length: unspecified [application/x-gzip] [2022-02-10T17:02:44.979Z] Saving to: 'STDOUT' [2022-02-10T17:02:44.979Z] [2022-02-10T17:02:45.242Z] 0K .......... .......... .......... .......... .......... 1.22M [2022-02-10T17:02:45.242Z] 50K .......... .......... .......... .......... .......... 2.47M [2022-02-10T17:02:45.242Z] 100K .......... .......... .......... .......... .......... 20.0M [2022-02-10T17:02:45.243Z] 150K .......... .......... .......... ......... 4.35M=0.07s [2022-02-10T17:02:45.243Z] [2022-02-10T17:02:45.243Z] 2022-02-10 17:02:45 (2.61 MB/s) - written to stdout [193961] [2022-02-10T17:02:45.243Z] [2022-02-10T17:02:45.243Z] + mkdir -p src/c/iot [2022-02-10T17:02:45.243Z] + 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-02-10T17:02:45.243Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-02-10T17:02:45.243Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-02-10T17:02:45.243Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-02-10T17:02:45.243Z] + mkdir -p include/iot [2022-02-10T17:02:45.243Z] + 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-02-10T17:02:45.243Z] + mkdir -p include/iot/os [2022-02-10T17:02:45.243Z] + 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-02-10T17:02:45.243Z] + mkdir -p /tmp/sdk/build/release [2022-02-10T17:02:45.243Z] + cd /tmp/sdk/build/release [2022-02-10T17:02:45.243Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-02-10T17:02:45.243Z] -- The C compiler identification is GNU 10.3.1 [2022-02-10T17:02:45.243Z] -- Detecting C compiler ABI info [2022-02-10T17:02:45.243Z] -- Detecting C compiler ABI info - done [2022-02-10T17:02:45.507Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-10T17:02:45.507Z] -- Detecting C compile features [2022-02-10T17:02:45.507Z] -- Detecting C compile features - done [2022-02-10T17:02:45.507Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-10T17:02:45.507Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2022-02-10T17:02:45.507Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-10T17:02:45.507Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-10T17:02:45.507Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2022-02-10T17:02:45.507Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-10T17:02:45.507Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-10T17:02:45.507Z] -- C SDK 0.0.0 for Linux [2022-02-10T17:02:45.507Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-10T17:02:45.507Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-10T17:02:45.507Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-10T17:02:45.507Z] -- Configuring done [2022-02-10T17:02:45.769Z] -- Generating done [2022-02-10T17:02:45.769Z] -- Build files have been written to: /tmp/sdk/build/release [2022-02-10T17:02:45.769Z] + make all package [2022-02-10T17:02:45.769Z] + tee release.log [2022-02-10T17:02:45.769Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-10T17:02:45.769Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-10T17:02:46.032Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-10T17:02:46.293Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-10T17:02:46.555Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-10T17:02:46.555Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-10T17:02:46.819Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-10T17:02:46.819Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-10T17:02:46.819Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-10T17:02:47.082Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-10T17:02:47.343Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-10T17:02:47.607Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-10T17:02:47.607Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-10T17:02:47.869Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-10T17:02:47.869Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-10T17:02:48.130Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-10T17:02:48.131Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-10T17:02:48.704Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-10T17:02:48.704Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-10T17:02:48.704Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-10T17:02:48.965Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-10T17:02:48.965Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-10T17:02:48.965Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-10T17:02:48.965Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-10T17:02:48.965Z] 275 | const iot_component_factory_t * factory; [2022-02-10T17:02:48.965Z] | ^~~~~~~ [2022-02-10T17:02:49.227Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-10T17:02:49.797Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-10T17:02:50.058Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-10T17:02:50.058Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-10T17:02:50.058Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-10T17:02:50.318Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-10T17:02:50.318Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-10T17:02:50.581Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-10T17:02:50.581Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-10T17:02:50.844Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-10T17:02:50.844Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-10T17:02:50.844Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-10T17:02:51.419Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-10T17:02:51.419Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-10T17:02:51.682Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-10T17:02:51.682Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-10T17:02:52.626Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-10T17:02:52.626Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-10T17:02:52.892Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-10T17:02:52.892Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-10T17:02:52.892Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-10T17:02:52.892Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-10T17:02:52.892Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-10T17:02:52.892Z] | ^~~~~~~~~~~~~ [2022-02-10T17:02:52.892Z] | | [2022-02-10T17:02:52.892Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-10T17:02:52.892Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:02:52.892Z] /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-02-10T17:02:52.892Z] 2714 | MHD_KeyValueIterator iterator, [2022-02-10T17:02:52.892Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-10T17:02:52.892Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-10T17:02:52.892Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-10T17:02:52.892Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-10T17:02:52.892Z] | ^~~~~~~~~~~~ [2022-02-10T17:02:52.892Z] | | [2022-02-10T17:02:52.892Z] | 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-02-10T17:02:52.892Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:02:52.892Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-10T17:02:52.892Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-10T17:02:52.892Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-10T17:02:52.893Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-10T17:02:52.893Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-10T17:02:52.893Z] | ^~~~~~~~~~~~ [2022-02-10T17:02:52.893Z] | | [2022-02-10T17:02:52.893Z] | 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-02-10T17:02:52.893Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:02:52.893Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-10T17:02:52.893Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-10T17:02:52.893Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-10T17:02:53.164Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-10T17:02:53.431Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-10T17:02:53.702Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-10T17:02:53.702Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-10T17:02:53.702Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-10T17:02:54.294Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-10T17:02:54.872Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-10T17:02:55.133Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-10T17:02:55.133Z] [ 76%] Linking C shared library libcsdk.so [2022-02-10T17:02:55.133Z] [ 76%] Built target csdk [2022-02-10T17:02:55.133Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-10T17:02:55.401Z] [ 79%] Linking C executable template [2022-02-10T17:02:55.401Z] [ 79%] Built target template [2022-02-10T17:02:55.401Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-10T17:02:55.663Z] [ 82%] Linking C executable device-counter [2022-02-10T17:02:55.663Z] [ 82%] Built target device-counter [2022-02-10T17:02:55.663Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-10T17:02:55.664Z] [ 85%] Linking C executable device-random [2022-02-10T17:02:55.924Z] [ 85%] Built target device-random [2022-02-10T17:02:55.924Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-10T17:02:55.924Z] [ 88%] Linking C executable device-gyro [2022-02-10T17:02:55.924Z] [ 88%] Built target device-gyro [2022-02-10T17:02:55.924Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-10T17:02:56.186Z] [ 91%] Linking C executable device-bitfields [2022-02-10T17:02:56.186Z] [ 91%] Built target device-bitfields [2022-02-10T17:02:56.186Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-10T17:02:56.450Z] [ 94%] Linking C executable template-discovery [2022-02-10T17:02:56.450Z] [ 94%] Built target template-discovery [2022-02-10T17:02:56.450Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-10T17:02:56.450Z] [ 97%] Linking C executable device-file [2022-02-10T17:02:56.450Z] [ 97%] Built target device-file [2022-02-10T17:02:56.711Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-10T17:02:56.711Z] [100%] Linking C executable device-terminal [2022-02-10T17:02:56.711Z] [100%] Built target device-terminal [2022-02-10T17:02:56.711Z] Run CPack packaging tool... [2022-02-10T17:02:56.711Z] CPack: Create package using TGZ [2022-02-10T17:02:56.711Z] CPack: Install projects [2022-02-10T17:02:56.711Z] CPack: - Run preinstall target for: Csdk [2022-02-10T17:02:56.971Z] CPack: - Install project: Csdk [] [2022-02-10T17:02:56.971Z] CPack: Create package [2022-02-10T17:02:56.971Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-02-10T17:02:56.971Z] + '[' false '=' true ] [2022-02-10T17:02:56.971Z] + '[' false '=' true ] [2022-02-10T17:02:56.971Z] + mkdir -p /tmp/sdk/build/debug [2022-02-10T17:02:56.971Z] + cd /tmp/sdk/build/debug [2022-02-10T17:02:56.971Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-02-10T17:02:56.971Z] -- The C compiler identification is GNU 10.3.1 [2022-02-10T17:02:56.971Z] -- Detecting C compiler ABI info [2022-02-10T17:02:57.232Z] -- Detecting C compiler ABI info - done [2022-02-10T17:02:57.232Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-10T17:02:57.232Z] -- Detecting C compile features [2022-02-10T17:02:57.232Z] -- Detecting C compile features - done [2022-02-10T17:02:57.232Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-10T17:02:57.232Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2022-02-10T17:02:57.232Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-10T17:02:57.232Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-10T17:02:57.232Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2022-02-10T17:02:57.232Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-10T17:02:57.232Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-10T17:02:57.232Z] -- C SDK 0.0.0 for Linux [2022-02-10T17:02:57.232Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-10T17:02:57.232Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-10T17:02:57.232Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-10T17:02:57.232Z] -- Configuring done [2022-02-10T17:02:57.492Z] -- Generating done [2022-02-10T17:02:57.492Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-02-10T17:02:57.492Z] + make [2022-02-10T17:02:57.492Z] + tee debug.log [2022-02-10T17:02:57.492Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-10T17:02:57.492Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-10T17:02:57.492Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-10T17:02:57.754Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-10T17:02:57.754Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-10T17:02:57.754Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-10T17:02:58.016Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-10T17:02:58.016Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-10T17:02:58.016Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-10T17:02:58.016Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-10T17:02:58.281Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-10T17:02:58.281Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-10T17:02:58.281Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-10T17:02:58.541Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-10T17:02:58.541Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-10T17:02:58.541Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-10T17:02:58.541Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-10T17:02:58.802Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-10T17:02:58.802Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-10T17:02:59.069Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-10T17:02:59.069Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-10T17:02:59.069Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-10T17:02:59.069Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-10T17:02:59.069Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-10T17:02:59.069Z] 275 | const iot_component_factory_t * factory; [2022-02-10T17:02:59.069Z] | ^~~~~~~ [2022-02-10T17:02:59.069Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-10T17:02:59.342Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-10T17:02:59.605Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-10T17:02:59.605Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-10T17:02:59.605Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-10T17:02:59.605Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-10T17:02:59.605Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-10T17:02:59.866Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-10T17:02:59.866Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-10T17:02:59.866Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-10T17:02:59.866Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-10T17:03:00.130Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-10T17:03:00.130Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-10T17:03:00.130Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-10T17:03:00.402Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-10T17:03:00.402Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-10T17:03:00.668Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-10T17:03:00.668Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-10T17:03:00.668Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-10T17:03:00.936Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-10T17:03:00.936Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-10T17:03:00.936Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-10T17:03:00.936Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-10T17:03:00.936Z] | ^~~~~~~~~~~~~ [2022-02-10T17:03:00.936Z] | | [2022-02-10T17:03:00.936Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-10T17:03:00.936Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:03:00.936Z] /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-02-10T17:03:00.936Z] 2714 | MHD_KeyValueIterator iterator, [2022-02-10T17:03:00.936Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-10T17:03:00.936Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-10T17:03:00.936Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-10T17:03:00.936Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-10T17:03:00.936Z] | ^~~~~~~~~~~~ [2022-02-10T17:03:00.936Z] | | [2022-02-10T17:03:00.936Z] | 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-02-10T17:03:00.936Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:03:00.936Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-10T17:03:00.936Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-10T17:03:00.936Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-10T17:03:00.936Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-10T17:03:00.936Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-10T17:03:00.936Z] | ^~~~~~~~~~~~ [2022-02-10T17:03:00.936Z] | | [2022-02-10T17:03:00.936Z] | 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-02-10T17:03:00.936Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:03:00.936Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-10T17:03:00.936Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-10T17:03:00.936Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-10T17:03:00.936Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-10T17:03:01.205Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-10T17:03:01.205Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-10T17:03:01.205Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-10T17:03:01.469Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-10T17:03:01.469Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-10T17:03:01.734Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-10T17:03:01.734Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-10T17:03:01.998Z] [ 76%] Linking C shared library libcsdk.so [2022-02-10T17:03:01.998Z] [ 76%] Built target csdk [2022-02-10T17:03:01.998Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-10T17:03:01.998Z] [ 79%] Linking C executable template [2022-02-10T17:03:01.998Z] [ 79%] Built target template [2022-02-10T17:03:01.998Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-10T17:03:02.259Z] [ 82%] Linking C executable device-counter [2022-02-10T17:03:02.259Z] [ 82%] Built target device-counter [2022-02-10T17:03:02.259Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-10T17:03:02.259Z] [ 85%] Linking C executable device-random [2022-02-10T17:03:02.259Z] [ 85%] Built target device-random [2022-02-10T17:03:02.529Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-10T17:03:02.529Z] [ 88%] Linking C executable device-gyro [2022-02-10T17:03:02.529Z] [ 88%] Built target device-gyro [2022-02-10T17:03:02.529Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-10T17:03:02.529Z] [ 91%] Linking C executable device-bitfields [2022-02-10T17:03:02.790Z] [ 91%] Built target device-bitfields [2022-02-10T17:03:02.790Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-10T17:03:02.790Z] [ 94%] Linking C executable template-discovery [2022-02-10T17:03:02.791Z] [ 94%] Built target template-discovery [2022-02-10T17:03:02.791Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-10T17:03:02.791Z] [ 97%] Linking C executable device-file [2022-02-10T17:03:03.056Z] [ 97%] Built target device-file [2022-02-10T17:03:03.056Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-10T17:03:03.056Z] [100%] Linking C executable device-terminal [2022-02-10T17:03:03.056Z] [100%] Built target device-terminal [2022-02-10T17:03:03.056Z] make: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.056Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.056Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] [ 76%] Built target csdk [2022-02-10T17:03:03.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] [ 79%] Built target template [2022-02-10T17:03:03.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] [ 82%] Built target device-counter [2022-02-10T17:03:03.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] [ 85%] Built target device-random [2022-02-10T17:03:03.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] [ 88%] Built target device-gyro [2022-02-10T17:03:03.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] [ 91%] Built target device-bitfields [2022-02-10T17:03:03.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] [ 94%] Built target template-discovery [2022-02-10T17:03:03.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] [ 97%] Built target device-file [2022-02-10T17:03:03.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] [100%] Built target device-terminal [2022-02-10T17:03:03.321Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:03:03.321Z] Install the project... [2022-02-10T17:03:03.321Z] -- Install configuration: "Release" [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/lib/libcsdk.so [2022-02-10T17:03:03.321Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2022-02-10T17:03:03.321Z] -- Up-to-date: /usr/local/include [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/devsdk [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/edgex [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/edgex/devices.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/base64.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/component.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/config.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/container.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/data.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/hash.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/iot.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/json.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/logger.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/os.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/thread.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/time.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/typecode.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/uuid.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/os [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/include/iot/defs.h [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-02-10T17:03:03.321Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-02-10T17:03:03.321Z] make: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:03:04.271Z] Removing intermediate container cc3b01d221f6 [2022-02-10T17:03:04.271Z] ---> 35c1f3d30fd4 [2022-02-10T17:03:04.271Z] Step 16/24 : FROM ${BASE} [2022-02-10T17:03:04.271Z] ---> 621855499e4c [2022-02-10T17:03:04.271Z] Step 17/24 : LABEL maintainer="IOTech " [2022-02-10T17:03:04.271Z] ---> Running in 96b88837017e [2022-02-10T17:03:04.271Z] Removing intermediate container 96b88837017e [2022-02-10T17:03:04.271Z] ---> a1a653c427c8 [2022-02-10T17:03:04.271Z] Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-02-10T17:03:04.271Z] ---> Running in dbec449ca4c8 [2022-02-10T17:03:04.536Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2022-02-10T17:03:04.797Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-10T17:03:04.797Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-10T17:03:04.797Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-10T17:03:05.063Z] Removing intermediate container dbec449ca4c8 [2022-02-10T17:03:05.063Z] ---> dddcb3088391 [2022-02-10T17:03:05.063Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-10T17:03:05.063Z] ---> Running in 4e96c0b4235d [2022-02-10T17:03:05.638Z] Removing intermediate container 4e96c0b4235d [2022-02-10T17:03:05.638Z] ---> 698846a5a0a0 [2022-02-10T17:03:05.638Z] Step 20/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-10T17:03:05.638Z] ---> Running in 7982b311f086 [2022-02-10T17:03:05.903Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-10T17:03:09.200Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-10T17:03:09.771Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-10T17:03:10.031Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-10T17:03:10.031Z] (1/7) Installing curl (7.79.1-r0) [2022-02-10T17:03:10.293Z] (2/7) Installing hiredis (1.0.0-r0) [2022-02-10T17:03:10.554Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2022-02-10T17:03:10.815Z] (4/7) Installing libuuid (2.37.3-r0) [2022-02-10T17:03:11.076Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-10T17:03:12.019Z] (6/7) Installing libidn2 (2.3.1-r0) [2022-02-10T17:03:12.279Z] (7/7) Installing wget (1.21.1-r1) [2022-02-10T17:03:12.550Z] Executing busybox-1.33.1-r6.trigger [2022-02-10T17:03:12.550Z] OK: 281 MiB in 84 packages [2022-02-10T17:03:12.813Z] Removing intermediate container 7982b311f086 [2022-02-10T17:03:12.813Z] ---> 62444ad6d79d [2022-02-10T17:03:12.813Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-02-10T17:03:13.076Z] ---> 06228fd70a73 [2022-02-10T17:03:13.076Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-02-10T17:03:13.076Z] ---> 409fb7e26b60 [2022-02-10T17:03:13.076Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-02-10T17:03:13.335Z] ---> e2afbe2d038c [2022-02-10T17:03:13.335Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-02-10T17:03:13.595Z] ---> 1c58d903f877 [2022-02-10T17:03:13.595Z] Successfully built 1c58d903f877 [2022-02-10T17:03:13.595Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:03:13.966Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-10T17:03:13.966Z] . [Pipeline] withDockerContainer [2022-02-10T17:03:14.044Z] prd-centos7-docker-4c-2g-4997 does not seem to be running inside a container [2022-02-10T17:03:14.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-399 -v /w/workspace/edgexfoundry_device-sdk-c_PR-399:/w/workspace/edgexfoundry_device-sdk-c_PR-399:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-02-10T17:03:14.460Z] $ docker top 3cd66b85936a286521bec5ded006fe4bc793c0fb47f37ef4819cdc3346b9d3bd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-10T17:03:14.826Z] + make test [2022-02-10T17:03:14.826Z] echo "make test" [2022-02-10T17:03:14.826Z] make test [Pipeline] } [2022-02-10T17:03:14.838Z] $ docker stop --time=1 3cd66b85936a286521bec5ded006fe4bc793c0fb47f37ef4819cdc3346b9d3bd [2022-02-10T17:03:16.041Z] $ docker rm -f 3cd66b85936a286521bec5ded006fe4bc793c0fb47f37ef4819cdc3346b9d3bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-10T17:03:17.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-10T17:03:17.489Z] + ls -al . [2022-02-10T17:03:17.490Z] total 172 [2022-02-10T17:03:17.490Z] drwxrwxr-x. 9 jenkins jenkins 4096 Feb 10 17:02 . [2022-02-10T17:03:17.490Z] drwxrwxr-x. 4 jenkins jenkins 112 Feb 10 17:02 .. [2022-02-10T17:03:17.490Z] -rw-rw-r--. 1 jenkins jenkins 3104 Feb 10 17:02 Attribution.txt [2022-02-10T17:03:17.490Z] -rw-rw-r--. 1 jenkins jenkins 8183 Feb 10 17:02 CHANGES [2022-02-10T17:03:17.490Z] drwxrwxr-x. 2 jenkins jenkins 121 Feb 10 17:02 docs [2022-02-10T17:03:17.490Z] -rw-rw-r--. 1 jenkins jenkins 108574 Feb 10 17:02 Doxyfile [2022-02-10T17:03:17.490Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 10 17:02 .git [2022-02-10T17:03:17.490Z] drwxrwxr-x. 3 jenkins jenkins 103 Feb 10 17:02 .github [2022-02-10T17:03:17.490Z] -rw-rw-r--. 1 jenkins jenkins 176 Feb 10 17:02 .gitignore [2022-02-10T17:03:17.490Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 10 17:02 GOVERNANCE.md [2022-02-10T17:03:17.490Z] drwxrwxr-x. 4 jenkins jenkins 33 Feb 10 17:02 include [2022-02-10T17:03:17.490Z] -rw-rw-r--. 1 jenkins jenkins 784 Feb 10 17:02 Jenkinsfile [2022-02-10T17:03:17.490Z] -rw-rw-r--. 1 jenkins jenkins 10174 Feb 10 17:02 LICENSE [2022-02-10T17:03:17.490Z] -rw-rw-r--. 1 jenkins jenkins 444 Feb 10 17:02 Makefile [2022-02-10T17:03:17.490Z] -rw-rw-r--. 1 jenkins jenkins 618 Feb 10 17:02 OWNERS.md [2022-02-10T17:03:17.490Z] -rw-rw-r--. 1 jenkins jenkins 4086 Feb 10 17:02 README.md [2022-02-10T17:03:17.490Z] -rw-rw-r--. 1 jenkins jenkins 7422 Feb 10 17:02 README.v2.md [2022-02-10T17:03:17.490Z] drwxrwxr-x. 2 jenkins jenkins 98 Feb 10 17:02 scripts [2022-02-10T17:03:17.490Z] drwx------. 3 jenkins jenkins 85 Feb 10 17:02 .semver [2022-02-10T17:03:17.490Z] drwxrwxr-x. 4 jenkins jenkins 50 Feb 10 17:02 src [2022-02-10T17:03:17.490Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 10 17:02 VERSION [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:03:17.798Z] + 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=260ea64d1f6daf34a9337824e9b7fb5f9512c662 --label arch=amd64 --label version=0.0.0 . [2022-02-10T17:03:17.798Z] Sending build context to Docker daemon 4.509MB [2022-02-10T17:03:17.798Z] Step 1/17 : ARG BASE=alpine:3.14 [2022-02-10T17:03:17.798Z] Step 2/17 : FROM ${BASE} [2022-02-10T17:03:17.798Z] ---> 1c58d903f877 [2022-02-10T17:03:17.798Z] Step 3/17 : LABEL maintainer="IOTech " [2022-02-10T17:03:17.798Z] ---> Running in 745525e84679 [2022-02-10T17:03:18.060Z] Removing intermediate container 745525e84679 [2022-02-10T17:03:18.060Z] ---> 19b58c2b6e2c [2022-02-10T17:03:18.060Z] 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-02-10T17:03:18.060Z] ---> Running in bc6488aa2e76 [2022-02-10T17:03:18.321Z] --2022-02-10 17:03:18-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2022-02-10T17:03:18.321Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.170.66.44, 34.243.182.113, ... [2022-02-10T17:03:18.321Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2022-02-10T17:03:18.584Z] HTTP request sent, awaiting response... 200 OK [2022-02-10T17:03:18.584Z] Length: unspecified [application/json] [2022-02-10T17:03:18.584Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-10T17:03:18.584Z]  [2022-02-10T17:03:18.584Z] 0K  173M=0s [2022-02-10T17:03:18.584Z] [2022-02-10T17:03:18.584Z] 2022-02-10 17:03:18 (173 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2022-02-10T17:03:18.584Z] [2022-02-10T17:03:18.845Z] Removing intermediate container bc6488aa2e76 [2022-02-10T17:03:18.845Z] ---> 34261b117ba2 [2022-02-10T17:03:18.845Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-10T17:03:18.845Z] ---> Running in d4f9d072ad1e [2022-02-10T17:03:19.437Z] Removing intermediate container d4f9d072ad1e [2022-02-10T17:03:19.437Z] ---> c58fd1b3cace [2022-02-10T17:03:19.437Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2022-02-10T17:03:19.437Z] ---> Running in 609724d1242e [2022-02-10T17:03:19.698Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-10T17:03:20.642Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-10T17:03:21.582Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-10T17:03:21.843Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-10T17:03:21.843Z] (1/21) Installing ncurses-dev (6.2_p20210612-r0) [2022-02-10T17:03:22.104Z] (2/21) Installing libblkid (2.37.3-r0) [2022-02-10T17:03:22.366Z] (3/21) Installing blkid (2.37.3-r0) [2022-02-10T17:03:22.366Z] (4/21) Installing libcap-ng (0.8.2-r0) [2022-02-10T17:03:22.366Z] (5/21) Installing setpriv (2.37.3-r0) [2022-02-10T17:03:22.626Z] (6/21) Installing libmount (2.37.3-r0) [2022-02-10T17:03:22.887Z] (7/21) Installing libsmartcols (2.37.3-r0) [2022-02-10T17:03:23.149Z] (8/21) Installing findmnt (2.37.3-r0) [2022-02-10T17:03:23.149Z] (9/21) Installing mcookie (2.37.3-r0) [2022-02-10T17:03:23.412Z] (10/21) Installing hexdump (2.37.3-r0) [2022-02-10T17:03:23.412Z] (11/21) Installing lsblk (2.37.3-r0) [2022-02-10T17:03:23.673Z] (12/21) Installing libfdisk (2.37.3-r0) [2022-02-10T17:03:23.934Z] (13/21) Installing sfdisk (2.37.3-r0) [2022-02-10T17:03:23.934Z] (14/21) Installing cfdisk (2.37.3-r0) [2022-02-10T17:03:23.934Z] (15/21) Installing partx (2.37.3-r0) [2022-02-10T17:03:24.194Z] (16/21) Installing flock (2.37.3-r0) [2022-02-10T17:03:24.194Z] (17/21) Installing logger (2.37.3-r0) [2022-02-10T17:03:24.194Z] (18/21) Installing uuidgen (2.37.3-r0) [2022-02-10T17:03:24.454Z] (19/21) Installing libeconf (0.3.8-r1) [2022-02-10T17:03:24.454Z] (20/21) Installing util-linux (2.37.3-r0) [2022-02-10T17:03:25.841Z] (21/21) Installing util-linux-dev (2.37.3-r0) [2022-02-10T17:03:26.784Z] Executing busybox-1.33.1-r6.trigger [2022-02-10T17:03:26.784Z] OK: 291 MiB in 105 packages [2022-02-10T17:03:27.047Z] Removing intermediate container 609724d1242e [2022-02-10T17:03:27.047Z] ---> 26ff2fef62a7 [2022-02-10T17:03:27.047Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-02-10T17:03:27.310Z] ---> 994b06a9e719 [2022-02-10T17:03:27.310Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-02-10T17:03:27.571Z] ---> 65b0f7789120 [2022-02-10T17:03:27.571Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-02-10T17:03:27.571Z] ---> 3aa2457eb001 [2022-02-10T17:03:27.571Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-02-10T17:03:27.833Z] ---> 8a488090adb5 [2022-02-10T17:03:27.833Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-02-10T17:03:28.093Z] ---> e9e5df301373 [2022-02-10T17:03:28.093Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-02-10T17:03:28.093Z] ---> 2743b3ce0587 [2022-02-10T17:03:28.093Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-02-10T17:03:28.093Z] ---> Running in 2c6f55c6529f [2022-02-10T17:03:28.355Z] Removing intermediate container 2c6f55c6529f [2022-02-10T17:03:28.355Z] ---> 65e61ab0262f [2022-02-10T17:03:28.355Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-02-10T17:03:28.355Z] ---> Running in e3ec9bdc4dc6 [2022-02-10T17:03:28.355Z] Removing intermediate container e3ec9bdc4dc6 [2022-02-10T17:03:28.355Z] ---> 2b4e44914def [2022-02-10T17:03:28.355Z] Step 15/17 : LABEL arch=amd64 [2022-02-10T17:03:28.355Z] ---> Running in d81ed24e3e0a [2022-02-10T17:03:28.619Z] Removing intermediate container d81ed24e3e0a [2022-02-10T17:03:28.619Z] ---> d80d2a4e6bca [2022-02-10T17:03:28.619Z] Step 16/17 : LABEL git_sha=260ea64d1f6daf34a9337824e9b7fb5f9512c662 [2022-02-10T17:03:28.619Z] ---> Running in 973bd4bc6891 [2022-02-10T17:03:28.619Z] Removing intermediate container 973bd4bc6891 [2022-02-10T17:03:28.619Z] ---> caf38e8e4d90 [2022-02-10T17:03:28.619Z] Step 17/17 : LABEL version=0.0.0 [2022-02-10T17:03:28.619Z] ---> Running in 40e0d6b0e538 [2022-02-10T17:03:28.619Z] Removing intermediate container 40e0d6b0e538 [2022-02-10T17:03:28.619Z] ---> 946ca4aa3d6a [2022-02-10T17:03:28.619Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-02-10T17:03:28.619Z] Successfully built 946ca4aa3d6a [2022-02-10T17:03:28.619Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:03:29.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T17:03:29.059Z] [2022-02-10T17:03:29.059Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:03:29.375Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T17:03:29.375Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-10T17:03:29.375Z] b4d181a07f80: Pulling fs layer [2022-02-10T17:03:29.375Z] a1111a8f2ec3: Pulling fs layer [2022-02-10T17:03:29.375Z] ed53099fbce6: Pulling fs layer [2022-02-10T17:03:29.375Z] dc539afda2c1: Pulling fs layer [2022-02-10T17:03:29.375Z] 77bc0d833cb6: Pulling fs layer [2022-02-10T17:03:29.375Z] 9065ff56babe: Pulling fs layer [2022-02-10T17:03:29.375Z] d287ab97295c: Pulling fs layer [2022-02-10T17:03:29.375Z] 77bc0d833cb6: Waiting [2022-02-10T17:03:29.375Z] 9065ff56babe: Waiting [2022-02-10T17:03:29.375Z] d287ab97295c: Waiting [2022-02-10T17:03:29.375Z] dc539afda2c1: Waiting [2022-02-10T17:03:29.375Z] a1111a8f2ec3: Verifying Checksum [2022-02-10T17:03:29.375Z] a1111a8f2ec3: Download complete [2022-02-10T17:03:29.375Z] dc539afda2c1: Verifying Checksum [2022-02-10T17:03:29.375Z] dc539afda2c1: Download complete [2022-02-10T17:03:29.647Z] 77bc0d833cb6: Verifying Checksum [2022-02-10T17:03:29.647Z] 77bc0d833cb6: Download complete [2022-02-10T17:03:29.647Z] ed53099fbce6: Verifying Checksum [2022-02-10T17:03:29.647Z] ed53099fbce6: Download complete [2022-02-10T17:03:29.647Z] 9065ff56babe: Verifying Checksum [2022-02-10T17:03:29.647Z] 9065ff56babe: Download complete [2022-02-10T17:03:29.647Z] b4d181a07f80: Verifying Checksum [2022-02-10T17:03:29.647Z] b4d181a07f80: Download complete [2022-02-10T17:03:30.221Z] d287ab97295c: Verifying Checksum [2022-02-10T17:03:30.221Z] d287ab97295c: Download complete [2022-02-10T17:03:31.170Z] b4d181a07f80: Pull complete [2022-02-10T17:03:31.430Z] a1111a8f2ec3: Pull complete [2022-02-10T17:03:32.012Z] ed53099fbce6: Pull complete [2022-02-10T17:03:32.012Z] dc539afda2c1: Pull complete [2022-02-10T17:03:32.275Z] 77bc0d833cb6: Pull complete [2022-02-10T17:03:32.276Z] 9065ff56babe: Pull complete [2022-02-10T17:03:37.610Z] d287ab97295c: Pull complete [2022-02-10T17:03:37.610Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-10T17:03:37.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T17:03:37.610Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-10T17:03:37.682Z] prd-centos7-docker-4c-2g-4997 does not seem to be running inside a container [2022-02-10T17:03:37.718Z] $ 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-399 -v /w/workspace/edgexfoundry_device-sdk-c_PR-399:/w/workspace/edgexfoundry_device-sdk-c_PR-399:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-10T17:03:40.301Z] $ docker top 956ad41374905e15cd4546838f9bab6ef150271c4c143dfc3e6304290da75a6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:03:40.742Z] ---> job-cost.sh [2022-02-10T17:03:40.742Z] lf-activate-venv: SKIPPING [2022-02-10T17:03:40.742Z] INFO: No Stack... [2022-02-10T17:03:41.005Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-10T17:03:41.576Z] INFO: Archiving Costs [Pipeline] sh [2022-02-10T17:03:41.873Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-399/archives/cost.csv [2022-02-10T17:03:41.873Z] + cut -d, -f6 [Pipeline] lock [2022-02-10T17:03:41.900Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-399-2-stack-cost] [2022-02-10T17:03:41.906Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-399-2-stack-cost] did not exist. Created. [2022-02-10T17:03:41.906Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-399-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-10T17:03:42.214Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-10T17:03:42.257Z] Stashed 1 file(s) [Pipeline] } [2022-02-10T17:03:42.264Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-399-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-10T17:03:42.280Z] $ docker stop --time=1 956ad41374905e15cd4546838f9bab6ef150271c4c143dfc3e6304290da75a6e [2022-02-10T17:03:43.420Z] $ docker rm -f 956ad41374905e15cd4546838f9bab6ef150271c4c143dfc3e6304290da75a6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-10T17:03:55.674Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4998 in /w/workspace/edgexfoundry_device-sdk-c_PR-399 [Pipeline] { [Pipeline] ws [2022-02-10T17:03:55.685Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2022-02-10T17:03:55.891Z] Selected Git installation does not exist. Using Default [2022-02-10T17:03:55.891Z] The recommended git tool is: NONE [2022-02-10T17:04:00.544Z] using credential edgex-jenkins-ssh [2022-02-10T17:04:00.570Z] Cloning the remote Git repository [2022-02-10T17:04:00.627Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-02-10T17:04:00.703Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2022-02-10T17:04:00.776Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-02-10T17:04:00.777Z] > git --version # timeout=10 [2022-02-10T17:04:00.795Z] > git --version # 'git version 2.17.1' [2022-02-10T17:04:00.797Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-10T17:04:00.892Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-10T17:04:01.978Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-02-10T17:04:01.999Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-10T17:04:02.713Z] Merging remotes/origin/main commit 14d3a6bdd029748f665c10001c42d1af5d609c98 into PR head commit 260ea64d1f6daf34a9337824e9b7fb5f9512c662 [2022-02-10T17:04:02.969Z] Merge succeeded, producing 260ea64d1f6daf34a9337824e9b7fb5f9512c662 [2022-02-10T17:04:02.970Z] Checking out Revision 260ea64d1f6daf34a9337824e9b7fb5f9512c662 (PR-399) [2022-02-10T17:04:02.027Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-02-10T17:04:02.061Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-02-10T17:04:02.062Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-10T17:04:02.076Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-10T17:04:02.739Z] > git config core.sparsecheckout # timeout=10 [2022-02-10T17:04:02.757Z] > git checkout -f 260ea64d1f6daf34a9337824e9b7fb5f9512c662 # timeout=10 [2022-02-10T17:04:02.880Z] > git remote # timeout=10 [2022-02-10T17:04:02.904Z] > git config --get remote.origin.url # timeout=10 [2022-02-10T17:04:02.923Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-10T17:04:02.934Z] > git merge 14d3a6bdd029748f665c10001c42d1af5d609c98 # timeout=10 [2022-02-10T17:04:02.956Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-10T17:04:02.977Z] > git config core.sparsecheckout # timeout=10 [2022-02-10T17:04:02.986Z] > git checkout -f 260ea64d1f6daf34a9337824e9b7fb5f9512c662 # timeout=10 [2022-02-10T17:04:07.129Z] Commit message: "fix: Dont stringify array elements in readings Closes: #397 BREAKING CHANGE: Format of array readings is changed to match device-sdk-go. The SDK may be built to stringify array elements as was previously specified, by using the -legacyv2 flag when running scripts/build.sh" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-10T17:04:08.021Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-10T17:04:08.021Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-10T17:04:08.022Z] Dload Upload Total Spent Left Speed [2022-02-10T17:04:08.022Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 79483 0 --:--:-- --:--:-- --:--:-- 79483 [Pipeline] sh [2022-02-10T17:04:08.516Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-10T17:04:08.853Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-02-10T17:04:08.854Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-10T17:04:08.854Z] { [2022-02-10T17:04:08.854Z] "registry-mirrors": [ [2022-02-10T17:04:08.854Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-10T17:04:08.854Z] ], [2022-02-10T17:04:08.854Z] "bip": "10.250.0.254/24", [2022-02-10T17:04:08.854Z] "hosts": [ [2022-02-10T17:04:08.854Z] "tcp://0.0.0.0:5555", [2022-02-10T17:04:08.854Z] "unix:///var/run/docker.sock" [2022-02-10T17:04:08.854Z] ], [2022-02-10T17:04:08.854Z] "mtu": 1458, [2022-02-10T17:04:08.854Z] "selinux-enabled": true, [2022-02-10T17:04:08.854Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-10T17:04:08.854Z] } [Pipeline] sh [2022-02-10T17:04:09.271Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-10T17:04:09.605Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T17:04:27.923Z] provisioning config files... [2022-02-10T17:04:27.947Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config6859441600731620465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:04:28.296Z] ---> docker-login.sh [2022-02-10T17:04:28.296Z] nexus3.edgexfoundry.org:10001 [2022-02-10T17:04:28.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:04:29.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:04:29.176Z] Configure a credential helper to remove this warning. See [2022-02-10T17:04:29.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:04:29.176Z] [2022-02-10T17:04:29.176Z] Login Succeeded [2022-02-10T17:04:29.176Z] nexus3.edgexfoundry.org:10002 [2022-02-10T17:04:29.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:04:29.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:04:29.453Z] Configure a credential helper to remove this warning. See [2022-02-10T17:04:29.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:04:29.453Z] [2022-02-10T17:04:29.453Z] Login Succeeded [2022-02-10T17:04:29.453Z] nexus3.edgexfoundry.org:10003 [2022-02-10T17:04:29.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:04:29.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:04:29.999Z] Configure a credential helper to remove this warning. See [2022-02-10T17:04:29.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:04:29.999Z] [2022-02-10T17:04:29.999Z] Login Succeeded [2022-02-10T17:04:29.999Z] nexus3.edgexfoundry.org:10004 [2022-02-10T17:04:30.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:04:30.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:04:30.275Z] Configure a credential helper to remove this warning. See [2022-02-10T17:04:30.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:04:30.275Z] [2022-02-10T17:04:30.275Z] Login Succeeded [2022-02-10T17:04:30.275Z] docker.io [2022-02-10T17:04:30.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:04:31.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:04:31.145Z] Configure a credential helper to remove this warning. See [2022-02-10T17:04:31.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:04:31.145Z] [2022-02-10T17:04:31.145Z] Login Succeeded [2022-02-10T17:04:31.145Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T17:04:31.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-10T17:04:31.639Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T17:04:31.650Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-02-10T17:04:31.665Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T17:04:31.677Z] ========================================================= [2022-02-10T17:04:31.677Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-02-10T17:04:31.677Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:04:32.008Z] + 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-02-10T17:04:32.281Z] Sending build context to Docker daemon 2.751MB [2022-02-10T17:04:32.556Z] Step 1/24 : ARG BASE=alpine:3.14 [2022-02-10T17:04:32.556Z] Step 2/24 : FROM ${BASE} as builder [2022-02-10T17:04:32.556Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-02-10T17:04:32.556Z] be307f383ecc: Pulling fs layer [2022-02-10T17:04:32.556Z] 1d4f7adf69d7: Pulling fs layer [2022-02-10T17:04:32.556Z] 52c5421e0b32: Pulling fs layer [2022-02-10T17:04:32.556Z] 1d4f7adf69d7: Verifying Checksum [2022-02-10T17:04:32.556Z] 1d4f7adf69d7: Download complete [2022-02-10T17:04:32.836Z] be307f383ecc: Verifying Checksum [2022-02-10T17:04:32.836Z] be307f383ecc: Download complete [2022-02-10T17:04:33.431Z] be307f383ecc: Pull complete [2022-02-10T17:04:33.712Z] 1d4f7adf69d7: Pull complete [2022-02-10T17:04:34.694Z] 52c5421e0b32: Verifying Checksum [2022-02-10T17:04:34.695Z] 52c5421e0b32: Download complete [2022-02-10T17:04:42.970Z] 52c5421e0b32: Pull complete [2022-02-10T17:04:42.970Z] Digest: sha256:b0641e156c351091e85aa6c9760f8a7bff2808f91974893ca31a3cc47f05c631 [2022-02-10T17:04:42.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-02-10T17:04:42.970Z] ---> 3722cfcf980c [2022-02-10T17:04:42.970Z] Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-02-10T17:04:43.247Z] ---> Running in 3520422ff230 [2022-02-10T17:04:44.686Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2022-02-10T17:04:44.960Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-10T17:04:44.960Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-10T17:04:44.960Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-10T17:04:45.563Z] Removing intermediate container 3520422ff230 [2022-02-10T17:04:45.563Z] ---> 066902f70be6 [2022-02-10T17:04:45.563Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-10T17:04:45.563Z] ---> Running in 7d9651ac18ae [2022-02-10T17:04:47.544Z] Removing intermediate container 7d9651ac18ae [2022-02-10T17:04:47.544Z] ---> 92ef0a463a66 [2022-02-10T17:04:47.544Z] Step 5/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-10T17:04:47.544Z] ---> Running in 8ec8f0fe28b7 [2022-02-10T17:04:48.534Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-10T17:04:56.790Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-10T17:05:18.924Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-10T17:05:18.924Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-10T17:05:18.924Z] (1/27) Installing hiredis (1.0.0-r0) [2022-02-10T17:05:18.924Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2022-02-10T17:05:18.924Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2022-02-10T17:05:18.924Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-10T17:05:19.515Z] (5/27) Installing libblkid (2.37.3-r0) [2022-02-10T17:05:20.940Z] (6/27) Installing blkid (2.37.3-r0) [2022-02-10T17:05:21.213Z] (7/27) Installing libcap-ng (0.8.2-r0) [2022-02-10T17:05:21.486Z] (8/27) Installing setpriv (2.37.3-r0) [2022-02-10T17:05:22.079Z] (9/27) Installing libmount (2.37.3-r0) [2022-02-10T17:05:23.501Z] (10/27) Installing libsmartcols (2.37.3-r0) [2022-02-10T17:05:24.474Z] (11/27) Installing findmnt (2.37.3-r0) [2022-02-10T17:05:24.745Z] (12/27) Installing mcookie (2.37.3-r0) [2022-02-10T17:05:25.016Z] (13/27) Installing hexdump (2.37.3-r0) [2022-02-10T17:05:25.286Z] (14/27) Installing lsblk (2.37.3-r0) [2022-02-10T17:05:25.877Z] (15/27) Installing libuuid (2.37.3-r0) [2022-02-10T17:05:26.149Z] (16/27) Installing libfdisk (2.37.3-r0) [2022-02-10T17:05:27.577Z] (17/27) Installing sfdisk (2.37.3-r0) [2022-02-10T17:05:28.548Z] (18/27) Installing cfdisk (2.37.3-r0) [2022-02-10T17:05:28.818Z] (19/27) Installing partx (2.37.3-r0) [2022-02-10T17:05:29.088Z] (20/27) Installing flock (2.37.3-r0) [2022-02-10T17:05:30.059Z] (21/27) Installing logger (2.37.3-r0) [2022-02-10T17:05:30.329Z] (22/27) Installing uuidgen (2.37.3-r0) [2022-02-10T17:05:30.601Z] (23/27) Installing libeconf (0.3.8-r1) [2022-02-10T17:05:31.570Z] (24/27) Installing util-linux (2.37.3-r0) [2022-02-10T17:05:49.830Z] (25/27) Installing util-linux-dev (2.37.3-r0) [2022-02-10T17:05:58.079Z] (26/27) Installing libidn2 (2.3.1-r0) [2022-02-10T17:05:59.048Z] (27/27) Installing wget (1.21.1-r1) [2022-02-10T17:06:01.657Z] Executing busybox-1.33.1-r6.trigger [2022-02-10T17:06:01.657Z] OK: 286 MiB in 104 packages [2022-02-10T17:06:02.634Z] Removing intermediate container 8ec8f0fe28b7 [2022-02-10T17:06:02.634Z] ---> 8205c1b5ef21 [2022-02-10T17:06:02.634Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2022-02-10T17:06:02.634Z] ---> Running in 12b2c9f12697 [2022-02-10T17:06:03.228Z] Removing intermediate container 12b2c9f12697 [2022-02-10T17:06:03.228Z] ---> 618f2a475db2 [2022-02-10T17:06:03.228Z] Step 7/24 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2022-02-10T17:06:03.228Z] ---> Running in 47a51f2867f7 [2022-02-10T17:06:04.203Z] --2022-02-10 17:06:03-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2022-02-10T17:06:04.203Z] Resolving github.com (github.com)... 140.82.114.4 [2022-02-10T17:06:04.203Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2022-02-10T17:06:04.473Z] HTTP request sent, awaiting response... 302 Found [2022-02-10T17:06:04.473Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2022-02-10T17:06:04.473Z] --2022-02-10 17:06:04-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2022-02-10T17:06:04.473Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2022-02-10T17:06:04.473Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2022-02-10T17:06:04.473Z] HTTP request sent, awaiting response... 200 OK [2022-02-10T17:06:04.473Z] Length: unspecified [application/x-gzip] [2022-02-10T17:06:04.473Z] Saving to: 'STDOUT' [2022-02-10T17:06:04.473Z]  [2022-02-10T17:06:04.749Z] 0K .......... .......... .......... .......... .......... 1.19M [2022-02-10T17:06:04.749Z] 50K .......... .......... .......... .......... .......... 2.39M [2022-02-10T17:06:04.749Z] 100K .......... .......... .......... .......... .......... 10.2M [2022-02-10T17:06:04.749Z] 150K .......... .......... .......... .......... .......... 3.14M [2022-02-10T17:06:04.749Z] 200K .......... .......... .......... .......... .......... 11.8M [2022-02-10T17:06:04.749Z] 250K .......... .......... .......... .......... .......... 3.84M [2022-02-10T17:06:04.749Z] 300K .......... .......... .......... .......... .......... 5.63M [2022-02-10T17:06:04.749Z] 350K .......... .......... .......... .......... .......... 5.15M [2022-02-10T17:06:04.749Z] 400K .......... .......... .......... .......... .......... 3.37M [2022-02-10T17:06:04.749Z] 450K .......... .......... .......... .......... .......... 2.99M [2022-02-10T17:06:04.749Z] 500K .......... .......... .......... .......... .......... 12.4M [2022-02-10T17:06:04.749Z] 550K .......... .......... .......... .......... .......... 1.37M [2022-02-10T17:06:04.749Z] 600K .......... .......... .......... .......... .......... 1.17M [2022-02-10T17:06:04.749Z] 650K .......... .......... .......... .......... .......... 2.31M [2022-02-10T17:06:04.749Z] 700K ..  14.1M=0.3s [2022-02-10T17:06:04.749Z] [2022-02-10T17:06:04.749Z] 2022-02-10 17:06:04 (2.74 MB/s) - written to stdout [719348] [2022-02-10T17:06:04.749Z] [2022-02-10T17:06:05.021Z] -- The C compiler identification is GNU 10.3.1 [2022-02-10T17:06:05.293Z] -- The CXX compiler identification is GNU 10.3.1 [2022-02-10T17:06:05.563Z] -- Detecting C compiler ABI info [2022-02-10T17:06:05.563Z] -- Detecting C compiler ABI info - done [2022-02-10T17:06:05.834Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-10T17:06:05.834Z] -- Detecting C compile features [2022-02-10T17:06:05.834Z] -- Detecting C compile features - done [2022-02-10T17:06:05.834Z] -- Detecting CXX compiler ABI info [2022-02-10T17:06:06.104Z] -- Detecting CXX compiler ABI info - done [2022-02-10T17:06:06.104Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2022-02-10T17:06:06.104Z] -- Detecting CXX compile features [2022-02-10T17:06:06.104Z] -- Detecting CXX compile features - done [2022-02-10T17:06:06.104Z] -- Looking for include file endian.h [2022-02-10T17:06:06.376Z] -- Looking for include file endian.h - found [2022-02-10T17:06:06.376Z] -- Looking for sys/types.h [2022-02-10T17:06:06.650Z] -- Looking for sys/types.h - found [2022-02-10T17:06:06.650Z] -- Looking for stdint.h [2022-02-10T17:06:06.922Z] -- Looking for stdint.h - found [2022-02-10T17:06:06.922Z] -- Looking for stddef.h [2022-02-10T17:06:07.194Z] -- Looking for stddef.h - found [2022-02-10T17:06:07.194Z] -- Check size of size_t [2022-02-10T17:06:07.465Z] -- Check size of size_t - done [2022-02-10T17:06:07.465Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2022-02-10T17:06:07.465Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2022-02-10T17:06:07.465Z] asked CMake to find a package configuration file provided by "cJSON", but [2022-02-10T17:06:07.465Z] CMake did not find one. [2022-02-10T17:06:07.465Z] [2022-02-10T17:06:07.465Z] Could not find a package configuration file provided by "cJSON" with any of [2022-02-10T17:06:07.465Z] the following names: [2022-02-10T17:06:07.465Z] [2022-02-10T17:06:07.465Z] cJSONConfig.cmake [2022-02-10T17:06:07.465Z] cjson-config.cmake [2022-02-10T17:06:07.465Z] [2022-02-10T17:06:07.465Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2022-02-10T17:06:07.465Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2022-02-10T17:06:07.465Z] provides a separate development package or SDK, be sure it has been [2022-02-10T17:06:07.465Z] installed. [2022-02-10T17:06:07.465Z] [2022-02-10T17:06:07.465Z] [2022-02-10T17:06:07.465Z] -- Configuring done [2022-02-10T17:06:07.736Z] -- Generating done [2022-02-10T17:06:07.736Z] -- Build files have been written to: /tmp/cbor [2022-02-10T17:06:07.736Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2022-02-10T17:06:08.711Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2022-02-10T17:06:09.685Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2022-02-10T17:06:09.685Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2022-02-10T17:06:10.658Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2022-02-10T17:06:10.930Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2022-02-10T17:06:10.930Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2022-02-10T17:06:11.204Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2022-02-10T17:06:11.476Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2022-02-10T17:06:11.747Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2022-02-10T17:06:12.339Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2022-02-10T17:06:12.933Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2022-02-10T17:06:13.205Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2022-02-10T17:06:13.799Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2022-02-10T17:06:14.069Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2022-02-10T17:06:14.340Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2022-02-10T17:06:14.610Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2022-02-10T17:06:14.880Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2022-02-10T17:06:15.149Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2022-02-10T17:06:15.419Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2022-02-10T17:06:15.690Z] [ 40%] Linking C shared library libcbor.so [2022-02-10T17:06:15.690Z] [ 40%] Built target cbor_shared [2022-02-10T17:06:15.690Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2022-02-10T17:06:16.661Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2022-02-10T17:06:17.628Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2022-02-10T17:06:17.628Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2022-02-10T17:06:19.590Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2022-02-10T17:06:19.860Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2022-02-10T17:06:20.130Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2022-02-10T17:06:20.400Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2022-02-10T17:06:20.670Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2022-02-10T17:06:20.940Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2022-02-10T17:06:21.909Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2022-02-10T17:06:22.178Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2022-02-10T17:06:22.767Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2022-02-10T17:06:23.034Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2022-02-10T17:06:23.627Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2022-02-10T17:06:23.627Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2022-02-10T17:06:24.217Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2022-02-10T17:06:24.485Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2022-02-10T17:06:24.755Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2022-02-10T17:06:25.023Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2022-02-10T17:06:25.294Z] [ 80%] Linking C static library libcbor.a [2022-02-10T17:06:25.294Z] [ 80%] Built target cbor [2022-02-10T17:06:25.294Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2022-02-10T17:06:25.564Z] [ 84%] Linking C executable readfile [2022-02-10T17:06:25.564Z] [ 84%] Built target readfile [2022-02-10T17:06:25.834Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2022-02-10T17:06:25.834Z] [ 88%] Linking C executable create_items [2022-02-10T17:06:26.103Z] [ 88%] Built target create_items [2022-02-10T17:06:26.103Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2022-02-10T17:06:26.373Z] [ 92%] Linking C executable sort [2022-02-10T17:06:26.373Z] [ 92%] Built target sort [2022-02-10T17:06:26.373Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2022-02-10T17:06:26.643Z] [ 96%] Linking C executable hello [2022-02-10T17:06:26.643Z] [ 96%] Built target hello [2022-02-10T17:06:26.643Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2022-02-10T17:06:26.912Z] [100%] Linking C executable streaming_parser [2022-02-10T17:06:26.912Z] [100%] Built target streaming_parser [2022-02-10T17:06:27.181Z] Install the project... [2022-02-10T17:06:27.181Z] -- Install configuration: "Release" [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/configuration.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/lib/libcbor.a [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/lib/libcbor.so.0 [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/lib/libcbor.so [2022-02-10T17:06:27.181Z] -- Up-to-date: /usr/local/include/cbor [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/data.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/callbacks.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/ints.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/arrays.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/maps.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/tags.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/serialization.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/common.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/internal [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/encoding.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/streaming.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor/strings.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/include/cbor.h [2022-02-10T17:06:27.181Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2022-02-10T17:06:28.616Z] Removing intermediate container 47a51f2867f7 [2022-02-10T17:06:28.616Z] ---> 3f638f7b14b2 [2022-02-10T17:06:28.616Z] Step 8/24 : RUN mkdir /tmp/sdk [2022-02-10T17:06:28.887Z] ---> Running in f8a55801c93f [2022-02-10T17:06:30.305Z] Removing intermediate container f8a55801c93f [2022-02-10T17:06:30.305Z] ---> 1bc267e2db21 [2022-02-10T17:06:30.305Z] Step 9/24 : COPY VERSION /tmp/sdk [2022-02-10T17:06:30.896Z] ---> a4896854869d [2022-02-10T17:06:30.896Z] Step 10/24 : COPY src /tmp/sdk/src [2022-02-10T17:06:31.493Z] ---> dd1ffe7ed742 [2022-02-10T17:06:31.493Z] Step 11/24 : COPY include /tmp/sdk/include [2022-02-10T17:06:32.087Z] ---> 528a0be7c391 [2022-02-10T17:06:32.087Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2022-02-10T17:06:32.679Z] ---> 50a0a784ff25 [2022-02-10T17:06:32.679Z] Step 13/24 : COPY LICENSE /tmp/sdk [2022-02-10T17:06:33.275Z] ---> 114515d6a967 [2022-02-10T17:06:33.275Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2022-02-10T17:06:33.864Z] ---> 34b6f1594164 [2022-02-10T17:06:33.864Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-02-10T17:06:33.864Z] ---> Running in bf88f3468b25 [2022-02-10T17:06:34.839Z] + CPPCHECK=false [2022-02-10T17:06:34.839Z] + DOCGEN=false [2022-02-10T17:06:34.840Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-02-10T17:06:34.840Z] + TOMLVER=SDK-0.2 [2022-02-10T17:06:34.840Z] + CUTILVER=1.2.2 [2022-02-10T17:06:34.840Z] + '[' 0 -gt 0 ] [2022-02-10T17:06:34.840Z] + readlink -f ./scripts/build.sh [2022-02-10T17:06:34.840Z] + dirname /tmp/sdk/scripts/build.sh [2022-02-10T17:06:34.840Z] + dirname /tmp/sdk/scripts [2022-02-10T17:06:34.840Z] + ROOT=/tmp/sdk [2022-02-10T17:06:34.840Z] + cd /tmp/sdk [2022-02-10T17:06:34.840Z] + '[' '!' -d deps ] [2022-02-10T17:06:34.840Z] + mkdir deps [2022-02-10T17:06:34.840Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-10T17:06:34.840Z] + tar -C deps -z -x -f - [2022-02-10T17:06:34.840Z] --2022-02-10 17:06:34-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-10T17:06:34.840Z] Resolving github.com (github.com)... 140.82.114.4 [2022-02-10T17:06:34.840Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2022-02-10T17:06:35.110Z] HTTP request sent, awaiting response... 302 Found [2022-02-10T17:06:35.110Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2022-02-10T17:06:35.110Z] --2022-02-10 17:06:34-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2022-02-10T17:06:35.110Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2022-02-10T17:06:35.110Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2022-02-10T17:06:35.110Z] HTTP request sent, awaiting response... 200 OK [2022-02-10T17:06:35.110Z] Length: unspecified [application/x-gzip] [2022-02-10T17:06:35.110Z] Saving to: 'STDOUT' [2022-02-10T17:06:35.110Z]  [2022-02-10T17:06:35.110Z] 0K .......... ......  836K=0.02s [2022-02-10T17:06:35.110Z] [2022-02-10T17:06:35.110Z] 2022-02-10 17:06:35 (836 KB/s) - written to stdout [16451] [2022-02-10T17:06:35.110Z] [2022-02-10T17:06:35.381Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-02-10T17:06:35.381Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-10T17:06:35.381Z] + tar -C deps -z -x -f - [2022-02-10T17:06:35.381Z] --2022-02-10 17:06:35-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-10T17:06:35.381Z] Resolving github.com (github.com)... 140.82.114.4 [2022-02-10T17:06:35.381Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2022-02-10T17:06:35.381Z] HTTP request sent, awaiting response... 302 Found [2022-02-10T17:06:35.381Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2022-02-10T17:06:35.381Z] --2022-02-10 17:06:35-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2022-02-10T17:06:35.381Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2022-02-10T17:06:35.381Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2022-02-10T17:06:35.649Z] HTTP request sent, awaiting response... 200 OK [2022-02-10T17:06:35.649Z] Length: unspecified [application/x-gzip] [2022-02-10T17:06:35.649Z] Saving to: 'STDOUT' [2022-02-10T17:06:35.649Z]  [2022-02-10T17:06:35.649Z] 0K .......... .......... .......... .......... .......... 1.17M [2022-02-10T17:06:35.649Z] 50K .......... .......... .......... .......... .......... 2.36M [2022-02-10T17:06:35.649Z] 100K .......... .......... .......... .......... .......... 10.9M [2022-02-10T17:06:35.649Z] 150K .......... .......... .......... .........  2.03M=0.09s [2022-02-10T17:06:35.649Z] [2022-02-10T17:06:35.649Z] 2022-02-10 17:06:35 (2.16 MB/s) - written to stdout [193961] [2022-02-10T17:06:35.649Z] [2022-02-10T17:06:35.920Z] + mkdir -p src/c/iot [2022-02-10T17:06:35.920Z] + 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-02-10T17:06:35.920Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-02-10T17:06:35.920Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-02-10T17:06:35.920Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-02-10T17:06:35.920Z] + mkdir -p include/iot [2022-02-10T17:06:35.920Z] + 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-02-10T17:06:35.920Z] + mkdir -p include/iot/os [2022-02-10T17:06:35.920Z] + 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-02-10T17:06:35.920Z] + mkdir -p /tmp/sdk/build/release [2022-02-10T17:06:35.920Z] + cd /tmp/sdk/build/release [2022-02-10T17:06:35.920Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-02-10T17:06:36.190Z] -- The C compiler identification is GNU 10.3.1 [2022-02-10T17:06:36.190Z] -- Detecting C compiler ABI info [2022-02-10T17:06:36.462Z] -- Detecting C compiler ABI info - done [2022-02-10T17:06:36.462Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-10T17:06:36.462Z] -- Detecting C compile features [2022-02-10T17:06:36.462Z] -- Detecting C compile features - done [2022-02-10T17:06:36.462Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-10T17:06:36.733Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2022-02-10T17:06:36.733Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-10T17:06:36.733Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-10T17:06:36.733Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2022-02-10T17:06:36.733Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-10T17:06:36.733Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-10T17:06:36.733Z] -- C SDK 0.0.0 for Linux [2022-02-10T17:06:36.733Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-10T17:06:37.007Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-10T17:06:37.278Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-10T17:06:37.278Z] -- Configuring done [2022-02-10T17:06:37.548Z] -- Generating done [2022-02-10T17:06:37.548Z] -- Build files have been written to: /tmp/sdk/build/release [2022-02-10T17:06:37.548Z] + + maketee all release.log [2022-02-10T17:06:37.548Z] package [2022-02-10T17:06:37.548Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-10T17:06:38.151Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-10T17:06:38.741Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-10T17:06:41.334Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-10T17:06:41.922Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-10T17:06:41.922Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-10T17:06:42.901Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-10T17:06:43.489Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-10T17:06:43.758Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-10T17:06:45.177Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-10T17:06:47.133Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-10T17:06:47.401Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-10T17:06:48.368Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-10T17:06:48.957Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-10T17:06:49.228Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-10T17:06:49.502Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-10T17:06:49.773Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-10T17:06:53.132Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-10T17:06:53.132Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-10T17:06:53.402Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-10T17:06:53.991Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-10T17:06:54.580Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-10T17:06:54.580Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-10T17:06:54.580Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-10T17:06:54.580Z] 275 | const iot_component_factory_t * factory; [2022-02-10T17:06:54.580Z] | ^~~~~~~ [2022-02-10T17:06:55.551Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-10T17:06:59.841Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-10T17:07:00.113Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-10T17:07:00.383Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-10T17:07:00.974Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-10T17:07:01.566Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-10T17:07:01.837Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-10T17:07:02.804Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-10T17:07:03.395Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-10T17:07:04.363Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-10T17:07:04.363Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-10T17:07:04.953Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-10T17:07:06.913Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-10T17:07:07.508Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-10T17:07:08.932Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-10T17:07:08.932Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-10T17:07:14.309Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-10T17:07:14.309Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-10T17:07:14.581Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-10T17:07:15.169Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-10T17:07:15.169Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-10T17:07:15.169Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-10T17:07:15.169Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-10T17:07:15.169Z] | ^~~~~~~~~~~~~ [2022-02-10T17:07:15.169Z] | | [2022-02-10T17:07:15.169Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-10T17:07:15.169Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:07:15.169Z] /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-02-10T17:07:15.169Z] 2714 | MHD_KeyValueIterator iterator, [2022-02-10T17:07:15.169Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-10T17:07:15.169Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-10T17:07:15.169Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-10T17:07:15.169Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-10T17:07:15.169Z] | ^~~~~~~~~~~~ [2022-02-10T17:07:15.169Z] | | [2022-02-10T17:07:15.169Z] | 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-02-10T17:07:15.169Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:07:15.169Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-10T17:07:15.169Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-10T17:07:15.169Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-10T17:07:15.169Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-10T17:07:15.169Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-10T17:07:15.169Z] | ^~~~~~~~~~~~ [2022-02-10T17:07:15.169Z] | | [2022-02-10T17:07:15.169Z] | 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-02-10T17:07:15.169Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:07:15.169Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-10T17:07:15.169Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-10T17:07:15.169Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-10T17:07:16.139Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-10T17:07:18.099Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-10T17:07:18.369Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-10T17:07:18.960Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-10T17:07:19.231Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-10T17:07:21.833Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-10T17:07:26.111Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-10T17:07:26.111Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-10T17:07:26.703Z] [ 76%] Linking C shared library libcsdk.so [2022-02-10T17:07:26.973Z] [ 76%] Built target csdk [2022-02-10T17:07:26.973Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-10T17:07:27.943Z] [ 79%] Linking C executable template [2022-02-10T17:07:27.943Z] [ 79%] Built target template [2022-02-10T17:07:27.943Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-10T17:07:28.535Z] [ 82%] Linking C executable device-counter [2022-02-10T17:07:28.804Z] [ 82%] Built target device-counter [2022-02-10T17:07:28.804Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-10T17:07:29.393Z] [ 85%] Linking C executable device-random [2022-02-10T17:07:29.663Z] [ 85%] Built target device-random [2022-02-10T17:07:29.663Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-10T17:07:29.935Z] [ 88%] Linking C executable device-gyro [2022-02-10T17:07:30.208Z] [ 88%] Built target device-gyro [2022-02-10T17:07:30.208Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-10T17:07:30.796Z] [ 91%] Linking C executable device-bitfields [2022-02-10T17:07:31.065Z] [ 91%] Built target device-bitfields [2022-02-10T17:07:31.065Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-10T17:07:32.031Z] [ 94%] Linking C executable template-discovery [2022-02-10T17:07:32.031Z] [ 94%] Built target template-discovery [2022-02-10T17:07:32.031Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-10T17:07:32.999Z] [ 97%] Linking C executable device-file [2022-02-10T17:07:32.999Z] [ 97%] Built target device-file [2022-02-10T17:07:32.999Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-10T17:07:33.589Z] [100%] Linking C executable device-terminal [2022-02-10T17:07:33.860Z] [100%] Built target device-terminal [2022-02-10T17:07:33.860Z] Run CPack packaging tool... [2022-02-10T17:07:34.129Z] CPack: Create package using TGZ [2022-02-10T17:07:34.129Z] CPack: Install projects [2022-02-10T17:07:34.129Z] CPack: - Run preinstall target for: Csdk [2022-02-10T17:07:34.718Z] CPack: - Install project: Csdk [] [2022-02-10T17:07:34.718Z] CPack: Create package [2022-02-10T17:07:34.718Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-02-10T17:07:34.718Z] + '[' false '=' true ] [2022-02-10T17:07:34.718Z] + '[' false '=' true ] [2022-02-10T17:07:34.718Z] + mkdir -p /tmp/sdk/build/debug [2022-02-10T17:07:34.718Z] + cd /tmp/sdk/build/debug [2022-02-10T17:07:34.718Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-02-10T17:07:34.988Z] -- The C compiler identification is GNU 10.3.1 [2022-02-10T17:07:35.257Z] -- Detecting C compiler ABI info [2022-02-10T17:07:35.540Z] -- Detecting C compiler ABI info - done [2022-02-10T17:07:35.540Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-10T17:07:35.540Z] -- Detecting C compile features [2022-02-10T17:07:35.540Z] -- Detecting C compile features - done [2022-02-10T17:07:35.540Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-10T17:07:35.540Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2022-02-10T17:07:35.540Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-10T17:07:35.813Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-10T17:07:35.813Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2022-02-10T17:07:35.813Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-10T17:07:35.813Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-10T17:07:35.813Z] -- C SDK 0.0.0 for Linux [2022-02-10T17:07:35.813Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-10T17:07:36.083Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-10T17:07:36.083Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-10T17:07:36.352Z] -- Configuring done [2022-02-10T17:07:36.622Z] -- Generating done [2022-02-10T17:07:36.622Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-02-10T17:07:36.622Z] + tee debug.log [2022-02-10T17:07:36.622Z] + make [2022-02-10T17:07:36.622Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-10T17:07:36.891Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-10T17:07:37.484Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-10T17:07:38.078Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-10T17:07:38.349Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-10T17:07:38.349Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-10T17:07:38.940Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-10T17:07:39.211Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-10T17:07:39.211Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-10T17:07:39.802Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-10T17:07:40.391Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-10T17:07:40.664Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-10T17:07:40.935Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-10T17:07:41.527Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-10T17:07:41.799Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-10T17:07:41.799Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-10T17:07:42.071Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-10T17:07:43.045Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-10T17:07:43.045Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-10T17:07:43.317Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-10T17:07:43.588Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-10T17:07:43.860Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-10T17:07:43.860Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-10T17:07:43.860Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-10T17:07:43.860Z] 275 | const iot_component_factory_t * factory; [2022-02-10T17:07:43.860Z] | ^~~~~~~ [2022-02-10T17:07:44.132Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-10T17:07:45.561Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-10T17:07:45.561Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-10T17:07:45.561Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-10T17:07:45.834Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-10T17:07:46.107Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-10T17:07:46.380Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-10T17:07:46.653Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-10T17:07:46.924Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-10T17:07:47.197Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-10T17:07:47.472Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-10T17:07:47.745Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-10T17:07:48.019Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-10T17:07:48.293Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-10T17:07:48.887Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-10T17:07:49.159Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-10T17:07:50.134Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-10T17:07:50.405Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-10T17:07:50.680Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-10T17:07:50.953Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-10T17:07:51.225Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-10T17:07:51.225Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-10T17:07:51.225Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-10T17:07:51.225Z] | ^~~~~~~~~~~~~ [2022-02-10T17:07:51.225Z] | | [2022-02-10T17:07:51.225Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-10T17:07:51.225Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:07:51.225Z] /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-02-10T17:07:51.225Z] 2714 | MHD_KeyValueIterator iterator, [2022-02-10T17:07:51.225Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-10T17:07:51.225Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-10T17:07:51.225Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-10T17:07:51.225Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-10T17:07:51.225Z] | ^~~~~~~~~~~~ [2022-02-10T17:07:51.225Z] | | [2022-02-10T17:07:51.225Z] | 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-02-10T17:07:51.225Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:07:51.225Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-10T17:07:51.225Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-10T17:07:51.225Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-10T17:07:51.225Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-10T17:07:51.225Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-10T17:07:51.225Z] | ^~~~~~~~~~~~ [2022-02-10T17:07:51.225Z] | | [2022-02-10T17:07:51.225Z] | 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-02-10T17:07:51.225Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:07:51.225Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-10T17:07:51.225Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-10T17:07:51.225Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-10T17:07:51.498Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-10T17:07:52.931Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-10T17:07:53.202Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-10T17:07:53.474Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-10T17:07:53.744Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-10T17:07:54.335Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-10T17:07:55.304Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-10T17:07:55.304Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-10T17:07:55.576Z] [ 76%] Linking C shared library libcsdk.so [2022-02-10T17:07:55.846Z] [ 76%] Built target csdk [2022-02-10T17:07:56.120Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-10T17:07:56.394Z] [ 79%] Linking C executable template [2022-02-10T17:07:56.664Z] [ 79%] Built target template [2022-02-10T17:07:56.664Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-10T17:07:56.936Z] [ 82%] Linking C executable device-counter [2022-02-10T17:07:57.207Z] [ 82%] Built target device-counter [2022-02-10T17:07:57.207Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-10T17:07:57.481Z] [ 85%] Linking C executable device-random [2022-02-10T17:07:57.753Z] [ 85%] Built target device-random [2022-02-10T17:07:57.753Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-10T17:07:58.024Z] [ 88%] Linking C executable device-gyro [2022-02-10T17:07:58.024Z] [ 88%] Built target device-gyro [2022-02-10T17:07:58.293Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-10T17:07:58.563Z] [ 91%] Linking C executable device-bitfields [2022-02-10T17:07:58.563Z] [ 91%] Built target device-bitfields [2022-02-10T17:07:58.835Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-10T17:07:59.104Z] [ 94%] Linking C executable template-discovery [2022-02-10T17:07:59.374Z] [ 94%] Built target template-discovery [2022-02-10T17:07:59.374Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-10T17:07:59.646Z] [ 97%] Linking C executable device-file [2022-02-10T17:07:59.917Z] [ 97%] Built target device-file [2022-02-10T17:07:59.917Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-10T17:08:00.190Z] [100%] Linking C executable device-terminal [2022-02-10T17:08:00.459Z] [100%] Built target device-terminal [2022-02-10T17:08:00.459Z] make: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:08:00.730Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:08:00.730Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:08:00.730Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:08:00.730Z] [ 76%] Built target csdk [2022-02-10T17:08:00.730Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:08:00.730Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:08:00.730Z] [ 79%] Built target template [2022-02-10T17:08:00.730Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:08:00.730Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:08:00.730Z] [ 82%] Built target device-counter [2022-02-10T17:08:00.730Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:08:00.730Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:08:00.730Z] [ 85%] Built target device-random [2022-02-10T17:08:00.730Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:08:01.001Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:08:01.001Z] [ 88%] Built target device-gyro [2022-02-10T17:08:01.001Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:08:01.001Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:08:01.001Z] [ 91%] Built target device-bitfields [2022-02-10T17:08:01.001Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:08:01.001Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:08:01.001Z] [ 94%] Built target template-discovery [2022-02-10T17:08:01.001Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:08:01.001Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:08:01.001Z] [ 97%] Built target device-file [2022-02-10T17:08:01.001Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:08:01.001Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:08:01.001Z] [100%] Built target device-terminal [2022-02-10T17:08:01.001Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:08:01.001Z] Install the project... [2022-02-10T17:08:01.276Z] -- Install configuration: "Release" [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/lib/libcsdk.so [2022-02-10T17:08:01.276Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2022-02-10T17:08:01.276Z] -- Up-to-date: /usr/local/include [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/edgex [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/edgex/devices.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/devsdk [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/data.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/config.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/container.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/typecode.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/thread.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/hash.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/iot.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/defs.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/uuid.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/component.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/time.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/logger.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/os [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/json.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/base64.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/include/iot/os.h [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-02-10T17:08:01.276Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-02-10T17:08:01.276Z] make: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:08:02.704Z] Removing intermediate container bf88f3468b25 [2022-02-10T17:08:02.704Z] ---> 3362eb26ddae [2022-02-10T17:08:02.704Z] Step 16/24 : FROM ${BASE} [2022-02-10T17:08:02.704Z] ---> 3722cfcf980c [2022-02-10T17:08:02.704Z] Step 17/24 : LABEL maintainer="IOTech " [2022-02-10T17:08:02.975Z] ---> Running in 643cde53d3f8 [2022-02-10T17:08:03.247Z] Removing intermediate container 643cde53d3f8 [2022-02-10T17:08:03.248Z] ---> 79d67e19b76a [2022-02-10T17:08:03.248Z] Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-02-10T17:08:03.248Z] ---> Running in 86f96eed6148 [2022-02-10T17:08:04.221Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2022-02-10T17:08:04.814Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-10T17:08:04.814Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-10T17:08:04.814Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-10T17:08:05.406Z] Removing intermediate container 86f96eed6148 [2022-02-10T17:08:05.406Z] ---> 0d85ea8c7f60 [2022-02-10T17:08:05.406Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-10T17:08:05.406Z] ---> Running in 2e194e27ff63 [2022-02-10T17:08:07.373Z] Removing intermediate container 2e194e27ff63 [2022-02-10T17:08:07.373Z] ---> dbad8e62d501 [2022-02-10T17:08:07.373Z] Step 20/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-10T17:08:07.373Z] ---> Running in 725b5a2bfd2a [2022-02-10T17:08:07.961Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-10T17:08:10.565Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-10T17:08:11.156Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-10T17:08:11.749Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-10T17:08:12.019Z] (1/7) Installing curl (7.79.1-r0) [2022-02-10T17:08:12.987Z] (2/7) Installing hiredis (1.0.0-r0) [2022-02-10T17:08:12.987Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2022-02-10T17:08:13.576Z] (4/7) Installing libuuid (2.37.3-r0) [2022-02-10T17:08:13.845Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-10T17:08:14.433Z] (6/7) Installing libidn2 (2.3.1-r0) [2022-02-10T17:08:15.022Z] (7/7) Installing wget (1.21.1-r1) [2022-02-10T17:08:15.619Z] Executing busybox-1.33.1-r6.trigger [2022-02-10T17:08:15.619Z] OK: 276 MiB in 84 packages [2022-02-10T17:08:16.591Z] Removing intermediate container 725b5a2bfd2a [2022-02-10T17:08:16.591Z] ---> 0436947f832e [2022-02-10T17:08:16.591Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-02-10T17:08:17.181Z] ---> 42d6e46eb42b [2022-02-10T17:08:17.181Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-02-10T17:08:17.775Z] ---> e559ca1349f1 [2022-02-10T17:08:17.775Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-02-10T17:08:18.368Z] ---> 6f103cb4cd55 [2022-02-10T17:08:18.368Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-02-10T17:08:18.963Z] ---> 0ae82598396f [2022-02-10T17:08:18.963Z] Successfully built 0ae82598396f [2022-02-10T17:08:18.963Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:08:19.373Z] + docker inspect -f . ci-base-image-arm64 [2022-02-10T17:08:19.373Z] . [Pipeline] withDockerContainer [2022-02-10T17:08:19.578Z] prd-ubuntu18.04-docker-arm64-4c-16g-4998 does not seem to be running inside a container [2022-02-10T17:08:19.699Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-10T17:08:21.181Z] $ docker top 4be66fc22e8f2f8a34e5bdcb57ab81ab295628ba21c24406b979dc470be63b2a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-10T17:08:22.090Z] + make test [2022-02-10T17:08:22.090Z] echo "make test" [2022-02-10T17:08:22.090Z] make test [Pipeline] } [2022-02-10T17:08:22.115Z] $ docker stop --time=1 4be66fc22e8f2f8a34e5bdcb57ab81ab295628ba21c24406b979dc470be63b2a [2022-02-10T17:08:23.749Z] $ docker rm -f 4be66fc22e8f2f8a34e5bdcb57ab81ab295628ba21c24406b979dc470be63b2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-10T17:08:24.350Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-10T17:08:24.709Z] + ls -al . [2022-02-10T17:08:24.709Z] total 200 [2022-02-10T17:08:24.709Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 10 17:04 . [2022-02-10T17:08:24.709Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 17:04 .. [2022-02-10T17:08:24.709Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 10 17:04 .git [2022-02-10T17:08:24.709Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 10 17:04 .github [2022-02-10T17:08:24.709Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 10 17:04 .gitignore [2022-02-10T17:08:24.709Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 10 17:04 Attribution.txt [2022-02-10T17:08:24.709Z] -rw-rw-r-- 1 jenkins jenkins 8183 Feb 10 17:04 CHANGES [2022-02-10T17:08:24.709Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 10 17:04 Doxyfile [2022-02-10T17:08:24.709Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 10 17:04 GOVERNANCE.md [2022-02-10T17:08:24.709Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 10 17:04 Jenkinsfile [2022-02-10T17:08:24.709Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 10 17:04 LICENSE [2022-02-10T17:08:24.709Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 10 17:04 Makefile [2022-02-10T17:08:24.709Z] -rw-rw-r-- 1 jenkins jenkins 618 Feb 10 17:04 OWNERS.md [2022-02-10T17:08:24.709Z] -rw-rw-r-- 1 jenkins jenkins 4086 Feb 10 17:04 README.md [2022-02-10T17:08:24.709Z] -rw-rw-r-- 1 jenkins jenkins 7422 Feb 10 17:04 README.v2.md [2022-02-10T17:08:24.709Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 10 17:02 VERSION [2022-02-10T17:08:24.709Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 17:04 docs [2022-02-10T17:08:24.709Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 17:04 include [2022-02-10T17:08:24.709Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 17:04 scripts [2022-02-10T17:08:24.709Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 17:04 src [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:08:25.154Z] + 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=260ea64d1f6daf34a9337824e9b7fb5f9512c662 --label arch=arm64 --label version=0.0.0 . [2022-02-10T17:08:25.778Z] Sending build context to Docker daemon 2.751MB [2022-02-10T17:08:25.778Z] Step 1/17 : ARG BASE=alpine:3.14 [2022-02-10T17:08:25.778Z] Step 2/17 : FROM ${BASE} [2022-02-10T17:08:25.778Z] ---> 0ae82598396f [2022-02-10T17:08:25.778Z] Step 3/17 : LABEL maintainer="IOTech " [2022-02-10T17:08:25.778Z] ---> Running in dd85fc8c8733 [2022-02-10T17:08:26.381Z] Removing intermediate container dd85fc8c8733 [2022-02-10T17:08:26.381Z] ---> c63e24cd66c9 [2022-02-10T17:08:26.381Z] 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-02-10T17:08:26.381Z] ---> Running in 575171567c64 [2022-02-10T17:08:27.364Z] --2022-02-10 17:08:27-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2022-02-10T17:08:27.364Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 34.243.182.113, 54.72.115.12, 54.170.66.44, ... [2022-02-10T17:08:27.639Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|34.243.182.113|:443... connected. [2022-02-10T17:08:27.933Z] HTTP request sent, awaiting response... 200 OK [2022-02-10T17:08:27.933Z] Length: unspecified [application/json] [2022-02-10T17:08:27.933Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-10T17:08:27.933Z] [2022-02-10T17:08:27.933Z] 0K     58.0M=0s [2022-02-10T17:08:27.933Z] [2022-02-10T17:08:27.933Z] 2022-02-10 17:08:27 (58.0 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2022-02-10T17:08:27.933Z] [2022-02-10T17:08:28.534Z] Removing intermediate container 575171567c64 [2022-02-10T17:08:28.534Z] ---> d91c8b176b04 [2022-02-10T17:08:28.534Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-10T17:08:28.820Z] ---> Running in 867016292c75 [2022-02-10T17:08:30.791Z] Removing intermediate container 867016292c75 [2022-02-10T17:08:30.791Z] ---> 513879cdfba5 [2022-02-10T17:08:30.791Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2022-02-10T17:08:30.791Z] ---> Running in 1c065979a795 [2022-02-10T17:08:31.763Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-10T17:08:32.350Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-10T17:08:32.942Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-10T17:08:33.532Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-10T17:08:33.532Z] (1/21) Installing ncurses-dev (6.2_p20210612-r0) [2022-02-10T17:08:33.804Z] (2/21) Installing libblkid (2.37.3-r0) [2022-02-10T17:08:33.804Z] (3/21) Installing blkid (2.37.3-r0) [2022-02-10T17:08:34.072Z] (4/21) Installing libcap-ng (0.8.2-r0) [2022-02-10T17:08:34.072Z] (5/21) Installing setpriv (2.37.3-r0) [2022-02-10T17:08:34.340Z] (6/21) Installing libmount (2.37.3-r0) [2022-02-10T17:08:34.340Z] (7/21) Installing libsmartcols (2.37.3-r0) [2022-02-10T17:08:34.340Z] (8/21) Installing findmnt (2.37.3-r0) [2022-02-10T17:08:34.609Z] (9/21) Installing mcookie (2.37.3-r0) [2022-02-10T17:08:34.609Z] (10/21) Installing hexdump (2.37.3-r0) [2022-02-10T17:08:34.609Z] (11/21) Installing lsblk (2.37.3-r0) [2022-02-10T17:08:34.877Z] (12/21) Installing libfdisk (2.37.3-r0) [2022-02-10T17:08:34.877Z] (13/21) Installing sfdisk (2.37.3-r0) [2022-02-10T17:08:34.877Z] (14/21) Installing cfdisk (2.37.3-r0) [2022-02-10T17:08:35.144Z] (15/21) Installing partx (2.37.3-r0) [2022-02-10T17:08:35.144Z] (16/21) Installing flock (2.37.3-r0) [2022-02-10T17:08:35.144Z] (17/21) Installing logger (2.37.3-r0) [2022-02-10T17:08:35.412Z] (18/21) Installing uuidgen (2.37.3-r0) [2022-02-10T17:08:35.412Z] (19/21) Installing libeconf (0.3.8-r1) [2022-02-10T17:08:35.412Z] (20/21) Installing util-linux (2.37.3-r0) [2022-02-10T17:08:36.003Z] (21/21) Installing util-linux-dev (2.37.3-r0) [2022-02-10T17:08:36.003Z] Executing busybox-1.33.1-r6.trigger [2022-02-10T17:08:36.003Z] OK: 286 MiB in 105 packages [2022-02-10T17:08:37.431Z] Removing intermediate container 1c065979a795 [2022-02-10T17:08:37.431Z] ---> e9214f69da06 [2022-02-10T17:08:37.431Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-02-10T17:08:38.021Z] ---> 5813f8d2497e [2022-02-10T17:08:38.021Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-02-10T17:08:38.616Z] ---> bd4995f23d27 [2022-02-10T17:08:38.616Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-02-10T17:08:39.208Z] ---> 43ac299c33b5 [2022-02-10T17:08:39.208Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-02-10T17:08:39.799Z] ---> 9b7b477d9091 [2022-02-10T17:08:39.799Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-02-10T17:08:40.392Z] ---> 65f547122331 [2022-02-10T17:08:40.392Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-02-10T17:08:40.988Z] ---> 5264b8863bc2 [2022-02-10T17:08:40.988Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-02-10T17:08:41.262Z] ---> Running in df124e667302 [2022-02-10T17:08:41.534Z] Removing intermediate container df124e667302 [2022-02-10T17:08:41.534Z] ---> a135eb6d2be2 [2022-02-10T17:08:41.534Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-02-10T17:08:41.805Z] ---> Running in 4c58fd1288c7 [2022-02-10T17:08:42.078Z] Removing intermediate container 4c58fd1288c7 [2022-02-10T17:08:42.078Z] ---> 8c981d04a7de [2022-02-10T17:08:42.078Z] Step 15/17 : LABEL arch=arm64 [2022-02-10T17:08:42.078Z] ---> Running in 88dc262871be [2022-02-10T17:08:42.670Z] Removing intermediate container 88dc262871be [2022-02-10T17:08:42.671Z] ---> 1304497baf2f [2022-02-10T17:08:42.671Z] Step 16/17 : LABEL git_sha=260ea64d1f6daf34a9337824e9b7fb5f9512c662 [2022-02-10T17:08:42.671Z] ---> Running in 7204f950b8f6 [2022-02-10T17:08:42.942Z] Removing intermediate container 7204f950b8f6 [2022-02-10T17:08:42.942Z] ---> 3114224405a4 [2022-02-10T17:08:42.942Z] Step 17/17 : LABEL version=0.0.0 [2022-02-10T17:08:42.942Z] ---> Running in b569af454e00 [2022-02-10T17:08:43.539Z] Removing intermediate container b569af454e00 [2022-02-10T17:08:43.539Z] ---> 109a468ffc81 [2022-02-10T17:08:43.539Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-02-10T17:08:43.539Z] Successfully built 109a468ffc81 [2022-02-10T17:08:43.539Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:08:43.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T17:08:43.960Z] [2022-02-10T17:08:43.960Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:08:44.305Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T17:08:44.577Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-10T17:08:44.577Z] 448f6bf000e3: Pulling fs layer [2022-02-10T17:08:44.577Z] f757da607395: Pulling fs layer [2022-02-10T17:08:44.577Z] 05883995daec: Pulling fs layer [2022-02-10T17:08:44.577Z] 8603b9c90790: Pulling fs layer [2022-02-10T17:08:44.577Z] 1560dd03e051: Pulling fs layer [2022-02-10T17:08:44.577Z] 27f5ce0e4adf: Pulling fs layer [2022-02-10T17:08:44.577Z] c2d8d7efcc4b: Pulling fs layer [2022-02-10T17:08:44.577Z] 1560dd03e051: Waiting [2022-02-10T17:08:44.577Z] 8603b9c90790: Waiting [2022-02-10T17:08:44.577Z] 27f5ce0e4adf: Waiting [2022-02-10T17:08:44.577Z] c2d8d7efcc4b: Waiting [2022-02-10T17:08:44.577Z] f757da607395: Verifying Checksum [2022-02-10T17:08:44.577Z] f757da607395: Download complete [2022-02-10T17:08:44.577Z] 8603b9c90790: Download complete [2022-02-10T17:08:44.577Z] 1560dd03e051: Verifying Checksum [2022-02-10T17:08:44.577Z] 1560dd03e051: Download complete [2022-02-10T17:08:44.850Z] 27f5ce0e4adf: Verifying Checksum [2022-02-10T17:08:44.850Z] 27f5ce0e4adf: Download complete [2022-02-10T17:08:44.850Z] 05883995daec: Verifying Checksum [2022-02-10T17:08:44.850Z] 05883995daec: Download complete [2022-02-10T17:08:45.123Z] 448f6bf000e3: Verifying Checksum [2022-02-10T17:08:45.123Z] 448f6bf000e3: Download complete [2022-02-10T17:08:47.733Z] c2d8d7efcc4b: Verifying Checksum [2022-02-10T17:08:47.733Z] c2d8d7efcc4b: Download complete [2022-02-10T17:08:48.705Z] 448f6bf000e3: Pull complete [2022-02-10T17:08:49.299Z] f757da607395: Pull complete [2022-02-10T17:08:50.731Z] 05883995daec: Pull complete [2022-02-10T17:08:51.003Z] 8603b9c90790: Pull complete [2022-02-10T17:08:51.977Z] 1560dd03e051: Pull complete [2022-02-10T17:08:52.249Z] 27f5ce0e4adf: Pull complete [2022-02-10T17:09:07.307Z] c2d8d7efcc4b: Pull complete [2022-02-10T17:09:07.307Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-10T17:09:07.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T17:09:07.307Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-10T17:09:07.521Z] prd-ubuntu18.04-docker-arm64-4c-16g-4998 does not seem to be running inside a container [2022-02-10T17:09:07.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-10T17:09:09.876Z] $ docker top 0f896418ed2b1e974b4fe4f363c6ccf331396e2316e2324b2431be35e554f1fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:09:10.772Z] ---> job-cost.sh [2022-02-10T17:09:10.772Z] lf-activate-venv: SKIPPING [2022-02-10T17:09:10.772Z] INFO: No Stack... [2022-02-10T17:09:11.042Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-10T17:09:11.312Z] INFO: Archiving Costs [Pipeline] sh [2022-02-10T17:09:11.969Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2022-02-10T17:09:11.969Z] + cut -d, -f6 [Pipeline] lock [2022-02-10T17:09:12.033Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-399-2-stack-cost] [2022-02-10T17:09:12.040Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-399-2-stack-cost] did not exist. Created. [2022-02-10T17:09:12.040Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-399-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-10T17:09:12.710Z] /w/workspace/device-sdk-c/2@tmp/durable-a7024105/script.sh: 1: /w/workspace/device-sdk-c/2@tmp/durable-a7024105/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-10T17:09:13.373Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-10T17:09:13.392Z] Warning: overwriting stash ‘stack-cost’ [2022-02-10T17:09:13.857Z] Stashed 1 file(s) [Pipeline] } [2022-02-10T17:09:13.864Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-399-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-10T17:09:13.882Z] $ docker stop --time=1 0f896418ed2b1e974b4fe4f363c6ccf331396e2316e2324b2431be35e554f1fe [2022-02-10T17:09:15.406Z] $ docker rm -f 0f896418ed2b1e974b4fe4f363c6ccf331396e2316e2324b2431be35e554f1fe [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-02-10T17:09:16.270Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-399/archives ']' [2022-02-10T17:09:16.270Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-399/archives [2022-02-10T17:09:16.270Z] total 8 [2022-02-10T17:09:16.270Z] drwxr-xr-x. 3 root root 34 Feb 10 17:03 . [2022-02-10T17:09:16.270Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 10 17:03 .. [2022-02-10T17:09:16.270Z] drwxr-xr-x. 2 root root 6 Feb 10 17:03 cost [2022-02-10T17:09:16.270Z] -rw-r--r--. 1 root root 83 Feb 10 17:03 cost.csv [2022-02-10T17:09:16.270Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-399/archives [2022-02-10T17:09:16.270Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-399/archives [2022-02-10T17:09:16.270Z] total 8 [2022-02-10T17:09:16.270Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 10 17:03 . [2022-02-10T17:09:16.270Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 10 17:03 .. [2022-02-10T17:09:16.270Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 10 17:03 cost [2022-02-10T17:09:16.270Z] -rw-r--r--. 1 jenkins jenkins 83 Feb 10 17:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:09:16.579Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:09:17.142Z] ---> package-listing.sh [2022-02-10T17:09:17.143Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-10T17:09:17.143Z] ++ facter osfamily [2022-02-10T17:09:17.403Z] + OS_FAMILY=redhat [2022-02-10T17:09:17.403Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-399 [2022-02-10T17:09:17.403Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-10T17:09:17.403Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-10T17:09:17.403Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-10T17:09:17.403Z] + PACKAGES=/tmp/packages_start.txt [2022-02-10T17:09:17.403Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-399 ']' [2022-02-10T17:09:17.403Z] + PACKAGES=/tmp/packages_end.txt [2022-02-10T17:09:17.403Z] + case "${OS_FAMILY}" in [2022-02-10T17:09:17.403Z] + sort [2022-02-10T17:09:17.403Z] + rpm -qa [2022-02-10T17:09:17.974Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-10T17:09:17.974Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-10T17:09:17.974Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-10T17:09:17.974Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-399 ']' [2022-02-10T17:09:17.974Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-399/archives/ [2022-02-10T17:09:17.974Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-399/archives/ [Pipeline] echo [2022-02-10T17:09:17.989Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-399/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-10T17:09:18.277Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:09:18.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T17:09:18.837Z] . [Pipeline] withDockerContainer [2022-02-10T17:09:18.909Z] prd-centos7-docker-4c-2g-4997 does not seem to be running inside a container [2022-02-10T17:09:18.964Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-399/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-399 -v /w/workspace/edgexfoundry_device-sdk-c_PR-399:/w/workspace/edgexfoundry_device-sdk-c_PR-399:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-10T17:09:19.185Z] $ docker top 3a0b2056d8f1c504dd1cb46a0ff7f9a78c2f0ba01ed79230d210fe7d7719ffd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-10T17:09:19.544Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-10T17:09:19.842Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-10T17:09:20.137Z] + ls /var/log/sa-host [2022-02-10T17:09:20.137Z] + sadf -c /var/log/sa-host/sa10 [2022-02-10T17:09:20.137Z] file_magic: OK [2022-02-10T17:09:20.137Z] HZ: Using current value: 100 [2022-02-10T17:09:20.137Z] file_header: OK [2022-02-10T17:09:20.137Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-10T17:09:20.137Z] Statistics: [2022-02-10T17:09:20.137Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-10T17:09:20.137Z] File successfully converted to sysstat format version 12.0.3 [2022-02-10T17:09:20.137Z] + sadf -c /var/log/sa-host/sa17 [2022-02-10T17:09:20.137Z] file_magic: OK [2022-02-10T17:09:20.137Z] HZ: Using current value: 100 [2022-02-10T17:09:20.137Z] file_header: OK [2022-02-10T17:09:20.137Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-10T17:09:20.137Z] Statistics: [2022-02-10T17:09:20.137Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-10T17:09:20.137Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T17:09:20.358Z] provisioning config files... [2022-02-10T17:09:20.368Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/config3485589918588325134tmp [Pipeline] { [Pipeline] echo [2022-02-10T17:09:20.380Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:09:20.667Z] ---> create-netrc.sh [Pipeline] } [2022-02-10T17:09:20.674Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:09:21.013Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-10T17:09:21.023Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:09:21.314Z] ---> sudo-logs.sh [2022-02-10T17:09:21.314Z] Archiving 'sudo' log.. [2022-02-10T17:09:21.314Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4997.novalocal: Name or service not known [2022-02-10T17:09:21.314Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4997.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-10T17:09:21.348Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:09:21.634Z] ---> job-cost.sh [2022-02-10T17:09:21.634Z] lf-activate-venv: SKIPPING [2022-02-10T17:09:21.634Z] DEBUG: total: 0.05999999865889549 [2022-02-10T17:09:21.634Z] INFO: Retrieving Stack Cost... [2022-02-10T17:09:22.205Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-10T17:09:22.466Z] INFO: Archiving Costs [Pipeline] echo [2022-02-10T17:09:22.481Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:09:22.769Z] ---> logs-deploy.sh [2022-02-10T17:09:22.769Z] lf-activate-venv: SKIPPING [2022-02-10T17:09:22.769Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-399/2 [2022-02-10T17:09:22.769Z] INFO: archiving workspace using pattern(s): [2022-02-10T17:09:23.340Z] Archives upload complete. [2022-02-10T17:09:23.601Z] INFO: archiving logs to Nexus