Pull request #396 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from e05508a3cfac6281449c00e5bc1f9c19cdf5daef+8c74ffe4fc698c219175e751f1cca4a77f9c9083 (e794f6c16569f02fd56ef2628e7d9b654f256b1a) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12021236844566153473.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4796208213392811025.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-396/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-396/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh861998842664769454.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10410905213989847143.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-396/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-396/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16610063931375549350.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4433 in /w/workspace/edgexfoundry_device-sdk-c_PR-396 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-396 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/jenkins-gitclient-ssh5714448162362912219.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8c74ffe4fc698c219175e751f1cca4a77f9c9083 into PR head commit e05508a3cfac6281449c00e5bc1f9c19cdf5daef Merge succeeded, producing e05508a3cfac6281449c00e5bc1f9c19cdf5daef Checking out Revision e05508a3cfac6281449c00e5bc1f9c19cdf5daef (PR-396) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/jenkins-gitclient-ssh8466748576961273169.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e05508a3cfac6281449c00e5bc1f9c19cdf5daef # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/jenkins-gitclient-ssh157228778341067364.key > git merge 8c74ffe4fc698c219175e751f1cca4a77f9c9083 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e05508a3cfac6281449c00e5bc1f9c19cdf5daef # timeout=10 Commit message: "fix: retry attempts to resolve service endpoints from registry (#394)" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk d85d632fe5c36600cf4491fc43fab161c21463c2 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-02T13:29:11.598Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-02T13:29:11.654Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-02T13:29:11.672Z] ========================================================= [2022-02-02T13:29:11.672Z] EdgeX Global Pipelines Version Info [2022-02-02T13:29:11.672Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-02T13:29:12.793Z] ------------------- [2022-02-02T13:29:12.793Z] stable info: [2022-02-02T13:29:12.793Z] ------------------- [2022-02-02T13:29:12.793Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-02T13:29:12.793Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-02T13:29:12.793Z] Message: update stable to v1.0.220 [2022-02-02T13:29:13.371Z] ------------------- [2022-02-02T13:29:13.371Z] experimental info: [2022-02-02T13:29:13.371Z] ------------------- [2022-02-02T13:29:13.371Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-02T13:29:13.371Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-02T13:29:13.371Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-02T13:29:13.514Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-02-02T13:29:13.523Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-02-02T13:29:13.530Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-02T13:29:13.538Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-02T13:29:13.546Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-02T13:29:13.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-02-02T13:29:13.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-02-02T13:29:13.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-02T13:29:13.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-02T13:29:13.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-02-02T13:29:13.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-02T13:29:13.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-02T13:29:13.607Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-02T13:29:13.615Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-02T13:29:13.623Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-02T13:29:13.631Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-02T13:29:13.646Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-02T13:29:13.656Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-396 [Pipeline] echo [2022-02-02T13:29:13.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-396 [Pipeline] echo [2022-02-02T13:29:13.679Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-396 [Pipeline] echo [2022-02-02T13:29:13.690Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e05508a3cfac6281449c00e5bc1f9c19cdf5daef [Pipeline] echo [2022-02-02T13:29:13.701Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e05508a [Pipeline] echo [2022-02-02T13:29:13.712Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-02T13:29:13.753Z] provisioning config files... [2022-02-02T13:29:13.764Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/config8208612293622336459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-02T13:29:14.077Z] ---> docker-login.sh [2022-02-02T13:29:14.077Z] nexus3.edgexfoundry.org:10001 [2022-02-02T13:29:14.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T13:29:14.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T13:29:14.340Z] Configure a credential helper to remove this warning. See [2022-02-02T13:29:14.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T13:29:14.340Z] [2022-02-02T13:29:14.340Z] Login Succeeded [2022-02-02T13:29:14.340Z] nexus3.edgexfoundry.org:10002 [2022-02-02T13:29:14.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T13:29:14.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T13:29:14.340Z] Configure a credential helper to remove this warning. See [2022-02-02T13:29:14.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T13:29:14.340Z] [2022-02-02T13:29:14.340Z] Login Succeeded [2022-02-02T13:29:14.340Z] nexus3.edgexfoundry.org:10003 [2022-02-02T13:29:14.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T13:29:14.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T13:29:14.602Z] Configure a credential helper to remove this warning. See [2022-02-02T13:29:14.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T13:29:14.602Z] [2022-02-02T13:29:14.602Z] Login Succeeded [2022-02-02T13:29:14.602Z] nexus3.edgexfoundry.org:10004 [2022-02-02T13:29:14.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T13:29:14.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T13:29:14.602Z] Configure a credential helper to remove this warning. See [2022-02-02T13:29:14.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T13:29:14.602Z] [2022-02-02T13:29:14.602Z] Login Succeeded [2022-02-02T13:29:14.602Z] docker.io [2022-02-02T13:29:14.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T13:29:15.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T13:29:15.181Z] Configure a credential helper to remove this warning. See [2022-02-02T13:29:15.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T13:29:15.181Z] [2022-02-02T13:29:15.181Z] Login Succeeded [2022-02-02T13:29:15.181Z] ---> docker-login.sh ends [Pipeline] } [2022-02-02T13:29:15.189Z] 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-02T13:29:15.580Z] + git rev-list -1 --merges e05508a3cfac6281449c00e5bc1f9c19cdf5daef~1..e05508a3cfac6281449c00e5bc1f9c19cdf5daef [Pipeline] echo [2022-02-02T13:29:15.613Z] -----------> git rev-list -1 --merges e05508a3cfac6281449c00e5bc1f9c19cdf5daef~1..e05508a3cfac6281449c00e5bc1f9c19cdf5daef e05508a3cfac6281449c00e5bc1f9c19cdf5daef [false] [Pipeline] sh [2022-02-02T13:29:15.913Z] + git log --format=format:%s -1 e05508a3cfac6281449c00e5bc1f9c19cdf5daef [Pipeline] echo [2022-02-02T13:29:15.928Z] ========================================================= [2022-02-02T13:29:15.928Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-02T13:29:15.928Z] ========================================================= 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-02T13:29:16.324Z] + git rev-list -1 --merges e05508a3cfac6281449c00e5bc1f9c19cdf5daef~1..e05508a3cfac6281449c00e5bc1f9c19cdf5daef [Pipeline] echo [2022-02-02T13:29:16.337Z] -----------> git rev-list -1 --merges e05508a3cfac6281449c00e5bc1f9c19cdf5daef~1..e05508a3cfac6281449c00e5bc1f9c19cdf5daef e05508a3cfac6281449c00e5bc1f9c19cdf5daef [false] [Pipeline] sh [2022-02-02T13:29:16.632Z] + git log --format=format:%s -1 e05508a3cfac6281449c00e5bc1f9c19cdf5daef [Pipeline] echo [2022-02-02T13:29:16.648Z] ========================================================= [2022-02-02T13:29:16.648Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-02T13:29:16.648Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-02-02T13:29:17.187Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-02T13:29:17.187Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-02T13:29:17.187Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-02T13:29:17.187Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-02T13:29:17.187Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-02T13:29:17.187Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-02T13:29:17.187Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-02T13:29:17.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-02T13:29:17.605Z] [2022-02-02T13:29:17.605Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-02T13:29:17.913Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-02T13:29:17.913Z] latest: Pulling from edgex-devops/git-semver [2022-02-02T13:29:17.913Z] a0d0a0d46f8b: Pulling fs layer [2022-02-02T13:29:17.913Z] 3e5f54012d9b: Pulling fs layer [2022-02-02T13:29:17.913Z] 4c7163046ea9: Pulling fs layer [2022-02-02T13:29:17.913Z] 0c2d73faf560: Pulling fs layer [2022-02-02T13:29:17.913Z] 0c2d73faf560: Waiting [2022-02-02T13:29:17.913Z] 3e5f54012d9b: Verifying Checksum [2022-02-02T13:29:17.913Z] 3e5f54012d9b: Download complete [2022-02-02T13:29:17.913Z] a0d0a0d46f8b: Verifying Checksum [2022-02-02T13:29:17.913Z] a0d0a0d46f8b: Download complete [2022-02-02T13:29:17.913Z] 0c2d73faf560: Verifying Checksum [2022-02-02T13:29:17.913Z] 0c2d73faf560: Download complete [2022-02-02T13:29:17.913Z] 4c7163046ea9: Verifying Checksum [2022-02-02T13:29:17.913Z] 4c7163046ea9: Download complete [2022-02-02T13:29:18.183Z] a0d0a0d46f8b: Pull complete [2022-02-02T13:29:18.183Z] 3e5f54012d9b: Pull complete [2022-02-02T13:29:18.443Z] 4c7163046ea9: Pull complete [2022-02-02T13:29:18.706Z] 0c2d73faf560: Pull complete [2022-02-02T13:29:18.706Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-02T13:29:18.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-02T13:29:18.706Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-02T13:29:18.775Z] prd-centos7-docker-4c-2g-4433 does not seem to be running inside a container [2022-02-02T13:29:18.792Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-396 -v /w/workspace/edgexfoundry_device-sdk-c_PR-396:/w/workspace/edgexfoundry_device-sdk-c_PR-396:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-02T13:29:19.403Z] $ docker top d74cd0b09d701fe8d771e93be26005c8144fa8a8edd478848fdd4a7498ab975b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-02T13:29:19.523Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-02T13:29:19.523Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-02T13:29:19.634Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-02T13:29:19.615Z] $ docker exec d74cd0b09d701fe8d771e93be26005c8144fa8a8edd478848fdd4a7498ab975b ssh-agent [2022-02-02T13:29:19.729Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPAhgfe/agent.14 [2022-02-02T13:29:19.729Z] SSH_AGENT_PID=21 [2022-02-02T13:29:19.738Z] Running ssh-add (command line suppressed) [2022-02-02T13:29:19.795Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/private_key_5761348133306013136.key (/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/private_key_5761348133306013136.key) [2022-02-02T13:29:19.831Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-02T13:29:20.121Z] + git tag --points-at HEAD [Pipeline] } [2022-02-02T13:29:20.112Z] $ docker exec --env ******** --env ******** d74cd0b09d701fe8d771e93be26005c8144fa8a8edd478848fdd4a7498ab975b ssh-agent -k [2022-02-02T13:29:20.192Z] unset SSH_AUTH_SOCK; [2022-02-02T13:29:20.192Z] unset SSH_AGENT_PID; [2022-02-02T13:29:20.192Z] echo Agent pid 21 killed; [2022-02-02T13:29:20.222Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-02T13:29:20.252Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-02T13:29:20.252Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-02T13:29:20.356Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-02T13:29:20.337Z] $ docker exec d74cd0b09d701fe8d771e93be26005c8144fa8a8edd478848fdd4a7498ab975b ssh-agent [2022-02-02T13:29:20.457Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHHLCLe/agent.54 [2022-02-02T13:29:20.457Z] SSH_AGENT_PID=61 [2022-02-02T13:29:20.462Z] Running ssh-add (command line suppressed) [2022-02-02T13:29:20.531Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/private_key_4436479244416023102.key (/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/private_key_4436479244416023102.key) [2022-02-02T13:29:20.565Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-02T13:29:20.865Z] + git semver init [2022-02-02T13:29:20.866Z] # -> Open(): unable to determine branch for HEAD [2022-02-02T13:29:20.866Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-396/.git [2022-02-02T13:29:20.866Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-396 [2022-02-02T13:29:20.866Z] # $SEMVER_REMOTE_NAME = origin [2022-02-02T13:29:20.866Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-02T13:29:20.866Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-02T13:29:20.866Z] # $SEMVER_BRANCH = PR-396 [2022-02-02T13:29:20.866Z] # $SEMVER_TEMP = /tmp/semver-073465011 [2022-02-02T13:29:20.866Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2022-02-02T13:29:21.811Z] # '/tmp/semver-073465011' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-396/.semver' [2022-02-02T13:29:21.811Z] # -> Force: false [2022-02-02T13:29:21.811Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-396/.semver [Pipeline] } [2022-02-02T13:29:21.801Z] $ docker exec --env ******** --env ******** d74cd0b09d701fe8d771e93be26005c8144fa8a8edd478848fdd4a7498ab975b ssh-agent -k [2022-02-02T13:29:21.884Z] unset SSH_AUTH_SOCK; [2022-02-02T13:29:21.885Z] unset SSH_AGENT_PID; [2022-02-02T13:29:21.885Z] echo Agent pid 61 killed; [2022-02-02T13:29:21.915Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-02T13:29:22.226Z] + git semver [Pipeline] } [2022-02-02T13:29:22.218Z] $ docker stop --time=1 d74cd0b09d701fe8d771e93be26005c8144fa8a8edd478848fdd4a7498ab975b [2022-02-02T13:29:23.602Z] $ docker rm -f d74cd0b09d701fe8d771e93be26005c8144fa8a8edd478848fdd4a7498ab975b [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-02T13:29:23.982Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-02T13:29:24.191Z] Stashed 1 file(s) [Pipeline] echo [2022-02-02T13:29:24.195Z] [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-02T13:29:24.321Z] provisioning config files... [2022-02-02T13:29:24.331Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/config118653827039778060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-02T13:29:24.632Z] ---> docker-login.sh [2022-02-02T13:29:24.632Z] nexus3.edgexfoundry.org:10001 [2022-02-02T13:29:24.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T13:29:24.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T13:29:24.632Z] Configure a credential helper to remove this warning. See [2022-02-02T13:29:24.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T13:29:24.632Z] [2022-02-02T13:29:24.632Z] Login Succeeded [2022-02-02T13:29:24.632Z] nexus3.edgexfoundry.org:10002 [2022-02-02T13:29:24.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T13:29:24.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T13:29:24.632Z] Configure a credential helper to remove this warning. See [2022-02-02T13:29:24.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T13:29:24.632Z] [2022-02-02T13:29:24.632Z] Login Succeeded [2022-02-02T13:29:24.632Z] nexus3.edgexfoundry.org:10003 [2022-02-02T13:29:24.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T13:29:24.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T13:29:24.896Z] Configure a credential helper to remove this warning. See [2022-02-02T13:29:24.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T13:29:24.896Z] [2022-02-02T13:29:24.896Z] Login Succeeded [2022-02-02T13:29:24.896Z] nexus3.edgexfoundry.org:10004 [2022-02-02T13:29:24.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T13:29:24.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T13:29:24.896Z] Configure a credential helper to remove this warning. See [2022-02-02T13:29:24.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T13:29:24.896Z] [2022-02-02T13:29:24.896Z] Login Succeeded [2022-02-02T13:29:24.896Z] docker.io [2022-02-02T13:29:24.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T13:29:25.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T13:29:25.467Z] Configure a credential helper to remove this warning. See [2022-02-02T13:29:25.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T13:29:25.467Z] [2022-02-02T13:29:25.467Z] Login Succeeded [2022-02-02T13:29:25.467Z] ---> docker-login.sh ends [Pipeline] } [2022-02-02T13:29:25.479Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-02T13:29:25.543Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-02T13:29:25.553Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-02-02T13:29:25.565Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-02T13:29:25.573Z] ========================================================= [2022-02-02T13:29:25.573Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-02-02T13:29:25.573Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-02T13:29:25.867Z] + 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-02T13:29:25.867Z] Sending build context to Docker daemon 4.503MB [2022-02-02T13:29:25.867Z] Step 1/24 : ARG BASE=alpine:3.14 [2022-02-02T13:29:25.867Z] Step 2/24 : FROM ${BASE} as builder [2022-02-02T13:29:25.867Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-02-02T13:29:25.867Z] a0d0a0d46f8b: Already exists [2022-02-02T13:29:25.867Z] 39017ce70367: Pulling fs layer [2022-02-02T13:29:25.867Z] dcf9283bb20a: Pulling fs layer [2022-02-02T13:29:25.867Z] 39017ce70367: Verifying Checksum [2022-02-02T13:29:25.867Z] 39017ce70367: Download complete [2022-02-02T13:29:26.127Z] 39017ce70367: Pull complete [2022-02-02T13:29:26.389Z] dcf9283bb20a: Verifying Checksum [2022-02-02T13:29:26.389Z] dcf9283bb20a: Download complete [2022-02-02T13:29:29.760Z] dcf9283bb20a: Pull complete [2022-02-02T13:29:29.760Z] Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 [2022-02-02T13:29:29.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-02-02T13:29:29.760Z] ---> a4e04833b611 [2022-02-02T13:29:29.760Z] 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-02T13:29:30.333Z] ---> Running in 5e732f52ef3f [2022-02-02T13:29:30.594Z] Connecting to iotech.jfrog.io (54.74.239.58:443) [2022-02-02T13:29:31.167Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-02T13:29:31.167Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-02T13:29:31.167Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-02T13:29:31.167Z] Removing intermediate container 5e732f52ef3f [2022-02-02T13:29:31.167Z] ---> 27bef9eb9b2f [2022-02-02T13:29:31.167Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-02T13:29:31.167Z] ---> Running in fe552bb117c7 [2022-02-02T13:29:31.756Z] Removing intermediate container fe552bb117c7 [2022-02-02T13:29:31.756Z] ---> ca3ccbd8e064 [2022-02-02T13:29:31.756Z] 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-02T13:29:31.756Z] ---> Running in a968d8307220 [2022-02-02T13:29:32.016Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-02T13:29:32.961Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-02T13:29:33.223Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-02T13:29:33.795Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-02T13:29:33.795Z] (1/27) Installing hiredis (1.0.0-r0) [2022-02-02T13:29:33.795Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2022-02-02T13:29:33.795Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2022-02-02T13:29:34.056Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-02T13:29:34.629Z] (5/27) Installing libblkid (2.37.2-r0) [2022-02-02T13:29:34.890Z] (6/27) Installing blkid (2.37.2-r0) [2022-02-02T13:29:34.890Z] (7/27) Installing libcap-ng (0.8.2-r0) [2022-02-02T13:29:35.150Z] (8/27) Installing setpriv (2.37.2-r0) [2022-02-02T13:29:35.150Z] (9/27) Installing libmount (2.37.2-r0) [2022-02-02T13:29:35.150Z] (10/27) Installing libsmartcols (2.37.2-r0) [2022-02-02T13:29:35.413Z] (11/27) Installing findmnt (2.37.2-r0) [2022-02-02T13:29:35.413Z] (12/27) Installing mcookie (2.37.2-r0) [2022-02-02T13:29:35.413Z] (13/27) Installing hexdump (2.37.2-r0) [2022-02-02T13:29:35.674Z] (14/27) Installing lsblk (2.37.2-r0) [2022-02-02T13:29:35.674Z] (15/27) Installing libuuid (2.37.2-r0) [2022-02-02T13:29:35.935Z] (16/27) Installing libfdisk (2.37.2-r0) [2022-02-02T13:29:35.935Z] (17/27) Installing sfdisk (2.37.2-r0) [2022-02-02T13:29:35.935Z] (18/27) Installing cfdisk (2.37.2-r0) [2022-02-02T13:29:36.195Z] (19/27) Installing partx (2.37.2-r0) [2022-02-02T13:29:36.195Z] (20/27) Installing flock (2.37.2-r0) [2022-02-02T13:29:36.195Z] (21/27) Installing logger (2.37.2-r0) [2022-02-02T13:29:36.457Z] (22/27) Installing uuidgen (2.37.2-r0) [2022-02-02T13:29:36.457Z] (23/27) Installing libeconf (0.3.8-r1) [2022-02-02T13:29:36.457Z] (24/27) Installing util-linux (2.37.2-r0) [2022-02-02T13:29:36.718Z] (25/27) Installing util-linux-dev (2.37.2-r0) [2022-02-02T13:29:36.978Z] (26/27) Installing libidn2 (2.3.1-r0) [2022-02-02T13:29:36.978Z] (27/27) Installing wget (1.21.1-r1) [2022-02-02T13:29:36.978Z] Executing busybox-1.33.1-r3.trigger [2022-02-02T13:29:36.978Z] OK: 290 MiB in 104 packages [2022-02-02T13:29:37.552Z] Removing intermediate container a968d8307220 [2022-02-02T13:29:37.552Z] ---> 25a26184e16d [2022-02-02T13:29:37.552Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2022-02-02T13:29:37.552Z] ---> Running in 4cbf3f597b42 [2022-02-02T13:29:37.816Z] Removing intermediate container 4cbf3f597b42 [2022-02-02T13:29:37.816Z] ---> 2a8e3afcf33b [2022-02-02T13:29:37.816Z] 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-02T13:29:37.816Z] ---> Running in 8870de46ad27 [2022-02-02T13:29:38.077Z] --2022-02-02 13:29:37-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2022-02-02T13:29:38.077Z] Resolving github.com (github.com)... 140.82.114.3 [2022-02-02T13:29:38.077Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2022-02-02T13:29:38.077Z] HTTP request sent, awaiting response... 302 Found [2022-02-02T13:29:38.077Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2022-02-02T13:29:38.077Z] --2022-02-02 13:29:37-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2022-02-02T13:29:38.077Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2022-02-02T13:29:38.077Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2022-02-02T13:29:38.339Z] HTTP request sent, awaiting response... 200 OK [2022-02-02T13:29:38.339Z] Length: unspecified [application/x-gzip] [2022-02-02T13:29:38.339Z] Saving to: 'STDOUT' [2022-02-02T13:29:38.339Z] [2022-02-02T13:29:38.339Z] 0K .......... .......... .......... .......... .......... 1.22M [2022-02-02T13:29:38.339Z] 50K .......... .......... .......... .......... .......... 2.47M [2022-02-02T13:29:38.339Z] 100K .......... .......... .......... .......... .......... 55.2M [2022-02-02T13:29:38.339Z] 150K .......... .......... .......... .......... .......... 2.55M [2022-02-02T13:29:38.339Z] 200K .......... .......... .......... .......... .......... 59.8M [2022-02-02T13:29:38.339Z] 250K .......... .......... .......... .......... .......... 6.55M [2022-02-02T13:29:38.339Z] 300K .......... .......... .......... .......... .......... 4.21M [2022-02-02T13:29:38.339Z] 350K .......... .......... .......... .......... .......... 27.1M [2022-02-02T13:29:38.339Z] 400K .......... .......... .......... .......... .......... 6.41M [2022-02-02T13:29:38.339Z] 450K .......... .......... .......... .......... .......... 10.4M [2022-02-02T13:29:38.339Z] 500K .......... .......... .......... .......... .......... 8.26M [2022-02-02T13:29:38.339Z] 550K .......... .......... .......... .......... .......... 9.48M [2022-02-02T13:29:38.339Z] 600K .......... .......... .......... .......... .......... 5.10M [2022-02-02T13:29:38.339Z] 650K .......... .......... .......... .......... .......... 7.59M [2022-02-02T13:29:38.339Z] 700K .. 51.9M=0.1s [2022-02-02T13:29:38.339Z] [2022-02-02T13:29:38.339Z] 2022-02-02 13:29:38 (4.87 MB/s) - written to stdout [719348] [2022-02-02T13:29:38.339Z] [2022-02-02T13:29:38.602Z] -- The C compiler identification is GNU 10.3.1 [2022-02-02T13:29:38.602Z] -- The CXX compiler identification is GNU 10.3.1 [2022-02-02T13:29:38.602Z] -- Detecting C compiler ABI info [2022-02-02T13:29:38.602Z] -- Detecting C compiler ABI info - done [2022-02-02T13:29:38.602Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-02T13:29:38.602Z] -- Detecting C compile features [2022-02-02T13:29:38.602Z] -- Detecting C compile features - done [2022-02-02T13:29:38.602Z] -- Detecting CXX compiler ABI info [2022-02-02T13:29:38.866Z] -- Detecting CXX compiler ABI info - done [2022-02-02T13:29:38.866Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2022-02-02T13:29:38.866Z] -- Detecting CXX compile features [2022-02-02T13:29:38.866Z] -- Detecting CXX compile features - done [2022-02-02T13:29:38.866Z] -- Looking for include file endian.h [2022-02-02T13:29:38.866Z] -- Looking for include file endian.h - found [2022-02-02T13:29:38.866Z] -- Looking for sys/types.h [2022-02-02T13:29:38.866Z] -- Looking for sys/types.h - found [2022-02-02T13:29:38.866Z] -- Looking for stdint.h [2022-02-02T13:29:38.866Z] -- Looking for stdint.h - found [2022-02-02T13:29:38.866Z] -- Looking for stddef.h [2022-02-02T13:29:39.129Z] -- Looking for stddef.h - found [2022-02-02T13:29:39.129Z] -- Check size of size_t [2022-02-02T13:29:39.129Z] -- Check size of size_t - done [2022-02-02T13:29:39.129Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2022-02-02T13:29:39.129Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2022-02-02T13:29:39.129Z] asked CMake to find a package configuration file provided by "cJSON", but [2022-02-02T13:29:39.129Z] CMake did not find one. [2022-02-02T13:29:39.129Z] [2022-02-02T13:29:39.129Z] Could not find a package configuration file provided by "cJSON" with any of [2022-02-02T13:29:39.129Z] the following names: [2022-02-02T13:29:39.129Z] [2022-02-02T13:29:39.129Z] cJSONConfig.cmake [2022-02-02T13:29:39.129Z] cjson-config.cmake [2022-02-02T13:29:39.129Z] [2022-02-02T13:29:39.129Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2022-02-02T13:29:39.129Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2022-02-02T13:29:39.129Z] provides a separate development package or SDK, be sure it has been [2022-02-02T13:29:39.129Z] installed. [2022-02-02T13:29:39.129Z] [2022-02-02T13:29:39.129Z] [2022-02-02T13:29:39.129Z] -- Configuring done [2022-02-02T13:29:39.129Z] -- Generating done [2022-02-02T13:29:39.129Z] -- Build files have been written to: /tmp/cbor [2022-02-02T13:29:39.129Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2022-02-02T13:29:39.281Z] Still waiting to schedule task [2022-02-02T13:29:39.281Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-02T13:29:39.391Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2022-02-02T13:29:39.391Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2022-02-02T13:29:39.653Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2022-02-02T13:29:39.653Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2022-02-02T13:29:39.653Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2022-02-02T13:29:39.918Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2022-02-02T13:29:39.918Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2022-02-02T13:29:39.918Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2022-02-02T13:29:39.918Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2022-02-02T13:29:40.188Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2022-02-02T13:29:40.189Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2022-02-02T13:29:40.189Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2022-02-02T13:29:40.448Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2022-02-02T13:29:40.448Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2022-02-02T13:29:40.448Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2022-02-02T13:29:40.448Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2022-02-02T13:29:40.733Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2022-02-02T13:29:40.733Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2022-02-02T13:29:40.733Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2022-02-02T13:29:40.733Z] [ 40%] Linking C shared library libcbor.so [2022-02-02T13:29:40.733Z] [ 40%] Built target cbor_shared [2022-02-02T13:29:40.733Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2022-02-02T13:29:40.996Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2022-02-02T13:29:40.996Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2022-02-02T13:29:41.259Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2022-02-02T13:29:41.521Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2022-02-02T13:29:41.521Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2022-02-02T13:29:41.521Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2022-02-02T13:29:41.783Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2022-02-02T13:29:41.783Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2022-02-02T13:29:41.783Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2022-02-02T13:29:42.057Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2022-02-02T13:29:42.057Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2022-02-02T13:29:42.057Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2022-02-02T13:29:42.323Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2022-02-02T13:29:42.323Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2022-02-02T13:29:42.323Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2022-02-02T13:29:42.323Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2022-02-02T13:29:42.585Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2022-02-02T13:29:42.585Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2022-02-02T13:29:42.585Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2022-02-02T13:29:42.585Z] [ 80%] Linking C static library libcbor.a [2022-02-02T13:29:42.847Z] [ 80%] Built target cbor [2022-02-02T13:29:42.847Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2022-02-02T13:29:42.847Z] [ 84%] Linking C executable readfile [2022-02-02T13:29:42.847Z] [ 84%] Built target readfile [2022-02-02T13:29:42.847Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2022-02-02T13:29:42.847Z] [ 88%] Linking C executable create_items [2022-02-02T13:29:42.847Z] [ 88%] Built target create_items [2022-02-02T13:29:42.847Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2022-02-02T13:29:42.847Z] [ 92%] Linking C executable sort [2022-02-02T13:29:43.112Z] [ 92%] Built target sort [2022-02-02T13:29:43.112Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2022-02-02T13:29:43.112Z] [ 96%] Linking C executable hello [2022-02-02T13:29:43.112Z] [ 96%] Built target hello [2022-02-02T13:29:43.112Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2022-02-02T13:29:43.112Z] [100%] Linking C executable streaming_parser [2022-02-02T13:29:43.112Z] [100%] Built target streaming_parser [2022-02-02T13:29:43.112Z] Install the project... [2022-02-02T13:29:43.112Z] -- Install configuration: "Release" [2022-02-02T13:29:43.112Z] -- Installing: /usr/local/include/cbor/configuration.h [2022-02-02T13:29:43.112Z] -- Installing: /usr/local/lib/libcbor.a [2022-02-02T13:29:43.112Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2022-02-02T13:29:43.112Z] -- Installing: /usr/local/lib/libcbor.so.0 [2022-02-02T13:29:43.112Z] -- Installing: /usr/local/lib/libcbor.so [2022-02-02T13:29:43.112Z] -- Up-to-date: /usr/local/include/cbor [2022-02-02T13:29:43.112Z] -- Installing: /usr/local/include/cbor/arrays.h [2022-02-02T13:29:43.112Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/callbacks.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/common.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/data.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/encoding.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/internal [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/ints.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/maps.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/serialization.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/streaming.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/strings.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor/tags.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/include/cbor.h [2022-02-02T13:29:43.113Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2022-02-02T13:29:43.688Z] Removing intermediate container 8870de46ad27 [2022-02-02T13:29:43.688Z] ---> b9779a88cba5 [2022-02-02T13:29:43.688Z] Step 8/24 : RUN mkdir /tmp/sdk [2022-02-02T13:29:43.688Z] ---> Running in dede592b06ea [2022-02-02T13:29:44.262Z] Removing intermediate container dede592b06ea [2022-02-02T13:29:44.262Z] ---> c7b17e3f6f59 [2022-02-02T13:29:44.262Z] Step 9/24 : COPY VERSION /tmp/sdk [2022-02-02T13:29:44.262Z] ---> 718e32c755d7 [2022-02-02T13:29:44.262Z] Step 10/24 : COPY src /tmp/sdk/src [2022-02-02T13:29:44.523Z] ---> 5674fe39775f [2022-02-02T13:29:44.523Z] Step 11/24 : COPY include /tmp/sdk/include [2022-02-02T13:29:44.785Z] ---> 526bb284dc84 [2022-02-02T13:29:44.785Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2022-02-02T13:29:44.785Z] ---> 093256bb76a9 [2022-02-02T13:29:44.785Z] Step 13/24 : COPY LICENSE /tmp/sdk [2022-02-02T13:29:45.049Z] ---> fa75532854d6 [2022-02-02T13:29:45.049Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2022-02-02T13:29:45.049Z] ---> de5802be8ce8 [2022-02-02T13:29:45.049Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-02-02T13:29:45.049Z] ---> Running in db60914d00e8 [2022-02-02T13:29:45.311Z] + CPPCHECK=false [2022-02-02T13:29:45.311Z] + DOCGEN=false [2022-02-02T13:29:45.311Z] + TOMLVER=SDK-0.2 [2022-02-02T13:29:45.311Z] + CUTILVER=1.2.2 [2022-02-02T13:29:45.311Z] + '[' 0 -gt 0 ] [2022-02-02T13:29:45.311Z] + readlink -f ./scripts/build.sh [2022-02-02T13:29:45.311Z] + dirname /tmp/sdk/scripts/build.sh [2022-02-02T13:29:45.311Z] + dirname /tmp/sdk/scripts [2022-02-02T13:29:45.311Z] + ROOT=/tmp/sdk [2022-02-02T13:29:45.311Z] + cd /tmp/sdk [2022-02-02T13:29:45.311Z] + '[' '!' -d deps ] [2022-02-02T13:29:45.311Z] + mkdir deps [2022-02-02T13:29:45.311Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-02T13:29:45.311Z] + tar -C deps -z -x -f - [2022-02-02T13:29:45.311Z] --2022-02-02 13:29:45-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-02T13:29:45.311Z] Resolving github.com (github.com)... 140.82.114.3 [2022-02-02T13:29:45.311Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2022-02-02T13:29:45.572Z] HTTP request sent, awaiting response... 302 Found [2022-02-02T13:29:45.572Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2022-02-02T13:29:45.572Z] --2022-02-02 13:29:45-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2022-02-02T13:29:45.572Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2022-02-02T13:29:45.572Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2022-02-02T13:29:46.517Z] HTTP request sent, awaiting response... 200 OK [2022-02-02T13:29:46.517Z] Length: unspecified [application/x-gzip] [2022-02-02T13:29:46.517Z] Saving to: 'STDOUT' [2022-02-02T13:29:46.517Z]  [2022-02-02T13:29:46.517Z] 0K .......... ......  801K=0.02s [2022-02-02T13:29:46.517Z] [2022-02-02T13:29:46.517Z] 2022-02-02 13:29:46 (801 KB/s) - written to stdout [16451] [2022-02-02T13:29:46.517Z] [2022-02-02T13:29:46.517Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-02-02T13:29:46.517Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-02T13:29:46.517Z] + tar -C deps -z -x -f - [2022-02-02T13:29:46.517Z] --2022-02-02 13:29:46-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-02T13:29:46.517Z] Resolving github.com (github.com)... 140.82.114.3 [2022-02-02T13:29:46.517Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2022-02-02T13:29:46.517Z] HTTP request sent, awaiting response... 302 Found [2022-02-02T13:29:46.517Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2022-02-02T13:29:46.517Z] --2022-02-02 13:29:46-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2022-02-02T13:29:46.517Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2022-02-02T13:29:46.517Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2022-02-02T13:29:46.778Z] HTTP request sent, awaiting response... 200 OK [2022-02-02T13:29:46.778Z] Length: unspecified [application/x-gzip] [2022-02-02T13:29:46.778Z] Saving to: 'STDOUT' [2022-02-02T13:29:46.778Z] [2022-02-02T13:29:46.778Z] 0K .......... .......... .......... .......... .......... 1.23M [2022-02-02T13:29:46.778Z] 50K .......... .......... .......... .......... .......... 2.48M [2022-02-02T13:29:46.778Z] 100K .......... .......... .......... .......... .......... 25.6M [2022-02-02T13:29:46.778Z] 150K .......... .......... .......... ......... 3.64M=0.07s [2022-02-02T13:29:46.778Z] [2022-02-02T13:29:46.778Z] 2022-02-02 13:29:46 (2.58 MB/s) - written to stdout [193961] [2022-02-02T13:29:46.778Z] [2022-02-02T13:29:46.778Z] + mkdir -p src/c/iot [2022-02-02T13:29:46.778Z] + 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-02T13:29:46.778Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-02-02T13:29:46.778Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-02-02T13:29:46.778Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-02-02T13:29:46.778Z] + mkdir -p include/iot [2022-02-02T13:29:46.778Z] + 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-02T13:29:46.778Z] + mkdir -p include/iot/os [2022-02-02T13:29:46.778Z] + 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-02T13:29:46.778Z] + mkdir -p /tmp/sdk/build/release [2022-02-02T13:29:46.778Z] + cd /tmp/sdk/build/release [2022-02-02T13:29:46.778Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-02-02T13:29:46.778Z] -- The C compiler identification is GNU 10.3.1 [2022-02-02T13:29:46.778Z] -- Detecting C compiler ABI info [2022-02-02T13:29:47.040Z] -- Detecting C compiler ABI info - done [2022-02-02T13:29:47.040Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-02T13:29:47.040Z] -- Detecting C compile features [2022-02-02T13:29:47.040Z] -- Detecting C compile features - done [2022-02-02T13:29:47.040Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-02T13:29:47.040Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2022-02-02T13:29:47.040Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-02T13:29:47.040Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-02T13:29:47.040Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2022-02-02T13:29:47.040Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-02T13:29:47.040Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-02T13:29:47.040Z] -- C SDK 0.0.0 for Linux [2022-02-02T13:29:47.040Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-02T13:29:47.040Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-02T13:29:47.041Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-02T13:29:47.302Z] -- Configuring done [2022-02-02T13:29:47.302Z] -- Generating done [2022-02-02T13:29:47.302Z] -- Build files have been written to: /tmp/sdk/build/release [2022-02-02T13:29:47.302Z] + make all package [2022-02-02T13:29:47.302Z] + tee release.log [2022-02-02T13:29:47.302Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-02T13:29:47.302Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-02T13:29:47.564Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-02T13:29:47.825Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-02T13:29:48.086Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-02T13:29:48.086Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-02T13:29:48.354Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-02T13:29:48.354Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-02T13:29:48.354Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-02T13:29:48.615Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-02T13:29:48.876Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-02T13:29:49.137Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-02T13:29:49.137Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-02T13:29:49.398Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-02T13:29:49.398Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-02T13:29:49.398Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-02T13:29:49.665Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-02T13:29:50.242Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-02T13:29:50.242Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-02T13:29:50.242Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-02T13:29:50.242Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-02T13:29:50.513Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-02T13:29:50.513Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-02T13:29:50.513Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-02T13:29:50.513Z] 275 | const iot_component_factory_t * factory; [2022-02-02T13:29:50.513Z] | ^~~~~~~ [2022-02-02T13:29:50.513Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-02T13:29:51.468Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-02T13:29:51.468Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-02T13:29:51.468Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-02T13:29:51.730Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-02T13:29:51.730Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-02T13:29:51.730Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-02T13:29:51.995Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-02T13:29:51.995Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-02T13:29:52.263Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-02T13:29:52.263Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-02T13:29:52.263Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-02T13:29:52.846Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-02T13:29:52.846Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-02T13:29:53.110Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-02T13:29:53.110Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-02T13:29:54.061Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-02T13:29:54.061Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-02T13:29:54.061Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-02T13:29:54.325Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-02T13:29:54.325Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-02T13:29:54.325Z] /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-02T13:29:54.325Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-02T13:29:54.325Z] | ^~~~~~~~~~~~~ [2022-02-02T13:29:54.325Z] | | [2022-02-02T13:29:54.325Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-02T13:29:54.325Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T13:29:54.325Z] /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-02T13:29:54.325Z] 2714 | MHD_KeyValueIterator iterator, [2022-02-02T13:29:54.325Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-02T13:29:54.325Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-02T13:29:54.325Z] /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-02T13:29:54.325Z] 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-02T13:29:54.325Z] | ^~~~~~~~~~~~ [2022-02-02T13:29:54.325Z] | | [2022-02-02T13:29:54.325Z] | 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-02T13:29:54.325Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T13:29:54.326Z] /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-02T13:29:54.326Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-02T13:29:54.326Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-02T13:29:54.326Z] /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-02T13:29:54.326Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-02T13:29:54.326Z] | ^~~~~~~~~~~~ [2022-02-02T13:29:54.326Z] | | [2022-02-02T13:29:54.326Z] | 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-02T13:29:54.326Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T13:29:54.326Z] /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-02T13:29:54.326Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-02T13:29:54.326Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-02T13:29:54.326Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-02T13:29:54.900Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-02T13:29:54.900Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-02T13:29:54.900Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-02T13:29:54.900Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-02T13:29:55.471Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-02T13:29:56.042Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-02T13:29:56.302Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-02T13:29:56.302Z] [ 76%] Linking C shared library libcsdk.so [2022-02-02T13:29:56.563Z] [ 76%] Built target csdk [2022-02-02T13:29:56.563Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-02T13:29:56.563Z] [ 79%] Linking C executable template [2022-02-02T13:29:56.563Z] [ 79%] Built target template [2022-02-02T13:29:56.563Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-02T13:29:56.822Z] [ 82%] Linking C executable device-counter [2022-02-02T13:29:56.822Z] [ 82%] Built target device-counter [2022-02-02T13:29:56.822Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-02T13:29:56.822Z] [ 85%] Linking C executable device-random [2022-02-02T13:29:57.082Z] [ 85%] Built target device-random [2022-02-02T13:29:57.082Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-02T13:29:57.082Z] [ 88%] Linking C executable device-gyro [2022-02-02T13:29:57.082Z] [ 88%] Built target device-gyro [2022-02-02T13:29:57.082Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-02T13:29:57.343Z] [ 91%] Linking C executable device-bitfields [2022-02-02T13:29:57.343Z] [ 91%] Built target device-bitfields [2022-02-02T13:29:57.343Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-02T13:29:57.607Z] [ 94%] Linking C executable template-discovery [2022-02-02T13:29:57.607Z] [ 94%] Built target template-discovery [2022-02-02T13:29:57.607Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-02T13:29:57.607Z] [ 97%] Linking C executable device-file [2022-02-02T13:29:57.871Z] [ 97%] Built target device-file [2022-02-02T13:29:57.871Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-02T13:29:57.871Z] [100%] Linking C executable device-terminal [2022-02-02T13:29:57.871Z] [100%] Built target device-terminal [2022-02-02T13:29:57.871Z] Run CPack packaging tool... [2022-02-02T13:29:57.871Z] CPack: Create package using TGZ [2022-02-02T13:29:57.871Z] CPack: Install projects [2022-02-02T13:29:57.871Z] CPack: - Run preinstall target for: Csdk [2022-02-02T13:29:58.145Z] CPack: - Install project: Csdk [] [2022-02-02T13:29:58.145Z] CPack: Create package [2022-02-02T13:29:58.145Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-02-02T13:29:58.145Z] + '[' false '=' true ] [2022-02-02T13:29:58.145Z] + '[' false '=' true ] [2022-02-02T13:29:58.145Z] + mkdir -p /tmp/sdk/build/debug [2022-02-02T13:29:58.145Z] + cd /tmp/sdk/build/debug [2022-02-02T13:29:58.145Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-02-02T13:29:58.407Z] -- The C compiler identification is GNU 10.3.1 [2022-02-02T13:29:58.407Z] -- Detecting C compiler ABI info [2022-02-02T13:29:58.407Z] -- Detecting C compiler ABI info - done [2022-02-02T13:29:58.407Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-02T13:29:58.407Z] -- Detecting C compile features [2022-02-02T13:29:58.407Z] -- Detecting C compile features - done [2022-02-02T13:29:58.407Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-02T13:29:58.407Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2022-02-02T13:29:58.407Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-02T13:29:58.407Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-02T13:29:58.407Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2022-02-02T13:29:58.407Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-02T13:29:58.407Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-02T13:29:58.407Z] -- C SDK 0.0.0 for Linux [2022-02-02T13:29:58.407Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-02T13:29:58.407Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-02T13:29:58.667Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-02T13:29:58.667Z] -- Configuring done [2022-02-02T13:29:58.667Z] -- Generating done [2022-02-02T13:29:58.667Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-02-02T13:29:58.667Z] + make [2022-02-02T13:29:58.667Z] + tee debug.log [2022-02-02T13:29:58.667Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-02T13:29:58.667Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-02T13:29:58.932Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-02T13:29:58.932Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-02T13:29:58.932Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-02T13:29:59.194Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-02T13:29:59.194Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-02T13:29:59.194Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-02T13:29:59.194Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-02T13:29:59.457Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-02T13:29:59.457Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-02T13:29:59.721Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-02T13:29:59.721Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-02T13:29:59.721Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-02T13:29:59.721Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-02T13:29:59.721Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-02T13:29:59.983Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-02T13:29:59.983Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-02T13:30:00.245Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-02T13:30:00.245Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-02T13:30:00.245Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-02T13:30:00.245Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-02T13:30:00.245Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-02T13:30:00.245Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-02T13:30:00.245Z] 275 | const iot_component_factory_t * factory; [2022-02-02T13:30:00.245Z] | ^~~~~~~ [2022-02-02T13:30:00.245Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-02T13:30:00.506Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-02T13:30:00.771Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-02T13:30:00.771Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-02T13:30:00.771Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-02T13:30:00.771Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-02T13:30:00.771Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-02T13:30:01.032Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-02T13:30:01.032Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-02T13:30:01.032Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-02T13:30:01.032Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-02T13:30:01.032Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-02T13:30:01.298Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-02T13:30:01.298Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-02T13:30:01.298Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-02T13:30:01.559Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-02T13:30:01.559Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-02T13:30:01.829Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-02T13:30:01.829Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-02T13:30:01.829Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-02T13:30:01.829Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-02T13:30:01.829Z] /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-02T13:30:01.829Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-02T13:30:01.829Z] | ^~~~~~~~~~~~~ [2022-02-02T13:30:01.829Z] | | [2022-02-02T13:30:01.829Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-02T13:30:01.829Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T13:30:01.829Z] /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-02T13:30:01.829Z] 2714 | MHD_KeyValueIterator iterator, [2022-02-02T13:30:01.829Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-02T13:30:01.829Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-02T13:30:01.829Z] /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-02T13:30:01.829Z] 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-02T13:30:01.829Z] | ^~~~~~~~~~~~ [2022-02-02T13:30:01.829Z] | | [2022-02-02T13:30:01.829Z] | 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-02T13:30:01.829Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T13:30:01.829Z] /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-02T13:30:01.829Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-02T13:30:01.829Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-02T13:30:01.829Z] /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-02T13:30:01.829Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-02T13:30:01.829Z] | ^~~~~~~~~~~~ [2022-02-02T13:30:01.829Z] | | [2022-02-02T13:30:01.829Z] | 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-02T13:30:01.829Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T13:30:01.829Z] /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-02T13:30:01.829Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-02T13:30:01.829Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-02T13:30:01.829Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-02T13:30:02.092Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-02T13:30:02.352Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-02T13:30:02.352Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-02T13:30:02.352Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-02T13:30:02.611Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-02T13:30:02.611Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-02T13:30:02.876Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-02T13:30:02.876Z] [ 76%] Linking C shared library libcsdk.so [2022-02-02T13:30:02.876Z] [ 76%] Built target csdk [2022-02-02T13:30:02.876Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-02T13:30:02.876Z] [ 79%] Linking C executable template [2022-02-02T13:30:03.139Z] [ 79%] Built target template [2022-02-02T13:30:03.139Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-02T13:30:03.139Z] [ 82%] Linking C executable device-counter [2022-02-02T13:30:03.139Z] [ 82%] Built target device-counter [2022-02-02T13:30:03.139Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-02T13:30:03.139Z] [ 85%] Linking C executable device-random [2022-02-02T13:30:03.398Z] [ 85%] Built target device-random [2022-02-02T13:30:03.398Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-02T13:30:03.398Z] [ 88%] Linking C executable device-gyro [2022-02-02T13:30:03.398Z] [ 88%] Built target device-gyro [2022-02-02T13:30:03.398Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-02T13:30:03.398Z] [ 91%] Linking C executable device-bitfields [2022-02-02T13:30:03.398Z] [ 91%] Built target device-bitfields [2022-02-02T13:30:03.659Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-02T13:30:03.659Z] [ 94%] Linking C executable template-discovery [2022-02-02T13:30:03.659Z] [ 94%] Built target template-discovery [2022-02-02T13:30:03.659Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-02T13:30:03.659Z] [ 97%] Linking C executable device-file [2022-02-02T13:30:03.920Z] [ 97%] Built target device-file [2022-02-02T13:30:03.920Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-02T13:30:03.920Z] [100%] Linking C executable device-terminal [2022-02-02T13:30:03.920Z] [100%] Built target device-terminal [2022-02-02T13:30:03.920Z] make: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:30:03.920Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:30:03.920Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:30:03.920Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:30:03.920Z] [ 76%] Built target csdk [2022-02-02T13:30:03.920Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:30:03.920Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:30:03.920Z] [ 79%] Built target template [2022-02-02T13:30:03.920Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:30:03.920Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:30:04.183Z] [ 82%] Built target device-counter [2022-02-02T13:30:04.183Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:30:04.183Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:30:04.183Z] [ 85%] Built target device-random [2022-02-02T13:30:04.183Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:30:04.183Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:30:04.183Z] [ 88%] Built target device-gyro [2022-02-02T13:30:04.183Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:30:04.183Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:30:04.183Z] [ 91%] Built target device-bitfields [2022-02-02T13:30:04.183Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:30:04.183Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:30:04.183Z] [ 94%] Built target template-discovery [2022-02-02T13:30:04.183Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:30:04.183Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:30:04.183Z] [ 97%] Built target device-file [2022-02-02T13:30:04.183Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:30:04.183Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:30:04.183Z] [100%] Built target device-terminal [2022-02-02T13:30:04.183Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:30:04.183Z] Install the project... [2022-02-02T13:30:04.183Z] -- Install configuration: "Release" [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/lib/libcsdk.so [2022-02-02T13:30:04.183Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2022-02-02T13:30:04.183Z] -- Up-to-date: /usr/local/include [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/devsdk [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/edgex [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/edgex/devices.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/base64.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/component.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/config.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/container.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/data.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/hash.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/iot.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/json.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/logger.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/os.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/thread.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/time.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/typecode.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/uuid.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/os [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/include/iot/defs.h [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-02-02T13:30:04.183Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-02-02T13:30:04.183Z] make: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:30:04.760Z] Removing intermediate container db60914d00e8 [2022-02-02T13:30:04.761Z] ---> 474d38a2cefc [2022-02-02T13:30:04.761Z] Step 16/24 : FROM ${BASE} [2022-02-02T13:30:04.761Z] ---> a4e04833b611 [2022-02-02T13:30:04.761Z] Step 17/24 : LABEL maintainer="IOTech " [2022-02-02T13:30:04.761Z] ---> Running in 8053ea36ef9a [2022-02-02T13:30:04.761Z] Removing intermediate container 8053ea36ef9a [2022-02-02T13:30:04.761Z] ---> 81394ae124b1 [2022-02-02T13:30:04.761Z] 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-02T13:30:04.761Z] ---> Running in 75d60cdeb976 [2022-02-02T13:30:05.019Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2022-02-02T13:30:05.589Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-02T13:30:05.589Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-02T13:30:05.589Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-02T13:30:05.589Z] Removing intermediate container 75d60cdeb976 [2022-02-02T13:30:05.589Z] ---> 3a50e9a62c66 [2022-02-02T13:30:05.589Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-02T13:30:05.589Z] ---> Running in ff7a802b90a1 [2022-02-02T13:30:06.157Z] Removing intermediate container ff7a802b90a1 [2022-02-02T13:30:06.157Z] ---> f89e0a483bf7 [2022-02-02T13:30:06.157Z] 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-02T13:30:06.157Z] ---> Running in 2c2b06b010b1 [2022-02-02T13:30:06.418Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-02T13:30:07.361Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-02T13:30:07.622Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-02T13:30:07.881Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-02T13:30:07.881Z] (1/7) Installing curl (7.79.1-r0) [2022-02-02T13:30:08.141Z] (2/7) Installing hiredis (1.0.0-r0) [2022-02-02T13:30:08.141Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2022-02-02T13:30:08.141Z] (4/7) Installing libuuid (2.37.2-r0) [2022-02-02T13:30:08.399Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-02T13:30:09.337Z] (6/7) Installing libidn2 (2.3.1-r0) [2022-02-02T13:30:09.337Z] (7/7) Installing wget (1.21.1-r1) [2022-02-02T13:30:09.337Z] Executing busybox-1.33.1-r3.trigger [2022-02-02T13:30:09.337Z] OK: 281 MiB in 84 packages [2022-02-02T13:30:09.912Z] Removing intermediate container 2c2b06b010b1 [2022-02-02T13:30:09.912Z] ---> 4abcdc6f6023 [2022-02-02T13:30:09.912Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-02-02T13:30:09.912Z] ---> 651db0db8e45 [2022-02-02T13:30:09.912Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-02-02T13:30:09.912Z] ---> 4c0f3ab7fc85 [2022-02-02T13:30:09.912Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-02-02T13:30:10.171Z] ---> b6dbbd03bde9 [2022-02-02T13:30:10.171Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-02-02T13:30:10.432Z] ---> 80851984e724 [2022-02-02T13:30:10.432Z] Successfully built 80851984e724 [2022-02-02T13:30:10.432Z] 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-02T13:30:10.780Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-02T13:30:10.780Z] . [Pipeline] withDockerContainer [2022-02-02T13:30:10.841Z] prd-centos7-docker-4c-2g-4433 does not seem to be running inside a container [2022-02-02T13:30:10.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-396 -v /w/workspace/edgexfoundry_device-sdk-c_PR-396:/w/workspace/edgexfoundry_device-sdk-c_PR-396:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-02-02T13:30:11.208Z] $ docker top 36d2f3a70293e792015720680214c2ebc402b4a243e81111ec735fd540e8c2e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-02T13:30:11.601Z] + make test [2022-02-02T13:30:11.601Z] echo "make test" [2022-02-02T13:30:11.601Z] make test [Pipeline] } [2022-02-02T13:30:11.591Z] $ docker stop --time=1 36d2f3a70293e792015720680214c2ebc402b4a243e81111ec735fd540e8c2e3 [2022-02-02T13:30:12.765Z] $ docker rm -f 36d2f3a70293e792015720680214c2ebc402b4a243e81111ec735fd540e8c2e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-02T13:30:13.970Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-02T13:30:14.256Z] + ls -al . [2022-02-02T13:30:14.256Z] total 172 [2022-02-02T13:30:14.256Z] drwxrwxr-x. 9 jenkins jenkins 4096 Feb 2 13:29 . [2022-02-02T13:30:14.256Z] drwxrwxr-x. 4 jenkins jenkins 112 Feb 2 13:29 .. [2022-02-02T13:30:14.256Z] -rw-rw-r--. 1 jenkins jenkins 3104 Feb 2 13:29 Attribution.txt [2022-02-02T13:30:14.256Z] -rw-rw-r--. 1 jenkins jenkins 7880 Feb 2 13:29 CHANGES [2022-02-02T13:30:14.256Z] drwxrwxr-x. 2 jenkins jenkins 121 Feb 2 13:29 docs [2022-02-02T13:30:14.256Z] -rw-rw-r--. 1 jenkins jenkins 108574 Feb 2 13:29 Doxyfile [2022-02-02T13:30:14.256Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 2 13:29 .git [2022-02-02T13:30:14.256Z] drwxrwxr-x. 3 jenkins jenkins 103 Feb 2 13:29 .github [2022-02-02T13:30:14.256Z] -rw-rw-r--. 1 jenkins jenkins 176 Feb 2 13:29 .gitignore [2022-02-02T13:30:14.256Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 2 13:29 GOVERNANCE.md [2022-02-02T13:30:14.256Z] drwxrwxr-x. 4 jenkins jenkins 33 Feb 2 13:29 include [2022-02-02T13:30:14.256Z] -rw-rw-r--. 1 jenkins jenkins 784 Feb 2 13:29 Jenkinsfile [2022-02-02T13:30:14.256Z] -rw-rw-r--. 1 jenkins jenkins 10174 Feb 2 13:29 LICENSE [2022-02-02T13:30:14.256Z] -rw-rw-r--. 1 jenkins jenkins 444 Feb 2 13:29 Makefile [2022-02-02T13:30:14.256Z] -rw-rw-r--. 1 jenkins jenkins 618 Feb 2 13:29 OWNERS.md [2022-02-02T13:30:14.256Z] -rw-rw-r--. 1 jenkins jenkins 4086 Feb 2 13:29 README.md [2022-02-02T13:30:14.256Z] -rw-rw-r--. 1 jenkins jenkins 7422 Feb 2 13:29 README.v2.md [2022-02-02T13:30:14.256Z] drwxrwxr-x. 2 jenkins jenkins 98 Feb 2 13:29 scripts [2022-02-02T13:30:14.256Z] drwx------. 3 jenkins jenkins 85 Feb 2 13:29 .semver [2022-02-02T13:30:14.256Z] drwxrwxr-x. 4 jenkins jenkins 50 Feb 2 13:29 src [2022-02-02T13:30:14.256Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 2 13:29 VERSION [Pipeline] isUnix [Pipeline] sh [2022-02-02T13:30:14.554Z] + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e05508a3cfac6281449c00e5bc1f9c19cdf5daef --label arch=amd64 --label version=0.0.0 . [2022-02-02T13:30:14.554Z] Sending build context to Docker daemon 4.503MB [2022-02-02T13:30:14.554Z] Step 1/17 : ARG BASE=alpine:3.14 [2022-02-02T13:30:14.554Z] Step 2/17 : FROM ${BASE} [2022-02-02T13:30:14.554Z] ---> 80851984e724 [2022-02-02T13:30:14.554Z] Step 3/17 : LABEL maintainer="IOTech " [2022-02-02T13:30:14.554Z] ---> Running in aceef7672775 [2022-02-02T13:30:14.816Z] Removing intermediate container aceef7672775 [2022-02-02T13:30:14.816Z] ---> 6ce8977e8d00 [2022-02-02T13:30:14.816Z] 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-02T13:30:14.816Z] ---> Running in 6b333da96cbe [2022-02-02T13:30:15.076Z] --2022-02-02 13:30:14-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2022-02-02T13:30:15.076Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.74.239.58, 54.195.244.87, 54.229.110.245, ... [2022-02-02T13:30:15.076Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.74.239.58|:443... connected. [2022-02-02T13:30:15.336Z] HTTP request sent, awaiting response... 200 OK [2022-02-02T13:30:15.336Z] Length: unspecified [application/json] [2022-02-02T13:30:15.336Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-02T13:30:15.336Z]  [2022-02-02T13:30:15.336Z] 0K 173M=0s [2022-02-02T13:30:15.336Z] [2022-02-02T13:30:15.336Z] 2022-02-02 13:30:15 (173 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2022-02-02T13:30:15.336Z] [2022-02-02T13:30:15.599Z] Removing intermediate container 6b333da96cbe [2022-02-02T13:30:15.599Z] ---> 079541faee9f [2022-02-02T13:30:15.599Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-02T13:30:15.599Z] ---> Running in f4aee9f7c227 [2022-02-02T13:30:15.858Z] Removing intermediate container f4aee9f7c227 [2022-02-02T13:30:15.858Z] ---> c80128078191 [2022-02-02T13:30:15.858Z] 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-02T13:30:16.117Z] ---> Running in 2f1388a413be [2022-02-02T13:30:16.117Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-02T13:30:17.058Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-02T13:30:17.319Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-02T13:30:17.890Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-02T13:30:17.890Z] (1/21) Installing ncurses-dev (6.2_p20210612-r0) [2022-02-02T13:30:17.890Z] (2/21) Installing libblkid (2.37.2-r0) [2022-02-02T13:30:17.890Z] (3/21) Installing blkid (2.37.2-r0) [2022-02-02T13:30:18.151Z] (4/21) Installing libcap-ng (0.8.2-r0) [2022-02-02T13:30:18.151Z] (5/21) Installing setpriv (2.37.2-r0) [2022-02-02T13:30:18.151Z] (6/21) Installing libmount (2.37.2-r0) [2022-02-02T13:30:18.412Z] (7/21) Installing libsmartcols (2.37.2-r0) [2022-02-02T13:30:18.412Z] (8/21) Installing findmnt (2.37.2-r0) [2022-02-02T13:30:18.412Z] (9/21) Installing mcookie (2.37.2-r0) [2022-02-02T13:30:18.671Z] (10/21) Installing hexdump (2.37.2-r0) [2022-02-02T13:30:18.671Z] (11/21) Installing lsblk (2.37.2-r0) [2022-02-02T13:30:18.671Z] (12/21) Installing libfdisk (2.37.2-r0) [2022-02-02T13:30:18.931Z] (13/21) Installing sfdisk (2.37.2-r0) [2022-02-02T13:30:18.931Z] (14/21) Installing cfdisk (2.37.2-r0) [2022-02-02T13:30:18.931Z] (15/21) Installing partx (2.37.2-r0) [2022-02-02T13:30:19.191Z] (16/21) Installing flock (2.37.2-r0) [2022-02-02T13:30:19.191Z] (17/21) Installing logger (2.37.2-r0) [2022-02-02T13:30:19.191Z] (18/21) Installing uuidgen (2.37.2-r0) [2022-02-02T13:30:19.451Z] (19/21) Installing libeconf (0.3.8-r1) [2022-02-02T13:30:19.452Z] (20/21) Installing util-linux (2.37.2-r0) [2022-02-02T13:30:19.717Z] (21/21) Installing util-linux-dev (2.37.2-r0) [2022-02-02T13:30:19.717Z] Executing busybox-1.33.1-r3.trigger [2022-02-02T13:30:19.717Z] OK: 291 MiB in 105 packages [2022-02-02T13:30:20.309Z] Removing intermediate container 2f1388a413be [2022-02-02T13:30:20.309Z] ---> b0fa283553b8 [2022-02-02T13:30:20.309Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-02-02T13:30:20.309Z] ---> a29a4868bf61 [2022-02-02T13:30:20.309Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-02-02T13:30:20.570Z] ---> 44cc6143a513 [2022-02-02T13:30:20.570Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-02-02T13:30:20.570Z] ---> dff2991bbc77 [2022-02-02T13:30:20.570Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-02-02T13:30:20.832Z] ---> 1a58849159d0 [2022-02-02T13:30:20.832Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-02-02T13:30:20.832Z] ---> 0da314fe9d07 [2022-02-02T13:30:20.832Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-02-02T13:30:21.092Z] ---> 73e4a43d17c4 [2022-02-02T13:30:21.092Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-02-02T13:30:21.092Z] ---> Running in eb29985500c2 [2022-02-02T13:30:21.092Z] Removing intermediate container eb29985500c2 [2022-02-02T13:30:21.092Z] ---> fc11b2d6c71c [2022-02-02T13:30:21.092Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-02-02T13:30:21.092Z] ---> Running in 112e58da524a [2022-02-02T13:30:21.351Z] Removing intermediate container 112e58da524a [2022-02-02T13:30:21.351Z] ---> 5deb19bd6e3d [2022-02-02T13:30:21.351Z] Step 15/17 : LABEL arch=amd64 [2022-02-02T13:30:21.351Z] ---> Running in 8aaf16676b71 [2022-02-02T13:30:21.351Z] Removing intermediate container 8aaf16676b71 [2022-02-02T13:30:21.351Z] ---> 9b60697c7fe0 [2022-02-02T13:30:21.351Z] Step 16/17 : LABEL git_sha=e05508a3cfac6281449c00e5bc1f9c19cdf5daef [2022-02-02T13:30:21.351Z] ---> Running in 2e9300f40c5f [2022-02-02T13:30:21.612Z] Removing intermediate container 2e9300f40c5f [2022-02-02T13:30:21.612Z] ---> 4fcf61a30b15 [2022-02-02T13:30:21.612Z] Step 17/17 : LABEL version=0.0.0 [2022-02-02T13:30:21.612Z] ---> Running in afe28791d7fc [2022-02-02T13:30:21.612Z] Removing intermediate container afe28791d7fc [2022-02-02T13:30:21.612Z] ---> db796ec91ddd [2022-02-02T13:30:21.612Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-02-02T13:30:21.612Z] Successfully built db796ec91ddd [2022-02-02T13:30:21.612Z] 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-02T13:30:22.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-02T13:30:22.034Z] [2022-02-02T13:30:22.034Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-02T13:30:22.341Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-02T13:30:22.341Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-02T13:30:22.341Z] b4d181a07f80: Pulling fs layer [2022-02-02T13:30:22.341Z] a1111a8f2ec3: Pulling fs layer [2022-02-02T13:30:22.341Z] ed53099fbce6: Pulling fs layer [2022-02-02T13:30:22.341Z] dc539afda2c1: Pulling fs layer [2022-02-02T13:30:22.341Z] 77bc0d833cb6: Pulling fs layer [2022-02-02T13:30:22.341Z] 9065ff56babe: Pulling fs layer [2022-02-02T13:30:22.341Z] d287ab97295c: Pulling fs layer [2022-02-02T13:30:22.341Z] dc539afda2c1: Waiting [2022-02-02T13:30:22.341Z] 77bc0d833cb6: Waiting [2022-02-02T13:30:22.341Z] 9065ff56babe: Waiting [2022-02-02T13:30:22.341Z] d287ab97295c: Waiting [2022-02-02T13:30:22.341Z] a1111a8f2ec3: Verifying Checksum [2022-02-02T13:30:22.341Z] a1111a8f2ec3: Download complete [2022-02-02T13:30:22.341Z] dc539afda2c1: Verifying Checksum [2022-02-02T13:30:22.341Z] dc539afda2c1: Download complete [2022-02-02T13:30:22.341Z] ed53099fbce6: Verifying Checksum [2022-02-02T13:30:22.341Z] ed53099fbce6: Download complete [2022-02-02T13:30:22.341Z] 77bc0d833cb6: Verifying Checksum [2022-02-02T13:30:22.341Z] 77bc0d833cb6: Download complete [2022-02-02T13:30:22.606Z] 9065ff56babe: Verifying Checksum [2022-02-02T13:30:22.606Z] 9065ff56babe: Download complete [2022-02-02T13:30:22.606Z] b4d181a07f80: Verifying Checksum [2022-02-02T13:30:22.606Z] b4d181a07f80: Download complete [2022-02-02T13:30:23.191Z] d287ab97295c: Verifying Checksum [2022-02-02T13:30:23.191Z] d287ab97295c: Download complete [2022-02-02T13:30:24.155Z] b4d181a07f80: Pull complete [2022-02-02T13:30:24.155Z] a1111a8f2ec3: Pull complete [2022-02-02T13:30:24.742Z] ed53099fbce6: Pull complete [2022-02-02T13:30:24.742Z] dc539afda2c1: Pull complete [2022-02-02T13:30:25.013Z] 77bc0d833cb6: Pull complete [2022-02-02T13:30:25.013Z] 9065ff56babe: Pull complete [2022-02-02T13:30:30.371Z] d287ab97295c: Pull complete [2022-02-02T13:30:30.371Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-02T13:30:30.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-02T13:30:30.371Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-02T13:30:30.436Z] prd-centos7-docker-4c-2g-4433 does not seem to be running inside a container [2022-02-02T13:30:30.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-396 -v /w/workspace/edgexfoundry_device-sdk-c_PR-396:/w/workspace/edgexfoundry_device-sdk-c_PR-396:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-02T13:30:33.032Z] $ docker top fdfd1ec5c27b7c5a17b088e341fde43ba21f2ed1960cafe0f11b7d73af4f728d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-02T13:30:33.477Z] ---> job-cost.sh [2022-02-02T13:30:33.477Z] lf-activate-venv: SKIPPING [2022-02-02T13:30:33.477Z] INFO: No Stack... [2022-02-02T13:30:33.738Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-02T13:30:34.000Z] INFO: Archiving Costs [Pipeline] sh [2022-02-02T13:30:34.294Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives/cost.csv [2022-02-02T13:30:34.294Z] + cut -d, -f6 [Pipeline] lock [2022-02-02T13:30:34.310Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-396-2-stack-cost] [2022-02-02T13:30:34.319Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-396-2-stack-cost] did not exist. Created. [2022-02-02T13:30:34.319Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-396-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-02T13:30:34.625Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-02T13:30:34.660Z] Stashed 1 file(s) [Pipeline] } [2022-02-02T13:30:34.667Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-396-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-02T13:30:34.664Z] $ docker stop --time=1 fdfd1ec5c27b7c5a17b088e341fde43ba21f2ed1960cafe0f11b7d73af4f728d [2022-02-02T13:30:35.843Z] $ docker rm -f fdfd1ec5c27b7c5a17b088e341fde43ba21f2ed1960cafe0f11b7d73af4f728d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-02T13:31:03.642Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4434 in /w/workspace/edgexfoundry_device-sdk-c_PR-396 [Pipeline] { [Pipeline] ws [2022-02-02T13:31:03.654Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2022-02-02T13:31:03.816Z] Selected Git installation does not exist. Using Default [2022-02-02T13:31:03.816Z] The recommended git tool is: NONE [2022-02-02T13:31:08.444Z] using credential edgex-jenkins-ssh [2022-02-02T13:31:08.462Z] Cloning the remote Git repository [2022-02-02T13:31:08.519Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-02-02T13:31:08.602Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2022-02-02T13:31:08.702Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-02-02T13:31:08.703Z] > git --version # timeout=10 [2022-02-02T13:31:08.738Z] > git --version # 'git version 2.17.1' [2022-02-02T13:31:08.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-02T13:31:08.808Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-02T13:31:10.643Z] Merging remotes/origin/main commit 8c74ffe4fc698c219175e751f1cca4a77f9c9083 into PR head commit e05508a3cfac6281449c00e5bc1f9c19cdf5daef [2022-02-02T13:31:10.906Z] Merge succeeded, producing e05508a3cfac6281449c00e5bc1f9c19cdf5daef [2022-02-02T13:31:10.907Z] Checking out Revision e05508a3cfac6281449c00e5bc1f9c19cdf5daef (PR-396) [2022-02-02T13:31:09.906Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-02-02T13:31:09.924Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-02T13:31:09.956Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-02-02T13:31:09.987Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-02-02T13:31:09.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-02T13:31:10.000Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-02T13:31:10.663Z] > git config core.sparsecheckout # timeout=10 [2022-02-02T13:31:10.695Z] > git checkout -f e05508a3cfac6281449c00e5bc1f9c19cdf5daef # timeout=10 [2022-02-02T13:31:10.808Z] > git remote # timeout=10 [2022-02-02T13:31:10.824Z] > git config --get remote.origin.url # timeout=10 [2022-02-02T13:31:10.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-02T13:31:10.854Z] > git merge 8c74ffe4fc698c219175e751f1cca4a77f9c9083 # timeout=10 [2022-02-02T13:31:10.877Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-02T13:31:10.909Z] > git config core.sparsecheckout # timeout=10 [2022-02-02T13:31:10.941Z] > git checkout -f e05508a3cfac6281449c00e5bc1f9c19cdf5daef # timeout=10 [2022-02-02T13:31:15.100Z] Commit message: "fix: retry attempts to resolve service endpoints from registry (#394)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-02T13:31:15.983Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-02T13:31:15.983Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-02T13:31:15.983Z] Dload Upload Total Spent Left Speed [2022-02-02T13:31:15.983Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 93251 0 --:--:-- --:--:-- --:--:-- 93251 [Pipeline] sh [2022-02-02T13:31:16.528Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-02T13:31:16.870Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-02T13:31:16.870Z] + sudo tee /etc/docker/daemon.new [2022-02-02T13:31:16.870Z] { [2022-02-02T13:31:16.870Z] "registry-mirrors": [ [2022-02-02T13:31:16.870Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-02T13:31:16.870Z] ], [2022-02-02T13:31:16.870Z] "bip": "10.250.0.254/24", [2022-02-02T13:31:16.870Z] "hosts": [ [2022-02-02T13:31:16.870Z] "tcp://0.0.0.0:5555", [2022-02-02T13:31:16.870Z] "unix:///var/run/docker.sock" [2022-02-02T13:31:16.870Z] ], [2022-02-02T13:31:16.870Z] "mtu": 1458, [2022-02-02T13:31:16.870Z] "selinux-enabled": true, [2022-02-02T13:31:16.870Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-02T13:31:16.870Z] } [Pipeline] sh [2022-02-02T13:31:17.273Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-02T13:31:17.639Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-02T13:31:35.949Z] provisioning config files... [2022-02-02T13:31:35.970Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config771664625818326622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-02T13:31:36.315Z] ---> docker-login.sh [2022-02-02T13:31:36.315Z] nexus3.edgexfoundry.org:10001 [2022-02-02T13:31:36.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T13:31:36.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T13:31:36.906Z] Configure a credential helper to remove this warning. See [2022-02-02T13:31:36.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T13:31:36.906Z] [2022-02-02T13:31:36.906Z] Login Succeeded [2022-02-02T13:31:37.176Z] nexus3.edgexfoundry.org:10002 [2022-02-02T13:31:37.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T13:31:37.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T13:31:37.447Z] Configure a credential helper to remove this warning. See [2022-02-02T13:31:37.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T13:31:37.447Z] [2022-02-02T13:31:37.447Z] Login Succeeded [2022-02-02T13:31:37.447Z] nexus3.edgexfoundry.org:10003 [2022-02-02T13:31:37.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T13:31:37.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T13:31:37.719Z] Configure a credential helper to remove this warning. See [2022-02-02T13:31:37.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T13:31:37.719Z] [2022-02-02T13:31:37.719Z] Login Succeeded [2022-02-02T13:31:37.719Z] nexus3.edgexfoundry.org:10004 [2022-02-02T13:31:37.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T13:31:38.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T13:31:38.271Z] Configure a credential helper to remove this warning. See [2022-02-02T13:31:38.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T13:31:38.271Z] [2022-02-02T13:31:38.271Z] Login Succeeded [2022-02-02T13:31:38.271Z] docker.io [2022-02-02T13:31:38.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T13:31:38.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T13:31:38.808Z] Configure a credential helper to remove this warning. See [2022-02-02T13:31:38.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T13:31:38.808Z] [2022-02-02T13:31:38.808Z] Login Succeeded [2022-02-02T13:31:38.808Z] ---> docker-login.sh ends [Pipeline] } [2022-02-02T13:31:38.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-02T13:31:39.295Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-02T13:31:39.308Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-02-02T13:31:39.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-02T13:31:39.334Z] ========================================================= [2022-02-02T13:31:39.334Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-02-02T13:31:39.334Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-02T13:31:39.670Z] + 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-02T13:31:39.941Z] Sending build context to Docker daemon 2.745MB [2022-02-02T13:31:40.213Z] Step 1/24 : ARG BASE=alpine:3.14 [2022-02-02T13:31:40.213Z] Step 2/24 : FROM ${BASE} as builder [2022-02-02T13:31:40.213Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-02-02T13:31:40.213Z] 552d1f2373af: Pulling fs layer [2022-02-02T13:31:40.213Z] f2be2b6548c6: Pulling fs layer [2022-02-02T13:31:40.213Z] ee4ac2fe028c: Pulling fs layer [2022-02-02T13:31:40.213Z] f2be2b6548c6: Verifying Checksum [2022-02-02T13:31:40.213Z] f2be2b6548c6: Download complete [2022-02-02T13:31:40.213Z] 552d1f2373af: Verifying Checksum [2022-02-02T13:31:40.213Z] 552d1f2373af: Download complete [2022-02-02T13:31:40.814Z] 552d1f2373af: Pull complete [2022-02-02T13:31:41.101Z] f2be2b6548c6: Pull complete [2022-02-02T13:31:42.084Z] ee4ac2fe028c: Verifying Checksum [2022-02-02T13:31:42.084Z] ee4ac2fe028c: Download complete [2022-02-02T13:31:50.353Z] ee4ac2fe028c: Pull complete [2022-02-02T13:31:50.353Z] Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b [2022-02-02T13:31:50.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-02-02T13:31:50.353Z] ---> b6d714ea7bf2 [2022-02-02T13:31:50.353Z] 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-02T13:31:50.948Z] ---> Running in e23a8b75d629 [2022-02-02T13:31:51.922Z] Connecting to iotech.jfrog.io (54.74.239.58:443) [2022-02-02T13:31:52.514Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-02T13:31:52.514Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-02T13:31:52.514Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-02T13:31:53.113Z] Removing intermediate container e23a8b75d629 [2022-02-02T13:31:53.113Z] ---> 0a677a5cf732 [2022-02-02T13:31:53.113Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-02T13:31:53.113Z] ---> Running in f8a321a435a1 [2022-02-02T13:31:55.091Z] Removing intermediate container f8a321a435a1 [2022-02-02T13:31:55.091Z] ---> 7814eb21ac62 [2022-02-02T13:31:55.091Z] 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-02T13:31:55.091Z] ---> Running in c2d3ea51a11f [2022-02-02T13:31:56.069Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-02T13:31:57.044Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-02T13:31:57.317Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-02T13:31:57.911Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-02T13:31:57.911Z] (1/27) Installing hiredis (1.0.0-r0) [2022-02-02T13:31:58.181Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2022-02-02T13:31:58.181Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2022-02-02T13:31:58.181Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-02T13:31:59.150Z] (5/27) Installing libblkid (2.37.2-r0) [2022-02-02T13:31:59.420Z] (6/27) Installing blkid (2.37.2-r0) [2022-02-02T13:31:59.420Z] (7/27) Installing libcap-ng (0.8.2-r0) [2022-02-02T13:31:59.420Z] (8/27) Installing setpriv (2.37.2-r0) [2022-02-02T13:31:59.689Z] (9/27) Installing libmount (2.37.2-r0) [2022-02-02T13:31:59.689Z] (10/27) Installing libsmartcols (2.37.2-r0) [2022-02-02T13:31:59.689Z] (11/27) Installing findmnt (2.37.2-r0) [2022-02-02T13:31:59.960Z] (12/27) Installing mcookie (2.37.2-r0) [2022-02-02T13:31:59.960Z] (13/27) Installing hexdump (2.37.2-r0) [2022-02-02T13:31:59.960Z] (14/27) Installing lsblk (2.37.2-r0) [2022-02-02T13:32:00.232Z] (15/27) Installing libuuid (2.37.2-r0) [2022-02-02T13:32:00.232Z] (16/27) Installing libfdisk (2.37.2-r0) [2022-02-02T13:32:00.232Z] (17/27) Installing sfdisk (2.37.2-r0) [2022-02-02T13:32:00.504Z] (18/27) Installing cfdisk (2.37.2-r0) [2022-02-02T13:32:00.504Z] (19/27) Installing partx (2.37.2-r0) [2022-02-02T13:32:00.504Z] (20/27) Installing flock (2.37.2-r0) [2022-02-02T13:32:00.775Z] (21/27) Installing logger (2.37.2-r0) [2022-02-02T13:32:00.775Z] (22/27) Installing uuidgen (2.37.2-r0) [2022-02-02T13:32:00.775Z] (23/27) Installing libeconf (0.3.8-r1) [2022-02-02T13:32:00.775Z] (24/27) Installing util-linux (2.37.2-r0) [2022-02-02T13:32:01.366Z] (25/27) Installing util-linux-dev (2.37.2-r0) [2022-02-02T13:32:01.366Z] (26/27) Installing libidn2 (2.3.1-r0) [2022-02-02T13:32:01.366Z] (27/27) Installing wget (1.21.1-r1) [2022-02-02T13:32:01.638Z] Executing busybox-1.33.1-r3.trigger [2022-02-02T13:32:01.638Z] OK: 286 MiB in 104 packages [2022-02-02T13:32:03.069Z] Removing intermediate container c2d3ea51a11f [2022-02-02T13:32:03.069Z] ---> f6b827e210dd [2022-02-02T13:32:03.069Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2022-02-02T13:32:03.069Z] ---> Running in 6c13b02fbdc6 [2022-02-02T13:32:03.340Z] Removing intermediate container 6c13b02fbdc6 [2022-02-02T13:32:03.340Z] ---> a7be29fe6911 [2022-02-02T13:32:03.340Z] 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-02T13:32:03.613Z] ---> Running in 74f49eb1254e [2022-02-02T13:32:04.586Z] --2022-02-02 13:32:04-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2022-02-02T13:32:04.586Z] Resolving github.com (github.com)... 140.82.114.4 [2022-02-02T13:32:04.586Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2022-02-02T13:32:04.586Z] HTTP request sent, awaiting response... 302 Found [2022-02-02T13:32:04.586Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2022-02-02T13:32:04.586Z] --2022-02-02 13:32:04-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2022-02-02T13:32:04.586Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2022-02-02T13:32:04.586Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2022-02-02T13:32:04.868Z] HTTP request sent, awaiting response... 200 OK [2022-02-02T13:32:04.868Z] Length: unspecified [application/x-gzip] [2022-02-02T13:32:04.868Z] Saving to: 'STDOUT' [2022-02-02T13:32:04.868Z]  [2022-02-02T13:32:04.868Z] 0K .......... .......... .......... .......... .......... 1.21M [2022-02-02T13:32:04.868Z] 50K .......... .......... .......... .......... .......... 2.34M [2022-02-02T13:32:04.868Z] 100K .......... .......... .......... .......... .......... 18.8M [2022-02-02T13:32:04.868Z] 150K .......... .......... .......... .......... .......... 2.68M [2022-02-02T13:32:04.868Z] 200K .......... .......... .......... .......... .......... 15.5M [2022-02-02T13:32:04.868Z] 250K .......... .......... .......... .......... .......... 3.36M [2022-02-02T13:32:04.868Z] 300K .......... .......... .......... .......... .......... 4.30M [2022-02-02T13:32:04.868Z] 350K .......... .......... .......... .......... .......... 9.39M [2022-02-02T13:32:04.868Z] 400K .......... .......... .......... .......... .......... 3.24M [2022-02-02T13:32:04.868Z] 450K .......... .......... .......... .......... .......... 3.80M [2022-02-02T13:32:04.868Z] 500K .......... .......... .......... .......... .......... 7.27M [2022-02-02T13:32:04.868Z] 550K .......... .......... .......... .......... .......... 2.36M [2022-02-02T13:32:04.868Z] 600K .......... .......... .......... .......... .......... 866K [2022-02-02T13:32:05.145Z] 650K .......... .......... .......... .......... .......... 2.04M [2022-02-02T13:32:05.145Z] 700K .. 7.92M=0.3s [2022-02-02T13:32:05.145Z] [2022-02-02T13:32:05.145Z] 2022-02-02 13:32:04 (2.71 MB/s) - written to stdout [719348] [2022-02-02T13:32:05.145Z] [2022-02-02T13:32:05.419Z] -- The C compiler identification is GNU 10.3.1 [2022-02-02T13:32:05.691Z] -- The CXX compiler identification is GNU 10.3.1 [2022-02-02T13:32:05.691Z] -- Detecting C compiler ABI info [2022-02-02T13:32:05.965Z] -- Detecting C compiler ABI info - done [2022-02-02T13:32:05.965Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-02T13:32:05.965Z] -- Detecting C compile features [2022-02-02T13:32:05.965Z] -- Detecting C compile features - done [2022-02-02T13:32:05.965Z] -- Detecting CXX compiler ABI info [2022-02-02T13:32:06.239Z] -- Detecting CXX compiler ABI info - done [2022-02-02T13:32:06.239Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2022-02-02T13:32:06.239Z] -- Detecting CXX compile features [2022-02-02T13:32:06.239Z] -- Detecting CXX compile features - done [2022-02-02T13:32:06.516Z] -- Looking for include file endian.h [2022-02-02T13:32:06.516Z] -- Looking for include file endian.h - found [2022-02-02T13:32:06.789Z] -- Looking for sys/types.h [2022-02-02T13:32:07.063Z] -- Looking for sys/types.h - found [2022-02-02T13:32:07.063Z] -- Looking for stdint.h [2022-02-02T13:32:07.336Z] -- Looking for stdint.h - found [2022-02-02T13:32:07.336Z] -- Looking for stddef.h [2022-02-02T13:32:07.607Z] -- Looking for stddef.h - found [2022-02-02T13:32:07.607Z] -- Check size of size_t [2022-02-02T13:32:07.878Z] -- Check size of size_t - done [2022-02-02T13:32:07.878Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2022-02-02T13:32:07.878Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2022-02-02T13:32:07.878Z] asked CMake to find a package configuration file provided by "cJSON", but [2022-02-02T13:32:07.878Z] CMake did not find one. [2022-02-02T13:32:07.878Z] [2022-02-02T13:32:07.878Z] Could not find a package configuration file provided by "cJSON" with any of [2022-02-02T13:32:07.878Z] the following names: [2022-02-02T13:32:07.878Z] [2022-02-02T13:32:07.878Z] cJSONConfig.cmake [2022-02-02T13:32:07.878Z] cjson-config.cmake [2022-02-02T13:32:07.878Z] [2022-02-02T13:32:07.878Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2022-02-02T13:32:07.878Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2022-02-02T13:32:07.878Z] provides a separate development package or SDK, be sure it has been [2022-02-02T13:32:07.878Z] installed. [2022-02-02T13:32:07.878Z] [2022-02-02T13:32:07.878Z] [2022-02-02T13:32:07.878Z] -- Configuring done [2022-02-02T13:32:07.878Z] -- Generating done [2022-02-02T13:32:08.150Z] -- Build files have been written to: /tmp/cbor [2022-02-02T13:32:08.150Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2022-02-02T13:32:09.119Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2022-02-02T13:32:09.713Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2022-02-02T13:32:09.984Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2022-02-02T13:32:10.960Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2022-02-02T13:32:11.245Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2022-02-02T13:32:11.245Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2022-02-02T13:32:11.516Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2022-02-02T13:32:11.789Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2022-02-02T13:32:12.062Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2022-02-02T13:32:13.038Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2022-02-02T13:32:13.038Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2022-02-02T13:32:13.632Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2022-02-02T13:32:14.226Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2022-02-02T13:32:14.499Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2022-02-02T13:32:14.773Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2022-02-02T13:32:15.043Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2022-02-02T13:32:15.315Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2022-02-02T13:32:15.587Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2022-02-02T13:32:15.859Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2022-02-02T13:32:16.132Z] [ 40%] Linking C shared library libcbor.so [2022-02-02T13:32:16.405Z] [ 40%] Built target cbor_shared [2022-02-02T13:32:16.405Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2022-02-02T13:32:17.378Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2022-02-02T13:32:17.969Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2022-02-02T13:32:18.243Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2022-02-02T13:32:20.199Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2022-02-02T13:32:20.470Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2022-02-02T13:32:20.742Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2022-02-02T13:32:21.013Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2022-02-02T13:32:21.285Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2022-02-02T13:32:21.556Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2022-02-02T13:32:22.530Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2022-02-02T13:32:22.802Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2022-02-02T13:32:23.395Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2022-02-02T13:32:23.989Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2022-02-02T13:32:24.264Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2022-02-02T13:32:24.536Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2022-02-02T13:32:24.809Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2022-02-02T13:32:25.084Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2022-02-02T13:32:25.356Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2022-02-02T13:32:25.954Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2022-02-02T13:32:25.954Z] [ 80%] Linking C static library libcbor.a [2022-02-02T13:32:25.954Z] [ 80%] Built target cbor [2022-02-02T13:32:25.954Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2022-02-02T13:32:26.226Z] [ 84%] Linking C executable readfile [2022-02-02T13:32:26.498Z] [ 84%] Built target readfile [2022-02-02T13:32:26.498Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2022-02-02T13:32:26.770Z] [ 88%] Linking C executable create_items [2022-02-02T13:32:26.770Z] [ 88%] Built target create_items [2022-02-02T13:32:26.770Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2022-02-02T13:32:27.043Z] [ 92%] Linking C executable sort [2022-02-02T13:32:27.043Z] [ 92%] Built target sort [2022-02-02T13:32:27.316Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2022-02-02T13:32:27.316Z] [ 96%] Linking C executable hello [2022-02-02T13:32:27.586Z] [ 96%] Built target hello [2022-02-02T13:32:27.586Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2022-02-02T13:32:27.858Z] [100%] Linking C executable streaming_parser [2022-02-02T13:32:27.858Z] [100%] Built target streaming_parser [2022-02-02T13:32:27.858Z] Install the project... [2022-02-02T13:32:27.858Z] -- Install configuration: "Release" [2022-02-02T13:32:27.858Z] -- Installing: /usr/local/include/cbor/configuration.h [2022-02-02T13:32:27.858Z] -- Installing: /usr/local/lib/libcbor.a [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/lib/libcbor.so.0 [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/lib/libcbor.so [2022-02-02T13:32:28.130Z] -- Up-to-date: /usr/local/include/cbor [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/data.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/callbacks.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/ints.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/arrays.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/maps.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/tags.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/serialization.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/common.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/internal [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/encoding.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/streaming.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor/strings.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/include/cbor.h [2022-02-02T13:32:28.130Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2022-02-02T13:32:29.559Z] Removing intermediate container 74f49eb1254e [2022-02-02T13:32:29.559Z] ---> 3339eac486fc [2022-02-02T13:32:29.559Z] Step 8/24 : RUN mkdir /tmp/sdk [2022-02-02T13:32:29.835Z] ---> Running in 6fb1a88472c7 [2022-02-02T13:32:31.812Z] Removing intermediate container 6fb1a88472c7 [2022-02-02T13:32:31.812Z] ---> 58c116cfac5e [2022-02-02T13:32:31.812Z] Step 9/24 : COPY VERSION /tmp/sdk [2022-02-02T13:32:32.083Z] ---> fa5308b01def [2022-02-02T13:32:32.083Z] Step 10/24 : COPY src /tmp/sdk/src [2022-02-02T13:32:33.057Z] ---> b8a21b3a2fd8 [2022-02-02T13:32:33.057Z] Step 11/24 : COPY include /tmp/sdk/include [2022-02-02T13:32:33.649Z] ---> 0a7a8db2bd54 [2022-02-02T13:32:33.649Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2022-02-02T13:32:34.244Z] ---> c34292b1c0aa [2022-02-02T13:32:34.244Z] Step 13/24 : COPY LICENSE /tmp/sdk [2022-02-02T13:32:34.842Z] ---> c6bf3d594ebe [2022-02-02T13:32:34.843Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2022-02-02T13:32:35.437Z] ---> 8ee7c3859279 [2022-02-02T13:32:35.437Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-02-02T13:32:35.437Z] ---> Running in cc49d7ce779b [2022-02-02T13:32:36.414Z] + CPPCHECK=false [2022-02-02T13:32:36.414Z] + DOCGEN=false [2022-02-02T13:32:36.414Z] + TOMLVER=SDK-0.2 [2022-02-02T13:32:36.414Z] + CUTILVER=1.2.2 [2022-02-02T13:32:36.414Z] + '[' 0 -gt 0 ] [2022-02-02T13:32:36.414Z] + readlink -f ./scripts/build.sh [2022-02-02T13:32:36.414Z] + dirname /tmp/sdk/scripts/build.sh [2022-02-02T13:32:36.414Z] + dirname /tmp/sdk/scripts [2022-02-02T13:32:36.414Z] + ROOT=/tmp/sdk [2022-02-02T13:32:36.414Z] + cd /tmp/sdk [2022-02-02T13:32:36.414Z] + '[' '!' -d deps ] [2022-02-02T13:32:36.414Z] + mkdir deps [2022-02-02T13:32:36.414Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-02T13:32:36.414Z] + tar -C deps -z -x -f - [2022-02-02T13:32:36.414Z] --2022-02-02 13:32:36-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-02T13:32:36.414Z] Resolving github.com (github.com)... 140.82.114.4 [2022-02-02T13:32:36.414Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2022-02-02T13:32:36.414Z] HTTP request sent, awaiting response... 302 Found [2022-02-02T13:32:36.414Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2022-02-02T13:32:36.414Z] --2022-02-02 13:32:36-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2022-02-02T13:32:36.414Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2022-02-02T13:32:36.684Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2022-02-02T13:32:36.685Z] HTTP request sent, awaiting response... 200 OK [2022-02-02T13:32:36.685Z] Length: unspecified [application/x-gzip] [2022-02-02T13:32:36.685Z] Saving to: 'STDOUT' [2022-02-02T13:32:36.685Z]  [2022-02-02T13:32:36.685Z] 0K .......... ......    823K=0.02s [2022-02-02T13:32:36.685Z] [2022-02-02T13:32:36.685Z] 2022-02-02 13:32:36 (823 KB/s) - written to stdout [16451] [2022-02-02T13:32:36.685Z] [2022-02-02T13:32:36.685Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-02-02T13:32:36.685Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-02T13:32:36.685Z] + tar -C deps -z -x -f - [2022-02-02T13:32:36.685Z] --2022-02-02 13:32:36-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-02T13:32:36.685Z] Resolving github.com (github.com)... 140.82.114.4 [2022-02-02T13:32:36.685Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2022-02-02T13:32:36.953Z] HTTP request sent, awaiting response... 302 Found [2022-02-02T13:32:36.953Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2022-02-02T13:32:36.953Z] --2022-02-02 13:32:36-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2022-02-02T13:32:36.953Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2022-02-02T13:32:36.953Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2022-02-02T13:32:37.224Z] HTTP request sent, awaiting response... 200 OK [2022-02-02T13:32:37.224Z] Length: unspecified [application/x-gzip] [2022-02-02T13:32:37.224Z] Saving to: 'STDOUT' [2022-02-02T13:32:37.224Z]  [2022-02-02T13:32:37.224Z] 0K .......... .......... .......... .......... .......... 1.20M [2022-02-02T13:32:37.224Z] 50K .......... .......... .......... .......... .......... 2.54M [2022-02-02T13:32:37.224Z] 100K .......... .......... .......... .......... .......... 13.4M [2022-02-02T13:32:37.224Z] 150K .......... .......... .......... ......... 2.05M=0.08s [2022-02-02T13:32:37.224Z] [2022-02-02T13:32:37.224Z] 2022-02-02 13:32:37 (2.25 MB/s) - written to stdout [193961] [2022-02-02T13:32:37.224Z] [2022-02-02T13:32:37.224Z] + mkdir -p src/c/iot [2022-02-02T13:32:37.224Z] + 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-02T13:32:37.224Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-02-02T13:32:37.224Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-02-02T13:32:37.224Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-02-02T13:32:37.224Z] + mkdir -p include/iot [2022-02-02T13:32:37.225Z] + 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-02T13:32:37.225Z] + mkdir -p include/iot/os [2022-02-02T13:32:37.225Z] + 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-02T13:32:37.225Z] + mkdir -p /tmp/sdk/build/release [2022-02-02T13:32:37.225Z] + cd /tmp/sdk/build/release [2022-02-02T13:32:37.225Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-02-02T13:32:37.495Z] -- The C compiler identification is GNU 10.3.1 [2022-02-02T13:32:37.495Z] -- Detecting C compiler ABI info [2022-02-02T13:32:37.767Z] -- Detecting C compiler ABI info - done [2022-02-02T13:32:38.040Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-02T13:32:38.040Z] -- Detecting C compile features [2022-02-02T13:32:38.040Z] -- Detecting C compile features - done [2022-02-02T13:32:38.040Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-02T13:32:38.040Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2022-02-02T13:32:38.040Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-02T13:32:38.040Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-02T13:32:38.312Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2022-02-02T13:32:38.312Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-02T13:32:38.312Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-02T13:32:38.312Z] -- C SDK 0.0.0 for Linux [2022-02-02T13:32:38.312Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-02T13:32:38.584Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-02T13:32:38.584Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-02T13:32:38.855Z] -- Configuring done [2022-02-02T13:32:38.855Z] -- Generating done [2022-02-02T13:32:38.855Z] -- Build files have been written to: /tmp/sdk/build/release [2022-02-02T13:32:39.127Z] + + maketee all release.log package [2022-02-02T13:32:39.127Z] [2022-02-02T13:32:39.127Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-02T13:32:39.717Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-02T13:32:40.311Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-02T13:32:42.914Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-02T13:32:43.502Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-02T13:32:43.502Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-02T13:32:44.473Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-02T13:32:45.062Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-02T13:32:45.332Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-02T13:32:46.752Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-02T13:32:48.714Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-02T13:32:48.985Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-02T13:32:49.956Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-02T13:32:50.548Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-02T13:32:51.140Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-02T13:32:51.140Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-02T13:32:51.412Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-02T13:32:54.786Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-02T13:32:54.786Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-02T13:32:55.379Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-02T13:32:55.650Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-02T13:32:56.247Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-02T13:32:56.517Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-02T13:32:56.517Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-02T13:32:56.517Z] 275 | const iot_component_factory_t * factory; [2022-02-02T13:32:56.517Z] | ^~~~~~~ [2022-02-02T13:32:57.105Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-02T13:33:02.482Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-02T13:33:02.482Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-02T13:33:02.482Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-02T13:33:02.754Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-02T13:33:03.347Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-02T13:33:03.621Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-02T13:33:05.041Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-02T13:33:05.316Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-02T13:33:05.907Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-02T13:33:06.505Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-02T13:33:06.777Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-02T13:33:09.380Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-02T13:33:09.651Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-02T13:33:10.635Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-02T13:33:10.908Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-02T13:33:16.282Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-02T13:33:16.283Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-02T13:33:16.874Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-02T13:33:17.148Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-02T13:33:17.421Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-02T13:33:17.421Z] /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-02T13:33:17.421Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-02T13:33:17.421Z] | ^~~~~~~~~~~~~ [2022-02-02T13:33:17.421Z] | | [2022-02-02T13:33:17.421Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-02T13:33:17.421Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T13:33:17.421Z] /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-02T13:33:17.421Z] 2714 | MHD_KeyValueIterator iterator, [2022-02-02T13:33:17.421Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-02T13:33:17.421Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-02T13:33:17.421Z] /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-02T13:33:17.421Z] 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-02T13:33:17.421Z] | ^~~~~~~~~~~~ [2022-02-02T13:33:17.421Z] | | [2022-02-02T13:33:17.421Z] | 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-02T13:33:17.421Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T13:33:17.421Z] /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-02T13:33:17.421Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-02T13:33:17.421Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-02T13:33:17.421Z] /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-02T13:33:17.421Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-02T13:33:17.421Z] | ^~~~~~~~~~~~ [2022-02-02T13:33:17.421Z] | | [2022-02-02T13:33:17.421Z] | 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-02T13:33:17.421Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T13:33:17.421Z] /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-02T13:33:17.421Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-02T13:33:17.421Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-02T13:33:18.397Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-02T13:33:20.373Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-02T13:33:20.645Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-02T13:33:21.238Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-02T13:33:21.509Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-02T13:33:24.114Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-02T13:33:28.389Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-02T13:33:28.660Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-02T13:33:29.253Z] [ 76%] Linking C shared library libcsdk.so [2022-02-02T13:33:29.253Z] [ 76%] Built target csdk [2022-02-02T13:33:29.253Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-02T13:33:30.225Z] [ 79%] Linking C executable template [2022-02-02T13:33:30.498Z] [ 79%] Built target template [2022-02-02T13:33:30.498Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-02T13:33:31.094Z] [ 82%] Linking C executable device-counter [2022-02-02T13:33:31.094Z] [ 82%] Built target device-counter [2022-02-02T13:33:31.094Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-02T13:33:31.686Z] [ 85%] Linking C executable device-random [2022-02-02T13:33:31.957Z] [ 85%] Built target device-random [2022-02-02T13:33:31.957Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-02T13:33:32.549Z] [ 88%] Linking C executable device-gyro [2022-02-02T13:33:32.549Z] [ 88%] Built target device-gyro [2022-02-02T13:33:32.819Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-02T13:33:33.090Z] [ 91%] Linking C executable device-bitfields [2022-02-02T13:33:33.363Z] [ 91%] Built target device-bitfields [2022-02-02T13:33:33.363Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-02T13:33:34.337Z] [ 94%] Linking C executable template-discovery [2022-02-02T13:33:34.615Z] [ 94%] Built target template-discovery [2022-02-02T13:33:34.615Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-02T13:33:35.208Z] [ 97%] Linking C executable device-file [2022-02-02T13:33:35.480Z] [ 97%] Built target device-file [2022-02-02T13:33:35.480Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-02T13:33:36.075Z] [100%] Linking C executable device-terminal [2022-02-02T13:33:36.346Z] [100%] Built target device-terminal [2022-02-02T13:33:36.620Z] Run CPack packaging tool... [2022-02-02T13:33:36.620Z] CPack: Create package using TGZ [2022-02-02T13:33:36.620Z] CPack: Install projects [2022-02-02T13:33:36.620Z] CPack: - Run preinstall target for: Csdk [2022-02-02T13:33:37.213Z] CPack: - Install project: Csdk [] [2022-02-02T13:33:37.213Z] CPack: Create package [2022-02-02T13:33:37.485Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-02-02T13:33:37.485Z] + '[' false '=' true ] [2022-02-02T13:33:37.485Z] + '[' false '=' true ] [2022-02-02T13:33:37.485Z] + mkdir -p /tmp/sdk/build/debug [2022-02-02T13:33:37.485Z] + cd /tmp/sdk/build/debug [2022-02-02T13:33:37.485Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-02-02T13:33:37.759Z] -- The C compiler identification is GNU 10.3.1 [2022-02-02T13:33:37.759Z] -- Detecting C compiler ABI info [2022-02-02T13:33:38.032Z] -- Detecting C compiler ABI info - done [2022-02-02T13:33:38.032Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-02T13:33:38.032Z] -- Detecting C compile features [2022-02-02T13:33:38.032Z] -- Detecting C compile features - done [2022-02-02T13:33:38.032Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-02T13:33:38.305Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2022-02-02T13:33:38.305Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-02T13:33:38.305Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-02T13:33:38.305Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2022-02-02T13:33:38.305Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-02T13:33:38.305Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-02T13:33:38.305Z] -- C SDK 0.0.0 for Linux [2022-02-02T13:33:38.305Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-02T13:33:38.578Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-02T13:33:38.578Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-02T13:33:38.851Z] -- Configuring done [2022-02-02T13:33:39.122Z] -- Generating done [2022-02-02T13:33:39.122Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-02-02T13:33:39.122Z] + make [2022-02-02T13:33:39.122Z] + tee debug.log [2022-02-02T13:33:39.122Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-02T13:33:39.714Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-02T13:33:39.986Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-02T13:33:40.580Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-02T13:33:40.851Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-02T13:33:41.124Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-02T13:33:41.397Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-02T13:33:41.670Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-02T13:33:41.941Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-02T13:33:42.534Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-02T13:33:43.126Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-02T13:33:43.404Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-02T13:33:43.676Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-02T13:33:43.948Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-02T13:33:44.543Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-02T13:33:44.543Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-02T13:33:44.815Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-02T13:33:45.788Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-02T13:33:45.788Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-02T13:33:46.061Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-02T13:33:46.334Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-02T13:33:46.605Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-02T13:33:46.605Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-02T13:33:46.605Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-02T13:33:46.605Z] 275 | const iot_component_factory_t * factory; [2022-02-02T13:33:46.605Z] | ^~~~~~~ [2022-02-02T13:33:46.878Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-02T13:33:48.314Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-02T13:33:48.314Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-02T13:33:48.586Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-02T13:33:48.858Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-02T13:33:49.129Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-02T13:33:49.129Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-02T13:33:49.403Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-02T13:33:49.676Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-02T13:33:50.269Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-02T13:33:50.269Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-02T13:33:50.540Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-02T13:33:51.133Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-02T13:33:51.134Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-02T13:33:51.727Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-02T13:33:52.004Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-02T13:33:52.981Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-02T13:33:53.578Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-02T13:33:53.850Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-02T13:33:54.121Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-02T13:33:54.121Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-02T13:33:54.121Z] /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-02T13:33:54.121Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-02T13:33:54.121Z] | ^~~~~~~~~~~~~ [2022-02-02T13:33:54.121Z] | | [2022-02-02T13:33:54.121Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-02T13:33:54.121Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T13:33:54.121Z] /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-02T13:33:54.121Z] 2714 | MHD_KeyValueIterator iterator, [2022-02-02T13:33:54.121Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-02T13:33:54.121Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-02T13:33:54.121Z] /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-02T13:33:54.121Z] 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-02T13:33:54.121Z] | ^~~~~~~~~~~~ [2022-02-02T13:33:54.121Z] | | [2022-02-02T13:33:54.121Z] | 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-02T13:33:54.121Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T13:33:54.121Z] /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-02T13:33:54.121Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-02T13:33:54.121Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-02T13:33:54.121Z] /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-02T13:33:54.121Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-02T13:33:54.121Z] | ^~~~~~~~~~~~ [2022-02-02T13:33:54.121Z] | | [2022-02-02T13:33:54.121Z] | 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-02T13:33:54.121Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T13:33:54.121Z] /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-02T13:33:54.121Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-02T13:33:54.121Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-02T13:33:54.393Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-02T13:33:55.823Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-02T13:33:56.096Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-02T13:33:56.367Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-02T13:33:56.640Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-02T13:33:57.231Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-02T13:33:58.207Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-02T13:33:58.479Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-02T13:33:58.753Z] [ 76%] Linking C shared library libcsdk.so [2022-02-02T13:33:59.025Z] [ 76%] Built target csdk [2022-02-02T13:33:59.025Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-02T13:33:59.296Z] [ 79%] Linking C executable template [2022-02-02T13:33:59.567Z] [ 79%] Built target template [2022-02-02T13:33:59.567Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-02T13:33:59.840Z] [ 82%] Linking C executable device-counter [2022-02-02T13:34:00.114Z] [ 82%] Built target device-counter [2022-02-02T13:34:00.114Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-02T13:34:00.387Z] [ 85%] Linking C executable device-random [2022-02-02T13:34:00.661Z] [ 85%] Built target device-random [2022-02-02T13:34:00.661Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-02T13:34:00.936Z] [ 88%] Linking C executable device-gyro [2022-02-02T13:34:01.209Z] [ 88%] Built target device-gyro [2022-02-02T13:34:01.209Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-02T13:34:01.482Z] [ 91%] Linking C executable device-bitfields [2022-02-02T13:34:01.753Z] [ 91%] Built target device-bitfields [2022-02-02T13:34:01.753Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-02T13:34:02.024Z] [ 94%] Linking C executable template-discovery [2022-02-02T13:34:02.297Z] [ 94%] Built target template-discovery [2022-02-02T13:34:02.569Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-02T13:34:02.842Z] [ 97%] Linking C executable device-file [2022-02-02T13:34:03.116Z] [ 97%] Built target device-file [2022-02-02T13:34:03.116Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-02T13:34:03.389Z] [100%] Linking C executable device-terminal [2022-02-02T13:34:03.661Z] [100%] Built target device-terminal [2022-02-02T13:34:03.661Z] make: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:34:03.661Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:34:03.661Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:34:03.936Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:34:03.936Z] [ 76%] Built target csdk [2022-02-02T13:34:03.936Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:34:03.936Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:34:03.936Z] [ 79%] Built target template [2022-02-02T13:34:03.936Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:34:03.936Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:34:03.936Z] [ 82%] Built target device-counter [2022-02-02T13:34:03.936Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:34:03.936Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:34:03.936Z] [ 85%] Built target device-random [2022-02-02T13:34:03.936Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:34:03.936Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:34:03.936Z] [ 88%] Built target device-gyro [2022-02-02T13:34:03.936Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:34:04.208Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:34:04.208Z] [ 91%] Built target device-bitfields [2022-02-02T13:34:04.208Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:34:04.208Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:34:04.208Z] [ 94%] Built target template-discovery [2022-02-02T13:34:04.208Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:34:04.208Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:34:04.208Z] [ 97%] Built target device-file [2022-02-02T13:34:04.208Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T13:34:04.208Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:34:04.208Z] [100%] Built target device-terminal [2022-02-02T13:34:04.208Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:34:04.208Z] Install the project... [2022-02-02T13:34:04.208Z] -- Install configuration: "Release" [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/lib/libcsdk.so [2022-02-02T13:34:04.208Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2022-02-02T13:34:04.208Z] -- Up-to-date: /usr/local/include [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/edgex [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/edgex/devices.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/devsdk [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/data.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/config.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/container.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/typecode.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/thread.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/hash.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/iot.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/defs.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/uuid.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/component.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/time.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/logger.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/os [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/json.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/base64.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/include/iot/os.h [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-02-02T13:34:04.208Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-02-02T13:34:04.208Z] make: Leaving directory '/tmp/sdk/build/release' [2022-02-02T13:34:06.174Z] Removing intermediate container cc49d7ce779b [2022-02-02T13:34:06.174Z] ---> 2dcaaaccf325 [2022-02-02T13:34:06.174Z] Step 16/24 : FROM ${BASE} [2022-02-02T13:34:06.174Z] ---> b6d714ea7bf2 [2022-02-02T13:34:06.174Z] Step 17/24 : LABEL maintainer="IOTech " [2022-02-02T13:34:06.174Z] ---> Running in 2760ae95ccbc [2022-02-02T13:34:06.450Z] Removing intermediate container 2760ae95ccbc [2022-02-02T13:34:06.450Z] ---> 8d1833f225a7 [2022-02-02T13:34:06.450Z] 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-02T13:34:06.450Z] ---> Running in 34b8387f2a8f [2022-02-02T13:34:07.421Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2022-02-02T13:34:08.018Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-02T13:34:08.018Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-02T13:34:08.018Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-02T13:34:08.614Z] Removing intermediate container 34b8387f2a8f [2022-02-02T13:34:08.614Z] ---> 7c377ab3c2bf [2022-02-02T13:34:08.614Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-02T13:34:08.614Z] ---> Running in 6a5f9a3e5f75 [2022-02-02T13:34:10.587Z] Removing intermediate container 6a5f9a3e5f75 [2022-02-02T13:34:10.587Z] ---> 2fda9220c524 [2022-02-02T13:34:10.587Z] 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-02T13:34:10.587Z] ---> Running in 6aaa81dbb328 [2022-02-02T13:34:11.564Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-02T13:34:12.157Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-02T13:34:12.750Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-02T13:34:13.342Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-02T13:34:13.342Z] (1/7) Installing curl (7.79.1-r0) [2022-02-02T13:34:13.342Z] (2/7) Installing hiredis (1.0.0-r0) [2022-02-02T13:34:13.613Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2022-02-02T13:34:13.613Z] (4/7) Installing libuuid (2.37.2-r0) [2022-02-02T13:34:13.613Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-02T13:34:14.587Z] (6/7) Installing libidn2 (2.3.1-r0) [2022-02-02T13:34:14.864Z] (7/7) Installing wget (1.21.1-r1) [2022-02-02T13:34:14.864Z] Executing busybox-1.33.1-r3.trigger [2022-02-02T13:34:14.864Z] OK: 276 MiB in 84 packages [2022-02-02T13:34:15.846Z] Removing intermediate container 6aaa81dbb328 [2022-02-02T13:34:15.846Z] ---> 802e7647d278 [2022-02-02T13:34:15.846Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-02-02T13:34:16.444Z] ---> 8ee8d861ac8a [2022-02-02T13:34:16.444Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-02-02T13:34:17.043Z] ---> 6b50c7de6075 [2022-02-02T13:34:17.043Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-02-02T13:34:18.021Z] ---> 4ed6aebe420b [2022-02-02T13:34:18.021Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-02-02T13:34:18.613Z] ---> 301cf995bb75 [2022-02-02T13:34:18.613Z] Successfully built 301cf995bb75 [2022-02-02T13:34:18.613Z] 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-02T13:34:18.999Z] + docker inspect -f . ci-base-image-arm64 [2022-02-02T13:34:18.999Z] . [Pipeline] withDockerContainer [2022-02-02T13:34:19.225Z] prd-ubuntu18.04-docker-arm64-4c-16g-4434 does not seem to be running inside a container [2022-02-02T13:34:19.311Z] $ 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-02T13:34:20.558Z] $ docker top 7ee47d51e627f0b0ff7a7681346a10a579414414e8a6412f2c791ae206eb961e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-02T13:34:21.446Z] + make test [2022-02-02T13:34:21.446Z] echo "make test" [2022-02-02T13:34:21.446Z] make test [Pipeline] } [2022-02-02T13:34:21.470Z] $ docker stop --time=1 7ee47d51e627f0b0ff7a7681346a10a579414414e8a6412f2c791ae206eb961e [2022-02-02T13:34:23.104Z] $ docker rm -f 7ee47d51e627f0b0ff7a7681346a10a579414414e8a6412f2c791ae206eb961e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-02T13:34:23.702Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-02T13:34:24.038Z] + ls -al . [2022-02-02T13:34:24.038Z] total 200 [2022-02-02T13:34:24.038Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 13:31 . [2022-02-02T13:34:24.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 13:31 .. [2022-02-02T13:34:24.038Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 13:31 .git [2022-02-02T13:34:24.038Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 13:31 .github [2022-02-02T13:34:24.038Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 2 13:31 .gitignore [2022-02-02T13:34:24.038Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 2 13:31 Attribution.txt [2022-02-02T13:34:24.038Z] -rw-rw-r-- 1 jenkins jenkins 7880 Feb 2 13:31 CHANGES [2022-02-02T13:34:24.038Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 2 13:31 Doxyfile [2022-02-02T13:34:24.038Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 13:31 GOVERNANCE.md [2022-02-02T13:34:24.038Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 2 13:31 Jenkinsfile [2022-02-02T13:34:24.038Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 2 13:31 LICENSE [2022-02-02T13:34:24.038Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 2 13:31 Makefile [2022-02-02T13:34:24.038Z] -rw-rw-r-- 1 jenkins jenkins 618 Feb 2 13:31 OWNERS.md [2022-02-02T13:34:24.038Z] -rw-rw-r-- 1 jenkins jenkins 4086 Feb 2 13:31 README.md [2022-02-02T13:34:24.038Z] -rw-rw-r-- 1 jenkins jenkins 7422 Feb 2 13:31 README.v2.md [2022-02-02T13:34:24.038Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 13:29 VERSION [2022-02-02T13:34:24.038Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 13:31 docs [2022-02-02T13:34:24.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 13:31 include [2022-02-02T13:34:24.038Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 13:31 scripts [2022-02-02T13:34:24.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 13:31 src [Pipeline] isUnix [Pipeline] sh [2022-02-02T13:34:24.383Z] + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e05508a3cfac6281449c00e5bc1f9c19cdf5daef --label arch=arm64 --label version=0.0.0 . [2022-02-02T13:34:24.655Z] Sending build context to Docker daemon 2.745MB [2022-02-02T13:34:24.929Z] Step 1/17 : ARG BASE=alpine:3.14 [2022-02-02T13:34:24.929Z] Step 2/17 : FROM ${BASE} [2022-02-02T13:34:24.929Z] ---> 301cf995bb75 [2022-02-02T13:34:24.929Z] Step 3/17 : LABEL maintainer="IOTech " [2022-02-02T13:34:24.929Z] ---> Running in db4a5984393c [2022-02-02T13:34:25.200Z] Removing intermediate container db4a5984393c [2022-02-02T13:34:25.200Z] ---> ae4ca81aa172 [2022-02-02T13:34:25.200Z] 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-02T13:34:25.473Z] ---> Running in 0496686e9c20 [2022-02-02T13:34:26.452Z] --2022-02-02 13:34:26-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2022-02-02T13:34:26.452Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 34.243.182.113, 54.74.239.58, 54.170.66.44, ... [2022-02-02T13:34:26.452Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|34.243.182.113|:443... connected. [2022-02-02T13:34:26.723Z] HTTP request sent, awaiting response... 200 OK [2022-02-02T13:34:26.723Z] Length: unspecified [application/json] [2022-02-02T13:34:26.723Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-02T13:34:26.723Z]  [2022-02-02T13:34:26.723Z] 0K   44.3M=0s [2022-02-02T13:34:26.723Z] [2022-02-02T13:34:26.723Z] 2022-02-02 13:34:26 (44.3 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2022-02-02T13:34:26.723Z] [2022-02-02T13:34:27.318Z] Removing intermediate container 0496686e9c20 [2022-02-02T13:34:27.318Z] ---> 5c68e1715480 [2022-02-02T13:34:27.318Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-02T13:34:27.591Z] ---> Running in b98e6f1b6374 [2022-02-02T13:34:29.564Z] Removing intermediate container b98e6f1b6374 [2022-02-02T13:34:29.564Z] ---> 240fb697c465 [2022-02-02T13:34:29.564Z] 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-02T13:34:29.564Z] ---> Running in df83bab1b0d0 [2022-02-02T13:34:30.159Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-02T13:34:31.135Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-02T13:34:31.405Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-02T13:34:32.379Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-02T13:34:32.379Z] (1/21) Installing ncurses-dev (6.2_p20210612-r0) [2022-02-02T13:34:32.379Z] (2/21) Installing libblkid (2.37.2-r0) [2022-02-02T13:34:32.379Z] (3/21) Installing blkid (2.37.2-r0) [2022-02-02T13:34:32.379Z] (4/21) Installing libcap-ng (0.8.2-r0) [2022-02-02T13:34:32.649Z] (5/21) Installing setpriv (2.37.2-r0) [2022-02-02T13:34:32.649Z] (6/21) Installing libmount (2.37.2-r0) [2022-02-02T13:34:32.649Z] (7/21) Installing libsmartcols (2.37.2-r0) [2022-02-02T13:34:32.919Z] (8/21) Installing findmnt (2.37.2-r0) [2022-02-02T13:34:32.919Z] (9/21) Installing mcookie (2.37.2-r0) [2022-02-02T13:34:32.919Z] (10/21) Installing hexdump (2.37.2-r0) [2022-02-02T13:34:33.190Z] (11/21) Installing lsblk (2.37.2-r0) [2022-02-02T13:34:33.190Z] (12/21) Installing libfdisk (2.37.2-r0) [2022-02-02T13:34:33.190Z] (13/21) Installing sfdisk (2.37.2-r0) [2022-02-02T13:34:33.467Z] (14/21) Installing cfdisk (2.37.2-r0) [2022-02-02T13:34:33.467Z] (15/21) Installing partx (2.37.2-r0) [2022-02-02T13:34:33.467Z] (16/21) Installing flock (2.37.2-r0) [2022-02-02T13:34:33.738Z] (17/21) Installing logger (2.37.2-r0) [2022-02-02T13:34:33.738Z] (18/21) Installing uuidgen (2.37.2-r0) [2022-02-02T13:34:33.738Z] (19/21) Installing libeconf (0.3.8-r1) [2022-02-02T13:34:34.009Z] (20/21) Installing util-linux (2.37.2-r0) [2022-02-02T13:34:34.288Z] (21/21) Installing util-linux-dev (2.37.2-r0) [2022-02-02T13:34:34.288Z] Executing busybox-1.33.1-r3.trigger [2022-02-02T13:34:34.288Z] OK: 286 MiB in 105 packages [2022-02-02T13:34:35.726Z] Removing intermediate container df83bab1b0d0 [2022-02-02T13:34:35.726Z] ---> e9672963beff [2022-02-02T13:34:35.726Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-02-02T13:34:36.322Z] ---> 19e3a966cb56 [2022-02-02T13:34:36.322Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-02-02T13:34:37.303Z] ---> 5615a05881dd [2022-02-02T13:34:37.303Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-02-02T13:34:37.582Z] ---> 697879a6683b [2022-02-02T13:34:37.582Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-02-02T13:34:38.183Z] ---> 9723af416efb [2022-02-02T13:34:38.183Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-02-02T13:34:38.778Z] ---> ee3795ddeb01 [2022-02-02T13:34:38.778Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-02-02T13:34:39.395Z] ---> b653959676cc [2022-02-02T13:34:39.395Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-02-02T13:34:39.683Z] ---> Running in 715a4d6ea6ac [2022-02-02T13:34:39.989Z] Removing intermediate container 715a4d6ea6ac [2022-02-02T13:34:39.989Z] ---> 4c653fe2d366 [2022-02-02T13:34:39.989Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-02-02T13:34:40.266Z] ---> Running in f3e414cfe224 [2022-02-02T13:34:40.551Z] Removing intermediate container f3e414cfe224 [2022-02-02T13:34:40.551Z] ---> 68d4e150c068 [2022-02-02T13:34:40.551Z] Step 15/17 : LABEL arch=arm64 [2022-02-02T13:34:40.551Z] ---> Running in 7926deea9f28 [2022-02-02T13:34:40.840Z] Removing intermediate container 7926deea9f28 [2022-02-02T13:34:40.840Z] ---> 86ada2f62def [2022-02-02T13:34:40.840Z] Step 16/17 : LABEL git_sha=e05508a3cfac6281449c00e5bc1f9c19cdf5daef [2022-02-02T13:34:41.139Z] ---> Running in 2eea88f9da01 [2022-02-02T13:34:41.414Z] Removing intermediate container 2eea88f9da01 [2022-02-02T13:34:41.414Z] ---> 03bff8d2da99 [2022-02-02T13:34:41.414Z] Step 17/17 : LABEL version=0.0.0 [2022-02-02T13:34:41.691Z] ---> Running in ea2f9e1bda46 [2022-02-02T13:34:41.966Z] Removing intermediate container ea2f9e1bda46 [2022-02-02T13:34:41.966Z] ---> 2209d37f06b2 [2022-02-02T13:34:41.966Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-02-02T13:34:41.966Z] Successfully built 2209d37f06b2 [2022-02-02T13:34:41.966Z] 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-02T13:34:42.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-02T13:34:42.385Z] [2022-02-02T13:34:42.385Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-02T13:34:42.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-02T13:34:43.026Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-02T13:34:43.026Z] 448f6bf000e3: Pulling fs layer [2022-02-02T13:34:43.026Z] f757da607395: Pulling fs layer [2022-02-02T13:34:43.026Z] 05883995daec: Pulling fs layer [2022-02-02T13:34:43.026Z] 8603b9c90790: Pulling fs layer [2022-02-02T13:34:43.026Z] 1560dd03e051: Pulling fs layer [2022-02-02T13:34:43.026Z] 27f5ce0e4adf: Pulling fs layer [2022-02-02T13:34:43.026Z] c2d8d7efcc4b: Pulling fs layer [2022-02-02T13:34:43.026Z] 8603b9c90790: Waiting [2022-02-02T13:34:43.026Z] 1560dd03e051: Waiting [2022-02-02T13:34:43.026Z] 27f5ce0e4adf: Waiting [2022-02-02T13:34:43.026Z] c2d8d7efcc4b: Waiting [2022-02-02T13:34:43.026Z] f757da607395: Verifying Checksum [2022-02-02T13:34:43.027Z] f757da607395: Download complete [2022-02-02T13:34:43.027Z] 8603b9c90790: Verifying Checksum [2022-02-02T13:34:43.027Z] 8603b9c90790: Download complete [2022-02-02T13:34:43.327Z] 1560dd03e051: Verifying Checksum [2022-02-02T13:34:43.327Z] 1560dd03e051: Download complete [2022-02-02T13:34:43.327Z] 05883995daec: Verifying Checksum [2022-02-02T13:34:43.327Z] 05883995daec: Download complete [2022-02-02T13:34:43.327Z] 27f5ce0e4adf: Verifying Checksum [2022-02-02T13:34:43.327Z] 27f5ce0e4adf: Download complete [2022-02-02T13:34:43.609Z] 448f6bf000e3: Verifying Checksum [2022-02-02T13:34:43.609Z] 448f6bf000e3: Download complete [2022-02-02T13:34:47.082Z] c2d8d7efcc4b: Verifying Checksum [2022-02-02T13:34:47.082Z] c2d8d7efcc4b: Download complete [2022-02-02T13:34:48.058Z] 448f6bf000e3: Pull complete [2022-02-02T13:34:48.652Z] f757da607395: Pull complete [2022-02-02T13:34:50.081Z] 05883995daec: Pull complete [2022-02-02T13:34:50.081Z] 8603b9c90790: Pull complete [2022-02-02T13:34:51.053Z] 1560dd03e051: Pull complete [2022-02-02T13:34:51.330Z] 27f5ce0e4adf: Pull complete [2022-02-02T13:35:06.391Z] c2d8d7efcc4b: Pull complete [2022-02-02T13:35:06.391Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-02T13:35:06.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-02T13:35:06.391Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-02T13:35:06.607Z] prd-ubuntu18.04-docker-arm64-4c-16g-4434 does not seem to be running inside a container [2022-02-02T13:35:06.679Z] $ 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-02T13:35:09.106Z] $ docker top a895218b66e52b30905b86b01ba022197f05cdae1b925b05ed1c81a51d427208 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-02T13:35:09.984Z] ---> job-cost.sh [2022-02-02T13:35:09.984Z] lf-activate-venv: SKIPPING [2022-02-02T13:35:09.984Z] INFO: No Stack... [2022-02-02T13:35:10.255Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-02T13:35:10.526Z] INFO: Archiving Costs [Pipeline] sh [2022-02-02T13:35:11.182Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2022-02-02T13:35:11.182Z] + cut -d, -f6 [Pipeline] lock [2022-02-02T13:35:11.241Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-396-2-stack-cost] [2022-02-02T13:35:11.249Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-396-2-stack-cost] did not exist. Created. [2022-02-02T13:35:11.249Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-396-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-02T13:35:11.917Z] /w/workspace/device-sdk-c/2@tmp/durable-820ca3c0/script.sh: 1: /w/workspace/device-sdk-c/2@tmp/durable-820ca3c0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-02T13:35:12.581Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-02T13:35:12.601Z] Warning: overwriting stash ‘stack-cost’ [2022-02-02T13:35:13.025Z] Stashed 1 file(s) [Pipeline] } [2022-02-02T13:35:13.032Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-396-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-02T13:35:13.050Z] $ docker stop --time=1 a895218b66e52b30905b86b01ba022197f05cdae1b925b05ed1c81a51d427208 [2022-02-02T13:35:14.532Z] $ docker rm -f a895218b66e52b30905b86b01ba022197f05cdae1b925b05ed1c81a51d427208 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-02-02T13:35:15.452Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives ']' [2022-02-02T13:35:15.453Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives [2022-02-02T13:35:15.453Z] total 8 [2022-02-02T13:35:15.453Z] drwxr-xr-x. 3 root root 34 Feb 2 13:30 . [2022-02-02T13:35:15.453Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 2 13:30 .. [2022-02-02T13:35:15.453Z] drwxr-xr-x. 2 root root 6 Feb 2 13:30 cost [2022-02-02T13:35:15.453Z] -rw-r--r--. 1 root root 83 Feb 2 13:30 cost.csv [2022-02-02T13:35:15.453Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives [2022-02-02T13:35:15.453Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives [2022-02-02T13:35:15.453Z] total 8 [2022-02-02T13:35:15.453Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 2 13:30 . [2022-02-02T13:35:15.453Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 2 13:30 .. [2022-02-02T13:35:15.453Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 2 13:30 cost [2022-02-02T13:35:15.453Z] -rw-r--r--. 1 jenkins jenkins 83 Feb 2 13:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-02T13:35:15.917Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-02T13:35:16.474Z] ---> package-listing.sh [2022-02-02T13:35:16.474Z] ++ facter osfamily [2022-02-02T13:35:16.474Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-02T13:35:16.736Z] + OS_FAMILY=redhat [2022-02-02T13:35:16.736Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-396 [2022-02-02T13:35:16.736Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-02T13:35:16.736Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-02T13:35:16.736Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-02T13:35:16.736Z] + PACKAGES=/tmp/packages_start.txt [2022-02-02T13:35:16.736Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-396 ']' [2022-02-02T13:35:16.736Z] + PACKAGES=/tmp/packages_end.txt [2022-02-02T13:35:16.736Z] + case "${OS_FAMILY}" in [2022-02-02T13:35:16.736Z] + sort [2022-02-02T13:35:16.736Z] + rpm -qa [2022-02-02T13:35:17.307Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-02T13:35:17.307Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-02T13:35:17.307Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-02T13:35:17.307Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-396 ']' [2022-02-02T13:35:17.307Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives/ [2022-02-02T13:35:17.307Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives/ [Pipeline] echo [2022-02-02T13:35:17.320Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-396/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-02T13:35:17.604Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-02T13:35:18.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-02T13:35:18.164Z] . [Pipeline] withDockerContainer [2022-02-02T13:35:18.231Z] prd-centos7-docker-4c-2g-4433 does not seem to be running inside a container [2022-02-02T13:35:18.249Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-396/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-396 -v /w/workspace/edgexfoundry_device-sdk-c_PR-396:/w/workspace/edgexfoundry_device-sdk-c_PR-396:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-02T13:35:18.454Z] $ docker top 110b4b1ca7e43d9313731b960378a4e9dab121a872508bae8b6ea645e9a6b670 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-02T13:35:18.837Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-02T13:35:19.134Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-02T13:35:19.423Z] + ls /var/log/sa-host [2022-02-02T13:35:19.423Z] + sadf -c /var/log/sa-host/sa02 [2022-02-02T13:35:19.423Z] file_magic: OK [2022-02-02T13:35:19.423Z] HZ: Using current value: 100 [2022-02-02T13:35:19.423Z] file_header: OK [2022-02-02T13:35:19.423Z] 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-02T13:35:19.423Z] Statistics: [2022-02-02T13:35:19.423Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-02T13:35:19.423Z] File successfully converted to sysstat format version 12.0.3 [2022-02-02T13:35:19.423Z] + sadf -c /var/log/sa-host/sa17 [2022-02-02T13:35:19.423Z] file_magic: OK [2022-02-02T13:35:19.423Z] HZ: Using current value: 100 [2022-02-02T13:35:19.423Z] file_header: OK [2022-02-02T13:35:19.423Z] 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-02T13:35:19.423Z] Statistics: [2022-02-02T13:35:19.423Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-02T13:35:19.423Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-02T13:35:19.654Z] provisioning config files... [2022-02-02T13:35:19.663Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/config8583768197897766630tmp [Pipeline] { [Pipeline] echo [2022-02-02T13:35:19.674Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-02T13:35:19.969Z] ---> create-netrc.sh [Pipeline] } [2022-02-02T13:35:19.976Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-02T13:35:20.307Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-02T13:35:20.315Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-02T13:35:20.604Z] ---> sudo-logs.sh [2022-02-02T13:35:20.604Z] Archiving 'sudo' log.. [2022-02-02T13:35:20.604Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4433.novalocal: Name or service not known [2022-02-02T13:35:20.604Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4433.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-02T13:35:20.634Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-02T13:35:20.934Z] ---> job-cost.sh [2022-02-02T13:35:20.934Z] lf-activate-venv: SKIPPING [2022-02-02T13:35:20.934Z] DEBUG: total: 0.05999999865889549 [2022-02-02T13:35:20.934Z] INFO: Retrieving Stack Cost... [2022-02-02T13:35:21.195Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-02T13:35:21.456Z] INFO: Archiving Costs [Pipeline] echo [2022-02-02T13:35:21.469Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-02T13:35:21.765Z] ---> logs-deploy.sh [2022-02-02T13:35:21.765Z] lf-activate-venv: SKIPPING [2022-02-02T13:35:21.765Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-396/2 [2022-02-02T13:35:21.765Z] INFO: archiving workspace using pattern(s): [2022-02-02T13:35:22.336Z] Archives upload complete. [2022-02-02T13:35:22.597Z] INFO: archiving logs to Nexus