Pull request #390 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 9c093d915178364b5ad4a5f89c558c84b05f4943 rather than dc8742ecb02bdc9fb61c4decdcfae028f2de6039 Obtained Jenkinsfile from 9c093d915178364b5ad4a5f89c558c84b05f4943 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-ssh5081278026799176621.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-ssh5112837144930044086.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-390/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-390/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10199480487251606391.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-390/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3593092730328078484.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh9566190751407394635.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-390/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-390/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11332214961536623372.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-864 in /w/workspace/edgexfoundry_device-sdk-c_PR-390 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-390 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp/jenkins-gitclient-ssh1915417705866271021.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9c093d915178364b5ad4a5f89c558c84b05f4943 into PR head commit dc8742ecb02bdc9fb61c4decdcfae028f2de6039 Merge succeeded, producing dc8742ecb02bdc9fb61c4decdcfae028f2de6039 Checking out Revision dc8742ecb02bdc9fb61c4decdcfae028f2de6039 (PR-390) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp/jenkins-gitclient-ssh5154359329836212295.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/390/head:refs/remotes/origin/PR-390 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc8742ecb02bdc9fb61c4decdcfae028f2de6039 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp/jenkins-gitclient-ssh7090692571988204710.key > git merge 9c093d915178364b5ad4a5f89c558c84b05f4943 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc8742ecb02bdc9fb61c4decdcfae028f2de6039 # timeout=10 Commit message: "docs: update issue templates to include required sections" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-14T20:59:53.867Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-14T20:59:54.018Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-14T20:59:54.093Z] ========================================================= [2021-12-14T20:59:54.093Z] EdgeX Global Pipelines Version Info [2021-12-14T20:59:54.093Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-14T20:59:55.256Z] ------------------- [2021-12-14T20:59:55.256Z] stable info: [2021-12-14T20:59:55.256Z] ------------------- [2021-12-14T20:59:55.256Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-14T20:59:55.256Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-14T20:59:55.256Z] Message: update stable to v1.0.217 [2021-12-14T20:59:55.826Z] ------------------- [2021-12-14T20:59:55.826Z] experimental info: [2021-12-14T20:59:55.826Z] ------------------- [2021-12-14T20:59:55.826Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-14T20:59:55.826Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-14T20:59:55.826Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-14T20:59:56.053Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-12-14T20:59:56.090Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-12-14T20:59:56.126Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-14T20:59:56.193Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-14T20:59:56.248Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-14T20:59:56.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-12-14T20:59:56.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-12-14T20:59:56.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-14T20:59:56.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-14T20:59:56.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-12-14T20:59:56.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-14T20:59:56.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-14T20:59:56.538Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-14T20:59:56.581Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-12-14T20:59:56.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-14T20:59:56.653Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-12-14T20:59:56.691Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-14T20:59:56.733Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-390 [Pipeline] echo [2021-12-14T20:59:56.772Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-390 [Pipeline] echo [2021-12-14T20:59:56.809Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-390 [Pipeline] echo [2021-12-14T20:59:56.845Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [Pipeline] echo [2021-12-14T20:59:56.883Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc8742e [Pipeline] echo [2021-12-14T20:59:56.923Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-14T20:59:57.020Z] provisioning config files... [2021-12-14T20:59:57.032Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp/config7342625248186756304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-14T20:59:57.374Z] ---> docker-login.sh [2021-12-14T20:59:57.374Z] nexus3.edgexfoundry.org:10001 [2021-12-14T20:59:57.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:59:57.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:59:57.634Z] Configure a credential helper to remove this warning. See [2021-12-14T20:59:57.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:59:57.634Z] [2021-12-14T20:59:57.634Z] Login Succeeded [2021-12-14T20:59:57.634Z] nexus3.edgexfoundry.org:10002 [2021-12-14T20:59:57.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:59:57.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:59:57.634Z] Configure a credential helper to remove this warning. See [2021-12-14T20:59:57.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:59:57.634Z] [2021-12-14T20:59:57.634Z] Login Succeeded [2021-12-14T20:59:57.634Z] nexus3.edgexfoundry.org:10003 [2021-12-14T20:59:57.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:59:57.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:59:57.895Z] Configure a credential helper to remove this warning. See [2021-12-14T20:59:57.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:59:57.895Z] [2021-12-14T20:59:57.895Z] Login Succeeded [2021-12-14T20:59:57.895Z] nexus3.edgexfoundry.org:10004 [2021-12-14T20:59:57.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:59:57.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:59:57.895Z] Configure a credential helper to remove this warning. See [2021-12-14T20:59:57.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:59:57.895Z] [2021-12-14T20:59:57.895Z] Login Succeeded [2021-12-14T20:59:57.895Z] docker.io [2021-12-14T20:59:57.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:59:58.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:59:58.470Z] Configure a credential helper to remove this warning. See [2021-12-14T20:59:58.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:59:58.470Z] [2021-12-14T20:59:58.470Z] Login Succeeded [2021-12-14T20:59:58.470Z] ---> docker-login.sh ends [Pipeline] } [2021-12-14T20:59:58.491Z] 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-14T20:59:59.063Z] + git rev-list -1 --merges dc8742ecb02bdc9fb61c4decdcfae028f2de6039~1..dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [Pipeline] echo [2021-12-14T20:59:59.116Z] -----------> git rev-list -1 --merges dc8742ecb02bdc9fb61c4decdcfae028f2de6039~1..dc8742ecb02bdc9fb61c4decdcfae028f2de6039 dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [false] [Pipeline] sh [2021-12-14T20:59:59.433Z] + git log --format=format:%s -1 dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [Pipeline] echo [2021-12-14T20:59:59.467Z] ========================================================= [2021-12-14T20:59:59.467Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-14T20:59:59.467Z] ========================================================= 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-14T21:00:00.330Z] + git rev-list -1 --merges dc8742ecb02bdc9fb61c4decdcfae028f2de6039~1..dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [Pipeline] echo [2021-12-14T21:00:00.362Z] -----------> git rev-list -1 --merges dc8742ecb02bdc9fb61c4decdcfae028f2de6039~1..dc8742ecb02bdc9fb61c4decdcfae028f2de6039 dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [false] [Pipeline] sh [2021-12-14T21:00:00.671Z] + git log --format=format:%s -1 dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [Pipeline] echo [2021-12-14T21:00:00.702Z] ========================================================= [2021-12-14T21:00:00.702Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-14T21:00:00.702Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2021-12-14T21:00:01.179Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-14T21:00:01.179Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-14T21:00:01.179Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-14T21:00:01.179Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-14T21:00:01.179Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-14T21:00:01.179Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-14T21:00:01.179Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-14T21:00:01.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-14T21:00:01.574Z] [2021-12-14T21:00:01.574Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-14T21:00:01.912Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-14T21:00:01.912Z] latest: Pulling from edgex-devops/git-semver [2021-12-14T21:00:01.912Z] a0d0a0d46f8b: Pulling fs layer [2021-12-14T21:00:01.912Z] 3e5f54012d9b: Pulling fs layer [2021-12-14T21:00:01.912Z] 4c7163046ea9: Pulling fs layer [2021-12-14T21:00:01.912Z] 0c2d73faf560: Pulling fs layer [2021-12-14T21:00:01.912Z] 0c2d73faf560: Waiting [2021-12-14T21:00:01.912Z] 3e5f54012d9b: Download complete [2021-12-14T21:00:01.912Z] a0d0a0d46f8b: Verifying Checksum [2021-12-14T21:00:01.912Z] a0d0a0d46f8b: Download complete [2021-12-14T21:00:02.178Z] 0c2d73faf560: Verifying Checksum [2021-12-14T21:00:02.178Z] 0c2d73faf560: Download complete [2021-12-14T21:00:02.178Z] 4c7163046ea9: Verifying Checksum [2021-12-14T21:00:02.178Z] 4c7163046ea9: Download complete [2021-12-14T21:00:02.178Z] a0d0a0d46f8b: Pull complete [2021-12-14T21:00:02.178Z] 3e5f54012d9b: Pull complete [2021-12-14T21:00:02.438Z] 4c7163046ea9: Pull complete [2021-12-14T21:00:02.704Z] 0c2d73faf560: Pull complete [2021-12-14T21:00:02.704Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-14T21:00:02.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-14T21:00:02.705Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-14T21:00:02.794Z] prd-centos7-docker-4c-2g-864 does not seem to be running inside a container [2021-12-14T21:00:02.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-390 -v /w/workspace/edgexfoundry_device-sdk-c_PR-390:/w/workspace/edgexfoundry_device-sdk-c_PR-390:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-14T21:00:03.457Z] $ docker top f32fecd7308a81622377a1e04c4d90ae5507908e29f82ce4a7d65695268b907a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-14T21:00:03.616Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-14T21:00:03.617Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-14T21:00:03.725Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-14T21:00:03.729Z] $ docker exec f32fecd7308a81622377a1e04c4d90ae5507908e29f82ce4a7d65695268b907a ssh-agent [2021-12-14T21:00:03.833Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjkKAbe/agent.13 [2021-12-14T21:00:03.833Z] SSH_AGENT_PID=20 [2021-12-14T21:00:03.841Z] Running ssh-add (command line suppressed) [2021-12-14T21:00:03.935Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp/private_key_2267240530574029122.key (/w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp/private_key_2267240530574029122.key) [2021-12-14T21:00:03.951Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-14T21:00:04.282Z] + git tag --points-at HEAD [Pipeline] } [2021-12-14T21:00:04.300Z] $ docker exec --env ******** --env ******** f32fecd7308a81622377a1e04c4d90ae5507908e29f82ce4a7d65695268b907a ssh-agent -k [2021-12-14T21:00:04.391Z] unset SSH_AUTH_SOCK; [2021-12-14T21:00:04.391Z] unset SSH_AGENT_PID; [2021-12-14T21:00:04.391Z] echo Agent pid 20 killed; [2021-12-14T21:00:04.398Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-14T21:00:04.470Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-14T21:00:04.470Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-14T21:00:04.570Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-14T21:00:04.579Z] $ docker exec f32fecd7308a81622377a1e04c4d90ae5507908e29f82ce4a7d65695268b907a ssh-agent [2021-12-14T21:00:04.686Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcOHFKe/agent.54 [2021-12-14T21:00:04.687Z] SSH_AGENT_PID=60 [2021-12-14T21:00:04.695Z] Running ssh-add (command line suppressed) [2021-12-14T21:00:04.805Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp/private_key_5498451141067168621.key (/w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp/private_key_5498451141067168621.key) [2021-12-14T21:00:04.817Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-14T21:00:05.145Z] + git semver init [2021-12-14T21:00:05.145Z] # -> Open(): unable to determine branch for HEAD [2021-12-14T21:00:05.145Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-390/.git [2021-12-14T21:00:05.145Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-390 [2021-12-14T21:00:05.145Z] # $SEMVER_REMOTE_NAME = origin [2021-12-14T21:00:05.145Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-14T21:00:05.145Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-14T21:00:05.145Z] # $SEMVER_BRANCH = PR-390 [2021-12-14T21:00:05.145Z] # $SEMVER_TEMP = /tmp/semver-734238936 [2021-12-14T21:00:05.145Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-12-14T21:00:06.093Z] # '/tmp/semver-734238936' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-390/.semver' [2021-12-14T21:00:06.093Z] # -> Force: false [2021-12-14T21:00:06.093Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-390/.semver [Pipeline] } [2021-12-14T21:00:06.112Z] $ docker exec --env ******** --env ******** f32fecd7308a81622377a1e04c4d90ae5507908e29f82ce4a7d65695268b907a ssh-agent -k [2021-12-14T21:00:06.196Z] unset SSH_AUTH_SOCK; [2021-12-14T21:00:06.196Z] unset SSH_AGENT_PID; [2021-12-14T21:00:06.196Z] echo Agent pid 60 killed; [2021-12-14T21:00:06.209Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-14T21:00:06.607Z] + git semver [Pipeline] } [2021-12-14T21:00:06.637Z] $ docker stop --time=1 f32fecd7308a81622377a1e04c4d90ae5507908e29f82ce4a7d65695268b907a [2021-12-14T21:00:07.845Z] $ docker rm -f f32fecd7308a81622377a1e04c4d90ae5507908e29f82ce4a7d65695268b907a [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-14T21:00:08.251Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-14T21:00:08.553Z] Stashed 1 file(s) [Pipeline] echo [2021-12-14T21:00:08.572Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-12-14T21:00:23.874Z] Still waiting to schedule task [2021-12-14T21:00:23.875Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-12-14T21:00:23.896Z] Still waiting to schedule task [2021-12-14T21:00:23.896Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-862’ [2021-12-14T21:02:35.297Z] Running on prd-centos7-docker-4c-2g-865 in /w/workspace/edgexfoundry_device-sdk-c_PR-390 [Pipeline] { [Pipeline] ws [2021-12-14T21:02:35.335Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-12-14T21:02:35.443Z] Selected Git installation does not exist. Using Default [2021-12-14T21:02:35.443Z] The recommended git tool is: NONE [2021-12-14T21:02:37.094Z] using credential edgex-jenkins-ssh [2021-12-14T21:02:37.105Z] Cloning the remote Git repository [2021-12-14T21:02:36.819Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-12-14T21:02:36.854Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-12-14T21:02:36.891Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-12-14T21:02:36.891Z] > git --version # timeout=10 [2021-12-14T21:02:36.898Z] > git --version # 'git version 2.24.4' [2021-12-14T21:02:36.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-14T21:02:36.968Z] [INFO] Currently running in a labeled security context [2021-12-14T21:02:36.968Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-14T21:02:36.969Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh2062735682386371064.key [2021-12-14T21:02:36.996Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-14T21:02:38.631Z] Merging remotes/origin/main commit 9c093d915178364b5ad4a5f89c558c84b05f4943 into PR head commit dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [2021-12-14T21:02:38.738Z] Merge succeeded, producing dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [2021-12-14T21:02:38.739Z] Checking out Revision dc8742ecb02bdc9fb61c4decdcfae028f2de6039 (PR-390) [2021-12-14T21:02:37.742Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-12-14T21:02:37.753Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-14T21:02:37.766Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-12-14T21:02:37.783Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-12-14T21:02:37.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-14T21:02:37.784Z] [INFO] Currently running in a labeled security context [2021-12-14T21:02:37.784Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-14T21:02:37.784Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh5147809427170456312.key [2021-12-14T21:02:37.794Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/390/head:refs/remotes/origin/PR-390 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-14T21:02:38.333Z] > git config core.sparsecheckout # timeout=10 [2021-12-14T21:02:38.343Z] > git checkout -f dc8742ecb02bdc9fb61c4decdcfae028f2de6039 # timeout=10 [2021-12-14T21:02:38.377Z] > git remote # timeout=10 [2021-12-14T21:02:38.381Z] > git config --get remote.origin.url # timeout=10 [2021-12-14T21:02:38.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-14T21:02:38.393Z] [INFO] Currently running in a labeled security context [2021-12-14T21:02:38.393Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-14T21:02:38.393Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh6514229381198959898.key [2021-12-14T21:02:38.406Z] > git merge 9c093d915178364b5ad4a5f89c558c84b05f4943 # timeout=10 [2021-12-14T21:02:38.419Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-14T21:02:38.434Z] > git config core.sparsecheckout # timeout=10 [2021-12-14T21:02:38.451Z] > git checkout -f dc8742ecb02bdc9fb61c4decdcfae028f2de6039 # timeout=10 [2021-12-14T21:02:42.264Z] Commit message: "docs: update issue templates to include required sections" [2021-12-14T21:02:41.975Z] > git --version # timeout=10 [2021-12-14T21:02:41.979Z] > git --version # 'git version 2.24.4' [2021-12-14T21:02:41.985Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-14T21:02:42.833Z] provisioning config files... [2021-12-14T21:02:42.850Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config8583017957918987824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:02:43.289Z] ---> docker-login.sh [2021-12-14T21:02:43.289Z] nexus3.edgexfoundry.org:10001 [2021-12-14T21:02:43.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T21:02:43.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T21:02:43.289Z] Configure a credential helper to remove this warning. See [2021-12-14T21:02:43.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T21:02:43.289Z] [2021-12-14T21:02:43.289Z] Login Succeeded [2021-12-14T21:02:43.289Z] nexus3.edgexfoundry.org:10002 [2021-12-14T21:02:43.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T21:02:43.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T21:02:43.553Z] Configure a credential helper to remove this warning. See [2021-12-14T21:02:43.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T21:02:43.553Z] [2021-12-14T21:02:43.553Z] Login Succeeded [2021-12-14T21:02:43.553Z] nexus3.edgexfoundry.org:10003 [2021-12-14T21:02:43.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T21:02:43.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T21:02:43.553Z] Configure a credential helper to remove this warning. See [2021-12-14T21:02:43.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T21:02:43.553Z] [2021-12-14T21:02:43.553Z] Login Succeeded [2021-12-14T21:02:43.553Z] nexus3.edgexfoundry.org:10004 [2021-12-14T21:02:43.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T21:02:43.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T21:02:43.814Z] Configure a credential helper to remove this warning. See [2021-12-14T21:02:43.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T21:02:43.814Z] [2021-12-14T21:02:43.814Z] Login Succeeded [2021-12-14T21:02:43.814Z] docker.io [2021-12-14T21:02:43.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T21:02:44.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T21:02:44.074Z] Configure a credential helper to remove this warning. See [2021-12-14T21:02:44.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T21:02:44.074Z] [2021-12-14T21:02:44.074Z] Login Succeeded [2021-12-14T21:02:44.074Z] ---> docker-login.sh ends [Pipeline] } [2021-12-14T21:02:44.173Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-14T21:02:44.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-14T21:02:44.424Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2021-12-14T21:02:44.455Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-14T21:02:44.489Z] ========================================================= [2021-12-14T21:02:44.489Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-12-14T21:02:44.489Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-14T21:02:44.846Z] + 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-14T21:02:44.846Z] Sending build context to Docker daemon 2.738MB [2021-12-14T21:02:44.846Z] Step 1/24 : ARG BASE=alpine:3.14 [2021-12-14T21:02:44.846Z] Step 2/24 : FROM ${BASE} as builder [2021-12-14T21:02:44.846Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-12-14T21:02:44.846Z] a0d0a0d46f8b: Pulling fs layer [2021-12-14T21:02:44.847Z] 39017ce70367: Pulling fs layer [2021-12-14T21:02:44.847Z] dcf9283bb20a: Pulling fs layer [2021-12-14T21:02:44.847Z] 39017ce70367: Verifying Checksum [2021-12-14T21:02:44.847Z] 39017ce70367: Download complete [2021-12-14T21:02:45.111Z] a0d0a0d46f8b: Verifying Checksum [2021-12-14T21:02:45.111Z] a0d0a0d46f8b: Download complete [2021-12-14T21:02:45.111Z] a0d0a0d46f8b: Pull complete [2021-12-14T21:02:45.373Z] 39017ce70367: Pull complete [2021-12-14T21:02:45.373Z] dcf9283bb20a: Verifying Checksum [2021-12-14T21:02:45.373Z] dcf9283bb20a: Download complete [2021-12-14T21:02:48.720Z] dcf9283bb20a: Pull complete [2021-12-14T21:02:48.720Z] Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 [2021-12-14T21:02:48.720Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-12-14T21:02:48.720Z] ---> a4e04833b611 [2021-12-14T21:02:48.720Z] 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-14T21:02:49.296Z] ---> Running in 0013b0626452 [2021-12-14T21:02:49.559Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-12-14T21:02:49.826Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-12-14T21:02:49.826Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-12-14T21:02:49.826Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-12-14T21:02:50.091Z] Removing intermediate container 0013b0626452 [2021-12-14T21:02:50.091Z] ---> 76a1132df1b8 [2021-12-14T21:02:50.091Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-12-14T21:02:50.091Z] ---> Running in 8e096c5efa7d [2021-12-14T21:02:50.353Z] Removing intermediate container 8e096c5efa7d [2021-12-14T21:02:50.353Z] ---> 71369d45491d [2021-12-14T21:02:50.353Z] 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-14T21:02:50.614Z] ---> Running in 9c15ac092b1c [2021-12-14T21:02:50.614Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-14T21:02:51.555Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-14T21:02:51.816Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-14T21:02:52.389Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-12-14T21:02:52.389Z] (1/27) Installing hiredis (1.0.0-r0) [2021-12-14T21:02:52.389Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2021-12-14T21:02:52.389Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2021-12-14T21:02:52.657Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-12-14T21:02:53.230Z] (5/27) Installing libblkid (2.37.2-r0) [2021-12-14T21:02:53.491Z] (6/27) Installing blkid (2.37.2-r0) [2021-12-14T21:02:53.491Z] (7/27) Installing libcap-ng (0.8.2-r0) [2021-12-14T21:02:53.491Z] (8/27) Installing setpriv (2.37.2-r0) [2021-12-14T21:02:53.753Z] (9/27) Installing libmount (2.37.2-r0) [2021-12-14T21:02:53.753Z] (10/27) Installing libsmartcols (2.37.2-r0) [2021-12-14T21:02:53.753Z] (11/27) Installing findmnt (2.37.2-r0) [2021-12-14T21:02:54.013Z] (12/27) Installing mcookie (2.37.2-r0) [2021-12-14T21:02:54.013Z] (13/27) Installing hexdump (2.37.2-r0) [2021-12-14T21:02:54.013Z] (14/27) Installing lsblk (2.37.2-r0) [2021-12-14T21:02:54.273Z] (15/27) Installing libuuid (2.37.2-r0) [2021-12-14T21:02:54.273Z] (16/27) Installing libfdisk (2.37.2-r0) [2021-12-14T21:02:54.273Z] (17/27) Installing sfdisk (2.37.2-r0) [2021-12-14T21:02:54.537Z] (18/27) Installing cfdisk (2.37.2-r0) [2021-12-14T21:02:54.537Z] (19/27) Installing partx (2.37.2-r0) [2021-12-14T21:02:54.537Z] (20/27) Installing flock (2.37.2-r0) [2021-12-14T21:02:54.798Z] (21/27) Installing logger (2.37.2-r0) [2021-12-14T21:02:54.798Z] (22/27) Installing uuidgen (2.37.2-r0) [2021-12-14T21:02:54.798Z] (23/27) Installing libeconf (0.3.8-r1) [2021-12-14T21:02:55.067Z] (24/27) Installing util-linux (2.37.2-r0) [2021-12-14T21:02:55.328Z] (25/27) Installing util-linux-dev (2.37.2-r0) [2021-12-14T21:02:55.328Z] (26/27) Installing libidn2 (2.3.1-r0) [2021-12-14T21:02:55.328Z] (27/27) Installing wget (1.21.1-r1) [2021-12-14T21:02:55.594Z] Executing busybox-1.33.1-r3.trigger [2021-12-14T21:02:55.594Z] OK: 290 MiB in 104 packages [2021-12-14T21:02:55.857Z] Removing intermediate container 9c15ac092b1c [2021-12-14T21:02:55.857Z] ---> acf67897631f [2021-12-14T21:02:55.857Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2021-12-14T21:02:55.857Z] ---> Running in 9c0ed2abd2bd [2021-12-14T21:02:56.119Z] Removing intermediate container 9c0ed2abd2bd [2021-12-14T21:02:56.119Z] ---> 9927359524c1 [2021-12-14T21:02:56.119Z] 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-14T21:02:56.119Z] ---> Running in 14f0426e42a5 [2021-12-14T21:02:56.380Z] --2021-12-14 21:02:56-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-12-14T21:02:56.380Z] Resolving github.com (github.com)... 140.82.112.4 [2021-12-14T21:02:56.380Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-12-14T21:02:56.380Z] HTTP request sent, awaiting response... 302 Found [2021-12-14T21:02:56.380Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-12-14T21:02:56.380Z] --2021-12-14 21:02:56-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-12-14T21:02:56.380Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-12-14T21:02:56.380Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-12-14T21:02:56.643Z] HTTP request sent, awaiting response... 200 OK [2021-12-14T21:02:56.643Z] Length: unspecified [application/x-gzip] [2021-12-14T21:02:56.643Z] Saving to: 'STDOUT' [2021-12-14T21:02:56.643Z] [2021-12-14T21:02:56.643Z] 0K .......... .......... .......... .......... .......... 1.19M [2021-12-14T21:02:56.643Z] 50K .......... .......... .......... .......... .......... 2.53M [2021-12-14T21:02:56.643Z] 100K .......... .......... .......... .......... .......... 32.7M [2021-12-14T21:02:56.643Z] 150K .......... .......... .......... .......... .......... 26.8M [2021-12-14T21:02:56.643Z] 200K .......... .......... .......... .......... .......... 2.91M [2021-12-14T21:02:56.643Z] 250K .......... .......... .......... .......... .......... 4.59M [2021-12-14T21:02:56.643Z] 300K .......... .......... .......... .......... .......... 9.78M [2021-12-14T21:02:56.643Z] 350K .......... .......... .......... .......... .......... 10.7M [2021-12-14T21:02:56.915Z] 400K .......... .......... .......... .......... .......... 5.96M [2021-12-14T21:02:56.915Z] 450K .......... .......... .......... .......... .......... 11.8M [2021-12-14T21:02:56.915Z] 500K .......... .......... .......... .......... .......... 21.5M [2021-12-14T21:02:56.915Z] 550K .......... .......... .......... .......... .......... 6.54M [2021-12-14T21:02:56.915Z] 600K .......... .......... .......... .......... .......... 5.20M [2021-12-14T21:02:56.915Z] 650K .......... .......... .......... .......... .......... 6.09M [2021-12-14T21:02:56.915Z] 700K .. 74.1M=0.1s [2021-12-14T21:02:56.915Z] [2021-12-14T21:02:56.915Z] 2021-12-14 21:02:56 (4.90 MB/s) - written to stdout [719348] [2021-12-14T21:02:56.915Z] [2021-12-14T21:02:56.915Z] -- The C compiler identification is GNU 10.3.1 [2021-12-14T21:02:56.915Z] -- The CXX compiler identification is GNU 10.3.1 [2021-12-14T21:02:56.915Z] -- Detecting C compiler ABI info [2021-12-14T21:02:56.915Z] -- Detecting C compiler ABI info - done [2021-12-14T21:02:56.915Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-12-14T21:02:56.915Z] -- Detecting C compile features [2021-12-14T21:02:56.915Z] -- Detecting C compile features - done [2021-12-14T21:02:56.915Z] -- Detecting CXX compiler ABI info [2021-12-14T21:02:57.184Z] -- Detecting CXX compiler ABI info - done [2021-12-14T21:02:57.184Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-12-14T21:02:57.184Z] -- Detecting CXX compile features [2021-12-14T21:02:57.184Z] -- Detecting CXX compile features - done [2021-12-14T21:02:57.184Z] -- Looking for include file endian.h [2021-12-14T21:02:57.184Z] -- Looking for include file endian.h - found [2021-12-14T21:02:57.184Z] -- Looking for sys/types.h [2021-12-14T21:02:57.184Z] -- Looking for sys/types.h - found [2021-12-14T21:02:57.184Z] -- Looking for stdint.h [2021-12-14T21:02:57.448Z] -- Looking for stdint.h - found [2021-12-14T21:02:57.448Z] -- Looking for stddef.h [2021-12-14T21:02:57.448Z] -- Looking for stddef.h - found [2021-12-14T21:02:57.448Z] -- Check size of size_t [2021-12-14T21:02:57.448Z] -- Check size of size_t - done [2021-12-14T21:02:57.448Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-12-14T21:02:57.448Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-12-14T21:02:57.448Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-12-14T21:02:57.448Z] CMake did not find one. [2021-12-14T21:02:57.448Z] [2021-12-14T21:02:57.448Z] Could not find a package configuration file provided by "cJSON" with any of [2021-12-14T21:02:57.448Z] the following names: [2021-12-14T21:02:57.448Z] [2021-12-14T21:02:57.448Z] cJSONConfig.cmake [2021-12-14T21:02:57.448Z] cjson-config.cmake [2021-12-14T21:02:57.448Z] [2021-12-14T21:02:57.448Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-12-14T21:02:57.448Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-12-14T21:02:57.448Z] provides a separate development package or SDK, be sure it has been [2021-12-14T21:02:57.448Z] installed. [2021-12-14T21:02:57.448Z] [2021-12-14T21:02:57.448Z] [2021-12-14T21:02:57.448Z] -- Configuring done [2021-12-14T21:02:57.448Z] -- Generating done [2021-12-14T21:02:57.448Z] -- Build files have been written to: /tmp/cbor [2021-12-14T21:02:57.710Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-12-14T21:02:57.710Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-12-14T21:02:57.972Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-12-14T21:02:57.972Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-12-14T21:02:57.972Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-12-14T21:02:58.242Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-12-14T21:02:58.242Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-12-14T21:02:58.242Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-12-14T21:02:58.242Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-12-14T21:02:58.242Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-12-14T21:02:58.504Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-12-14T21:02:58.504Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-12-14T21:02:58.504Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-12-14T21:02:58.765Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-12-14T21:02:58.765Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-12-14T21:02:58.765Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-12-14T21:02:59.027Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-12-14T21:02:59.027Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-12-14T21:02:59.027Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-12-14T21:02:59.027Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-12-14T21:02:59.027Z] [ 40%] Linking C shared library libcbor.so [2021-12-14T21:02:59.297Z] [ 40%] Built target cbor_shared [2021-12-14T21:02:59.297Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-12-14T21:02:59.297Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-12-14T21:02:59.560Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-12-14T21:02:59.560Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-12-14T21:02:59.827Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-12-14T21:03:00.089Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-12-14T21:03:00.089Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-12-14T21:03:00.089Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-12-14T21:03:00.089Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-12-14T21:03:00.089Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-12-14T21:03:00.352Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-12-14T21:03:00.352Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-12-14T21:03:00.618Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-12-14T21:03:00.618Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-12-14T21:03:00.618Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-12-14T21:03:00.878Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-12-14T21:03:00.878Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-12-14T21:03:00.878Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-12-14T21:03:00.878Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-12-14T21:03:01.139Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-12-14T21:03:01.139Z] [ 80%] Linking C static library libcbor.a [2021-12-14T21:03:01.139Z] [ 80%] Built target cbor [2021-12-14T21:03:01.139Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-12-14T21:03:01.139Z] [ 84%] Linking C executable readfile [2021-12-14T21:03:01.139Z] [ 84%] Built target readfile [2021-12-14T21:03:01.139Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-12-14T21:03:01.139Z] [ 88%] Linking C executable create_items [2021-12-14T21:03:01.401Z] [ 88%] Built target create_items [2021-12-14T21:03:01.401Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-12-14T21:03:01.401Z] [ 92%] Linking C executable sort [2021-12-14T21:03:01.401Z] [ 92%] Built target sort [2021-12-14T21:03:01.401Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-12-14T21:03:01.401Z] [ 96%] Linking C executable hello [2021-12-14T21:03:01.401Z] [ 96%] Built target hello [2021-12-14T21:03:01.401Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-12-14T21:03:01.401Z] [100%] Linking C executable streaming_parser [2021-12-14T21:03:01.661Z] [100%] Built target streaming_parser [2021-12-14T21:03:01.661Z] Install the project... [2021-12-14T21:03:01.661Z] -- Install configuration: "Release" [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/lib/libcbor.a [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/lib/libcbor.so [2021-12-14T21:03:01.661Z] -- Up-to-date: /usr/local/include/cbor [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/common.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/data.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/internal [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/ints.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/maps.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/strings.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor/tags.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/include/cbor.h [2021-12-14T21:03:01.661Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-12-14T21:03:02.234Z] Removing intermediate container 14f0426e42a5 [2021-12-14T21:03:02.234Z] ---> d9c30abebaa6 [2021-12-14T21:03:02.234Z] Step 8/24 : RUN mkdir /tmp/sdk [2021-12-14T21:03:02.234Z] ---> Running in cbf1a020a935 [2021-12-14T21:03:02.806Z] Removing intermediate container cbf1a020a935 [2021-12-14T21:03:02.806Z] ---> 52b1c1d93caa [2021-12-14T21:03:02.806Z] Step 9/24 : COPY VERSION /tmp/sdk [2021-12-14T21:03:02.806Z] ---> 5314879005f5 [2021-12-14T21:03:02.806Z] Step 10/24 : COPY src /tmp/sdk/src [2021-12-14T21:03:03.066Z] ---> 4dc62a44603a [2021-12-14T21:03:03.066Z] Step 11/24 : COPY include /tmp/sdk/include [2021-12-14T21:03:03.066Z] ---> 5383b8fe294d [2021-12-14T21:03:03.066Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2021-12-14T21:03:03.327Z] ---> 179384f0edd3 [2021-12-14T21:03:03.327Z] Step 13/24 : COPY LICENSE /tmp/sdk [2021-12-14T21:03:03.327Z] ---> 27584686e3d6 [2021-12-14T21:03:03.327Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2021-12-14T21:03:03.587Z] ---> 2a2819985400 [2021-12-14T21:03:03.587Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-12-14T21:03:03.587Z] ---> Running in 101525c9be44 [2021-12-14T21:03:03.849Z] + CPPCHECK=false [2021-12-14T21:03:03.849Z] + DOCGEN=false [2021-12-14T21:03:03.849Z] + TOMLVER=SDK-0.2 [2021-12-14T21:03:03.849Z] + CUTILVER=1.2.2 [2021-12-14T21:03:03.849Z] + '[' 0 -gt 0 ] [2021-12-14T21:03:03.849Z] + readlink -f ./scripts/build.sh [2021-12-14T21:03:03.849Z] + dirname /tmp/sdk/scripts/build.sh [2021-12-14T21:03:03.849Z] + dirname /tmp/sdk/scripts [2021-12-14T21:03:03.849Z] + ROOT=/tmp/sdk [2021-12-14T21:03:03.849Z] + cd /tmp/sdk [2021-12-14T21:03:03.849Z] + '[' '!' -d deps ] [2021-12-14T21:03:03.849Z] + mkdir deps [2021-12-14T21:03:03.849Z] + tar -C deps -z -x -f - [2021-12-14T21:03:03.849Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-12-14T21:03:03.849Z] --2021-12-14 21:03:03-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-12-14T21:03:03.849Z] Resolving github.com (github.com)... 140.82.112.4 [2021-12-14T21:03:03.849Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-12-14T21:03:04.110Z] HTTP request sent, awaiting response... 302 Found [2021-12-14T21:03:04.110Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-12-14T21:03:04.110Z] --2021-12-14 21:03:03-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-12-14T21:03:04.110Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-12-14T21:03:04.110Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-12-14T21:03:04.110Z] HTTP request sent, awaiting response... 200 OK [2021-12-14T21:03:04.110Z] Length: unspecified [application/x-gzip] [2021-12-14T21:03:04.110Z] Saving to: 'STDOUT' [2021-12-14T21:03:04.110Z] [2021-12-14T21:03:04.371Z] 0K .......... ...... 832K=0.02s [2021-12-14T21:03:04.371Z] [2021-12-14T21:03:04.371Z] 2021-12-14 21:03:04 (832 KB/s) - written to stdout [16451] [2021-12-14T21:03:04.371Z] [2021-12-14T21:03:04.371Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-12-14T21:03:04.371Z] + + wgettar -O - -C deps -z -x https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -f - [2021-12-14T21:03:04.371Z] [2021-12-14T21:03:04.371Z] --2021-12-14 21:03:04-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-12-14T21:03:04.371Z] Resolving github.com (github.com)... 140.82.112.4 [2021-12-14T21:03:04.371Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-12-14T21:03:04.633Z] HTTP request sent, awaiting response... 302 Found [2021-12-14T21:03:04.633Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-12-14T21:03:04.633Z] --2021-12-14 21:03:04-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-12-14T21:03:04.633Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-12-14T21:03:04.633Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-12-14T21:03:04.895Z] HTTP request sent, awaiting response... 200 OK [2021-12-14T21:03:04.895Z] Length: unspecified [application/x-gzip] [2021-12-14T21:03:04.895Z] Saving to: 'STDOUT' [2021-12-14T21:03:04.895Z] [2021-12-14T21:03:04.895Z] 0K .......... .......... .......... .......... .......... 1.25M [2021-12-14T21:03:04.895Z] 50K .......... .......... .......... .......... .......... 2.45M [2021-12-14T21:03:04.895Z] 100K .......... .......... .......... .......... .......... 24.6M [2021-12-14T21:03:04.895Z] 150K .......... .......... .......... ......... 3.54M=0.07s [2021-12-14T21:03:04.895Z] [2021-12-14T21:03:04.895Z] 2021-12-14 21:03:04 (2.57 MB/s) - written to stdout [193961] [2021-12-14T21:03:04.895Z] [2021-12-14T21:03:04.895Z] + mkdir -p src/c/iot [2021-12-14T21:03:04.895Z] + 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-14T21:03:04.895Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-12-14T21:03:04.895Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-12-14T21:03:04.895Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-12-14T21:03:04.895Z] + mkdir -p include/iot [2021-12-14T21:03:04.895Z] + 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-14T21:03:04.895Z] + mkdir -p include/iot/os [2021-12-14T21:03:04.895Z] + 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-14T21:03:04.895Z] + mkdir -p /tmp/sdk/build/release [2021-12-14T21:03:04.895Z] + cd /tmp/sdk/build/release [2021-12-14T21:03:04.895Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-12-14T21:03:04.895Z] -- The C compiler identification is GNU 10.3.1 [2021-12-14T21:03:04.895Z] -- Detecting C compiler ABI info [2021-12-14T21:03:04.895Z] -- Detecting C compiler ABI info - done [2021-12-14T21:03:05.157Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-12-14T21:03:05.157Z] -- Detecting C compile features [2021-12-14T21:03:05.157Z] -- Detecting C compile features - done [2021-12-14T21:03:05.157Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-12-14T21:03:05.157Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-12-14T21:03:05.157Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-12-14T21:03:05.157Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-12-14T21:03:05.157Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-12-14T21:03:05.157Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-12-14T21:03:05.157Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-12-14T21:03:05.157Z] -- C SDK 0.0.0 for Linux [2021-12-14T21:03:05.157Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-12-14T21:03:05.157Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-12-14T21:03:05.157Z] -- Found Curses: /usr/lib/libcurses.so [2021-12-14T21:03:05.157Z] -- Configuring done [2021-12-14T21:03:05.157Z] -- Generating done [2021-12-14T21:03:05.157Z] -- Build files have been written to: /tmp/sdk/build/release [2021-12-14T21:03:05.157Z] + make all package [2021-12-14T21:03:05.157Z] + tee release.log [2021-12-14T21:03:05.417Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-12-14T21:03:05.417Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-12-14T21:03:05.417Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-12-14T21:03:05.985Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-12-14T21:03:05.985Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-12-14T21:03:05.985Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-12-14T21:03:06.249Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-12-14T21:03:06.249Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-12-14T21:03:06.514Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-12-14T21:03:06.514Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-12-14T21:03:07.090Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-12-14T21:03:07.090Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-12-14T21:03:07.090Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-12-14T21:03:07.350Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-12-14T21:03:07.350Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-12-14T21:03:07.617Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-12-14T21:03:07.617Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-12-14T21:03:08.189Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-12-14T21:03:08.189Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-12-14T21:03:08.189Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-12-14T21:03:08.452Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-12-14T21:03:08.452Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-12-14T21:03:08.452Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-12-14T21:03:08.452Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-12-14T21:03:08.452Z] 275 | const iot_component_factory_t * factory; [2021-12-14T21:03:08.452Z] | ^~~~~~~ [2021-12-14T21:03:08.715Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-12-14T21:03:09.286Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-12-14T21:03:09.553Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-12-14T21:03:09.553Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-12-14T21:03:09.553Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-12-14T21:03:09.811Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-12-14T21:03:09.811Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-12-14T21:03:10.075Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-12-14T21:03:10.075Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-12-14T21:03:10.348Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-12-14T21:03:10.348Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-12-14T21:03:10.348Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-12-14T21:03:10.921Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-12-14T21:03:10.921Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-12-14T21:03:11.184Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-12-14T21:03:11.184Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-12-14T21:03:12.146Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-12-14T21:03:12.146Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-12-14T21:03:12.146Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-12-14T21:03:12.407Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-12-14T21:03:12.407Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-12-14T21:03:12.407Z] /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-14T21:03:12.407Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-12-14T21:03:12.407Z] | ^~~~~~~~~~~~~ [2021-12-14T21:03:12.407Z] | | [2021-12-14T21:03:12.407Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-12-14T21:03:12.407Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-14T21:03:12.407Z] /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-14T21:03:12.407Z] 2714 | MHD_KeyValueIterator iterator, [2021-12-14T21:03:12.407Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-12-14T21:03:12.407Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-12-14T21:03:12.407Z] /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-14T21:03:12.407Z] 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-14T21:03:12.407Z] | ^~~~~~~~~~~~ [2021-12-14T21:03:12.407Z] | | [2021-12-14T21:03:12.407Z] | 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-14T21:03:12.407Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-14T21:03:12.407Z] /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-14T21:03:12.407Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-12-14T21:03:12.407Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-12-14T21:03:12.407Z] /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-14T21:03:12.407Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-12-14T21:03:12.407Z] | ^~~~~~~~~~~~ [2021-12-14T21:03:12.407Z] | | [2021-12-14T21:03:12.407Z] | 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-14T21:03:12.407Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-14T21:03:12.407Z] /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-14T21:03:12.407Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-12-14T21:03:12.407Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-12-14T21:03:12.407Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-12-14T21:03:12.979Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-12-14T21:03:12.979Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-12-14T21:03:12.979Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-12-14T21:03:13.246Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-12-14T21:03:13.508Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-12-14T21:03:14.449Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-12-14T21:03:14.449Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-12-14T21:03:14.449Z] [ 76%] Linking C shared library libcsdk.so [2021-12-14T21:03:14.449Z] [ 76%] Built target csdk [2021-12-14T21:03:14.712Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-12-14T21:03:14.712Z] [ 79%] Linking C executable template [2021-12-14T21:03:14.712Z] [ 79%] Built target template [2021-12-14T21:03:14.712Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-12-14T21:03:14.972Z] [ 82%] Linking C executable device-counter [2021-12-14T21:03:14.972Z] [ 82%] Built target device-counter [2021-12-14T21:03:14.972Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-12-14T21:03:14.972Z] [ 85%] Linking C executable device-random [2021-12-14T21:03:15.240Z] [ 85%] Built target device-random [2021-12-14T21:03:15.240Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-12-14T21:03:15.240Z] [ 88%] Linking C executable device-gyro [2021-12-14T21:03:15.240Z] [ 88%] Built target device-gyro [2021-12-14T21:03:15.240Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-12-14T21:03:15.240Z] [ 91%] Linking C executable device-bitfields [2021-12-14T21:03:15.504Z] [ 91%] Built target device-bitfields [2021-12-14T21:03:15.504Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-12-14T21:03:15.504Z] [ 94%] Linking C executable template-discovery [2021-12-14T21:03:15.504Z] [ 94%] Built target template-discovery [2021-12-14T21:03:15.766Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-12-14T21:03:15.766Z] [ 97%] Linking C executable device-file [2021-12-14T21:03:15.766Z] [ 97%] Built target device-file [2021-12-14T21:03:15.766Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-12-14T21:03:16.027Z] [100%] Linking C executable device-terminal [2021-12-14T21:03:16.027Z] [100%] Built target device-terminal [2021-12-14T21:03:16.027Z] Run CPack packaging tool... [2021-12-14T21:03:16.027Z] CPack: Create package using TGZ [2021-12-14T21:03:16.027Z] CPack: Install projects [2021-12-14T21:03:16.027Z] CPack: - Run preinstall target for: Csdk [2021-12-14T21:03:16.286Z] CPack: - Install project: Csdk [] [2021-12-14T21:03:16.286Z] CPack: Create package [2021-12-14T21:03:16.286Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-12-14T21:03:16.286Z] + '[' false '=' true ] [2021-12-14T21:03:16.286Z] + '[' false '=' true ] [2021-12-14T21:03:16.286Z] + mkdir -p /tmp/sdk/build/debug [2021-12-14T21:03:16.286Z] + cd /tmp/sdk/build/debug [2021-12-14T21:03:16.286Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-12-14T21:03:16.286Z] -- The C compiler identification is GNU 10.3.1 [2021-12-14T21:03:16.286Z] -- Detecting C compiler ABI info [2021-12-14T21:03:16.547Z] -- Detecting C compiler ABI info - done [2021-12-14T21:03:16.547Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-12-14T21:03:16.547Z] -- Detecting C compile features [2021-12-14T21:03:16.547Z] -- Detecting C compile features - done [2021-12-14T21:03:16.547Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-12-14T21:03:16.547Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-12-14T21:03:16.547Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-12-14T21:03:16.547Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-12-14T21:03:16.547Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-12-14T21:03:16.547Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-12-14T21:03:16.547Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-12-14T21:03:16.547Z] -- C SDK 0.0.0 for Linux [2021-12-14T21:03:16.547Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-12-14T21:03:16.547Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-12-14T21:03:16.547Z] -- Found Curses: /usr/lib/libcurses.so [2021-12-14T21:03:16.547Z] -- Configuring done [2021-12-14T21:03:16.547Z] -- Generating done [2021-12-14T21:03:16.547Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-12-14T21:03:16.547Z] + tee debug.log [2021-12-14T21:03:16.547Z] + make [2021-12-14T21:03:16.809Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-12-14T21:03:16.809Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-12-14T21:03:16.809Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-12-14T21:03:17.080Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-12-14T21:03:17.080Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-12-14T21:03:17.080Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-12-14T21:03:17.080Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-12-14T21:03:17.340Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-12-14T21:03:17.340Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-12-14T21:03:17.340Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-12-14T21:03:17.603Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-12-14T21:03:17.603Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-12-14T21:03:17.603Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-12-14T21:03:17.865Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-12-14T21:03:17.865Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-12-14T21:03:17.865Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-12-14T21:03:17.865Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-12-14T21:03:18.132Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-12-14T21:03:18.132Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-12-14T21:03:18.132Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-12-14T21:03:18.132Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-12-14T21:03:18.397Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-12-14T21:03:18.397Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-12-14T21:03:18.397Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-12-14T21:03:18.397Z] 275 | const iot_component_factory_t * factory; [2021-12-14T21:03:18.397Z] | ^~~~~~~ [2021-12-14T21:03:18.397Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-12-14T21:03:18.661Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-12-14T21:03:18.661Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-12-14T21:03:18.661Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-12-14T21:03:18.921Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-12-14T21:03:18.921Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-12-14T21:03:18.921Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-12-14T21:03:18.921Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-12-14T21:03:18.921Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-12-14T21:03:19.183Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-12-14T21:03:19.183Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-12-14T21:03:19.183Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-12-14T21:03:19.183Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-12-14T21:03:19.448Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-12-14T21:03:19.448Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-12-14T21:03:19.448Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-12-14T21:03:19.713Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-12-14T21:03:19.713Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-12-14T21:03:19.976Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-12-14T21:03:19.976Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-12-14T21:03:19.976Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-12-14T21:03:19.976Z] /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-14T21:03:19.976Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-12-14T21:03:19.976Z] | ^~~~~~~~~~~~~ [2021-12-14T21:03:19.976Z] | | [2021-12-14T21:03:19.976Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-12-14T21:03:19.976Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-14T21:03:19.976Z] /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-14T21:03:19.976Z] 2714 | MHD_KeyValueIterator iterator, [2021-12-14T21:03:19.976Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-12-14T21:03:19.976Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-12-14T21:03:19.976Z] /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-14T21:03:19.976Z] 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-14T21:03:19.976Z] | ^~~~~~~~~~~~ [2021-12-14T21:03:19.976Z] | | [2021-12-14T21:03:19.976Z] | 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-14T21:03:19.976Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-14T21:03:19.976Z] /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-14T21:03:19.976Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-12-14T21:03:19.976Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-12-14T21:03:19.976Z] /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-14T21:03:19.976Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-12-14T21:03:19.976Z] | ^~~~~~~~~~~~ [2021-12-14T21:03:19.976Z] | | [2021-12-14T21:03:19.976Z] | 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-14T21:03:19.976Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-14T21:03:19.976Z] /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-14T21:03:19.976Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-12-14T21:03:19.976Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-12-14T21:03:19.976Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-12-14T21:03:20.240Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-12-14T21:03:20.240Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-12-14T21:03:20.500Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-12-14T21:03:20.500Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-12-14T21:03:20.500Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-12-14T21:03:20.765Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-12-14T21:03:20.765Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-12-14T21:03:20.765Z] [ 76%] Linking C shared library libcsdk.so [2021-12-14T21:03:21.024Z] [ 76%] Built target csdk [2021-12-14T21:03:21.024Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-12-14T21:03:21.024Z] [ 79%] Linking C executable template [2021-12-14T21:03:21.024Z] [ 79%] Built target template [2021-12-14T21:03:21.024Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-12-14T21:03:21.284Z] [ 82%] Linking C executable device-counter [2021-12-14T21:03:21.284Z] [ 82%] Built target device-counter [2021-12-14T21:03:21.284Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-12-14T21:03:21.284Z] [ 85%] Linking C executable device-random [2021-12-14T21:03:21.284Z] [ 85%] Built target device-random [2021-12-14T21:03:21.284Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-12-14T21:03:21.284Z] [ 88%] Linking C executable device-gyro [2021-12-14T21:03:21.547Z] [ 88%] Built target device-gyro [2021-12-14T21:03:21.547Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-12-14T21:03:21.547Z] [ 91%] Linking C executable device-bitfields [2021-12-14T21:03:21.547Z] [ 91%] Built target device-bitfields [2021-12-14T21:03:21.547Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-12-14T21:03:21.809Z] [ 94%] Linking C executable template-discovery [2021-12-14T21:03:21.809Z] [ 94%] Built target template-discovery [2021-12-14T21:03:21.809Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-12-14T21:03:21.809Z] [ 97%] Linking C executable device-file [2021-12-14T21:03:21.809Z] [ 97%] Built target device-file [2021-12-14T21:03:21.809Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-12-14T21:03:22.069Z] [100%] Linking C executable device-terminal [2021-12-14T21:03:22.069Z] [100%] Built target device-terminal [2021-12-14T21:03:22.069Z] make: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.069Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.069Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.069Z] [ 76%] Built target csdk [2021-12-14T21:03:22.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.069Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.069Z] [ 79%] Built target template [2021-12-14T21:03:22.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.069Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.069Z] [ 82%] Built target device-counter [2021-12-14T21:03:22.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.069Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.069Z] [ 85%] Built target device-random [2021-12-14T21:03:22.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.069Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.069Z] [ 88%] Built target device-gyro [2021-12-14T21:03:22.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.069Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.069Z] [ 91%] Built target device-bitfields [2021-12-14T21:03:22.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.069Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.069Z] [ 94%] Built target template-discovery [2021-12-14T21:03:22.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.333Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.333Z] [ 97%] Built target device-file [2021-12-14T21:03:22.333Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.333Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.333Z] [100%] Built target device-terminal [2021-12-14T21:03:22.333Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.333Z] Install the project... [2021-12-14T21:03:22.333Z] -- Install configuration: "Release" [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/lib/libcsdk.so [2021-12-14T21:03:22.333Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-12-14T21:03:22.333Z] -- Up-to-date: /usr/local/include [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/devsdk [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/edgex [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/edgex/devices.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/base64.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/component.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/config.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/container.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/data.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/hash.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/iot.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/json.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/logger.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/os.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/thread.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/time.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/typecode.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/uuid.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/os [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/include/iot/defs.h [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-12-14T21:03:22.333Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-12-14T21:03:22.333Z] make: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:03:22.910Z] Removing intermediate container 101525c9be44 [2021-12-14T21:03:22.910Z] ---> 4ac6b6a80159 [2021-12-14T21:03:22.910Z] Step 16/24 : FROM ${BASE} [2021-12-14T21:03:22.910Z] ---> a4e04833b611 [2021-12-14T21:03:22.910Z] Step 17/24 : LABEL maintainer="IOTech " [2021-12-14T21:03:22.910Z] ---> Running in 7ac02ade27a0 [2021-12-14T21:03:22.910Z] Removing intermediate container 7ac02ade27a0 [2021-12-14T21:03:22.910Z] ---> d8c15e72769b [2021-12-14T21:03:22.910Z] 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-14T21:03:22.910Z] ---> Running in 5ffb54a1b5a8 [2021-12-14T21:03:23.172Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2021-12-14T21:03:23.434Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-12-14T21:03:23.434Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-12-14T21:03:23.434Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-12-14T21:03:23.694Z] Removing intermediate container 5ffb54a1b5a8 [2021-12-14T21:03:23.694Z] ---> c20dfbf9f385 [2021-12-14T21:03:23.694Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-12-14T21:03:23.694Z] ---> Running in 8ff5152ee446 [2021-12-14T21:03:24.266Z] Removing intermediate container 8ff5152ee446 [2021-12-14T21:03:24.266Z] ---> 565d9d92bd6a [2021-12-14T21:03:24.266Z] 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-14T21:03:24.266Z] ---> Running in f03e870b5933 [2021-12-14T21:03:24.526Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-14T21:03:25.468Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-14T21:03:25.468Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-14T21:03:26.046Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-12-14T21:03:26.046Z] (1/7) Installing curl (7.79.1-r0) [2021-12-14T21:03:26.046Z] (2/7) Installing hiredis (1.0.0-r0) [2021-12-14T21:03:26.046Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2021-12-14T21:03:26.307Z] (4/7) Installing libuuid (2.37.2-r0) [2021-12-14T21:03:26.307Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-12-14T21:03:27.247Z] (6/7) Installing libidn2 (2.3.1-r0) [2021-12-14T21:03:27.247Z] (7/7) Installing wget (1.21.1-r1) [2021-12-14T21:03:27.509Z] Executing busybox-1.33.1-r3.trigger [2021-12-14T21:03:27.509Z] OK: 281 MiB in 84 packages [2021-12-14T21:03:27.769Z] Removing intermediate container f03e870b5933 [2021-12-14T21:03:27.769Z] ---> cbaa7adb748f [2021-12-14T21:03:27.769Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-12-14T21:03:28.033Z] ---> 44255f1080c0 [2021-12-14T21:03:28.033Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-12-14T21:03:28.033Z] ---> c3ef87fff02b [2021-12-14T21:03:28.033Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-12-14T21:03:28.294Z] ---> cecb78f12914 [2021-12-14T21:03:28.294Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-12-14T21:03:28.294Z] ---> 64b2ecdeb747 [2021-12-14T21:03:28.294Z] Successfully built 64b2ecdeb747 [2021-12-14T21:03:28.294Z] 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-14T21:03:28.855Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-14T21:03:28.855Z] . [Pipeline] withDockerContainer [2021-12-14T21:03:28.935Z] prd-centos7-docker-4c-2g-865 does not seem to be running inside a container [2021-12-14T21:03:28.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-14T21:03:29.308Z] $ docker top 8de545fe9492693beb449cb3564a77dddbff959591ca27d09c30902356e72eac -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-14T21:03:29.704Z] + make test [2021-12-14T21:03:29.704Z] echo "make test" [2021-12-14T21:03:29.704Z] make test [Pipeline] } [2021-12-14T21:03:29.724Z] $ docker stop --time=1 8de545fe9492693beb449cb3564a77dddbff959591ca27d09c30902356e72eac [2021-12-14T21:03:30.898Z] $ docker rm -f 8de545fe9492693beb449cb3564a77dddbff959591ca27d09c30902356e72eac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-14T21:03:31.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-14T21:03:32.121Z] + ls -al . [2021-12-14T21:03:32.121Z] total 172 [2021-12-14T21:03:32.121Z] drwxrwxr-x. 8 jenkins jenkins 4096 Dec 14 21:02 . [2021-12-14T21:03:32.121Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 14 21:02 .. [2021-12-14T21:03:32.121Z] -rw-rw-r--. 1 jenkins jenkins 3104 Dec 14 21:02 Attribution.txt [2021-12-14T21:03:32.121Z] -rw-rw-r--. 1 jenkins jenkins 7880 Dec 14 21:02 CHANGES [2021-12-14T21:03:32.121Z] drwxrwxr-x. 2 jenkins jenkins 121 Dec 14 21:02 docs [2021-12-14T21:03:32.121Z] -rw-rw-r--. 1 jenkins jenkins 108574 Dec 14 21:02 Doxyfile [2021-12-14T21:03:32.121Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 14 21:02 .git [2021-12-14T21:03:32.121Z] drwxrwxr-x. 3 jenkins jenkins 103 Dec 14 21:02 .github [2021-12-14T21:03:32.121Z] -rw-rw-r--. 1 jenkins jenkins 176 Dec 14 21:02 .gitignore [2021-12-14T21:03:32.121Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 14 21:02 GOVERNANCE.md [2021-12-14T21:03:32.121Z] drwxrwxr-x. 4 jenkins jenkins 33 Dec 14 21:02 include [2021-12-14T21:03:32.121Z] -rw-rw-r--. 1 jenkins jenkins 784 Dec 14 21:02 Jenkinsfile [2021-12-14T21:03:32.121Z] -rw-rw-r--. 1 jenkins jenkins 10174 Dec 14 21:02 LICENSE [2021-12-14T21:03:32.121Z] -rw-rw-r--. 1 jenkins jenkins 444 Dec 14 21:02 Makefile [2021-12-14T21:03:32.121Z] -rw-rw-r--. 1 jenkins jenkins 618 Dec 14 21:02 OWNERS.md [2021-12-14T21:03:32.121Z] -rw-rw-r--. 1 jenkins jenkins 4086 Dec 14 21:02 README.md [2021-12-14T21:03:32.121Z] -rw-rw-r--. 1 jenkins jenkins 7422 Dec 14 21:02 README.v2.md [2021-12-14T21:03:32.121Z] drwxrwxr-x. 2 jenkins jenkins 98 Dec 14 21:02 scripts [2021-12-14T21:03:32.121Z] drwxrwxr-x. 4 jenkins jenkins 50 Dec 14 21:02 src [2021-12-14T21:03:32.121Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 14 21:00 VERSION [Pipeline] isUnix [Pipeline] sh [2021-12-14T21:03:32.460Z] + 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=dc8742ecb02bdc9fb61c4decdcfae028f2de6039 --label arch=amd64 --label version=0.0.0 . [2021-12-14T21:03:32.461Z] Sending build context to Docker daemon 2.738MB [2021-12-14T21:03:32.461Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-12-14T21:03:32.461Z] Step 2/17 : FROM ${BASE} [2021-12-14T21:03:32.461Z] ---> 64b2ecdeb747 [2021-12-14T21:03:32.461Z] Step 3/17 : LABEL maintainer="IOTech " [2021-12-14T21:03:32.461Z] ---> Running in 78eb10873b0f [2021-12-14T21:03:32.722Z] Removing intermediate container 78eb10873b0f [2021-12-14T21:03:32.722Z] ---> 99c85b7dc132 [2021-12-14T21:03:32.722Z] 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-14T21:03:32.722Z] ---> Running in f8b0345109ab [2021-12-14T21:03:32.984Z] --2021-12-14 21:03:32-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-12-14T21:03:32.984Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.74.239.58, 54.72.115.12, ... [2021-12-14T21:03:32.984Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. [2021-12-14T21:03:33.252Z] HTTP request sent, awaiting response... 200 OK [2021-12-14T21:03:33.252Z] Length: unspecified [application/json] [2021-12-14T21:03:33.252Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-12-14T21:03:33.252Z] [2021-12-14T21:03:33.252Z] 0K  194M=0s [2021-12-14T21:03:33.252Z] [2021-12-14T21:03:33.252Z] 2021-12-14 21:03:33 (194 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-12-14T21:03:33.252Z] [2021-12-14T21:03:33.519Z] Removing intermediate container f8b0345109ab [2021-12-14T21:03:33.519Z] ---> ed6d1f954c47 [2021-12-14T21:03:33.519Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-12-14T21:03:33.519Z] ---> Running in 635eafb516ce [2021-12-14T21:03:34.089Z] Removing intermediate container 635eafb516ce [2021-12-14T21:03:34.089Z] ---> 2cdf0fa61c8d [2021-12-14T21:03:34.089Z] 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-14T21:03:34.089Z] ---> Running in e9064aab9e24 [2021-12-14T21:03:34.350Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-14T21:03:34.919Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-14T21:03:35.178Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-14T21:03:35.747Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-12-14T21:03:35.747Z] (1/21) Installing ncurses-dev (6.2_p20210612-r0) [2021-12-14T21:03:35.747Z] (2/21) Installing libblkid (2.37.2-r0) [2021-12-14T21:03:36.005Z] (3/21) Installing blkid (2.37.2-r0) [2021-12-14T21:03:36.005Z] (4/21) Installing libcap-ng (0.8.2-r0) [2021-12-14T21:03:36.005Z] (5/21) Installing setpriv (2.37.2-r0) [2021-12-14T21:03:36.263Z] (6/21) Installing libmount (2.37.2-r0) [2021-12-14T21:03:36.263Z] (7/21) Installing libsmartcols (2.37.2-r0) [2021-12-14T21:03:36.263Z] (8/21) Installing findmnt (2.37.2-r0) [2021-12-14T21:03:36.522Z] (9/21) Installing mcookie (2.37.2-r0) [2021-12-14T21:03:36.522Z] (10/21) Installing hexdump (2.37.2-r0) [2021-12-14T21:03:36.522Z] (11/21) Installing lsblk (2.37.2-r0) [2021-12-14T21:03:36.782Z] (12/21) Installing libfdisk (2.37.2-r0) [2021-12-14T21:03:36.782Z] (13/21) Installing sfdisk (2.37.2-r0) [2021-12-14T21:03:36.782Z] (14/21) Installing cfdisk (2.37.2-r0) [2021-12-14T21:03:37.043Z] (15/21) Installing partx (2.37.2-r0) [2021-12-14T21:03:37.043Z] (16/21) Installing flock (2.37.2-r0) [2021-12-14T21:03:37.043Z] (17/21) Installing logger (2.37.2-r0) [2021-12-14T21:03:37.305Z] (18/21) Installing uuidgen (2.37.2-r0) [2021-12-14T21:03:37.305Z] (19/21) Installing libeconf (0.3.8-r1) [2021-12-14T21:03:37.305Z] (20/21) Installing util-linux (2.37.2-r0) [2021-12-14T21:03:37.566Z] (21/21) Installing util-linux-dev (2.37.2-r0) [2021-12-14T21:03:37.566Z] Executing busybox-1.33.1-r3.trigger [2021-12-14T21:03:37.566Z] OK: 291 MiB in 105 packages [2021-12-14T21:03:38.140Z] Removing intermediate container e9064aab9e24 [2021-12-14T21:03:38.140Z] ---> 82cb72e846f1 [2021-12-14T21:03:38.140Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-12-14T21:03:38.140Z] ---> 3ae0a1cff2f7 [2021-12-14T21:03:38.140Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-12-14T21:03:38.400Z] ---> ece19e2fdd86 [2021-12-14T21:03:38.400Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-12-14T21:03:38.661Z] ---> 5f91d1c683e8 [2021-12-14T21:03:38.661Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-12-14T21:03:38.661Z] ---> 4e8a629ed2c6 [2021-12-14T21:03:38.661Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-12-14T21:03:38.927Z] ---> 427b8e8c5bc5 [2021-12-14T21:03:38.927Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-12-14T21:03:38.927Z] ---> 01006fb93dc0 [2021-12-14T21:03:38.927Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-12-14T21:03:38.927Z] ---> Running in 089db88d4534 [2021-12-14T21:03:39.186Z] Removing intermediate container 089db88d4534 [2021-12-14T21:03:39.186Z] ---> 8fa8cd1c787f [2021-12-14T21:03:39.186Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-12-14T21:03:39.186Z] ---> Running in 0c64278b3875 [2021-12-14T21:03:39.186Z] Removing intermediate container 0c64278b3875 [2021-12-14T21:03:39.186Z] ---> 62db7f0e9ff0 [2021-12-14T21:03:39.186Z] Step 15/17 : LABEL arch=amd64 [2021-12-14T21:03:39.186Z] ---> Running in 2ea85a91e4a6 [2021-12-14T21:03:39.186Z] Removing intermediate container 2ea85a91e4a6 [2021-12-14T21:03:39.186Z] ---> 28283b9ec99b [2021-12-14T21:03:39.186Z] Step 16/17 : LABEL git_sha=dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [2021-12-14T21:03:39.448Z] ---> Running in 9bdba585be23 [2021-12-14T21:03:39.448Z] Removing intermediate container 9bdba585be23 [2021-12-14T21:03:39.448Z] ---> 5fa6a90b9b7f [2021-12-14T21:03:39.448Z] Step 17/17 : LABEL version=0.0.0 [2021-12-14T21:03:39.448Z] ---> Running in 28f436aaf1e8 [2021-12-14T21:03:39.448Z] Removing intermediate container 28f436aaf1e8 [2021-12-14T21:03:39.448Z] ---> fcb18a852279 [2021-12-14T21:03:39.448Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-12-14T21:03:39.448Z] Successfully built fcb18a852279 [2021-12-14T21:03:39.448Z] 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-14T21:03:40.277Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-14T21:03:40.277Z] [2021-12-14T21:03:40.277Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-14T21:03:40.614Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-14T21:03:40.614Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-14T21:03:40.614Z] b4d181a07f80: Pulling fs layer [2021-12-14T21:03:40.614Z] a1111a8f2ec3: Pulling fs layer [2021-12-14T21:03:40.614Z] ed53099fbce6: Pulling fs layer [2021-12-14T21:03:40.614Z] dc539afda2c1: Pulling fs layer [2021-12-14T21:03:40.614Z] 77bc0d833cb6: Pulling fs layer [2021-12-14T21:03:40.614Z] 9065ff56babe: Pulling fs layer [2021-12-14T21:03:40.614Z] d287ab97295c: Pulling fs layer [2021-12-14T21:03:40.614Z] dc539afda2c1: Waiting [2021-12-14T21:03:40.614Z] 77bc0d833cb6: Waiting [2021-12-14T21:03:40.614Z] 9065ff56babe: Waiting [2021-12-14T21:03:40.614Z] d287ab97295c: Waiting [2021-12-14T21:03:40.614Z] a1111a8f2ec3: Verifying Checksum [2021-12-14T21:03:40.614Z] a1111a8f2ec3: Download complete [2021-12-14T21:03:40.614Z] dc539afda2c1: Verifying Checksum [2021-12-14T21:03:40.614Z] dc539afda2c1: Download complete [2021-12-14T21:03:40.614Z] ed53099fbce6: Verifying Checksum [2021-12-14T21:03:40.614Z] ed53099fbce6: Download complete [2021-12-14T21:03:40.614Z] 9065ff56babe: Verifying Checksum [2021-12-14T21:03:40.614Z] 9065ff56babe: Download complete [2021-12-14T21:03:40.878Z] 77bc0d833cb6: Verifying Checksum [2021-12-14T21:03:40.878Z] 77bc0d833cb6: Download complete [2021-12-14T21:03:40.878Z] b4d181a07f80: Verifying Checksum [2021-12-14T21:03:40.878Z] b4d181a07f80: Download complete [2021-12-14T21:03:41.479Z] d287ab97295c: Verifying Checksum [2021-12-14T21:03:41.479Z] d287ab97295c: Download complete [2021-12-14T21:03:42.427Z] b4d181a07f80: Pull complete [2021-12-14T21:03:42.427Z] a1111a8f2ec3: Pull complete [2021-12-14T21:03:43.009Z] ed53099fbce6: Pull complete [2021-12-14T21:03:43.009Z] dc539afda2c1: Pull complete [2021-12-14T21:03:43.277Z] 77bc0d833cb6: Pull complete [2021-12-14T21:03:43.277Z] 9065ff56babe: Pull complete [2021-12-14T21:03:48.579Z] d287ab97295c: Pull complete [2021-12-14T21:03:48.579Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-14T21:03:48.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-14T21:03:48.579Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-14T21:03:48.655Z] prd-centos7-docker-4c-2g-865 does not seem to be running inside a container [2021-12-14T21:03:48.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-14T21:03:50.501Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-866 in /w/workspace/edgexfoundry_device-sdk-c_PR-390 [2021-12-14T21:03:51.031Z] $ docker top f3e79f410a8bfd29bc7563495741b3b071ee3e804a641ef41cf4df6e142ef919 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2021-12-14T21:03:51.267Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-12-14T21:03:51.498Z] ---> job-cost.sh [2021-12-14T21:03:51.498Z] lf-activate-venv: SKIPPING [2021-12-14T21:03:51.498Z] INFO: No Stack... [2021-12-14T21:03:51.520Z] Selected Git installation does not exist. Using Default [2021-12-14T21:03:51.520Z] The recommended git tool is: NONE [2021-12-14T21:03:51.760Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-14T21:03:52.021Z] INFO: Archiving Costs [Pipeline] sh [2021-12-14T21:03:52.333Z] + cut -d, -f6 [2021-12-14T21:03:52.333Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock [2021-12-14T21:03:52.387Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-390-1-stack-cost] [2021-12-14T21:03:52.392Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-390-1-stack-cost] did not exist. Created. [2021-12-14T21:03:52.392Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-390-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-14T21:03:52.765Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-14T21:03:52.951Z] Stashed 1 file(s) [Pipeline] } [2021-12-14T21:03:52.967Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-390-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-14T21:03:53.020Z] $ docker stop --time=1 f3e79f410a8bfd29bc7563495741b3b071ee3e804a641ef41cf4df6e142ef919 [2021-12-14T21:03:54.151Z] $ docker rm -f f3e79f410a8bfd29bc7563495741b3b071ee3e804a641ef41cf4df6e142ef919 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-14T21:03:55.658Z] using credential edgex-jenkins-ssh [2021-12-14T21:03:55.674Z] Cloning the remote Git repository [2021-12-14T21:03:55.722Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-12-14T21:03:55.792Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-12-14T21:03:55.871Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-12-14T21:03:55.872Z] > git --version # timeout=10 [2021-12-14T21:03:55.894Z] > git --version # 'git version 2.17.1' [2021-12-14T21:03:55.896Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-14T21:03:56.028Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-14T21:03:57.205Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-12-14T21:03:57.231Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-14T21:03:57.262Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-12-14T21:03:57.308Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-12-14T21:03:57.309Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-14T21:03:57.322Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/390/head:refs/remotes/origin/PR-390 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-14T21:03:57.958Z] Merging remotes/origin/main commit 9c093d915178364b5ad4a5f89c558c84b05f4943 into PR head commit dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [2021-12-14T21:03:58.179Z] Merge succeeded, producing dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [2021-12-14T21:03:58.179Z] Checking out Revision dc8742ecb02bdc9fb61c4decdcfae028f2de6039 (PR-390) [2021-12-14T21:03:57.975Z] > git config core.sparsecheckout # timeout=10 [2021-12-14T21:03:57.998Z] > git checkout -f dc8742ecb02bdc9fb61c4decdcfae028f2de6039 # timeout=10 [2021-12-14T21:03:58.105Z] > git remote # timeout=10 [2021-12-14T21:03:58.123Z] > git config --get remote.origin.url # timeout=10 [2021-12-14T21:03:58.135Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-14T21:03:58.146Z] > git merge 9c093d915178364b5ad4a5f89c558c84b05f4943 # timeout=10 [2021-12-14T21:03:58.167Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-14T21:03:58.186Z] > git config core.sparsecheckout # timeout=10 [2021-12-14T21:03:58.204Z] > git checkout -f dc8742ecb02bdc9fb61c4decdcfae028f2de6039 # timeout=10 [2021-12-14T21:04:02.286Z] Commit message: "docs: update issue templates to include required sections" [2021-12-14T21:04:02.341Z] > git --version # timeout=10 [2021-12-14T21:04:02.350Z] > git --version # 'git version 2.17.1' [2021-12-14T21:04:02.363Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-14T21:04:03.420Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-14T21:04:03.420Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-14T21:04:03.420Z] Dload Upload Total Spent Left Speed [2021-12-14T21:04:03.420Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 63229 0 --:--:-- --:--:-- --:--:-- 62893 [Pipeline] sh [2021-12-14T21:04:03.936Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-14T21:04:04.289Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-14T21:04:04.289Z] + sudo tee /etc/docker/daemon.new [2021-12-14T21:04:04.289Z] { [2021-12-14T21:04:04.289Z] "registry-mirrors": [ [2021-12-14T21:04:04.289Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-14T21:04:04.289Z] ], [2021-12-14T21:04:04.289Z] "bip": "10.250.0.254/24", [2021-12-14T21:04:04.289Z] "hosts": [ [2021-12-14T21:04:04.289Z] "tcp://0.0.0.0:5555", [2021-12-14T21:04:04.289Z] "unix:///var/run/docker.sock" [2021-12-14T21:04:04.289Z] ], [2021-12-14T21:04:04.289Z] "mtu": 1458, [2021-12-14T21:04:04.289Z] "selinux-enabled": true, [2021-12-14T21:04:04.289Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-14T21:04:04.289Z] } [Pipeline] sh [2021-12-14T21:04:04.645Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-14T21:04:05.063Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-14T21:04:23.441Z] provisioning config files... [2021-12-14T21:04:23.466Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config3230617399135022831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:04:24.059Z] ---> docker-login.sh [2021-12-14T21:04:24.059Z] nexus3.edgexfoundry.org:10001 [2021-12-14T21:04:24.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T21:04:24.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T21:04:24.930Z] Configure a credential helper to remove this warning. See [2021-12-14T21:04:24.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T21:04:24.930Z] [2021-12-14T21:04:24.930Z] Login Succeeded [2021-12-14T21:04:24.930Z] nexus3.edgexfoundry.org:10002 [2021-12-14T21:04:25.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T21:04:25.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T21:04:25.206Z] Configure a credential helper to remove this warning. See [2021-12-14T21:04:25.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T21:04:25.206Z] [2021-12-14T21:04:25.206Z] Login Succeeded [2021-12-14T21:04:25.206Z] nexus3.edgexfoundry.org:10003 [2021-12-14T21:04:25.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T21:04:25.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T21:04:25.811Z] Configure a credential helper to remove this warning. See [2021-12-14T21:04:25.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T21:04:25.811Z] [2021-12-14T21:04:25.811Z] Login Succeeded [2021-12-14T21:04:25.811Z] nexus3.edgexfoundry.org:10004 [2021-12-14T21:04:26.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T21:04:26.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T21:04:26.089Z] Configure a credential helper to remove this warning. See [2021-12-14T21:04:26.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T21:04:26.089Z] [2021-12-14T21:04:26.089Z] Login Succeeded [2021-12-14T21:04:26.364Z] docker.io [2021-12-14T21:04:26.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T21:04:26.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T21:04:26.910Z] Configure a credential helper to remove this warning. See [2021-12-14T21:04:26.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T21:04:26.910Z] [2021-12-14T21:04:26.910Z] Login Succeeded [2021-12-14T21:04:26.910Z] ---> docker-login.sh ends [Pipeline] } [2021-12-14T21:04:26.939Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-14T21:04:27.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-14T21:04:27.377Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2021-12-14T21:04:27.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-14T21:04:27.441Z] ========================================================= [2021-12-14T21:04:27.441Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-12-14T21:04:27.441Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-14T21:04:27.836Z] + 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-14T21:04:28.112Z] Sending build context to Docker daemon 2.737MB [2021-12-14T21:04:28.389Z] Step 1/24 : ARG BASE=alpine:3.14 [2021-12-14T21:04:28.389Z] Step 2/24 : FROM ${BASE} as builder [2021-12-14T21:04:28.389Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-12-14T21:04:28.389Z] 552d1f2373af: Pulling fs layer [2021-12-14T21:04:28.389Z] f2be2b6548c6: Pulling fs layer [2021-12-14T21:04:28.389Z] ee4ac2fe028c: Pulling fs layer [2021-12-14T21:04:28.389Z] f2be2b6548c6: Download complete [2021-12-14T21:04:28.665Z] 552d1f2373af: Verifying Checksum [2021-12-14T21:04:28.665Z] 552d1f2373af: Download complete [2021-12-14T21:04:29.268Z] 552d1f2373af: Pull complete [2021-12-14T21:04:29.541Z] f2be2b6548c6: Pull complete [2021-12-14T21:04:30.523Z] ee4ac2fe028c: Verifying Checksum [2021-12-14T21:04:30.523Z] ee4ac2fe028c: Download complete [2021-12-14T21:04:38.788Z] ee4ac2fe028c: Pull complete [2021-12-14T21:04:38.788Z] Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b [2021-12-14T21:04:38.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-12-14T21:04:38.788Z] ---> b6d714ea7bf2 [2021-12-14T21:04:38.788Z] 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-14T21:04:39.390Z] ---> Running in 4dd4992dae68 [2021-12-14T21:04:40.371Z] Connecting to iotech.jfrog.io (54.74.239.58:443) [2021-12-14T21:04:40.968Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-12-14T21:04:40.968Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-12-14T21:04:40.968Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-12-14T21:04:41.563Z] Removing intermediate container 4dd4992dae68 [2021-12-14T21:04:41.563Z] ---> f513439c298d [2021-12-14T21:04:41.563Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-12-14T21:04:41.563Z] ---> Running in a129c82de375 [2021-12-14T21:04:43.544Z] Removing intermediate container a129c82de375 [2021-12-14T21:04:43.544Z] ---> e181ed7821d7 [2021-12-14T21:04:43.544Z] Step 5/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev [2021-12-14T21:04:43.544Z] ---> Running in f6ab7d2c3859 [2021-12-14T21:04:44.137Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-14T21:04:45.114Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-14T21:04:45.384Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-14T21:04:46.352Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-12-14T21:04:46.352Z] (1/27) Installing hiredis (1.0.0-r0) [2021-12-14T21:04:46.352Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2021-12-14T21:04:46.352Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2021-12-14T21:04:46.352Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-12-14T21:04:47.321Z] (5/27) Installing libblkid (2.37.2-r0) [2021-12-14T21:04:47.596Z] (6/27) Installing blkid (2.37.2-r0) [2021-12-14T21:04:47.596Z] (7/27) Installing libcap-ng (0.8.2-r0) [2021-12-14T21:04:47.866Z] (8/27) Installing setpriv (2.37.2-r0) [2021-12-14T21:04:47.866Z] (9/27) Installing libmount (2.37.2-r0) [2021-12-14T21:04:47.866Z] (10/27) Installing libsmartcols (2.37.2-r0) [2021-12-14T21:04:48.137Z] (11/27) Installing findmnt (2.37.2-r0) [2021-12-14T21:04:48.137Z] (12/27) Installing mcookie (2.37.2-r0) [2021-12-14T21:04:48.137Z] (13/27) Installing hexdump (2.37.2-r0) [2021-12-14T21:04:48.408Z] (14/27) Installing lsblk (2.37.2-r0) [2021-12-14T21:04:48.408Z] (15/27) Installing libuuid (2.37.2-r0) [2021-12-14T21:04:48.408Z] (16/27) Installing libfdisk (2.37.2-r0) [2021-12-14T21:04:48.680Z] (17/27) Installing sfdisk (2.37.2-r0) [2021-12-14T21:04:48.680Z] (18/27) Installing cfdisk (2.37.2-r0) [2021-12-14T21:04:48.680Z] (19/27) Installing partx (2.37.2-r0) [2021-12-14T21:04:48.954Z] (20/27) Installing flock (2.37.2-r0) [2021-12-14T21:04:48.954Z] (21/27) Installing logger (2.37.2-r0) [2021-12-14T21:04:48.954Z] (22/27) Installing uuidgen (2.37.2-r0) [2021-12-14T21:04:48.954Z] (23/27) Installing libeconf (0.3.8-r1) [2021-12-14T21:04:49.225Z] (24/27) Installing util-linux (2.37.2-r0) [2021-12-14T21:04:49.494Z] (25/27) Installing util-linux-dev (2.37.2-r0) [2021-12-14T21:04:49.494Z] (26/27) Installing libidn2 (2.3.1-r0) [2021-12-14T21:04:49.768Z] (27/27) Installing wget (1.21.1-r1) [2021-12-14T21:04:49.768Z] Executing busybox-1.33.1-r3.trigger [2021-12-14T21:04:49.768Z] OK: 286 MiB in 104 packages [2021-12-14T21:04:51.199Z] Removing intermediate container f6ab7d2c3859 [2021-12-14T21:04:51.199Z] ---> da63a054bce2 [2021-12-14T21:04:51.199Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2021-12-14T21:04:51.199Z] ---> Running in 4244e2527dc9 [2021-12-14T21:04:51.473Z] Removing intermediate container 4244e2527dc9 [2021-12-14T21:04:51.473Z] ---> fe708833c01f [2021-12-14T21:04:51.473Z] 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-14T21:04:51.745Z] ---> Running in 8d73a36c91a1 [2021-12-14T21:04:52.725Z] --2021-12-14 21:04:52-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-12-14T21:04:52.725Z] Resolving github.com (github.com)... 140.82.114.3 [2021-12-14T21:04:52.725Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-12-14T21:04:52.995Z] HTTP request sent, awaiting response... 302 Found [2021-12-14T21:04:52.995Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-12-14T21:04:52.995Z] --2021-12-14 21:04:52-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-12-14T21:04:52.995Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-12-14T21:04:52.995Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-12-14T21:04:53.271Z] HTTP request sent, awaiting response... 200 OK [2021-12-14T21:04:53.271Z] Length: unspecified [application/x-gzip] [2021-12-14T21:04:53.271Z] Saving to: 'STDOUT' [2021-12-14T21:04:53.271Z] [2021-12-14T21:04:53.271Z] 0K .......... .......... .......... .......... .......... 1.20M [2021-12-14T21:04:53.271Z] 50K .......... .......... .......... .......... .......... 2.32M [2021-12-14T21:04:53.271Z] 100K .......... .......... .......... .......... .......... 15.3M [2021-12-14T21:04:53.271Z] 150K .......... .......... .......... .......... .......... 2.80M [2021-12-14T21:04:53.271Z] 200K .......... .......... .......... .......... .......... 13.7M [2021-12-14T21:04:53.271Z] 250K .......... .......... .......... .......... .......... 3.56M [2021-12-14T21:04:53.271Z] 300K .......... .......... .......... .......... .......... 5.08M [2021-12-14T21:04:53.271Z] 350K .......... .......... .......... .......... .......... 3.63M [2021-12-14T21:04:53.271Z] 400K .......... .......... .......... .......... .......... 3.75M [2021-12-14T21:04:53.271Z] 450K .......... .......... .......... .......... .......... 3.79M [2021-12-14T21:04:53.271Z] 500K .......... .......... .......... .......... .......... 6.48M [2021-12-14T21:04:53.271Z] 550K .......... .......... .......... .......... .......... 1.86M [2021-12-14T21:04:53.271Z] 600K .......... .......... .......... .......... .......... 1.03M [2021-12-14T21:04:53.271Z] 650K .......... .......... .......... .......... .......... 2.18M [2021-12-14T21:04:53.271Z] 700K ..     8.38M=0.3s [2021-12-14T21:04:53.271Z] [2021-12-14T21:04:53.271Z] 2021-12-14 21:04:53 (2.71 MB/s) - written to stdout [719348] [2021-12-14T21:04:53.271Z] [2021-12-14T21:04:53.867Z] -- The C compiler identification is GNU 10.3.1 [2021-12-14T21:04:53.867Z] -- The CXX compiler identification is GNU 10.3.1 [2021-12-14T21:04:54.138Z] -- Detecting C compiler ABI info [2021-12-14T21:04:54.138Z] -- Detecting C compiler ABI info - done [2021-12-14T21:04:54.411Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-12-14T21:04:54.411Z] -- Detecting C compile features [2021-12-14T21:04:54.411Z] -- Detecting C compile features - done [2021-12-14T21:04:54.411Z] -- Detecting CXX compiler ABI info [2021-12-14T21:04:54.683Z] -- Detecting CXX compiler ABI info - done [2021-12-14T21:04:54.683Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-12-14T21:04:54.683Z] -- Detecting CXX compile features [2021-12-14T21:04:54.683Z] -- Detecting CXX compile features - done [2021-12-14T21:04:54.683Z] -- Looking for include file endian.h [2021-12-14T21:04:54.957Z] -- Looking for include file endian.h - found [2021-12-14T21:04:54.957Z] -- Looking for sys/types.h [2021-12-14T21:04:55.227Z] -- Looking for sys/types.h - found [2021-12-14T21:04:55.227Z] -- Looking for stdint.h [2021-12-14T21:04:55.501Z] -- Looking for stdint.h - found [2021-12-14T21:04:55.501Z] -- Looking for stddef.h [2021-12-14T21:04:55.776Z] -- Looking for stddef.h - found [2021-12-14T21:04:55.776Z] -- Check size of size_t [2021-12-14T21:04:56.048Z] -- Check size of size_t - done [2021-12-14T21:04:56.048Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-12-14T21:04:56.048Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-12-14T21:04:56.048Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-12-14T21:04:56.048Z] CMake did not find one. [2021-12-14T21:04:56.048Z] [2021-12-14T21:04:56.048Z] Could not find a package configuration file provided by "cJSON" with any of [2021-12-14T21:04:56.048Z] the following names: [2021-12-14T21:04:56.048Z] [2021-12-14T21:04:56.048Z] cJSONConfig.cmake [2021-12-14T21:04:56.048Z] cjson-config.cmake [2021-12-14T21:04:56.048Z] [2021-12-14T21:04:56.048Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-12-14T21:04:56.048Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-12-14T21:04:56.048Z] provides a separate development package or SDK, be sure it has been [2021-12-14T21:04:56.048Z] installed. [2021-12-14T21:04:56.048Z] [2021-12-14T21:04:56.048Z] [2021-12-14T21:04:56.048Z] -- Configuring done [2021-12-14T21:04:56.322Z] -- Generating done [2021-12-14T21:04:56.322Z] -- Build files have been written to: /tmp/cbor [2021-12-14T21:04:56.595Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-12-14T21:04:57.569Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-12-14T21:04:58.161Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-12-14T21:04:58.431Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-12-14T21:04:59.407Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-12-14T21:04:59.407Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-12-14T21:04:59.679Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-12-14T21:04:59.951Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-12-14T21:05:00.224Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-12-14T21:05:00.496Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-12-14T21:05:01.093Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-12-14T21:05:01.683Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-12-14T21:05:01.956Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-12-14T21:05:02.555Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-12-14T21:05:02.827Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-12-14T21:05:03.101Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-12-14T21:05:03.374Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-12-14T21:05:03.645Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-12-14T21:05:03.917Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-12-14T21:05:04.190Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-12-14T21:05:04.463Z] [ 40%] Linking C shared library libcbor.so [2021-12-14T21:05:04.738Z] [ 40%] Built target cbor_shared [2021-12-14T21:05:04.738Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-12-14T21:05:05.710Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-12-14T21:05:06.302Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-12-14T21:05:06.575Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-12-14T21:05:08.552Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-12-14T21:05:08.824Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-12-14T21:05:09.096Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-12-14T21:05:09.367Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-12-14T21:05:09.641Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-12-14T21:05:09.912Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-12-14T21:05:10.888Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-12-14T21:05:11.160Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-12-14T21:05:11.772Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-12-14T21:05:12.365Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-12-14T21:05:12.636Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-12-14T21:05:12.910Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-12-14T21:05:13.180Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-12-14T21:05:13.452Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-12-14T21:05:13.726Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-12-14T21:05:14.320Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-12-14T21:05:14.321Z] [ 80%] Linking C static library libcbor.a [2021-12-14T21:05:14.592Z] [ 80%] Built target cbor [2021-12-14T21:05:14.592Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-12-14T21:05:14.865Z] [ 84%] Linking C executable readfile [2021-12-14T21:05:14.865Z] [ 84%] Built target readfile [2021-12-14T21:05:14.865Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-12-14T21:05:15.138Z] [ 88%] Linking C executable create_items [2021-12-14T21:05:15.411Z] [ 88%] Built target create_items [2021-12-14T21:05:15.411Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-12-14T21:05:15.683Z] [ 92%] Linking C executable sort [2021-12-14T21:05:15.683Z] [ 92%] Built target sort [2021-12-14T21:05:15.683Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-12-14T21:05:15.959Z] [ 96%] Linking C executable hello [2021-12-14T21:05:15.959Z] [ 96%] Built target hello [2021-12-14T21:05:15.959Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-12-14T21:05:16.232Z] [100%] Linking C executable streaming_parser [2021-12-14T21:05:16.503Z] [100%] Built target streaming_parser [2021-12-14T21:05:16.503Z] Install the project... [2021-12-14T21:05:16.503Z] -- Install configuration: "Release" [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/lib/libcbor.a [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/lib/libcbor.so [2021-12-14T21:05:16.503Z] -- Up-to-date: /usr/local/include/cbor [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/data.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/ints.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/maps.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/tags.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/common.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/internal [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor/strings.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/include/cbor.h [2021-12-14T21:05:16.503Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-12-14T21:05:18.476Z] Removing intermediate container 8d73a36c91a1 [2021-12-14T21:05:18.476Z] ---> f076f334d395 [2021-12-14T21:05:18.476Z] Step 8/24 : RUN mkdir /tmp/sdk [2021-12-14T21:05:18.476Z] ---> Running in bb61b1bfd097 [2021-12-14T21:05:19.907Z] Removing intermediate container bb61b1bfd097 [2021-12-14T21:05:19.907Z] ---> 1cd6a03c7731 [2021-12-14T21:05:19.907Z] Step 9/24 : COPY VERSION /tmp/sdk [2021-12-14T21:05:20.498Z] ---> 847f05805235 [2021-12-14T21:05:20.498Z] Step 10/24 : COPY src /tmp/sdk/src [2021-12-14T21:05:21.101Z] ---> 2051b88ba310 [2021-12-14T21:05:21.101Z] Step 11/24 : COPY include /tmp/sdk/include [2021-12-14T21:05:21.692Z] ---> a5f109c553c2 [2021-12-14T21:05:21.692Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2021-12-14T21:05:22.285Z] ---> ded34be1eabc [2021-12-14T21:05:22.285Z] Step 13/24 : COPY LICENSE /tmp/sdk [2021-12-14T21:05:22.879Z] ---> 0c8e52a557d8 [2021-12-14T21:05:22.879Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2021-12-14T21:05:23.475Z] ---> 87c7b746a841 [2021-12-14T21:05:23.475Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-12-14T21:05:23.475Z] ---> Running in 5f4ef269d860 [2021-12-14T21:05:24.449Z] + CPPCHECK=false [2021-12-14T21:05:24.449Z] + DOCGEN=false [2021-12-14T21:05:24.449Z] + TOMLVER=SDK-0.2 [2021-12-14T21:05:24.449Z] + CUTILVER=1.2.2 [2021-12-14T21:05:24.449Z] + '[' 0 -gt 0 ] [2021-12-14T21:05:24.449Z] + readlink -f ./scripts/build.sh [2021-12-14T21:05:24.449Z] + dirname /tmp/sdk/scripts/build.sh [2021-12-14T21:05:24.449Z] + dirname /tmp/sdk/scripts [2021-12-14T21:05:24.449Z] + ROOT=/tmp/sdk [2021-12-14T21:05:24.449Z] + cd /tmp/sdk [2021-12-14T21:05:24.449Z] + '[' '!' -d deps ] [2021-12-14T21:05:24.449Z] + mkdir deps [2021-12-14T21:05:24.449Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-12-14T21:05:24.449Z] + tar -C deps -z -x -f - [2021-12-14T21:05:24.449Z] --2021-12-14 21:05:24-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-12-14T21:05:24.449Z] Resolving github.com (github.com)... 140.82.114.3 [2021-12-14T21:05:24.449Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-12-14T21:05:24.718Z] HTTP request sent, awaiting response... 302 Found [2021-12-14T21:05:24.718Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-12-14T21:05:24.718Z] --2021-12-14 21:05:24-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-12-14T21:05:24.718Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-12-14T21:05:24.718Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-12-14T21:05:24.988Z] HTTP request sent, awaiting response... 200 OK [2021-12-14T21:05:24.988Z] Length: unspecified [application/x-gzip] [2021-12-14T21:05:24.988Z] Saving to: 'STDOUT' [2021-12-14T21:05:24.988Z]  [2021-12-14T21:05:24.988Z] 0K .......... ......    718K=0.02s [2021-12-14T21:05:24.988Z] [2021-12-14T21:05:24.988Z] 2021-12-14 21:05:24 (718 KB/s) - written to stdout [16451] [2021-12-14T21:05:24.988Z] [2021-12-14T21:05:24.988Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-12-14T21:05:24.988Z] + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -z [2021-12-14T21:05:24.988Z] -x -f - [2021-12-14T21:05:24.988Z] --2021-12-14 21:05:24-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-12-14T21:05:24.988Z] Resolving github.com (github.com)... 140.82.114.3 [2021-12-14T21:05:24.988Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-12-14T21:05:25.257Z] HTTP request sent, awaiting response... 302 Found [2021-12-14T21:05:25.257Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-12-14T21:05:25.257Z] --2021-12-14 21:05:25-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-12-14T21:05:25.257Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-12-14T21:05:25.257Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-12-14T21:05:25.528Z] HTTP request sent, awaiting response... 200 OK [2021-12-14T21:05:25.528Z] Length: unspecified [application/x-gzip] [2021-12-14T21:05:25.528Z] Saving to: 'STDOUT' [2021-12-14T21:05:25.528Z]  [2021-12-14T21:05:25.528Z] 0K .......... .......... .......... .......... .......... 1.21M [2021-12-14T21:05:25.528Z] 50K .......... .......... .......... .......... .......... 2.10M [2021-12-14T21:05:25.528Z] 100K .......... .......... .......... .......... .......... 6.90M [2021-12-14T21:05:25.528Z] 150K .......... .......... .......... ......... 2.75M=0.08s [2021-12-14T21:05:25.528Z] [2021-12-14T21:05:25.529Z] 2021-12-14 21:05:25 (2.18 MB/s) - written to stdout [193961] [2021-12-14T21:05:25.529Z] [2021-12-14T21:05:25.529Z] + mkdir -p src/c/iot [2021-12-14T21:05:25.529Z] + 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-14T21:05:25.529Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-12-14T21:05:25.529Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-12-14T21:05:25.529Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-12-14T21:05:25.529Z] + mkdir -p include/iot [2021-12-14T21:05:25.529Z] + 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-14T21:05:25.529Z] + mkdir -p include/iot/os [2021-12-14T21:05:25.529Z] + 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-14T21:05:25.529Z] + mkdir -p /tmp/sdk/build/release [2021-12-14T21:05:25.529Z] + cd /tmp/sdk/build/release [2021-12-14T21:05:25.529Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-12-14T21:05:26.121Z] -- The C compiler identification is GNU 10.3.1 [2021-12-14T21:05:26.121Z] -- Detecting C compiler ABI info [2021-12-14T21:05:26.394Z] -- Detecting C compiler ABI info - done [2021-12-14T21:05:26.394Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-12-14T21:05:26.394Z] -- Detecting C compile features [2021-12-14T21:05:26.394Z] -- Detecting C compile features - done [2021-12-14T21:05:26.394Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-12-14T21:05:26.394Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-12-14T21:05:26.666Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-12-14T21:05:26.666Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-12-14T21:05:26.666Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-12-14T21:05:26.666Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-12-14T21:05:26.666Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-12-14T21:05:26.666Z] -- C SDK 0.0.0 for Linux [2021-12-14T21:05:26.666Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-12-14T21:05:26.938Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-12-14T21:05:26.938Z] -- Found Curses: /usr/lib/libcurses.so [2021-12-14T21:05:27.212Z] -- Configuring done [2021-12-14T21:05:27.483Z] -- Generating done [2021-12-14T21:05:27.483Z] -- Build files have been written to: /tmp/sdk/build/release [2021-12-14T21:05:27.483Z] + + teemake release.log [2021-12-14T21:05:27.483Z] all package [2021-12-14T21:05:27.483Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-12-14T21:05:28.075Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-12-14T21:05:28.666Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-12-14T21:05:31.275Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-12-14T21:05:31.867Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-12-14T21:05:32.141Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-12-14T21:05:33.113Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-12-14T21:05:33.385Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-12-14T21:05:33.657Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-12-14T21:05:35.081Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-12-14T21:05:37.055Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-12-14T21:05:37.649Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-12-14T21:05:38.625Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-12-14T21:05:39.218Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-12-14T21:05:39.490Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-12-14T21:05:39.767Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-12-14T21:05:40.042Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-12-14T21:05:43.420Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-12-14T21:05:43.420Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-12-14T21:05:44.016Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-12-14T21:05:44.288Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-12-14T21:05:44.882Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-12-14T21:05:45.155Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-12-14T21:05:45.155Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-12-14T21:05:45.155Z] 275 | const iot_component_factory_t * factory; [2021-12-14T21:05:45.155Z] | ^~~~~~~ [2021-12-14T21:05:45.749Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-12-14T21:05:51.126Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-12-14T21:05:51.126Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-12-14T21:05:51.126Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-12-14T21:05:51.717Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-12-14T21:05:52.313Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-12-14T21:05:52.313Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-12-14T21:05:53.735Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-12-14T21:05:54.006Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-12-14T21:05:54.599Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-12-14T21:05:55.203Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-12-14T21:05:55.544Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-12-14T21:05:58.267Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-12-14T21:05:58.882Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-12-14T21:05:59.861Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-12-14T21:06:00.137Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-12-14T21:06:05.521Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-12-14T21:06:05.521Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-12-14T21:06:05.796Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-12-14T21:06:06.393Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-12-14T21:06:06.665Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-12-14T21:06:06.665Z] /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-14T21:06:06.665Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-12-14T21:06:06.665Z] | ^~~~~~~~~~~~~ [2021-12-14T21:06:06.665Z] | | [2021-12-14T21:06:06.665Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-12-14T21:06:06.665Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-14T21:06:06.665Z] /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-14T21:06:06.665Z] 2714 | MHD_KeyValueIterator iterator, [2021-12-14T21:06:06.665Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-12-14T21:06:06.665Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-12-14T21:06:06.665Z] /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-14T21:06:06.665Z] 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-14T21:06:06.665Z] | ^~~~~~~~~~~~ [2021-12-14T21:06:06.665Z] | | [2021-12-14T21:06:06.665Z] | 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-14T21:06:06.665Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-14T21:06:06.665Z] /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-14T21:06:06.665Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-12-14T21:06:06.665Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-12-14T21:06:06.665Z] /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-14T21:06:06.665Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-12-14T21:06:06.665Z] | ^~~~~~~~~~~~ [2021-12-14T21:06:06.665Z] | | [2021-12-14T21:06:06.665Z] | 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-14T21:06:06.666Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-14T21:06:06.666Z] /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-14T21:06:06.666Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-12-14T21:06:06.666Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-12-14T21:06:07.259Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-12-14T21:06:09.864Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-12-14T21:06:09.864Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-12-14T21:06:10.459Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-12-14T21:06:10.731Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-12-14T21:06:13.341Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-12-14T21:06:17.621Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-12-14T21:06:17.894Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-12-14T21:06:18.488Z] [ 76%] Linking C shared library libcsdk.so [2021-12-14T21:06:18.488Z] [ 76%] Built target csdk [2021-12-14T21:06:18.761Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-12-14T21:06:19.356Z] [ 79%] Linking C executable template [2021-12-14T21:06:19.629Z] [ 79%] Built target template [2021-12-14T21:06:19.629Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-12-14T21:06:20.224Z] [ 82%] Linking C executable device-counter [2021-12-14T21:06:20.496Z] [ 82%] Built target device-counter [2021-12-14T21:06:20.496Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-12-14T21:06:21.090Z] [ 85%] Linking C executable device-random [2021-12-14T21:06:21.362Z] [ 85%] Built target device-random [2021-12-14T21:06:21.362Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-12-14T21:06:21.957Z] [ 88%] Linking C executable device-gyro [2021-12-14T21:06:21.957Z] [ 88%] Built target device-gyro [2021-12-14T21:06:21.957Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-12-14T21:06:22.551Z] [ 91%] Linking C executable device-bitfields [2021-12-14T21:06:22.824Z] [ 91%] Built target device-bitfields [2021-12-14T21:06:22.824Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-12-14T21:06:23.798Z] [ 94%] Linking C executable template-discovery [2021-12-14T21:06:23.798Z] [ 94%] Built target template-discovery [2021-12-14T21:06:24.069Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-12-14T21:06:24.661Z] [ 97%] Linking C executable device-file [2021-12-14T21:06:24.933Z] [ 97%] Built target device-file [2021-12-14T21:06:24.933Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-12-14T21:06:25.527Z] [100%] Linking C executable device-terminal [2021-12-14T21:06:25.798Z] [100%] Built target device-terminal [2021-12-14T21:06:25.798Z] Run CPack packaging tool... [2021-12-14T21:06:26.070Z] CPack: Create package using TGZ [2021-12-14T21:06:26.070Z] CPack: Install projects [2021-12-14T21:06:26.070Z] CPack: - Run preinstall target for: Csdk [2021-12-14T21:06:26.668Z] CPack: - Install project: Csdk [] [2021-12-14T21:06:26.668Z] CPack: Create package [2021-12-14T21:06:26.941Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-12-14T21:06:26.941Z] + '[' false '=' true ] [2021-12-14T21:06:26.941Z] + '[' false '=' true ] [2021-12-14T21:06:26.941Z] + mkdir -p /tmp/sdk/build/debug [2021-12-14T21:06:26.941Z] + cd /tmp/sdk/build/debug [2021-12-14T21:06:26.941Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-12-14T21:06:27.213Z] -- The C compiler identification is GNU 10.3.1 [2021-12-14T21:06:27.213Z] -- Detecting C compiler ABI info [2021-12-14T21:06:27.488Z] -- Detecting C compiler ABI info - done [2021-12-14T21:06:27.488Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-12-14T21:06:27.488Z] -- Detecting C compile features [2021-12-14T21:06:27.488Z] -- Detecting C compile features - done [2021-12-14T21:06:27.488Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-12-14T21:06:27.763Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-12-14T21:06:27.763Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-12-14T21:06:27.763Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-12-14T21:06:27.763Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-12-14T21:06:27.763Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-12-14T21:06:27.763Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-12-14T21:06:27.763Z] -- C SDK 0.0.0 for Linux [2021-12-14T21:06:27.763Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-12-14T21:06:28.036Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-12-14T21:06:28.308Z] -- Found Curses: /usr/lib/libcurses.so [2021-12-14T21:06:28.308Z] -- Configuring done [2021-12-14T21:06:28.581Z] -- Generating done [2021-12-14T21:06:28.581Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-12-14T21:06:28.581Z] + make [2021-12-14T21:06:28.581Z] + tee debug.log [2021-12-14T21:06:28.581Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-12-14T21:06:29.175Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-12-14T21:06:29.450Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-12-14T21:06:30.045Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-12-14T21:06:30.319Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-12-14T21:06:30.592Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-12-14T21:06:30.865Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-12-14T21:06:31.137Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-12-14T21:06:31.410Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-12-14T21:06:32.005Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-12-14T21:06:32.598Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-12-14T21:06:32.870Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-12-14T21:06:33.145Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-12-14T21:06:33.738Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-12-14T21:06:34.010Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-12-14T21:06:34.010Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-12-14T21:06:34.280Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-12-14T21:06:35.254Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-12-14T21:06:35.525Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-12-14T21:06:35.525Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-12-14T21:06:35.798Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-12-14T21:06:36.075Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-12-14T21:06:36.349Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-12-14T21:06:36.349Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-12-14T21:06:36.349Z] 275 | const iot_component_factory_t * factory; [2021-12-14T21:06:36.349Z] | ^~~~~~~ [2021-12-14T21:06:36.621Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-12-14T21:06:37.588Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-12-14T21:06:37.860Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-12-14T21:06:38.131Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-12-14T21:06:38.401Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-12-14T21:06:38.673Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-12-14T21:06:38.673Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-12-14T21:06:38.945Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-12-14T21:06:39.216Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-12-14T21:06:39.803Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-12-14T21:06:39.803Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-12-14T21:06:40.075Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-12-14T21:06:40.672Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-12-14T21:06:40.672Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-12-14T21:06:41.264Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-12-14T21:06:41.533Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-12-14T21:06:42.502Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-12-14T21:06:43.098Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-12-14T21:06:43.098Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-12-14T21:06:43.375Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-12-14T21:06:43.646Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-12-14T21:06:43.646Z] /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-14T21:06:43.646Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-12-14T21:06:43.646Z] | ^~~~~~~~~~~~~ [2021-12-14T21:06:43.646Z] | | [2021-12-14T21:06:43.646Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-12-14T21:06:43.646Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-14T21:06:43.646Z] /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-14T21:06:43.646Z] 2714 | MHD_KeyValueIterator iterator, [2021-12-14T21:06:43.646Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-12-14T21:06:43.646Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-12-14T21:06:43.646Z] /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-14T21:06:43.646Z] 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-14T21:06:43.646Z] | ^~~~~~~~~~~~ [2021-12-14T21:06:43.646Z] | | [2021-12-14T21:06:43.646Z] | 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-14T21:06:43.646Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-14T21:06:43.646Z] /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-14T21:06:43.646Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-12-14T21:06:43.646Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-12-14T21:06:43.646Z] /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-14T21:06:43.646Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-12-14T21:06:43.646Z] | ^~~~~~~~~~~~ [2021-12-14T21:06:43.646Z] | | [2021-12-14T21:06:43.646Z] | 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-14T21:06:43.646Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-12-14T21:06:43.646Z] /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-14T21:06:43.646Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-12-14T21:06:43.646Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-12-14T21:06:43.917Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-12-14T21:06:45.353Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-12-14T21:06:45.631Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-12-14T21:06:45.901Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-12-14T21:06:46.174Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-12-14T21:06:46.769Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-12-14T21:06:47.734Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-12-14T21:06:48.004Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-12-14T21:06:48.273Z] [ 76%] Linking C shared library libcsdk.so [2021-12-14T21:06:48.543Z] [ 76%] Built target csdk [2021-12-14T21:06:48.543Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-12-14T21:06:48.814Z] [ 79%] Linking C executable template [2021-12-14T21:06:49.082Z] [ 79%] Built target template [2021-12-14T21:06:49.082Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-12-14T21:06:49.351Z] [ 82%] Linking C executable device-counter [2021-12-14T21:06:49.622Z] [ 82%] Built target device-counter [2021-12-14T21:06:49.622Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-12-14T21:06:49.892Z] [ 85%] Linking C executable device-random [2021-12-14T21:06:50.164Z] [ 85%] Built target device-random [2021-12-14T21:06:50.164Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-12-14T21:06:50.434Z] [ 88%] Linking C executable device-gyro [2021-12-14T21:06:50.707Z] [ 88%] Built target device-gyro [2021-12-14T21:06:50.707Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-12-14T21:06:50.980Z] [ 91%] Linking C executable device-bitfields [2021-12-14T21:06:51.252Z] [ 91%] Built target device-bitfields [2021-12-14T21:06:51.252Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-12-14T21:06:51.523Z] [ 94%] Linking C executable template-discovery [2021-12-14T21:06:51.794Z] [ 94%] Built target template-discovery [2021-12-14T21:06:51.794Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-12-14T21:06:52.406Z] [ 97%] Linking C executable device-file [2021-12-14T21:06:52.406Z] [ 97%] Built target device-file [2021-12-14T21:06:52.406Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-12-14T21:06:53.033Z] [100%] Linking C executable device-terminal [2021-12-14T21:06:53.326Z] [100%] Built target device-terminal [2021-12-14T21:06:53.326Z] make: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.326Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.326Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.326Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.326Z] [ 76%] Built target csdk [2021-12-14T21:06:53.326Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.326Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.326Z] [ 79%] Built target template [2021-12-14T21:06:53.604Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.604Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.604Z] [ 82%] Built target device-counter [2021-12-14T21:06:53.604Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.604Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.604Z] [ 85%] Built target device-random [2021-12-14T21:06:53.604Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.604Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.604Z] [ 88%] Built target device-gyro [2021-12-14T21:06:53.604Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.604Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.604Z] [ 91%] Built target device-bitfields [2021-12-14T21:06:53.604Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.604Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.604Z] [ 94%] Built target template-discovery [2021-12-14T21:06:53.604Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.604Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.901Z] [ 97%] Built target device-file [2021-12-14T21:06:53.901Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.901Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.901Z] [100%] Built target device-terminal [2021-12-14T21:06:53.901Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:06:53.901Z] Install the project... [2021-12-14T21:06:53.901Z] -- Install configuration: "Release" [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/lib/libcsdk.so [2021-12-14T21:06:53.901Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-12-14T21:06:53.901Z] -- Up-to-date: /usr/local/include [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/edgex [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/edgex/devices.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/devsdk [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/data.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/config.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/container.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/typecode.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/thread.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/hash.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/iot.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/defs.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/uuid.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/component.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/time.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/logger.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/os [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/json.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/base64.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/include/iot/os.h [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-12-14T21:06:53.901Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-12-14T21:06:53.901Z] make: Leaving directory '/tmp/sdk/build/release' [2021-12-14T21:06:55.882Z] Removing intermediate container 5f4ef269d860 [2021-12-14T21:06:55.882Z] ---> 78fa63c38626 [2021-12-14T21:06:55.882Z] Step 16/24 : FROM ${BASE} [2021-12-14T21:06:55.882Z] ---> b6d714ea7bf2 [2021-12-14T21:06:55.882Z] Step 17/24 : LABEL maintainer="IOTech " [2021-12-14T21:06:55.882Z] ---> Running in 8d6139b381b0 [2021-12-14T21:06:56.153Z] Removing intermediate container 8d6139b381b0 [2021-12-14T21:06:56.153Z] ---> 5c312eae939a [2021-12-14T21:06:56.153Z] 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-14T21:06:56.431Z] ---> Running in 22101b1624ef [2021-12-14T21:06:57.411Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-12-14T21:06:57.681Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-12-14T21:06:57.681Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-12-14T21:06:57.681Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-12-14T21:06:58.281Z] Removing intermediate container 22101b1624ef [2021-12-14T21:06:58.281Z] ---> eb988cff5e35 [2021-12-14T21:06:58.281Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-12-14T21:06:58.556Z] ---> Running in 1115bde65471 [2021-12-14T21:06:59.986Z] Removing intermediate container 1115bde65471 [2021-12-14T21:06:59.986Z] ---> 423a51b02105 [2021-12-14T21:06:59.986Z] 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-14T21:07:00.261Z] ---> Running in dfefb634325d [2021-12-14T21:07:01.244Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-14T21:07:02.220Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-14T21:07:02.490Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-14T21:07:03.084Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-12-14T21:07:03.084Z] (1/7) Installing curl (7.79.1-r0) [2021-12-14T21:07:03.354Z] (2/7) Installing hiredis (1.0.0-r0) [2021-12-14T21:07:03.354Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2021-12-14T21:07:03.354Z] (4/7) Installing libuuid (2.37.2-r0) [2021-12-14T21:07:03.624Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-12-14T21:07:04.593Z] (6/7) Installing libidn2 (2.3.1-r0) [2021-12-14T21:07:04.593Z] (7/7) Installing wget (1.21.1-r1) [2021-12-14T21:07:04.866Z] Executing busybox-1.33.1-r3.trigger [2021-12-14T21:07:04.866Z] OK: 276 MiB in 84 packages [2021-12-14T21:07:05.844Z] Removing intermediate container dfefb634325d [2021-12-14T21:07:05.844Z] ---> da294f400c82 [2021-12-14T21:07:05.844Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-12-14T21:07:06.438Z] ---> f8349796cf57 [2021-12-14T21:07:06.438Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-12-14T21:07:07.042Z] ---> 068fbb50b38d [2021-12-14T21:07:07.042Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-12-14T21:07:07.634Z] ---> d1db87f6afdc [2021-12-14T21:07:07.634Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-12-14T21:07:08.232Z] ---> 24fa203d0b1e [2021-12-14T21:07:08.232Z] Successfully built 24fa203d0b1e [2021-12-14T21:07:08.232Z] 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-14T21:07:08.932Z] + docker inspect -f . ci-base-image-arm64 [2021-12-14T21:07:08.932Z] . [Pipeline] withDockerContainer [2021-12-14T21:07:09.169Z] prd-ubuntu18.04-docker-arm64-4c-16g-866 does not seem to be running inside a container [2021-12-14T21:07:09.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-14T21:07:10.487Z] $ docker top 439ae0b2246cf19f4549c0cd215f35d45b3efb62db7514d6c01eefff587b06d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-14T21:07:11.387Z] + make test [2021-12-14T21:07:11.388Z] echo "make test" [2021-12-14T21:07:11.388Z] make test [Pipeline] } [2021-12-14T21:07:11.424Z] $ docker stop --time=1 439ae0b2246cf19f4549c0cd215f35d45b3efb62db7514d6c01eefff587b06d8 [2021-12-14T21:07:13.062Z] $ docker rm -f 439ae0b2246cf19f4549c0cd215f35d45b3efb62db7514d6c01eefff587b06d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-14T21:07:14.059Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-14T21:07:14.401Z] + ls -al . [2021-12-14T21:07:14.401Z] total 200 [2021-12-14T21:07:14.401Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 21:03 . [2021-12-14T21:07:14.401Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 21:03 .. [2021-12-14T21:07:14.401Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 21:04 .git [2021-12-14T21:07:14.401Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 21:03 .github [2021-12-14T21:07:14.401Z] -rw-rw-r-- 1 jenkins jenkins 176 Dec 14 21:03 .gitignore [2021-12-14T21:07:14.401Z] -rw-rw-r-- 1 jenkins jenkins 3104 Dec 14 21:03 Attribution.txt [2021-12-14T21:07:14.401Z] -rw-rw-r-- 1 jenkins jenkins 7880 Dec 14 21:03 CHANGES [2021-12-14T21:07:14.401Z] -rw-rw-r-- 1 jenkins jenkins 108574 Dec 14 21:03 Doxyfile [2021-12-14T21:07:14.401Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 21:03 GOVERNANCE.md [2021-12-14T21:07:14.401Z] -rw-rw-r-- 1 jenkins jenkins 784 Dec 14 21:03 Jenkinsfile [2021-12-14T21:07:14.401Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 14 21:03 LICENSE [2021-12-14T21:07:14.401Z] -rw-rw-r-- 1 jenkins jenkins 444 Dec 14 21:03 Makefile [2021-12-14T21:07:14.401Z] -rw-rw-r-- 1 jenkins jenkins 618 Dec 14 21:03 OWNERS.md [2021-12-14T21:07:14.401Z] -rw-rw-r-- 1 jenkins jenkins 4086 Dec 14 21:03 README.md [2021-12-14T21:07:14.401Z] -rw-rw-r-- 1 jenkins jenkins 7422 Dec 14 21:03 README.v2.md [2021-12-14T21:07:14.401Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 21:00 VERSION [2021-12-14T21:07:14.401Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 21:03 docs [2021-12-14T21:07:14.401Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 21:03 include [2021-12-14T21:07:14.401Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 21:03 scripts [2021-12-14T21:07:14.401Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 21:03 src [Pipeline] isUnix [Pipeline] sh [2021-12-14T21:07:14.757Z] + 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=dc8742ecb02bdc9fb61c4decdcfae028f2de6039 --label arch=arm64 --label version=0.0.0 . [2021-12-14T21:07:15.026Z] Sending build context to Docker daemon 2.737MB [2021-12-14T21:07:15.026Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-12-14T21:07:15.026Z] Step 2/17 : FROM ${BASE} [2021-12-14T21:07:15.026Z] ---> 24fa203d0b1e [2021-12-14T21:07:15.026Z] Step 3/17 : LABEL maintainer="IOTech " [2021-12-14T21:07:15.294Z] ---> Running in 84bf7e5a46cc [2021-12-14T21:07:15.566Z] Removing intermediate container 84bf7e5a46cc [2021-12-14T21:07:15.566Z] ---> 00cb4c7010d8 [2021-12-14T21:07:15.566Z] 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-14T21:07:15.836Z] ---> Running in 15c323848a68 [2021-12-14T21:07:16.808Z] --2021-12-14 21:07:16-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-12-14T21:07:16.808Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.74.239.58, 54.170.66.44, 54.229.110.245, ... [2021-12-14T21:07:16.808Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.74.239.58|:443... connected. [2021-12-14T21:07:17.079Z] HTTP request sent, awaiting response... 200 OK [2021-12-14T21:07:17.079Z] Length: unspecified [application/json] [2021-12-14T21:07:17.079Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-12-14T21:07:17.079Z]  [2021-12-14T21:07:17.079Z] 0K     42.0M=0s [2021-12-14T21:07:17.079Z] [2021-12-14T21:07:17.079Z] 2021-12-14 21:07:16 (42.0 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-12-14T21:07:17.079Z] [2021-12-14T21:07:17.671Z] Removing intermediate container 15c323848a68 [2021-12-14T21:07:17.671Z] ---> bb376f70f9e6 [2021-12-14T21:07:17.671Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-12-14T21:07:17.945Z] ---> Running in 25c820e5d3ab [2021-12-14T21:07:19.369Z] Removing intermediate container 25c820e5d3ab [2021-12-14T21:07:19.369Z] ---> a5ec24c79720 [2021-12-14T21:07:19.369Z] 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-14T21:07:19.645Z] ---> Running in 81bd200a66c5 [2021-12-14T21:07:20.619Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-14T21:07:21.207Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-14T21:07:21.794Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-14T21:07:22.380Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-12-14T21:07:22.380Z] (1/21) Installing ncurses-dev (6.2_p20210612-r0) [2021-12-14T21:07:22.649Z] (2/21) Installing libblkid (2.37.2-r0) [2021-12-14T21:07:22.649Z] (3/21) Installing blkid (2.37.2-r0) [2021-12-14T21:07:22.649Z] (4/21) Installing libcap-ng (0.8.2-r0) [2021-12-14T21:07:22.919Z] (5/21) Installing setpriv (2.37.2-r0) [2021-12-14T21:07:22.919Z] (6/21) Installing libmount (2.37.2-r0) [2021-12-14T21:07:22.919Z] (7/21) Installing libsmartcols (2.37.2-r0) [2021-12-14T21:07:23.190Z] (8/21) Installing findmnt (2.37.2-r0) [2021-12-14T21:07:23.190Z] (9/21) Installing mcookie (2.37.2-r0) [2021-12-14T21:07:23.190Z] (10/21) Installing hexdump (2.37.2-r0) [2021-12-14T21:07:23.462Z] (11/21) Installing lsblk (2.37.2-r0) [2021-12-14T21:07:23.462Z] (12/21) Installing libfdisk (2.37.2-r0) [2021-12-14T21:07:23.462Z] (13/21) Installing sfdisk (2.37.2-r0) [2021-12-14T21:07:23.734Z] (14/21) Installing cfdisk (2.37.2-r0) [2021-12-14T21:07:23.734Z] (15/21) Installing partx (2.37.2-r0) [2021-12-14T21:07:23.734Z] (16/21) Installing flock (2.37.2-r0) [2021-12-14T21:07:24.003Z] (17/21) Installing logger (2.37.2-r0) [2021-12-14T21:07:24.003Z] (18/21) Installing uuidgen (2.37.2-r0) [2021-12-14T21:07:24.003Z] (19/21) Installing libeconf (0.3.8-r1) [2021-12-14T21:07:24.274Z] (20/21) Installing util-linux (2.37.2-r0) [2021-12-14T21:07:24.547Z] (21/21) Installing util-linux-dev (2.37.2-r0) [2021-12-14T21:07:24.547Z] Executing busybox-1.33.1-r3.trigger [2021-12-14T21:07:24.547Z] OK: 286 MiB in 105 packages [2021-12-14T21:07:25.971Z] Removing intermediate container 81bd200a66c5 [2021-12-14T21:07:25.971Z] ---> 938c2d960e30 [2021-12-14T21:07:25.971Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-12-14T21:07:26.562Z] ---> be53fde8b0a1 [2021-12-14T21:07:26.562Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-12-14T21:07:27.154Z] ---> 5c14bdb12ef5 [2021-12-14T21:07:27.154Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-12-14T21:07:27.749Z] ---> c00893c05f5b [2021-12-14T21:07:27.749Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-12-14T21:07:28.342Z] ---> f0d5ef2dd9bb [2021-12-14T21:07:28.342Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-12-14T21:07:28.935Z] ---> 4f2bddda7b8a [2021-12-14T21:07:28.935Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-12-14T21:07:29.525Z] ---> 9c11055cb2e3 [2021-12-14T21:07:29.525Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-12-14T21:07:29.525Z] ---> Running in c7a0645da943 [2021-12-14T21:07:30.115Z] Removing intermediate container c7a0645da943 [2021-12-14T21:07:30.115Z] ---> 569c6e85b761 [2021-12-14T21:07:30.115Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-12-14T21:07:30.115Z] ---> Running in dda99a8519a7 [2021-12-14T21:07:30.390Z] Removing intermediate container dda99a8519a7 [2021-12-14T21:07:30.390Z] ---> 4bf229510f70 [2021-12-14T21:07:30.390Z] Step 15/17 : LABEL arch=arm64 [2021-12-14T21:07:30.661Z] ---> Running in 7d3cb28c0023 [2021-12-14T21:07:30.930Z] Removing intermediate container 7d3cb28c0023 [2021-12-14T21:07:30.930Z] ---> 1242c2af6bd0 [2021-12-14T21:07:30.930Z] Step 16/17 : LABEL git_sha=dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [2021-12-14T21:07:30.930Z] ---> Running in 74e931ba55ac [2021-12-14T21:07:31.532Z] Removing intermediate container 74e931ba55ac [2021-12-14T21:07:31.532Z] ---> c595d0a5e7e8 [2021-12-14T21:07:31.532Z] Step 17/17 : LABEL version=0.0.0 [2021-12-14T21:07:31.532Z] ---> Running in a82b842e2a10 [2021-12-14T21:07:31.802Z] Removing intermediate container a82b842e2a10 [2021-12-14T21:07:31.802Z] ---> b7827b12a9ea [2021-12-14T21:07:31.802Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-12-14T21:07:31.802Z] Successfully built b7827b12a9ea [2021-12-14T21:07:31.802Z] 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-14T21:07:32.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-14T21:07:32.557Z] [2021-12-14T21:07:32.557Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-14T21:07:32.924Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-14T21:07:33.194Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-14T21:07:33.194Z] 448f6bf000e3: Pulling fs layer [2021-12-14T21:07:33.194Z] f757da607395: Pulling fs layer [2021-12-14T21:07:33.194Z] 05883995daec: Pulling fs layer [2021-12-14T21:07:33.194Z] 8603b9c90790: Pulling fs layer [2021-12-14T21:07:33.194Z] 1560dd03e051: Pulling fs layer [2021-12-14T21:07:33.194Z] 27f5ce0e4adf: Pulling fs layer [2021-12-14T21:07:33.194Z] c2d8d7efcc4b: Pulling fs layer [2021-12-14T21:07:33.194Z] 1560dd03e051: Waiting [2021-12-14T21:07:33.194Z] 27f5ce0e4adf: Waiting [2021-12-14T21:07:33.194Z] c2d8d7efcc4b: Waiting [2021-12-14T21:07:33.194Z] 8603b9c90790: Waiting [2021-12-14T21:07:33.194Z] f757da607395: Verifying Checksum [2021-12-14T21:07:33.194Z] f757da607395: Download complete [2021-12-14T21:07:33.194Z] 8603b9c90790: Verifying Checksum [2021-12-14T21:07:33.194Z] 8603b9c90790: Download complete [2021-12-14T21:07:33.194Z] 1560dd03e051: Verifying Checksum [2021-12-14T21:07:33.194Z] 1560dd03e051: Download complete [2021-12-14T21:07:33.465Z] 27f5ce0e4adf: Download complete [2021-12-14T21:07:33.465Z] 05883995daec: Verifying Checksum [2021-12-14T21:07:33.465Z] 05883995daec: Download complete [2021-12-14T21:07:33.737Z] 448f6bf000e3: Verifying Checksum [2021-12-14T21:07:33.737Z] 448f6bf000e3: Download complete [2021-12-14T21:07:36.341Z] c2d8d7efcc4b: Verifying Checksum [2021-12-14T21:07:36.341Z] c2d8d7efcc4b: Download complete [2021-12-14T21:07:37.405Z] 448f6bf000e3: Pull complete [2021-12-14T21:07:38.048Z] f757da607395: Pull complete [2021-12-14T21:07:39.506Z] 05883995daec: Pull complete [2021-12-14T21:07:39.777Z] 8603b9c90790: Pull complete [2021-12-14T21:07:40.749Z] 1560dd03e051: Pull complete [2021-12-14T21:07:41.021Z] 27f5ce0e4adf: Pull complete [2021-12-14T21:07:56.074Z] c2d8d7efcc4b: Pull complete [2021-12-14T21:07:56.074Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-14T21:07:56.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-14T21:07:56.074Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-14T21:07:56.286Z] prd-ubuntu18.04-docker-arm64-4c-16g-866 does not seem to be running inside a container [2021-12-14T21:07:56.363Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-12-14T21:07:58.899Z] $ docker top 270d5687b8e45a2fd1cee79c7a6e73f3e958014b4e146d3ac3a92ba0a6356ec4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:07:59.842Z] ---> job-cost.sh [2021-12-14T21:07:59.842Z] lf-activate-venv: SKIPPING [2021-12-14T21:07:59.842Z] INFO: No Stack... [2021-12-14T21:08:00.113Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-14T21:08:00.384Z] INFO: Archiving Costs [Pipeline] sh [2021-12-14T21:08:01.064Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2021-12-14T21:08:01.065Z] + cut -d, -f6 [Pipeline] lock [2021-12-14T21:08:01.147Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-390-1-stack-cost] [2021-12-14T21:08:01.152Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-390-1-stack-cost] did not exist. Created. [2021-12-14T21:08:01.153Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-390-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-14T21:08:01.880Z] /w/workspace/device-sdk-c/1@tmp/durable-ee39a464/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-ee39a464/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-14T21:08:02.564Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-14T21:08:02.597Z] Warning: overwriting stash ‘stack-cost’ [2021-12-14T21:08:03.025Z] Stashed 1 file(s) [Pipeline] } [2021-12-14T21:08:03.042Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-390-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-14T21:08:03.115Z] $ docker stop --time=1 270d5687b8e45a2fd1cee79c7a6e73f3e958014b4e146d3ac3a92ba0a6356ec4 [2021-12-14T21:08:04.616Z] $ docker rm -f 270d5687b8e45a2fd1cee79c7a6e73f3e958014b4e146d3ac3a92ba0a6356ec4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-12-14T21:08:06.665Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-390/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:08:07.005Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:08:07.605Z] ---> package-listing.sh [2021-12-14T21:08:07.605Z] ++ facter osfamily [2021-12-14T21:08:07.605Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-14T21:08:07.869Z] + OS_FAMILY=redhat [2021-12-14T21:08:07.869Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-390 [2021-12-14T21:08:07.869Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-14T21:08:07.869Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-14T21:08:07.869Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-14T21:08:07.869Z] + PACKAGES=/tmp/packages_start.txt [2021-12-14T21:08:07.869Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-390 ']' [2021-12-14T21:08:07.869Z] + PACKAGES=/tmp/packages_end.txt [2021-12-14T21:08:07.869Z] + case "${OS_FAMILY}" in [2021-12-14T21:08:07.869Z] + rpm -qa [2021-12-14T21:08:07.869Z] + sort [2021-12-14T21:08:08.440Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-14T21:08:08.440Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-14T21:08:08.440Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-14T21:08:08.440Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-390 ']' [2021-12-14T21:08:08.440Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-390/archives/ [2021-12-14T21:08:08.440Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-390/archives/ [Pipeline] echo [2021-12-14T21:08:08.470Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-390/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-12-14T21:08:08.772Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-14T21:08:09.366Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-14T21:08:09.366Z] [2021-12-14T21:08:09.366Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-14T21:08:09.710Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-14T21:08:09.710Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-14T21:08:09.710Z] b4d181a07f80: Pulling fs layer [2021-12-14T21:08:09.710Z] a1111a8f2ec3: Pulling fs layer [2021-12-14T21:08:09.710Z] ed53099fbce6: Pulling fs layer [2021-12-14T21:08:09.710Z] dc539afda2c1: Pulling fs layer [2021-12-14T21:08:09.710Z] 77bc0d833cb6: Pulling fs layer [2021-12-14T21:08:09.710Z] 9065ff56babe: Pulling fs layer [2021-12-14T21:08:09.710Z] d287ab97295c: Pulling fs layer [2021-12-14T21:08:09.710Z] 77bc0d833cb6: Waiting [2021-12-14T21:08:09.710Z] 9065ff56babe: Waiting [2021-12-14T21:08:09.710Z] d287ab97295c: Waiting [2021-12-14T21:08:09.710Z] dc539afda2c1: Waiting [2021-12-14T21:08:09.710Z] a1111a8f2ec3: Verifying Checksum [2021-12-14T21:08:09.710Z] a1111a8f2ec3: Download complete [2021-12-14T21:08:09.710Z] dc539afda2c1: Verifying Checksum [2021-12-14T21:08:09.710Z] dc539afda2c1: Download complete [2021-12-14T21:08:09.973Z] ed53099fbce6: Verifying Checksum [2021-12-14T21:08:09.973Z] ed53099fbce6: Download complete [2021-12-14T21:08:09.973Z] b4d181a07f80: Verifying Checksum [2021-12-14T21:08:09.973Z] b4d181a07f80: Download complete [2021-12-14T21:08:09.973Z] 9065ff56babe: Verifying Checksum [2021-12-14T21:08:09.973Z] 9065ff56babe: Download complete [2021-12-14T21:08:09.973Z] 77bc0d833cb6: Verifying Checksum [2021-12-14T21:08:09.973Z] 77bc0d833cb6: Download complete [2021-12-14T21:08:10.549Z] d287ab97295c: Verifying Checksum [2021-12-14T21:08:10.549Z] d287ab97295c: Download complete [2021-12-14T21:08:11.512Z] b4d181a07f80: Pull complete [2021-12-14T21:08:11.512Z] a1111a8f2ec3: Pull complete [2021-12-14T21:08:12.091Z] ed53099fbce6: Pull complete [2021-12-14T21:08:12.091Z] dc539afda2c1: Pull complete [2021-12-14T21:08:12.354Z] 77bc0d833cb6: Pull complete [2021-12-14T21:08:12.624Z] 9065ff56babe: Pull complete [2021-12-14T21:08:16.871Z] d287ab97295c: Pull complete [2021-12-14T21:08:16.871Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-14T21:08:16.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-14T21:08:16.871Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-14T21:08:16.956Z] prd-centos7-docker-4c-2g-864 does not seem to be running inside a container [2021-12-14T21:08:16.994Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-390/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-390 -v /w/workspace/edgexfoundry_device-sdk-c_PR-390:/w/workspace/edgexfoundry_device-sdk-c_PR-390:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-14T21:08:19.356Z] $ docker top 2ba60c49c97654bd6a9b19485ea924c6dc8f2c617c94ebe371e775e3acad9c8c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-14T21:08:19.753Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-14T21:08:20.067Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-14T21:08:20.376Z] + ls /var/log/sa-host [2021-12-14T21:08:20.376Z] + sadf -c /var/log/sa-host/sa14 [2021-12-14T21:08:20.376Z] file_magic: OK [2021-12-14T21:08:20.376Z] HZ: Using current value: 100 [2021-12-14T21:08:20.376Z] file_header: OK [2021-12-14T21:08:20.376Z] 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-14T21:08:20.376Z] Statistics: [2021-12-14T21:08:20.376Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-14T21:08:20.376Z] File successfully converted to sysstat format version 12.0.3 [2021-12-14T21:08:20.376Z] + sadf -c /var/log/sa-host/sa17 [2021-12-14T21:08:20.376Z] file_magic: OK [2021-12-14T21:08:20.376Z] HZ: Using current value: 100 [2021-12-14T21:08:20.376Z] file_header: OK [2021-12-14T21:08:20.376Z] 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-14T21:08:20.376Z] Statistics: [2021-12-14T21:08:20.376Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-14T21:08:20.376Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-14T21:08:20.552Z] provisioning config files... [2021-12-14T21:08:20.564Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp/config5144227857855471996tmp [Pipeline] { [Pipeline] echo [2021-12-14T21:08:20.605Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:08:20.937Z] ---> create-netrc.sh [Pipeline] } [2021-12-14T21:08:20.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:08:21.380Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-14T21:08:21.405Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:08:21.720Z] ---> sudo-logs.sh [2021-12-14T21:08:21.720Z] Archiving 'sudo' log.. [2021-12-14T21:08:21.720Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-864.novalocal: Name or service not known [2021-12-14T21:08:21.720Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-864.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-14T21:08:21.784Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:08:22.099Z] ---> job-cost.sh [2021-12-14T21:08:22.099Z] lf-activate-venv: SKIPPING [2021-12-14T21:08:22.099Z] DEBUG: total: 0.10999999940395355 [2021-12-14T21:08:22.099Z] INFO: Retrieving Stack Cost... [2021-12-14T21:08:22.361Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-14T21:08:22.933Z] INFO: Archiving Costs [Pipeline] echo [2021-12-14T21:08:22.961Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:08:23.283Z] ---> logs-deploy.sh [2021-12-14T21:08:23.283Z] lf-activate-venv: SKIPPING [2021-12-14T21:08:23.283Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-390/1 [2021-12-14T21:08:23.283Z] INFO: archiving workspace using pattern(s): [2021-12-14T21:08:24.229Z] Archives upload complete. [2021-12-14T21:08:24.229Z] INFO: archiving logs to Nexus