Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 739477acbf421f4c8ab997665c0daf1f91507244 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-ssh9448604425057929489.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh4573086868963618067.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7077824006690099198.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh3143346595253485421.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh18206826401048099170.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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-915 in /w/workspace/edgexfoundry_device-sdk-c_main [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_main # 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_main@tmp/jenkins-gitclient-ssh4649766144354755052.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 739477acbf421f4c8ab997665c0daf1f91507244 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 739477acbf421f4c8ab997665c0daf1f91507244 # timeout=10 Commit message: "docs: update issue templates to include required sections (#390)" > git rev-list --no-walk 9c093d915178364b5ad4a5f89c558c84b05f4943 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-15T15:38:10.260Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-15T15:38:10.300Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-15T15:38:10.311Z] ========================================================= [2021-12-15T15:38:10.312Z] EdgeX Global Pipelines Version Info [2021-12-15T15:38:10.312Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-15T15:38:11.464Z] ------------------- [2021-12-15T15:38:11.464Z] stable info: [2021-12-15T15:38:11.464Z] ------------------- [2021-12-15T15:38:11.464Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-15T15:38:11.464Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-15T15:38:11.464Z] Message: update stable to v1.0.217 [2021-12-15T15:38:12.036Z] ------------------- [2021-12-15T15:38:12.036Z] experimental info: [2021-12-15T15:38:12.036Z] ------------------- [2021-12-15T15:38:12.036Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-15T15:38:12.036Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-15T15:38:12.036Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-15T15:38:12.191Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-12-15T15:38:12.204Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-12-15T15:38:12.214Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-15T15:38:12.225Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-15T15:38:12.236Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-15T15:38:12.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-12-15T15:38:12.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-12-15T15:38:12.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-15T15:38:12.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-15T15:38:12.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-12-15T15:38:12.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-15T15:38:12.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-15T15:38:12.341Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-15T15:38:12.352Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-12-15T15:38:12.362Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-15T15:38:12.373Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-12-15T15:38:12.384Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-15T15:38:12.394Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-12-15T15:38:12.405Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-12-15T15:38:12.416Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-12-15T15:38:12.424Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 739477acbf421f4c8ab997665c0daf1f91507244 [Pipeline] echo [2021-12-15T15:38:12.432Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 739477a [Pipeline] echo [2021-12-15T15:38:12.439Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-15T15:38:12.471Z] provisioning config files... [2021-12-15T15:38:12.483Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2642533010549757275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-15T15:38:12.788Z] ---> docker-login.sh [2021-12-15T15:38:12.788Z] nexus3.edgexfoundry.org:10001 [2021-12-15T15:38:12.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-15T15:38:13.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-15T15:38:13.050Z] Configure a credential helper to remove this warning. See [2021-12-15T15:38:13.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-15T15:38:13.050Z] [2021-12-15T15:38:13.050Z] Login Succeeded [2021-12-15T15:38:13.050Z] nexus3.edgexfoundry.org:10002 [2021-12-15T15:38:13.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-15T15:38:13.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-15T15:38:13.050Z] Configure a credential helper to remove this warning. See [2021-12-15T15:38:13.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-15T15:38:13.050Z] [2021-12-15T15:38:13.050Z] Login Succeeded [2021-12-15T15:38:13.050Z] nexus3.edgexfoundry.org:10003 [2021-12-15T15:38:13.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-15T15:38:13.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-15T15:38:13.312Z] Configure a credential helper to remove this warning. See [2021-12-15T15:38:13.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-15T15:38:13.312Z] [2021-12-15T15:38:13.312Z] Login Succeeded [2021-12-15T15:38:13.312Z] nexus3.edgexfoundry.org:10004 [2021-12-15T15:38:13.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-15T15:38:13.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-15T15:38:13.312Z] Configure a credential helper to remove this warning. See [2021-12-15T15:38:13.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-15T15:38:13.312Z] [2021-12-15T15:38:13.312Z] Login Succeeded [2021-12-15T15:38:13.312Z] docker.io [2021-12-15T15:38:13.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-15T15:38:13.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-15T15:38:13.886Z] Configure a credential helper to remove this warning. See [2021-12-15T15:38:13.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-15T15:38:13.886Z] [2021-12-15T15:38:13.886Z] Login Succeeded [2021-12-15T15:38:13.886Z] ---> docker-login.sh ends [Pipeline] } [2021-12-15T15:38:13.895Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2021-12-15T15:38:14.337Z] + git rev-list -1 --merges 739477acbf421f4c8ab997665c0daf1f91507244~1..739477acbf421f4c8ab997665c0daf1f91507244 [Pipeline] echo [2021-12-15T15:38:14.377Z] -----------> git rev-list -1 --merges 739477acbf421f4c8ab997665c0daf1f91507244~1..739477acbf421f4c8ab997665c0daf1f91507244 739477acbf421f4c8ab997665c0daf1f91507244 [false] [Pipeline] sh [2021-12-15T15:38:14.674Z] + git log --format=format:%s -1 739477acbf421f4c8ab997665c0daf1f91507244 [Pipeline] echo [2021-12-15T15:38:14.692Z] ========================================================= [2021-12-15T15:38:14.692Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-15T15:38:14.692Z] ========================================================= 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 [2021-12-15T15:38:15.299Z] + git rev-list -1 --merges 739477acbf421f4c8ab997665c0daf1f91507244~1..739477acbf421f4c8ab997665c0daf1f91507244 [Pipeline] echo [2021-12-15T15:38:15.312Z] -----------> git rev-list -1 --merges 739477acbf421f4c8ab997665c0daf1f91507244~1..739477acbf421f4c8ab997665c0daf1f91507244 739477acbf421f4c8ab997665c0daf1f91507244 [false] [Pipeline] sh [2021-12-15T15:38:15.608Z] + git log --format=format:%s -1 739477acbf421f4c8ab997665c0daf1f91507244 [Pipeline] echo [2021-12-15T15:38:15.623Z] ========================================================= [2021-12-15T15:38:15.623Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-15T15:38:15.623Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2021-12-15T15:38:16.214Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-15T15:38:16.214Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-15T15:38:16.214Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-15T15:38:16.214Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-15T15:38:16.214Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-15T15:38:16.214Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-15T15:38:16.214Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-15T15:38:16.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-15T15:38:16.636Z] [2021-12-15T15:38:16.636Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-15T15:38:16.945Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-15T15:38:16.945Z] latest: Pulling from edgex-devops/git-semver [2021-12-15T15:38:16.945Z] a0d0a0d46f8b: Pulling fs layer [2021-12-15T15:38:16.945Z] 3e5f54012d9b: Pulling fs layer [2021-12-15T15:38:16.946Z] 4c7163046ea9: Pulling fs layer [2021-12-15T15:38:16.946Z] 0c2d73faf560: Pulling fs layer [2021-12-15T15:38:16.946Z] 0c2d73faf560: Waiting [2021-12-15T15:38:16.946Z] 3e5f54012d9b: Download complete [2021-12-15T15:38:16.946Z] a0d0a0d46f8b: Verifying Checksum [2021-12-15T15:38:16.946Z] a0d0a0d46f8b: Download complete [2021-12-15T15:38:16.946Z] 4c7163046ea9: Verifying Checksum [2021-12-15T15:38:16.946Z] 4c7163046ea9: Download complete [2021-12-15T15:38:16.946Z] 0c2d73faf560: Verifying Checksum [2021-12-15T15:38:16.946Z] 0c2d73faf560: Download complete [2021-12-15T15:38:17.213Z] a0d0a0d46f8b: Pull complete [2021-12-15T15:38:17.213Z] 3e5f54012d9b: Pull complete [2021-12-15T15:38:17.474Z] 4c7163046ea9: Pull complete [2021-12-15T15:38:17.736Z] 0c2d73faf560: Pull complete [2021-12-15T15:38:17.736Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-15T15:38:17.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-15T15:38:17.736Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-15T15:38:17.809Z] prd-centos7-docker-4c-2g-915 does not seem to be running inside a container [2021-12-15T15:38:17.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-15T15:38:18.247Z] $ docker top 6aa478bbcb98c60e1156f1c518ca565b3c9c77f8caada308f5b74d22f4f4b2a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-15T15:38:18.492Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-15T15:38:18.492Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-15T15:38:18.599Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-15T15:38:18.465Z] $ docker exec 6aa478bbcb98c60e1156f1c518ca565b3c9c77f8caada308f5b74d22f4f4b2a0 ssh-agent [2021-12-15T15:38:18.695Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJhiohk/agent.13 [2021-12-15T15:38:18.695Z] SSH_AGENT_PID=19 [2021-12-15T15:38:18.705Z] Running ssh-add (command line suppressed) [2021-12-15T15:38:18.678Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2958933530557704979.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2958933530557704979.key) [2021-12-15T15:38:18.811Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-15T15:38:19.112Z] + git tag --points-at HEAD [Pipeline] } [2021-12-15T15:38:19.032Z] $ docker exec --env ******** --env ******** 6aa478bbcb98c60e1156f1c518ca565b3c9c77f8caada308f5b74d22f4f4b2a0 ssh-agent -k [2021-12-15T15:38:19.124Z] unset SSH_AUTH_SOCK; [2021-12-15T15:38:19.125Z] unset SSH_AGENT_PID; [2021-12-15T15:38:19.125Z] echo Agent pid 19 killed; [2021-12-15T15:38:19.216Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-15T15:38:19.241Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-15T15:38:19.241Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-15T15:38:19.335Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-15T15:38:19.263Z] $ docker exec 6aa478bbcb98c60e1156f1c518ca565b3c9c77f8caada308f5b74d22f4f4b2a0 ssh-agent [2021-12-15T15:38:19.423Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXghpgGB/agent.52 [2021-12-15T15:38:19.423Z] SSH_AGENT_PID=58 [2021-12-15T15:38:19.428Z] Running ssh-add (command line suppressed) [2021-12-15T15:38:19.451Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6841492813975782885.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6841492813975782885.key) [2021-12-15T15:38:19.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-15T15:38:19.817Z] + git semver init [2021-12-15T15:38:19.817Z] # -> Open(): unable to determine branch for HEAD [2021-12-15T15:38:19.817Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2021-12-15T15:38:19.817Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2021-12-15T15:38:19.817Z] # $SEMVER_REMOTE_NAME = origin [2021-12-15T15:38:19.817Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-15T15:38:19.817Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-15T15:38:19.817Z] # $SEMVER_BRANCH = main [2021-12-15T15:38:19.817Z] # $SEMVER_TEMP = /tmp/semver-212145801 [2021-12-15T15:38:19.817Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-12-15T15:38:21.204Z] # '/tmp/semver-212145801' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' [2021-12-15T15:38:21.204Z] # -> Force: false [2021-12-15T15:38:21.204Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } [2021-12-15T15:38:21.214Z] $ docker exec --env ******** --env ******** 6aa478bbcb98c60e1156f1c518ca565b3c9c77f8caada308f5b74d22f4f4b2a0 ssh-agent -k [2021-12-15T15:38:21.305Z] unset SSH_AUTH_SOCK; [2021-12-15T15:38:21.305Z] unset SSH_AGENT_PID; [2021-12-15T15:38:21.305Z] echo Agent pid 58 killed; [2021-12-15T15:38:21.317Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-15T15:38:21.638Z] + git semver [Pipeline] } [2021-12-15T15:38:21.652Z] $ docker stop --time=1 6aa478bbcb98c60e1156f1c518ca565b3c9c77f8caada308f5b74d22f4f4b2a0 [2021-12-15T15:38:22.863Z] $ docker rm -f 6aa478bbcb98c60e1156f1c518ca565b3c9c77f8caada308f5b74d22f4f4b2a0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-15T15:38:23.206Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-15T15:38:23.440Z] Stashed 1 file(s) [Pipeline] echo [2021-12-15T15:38:23.444Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-12-15T15:38:38.597Z] Still waiting to schedule task [2021-12-15T15:38:38.598Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-915’ [2021-12-15T15:38:38.600Z] Still waiting to schedule task [2021-12-15T15:38:38.600Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-12-15T15:40:09.026Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-916 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2021-12-15T15:40:09.039Z] Running in /w/workspace/device-sdk-c/15 [Pipeline] { [Pipeline] checkout [2021-12-15T15:40:09.207Z] Selected Git installation does not exist. Using Default [2021-12-15T15:40:09.207Z] The recommended git tool is: NONE [2021-12-15T15:40:13.657Z] using credential edgex-jenkins-ssh [2021-12-15T15:40:13.674Z] Cloning the remote Git repository [2021-12-15T15:40:13.742Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-12-15T15:40:13.811Z] > git init /w/workspace/device-sdk-c/15 # timeout=10 [2021-12-15T15:40:13.893Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-12-15T15:40:13.894Z] > git --version # timeout=10 [2021-12-15T15:40:13.914Z] > git --version # 'git version 2.17.1' [2021-12-15T15:40:13.916Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-15T15:40:13.993Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-15T15:40:16.303Z] Avoid second fetch [2021-12-15T15:40:16.303Z] Checking out Revision 739477acbf421f4c8ab997665c0daf1f91507244 (main) [2021-12-15T15:40:16.278Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-12-15T15:40:16.300Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-15T15:40:16.340Z] > git config core.sparsecheckout # timeout=10 [2021-12-15T15:40:16.357Z] > git checkout -f 739477acbf421f4c8ab997665c0daf1f91507244 # timeout=10 [2021-12-15T15:40:20.561Z] Commit message: "docs: update issue templates to include required sections (#390)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-15T15:40:21.541Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-15T15:40:21.541Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-15T15:40:21.541Z] Dload Upload Total Spent Left Speed [2021-12-15T15:40:21.541Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 57120 0 --:--:-- --:--:-- --:--:-- 57120 [Pipeline] sh [2021-12-15T15:40:22.129Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-15T15:40:22.469Z] + sudo tee /etc/docker/daemon.new [2021-12-15T15:40:22.469Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-15T15:40:22.469Z] { [2021-12-15T15:40:22.469Z] "registry-mirrors": [ [2021-12-15T15:40:22.469Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-15T15:40:22.469Z] ], [2021-12-15T15:40:22.469Z] "bip": "10.250.0.254/24", [2021-12-15T15:40:22.469Z] "hosts": [ [2021-12-15T15:40:22.469Z] "tcp://0.0.0.0:5555", [2021-12-15T15:40:22.469Z] "unix:///var/run/docker.sock" [2021-12-15T15:40:22.469Z] ], [2021-12-15T15:40:22.469Z] "mtu": 1458, [2021-12-15T15:40:22.469Z] "selinux-enabled": true, [2021-12-15T15:40:22.469Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-15T15:40:22.469Z] } [Pipeline] sh [2021-12-15T15:40:22.813Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-15T15:40:23.153Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-15T15:40:41.493Z] provisioning config files... [2021-12-15T15:40:41.517Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/15@tmp/config2099223126535270850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-15T15:40:41.861Z] ---> docker-login.sh [2021-12-15T15:40:41.861Z] nexus3.edgexfoundry.org:10001 [2021-12-15T15:40:42.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-15T15:40:42.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-15T15:40:42.454Z] Configure a credential helper to remove this warning. See [2021-12-15T15:40:42.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-15T15:40:42.454Z] [2021-12-15T15:40:42.454Z] Login Succeeded [2021-12-15T15:40:42.727Z] nexus3.edgexfoundry.org:10002 [2021-12-15T15:40:43.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-15T15:40:43.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-15T15:40:43.001Z] Configure a credential helper to remove this warning. See [2021-12-15T15:40:43.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-15T15:40:43.001Z] [2021-12-15T15:40:43.001Z] Login Succeeded [2021-12-15T15:40:43.001Z] nexus3.edgexfoundry.org:10003 [2021-12-15T15:40:43.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-15T15:40:43.512Z] Running on prd-centos7-docker-4c-2g-917 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2021-12-15T15:40:43.522Z] Running in /w/workspace/device-sdk-c/15 [Pipeline] { [Pipeline] checkout [2021-12-15T15:40:43.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-15T15:40:43.547Z] Configure a credential helper to remove this warning. See [2021-12-15T15:40:43.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-15T15:40:43.547Z] [2021-12-15T15:40:43.547Z] Login Succeeded [2021-12-15T15:40:43.547Z] nexus3.edgexfoundry.org:10004 [2021-12-15T15:40:43.588Z] Selected Git installation does not exist. Using Default [2021-12-15T15:40:43.588Z] The recommended git tool is: NONE [2021-12-15T15:40:43.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-15T15:40:43.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-15T15:40:43.830Z] Configure a credential helper to remove this warning. See [2021-12-15T15:40:43.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-15T15:40:43.830Z] [2021-12-15T15:40:43.830Z] Login Succeeded [2021-12-15T15:40:43.830Z] docker.io [2021-12-15T15:40:44.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-15T15:40:44.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-15T15:40:44.695Z] Configure a credential helper to remove this warning. See [2021-12-15T15:40:44.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-15T15:40:44.695Z] [2021-12-15T15:40:44.695Z] Login Succeeded [2021-12-15T15:40:44.695Z] ---> docker-login.sh ends [Pipeline] } [2021-12-15T15:40:44.713Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-12-15T15:40:45.025Z] using credential edgex-jenkins-ssh [2021-12-15T15:40:45.036Z] Cloning the remote Git repository [Pipeline] echo [2021-12-15T15:40:45.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-15T15:40:45.280Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2021-12-15T15:40:45.293Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-15T15:40:45.303Z] ========================================================= [2021-12-15T15:40:45.303Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-12-15T15:40:45.303Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-15T15:40:45.638Z] + 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 . [2021-12-15T15:40:45.281Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-12-15T15:40:45.312Z] > git init /w/workspace/device-sdk-c/15 # timeout=10 [2021-12-15T15:40:45.339Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-12-15T15:40:45.340Z] > git --version # timeout=10 [2021-12-15T15:40:45.419Z] > git --version # 'git version 2.24.4' [2021-12-15T15:40:45.419Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-15T15:40:45.435Z] [INFO] Currently running in a labeled security context [2021-12-15T15:40:45.435Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-15T15:40:45.435Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/15@tmp/jenkins-gitclient-ssh4285649157022792989.key [2021-12-15T15:40:45.464Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-15T15:40:45.909Z] Sending build context to Docker daemon 2.724MB [2021-12-15T15:40:46.187Z] Step 1/24 : ARG BASE=alpine:3.14 [2021-12-15T15:40:46.187Z] Step 2/24 : FROM ${BASE} as builder [2021-12-15T15:40:46.187Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-12-15T15:40:46.187Z] 552d1f2373af: Pulling fs layer [2021-12-15T15:40:46.187Z] f2be2b6548c6: Pulling fs layer [2021-12-15T15:40:46.187Z] ee4ac2fe028c: Pulling fs layer [2021-12-15T15:40:46.187Z] f2be2b6548c6: Verifying Checksum [2021-12-15T15:40:46.187Z] f2be2b6548c6: Download complete [2021-12-15T15:40:46.187Z] 552d1f2373af: Verifying Checksum [2021-12-15T15:40:46.187Z] 552d1f2373af: Download complete [2021-12-15T15:40:47.168Z] 552d1f2373af: Pull complete [2021-12-15T15:40:47.168Z] f2be2b6548c6: Pull complete [2021-12-15T15:40:48.153Z] ee4ac2fe028c: Download complete [2021-12-15T15:40:51.175Z] Avoid second fetch [2021-12-15T15:40:51.175Z] Checking out Revision 739477acbf421f4c8ab997665c0daf1f91507244 (main) [2021-12-15T15:40:51.385Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-12-15T15:40:51.389Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-15T15:40:51.410Z] > git config core.sparsecheckout # timeout=10 [2021-12-15T15:40:51.423Z] > git checkout -f 739477acbf421f4c8ab997665c0daf1f91507244 # timeout=10 [2021-12-15T15:40:54.800Z] Commit message: "docs: update issue templates to include required sections (#390)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-15T15:40:55.148Z] provisioning config files... [2021-12-15T15:40:55.164Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/15@tmp/config3872138812923262854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-15T15:40:55.544Z] ---> docker-login.sh [2021-12-15T15:40:55.544Z] nexus3.edgexfoundry.org:10001 [2021-12-15T15:40:55.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-15T15:40:55.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-15T15:40:55.544Z] Configure a credential helper to remove this warning. See [2021-12-15T15:40:55.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-15T15:40:55.544Z] [2021-12-15T15:40:55.544Z] Login Succeeded [2021-12-15T15:40:55.812Z] nexus3.edgexfoundry.org:10002 [2021-12-15T15:40:55.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-15T15:40:55.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-15T15:40:55.812Z] Configure a credential helper to remove this warning. See [2021-12-15T15:40:55.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-15T15:40:55.812Z] [2021-12-15T15:40:55.812Z] Login Succeeded [2021-12-15T15:40:55.812Z] nexus3.edgexfoundry.org:10003 [2021-12-15T15:40:55.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-15T15:40:55.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-15T15:40:55.812Z] Configure a credential helper to remove this warning. See [2021-12-15T15:40:55.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-15T15:40:55.812Z] [2021-12-15T15:40:55.812Z] Login Succeeded [2021-12-15T15:40:55.812Z] nexus3.edgexfoundry.org:10004 [2021-12-15T15:40:56.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-15T15:40:56.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-15T15:40:56.076Z] Configure a credential helper to remove this warning. See [2021-12-15T15:40:56.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-15T15:40:56.076Z] [2021-12-15T15:40:56.076Z] Login Succeeded [2021-12-15T15:40:56.076Z] docker.io [2021-12-15T15:40:56.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-15T15:40:56.451Z] ee4ac2fe028c: Pull complete [2021-12-15T15:40:56.451Z] Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b [2021-12-15T15:40:56.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-12-15T15:40:56.451Z] ---> b6d714ea7bf2 [2021-12-15T15:40:56.451Z] 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 [2021-12-15T15:40:56.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-15T15:40:56.649Z] Configure a credential helper to remove this warning. See [2021-12-15T15:40:56.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-15T15:40:56.649Z] [2021-12-15T15:40:56.649Z] Login Succeeded [2021-12-15T15:40:56.649Z] ---> docker-login.sh ends [Pipeline] } [2021-12-15T15:40:56.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-15T15:40:56.845Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-15T15:40:56.853Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2021-12-15T15:40:56.861Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-15T15:40:56.869Z] ========================================================= [2021-12-15T15:40:56.869Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-12-15T15:40:56.869Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-15T15:40:57.042Z] ---> Running in e5833a9f1208 [2021-12-15T15:40:57.174Z] + 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 . [2021-12-15T15:40:57.174Z] Sending build context to Docker daemon 2.725MB [2021-12-15T15:40:57.174Z] Step 1/24 : ARG BASE=alpine:3.14 [2021-12-15T15:40:57.174Z] Step 2/24 : FROM ${BASE} as builder [2021-12-15T15:40:57.174Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-12-15T15:40:57.174Z] a0d0a0d46f8b: Pulling fs layer [2021-12-15T15:40:57.174Z] 39017ce70367: Pulling fs layer [2021-12-15T15:40:57.174Z] dcf9283bb20a: Pulling fs layer [2021-12-15T15:40:57.174Z] 39017ce70367: Verifying Checksum [2021-12-15T15:40:57.174Z] 39017ce70367: Download complete [2021-12-15T15:40:57.440Z] a0d0a0d46f8b: Verifying Checksum [2021-12-15T15:40:57.440Z] a0d0a0d46f8b: Download complete [2021-12-15T15:40:57.440Z] a0d0a0d46f8b: Pull complete [2021-12-15T15:40:57.702Z] 39017ce70367: Pull complete [2021-12-15T15:40:57.968Z] dcf9283bb20a: Verifying Checksum [2021-12-15T15:40:57.968Z] dcf9283bb20a: Download complete [2021-12-15T15:40:58.484Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-12-15T15:40:58.484Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-12-15T15:40:58.484Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-12-15T15:40:58.484Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-12-15T15:40:59.464Z] Removing intermediate container e5833a9f1208 [2021-12-15T15:40:59.464Z] ---> 0f7e893794c3 [2021-12-15T15:40:59.464Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-12-15T15:40:59.464Z] ---> Running in e8226788f7d2 [2021-12-15T15:41:00.897Z] Removing intermediate container e8226788f7d2 [2021-12-15T15:41:00.897Z] ---> 2feacc2a91a3 [2021-12-15T15:41:00.897Z] 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 [2021-12-15T15:41:01.176Z] ---> Running in 9f70342eff12 [2021-12-15T15:41:01.330Z] dcf9283bb20a: Pull complete [2021-12-15T15:41:01.330Z] Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 [2021-12-15T15:41:01.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-12-15T15:41:01.330Z] ---> a4e04833b611 [2021-12-15T15:41:01.330Z] 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 [2021-12-15T15:41:01.599Z] ---> Running in 14c11c63f63f [2021-12-15T15:41:01.862Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2021-12-15T15:41:02.153Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-15T15:41:02.442Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-12-15T15:41:02.442Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-12-15T15:41:02.442Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-12-15T15:41:02.442Z] Removing intermediate container 14c11c63f63f [2021-12-15T15:41:02.442Z] ---> df3dc95ed174 [2021-12-15T15:41:02.442Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-12-15T15:41:02.442Z] ---> Running in 9739ac3888d4 [2021-12-15T15:41:03.013Z] Removing intermediate container 9739ac3888d4 [2021-12-15T15:41:03.013Z] ---> afa997486683 [2021-12-15T15:41:03.013Z] 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 [2021-12-15T15:41:03.013Z] ---> Running in dd30c1921665 [2021-12-15T15:41:03.129Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-15T15:41:03.274Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-15T15:41:03.399Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-15T15:41:03.844Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-15T15:41:04.373Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-12-15T15:41:04.373Z] (1/27) Installing hiredis (1.0.0-r0) [2021-12-15T15:41:04.373Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2021-12-15T15:41:04.373Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2021-12-15T15:41:04.373Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-12-15T15:41:04.419Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-15T15:41:04.680Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-12-15T15:41:04.680Z] (1/27) Installing hiredis (1.0.0-r0) [2021-12-15T15:41:04.680Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2021-12-15T15:41:04.942Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2021-12-15T15:41:04.942Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-12-15T15:41:05.342Z] (5/27) Installing libblkid (2.37.2-r0) [2021-12-15T15:41:05.612Z] (6/27) Installing blkid (2.37.2-r0) [2021-12-15T15:41:05.612Z] (7/27) Installing libcap-ng (0.8.2-r0) [2021-12-15T15:41:05.881Z] (8/27) Installing setpriv (2.37.2-r0) [2021-12-15T15:41:05.882Z] (9/27) Installing libmount (2.37.2-r0) [2021-12-15T15:41:05.882Z] (10/27) Installing libsmartcols (2.37.2-r0) [2021-12-15T15:41:05.885Z] (5/27) Installing libblkid (2.37.2-r0) [2021-12-15T15:41:05.885Z] (6/27) Installing blkid (2.37.2-r0) [2021-12-15T15:41:05.885Z] (7/27) Installing libcap-ng (0.8.2-r0) [2021-12-15T15:41:05.885Z] (8/27) Installing setpriv (2.37.2-r0) [2021-12-15T15:41:06.145Z] (9/27) Installing libmount (2.37.2-r0) [2021-12-15T15:41:06.145Z] (10/27) Installing libsmartcols (2.37.2-r0) [2021-12-15T15:41:06.145Z] (11/27) Installing findmnt (2.37.2-r0) [2021-12-15T15:41:06.152Z] (11/27) Installing findmnt (2.37.2-r0) [2021-12-15T15:41:06.152Z] (12/27) Installing mcookie (2.37.2-r0) [2021-12-15T15:41:06.152Z] (13/27) Installing hexdump (2.37.2-r0) [2021-12-15T15:41:06.407Z] (12/27) Installing mcookie (2.37.2-r0) [2021-12-15T15:41:06.407Z] (13/27) Installing hexdump (2.37.2-r0) [2021-12-15T15:41:06.407Z] (14/27) Installing lsblk (2.37.2-r0) [2021-12-15T15:41:06.423Z] (14/27) Installing lsblk (2.37.2-r0) [2021-12-15T15:41:06.423Z] (15/27) Installing libuuid (2.37.2-r0) [2021-12-15T15:41:06.423Z] (16/27) Installing libfdisk (2.37.2-r0) [2021-12-15T15:41:06.670Z] (15/27) Installing libuuid (2.37.2-r0) [2021-12-15T15:41:06.670Z] (16/27) Installing libfdisk (2.37.2-r0) [2021-12-15T15:41:06.670Z] (17/27) Installing sfdisk (2.37.2-r0) [2021-12-15T15:41:06.694Z] (17/27) Installing sfdisk (2.37.2-r0) [2021-12-15T15:41:06.694Z] (18/27) Installing cfdisk (2.37.2-r0) [2021-12-15T15:41:06.694Z] (19/27) Installing partx (2.37.2-r0) [2021-12-15T15:41:06.931Z] (18/27) Installing cfdisk (2.37.2-r0) [2021-12-15T15:41:06.931Z] (19/27) Installing partx (2.37.2-r0) [2021-12-15T15:41:06.931Z] (20/27) Installing flock (2.37.2-r0) [2021-12-15T15:41:06.964Z] (20/27) Installing flock (2.37.2-r0) [2021-12-15T15:41:06.965Z] (21/27) Installing logger (2.37.2-r0) [2021-12-15T15:41:06.965Z] (22/27) Installing uuidgen (2.37.2-r0) [2021-12-15T15:41:06.965Z] (23/27) Installing libeconf (0.3.8-r1) [2021-12-15T15:41:07.195Z] (21/27) Installing logger (2.37.2-r0) [2021-12-15T15:41:07.195Z] (22/27) Installing uuidgen (2.37.2-r0) [2021-12-15T15:41:07.195Z] (23/27) Installing libeconf (0.3.8-r1) [2021-12-15T15:41:07.234Z] (24/27) Installing util-linux (2.37.2-r0) [2021-12-15T15:41:07.455Z] (24/27) Installing util-linux (2.37.2-r0) [2021-12-15T15:41:07.504Z] (25/27) Installing util-linux-dev (2.37.2-r0) [2021-12-15T15:41:07.716Z] (25/27) Installing util-linux-dev (2.37.2-r0) [2021-12-15T15:41:07.716Z] (26/27) Installing libidn2 (2.3.1-r0) [2021-12-15T15:41:07.977Z] (27/27) Installing wget (1.21.1-r1) [2021-12-15T15:41:07.977Z] Executing busybox-1.33.1-r3.trigger [2021-12-15T15:41:07.977Z] OK: 290 MiB in 104 packages [2021-12-15T15:41:08.477Z] (26/27) Installing libidn2 (2.3.1-r0) [2021-12-15T15:41:08.477Z] (27/27) Installing wget (1.21.1-r1) [2021-12-15T15:41:08.477Z] Executing busybox-1.33.1-r3.trigger [2021-12-15T15:41:08.477Z] OK: 286 MiB in 104 packages [2021-12-15T15:41:08.548Z] Removing intermediate container dd30c1921665 [2021-12-15T15:41:08.548Z] ---> 4ff722808f2b [2021-12-15T15:41:08.548Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2021-12-15T15:41:08.548Z] ---> Running in b3e9756779ba [2021-12-15T15:41:08.548Z] Removing intermediate container b3e9756779ba [2021-12-15T15:41:08.548Z] ---> 47ad3fdba405 [2021-12-15T15:41:08.548Z] 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 [2021-12-15T15:41:08.548Z] ---> Running in dcf6d6ab36fa [2021-12-15T15:41:08.808Z] --2021-12-15 15:41:08-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-12-15T15:41:08.808Z] Resolving github.com (github.com)... 140.82.112.4 [2021-12-15T15:41:08.808Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-12-15T15:41:09.378Z] HTTP request sent, awaiting response... 302 Found [2021-12-15T15:41:09.378Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-12-15T15:41:09.378Z] --2021-12-15 15:41:09-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-12-15T15:41:09.378Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-12-15T15:41:09.378Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-12-15T15:41:09.378Z] HTTP request sent, awaiting response... 200 OK [2021-12-15T15:41:09.378Z] Length: unspecified [application/x-gzip] [2021-12-15T15:41:09.378Z] Saving to: 'STDOUT' [2021-12-15T15:41:09.378Z]  [2021-12-15T15:41:09.644Z] 0K .......... .......... .......... .......... .......... 886K [2021-12-15T15:41:09.644Z] 50K .......... .......... .......... .......... .......... 1.86M [2021-12-15T15:41:09.644Z] 100K .......... .......... .......... .......... .......... 24.1M [2021-12-15T15:41:09.644Z] 150K .......... .......... .......... .......... .......... 26.3M [2021-12-15T15:41:09.644Z] 200K .......... .......... .......... .......... .......... 1.85M [2021-12-15T15:41:09.644Z] 250K .......... .......... .......... .......... .......... 5.94M [2021-12-15T15:41:09.644Z] 300K .......... .......... .......... .......... .......... 31.8M [2021-12-15T15:41:09.644Z] 350K .......... .......... .......... .......... .......... 17.8M [2021-12-15T15:41:09.644Z] 400K .......... .......... .......... .......... .......... 1.06M [2021-12-15T15:41:09.644Z] 450K .......... .......... .......... .......... .......... 17.2M [2021-12-15T15:41:09.644Z] 500K .......... .......... .......... .......... .......... 19.3M [2021-12-15T15:41:09.644Z] 550K .......... .......... .......... .......... .......... 8.34M [2021-12-15T15:41:09.644Z] 600K .......... .......... .......... .......... .......... 4.20M [2021-12-15T15:41:09.644Z] 650K .......... .......... .......... .......... .......... 4.92M [2021-12-15T15:41:09.644Z] 700K .. 47.3M=0.2s [2021-12-15T15:41:09.644Z] [2021-12-15T15:41:09.644Z] 2021-12-15 15:41:09 (3.36 MB/s) - written to stdout [719348] [2021-12-15T15:41:09.644Z] [2021-12-15T15:41:09.644Z] -- The C compiler identification is GNU 10.3.1 [2021-12-15T15:41:09.906Z] -- The CXX compiler identification is GNU 10.3.1 [2021-12-15T15:41:09.906Z] -- Detecting C compiler ABI info [2021-12-15T15:41:09.906Z] -- Detecting C compiler ABI info - done [2021-12-15T15:41:09.906Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-12-15T15:41:09.906Z] -- Detecting C compile features [2021-12-15T15:41:09.906Z] -- Detecting C compile features - done [2021-12-15T15:41:09.906Z] -- Detecting CXX compiler ABI info [2021-12-15T15:41:09.906Z] -- Detecting CXX compiler ABI info - done [2021-12-15T15:41:09.906Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-12-15T15:41:09.906Z] -- Detecting CXX compile features [2021-12-15T15:41:09.906Z] -- Detecting CXX compile features - done [2021-12-15T15:41:09.906Z] -- Looking for include file endian.h [2021-12-15T15:41:09.910Z] Removing intermediate container 9f70342eff12 [2021-12-15T15:41:09.910Z] ---> 651952bf6a23 [2021-12-15T15:41:09.910Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2021-12-15T15:41:09.910Z] ---> Running in b033669d9a7e [2021-12-15T15:41:10.166Z] -- Looking for include file endian.h - found [2021-12-15T15:41:10.166Z] -- Looking for sys/types.h [2021-12-15T15:41:10.166Z] -- Looking for sys/types.h - found [2021-12-15T15:41:10.166Z] -- Looking for stdint.h [2021-12-15T15:41:10.166Z] -- Looking for stdint.h - found [2021-12-15T15:41:10.166Z] -- Looking for stddef.h [2021-12-15T15:41:10.166Z] -- Looking for stddef.h - found [2021-12-15T15:41:10.166Z] -- Check size of size_t [2021-12-15T15:41:10.180Z] Removing intermediate container b033669d9a7e [2021-12-15T15:41:10.181Z] ---> dc5d2a3ed742 [2021-12-15T15:41:10.181Z] 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 [2021-12-15T15:41:10.429Z] -- Check size of size_t - done [2021-12-15T15:41:10.429Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-12-15T15:41:10.429Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-12-15T15:41:10.429Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-12-15T15:41:10.429Z] CMake did not find one. [2021-12-15T15:41:10.429Z] [2021-12-15T15:41:10.429Z] Could not find a package configuration file provided by "cJSON" with any of [2021-12-15T15:41:10.429Z] the following names: [2021-12-15T15:41:10.429Z] [2021-12-15T15:41:10.429Z] cJSONConfig.cmake [2021-12-15T15:41:10.429Z] cjson-config.cmake [2021-12-15T15:41:10.429Z] [2021-12-15T15:41:10.429Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-12-15T15:41:10.429Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-12-15T15:41:10.429Z] provides a separate development package or SDK, be sure it has been [2021-12-15T15:41:10.429Z] installed. [2021-12-15T15:41:10.429Z] [2021-12-15T15:41:10.429Z] [2021-12-15T15:41:10.429Z] -- Configuring done [2021-12-15T15:41:10.429Z] -- Generating done [2021-12-15T15:41:10.429Z] -- Build files have been written to: /tmp/cbor [2021-12-15T15:41:10.429Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-12-15T15:41:10.455Z] ---> Running in 0440ce39057d [2021-12-15T15:41:10.696Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-12-15T15:41:10.696Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-12-15T15:41:10.696Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-12-15T15:41:10.957Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-12-15T15:41:10.957Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-12-15T15:41:10.957Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-12-15T15:41:11.225Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-12-15T15:41:11.225Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-12-15T15:41:11.225Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-12-15T15:41:11.431Z] --2021-12-15 15:41:11-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-12-15T15:41:11.431Z] Resolving github.com (github.com)... 140.82.112.4 [2021-12-15T15:41:11.431Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-12-15T15:41:11.486Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-12-15T15:41:11.486Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-12-15T15:41:11.486Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-12-15T15:41:11.486Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-12-15T15:41:11.704Z] HTTP request sent, awaiting response... 302 Found [2021-12-15T15:41:11.705Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-12-15T15:41:11.705Z] --2021-12-15 15:41:11-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-12-15T15:41:11.705Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-12-15T15:41:11.705Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-12-15T15:41:11.705Z] HTTP request sent, awaiting response... 200 OK [2021-12-15T15:41:11.705Z] Length: unspecified [application/x-gzip] [2021-12-15T15:41:11.705Z] Saving to: 'STDOUT' [2021-12-15T15:41:11.705Z] [2021-12-15T15:41:11.705Z] 0K .......... .......... .......... .......... .......... 834K [2021-12-15T15:41:11.705Z] 50K .......... .......... .......... .......... .......... 1.73M [2021-12-15T15:41:11.705Z] 100K .......... .......... .......... .......... .......... 11.4M [2021-12-15T15:41:11.705Z] 150K .......... .......... .......... .......... .......... 2.32M [2021-12-15T15:41:11.705Z] 200K .......... .......... .......... .......... .......... 7.76M [2021-12-15T15:41:11.749Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-12-15T15:41:11.749Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-12-15T15:41:11.749Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-12-15T15:41:11.749Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-12-15T15:41:11.977Z] 250K .......... .......... .......... .......... .......... 3.07M [2021-12-15T15:41:11.977Z] 300K .......... .......... .......... .......... .......... 6.22M [2021-12-15T15:41:11.977Z] 350K .......... .......... .......... .......... .......... 3.25M [2021-12-15T15:41:11.977Z] 400K .......... .......... .......... .......... .......... 4.31M [2021-12-15T15:41:11.977Z] 450K .......... .......... .......... .......... .......... 3.63M [2021-12-15T15:41:11.977Z] 500K .......... .......... .......... .......... .......... 11.5M [2021-12-15T15:41:11.977Z] 550K .......... .......... .......... .......... .......... 7.09M [2021-12-15T15:41:11.977Z] 600K .......... .......... .......... .......... .......... 866K [2021-12-15T15:41:11.977Z] 650K .......... .......... .......... .......... .......... 2.74M [2021-12-15T15:41:11.977Z] 700K .. 4.63T=0.3s [2021-12-15T15:41:11.977Z] [2021-12-15T15:41:11.977Z] 2021-12-15 15:41:11 (2.54 MB/s) - written to stdout [719348] [2021-12-15T15:41:11.977Z] [2021-12-15T15:41:12.012Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-12-15T15:41:12.012Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-12-15T15:41:12.012Z] [ 40%] Linking C shared library libcbor.so [2021-12-15T15:41:12.012Z] [ 40%] Built target cbor_shared [2021-12-15T15:41:12.012Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-12-15T15:41:12.258Z] -- The C compiler identification is GNU 10.3.1 [2021-12-15T15:41:12.272Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-12-15T15:41:12.272Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-12-15T15:41:12.529Z] -- The CXX compiler identification is GNU 10.3.1 [2021-12-15T15:41:12.529Z] -- Detecting C compiler ABI info [2021-12-15T15:41:12.533Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-12-15T15:41:12.792Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-12-15T15:41:12.792Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-12-15T15:41:12.792Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-12-15T15:41:12.837Z] -- Detecting C compiler ABI info - done [2021-12-15T15:41:12.837Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-12-15T15:41:12.837Z] -- Detecting C compile features [2021-12-15T15:41:12.837Z] -- Detecting C compile features - done [2021-12-15T15:41:13.058Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-12-15T15:41:13.058Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-12-15T15:41:13.058Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-12-15T15:41:13.109Z] -- Detecting CXX compiler ABI info [2021-12-15T15:41:13.319Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-12-15T15:41:13.319Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-12-15T15:41:13.319Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-12-15T15:41:13.382Z] -- Detecting CXX compiler ABI info - done [2021-12-15T15:41:13.382Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-12-15T15:41:13.382Z] -- Detecting CXX compile features [2021-12-15T15:41:13.382Z] -- Detecting CXX compile features - done [2021-12-15T15:41:13.382Z] -- Looking for include file endian.h [2021-12-15T15:41:13.581Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-12-15T15:41:13.581Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-12-15T15:41:13.581Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-12-15T15:41:13.581Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-12-15T15:41:13.654Z] -- Looking for include file endian.h - found [2021-12-15T15:41:13.654Z] -- Looking for sys/types.h [2021-12-15T15:41:13.841Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-12-15T15:41:13.841Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-12-15T15:41:13.841Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-12-15T15:41:13.841Z] [ 80%] Linking C static library libcbor.a [2021-12-15T15:41:13.925Z] -- Looking for sys/types.h - found [2021-12-15T15:41:13.925Z] -- Looking for stdint.h [2021-12-15T15:41:14.103Z] [ 80%] Built target cbor [2021-12-15T15:41:14.103Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-12-15T15:41:14.103Z] [ 84%] Linking C executable readfile [2021-12-15T15:41:14.103Z] [ 84%] Built target readfile [2021-12-15T15:41:14.103Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-12-15T15:41:14.103Z] [ 88%] Linking C executable create_items [2021-12-15T15:41:14.103Z] [ 88%] Built target create_items [2021-12-15T15:41:14.103Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-12-15T15:41:14.103Z] [ 92%] Linking C executable sort [2021-12-15T15:41:14.197Z] -- Looking for stdint.h - found [2021-12-15T15:41:14.197Z] -- Looking for stddef.h [2021-12-15T15:41:14.369Z] [ 92%] Built target sort [2021-12-15T15:41:14.369Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-12-15T15:41:14.369Z] [ 96%] Linking C executable hello [2021-12-15T15:41:14.369Z] [ 96%] Built target hello [2021-12-15T15:41:14.369Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-12-15T15:41:14.369Z] [100%] Linking C executable streaming_parser [2021-12-15T15:41:14.369Z] [100%] Built target streaming_parser [2021-12-15T15:41:14.369Z] Install the project... [2021-12-15T15:41:14.369Z] -- Install configuration: "Release" [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/lib/libcbor.a [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/lib/libcbor.so [2021-12-15T15:41:14.369Z] -- Up-to-date: /usr/local/include/cbor [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/common.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/data.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/internal [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/ints.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/maps.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/strings.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor/tags.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/include/cbor.h [2021-12-15T15:41:14.369Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-12-15T15:41:14.472Z] -- Looking for stddef.h - found [2021-12-15T15:41:14.472Z] -- Check size of size_t [2021-12-15T15:41:14.742Z] -- Check size of size_t - done [2021-12-15T15:41:14.742Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-12-15T15:41:14.742Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-12-15T15:41:14.742Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-12-15T15:41:14.742Z] CMake did not find one. [2021-12-15T15:41:14.742Z] [2021-12-15T15:41:14.742Z] Could not find a package configuration file provided by "cJSON" with any of [2021-12-15T15:41:14.742Z] the following names: [2021-12-15T15:41:14.742Z] [2021-12-15T15:41:14.742Z] cJSONConfig.cmake [2021-12-15T15:41:14.742Z] cjson-config.cmake [2021-12-15T15:41:14.742Z] [2021-12-15T15:41:14.742Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-12-15T15:41:14.742Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-12-15T15:41:14.742Z] provides a separate development package or SDK, be sure it has been [2021-12-15T15:41:14.742Z] installed. [2021-12-15T15:41:14.742Z] [2021-12-15T15:41:14.742Z] [2021-12-15T15:41:14.742Z] -- Configuring done [2021-12-15T15:41:14.963Z] Removing intermediate container dcf6d6ab36fa [2021-12-15T15:41:14.964Z] ---> 2e766ad28a8f [2021-12-15T15:41:14.964Z] Step 8/24 : RUN mkdir /tmp/sdk [2021-12-15T15:41:15.015Z] -- Generating done [2021-12-15T15:41:15.015Z] -- Build files have been written to: /tmp/cbor [2021-12-15T15:41:15.015Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-12-15T15:41:15.225Z] ---> Running in 4db84981db3b [2021-12-15T15:41:15.489Z] Removing intermediate container 4db84981db3b [2021-12-15T15:41:15.489Z] ---> 1f2f9f15bcdc [2021-12-15T15:41:15.489Z] Step 9/24 : COPY VERSION /tmp/sdk [2021-12-15T15:41:15.752Z] ---> 49824138599e [2021-12-15T15:41:15.752Z] Step 10/24 : COPY src /tmp/sdk/src [2021-12-15T15:41:15.988Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-12-15T15:41:16.014Z] ---> f0790dc0e5a7 [2021-12-15T15:41:16.014Z] Step 11/24 : COPY include /tmp/sdk/include [2021-12-15T15:41:16.014Z] ---> c64ab6a83258 [2021-12-15T15:41:16.014Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2021-12-15T15:41:16.281Z] ---> ab4699b2b737 [2021-12-15T15:41:16.281Z] Step 13/24 : COPY LICENSE /tmp/sdk [2021-12-15T15:41:16.281Z] ---> 17e45766f0d0 [2021-12-15T15:41:16.281Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2021-12-15T15:41:16.542Z] ---> 7ddc8b2f00aa [2021-12-15T15:41:16.542Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-12-15T15:41:16.542Z] ---> Running in 9c84e61482e3 [2021-12-15T15:41:16.803Z] + CPPCHECK=false [2021-12-15T15:41:16.803Z] + DOCGEN=false [2021-12-15T15:41:16.803Z] + TOMLVER=SDK-0.2 [2021-12-15T15:41:16.803Z] + CUTILVER=1.2.2 [2021-12-15T15:41:16.803Z] + '[' 0 -gt 0 ] [2021-12-15T15:41:16.803Z] + readlink -f ./scripts/build.sh [2021-12-15T15:41:16.803Z] + dirname /tmp/sdk/scripts/build.sh [2021-12-15T15:41:16.803Z] + dirname /tmp/sdk/scripts [2021-12-15T15:41:16.803Z] + ROOT=/tmp/sdk [2021-12-15T15:41:16.803Z] + cd /tmp/sdk [2021-12-15T15:41:16.803Z] + '[' '!' -d deps ] [2021-12-15T15:41:16.803Z] + mkdir deps [2021-12-15T15:41:16.803Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-12-15T15:41:16.803Z] --2021-12-15 15:41:16-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-12-15T15:41:16.803Z] + tar -C deps -z -x -f - [2021-12-15T15:41:16.803Z] Resolving github.com (github.com)... 140.82.112.4 [2021-12-15T15:41:16.803Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-12-15T15:41:16.967Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-12-15T15:41:16.967Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-12-15T15:41:17.064Z] HTTP request sent, awaiting response... 302 Found [2021-12-15T15:41:17.064Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-12-15T15:41:17.064Z] --2021-12-15 15:41:16-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-12-15T15:41:17.064Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-12-15T15:41:17.064Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-12-15T15:41:17.325Z] HTTP request sent, awaiting response... 200 OK [2021-12-15T15:41:17.325Z] Length: unspecified [application/x-gzip] [2021-12-15T15:41:17.325Z] Saving to: 'STDOUT' [2021-12-15T15:41:17.325Z] [2021-12-15T15:41:17.325Z] 0K .......... ...... 533K=0.03s [2021-12-15T15:41:17.325Z] [2021-12-15T15:41:17.325Z] 2021-12-15 15:41:17 (533 KB/s) - written to stdout [16451] [2021-12-15T15:41:17.325Z] [2021-12-15T15:41:17.325Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-12-15T15:41:17.325Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-12-15T15:41:17.325Z] --2021-12-15 15:41:17-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-12-15T15:41:17.325Z] + tar -C deps -z -x -f - [2021-12-15T15:41:17.325Z] Resolving github.com (github.com)... 140.82.112.4 [2021-12-15T15:41:17.325Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-12-15T15:41:17.587Z] HTTP request sent, awaiting response... 302 Found [2021-12-15T15:41:17.587Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-12-15T15:41:17.587Z] --2021-12-15 15:41:17-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-12-15T15:41:17.587Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-12-15T15:41:17.587Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-12-15T15:41:17.851Z] HTTP request sent, awaiting response... 200 OK [2021-12-15T15:41:17.851Z] Length: unspecified [application/x-gzip] [2021-12-15T15:41:17.851Z] Saving to: 'STDOUT' [2021-12-15T15:41:17.851Z] [2021-12-15T15:41:17.852Z] 0K .......... .......... .......... .......... .......... 838K [2021-12-15T15:41:17.852Z] 50K .......... .......... .......... .......... .......... 1.69M [2021-12-15T15:41:17.852Z] 100K .......... .......... .......... .......... .......... 27.5M [2021-12-15T15:41:17.852Z] 150K .......... .......... .......... ......... 3.65M=0.1s [2021-12-15T15:41:17.852Z] [2021-12-15T15:41:17.852Z] 2021-12-15 15:41:17 (1.83 MB/s) - written to stdout [193961] [2021-12-15T15:41:17.852Z] [2021-12-15T15:41:17.852Z] + mkdir -p src/c/iot [2021-12-15T15:41:17.852Z] + 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 [2021-12-15T15:41:17.852Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-12-15T15:41:17.852Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-12-15T15:41:17.852Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-12-15T15:41:17.852Z] + mkdir -p include/iot [2021-12-15T15:41:17.852Z] + 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 [2021-12-15T15:41:17.852Z] + mkdir -p include/iot/os [2021-12-15T15:41:17.852Z] + 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 [2021-12-15T15:41:17.852Z] + mkdir -p /tmp/sdk/build/release [2021-12-15T15:41:17.852Z] + cd /tmp/sdk/build/release [2021-12-15T15:41:17.852Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-12-15T15:41:17.852Z] -- The C compiler identification is GNU 10.3.1 [2021-12-15T15:41:17.945Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-12-15T15:41:17.945Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-12-15T15:41:18.111Z] -- Detecting C compiler ABI info [2021-12-15T15:41:18.111Z] -- Detecting C compiler ABI info - done [2021-12-15T15:41:18.111Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-12-15T15:41:18.111Z] -- Detecting C compile features [2021-12-15T15:41:18.111Z] -- Detecting C compile features - done [2021-12-15T15:41:18.111Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-12-15T15:41:18.111Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-12-15T15:41:18.111Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-12-15T15:41:18.111Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-12-15T15:41:18.111Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-12-15T15:41:18.111Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-12-15T15:41:18.111Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-12-15T15:41:18.111Z] -- C SDK 2.2.0-dev.1 for Linux [2021-12-15T15:41:18.111Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-12-15T15:41:18.111Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-12-15T15:41:18.215Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-12-15T15:41:18.371Z] -- Found Curses: /usr/lib/libcurses.so [2021-12-15T15:41:18.371Z] -- Configuring done [2021-12-15T15:41:18.371Z] -- Generating done [2021-12-15T15:41:18.371Z] -- Build files have been written to: /tmp/sdk/build/release [2021-12-15T15:41:18.371Z] + make all package [2021-12-15T15:41:18.371Z] + tee release.log [2021-12-15T15:41:18.371Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-12-15T15:41:18.371Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-12-15T15:41:18.487Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-12-15T15:41:18.633Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-12-15T15:41:18.759Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-12-15T15:41:18.895Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-12-15T15:41:19.037Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-12-15T15:41:19.165Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-12-15T15:41:19.165Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-12-15T15:41:19.426Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-12-15T15:41:19.426Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-12-15T15:41:19.426Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-12-15T15:41:19.630Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-12-15T15:41:19.686Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-12-15T15:41:19.904Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-12-15T15:41:19.950Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-12-15T15:41:20.223Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-12-15T15:41:20.223Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-12-15T15:41:20.485Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-12-15T15:41:20.485Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-12-15T15:41:20.485Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-12-15T15:41:20.495Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-12-15T15:41:20.752Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-12-15T15:41:21.088Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-12-15T15:41:21.326Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-12-15T15:41:21.326Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-12-15T15:41:21.326Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-12-15T15:41:21.326Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-12-15T15:41:21.359Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-12-15T15:41:21.586Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-12-15T15:41:21.587Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-12-15T15:41:21.587Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-12-15T15:41:21.587Z] 275 | const iot_component_factory_t * factory; [2021-12-15T15:41:21.587Z] | ^~~~~~~ [2021-12-15T15:41:21.629Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-12-15T15:41:21.854Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-12-15T15:41:21.898Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-12-15T15:41:22.170Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-12-15T15:41:22.431Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-12-15T15:41:22.442Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-12-15T15:41:22.695Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-12-15T15:41:22.695Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-12-15T15:41:22.695Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-12-15T15:41:22.713Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-12-15T15:41:22.958Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-12-15T15:41:22.959Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-12-15T15:41:22.986Z] [ 40%] Linking C shared library libcbor.so [2021-12-15T15:41:22.986Z] [ 40%] Built target cbor_shared [2021-12-15T15:41:23.218Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-12-15T15:41:23.218Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-12-15T15:41:23.259Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-12-15T15:41:23.480Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-12-15T15:41:23.480Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-12-15T15:41:23.480Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-12-15T15:41:24.051Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-12-15T15:41:24.051Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-12-15T15:41:24.229Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-12-15T15:41:24.319Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-12-15T15:41:24.319Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-12-15T15:41:24.822Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-12-15T15:41:25.094Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-12-15T15:41:25.259Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-12-15T15:41:25.259Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-12-15T15:41:25.259Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-12-15T15:41:25.522Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-12-15T15:41:25.522Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-12-15T15:41:25.523Z] /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] [2021-12-15T15:41:25.523Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-12-15T15:41:25.523Z] | ^~~~~~~~~~~~~ [2021-12-15T15:41:25.523Z] | | [2021-12-15T15:41:25.523Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-12-15T15:41:25.523Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-15T15:41:25.523Z] /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 *)' [2021-12-15T15:41:25.523Z] 2714 | MHD_KeyValueIterator iterator, [2021-12-15T15:41:25.523Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-12-15T15:41:25.523Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-12-15T15:41:25.523Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-12-15T15:41:25.523Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-12-15T15:41:25.523Z] | ^~~~~~~~~~~~ [2021-12-15T15:41:25.523Z] | | [2021-12-15T15:41:25.523Z] | 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 **)} [2021-12-15T15:41:25.523Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-15T15:41:25.523Z] /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 **)'} [2021-12-15T15:41:25.523Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-12-15T15:41:25.523Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-12-15T15:41:25.523Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-12-15T15:41:25.523Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-12-15T15:41:25.523Z] | ^~~~~~~~~~~~ [2021-12-15T15:41:25.523Z] | | [2021-12-15T15:41:25.523Z] | 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 **)} [2021-12-15T15:41:25.523Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-15T15:41:25.523Z] /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 **)'} [2021-12-15T15:41:25.523Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-12-15T15:41:25.523Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-12-15T15:41:25.523Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-12-15T15:41:26.100Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-12-15T15:41:26.100Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-12-15T15:41:26.100Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-12-15T15:41:26.100Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-12-15T15:41:26.675Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-12-15T15:41:27.060Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-12-15T15:41:27.247Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-12-15T15:41:27.334Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-12-15T15:41:27.510Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-12-15T15:41:27.511Z] [ 76%] Linking C shared library libcsdk.so [2021-12-15T15:41:27.511Z] [ 76%] Built target csdk [2021-12-15T15:41:27.511Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-12-15T15:41:27.606Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-12-15T15:41:27.772Z] [ 79%] Linking C executable template [2021-12-15T15:41:27.772Z] [ 79%] Built target template [2021-12-15T15:41:27.772Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-12-15T15:41:27.879Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-12-15T15:41:27.879Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-12-15T15:41:28.034Z] [ 82%] Linking C executable device-counter [2021-12-15T15:41:28.034Z] [ 82%] Built target device-counter [2021-12-15T15:41:28.034Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-12-15T15:41:28.034Z] [ 85%] Linking C executable device-random [2021-12-15T15:41:28.034Z] [ 85%] Built target device-random [2021-12-15T15:41:28.292Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-12-15T15:41:28.292Z] [ 88%] Linking C executable device-gyro [2021-12-15T15:41:28.292Z] [ 88%] Built target device-gyro [2021-12-15T15:41:28.292Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-12-15T15:41:28.470Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-12-15T15:41:28.553Z] [ 91%] Linking C executable device-bitfields [2021-12-15T15:41:28.553Z] [ 91%] Built target device-bitfields [2021-12-15T15:41:28.553Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-12-15T15:41:28.553Z] [ 94%] Linking C executable template-discovery [2021-12-15T15:41:28.813Z] [ 94%] Built target template-discovery [2021-12-15T15:41:28.814Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-12-15T15:41:28.814Z] [ 97%] Linking C executable device-file [2021-12-15T15:41:28.814Z] [ 97%] Built target device-file [2021-12-15T15:41:28.814Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-12-15T15:41:29.073Z] [100%] Linking C executable device-terminal [2021-12-15T15:41:29.073Z] [100%] Built target device-terminal [2021-12-15T15:41:29.073Z] Run CPack packaging tool... [2021-12-15T15:41:29.073Z] CPack: Create package using TGZ [2021-12-15T15:41:29.073Z] CPack: Install projects [2021-12-15T15:41:29.073Z] CPack: - Run preinstall target for: Csdk [2021-12-15T15:41:29.333Z] CPack: - Install project: Csdk [] [2021-12-15T15:41:29.333Z] CPack: Create package [2021-12-15T15:41:29.333Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.1.tar.gz generated. [2021-12-15T15:41:29.333Z] + '[' false '=' true ] [2021-12-15T15:41:29.333Z] + '[' false '=' true ] [2021-12-15T15:41:29.333Z] + mkdir -p /tmp/sdk/build/debug [2021-12-15T15:41:29.333Z] + cd /tmp/sdk/build/debug [2021-12-15T15:41:29.333Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-12-15T15:41:29.333Z] -- The C compiler identification is GNU 10.3.1 [2021-12-15T15:41:29.333Z] -- Detecting C compiler ABI info [2021-12-15T15:41:29.441Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-12-15T15:41:29.593Z] -- Detecting C compiler ABI info - done [2021-12-15T15:41:29.593Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-12-15T15:41:29.593Z] -- Detecting C compile features [2021-12-15T15:41:29.593Z] -- Detecting C compile features - done [2021-12-15T15:41:29.593Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-12-15T15:41:29.593Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-12-15T15:41:29.593Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-12-15T15:41:29.593Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-12-15T15:41:29.593Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-12-15T15:41:29.593Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-12-15T15:41:29.593Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-12-15T15:41:29.593Z] -- C SDK 2.2.0-dev.1 for Linux [2021-12-15T15:41:29.593Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-12-15T15:41:29.593Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-12-15T15:41:29.593Z] -- Found Curses: /usr/lib/libcurses.so [2021-12-15T15:41:29.593Z] -- Configuring done [2021-12-15T15:41:29.713Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-12-15T15:41:29.855Z] -- Generating done [2021-12-15T15:41:29.855Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-12-15T15:41:29.855Z] + tee debug.log [2021-12-15T15:41:29.855Z] + make [2021-12-15T15:41:29.855Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-12-15T15:41:29.855Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-12-15T15:41:29.855Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-12-15T15:41:30.121Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-12-15T15:41:30.121Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-12-15T15:41:30.121Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-12-15T15:41:30.307Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-12-15T15:41:30.384Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-12-15T15:41:30.384Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-12-15T15:41:30.384Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-12-15T15:41:30.384Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-12-15T15:41:30.580Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-12-15T15:41:30.646Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-12-15T15:41:30.646Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-12-15T15:41:30.646Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-12-15T15:41:30.851Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-12-15T15:41:30.906Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-12-15T15:41:30.906Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-12-15T15:41:30.906Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-12-15T15:41:30.906Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-12-15T15:41:31.122Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-12-15T15:41:31.167Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-12-15T15:41:31.167Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-12-15T15:41:31.167Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-12-15T15:41:31.428Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-12-15T15:41:31.428Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-12-15T15:41:31.428Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-12-15T15:41:31.428Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-12-15T15:41:31.428Z] 275 | const iot_component_factory_t * factory; [2021-12-15T15:41:31.428Z] | ^~~~~~~ [2021-12-15T15:41:31.428Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-12-15T15:41:31.692Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-12-15T15:41:31.692Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-12-15T15:41:31.692Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-12-15T15:41:31.713Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-12-15T15:41:31.963Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-12-15T15:41:31.963Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-12-15T15:41:31.963Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-12-15T15:41:31.963Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-12-15T15:41:31.963Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-12-15T15:41:31.984Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-12-15T15:41:32.226Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-12-15T15:41:32.226Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-12-15T15:41:32.226Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-12-15T15:41:32.226Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-12-15T15:41:32.256Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-12-15T15:41:32.487Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-12-15T15:41:32.487Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-12-15T15:41:32.488Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-12-15T15:41:32.530Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-12-15T15:41:32.748Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-12-15T15:41:32.748Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-12-15T15:41:32.803Z] [ 80%] Linking C static library libcbor.a [2021-12-15T15:41:32.803Z] [ 80%] Built target cbor [2021-12-15T15:41:32.803Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-12-15T15:41:33.010Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-12-15T15:41:33.010Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-12-15T15:41:33.010Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-12-15T15:41:33.010Z] /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] [2021-12-15T15:41:33.010Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-12-15T15:41:33.010Z] | ^~~~~~~~~~~~~ [2021-12-15T15:41:33.010Z] | | [2021-12-15T15:41:33.010Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-12-15T15:41:33.010Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-15T15:41:33.010Z] /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 *)' [2021-12-15T15:41:33.010Z] 2714 | MHD_KeyValueIterator iterator, [2021-12-15T15:41:33.010Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-12-15T15:41:33.010Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-12-15T15:41:33.010Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-12-15T15:41:33.010Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-12-15T15:41:33.010Z] | ^~~~~~~~~~~~ [2021-12-15T15:41:33.010Z] | | [2021-12-15T15:41:33.010Z] | 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 **)} [2021-12-15T15:41:33.010Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-15T15:41:33.010Z] /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 **)'} [2021-12-15T15:41:33.010Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-12-15T15:41:33.010Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-12-15T15:41:33.010Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-12-15T15:41:33.010Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-12-15T15:41:33.010Z] | ^~~~~~~~~~~~ [2021-12-15T15:41:33.010Z] | | [2021-12-15T15:41:33.010Z] | 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 **)} [2021-12-15T15:41:33.010Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-15T15:41:33.010Z] /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 **)'} [2021-12-15T15:41:33.010Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-12-15T15:41:33.010Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-12-15T15:41:33.010Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-12-15T15:41:33.077Z] [ 84%] Linking C executable readfile [2021-12-15T15:41:33.270Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-12-15T15:41:33.270Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-12-15T15:41:33.349Z] [ 84%] Built target readfile [2021-12-15T15:41:33.349Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-12-15T15:41:33.532Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-12-15T15:41:33.532Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-12-15T15:41:33.532Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-12-15T15:41:33.621Z] [ 88%] Linking C executable create_items [2021-12-15T15:41:33.621Z] [ 88%] Built target create_items [2021-12-15T15:41:33.621Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-12-15T15:41:33.802Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-12-15T15:41:33.802Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-12-15T15:41:33.802Z] [ 76%] Linking C shared library libcsdk.so [2021-12-15T15:41:33.894Z] [ 92%] Linking C executable sort [2021-12-15T15:41:33.894Z] [ 92%] Built target sort [2021-12-15T15:41:33.894Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-12-15T15:41:34.062Z] [ 76%] Built target csdk [2021-12-15T15:41:34.062Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-12-15T15:41:34.062Z] [ 79%] Linking C executable template [2021-12-15T15:41:34.062Z] [ 79%] Built target template [2021-12-15T15:41:34.062Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-12-15T15:41:34.062Z] [ 82%] Linking C executable device-counter [2021-12-15T15:41:34.167Z] [ 96%] Linking C executable hello [2021-12-15T15:41:34.167Z] [ 96%] Built target hello [2021-12-15T15:41:34.325Z] [ 82%] Built target device-counter [2021-12-15T15:41:34.325Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-12-15T15:41:34.325Z] [ 85%] Linking C executable device-random [2021-12-15T15:41:34.325Z] [ 85%] Built target device-random [2021-12-15T15:41:34.325Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-12-15T15:41:34.325Z] [ 88%] Linking C executable device-gyro [2021-12-15T15:41:34.440Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-12-15T15:41:34.586Z] [ 88%] Built target device-gyro [2021-12-15T15:41:34.586Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-12-15T15:41:34.586Z] [ 91%] Linking C executable device-bitfields [2021-12-15T15:41:34.586Z] [ 91%] Built target device-bitfields [2021-12-15T15:41:34.586Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-12-15T15:41:34.586Z] [ 94%] Linking C executable template-discovery [2021-12-15T15:41:34.710Z] [100%] Linking C executable streaming_parser [2021-12-15T15:41:34.710Z] [100%] Built target streaming_parser [2021-12-15T15:41:34.710Z] Install the project... [2021-12-15T15:41:34.710Z] -- Install configuration: "Release" [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/lib/libcbor.a [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/lib/libcbor.so [2021-12-15T15:41:34.710Z] -- Up-to-date: /usr/local/include/cbor [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/data.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/ints.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/maps.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/tags.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/common.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/internal [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor/strings.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/include/cbor.h [2021-12-15T15:41:34.710Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-12-15T15:41:34.848Z] [ 94%] Built target template-discovery [2021-12-15T15:41:34.848Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-12-15T15:41:34.848Z] [ 97%] Linking C executable device-file [2021-12-15T15:41:34.848Z] [ 97%] Built target device-file [2021-12-15T15:41:34.848Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-12-15T15:41:34.848Z] [100%] Linking C executable device-terminal [2021-12-15T15:41:35.108Z] [100%] Built target device-terminal [2021-12-15T15:41:35.108Z] make: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] [ 76%] Built target csdk [2021-12-15T15:41:35.108Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] [ 79%] Built target template [2021-12-15T15:41:35.108Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] [ 82%] Built target device-counter [2021-12-15T15:41:35.108Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] [ 85%] Built target device-random [2021-12-15T15:41:35.108Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] [ 88%] Built target device-gyro [2021-12-15T15:41:35.108Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] [ 91%] Built target device-bitfields [2021-12-15T15:41:35.108Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] [ 94%] Built target template-discovery [2021-12-15T15:41:35.108Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] [ 97%] Built target device-file [2021-12-15T15:41:35.108Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.108Z] [100%] Built target device-terminal [2021-12-15T15:41:35.108Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.371Z] Install the project... [2021-12-15T15:41:35.371Z] -- Install configuration: "Release" [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/lib/libcsdk.so [2021-12-15T15:41:35.371Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-12-15T15:41:35.371Z] -- Up-to-date: /usr/local/include [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/devsdk [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/edgex [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/edgex/devices.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/base64.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/component.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/config.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/container.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/data.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/hash.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/iot.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/json.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/logger.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/os.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/thread.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/time.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/typecode.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/uuid.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/os [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/include/iot/defs.h [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-12-15T15:41:35.371Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-12-15T15:41:35.371Z] make: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:41:35.944Z] Removing intermediate container 9c84e61482e3 [2021-12-15T15:41:35.944Z] ---> cab0556d2a07 [2021-12-15T15:41:35.944Z] Step 16/24 : FROM ${BASE} [2021-12-15T15:41:35.944Z] ---> a4e04833b611 [2021-12-15T15:41:35.944Z] Step 17/24 : LABEL maintainer="IOTech " [2021-12-15T15:41:35.944Z] ---> Running in bff32b6dfc81 [2021-12-15T15:41:35.944Z] Removing intermediate container bff32b6dfc81 [2021-12-15T15:41:35.944Z] ---> fceb301bd3a4 [2021-12-15T15:41:35.944Z] 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 [2021-12-15T15:41:35.944Z] ---> Running in 822707c57c83 [2021-12-15T15:41:36.207Z] Connecting to iotech.jfrog.io (54.74.239.58:443) [2021-12-15T15:41:36.681Z] Removing intermediate container 0440ce39057d [2021-12-15T15:41:36.681Z] ---> 27233a796c80 [2021-12-15T15:41:36.681Z] Step 8/24 : RUN mkdir /tmp/sdk [2021-12-15T15:41:36.681Z] ---> Running in 1f050e488884 [2021-12-15T15:41:36.778Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-12-15T15:41:36.778Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-12-15T15:41:36.778Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-12-15T15:41:36.778Z] Removing intermediate container 822707c57c83 [2021-12-15T15:41:36.778Z] ---> 5704d7095fde [2021-12-15T15:41:36.778Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-12-15T15:41:36.778Z] ---> Running in 456046a7721f [2021-12-15T15:41:37.355Z] Removing intermediate container 456046a7721f [2021-12-15T15:41:37.355Z] ---> a0fbd30a1970 [2021-12-15T15:41:37.355Z] 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 [2021-12-15T15:41:37.355Z] ---> Running in 2026aabbc92e [2021-12-15T15:41:37.616Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-15T15:41:38.556Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-15T15:41:38.556Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-15T15:41:38.652Z] Removing intermediate container 1f050e488884 [2021-12-15T15:41:38.652Z] ---> 443eeb8eb248 [2021-12-15T15:41:38.652Z] Step 9/24 : COPY VERSION /tmp/sdk [2021-12-15T15:41:38.924Z] ---> 9f9faee79c44 [2021-12-15T15:41:38.924Z] Step 10/24 : COPY src /tmp/sdk/src [2021-12-15T15:41:39.125Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-12-15T15:41:39.125Z] (1/7) Installing curl (7.79.1-r0) [2021-12-15T15:41:39.125Z] (2/7) Installing hiredis (1.0.0-r0) [2021-12-15T15:41:39.387Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2021-12-15T15:41:39.387Z] (4/7) Installing libuuid (2.37.2-r0) [2021-12-15T15:41:39.387Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-12-15T15:41:39.904Z] ---> 7934f1ea655d [2021-12-15T15:41:39.904Z] Step 11/24 : COPY include /tmp/sdk/include [2021-12-15T15:41:40.330Z] (6/7) Installing libidn2 (2.3.1-r0) [2021-12-15T15:41:40.330Z] (7/7) Installing wget (1.21.1-r1) [2021-12-15T15:41:40.497Z] ---> 50f073b2fbd6 [2021-12-15T15:41:40.498Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2021-12-15T15:41:40.591Z] Executing busybox-1.33.1-r3.trigger [2021-12-15T15:41:40.591Z] OK: 281 MiB in 84 packages [2021-12-15T15:41:40.852Z] Removing intermediate container 2026aabbc92e [2021-12-15T15:41:40.852Z] ---> a8dbf02357a5 [2021-12-15T15:41:40.852Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-12-15T15:41:40.852Z] ---> 52d9e64fac1b [2021-12-15T15:41:40.852Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-12-15T15:41:41.093Z] ---> 42a23530bba1 [2021-12-15T15:41:41.093Z] Step 13/24 : COPY LICENSE /tmp/sdk [2021-12-15T15:41:41.113Z] ---> f1159b9d6006 [2021-12-15T15:41:41.113Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-12-15T15:41:41.113Z] ---> 632a16db9fb2 [2021-12-15T15:41:41.113Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-12-15T15:41:41.366Z] ---> 2496565af49a [2021-12-15T15:41:41.366Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2021-12-15T15:41:41.372Z] ---> d4b1cce3d3fe [2021-12-15T15:41:41.372Z] Successfully built d4b1cce3d3fe [2021-12-15T15:41:41.372Z] 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 [2021-12-15T15:41:41.848Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-15T15:41:41.848Z] . [Pipeline] withDockerContainer [2021-12-15T15:41:41.914Z] prd-centos7-docker-4c-2g-917 does not seem to be running inside a container [2021-12-15T15:41:41.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/15 -v /w/workspace/device-sdk-c/15:/w/workspace/device-sdk-c/15:rw,z -v /w/workspace/device-sdk-c/15@tmp:/w/workspace/device-sdk-c/15@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 ******** ci-base-image-x86_64 cat [2021-12-15T15:41:41.957Z] ---> 29691d2cb81c [2021-12-15T15:41:41.957Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-12-15T15:41:42.230Z] ---> Running in a44dadcfe3b0 [2021-12-15T15:41:42.301Z] $ docker top 82b4910ba90480073b90b2e3985c509121b9491c1c0f04afd4e9ef10caacf855 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-15T15:41:42.657Z] + make test [2021-12-15T15:41:42.658Z] echo "make test" [2021-12-15T15:41:42.658Z] make test [Pipeline] } [2021-12-15T15:41:42.669Z] $ docker stop --time=1 82b4910ba90480073b90b2e3985c509121b9491c1c0f04afd4e9ef10caacf855 [2021-12-15T15:41:43.204Z] + CPPCHECK=false [2021-12-15T15:41:43.204Z] + DOCGEN=false [2021-12-15T15:41:43.204Z] + TOMLVER=SDK-0.2 [2021-12-15T15:41:43.204Z] + CUTILVER=1.2.2 [2021-12-15T15:41:43.204Z] + '[' 0 -gt 0 ] [2021-12-15T15:41:43.204Z] + readlink -f ./scripts/build.sh [2021-12-15T15:41:43.204Z] + dirname /tmp/sdk/scripts/build.sh [2021-12-15T15:41:43.204Z] + dirname /tmp/sdk/scripts [2021-12-15T15:41:43.204Z] + ROOT=/tmp/sdk [2021-12-15T15:41:43.204Z] + cd /tmp/sdk [2021-12-15T15:41:43.204Z] + '[' '!' -d deps ] [2021-12-15T15:41:43.204Z] + mkdir deps [2021-12-15T15:41:43.204Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-12-15T15:41:43.204Z] + tar -C deps -z -x -f - [2021-12-15T15:41:43.204Z] --2021-12-15 15:41:42-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-12-15T15:41:43.204Z] Resolving github.com (github.com)... 140.82.113.4 [2021-12-15T15:41:43.204Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-12-15T15:41:43.475Z] HTTP request sent, awaiting response... 302 Found [2021-12-15T15:41:43.475Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-12-15T15:41:43.475Z] --2021-12-15 15:41:43-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-12-15T15:41:43.475Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-12-15T15:41:43.475Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-12-15T15:41:43.475Z] HTTP request sent, awaiting response... 200 OK [2021-12-15T15:41:43.475Z] Length: unspecified [application/x-gzip] [2021-12-15T15:41:43.475Z] Saving to: 'STDOUT' [2021-12-15T15:41:43.475Z]  [2021-12-15T15:41:43.475Z] 0K .......... ......   585K=0.03s [2021-12-15T15:41:43.475Z] [2021-12-15T15:41:43.475Z] 2021-12-15 15:41:43 (585 KB/s) - written to stdout [16451] [2021-12-15T15:41:43.475Z] [2021-12-15T15:41:43.475Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-12-15T15:41:43.475Z] + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -z [2021-12-15T15:41:43.475Z] -x -f - [2021-12-15T15:41:43.475Z] --2021-12-15 15:41:43-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-12-15T15:41:43.475Z] Resolving github.com (github.com)... 140.82.113.4 [2021-12-15T15:41:43.746Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-12-15T15:41:43.746Z] HTTP request sent, awaiting response... 302 Found [2021-12-15T15:41:43.746Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-12-15T15:41:43.746Z] --2021-12-15 15:41:43-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-12-15T15:41:43.746Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-12-15T15:41:43.746Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-12-15T15:41:43.845Z] $ docker rm -f 82b4910ba90480073b90b2e3985c509121b9491c1c0f04afd4e9ef10caacf855 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-12-15T15:41:44.017Z] HTTP request sent, awaiting response... 200 OK [2021-12-15T15:41:44.017Z] Length: unspecified [application/x-gzip] [2021-12-15T15:41:44.017Z] Saving to: 'STDOUT' [2021-12-15T15:41:44.017Z] [2021-12-15T15:41:44.017Z] 0K .......... .......... .......... .......... .......... 878K [2021-12-15T15:41:44.017Z] 50K .......... .......... .......... .......... .......... 3.47M [2021-12-15T15:41:44.017Z] 100K .......... .......... .......... .......... .......... 2.68M [2021-12-15T15:41:44.017Z] 150K .......... .......... .......... ......... 2.93M=0.1s [2021-12-15T15:41:44.017Z] [2021-12-15T15:41:44.017Z] 2021-12-15 15:41:43 (1.81 MB/s) - written to stdout [193961] [2021-12-15T15:41:44.017Z] [2021-12-15T15:41:44.017Z] + mkdir -p src/c/iot [2021-12-15T15:41:44.017Z] + 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 [2021-12-15T15:41:44.017Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-12-15T15:41:44.017Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-12-15T15:41:44.017Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-12-15T15:41:44.017Z] + mkdir -p include/iot [2021-12-15T15:41:44.017Z] + 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 [2021-12-15T15:41:44.017Z] + mkdir -p include/iot/os [2021-12-15T15:41:44.017Z] + 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 [2021-12-15T15:41:44.017Z] + mkdir -p /tmp/sdk/build/release [2021-12-15T15:41:44.017Z] + cd /tmp/sdk/build/release [2021-12-15T15:41:44.017Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [Pipeline] script [Pipeline] { [2021-12-15T15:41:44.290Z] -- The C compiler identification is GNU 10.3.1 [2021-12-15T15:41:44.562Z] -- Detecting C compiler ABI info [2021-12-15T15:41:44.834Z] -- Detecting C compiler ABI info - done [2021-12-15T15:41:44.834Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-12-15T15:41:44.834Z] -- Detecting C compile features [2021-12-15T15:41:44.834Z] -- Detecting C compile features - done [2021-12-15T15:41:44.834Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [Pipeline] sh [2021-12-15T15:41:45.107Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-12-15T15:41:45.107Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-12-15T15:41:45.107Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-12-15T15:41:45.107Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-12-15T15:41:45.107Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-12-15T15:41:45.107Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-12-15T15:41:45.107Z] -- C SDK 2.2.0-dev.1 for Linux [2021-12-15T15:41:45.107Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-12-15T15:41:45.187Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-15T15:41:45.381Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-12-15T15:41:45.381Z] -- Found Curses: /usr/lib/libcurses.so [2021-12-15T15:41:45.480Z] + ls -al . [2021-12-15T15:41:45.480Z] total 172 [2021-12-15T15:41:45.480Z] drwxrwxr-x. 8 jenkins jenkins 4096 Dec 15 15:40 . [2021-12-15T15:41:45.480Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 15 15:40 .. [2021-12-15T15:41:45.480Z] -rw-rw-r--. 1 jenkins jenkins 3104 Dec 15 15:40 Attribution.txt [2021-12-15T15:41:45.480Z] -rw-rw-r--. 1 jenkins jenkins 7880 Dec 15 15:40 CHANGES [2021-12-15T15:41:45.480Z] drwxrwxr-x. 2 jenkins jenkins 121 Dec 15 15:40 docs [2021-12-15T15:41:45.480Z] -rw-rw-r--. 1 jenkins jenkins 108574 Dec 15 15:40 Doxyfile [2021-12-15T15:41:45.480Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 15 15:40 .git [2021-12-15T15:41:45.480Z] drwxrwxr-x. 3 jenkins jenkins 103 Dec 15 15:40 .github [2021-12-15T15:41:45.480Z] -rw-rw-r--. 1 jenkins jenkins 176 Dec 15 15:40 .gitignore [2021-12-15T15:41:45.480Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 15 15:40 GOVERNANCE.md [2021-12-15T15:41:45.480Z] drwxrwxr-x. 4 jenkins jenkins 33 Dec 15 15:40 include [2021-12-15T15:41:45.480Z] -rw-rw-r--. 1 jenkins jenkins 784 Dec 15 15:40 Jenkinsfile [2021-12-15T15:41:45.480Z] -rw-rw-r--. 1 jenkins jenkins 10174 Dec 15 15:40 LICENSE [2021-12-15T15:41:45.480Z] -rw-rw-r--. 1 jenkins jenkins 444 Dec 15 15:40 Makefile [2021-12-15T15:41:45.480Z] -rw-rw-r--. 1 jenkins jenkins 618 Dec 15 15:40 OWNERS.md [2021-12-15T15:41:45.480Z] -rw-rw-r--. 1 jenkins jenkins 4086 Dec 15 15:40 README.md [2021-12-15T15:41:45.480Z] -rw-rw-r--. 1 jenkins jenkins 7422 Dec 15 15:40 README.v2.md [2021-12-15T15:41:45.480Z] drwxrwxr-x. 2 jenkins jenkins 98 Dec 15 15:40 scripts [2021-12-15T15:41:45.480Z] drwxrwxr-x. 4 jenkins jenkins 50 Dec 15 15:40 src [2021-12-15T15:41:45.480Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 15 15:38 VERSION [Pipeline] isUnix [Pipeline] sh [2021-12-15T15:41:45.652Z] -- Configuring done [2021-12-15T15:41:45.793Z] + 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=739477acbf421f4c8ab997665c0daf1f91507244 --label arch=amd64 --label version=2.2.0-dev.1 . [2021-12-15T15:41:45.793Z] Sending build context to Docker daemon 2.725MB [2021-12-15T15:41:45.793Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-12-15T15:41:45.793Z] Step 2/17 : FROM ${BASE} [2021-12-15T15:41:45.793Z] ---> d4b1cce3d3fe [2021-12-15T15:41:45.793Z] Step 3/17 : LABEL maintainer="IOTech " [2021-12-15T15:41:45.793Z] ---> Running in c13ba43401f8 [2021-12-15T15:41:45.793Z] Removing intermediate container c13ba43401f8 [2021-12-15T15:41:45.793Z] ---> fe5f3ec54ef3 [2021-12-15T15:41:45.793Z] 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 [2021-12-15T15:41:45.924Z] -- Generating done [2021-12-15T15:41:45.924Z] -- Build files have been written to: /tmp/sdk/build/release [2021-12-15T15:41:45.924Z] + make all package [2021-12-15T15:41:45.924Z] + tee release.log [2021-12-15T15:41:45.924Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-12-15T15:41:46.056Z] ---> Running in 902e9074df2c [2021-12-15T15:41:46.319Z] --2021-12-15 15:41:46-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-12-15T15:41:46.319Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.229.110.245, 34.243.182.113, ... [2021-12-15T15:41:46.319Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. [2021-12-15T15:41:46.518Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-12-15T15:41:46.582Z] HTTP request sent, awaiting response... 200 OK [2021-12-15T15:41:46.582Z] Length: unspecified [application/json] [2021-12-15T15:41:46.582Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-12-15T15:41:46.582Z]  [2021-12-15T15:41:46.582Z] 0K  176M=0s [2021-12-15T15:41:46.582Z] [2021-12-15T15:41:46.582Z] 2021-12-15 15:41:46 (176 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-12-15T15:41:46.582Z] [2021-12-15T15:41:46.843Z] Removing intermediate container 902e9074df2c [2021-12-15T15:41:46.843Z] ---> 57fa56499d47 [2021-12-15T15:41:46.843Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-12-15T15:41:46.843Z] ---> Running in c26c62d33e4a [2021-12-15T15:41:47.111Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-12-15T15:41:47.113Z] Removing intermediate container c26c62d33e4a [2021-12-15T15:41:47.113Z] ---> ade2586b353f [2021-12-15T15:41:47.113Z] 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 [2021-12-15T15:41:47.113Z] ---> Running in 69ab1927f12b [2021-12-15T15:41:47.374Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-15T15:41:48.318Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-15T15:41:48.579Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-15T15:41:49.160Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-12-15T15:41:49.160Z] (1/21) Installing ncurses-dev (6.2_p20210612-r0) [2021-12-15T15:41:49.160Z] (2/21) Installing libblkid (2.37.2-r0) [2021-12-15T15:41:49.160Z] (3/21) Installing blkid (2.37.2-r0) [2021-12-15T15:41:49.422Z] (4/21) Installing libcap-ng (0.8.2-r0) [2021-12-15T15:41:49.422Z] (5/21) Installing setpriv (2.37.2-r0) [2021-12-15T15:41:49.422Z] (6/21) Installing libmount (2.37.2-r0) [2021-12-15T15:41:49.690Z] (7/21) Installing libsmartcols (2.37.2-r0) [2021-12-15T15:41:49.690Z] (8/21) Installing findmnt (2.37.2-r0) [2021-12-15T15:41:49.690Z] (9/21) Installing mcookie (2.37.2-r0) [2021-12-15T15:41:49.717Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-12-15T15:41:49.950Z] (10/21) Installing hexdump (2.37.2-r0) [2021-12-15T15:41:49.950Z] (11/21) Installing lsblk (2.37.2-r0) [2021-12-15T15:41:49.950Z] (12/21) Installing libfdisk (2.37.2-r0) [2021-12-15T15:41:50.211Z] (13/21) Installing sfdisk (2.37.2-r0) [2021-12-15T15:41:50.211Z] (14/21) Installing cfdisk (2.37.2-r0) [2021-12-15T15:41:50.211Z] (15/21) Installing partx (2.37.2-r0) [2021-12-15T15:41:50.314Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-12-15T15:41:50.315Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-12-15T15:41:50.473Z] (16/21) Installing flock (2.37.2-r0) [2021-12-15T15:41:50.473Z] (17/21) Installing logger (2.37.2-r0) [2021-12-15T15:41:50.473Z] (18/21) Installing uuidgen (2.37.2-r0) [2021-12-15T15:41:50.733Z] (19/21) Installing libeconf (0.3.8-r1) [2021-12-15T15:41:50.733Z] (20/21) Installing util-linux (2.37.2-r0) [2021-12-15T15:41:50.994Z] (21/21) Installing util-linux-dev (2.37.2-r0) [2021-12-15T15:41:50.994Z] Executing busybox-1.33.1-r3.trigger [2021-12-15T15:41:50.994Z] OK: 291 MiB in 105 packages [2021-12-15T15:41:51.288Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-12-15T15:41:51.567Z] Removing intermediate container 69ab1927f12b [2021-12-15T15:41:51.567Z] ---> a5e705a3c61a [2021-12-15T15:41:51.567Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-12-15T15:41:51.567Z] ---> 1beb67e149a0 [2021-12-15T15:41:51.567Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-12-15T15:41:51.828Z] ---> af3d5604c577 [2021-12-15T15:41:51.828Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-12-15T15:41:51.828Z] ---> 31710c18c4e2 [2021-12-15T15:41:51.828Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-12-15T15:41:51.879Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-12-15T15:41:52.097Z] ---> cdd05b492143 [2021-12-15T15:41:52.097Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-12-15T15:41:52.097Z] ---> d7228498f07c [2021-12-15T15:41:52.097Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-12-15T15:41:52.149Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-12-15T15:41:52.358Z] ---> a7421bc6ce46 [2021-12-15T15:41:52.358Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-12-15T15:41:52.358Z] ---> Running in 5cfd201201e9 [2021-12-15T15:41:52.358Z] Removing intermediate container 5cfd201201e9 [2021-12-15T15:41:52.358Z] ---> 925f162b39e8 [2021-12-15T15:41:52.358Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-12-15T15:41:52.358Z] ---> Running in 64210fd4a58a [2021-12-15T15:41:52.358Z] Removing intermediate container 64210fd4a58a [2021-12-15T15:41:52.358Z] ---> 6af4f1b37bc8 [2021-12-15T15:41:52.358Z] Step 15/17 : LABEL arch=amd64 [2021-12-15T15:41:52.623Z] ---> Running in bd3ae5171696 [2021-12-15T15:41:52.623Z] Removing intermediate container bd3ae5171696 [2021-12-15T15:41:52.623Z] ---> 31be1b7c3130 [2021-12-15T15:41:52.623Z] Step 16/17 : LABEL git_sha=739477acbf421f4c8ab997665c0daf1f91507244 [2021-12-15T15:41:52.623Z] ---> Running in be76f4202173 [2021-12-15T15:41:52.623Z] Removing intermediate container be76f4202173 [2021-12-15T15:41:52.623Z] ---> 0bc5ef7c4236 [2021-12-15T15:41:52.623Z] Step 17/17 : LABEL version=2.2.0-dev.1 [2021-12-15T15:41:52.623Z] ---> Running in 5ed6315fff43 [2021-12-15T15:41:52.883Z] Removing intermediate container 5ed6315fff43 [2021-12-15T15:41:52.883Z] ---> 093a1db57f75 [2021-12-15T15:41:52.883Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-12-15T15:41:52.883Z] Successfully built 093a1db57f75 [2021-12-15T15:41:52.883Z] 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 [2021-12-15T15:41:53.569Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-12-15T15:41:53.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-15T15:41:53.575Z] [2021-12-15T15:41:53.575Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-15T15:41:53.890Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-15T15:41:53.891Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-15T15:41:53.891Z] b4d181a07f80: Pulling fs layer [2021-12-15T15:41:53.891Z] a1111a8f2ec3: Pulling fs layer [2021-12-15T15:41:53.891Z] ed53099fbce6: Pulling fs layer [2021-12-15T15:41:53.891Z] dc539afda2c1: Pulling fs layer [2021-12-15T15:41:53.891Z] 77bc0d833cb6: Pulling fs layer [2021-12-15T15:41:53.891Z] 9065ff56babe: Pulling fs layer [2021-12-15T15:41:53.891Z] d287ab97295c: Pulling fs layer [2021-12-15T15:41:53.891Z] 77bc0d833cb6: Waiting [2021-12-15T15:41:53.891Z] 9065ff56babe: Waiting [2021-12-15T15:41:53.891Z] d287ab97295c: Waiting [2021-12-15T15:41:53.891Z] dc539afda2c1: Waiting [2021-12-15T15:41:53.891Z] a1111a8f2ec3: Verifying Checksum [2021-12-15T15:41:53.891Z] a1111a8f2ec3: Download complete [2021-12-15T15:41:53.891Z] dc539afda2c1: Verifying Checksum [2021-12-15T15:41:53.891Z] dc539afda2c1: Download complete [2021-12-15T15:41:54.157Z] ed53099fbce6: Verifying Checksum [2021-12-15T15:41:54.157Z] ed53099fbce6: Download complete [2021-12-15T15:41:54.157Z] 77bc0d833cb6: Verifying Checksum [2021-12-15T15:41:54.157Z] 77bc0d833cb6: Download complete [2021-12-15T15:41:54.157Z] 9065ff56babe: Verifying Checksum [2021-12-15T15:41:54.157Z] 9065ff56babe: Download complete [2021-12-15T15:41:54.157Z] b4d181a07f80: Verifying Checksum [2021-12-15T15:41:54.157Z] b4d181a07f80: Download complete [2021-12-15T15:41:54.741Z] d287ab97295c: Verifying Checksum [2021-12-15T15:41:54.741Z] d287ab97295c: Download complete [2021-12-15T15:41:55.530Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-12-15T15:41:55.693Z] b4d181a07f80: Pull complete [2021-12-15T15:41:55.693Z] a1111a8f2ec3: Pull complete [2021-12-15T15:41:55.802Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-12-15T15:41:56.269Z] ed53099fbce6: Pull complete [2021-12-15T15:41:56.269Z] dc539afda2c1: Pull complete [2021-12-15T15:41:56.777Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-12-15T15:41:56.847Z] 77bc0d833cb6: Pull complete [2021-12-15T15:41:56.847Z] 9065ff56babe: Pull complete [2021-12-15T15:41:57.371Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-12-15T15:41:57.961Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-12-15T15:41:58.233Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-12-15T15:41:58.505Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-12-15T15:42:01.892Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-12-15T15:42:01.892Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-12-15T15:42:02.166Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-12-15T15:42:02.174Z] d287ab97295c: Pull complete [2021-12-15T15:42:02.174Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-15T15:42:02.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-15T15:42:02.174Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-15T15:42:02.260Z] prd-centos7-docker-4c-2g-917 does not seem to be running inside a container [2021-12-15T15:42:02.304Z] $ 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/15 -v /w/workspace/device-sdk-c/15:/w/workspace/device-sdk-c/15:rw,z -v /w/workspace/device-sdk-c/15@tmp:/w/workspace/device-sdk-c/15@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-15T15:42:02.438Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-12-15T15:42:03.033Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-12-15T15:42:03.304Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-12-15T15:42:03.304Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-12-15T15:42:03.304Z] 275 | const iot_component_factory_t * factory; [2021-12-15T15:42:03.304Z] | ^~~~~~~ [2021-12-15T15:42:03.896Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-12-15T15:42:04.909Z] $ docker top 5ca2c237d4c15dc3d08c95a1f1158fca337bea6ae723540ff539ede10bb730eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-15T15:42:05.343Z] ---> job-cost.sh [2021-12-15T15:42:05.343Z] lf-activate-venv: SKIPPING [2021-12-15T15:42:05.343Z] INFO: No Stack... [2021-12-15T15:42:05.602Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-15T15:42:06.176Z] INFO: Archiving Costs [Pipeline] sh [2021-12-15T15:42:06.474Z] + cat /w/workspace/device-sdk-c/15/archives/cost.csv [2021-12-15T15:42:06.474Z] + cut -d, -f6 [Pipeline] lock [2021-12-15T15:42:06.505Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-15-stack-cost] [2021-12-15T15:42:06.514Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-15-stack-cost] did not exist. Created. [2021-12-15T15:42:06.514Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-15T15:42:06.825Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-15T15:42:06.985Z] Stashed 1 file(s) [Pipeline] } [2021-12-15T15:42:06.992Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-15-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-15T15:42:07.013Z] $ docker stop --time=1 5ca2c237d4c15dc3d08c95a1f1158fca337bea6ae723540ff539ede10bb730eb [2021-12-15T15:42:08.144Z] $ docker rm -f 5ca2c237d4c15dc3d08c95a1f1158fca337bea6ae723540ff539ede10bb730eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-15T15:42:09.281Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-12-15T15:42:09.281Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-12-15T15:42:09.281Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-12-15T15:42:09.554Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-12-15T15:42:10.148Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-12-15T15:42:10.420Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-12-15T15:42:11.845Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-12-15T15:42:12.116Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-12-15T15:42:13.158Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-12-15T15:42:13.437Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-12-15T15:42:13.733Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-12-15T15:42:16.389Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-12-15T15:42:16.661Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-12-15T15:42:18.104Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-12-15T15:42:18.104Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-12-15T15:42:23.487Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-12-15T15:42:23.487Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-12-15T15:42:23.759Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-12-15T15:42:24.351Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-12-15T15:42:24.351Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-12-15T15:42:24.351Z] /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] [2021-12-15T15:42:24.351Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-12-15T15:42:24.352Z] | ^~~~~~~~~~~~~ [2021-12-15T15:42:24.352Z] | | [2021-12-15T15:42:24.352Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-12-15T15:42:24.352Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-15T15:42:24.352Z] /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 *)' [2021-12-15T15:42:24.352Z] 2714 | MHD_KeyValueIterator iterator, [2021-12-15T15:42:24.352Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-12-15T15:42:24.622Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-12-15T15:42:24.622Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-12-15T15:42:24.622Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-12-15T15:42:24.622Z] | ^~~~~~~~~~~~ [2021-12-15T15:42:24.622Z] | | [2021-12-15T15:42:24.622Z] | 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 **)} [2021-12-15T15:42:24.622Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-15T15:42:24.622Z] /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 **)'} [2021-12-15T15:42:24.622Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-12-15T15:42:24.622Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-12-15T15:42:24.622Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-12-15T15:42:24.622Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-12-15T15:42:24.622Z] | ^~~~~~~~~~~~ [2021-12-15T15:42:24.622Z] | | [2021-12-15T15:42:24.622Z] | 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 **)} [2021-12-15T15:42:24.622Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-15T15:42:24.622Z] /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 **)'} [2021-12-15T15:42:24.622Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-12-15T15:42:24.622Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-12-15T15:42:25.215Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-12-15T15:42:27.823Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-12-15T15:42:27.823Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-12-15T15:42:28.413Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-12-15T15:42:28.684Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-12-15T15:42:31.296Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-12-15T15:42:34.661Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-12-15T15:42:35.630Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-12-15T15:42:36.218Z] [ 76%] Linking C shared library libcsdk.so [2021-12-15T15:42:36.218Z] [ 76%] Built target csdk [2021-12-15T15:42:36.488Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-12-15T15:42:37.077Z] [ 79%] Linking C executable template [2021-12-15T15:42:37.345Z] [ 79%] Built target template [2021-12-15T15:42:37.345Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-12-15T15:42:37.933Z] [ 82%] Linking C executable device-counter [2021-12-15T15:42:38.201Z] [ 82%] Built target device-counter [2021-12-15T15:42:38.201Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-12-15T15:42:38.789Z] [ 85%] Linking C executable device-random [2021-12-15T15:42:38.789Z] [ 85%] Built target device-random [2021-12-15T15:42:39.058Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-12-15T15:42:39.326Z] [ 88%] Linking C executable device-gyro [2021-12-15T15:42:39.596Z] [ 88%] Built target device-gyro [2021-12-15T15:42:39.596Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-12-15T15:42:40.187Z] [ 91%] Linking C executable device-bitfields [2021-12-15T15:42:40.457Z] [ 91%] Built target device-bitfields [2021-12-15T15:42:40.457Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-12-15T15:42:41.423Z] [ 94%] Linking C executable template-discovery [2021-12-15T15:42:41.423Z] [ 94%] Built target template-discovery [2021-12-15T15:42:41.423Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-12-15T15:42:42.390Z] [ 97%] Linking C executable device-file [2021-12-15T15:42:42.390Z] [ 97%] Built target device-file [2021-12-15T15:42:42.390Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-12-15T15:42:42.977Z] [100%] Linking C executable device-terminal [2021-12-15T15:42:43.246Z] [100%] Built target device-terminal [2021-12-15T15:42:43.246Z] Run CPack packaging tool... [2021-12-15T15:42:43.540Z] CPack: Create package using TGZ [2021-12-15T15:42:43.540Z] CPack: Install projects [2021-12-15T15:42:43.540Z] CPack: - Run preinstall target for: Csdk [2021-12-15T15:42:44.129Z] CPack: - Install project: Csdk [] [2021-12-15T15:42:44.129Z] CPack: Create package [2021-12-15T15:42:44.129Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.1.tar.gz generated. [2021-12-15T15:42:44.129Z] + '[' false '=' true ] [2021-12-15T15:42:44.129Z] + '[' false '=' true ] [2021-12-15T15:42:44.129Z] + mkdir -p /tmp/sdk/build/debug [2021-12-15T15:42:44.402Z] + cd /tmp/sdk/build/debug [2021-12-15T15:42:44.403Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-12-15T15:42:44.403Z] -- The C compiler identification is GNU 10.3.1 [2021-12-15T15:42:44.671Z] -- Detecting C compiler ABI info [2021-12-15T15:42:44.939Z] -- Detecting C compiler ABI info - done [2021-12-15T15:42:44.939Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-12-15T15:42:44.939Z] -- Detecting C compile features [2021-12-15T15:42:44.939Z] -- Detecting C compile features - done [2021-12-15T15:42:44.939Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-12-15T15:42:44.939Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-12-15T15:42:45.209Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-12-15T15:42:45.209Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-12-15T15:42:45.209Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-12-15T15:42:45.209Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-12-15T15:42:45.209Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-12-15T15:42:45.209Z] -- C SDK 2.2.0-dev.1 for Linux [2021-12-15T15:42:45.209Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-12-15T15:42:45.479Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-12-15T15:42:45.479Z] -- Found Curses: /usr/lib/libcurses.so [2021-12-15T15:42:45.749Z] -- Configuring done [2021-12-15T15:42:45.749Z] -- Generating done [2021-12-15T15:42:45.749Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-12-15T15:42:46.019Z] + make [2021-12-15T15:42:46.019Z] + tee debug.log [2021-12-15T15:42:46.019Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-12-15T15:42:46.288Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-12-15T15:42:46.557Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-12-15T15:42:47.524Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-12-15T15:42:47.524Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-12-15T15:42:47.793Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-12-15T15:42:48.065Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-12-15T15:42:48.651Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-12-15T15:42:48.652Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-12-15T15:42:49.239Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-12-15T15:42:49.835Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-12-15T15:42:50.103Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-12-15T15:42:50.373Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-12-15T15:42:50.967Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-12-15T15:42:50.967Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-12-15T15:42:51.241Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-12-15T15:42:51.510Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-12-15T15:42:52.478Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-12-15T15:42:52.478Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-12-15T15:42:52.747Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-12-15T15:42:53.019Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-12-15T15:42:53.287Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-12-15T15:42:53.287Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-12-15T15:42:53.287Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-12-15T15:42:53.287Z] 275 | const iot_component_factory_t * factory; [2021-12-15T15:42:53.287Z] | ^~~~~~~ [2021-12-15T15:42:53.559Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-12-15T15:42:54.994Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-12-15T15:42:54.994Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-12-15T15:42:54.994Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-12-15T15:42:55.265Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-12-15T15:42:55.537Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-12-15T15:42:55.815Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-12-15T15:42:56.087Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-12-15T15:42:56.364Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-12-15T15:42:56.634Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-12-15T15:42:56.904Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-12-15T15:42:57.173Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-12-15T15:42:57.446Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-12-15T15:42:57.718Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-12-15T15:42:58.309Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-12-15T15:42:58.578Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-12-15T15:42:59.546Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-12-15T15:42:59.817Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-12-15T15:43:00.093Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-12-15T15:43:00.368Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-12-15T15:43:00.639Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-12-15T15:43:00.639Z] /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] [2021-12-15T15:43:00.639Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-12-15T15:43:00.639Z] | ^~~~~~~~~~~~~ [2021-12-15T15:43:00.639Z] | | [2021-12-15T15:43:00.639Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-12-15T15:43:00.639Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-15T15:43:00.639Z] /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 *)' [2021-12-15T15:43:00.639Z] 2714 | MHD_KeyValueIterator iterator, [2021-12-15T15:43:00.639Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-12-15T15:43:00.639Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-12-15T15:43:00.640Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-12-15T15:43:00.640Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-12-15T15:43:00.640Z] | ^~~~~~~~~~~~ [2021-12-15T15:43:00.640Z] | | [2021-12-15T15:43:00.640Z] | 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 **)} [2021-12-15T15:43:00.640Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-15T15:43:00.640Z] /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 **)'} [2021-12-15T15:43:00.640Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-12-15T15:43:00.640Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-12-15T15:43:00.640Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-12-15T15:43:00.640Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-12-15T15:43:00.640Z] | ^~~~~~~~~~~~ [2021-12-15T15:43:00.640Z] | | [2021-12-15T15:43:00.640Z] | 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 **)} [2021-12-15T15:43:00.640Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-15T15:43:00.640Z] /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 **)'} [2021-12-15T15:43:00.640Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-12-15T15:43:00.640Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-12-15T15:43:00.911Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-12-15T15:43:02.331Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-12-15T15:43:02.599Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-12-15T15:43:02.869Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-12-15T15:43:03.137Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-12-15T15:43:03.724Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-12-15T15:43:04.688Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-12-15T15:43:04.957Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-12-15T15:43:05.226Z] [ 76%] Linking C shared library libcsdk.so [2021-12-15T15:43:05.226Z] [ 76%] Built target csdk [2021-12-15T15:43:05.495Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-12-15T15:43:05.765Z] [ 79%] Linking C executable template [2021-12-15T15:43:06.035Z] [ 79%] Built target template [2021-12-15T15:43:06.035Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-12-15T15:43:06.306Z] [ 82%] Linking C executable device-counter [2021-12-15T15:43:06.579Z] [ 82%] Built target device-counter [2021-12-15T15:43:06.579Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-12-15T15:43:06.849Z] [ 85%] Linking C executable device-random [2021-12-15T15:43:07.120Z] [ 85%] Built target device-random [2021-12-15T15:43:07.120Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-12-15T15:43:07.391Z] [ 88%] Linking C executable device-gyro [2021-12-15T15:43:07.659Z] [ 88%] Built target device-gyro [2021-12-15T15:43:07.659Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-12-15T15:43:07.930Z] [ 91%] Linking C executable device-bitfields [2021-12-15T15:43:08.198Z] [ 91%] Built target device-bitfields [2021-12-15T15:43:08.198Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-12-15T15:43:08.469Z] [ 94%] Linking C executable template-discovery [2021-12-15T15:43:08.740Z] [ 94%] Built target template-discovery [2021-12-15T15:43:08.740Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-12-15T15:43:09.009Z] [ 97%] Linking C executable device-file [2021-12-15T15:43:09.280Z] [ 97%] Built target device-file [2021-12-15T15:43:09.280Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-12-15T15:43:09.869Z] [100%] Linking C executable device-terminal [2021-12-15T15:43:09.869Z] [100%] Built target device-terminal [2021-12-15T15:43:10.141Z] make: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.141Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.141Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.141Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.141Z] [ 76%] Built target csdk [2021-12-15T15:43:10.141Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.141Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.141Z] [ 79%] Built target template [2021-12-15T15:43:10.141Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.141Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.412Z] [ 82%] Built target device-counter [2021-12-15T15:43:10.412Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.412Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.412Z] [ 85%] Built target device-random [2021-12-15T15:43:10.412Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.412Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.412Z] [ 88%] Built target device-gyro [2021-12-15T15:43:10.412Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.412Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.412Z] [ 91%] Built target device-bitfields [2021-12-15T15:43:10.412Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.412Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.412Z] [ 94%] Built target template-discovery [2021-12-15T15:43:10.412Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.412Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.412Z] [ 97%] Built target device-file [2021-12-15T15:43:10.412Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.412Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.708Z] [100%] Built target device-terminal [2021-12-15T15:43:10.708Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:43:10.708Z] Install the project... [2021-12-15T15:43:10.708Z] -- Install configuration: "Release" [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/lib/libcsdk.so [2021-12-15T15:43:10.708Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-12-15T15:43:10.708Z] -- Up-to-date: /usr/local/include [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/edgex [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/edgex/devices.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/devsdk [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/data.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/config.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/container.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/typecode.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/thread.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/hash.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/iot.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/defs.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/uuid.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/component.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/time.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/logger.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/os [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/json.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/base64.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/include/iot/os.h [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-12-15T15:43:10.708Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-12-15T15:43:10.708Z] make: Leaving directory '/tmp/sdk/build/release' [2021-12-15T15:43:12.767Z] Removing intermediate container a44dadcfe3b0 [2021-12-15T15:43:12.767Z] ---> dd2de8c4350c [2021-12-15T15:43:12.767Z] Step 16/24 : FROM ${BASE} [2021-12-15T15:43:12.767Z] ---> b6d714ea7bf2 [2021-12-15T15:43:12.767Z] Step 17/24 : LABEL maintainer="IOTech " [2021-12-15T15:43:12.767Z] ---> Running in 01f9c3dc2f3e [2021-12-15T15:43:13.051Z] Removing intermediate container 01f9c3dc2f3e [2021-12-15T15:43:13.051Z] ---> 9f5f4cf1569e [2021-12-15T15:43:13.051Z] 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 [2021-12-15T15:43:13.328Z] ---> Running in 9d3ee4fb46f1 [2021-12-15T15:43:14.313Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2021-12-15T15:43:14.584Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-12-15T15:43:14.584Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-12-15T15:43:14.584Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-12-15T15:43:15.558Z] Removing intermediate container 9d3ee4fb46f1 [2021-12-15T15:43:15.558Z] ---> c31249856601 [2021-12-15T15:43:15.558Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-12-15T15:43:15.558Z] ---> Running in 4873b45a48ed [2021-12-15T15:43:16.985Z] Removing intermediate container 4873b45a48ed [2021-12-15T15:43:16.985Z] ---> df57c3093d83 [2021-12-15T15:43:16.985Z] 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 [2021-12-15T15:43:17.257Z] ---> Running in dac8e99f760d [2021-12-15T15:43:18.230Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-15T15:43:19.200Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-15T15:43:19.476Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-15T15:43:20.068Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-12-15T15:43:20.068Z] (1/7) Installing curl (7.79.1-r0) [2021-12-15T15:43:20.068Z] (2/7) Installing hiredis (1.0.0-r0) [2021-12-15T15:43:20.339Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2021-12-15T15:43:20.339Z] (4/7) Installing libuuid (2.37.2-r0) [2021-12-15T15:43:20.339Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-12-15T15:43:21.307Z] (6/7) Installing libidn2 (2.3.1-r0) [2021-12-15T15:43:21.579Z] (7/7) Installing wget (1.21.1-r1) [2021-12-15T15:43:21.579Z] Executing busybox-1.33.1-r3.trigger [2021-12-15T15:43:21.579Z] OK: 276 MiB in 84 packages [2021-12-15T15:43:22.557Z] Removing intermediate container dac8e99f760d [2021-12-15T15:43:22.557Z] ---> a5275579d8e7 [2021-12-15T15:43:22.557Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-12-15T15:43:23.530Z] ---> 9e2d0da40f03 [2021-12-15T15:43:23.530Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-12-15T15:43:23.812Z] ---> 88ac1f6e8a0e [2021-12-15T15:43:23.812Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-12-15T15:43:24.786Z] ---> dc67b939c6a5 [2021-12-15T15:43:24.786Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-12-15T15:43:25.057Z] ---> 57dd8c77fe51 [2021-12-15T15:43:25.327Z] Successfully built 57dd8c77fe51 [2021-12-15T15:43:25.327Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-15T15:43:25.818Z] + docker inspect -f . ci-base-image-arm64 [2021-12-15T15:43:25.818Z] . [Pipeline] withDockerContainer [2021-12-15T15:43:26.047Z] prd-ubuntu18.04-docker-arm64-4c-16g-916 does not seem to be running inside a container [2021-12-15T15:43:26.125Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/15 -v /w/workspace/device-sdk-c/15:/w/workspace/device-sdk-c/15:rw,z -v /w/workspace/device-sdk-c/15@tmp:/w/workspace/device-sdk-c/15@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 ******** ci-base-image-arm64 cat [2021-12-15T15:43:27.471Z] $ docker top 4c04a9b5419e03f1901fcb5f4d30f25c318d76a807f63184094b3bd9e7bbf75b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-15T15:43:28.358Z] + make test [2021-12-15T15:43:28.358Z] echo "make test" [2021-12-15T15:43:28.358Z] make test [Pipeline] } [2021-12-15T15:43:28.378Z] $ docker stop --time=1 4c04a9b5419e03f1901fcb5f4d30f25c318d76a807f63184094b3bd9e7bbf75b [2021-12-15T15:43:30.027Z] $ docker rm -f 4c04a9b5419e03f1901fcb5f4d30f25c318d76a807f63184094b3bd9e7bbf75b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-15T15:43:30.682Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-15T15:43:31.016Z] + ls -al . [2021-12-15T15:43:31.016Z] total 200 [2021-12-15T15:43:31.016Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 15:40 . [2021-12-15T15:43:31.016Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 15:40 .. [2021-12-15T15:43:31.016Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 15:40 .git [2021-12-15T15:43:31.016Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 15:40 .github [2021-12-15T15:43:31.016Z] -rw-rw-r-- 1 jenkins jenkins 176 Dec 15 15:40 .gitignore [2021-12-15T15:43:31.016Z] -rw-rw-r-- 1 jenkins jenkins 3104 Dec 15 15:40 Attribution.txt [2021-12-15T15:43:31.016Z] -rw-rw-r-- 1 jenkins jenkins 7880 Dec 15 15:40 CHANGES [2021-12-15T15:43:31.016Z] -rw-rw-r-- 1 jenkins jenkins 108574 Dec 15 15:40 Doxyfile [2021-12-15T15:43:31.016Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 15:40 GOVERNANCE.md [2021-12-15T15:43:31.016Z] -rw-rw-r-- 1 jenkins jenkins 784 Dec 15 15:40 Jenkinsfile [2021-12-15T15:43:31.017Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 15 15:40 LICENSE [2021-12-15T15:43:31.017Z] -rw-rw-r-- 1 jenkins jenkins 444 Dec 15 15:40 Makefile [2021-12-15T15:43:31.017Z] -rw-rw-r-- 1 jenkins jenkins 618 Dec 15 15:40 OWNERS.md [2021-12-15T15:43:31.017Z] -rw-rw-r-- 1 jenkins jenkins 4086 Dec 15 15:40 README.md [2021-12-15T15:43:31.017Z] -rw-rw-r-- 1 jenkins jenkins 7422 Dec 15 15:40 README.v2.md [2021-12-15T15:43:31.017Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 15 15:38 VERSION [2021-12-15T15:43:31.017Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 15:40 docs [2021-12-15T15:43:31.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 15:40 include [2021-12-15T15:43:31.017Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 15:40 scripts [2021-12-15T15:43:31.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 15:40 src [Pipeline] isUnix [Pipeline] sh [2021-12-15T15:43:31.355Z] + 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=739477acbf421f4c8ab997665c0daf1f91507244 --label arch=arm64 --label version=2.2.0-dev.1 . [2021-12-15T15:43:31.626Z] Sending build context to Docker daemon 2.724MB [2021-12-15T15:43:31.626Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-12-15T15:43:31.626Z] Step 2/17 : FROM ${BASE} [2021-12-15T15:43:31.626Z] ---> 57dd8c77fe51 [2021-12-15T15:43:31.626Z] Step 3/17 : LABEL maintainer="IOTech " [2021-12-15T15:43:31.897Z] ---> Running in 1f795eb6f0f7 [2021-12-15T15:43:32.168Z] Removing intermediate container 1f795eb6f0f7 [2021-12-15T15:43:32.168Z] ---> 50439f163640 [2021-12-15T15:43:32.168Z] 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 [2021-12-15T15:43:32.438Z] ---> Running in c1c5601a3c5b [2021-12-15T15:43:33.405Z] --2021-12-15 15:43:33-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-12-15T15:43:33.405Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.74.239.58, 34.243.182.113, 54.170.66.44, ... [2021-12-15T15:43:33.405Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.74.239.58|:443... connected. [2021-12-15T15:43:33.674Z] HTTP request sent, awaiting response... 200 OK [2021-12-15T15:43:33.674Z] Length: unspecified [application/json] [2021-12-15T15:43:33.674Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-12-15T15:43:33.674Z]  [2021-12-15T15:43:33.674Z] 0K   46.1M=0s [2021-12-15T15:43:33.674Z] [2021-12-15T15:43:33.674Z] 2021-12-15 15:43:33 (46.1 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-12-15T15:43:33.674Z] [2021-12-15T15:43:34.654Z] Removing intermediate container c1c5601a3c5b [2021-12-15T15:43:34.654Z] ---> 0335ab06082d [2021-12-15T15:43:34.654Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-12-15T15:43:34.654Z] ---> Running in cb522bb18a48 [2021-12-15T15:43:36.618Z] Removing intermediate container cb522bb18a48 [2021-12-15T15:43:36.618Z] ---> f16ad5bad24c [2021-12-15T15:43:36.618Z] 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 [2021-12-15T15:43:36.618Z] ---> Running in ee06be2b023c [2021-12-15T15:43:37.589Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-15T15:43:38.176Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-15T15:43:38.767Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-15T15:43:39.358Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-12-15T15:43:39.358Z] (1/21) Installing ncurses-dev (6.2_p20210612-r0) [2021-12-15T15:43:39.358Z] (2/21) Installing libblkid (2.37.2-r0) [2021-12-15T15:43:39.626Z] (3/21) Installing blkid (2.37.2-r0) [2021-12-15T15:43:39.626Z] (4/21) Installing libcap-ng (0.8.2-r0) [2021-12-15T15:43:39.626Z] (5/21) Installing setpriv (2.37.2-r0) [2021-12-15T15:43:39.895Z] (6/21) Installing libmount (2.37.2-r0) [2021-12-15T15:43:39.895Z] (7/21) Installing libsmartcols (2.37.2-r0) [2021-12-15T15:43:39.895Z] (8/21) Installing findmnt (2.37.2-r0) [2021-12-15T15:43:40.165Z] (9/21) Installing mcookie (2.37.2-r0) [2021-12-15T15:43:40.165Z] (10/21) Installing hexdump (2.37.2-r0) [2021-12-15T15:43:40.165Z] (11/21) Installing lsblk (2.37.2-r0) [2021-12-15T15:43:40.435Z] (12/21) Installing libfdisk (2.37.2-r0) [2021-12-15T15:43:40.435Z] (13/21) Installing sfdisk (2.37.2-r0) [2021-12-15T15:43:40.435Z] (14/21) Installing cfdisk (2.37.2-r0) [2021-12-15T15:43:40.706Z] (15/21) Installing partx (2.37.2-r0) [2021-12-15T15:43:40.706Z] (16/21) Installing flock (2.37.2-r0) [2021-12-15T15:43:40.706Z] (17/21) Installing logger (2.37.2-r0) [2021-12-15T15:43:40.976Z] (18/21) Installing uuidgen (2.37.2-r0) [2021-12-15T15:43:40.976Z] (19/21) Installing libeconf (0.3.8-r1) [2021-12-15T15:43:40.976Z] (20/21) Installing util-linux (2.37.2-r0) [2021-12-15T15:43:41.246Z] (21/21) Installing util-linux-dev (2.37.2-r0) [2021-12-15T15:43:41.516Z] Executing busybox-1.33.1-r3.trigger [2021-12-15T15:43:41.516Z] OK: 286 MiB in 105 packages [2021-12-15T15:43:42.939Z] Removing intermediate container ee06be2b023c [2021-12-15T15:43:42.939Z] ---> b194f2f7cc2d [2021-12-15T15:43:42.939Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-12-15T15:43:43.212Z] ---> 696600bd4d0a [2021-12-15T15:43:43.212Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-12-15T15:43:44.184Z] ---> 5b98973169e6 [2021-12-15T15:43:44.184Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-12-15T15:43:44.777Z] ---> ce721ee2b2c6 [2021-12-15T15:43:44.777Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-12-15T15:43:45.367Z] ---> 5834f19981ee [2021-12-15T15:43:45.367Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-12-15T15:43:45.959Z] ---> 717bd799d96f [2021-12-15T15:43:45.959Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-12-15T15:43:46.552Z] ---> ffe71332b436 [2021-12-15T15:43:46.552Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-12-15T15:43:46.552Z] ---> Running in 848a873aa101 [2021-12-15T15:43:47.143Z] Removing intermediate container 848a873aa101 [2021-12-15T15:43:47.143Z] ---> 2217857908b5 [2021-12-15T15:43:47.143Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-12-15T15:43:47.143Z] ---> Running in d0110389a558 [2021-12-15T15:43:47.413Z] Removing intermediate container d0110389a558 [2021-12-15T15:43:47.413Z] ---> 2d77dd400658 [2021-12-15T15:43:47.413Z] Step 15/17 : LABEL arch=arm64 [2021-12-15T15:43:47.683Z] ---> Running in cb981c052f1e [2021-12-15T15:43:47.954Z] Removing intermediate container cb981c052f1e [2021-12-15T15:43:47.954Z] ---> c6f053063cee [2021-12-15T15:43:47.954Z] Step 16/17 : LABEL git_sha=739477acbf421f4c8ab997665c0daf1f91507244 [2021-12-15T15:43:47.954Z] ---> Running in 9a8488a9af98 [2021-12-15T15:43:48.225Z] Removing intermediate container 9a8488a9af98 [2021-12-15T15:43:48.225Z] ---> 396bc160f616 [2021-12-15T15:43:48.225Z] Step 17/17 : LABEL version=2.2.0-dev.1 [2021-12-15T15:43:48.500Z] ---> Running in 40945837ad27 [2021-12-15T15:43:48.769Z] Removing intermediate container 40945837ad27 [2021-12-15T15:43:48.769Z] ---> f7daebcc8ba9 [2021-12-15T15:43:48.769Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-12-15T15:43:48.769Z] Successfully built f7daebcc8ba9 [2021-12-15T15:43:48.769Z] 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 [2021-12-15T15:43:49.419Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-15T15:43:49.419Z] [2021-12-15T15:43:49.419Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-15T15:43:49.759Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-15T15:43:50.030Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-15T15:43:50.030Z] 448f6bf000e3: Pulling fs layer [2021-12-15T15:43:50.030Z] f757da607395: Pulling fs layer [2021-12-15T15:43:50.030Z] 05883995daec: Pulling fs layer [2021-12-15T15:43:50.030Z] 8603b9c90790: Pulling fs layer [2021-12-15T15:43:50.030Z] 1560dd03e051: Pulling fs layer [2021-12-15T15:43:50.031Z] 27f5ce0e4adf: Pulling fs layer [2021-12-15T15:43:50.031Z] c2d8d7efcc4b: Pulling fs layer [2021-12-15T15:43:50.031Z] 8603b9c90790: Waiting [2021-12-15T15:43:50.031Z] 1560dd03e051: Waiting [2021-12-15T15:43:50.031Z] 27f5ce0e4adf: Waiting [2021-12-15T15:43:50.031Z] c2d8d7efcc4b: Waiting [2021-12-15T15:43:50.031Z] f757da607395: Verifying Checksum [2021-12-15T15:43:50.031Z] f757da607395: Download complete [2021-12-15T15:43:50.031Z] 8603b9c90790: Verifying Checksum [2021-12-15T15:43:50.031Z] 8603b9c90790: Download complete [2021-12-15T15:43:50.301Z] 1560dd03e051: Verifying Checksum [2021-12-15T15:43:50.301Z] 1560dd03e051: Download complete [2021-12-15T15:43:50.301Z] 27f5ce0e4adf: Verifying Checksum [2021-12-15T15:43:50.301Z] 27f5ce0e4adf: Download complete [2021-12-15T15:43:50.301Z] 05883995daec: Verifying Checksum [2021-12-15T15:43:50.301Z] 05883995daec: Download complete [2021-12-15T15:43:50.573Z] 448f6bf000e3: Verifying Checksum [2021-12-15T15:43:50.573Z] 448f6bf000e3: Download complete [2021-12-15T15:43:53.178Z] c2d8d7efcc4b: Verifying Checksum [2021-12-15T15:43:53.178Z] c2d8d7efcc4b: Download complete [2021-12-15T15:43:54.156Z] 448f6bf000e3: Pull complete [2021-12-15T15:43:54.750Z] f757da607395: Pull complete [2021-12-15T15:43:56.178Z] 05883995daec: Pull complete [2021-12-15T15:43:56.449Z] 8603b9c90790: Pull complete [2021-12-15T15:43:57.428Z] 1560dd03e051: Pull complete [2021-12-15T15:43:57.428Z] 27f5ce0e4adf: Pull complete [2021-12-15T15:44:12.471Z] c2d8d7efcc4b: Pull complete [2021-12-15T15:44:12.471Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-15T15:44:12.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-15T15:44:12.471Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-15T15:44:12.704Z] prd-ubuntu18.04-docker-arm64-4c-16g-916 does not seem to be running inside a container [2021-12-15T15:44:12.815Z] $ 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/15 -v /w/workspace/device-sdk-c/15:/w/workspace/device-sdk-c/15:rw,z -v /w/workspace/device-sdk-c/15@tmp:/w/workspace/device-sdk-c/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-12-15T15:44:15.478Z] $ docker top 0b8d46422023d7d5b4d2eb4000359e83611e0dc99c761ea8f7465975077ec14c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-15T15:44:16.410Z] ---> job-cost.sh [2021-12-15T15:44:16.410Z] lf-activate-venv: SKIPPING [2021-12-15T15:44:16.410Z] INFO: No Stack... [2021-12-15T15:44:16.682Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-15T15:44:16.953Z] INFO: Archiving Costs [Pipeline] sh [2021-12-15T15:44:17.625Z] + cat /w/workspace/device-sdk-c/15/archives/cost.csv [2021-12-15T15:44:17.625Z] + cut -d, -f6 [Pipeline] lock [2021-12-15T15:44:17.690Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-15-stack-cost] [2021-12-15T15:44:17.696Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-15-stack-cost] did not exist. Created. [2021-12-15T15:44:17.696Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-15T15:44:18.358Z] /w/workspace/device-sdk-c/15@tmp/durable-ce94d250/script.sh: 1: /w/workspace/device-sdk-c/15@tmp/durable-ce94d250/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-15T15:44:19.024Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-15T15:44:19.051Z] Warning: overwriting stash ‘stack-cost’ [2021-12-15T15:44:19.498Z] Stashed 1 file(s) [Pipeline] } [2021-12-15T15:44:19.507Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-15-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-15T15:44:19.525Z] $ docker stop --time=1 0b8d46422023d7d5b4d2eb4000359e83611e0dc99c761ea8f7465975077ec14c [2021-12-15T15:44:21.024Z] $ docker rm -f 0b8d46422023d7d5b4d2eb4000359e83611e0dc99c761ea8f7465975077ec14c [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2021-12-15T15:44:21.956Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-15T15:44:21.956Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-15T15:44:22.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-15T15:44:22.259Z] . [Pipeline] withDockerContainer [2021-12-15T15:44:22.317Z] prd-centos7-docker-4c-2g-915 does not seem to be running inside a container [2021-12-15T15:44:22.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-15T15:44:22.707Z] $ docker top 8e3d0b160e3aed0145c6297bc52c65454debb1e9feed6899c22e6acbc7181e24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-15T15:44:22.797Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-15T15:44:22.797Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-15T15:44:22.894Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-15T15:44:22.895Z] $ docker exec 8e3d0b160e3aed0145c6297bc52c65454debb1e9feed6899c22e6acbc7181e24 ssh-agent [2021-12-15T15:44:22.995Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXONpJOg/agent.14 [2021-12-15T15:44:22.995Z] SSH_AGENT_PID=20 [2021-12-15T15:44:23.001Z] Running ssh-add (command line suppressed) [2021-12-15T15:44:23.090Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7335004344077083655.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7335004344077083655.key) [2021-12-15T15:44:23.101Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-15T15:44:23.399Z] + git semver tag [2021-12-15T15:44:23.399Z] # -> Open(): unable to determine branch for HEAD [2021-12-15T15:44:23.399Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2021-12-15T15:44:23.399Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2021-12-15T15:44:23.399Z] # $SEMVER_REMOTE_NAME = origin [2021-12-15T15:44:23.399Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-15T15:44:23.399Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-15T15:44:23.399Z] # $SEMVER_BRANCH = main [2021-12-15T15:44:23.399Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2021-12-15T15:44:23.399Z] # 739477acbf421f4c8ab997665c0daf1f91507244 HEAD [2021-12-15T15:44:23.399Z] # -> Force: false [2021-12-15T15:44:23.399Z] # 3bd8419bf502ec549a1a309f350746f3826984a9 refs/tags/v2.2.0-dev.1 [Pipeline] } [2021-12-15T15:44:23.408Z] $ docker exec --env ******** --env ******** 8e3d0b160e3aed0145c6297bc52c65454debb1e9feed6899c22e6acbc7181e24 ssh-agent -k [2021-12-15T15:44:23.496Z] unset SSH_AUTH_SOCK; [2021-12-15T15:44:23.496Z] unset SSH_AGENT_PID; [2021-12-15T15:44:23.497Z] echo Agent pid 20 killed; [2021-12-15T15:44:23.507Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-15T15:44:23.818Z] + git semver [Pipeline] } [2021-12-15T15:44:23.836Z] $ docker stop --time=1 8e3d0b160e3aed0145c6297bc52c65454debb1e9feed6899c22e6acbc7181e24 [2021-12-15T15:44:25.022Z] $ docker rm -f 8e3d0b160e3aed0145c6297bc52c65454debb1e9feed6899c22e6acbc7181e24 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-12-15T15:44:25.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-15T15:44:25.431Z] [2021-12-15T15:44:25.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-12-15T15:44:25.741Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-15T15:44:25.741Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-12-15T15:44:25.741Z] ab5ef0e58194: Pulling fs layer [2021-12-15T15:44:25.741Z] 9712f1f96733: Pulling fs layer [2021-12-15T15:44:25.741Z] 63f879dbbcfc: Pulling fs layer [2021-12-15T15:44:25.741Z] 0d9ebad4ef96: Pulling fs layer [2021-12-15T15:44:25.741Z] e9a5061849ea: Pulling fs layer [2021-12-15T15:44:25.741Z] d747dcd14b5f: Pulling fs layer [2021-12-15T15:44:25.741Z] 2de7ff778b66: Pulling fs layer [2021-12-15T15:44:25.741Z] 0d9ebad4ef96: Waiting [2021-12-15T15:44:25.741Z] e9a5061849ea: Waiting [2021-12-15T15:44:25.741Z] d747dcd14b5f: Waiting [2021-12-15T15:44:25.741Z] 2de7ff778b66: Waiting [2021-12-15T15:44:25.741Z] 9712f1f96733: Verifying Checksum [2021-12-15T15:44:25.741Z] 9712f1f96733: Download complete [2021-12-15T15:44:26.027Z] 63f879dbbcfc: Verifying Checksum [2021-12-15T15:44:26.027Z] 63f879dbbcfc: Download complete [2021-12-15T15:44:26.298Z] ab5ef0e58194: Verifying Checksum [2021-12-15T15:44:26.298Z] ab5ef0e58194: Download complete [2021-12-15T15:44:26.298Z] d747dcd14b5f: Verifying Checksum [2021-12-15T15:44:26.298Z] d747dcd14b5f: Download complete [2021-12-15T15:44:26.298Z] 0d9ebad4ef96: Verifying Checksum [2021-12-15T15:44:26.298Z] 0d9ebad4ef96: Download complete [2021-12-15T15:44:26.298Z] e9a5061849ea: Verifying Checksum [2021-12-15T15:44:26.298Z] e9a5061849ea: Download complete [2021-12-15T15:44:26.298Z] 2de7ff778b66: Verifying Checksum [2021-12-15T15:44:26.298Z] 2de7ff778b66: Download complete [2021-12-15T15:44:29.624Z] ab5ef0e58194: Pull complete [2021-12-15T15:44:29.624Z] 9712f1f96733: Pull complete [2021-12-15T15:44:29.890Z] 63f879dbbcfc: Pull complete [2021-12-15T15:44:34.106Z] 0d9ebad4ef96: Pull complete [2021-12-15T15:44:34.106Z] e9a5061849ea: Pull complete [2021-12-15T15:44:34.106Z] d747dcd14b5f: Pull complete [2021-12-15T15:44:35.508Z] 2de7ff778b66: Pull complete [2021-12-15T15:44:35.508Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-12-15T15:44:35.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-15T15:44:35.508Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-12-15T15:44:35.574Z] prd-centos7-docker-4c-2g-915 does not seem to be running inside a container [2021-12-15T15:44:35.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-12-15T15:44:38.635Z] $ docker top f5501065f12707db0aaa5f2f75a1c0e0f8c2c5e7dd2bb693f2c184af8ece1e00 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-12-15T15:44:38.713Z] provisioning config files... [2021-12-15T15:44:38.724Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7189251501840632577tmp [2021-12-15T15:44:38.733Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8085603894542124201tmp [2021-12-15T15:44:38.744Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2536389238106147012tmp [Pipeline] { [Pipeline] echo [2021-12-15T15:44:38.758Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-15T15:44:39.059Z] ---> sigul-configuration.sh [2021-12-15T15:44:39.059Z] gpg: directory `/root/.gnupg' created [2021-12-15T15:44:39.059Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-12-15T15:44:39.059Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-12-15T15:44:39.059Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-12-15T15:44:39.059Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-12-15T15:44:39.059Z] gpg: CAST5 encrypted data [2021-12-15T15:44:39.059Z] gpg: encrypted with 1 passphrase [2021-12-15T15:44:39.059Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-12-15T15:44:39.347Z] + mkdir /home/jenkins [2021-12-15T15:44:39.347Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-12-15T15:44:39.635Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-12-15T15:44:39.643Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-15T15:44:39.930Z] ---> sigul-install.sh [2021-12-15T15:44:39.930Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-12-15T15:44:40.230Z] + git tag --list [2021-12-15T15:44:40.230Z] 0.7.0 [2021-12-15T15:44:40.230Z] 0.7.1 [2021-12-15T15:44:40.230Z] 1.0.0 [2021-12-15T15:44:40.230Z] v1.0.1 [2021-12-15T15:44:40.230Z] v1.0.2 [2021-12-15T15:44:40.230Z] v1.0.3 [2021-12-15T15:44:40.230Z] v1.1.0 [2021-12-15T15:44:40.230Z] v1.1.1 [2021-12-15T15:44:40.230Z] v1.2.0 [2021-12-15T15:44:40.230Z] v1.2.1 [2021-12-15T15:44:40.230Z] v1.2.2 [2021-12-15T15:44:40.230Z] v1.3.0 [2021-12-15T15:44:40.230Z] v1.3.1 [2021-12-15T15:44:40.230Z] v2.0.0 [2021-12-15T15:44:40.230Z] v2.0.1-dev.1 [2021-12-15T15:44:40.230Z] v2.0.1-dev.10 [2021-12-15T15:44:40.230Z] v2.0.1-dev.11 [2021-12-15T15:44:40.230Z] v2.0.1-dev.12 [2021-12-15T15:44:40.230Z] v2.0.1-dev.13 [2021-12-15T15:44:40.230Z] v2.0.1-dev.2 [2021-12-15T15:44:40.230Z] v2.0.1-dev.3 [2021-12-15T15:44:40.230Z] v2.0.1-dev.4 [2021-12-15T15:44:40.230Z] v2.0.1-dev.5 [2021-12-15T15:44:40.230Z] v2.0.1-dev.6 [2021-12-15T15:44:40.230Z] v2.0.1-dev.7 [2021-12-15T15:44:40.230Z] v2.0.1-dev.8 [2021-12-15T15:44:40.230Z] v2.0.1-dev.9 [2021-12-15T15:44:40.230Z] v2.1.0 [2021-12-15T15:44:40.230Z] v2.2.0-dev.1 [Pipeline] sh [2021-12-15T15:44:40.522Z] + lftools sign git-tag v2.2.0-dev.1 [2021-12-15T15:44:41.093Z] Signing Git tag with Sigul... [2021-12-15T15:44:41.093Z] Signing v2.2.0-dev.1 [Pipeline] echo [2021-12-15T15:44:42.044Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-15T15:44:42.329Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-12-15T15:44:42.338Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-12-15T15:44:42.355Z] $ docker stop --time=1 f5501065f12707db0aaa5f2f75a1c0e0f8c2c5e7dd2bb693f2c184af8ece1e00 [2021-12-15T15:44:43.546Z] $ docker rm -f f5501065f12707db0aaa5f2f75a1c0e0f8c2c5e7dd2bb693f2c184af8ece1e00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2021-12-15T15:44:44.150Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-15T15:44:44.150Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-15T15:44:44.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-15T15:44:44.450Z] . [Pipeline] withDockerContainer [2021-12-15T15:44:44.513Z] prd-centos7-docker-4c-2g-915 does not seem to be running inside a container [2021-12-15T15:44:44.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-15T15:44:44.896Z] $ docker top 1976a538f9ec7932e0680e34e2bb7d3b03cb1ec7ff63e14e89a1b5e77f4071d3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-15T15:44:44.990Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-15T15:44:44.990Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-15T15:44:45.091Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-15T15:44:45.093Z] $ docker exec 1976a538f9ec7932e0680e34e2bb7d3b03cb1ec7ff63e14e89a1b5e77f4071d3 ssh-agent [2021-12-15T15:44:45.187Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGCnLHo/agent.14 [2021-12-15T15:44:45.187Z] SSH_AGENT_PID=20 [2021-12-15T15:44:45.192Z] Running ssh-add (command line suppressed) [2021-12-15T15:44:45.276Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3724907622593181104.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3724907622593181104.key) [2021-12-15T15:44:45.290Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-15T15:44:45.590Z] + git semver bump pre [2021-12-15T15:44:45.590Z] # -> Open(): unable to determine branch for HEAD [2021-12-15T15:44:45.590Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2021-12-15T15:44:45.590Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2021-12-15T15:44:45.590Z] # $SEMVER_REMOTE_NAME = origin [2021-12-15T15:44:45.590Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-15T15:44:45.590Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-15T15:44:45.590Z] # $SEMVER_BRANCH = main [2021-12-15T15:44:45.590Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2021-12-15T15:44:45.590Z] 2.2.0-dev.2 [Pipeline] } [2021-12-15T15:44:45.599Z] $ docker exec --env ******** --env ******** 1976a538f9ec7932e0680e34e2bb7d3b03cb1ec7ff63e14e89a1b5e77f4071d3 ssh-agent -k [2021-12-15T15:44:45.709Z] unset SSH_AUTH_SOCK; [2021-12-15T15:44:45.710Z] unset SSH_AGENT_PID; [2021-12-15T15:44:45.710Z] echo Agent pid 20 killed; [2021-12-15T15:44:45.718Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-15T15:44:46.030Z] + git semver [Pipeline] } [2021-12-15T15:44:46.043Z] $ docker stop --time=1 1976a538f9ec7932e0680e34e2bb7d3b03cb1ec7ff63e14e89a1b5e77f4071d3 [2021-12-15T15:44:47.224Z] $ docker rm -f 1976a538f9ec7932e0680e34e2bb7d3b03cb1ec7ff63e14e89a1b5e77f4071d3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-15T15:44:47.578Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-15T15:44:47.578Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-15T15:44:47.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-15T15:44:47.892Z] . [Pipeline] withDockerContainer [2021-12-15T15:44:47.960Z] prd-centos7-docker-4c-2g-915 does not seem to be running inside a container [2021-12-15T15:44:47.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-15T15:44:48.368Z] $ docker top 5dd4e78da99af4bed4da6959a943422140a8142df1c1da0a305ed5e3cf6fafa5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-15T15:44:48.467Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-15T15:44:48.467Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-15T15:44:48.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-15T15:44:48.567Z] $ docker exec 5dd4e78da99af4bed4da6959a943422140a8142df1c1da0a305ed5e3cf6fafa5 ssh-agent [2021-12-15T15:44:48.665Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXabCmbk/agent.13 [2021-12-15T15:44:48.665Z] SSH_AGENT_PID=19 [2021-12-15T15:44:48.671Z] Running ssh-add (command line suppressed) [2021-12-15T15:44:48.764Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6127420740064197979.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6127420740064197979.key) [2021-12-15T15:44:48.778Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-15T15:44:49.074Z] + git semver push [2021-12-15T15:44:49.074Z] # -> Open(): unable to determine branch for HEAD [2021-12-15T15:44:49.074Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2021-12-15T15:44:49.074Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2021-12-15T15:44:49.074Z] # $SEMVER_REMOTE_NAME = origin [2021-12-15T15:44:49.074Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-15T15:44:49.074Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-15T15:44:49.074Z] # $SEMVER_BRANCH = main [2021-12-15T15:44:49.074Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } [2021-12-15T15:44:50.998Z] $ docker exec --env ******** --env ******** 5dd4e78da99af4bed4da6959a943422140a8142df1c1da0a305ed5e3cf6fafa5 ssh-agent -k [2021-12-15T15:44:51.085Z] unset SSH_AUTH_SOCK; [2021-12-15T15:44:51.085Z] unset SSH_AGENT_PID; [2021-12-15T15:44:51.085Z] echo Agent pid 19 killed; [2021-12-15T15:44:51.095Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-15T15:44:51.406Z] + git semver [Pipeline] } [2021-12-15T15:44:51.419Z] $ docker stop --time=1 5dd4e78da99af4bed4da6959a943422140a8142df1c1da0a305ed5e3cf6fafa5 [2021-12-15T15:44:52.607Z] $ docker rm -f 5dd4e78da99af4bed4da6959a943422140a8142df1c1da0a305ed5e3cf6fafa5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-12-15T15:44:53.507Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-15T15:44:53.803Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-15T15:44:54.357Z] ---> package-listing.sh [2021-12-15T15:44:54.357Z] ++ facter osfamily [2021-12-15T15:44:54.357Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-15T15:44:54.616Z] + OS_FAMILY=redhat [2021-12-15T15:44:54.616Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2021-12-15T15:44:54.616Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-15T15:44:54.616Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-15T15:44:54.616Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-15T15:44:54.616Z] + PACKAGES=/tmp/packages_start.txt [2021-12-15T15:44:54.616Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2021-12-15T15:44:54.616Z] + PACKAGES=/tmp/packages_end.txt [2021-12-15T15:44:54.616Z] + case "${OS_FAMILY}" in [2021-12-15T15:44:54.616Z] + rpm -qa [2021-12-15T15:44:54.616Z] + sort [2021-12-15T15:44:55.186Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-15T15:44:55.186Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-15T15:44:55.186Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-15T15:44:55.186Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2021-12-15T15:44:55.186Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2021-12-15T15:44:55.186Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2021-12-15T15:44:55.197Z] 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-12-15T15:44:55.479Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-15T15:44:56.041Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-15T15:44:56.042Z] [2021-12-15T15:44:56.042Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-15T15:44:56.346Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-15T15:44:56.346Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-15T15:44:56.346Z] b4d181a07f80: Pulling fs layer [2021-12-15T15:44:56.346Z] a1111a8f2ec3: Pulling fs layer [2021-12-15T15:44:56.346Z] ed53099fbce6: Pulling fs layer [2021-12-15T15:44:56.346Z] dc539afda2c1: Pulling fs layer [2021-12-15T15:44:56.346Z] 77bc0d833cb6: Pulling fs layer [2021-12-15T15:44:56.346Z] 9065ff56babe: Pulling fs layer [2021-12-15T15:44:56.346Z] d287ab97295c: Pulling fs layer [2021-12-15T15:44:56.346Z] 77bc0d833cb6: Waiting [2021-12-15T15:44:56.346Z] 9065ff56babe: Waiting [2021-12-15T15:44:56.346Z] d287ab97295c: Waiting [2021-12-15T15:44:56.346Z] dc539afda2c1: Waiting [2021-12-15T15:44:56.346Z] a1111a8f2ec3: Verifying Checksum [2021-12-15T15:44:56.346Z] a1111a8f2ec3: Download complete [2021-12-15T15:44:56.346Z] dc539afda2c1: Verifying Checksum [2021-12-15T15:44:56.346Z] dc539afda2c1: Download complete [2021-12-15T15:44:56.346Z] ed53099fbce6: Verifying Checksum [2021-12-15T15:44:56.346Z] ed53099fbce6: Download complete [2021-12-15T15:44:56.346Z] 9065ff56babe: Verifying Checksum [2021-12-15T15:44:56.346Z] 9065ff56babe: Download complete [2021-12-15T15:44:56.609Z] 77bc0d833cb6: Verifying Checksum [2021-12-15T15:44:56.609Z] 77bc0d833cb6: Download complete [2021-12-15T15:44:56.609Z] b4d181a07f80: Verifying Checksum [2021-12-15T15:44:56.609Z] b4d181a07f80: Download complete [2021-12-15T15:44:57.197Z] d287ab97295c: Verifying Checksum [2021-12-15T15:44:57.197Z] d287ab97295c: Download complete [2021-12-15T15:44:57.781Z] b4d181a07f80: Pull complete [2021-12-15T15:44:58.051Z] a1111a8f2ec3: Pull complete [2021-12-15T15:44:58.622Z] ed53099fbce6: Pull complete [2021-12-15T15:44:58.622Z] dc539afda2c1: Pull complete [2021-12-15T15:44:58.882Z] 77bc0d833cb6: Pull complete [2021-12-15T15:44:59.150Z] 9065ff56babe: Pull complete [2021-12-15T15:45:04.478Z] d287ab97295c: Pull complete [2021-12-15T15:45:04.478Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-15T15:45:04.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-15T15:45:04.478Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-15T15:45:04.539Z] prd-centos7-docker-4c-2g-915 does not seem to be running inside a container [2021-12-15T15:45:04.569Z] $ 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_main/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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-15T15:45:06.399Z] $ docker top 7292769429fcd64cfd0962f0f74137c72c440c1facdfedfa6cb1dc3a03d7acc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-15T15:45:06.760Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-15T15:45:07.061Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-15T15:45:07.347Z] + ls /var/log/sa-host [2021-12-15T15:45:07.347Z] + sadf -c /var/log/sa-host/sa15 [2021-12-15T15:45:07.347Z] file_magic: OK [2021-12-15T15:45:07.347Z] HZ: Using current value: 100 [2021-12-15T15:45:07.347Z] file_header: OK [2021-12-15T15:45:07.347Z] 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 [2021-12-15T15:45:07.347Z] Statistics: [2021-12-15T15:45:07.347Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-15T15:45:07.347Z] File successfully converted to sysstat format version 12.0.3 [2021-12-15T15:45:07.347Z] + sadf -c /var/log/sa-host/sa17 [2021-12-15T15:45:07.347Z] file_magic: OK [2021-12-15T15:45:07.347Z] HZ: Using current value: 100 [2021-12-15T15:45:07.347Z] file_header: OK [2021-12-15T15:45:07.347Z] 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 [2021-12-15T15:45:07.347Z] Statistics: [2021-12-15T15:45:07.347Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-15T15:45:07.347Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-15T15:45:07.559Z] provisioning config files... [2021-12-15T15:45:07.573Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8140462213763019250tmp [Pipeline] { [Pipeline] echo [2021-12-15T15:45:07.589Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-15T15:45:07.874Z] ---> create-netrc.sh [Pipeline] } [2021-12-15T15:45:07.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-15T15:45:08.211Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-15T15:45:08.222Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-15T15:45:08.509Z] ---> sudo-logs.sh [2021-12-15T15:45:08.509Z] Archiving 'sudo' log.. [2021-12-15T15:45:08.509Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-915.novalocal: Name or service not known [2021-12-15T15:45:08.509Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-915.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-15T15:45:08.530Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-15T15:45:08.816Z] ---> job-cost.sh [2021-12-15T15:45:08.816Z] lf-activate-venv: SKIPPING [2021-12-15T15:45:08.816Z] DEBUG: total: 0.10999999940395355 [2021-12-15T15:45:08.816Z] INFO: Retrieving Stack Cost... [2021-12-15T15:45:09.755Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-15T15:45:10.016Z] INFO: Archiving Costs [Pipeline] echo [2021-12-15T15:45:10.031Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-15T15:45:10.331Z] ---> logs-deploy.sh [2021-12-15T15:45:10.331Z] lf-activate-venv: SKIPPING [2021-12-15T15:45:10.331Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/15 [2021-12-15T15:45:10.331Z] INFO: archiving workspace using pattern(s): [2021-12-15T15:45:10.904Z] Archives upload complete. [2021-12-15T15:45:11.164Z] INFO: archiving logs to Nexus