Pull request #347 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 2fea71294381fad78c8f0af6ca161f02faad0d91+6309ba15ff828e808134537d97827cb51d4f1f0b (ff89d0a0a2a67f1516e805e3af095a57df756f3c) Running in Durability level: MAX_SURVIVABILITY 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh473749038430656560.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7862628047160927572.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 9d0281235b943b7ad605f650702698f9078b2862 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-347/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-347/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh263565473106564885.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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-347/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8145977290253769296.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8219899790905967202.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-347/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-347/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5289938581507396119.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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 9d0281235b943b7ad605f650702698f9078b2862 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_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . 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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-16887 in /w/workspace/edgexfoundry_device-sdk-c_PR-347 [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-347 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/jenkins-gitclient-ssh7393519585912424486.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 6309ba15ff828e808134537d97827cb51d4f1f0b into PR head commit 2fea71294381fad78c8f0af6ca161f02faad0d91 Merge succeeded, producing 2fea71294381fad78c8f0af6ca161f02faad0d91 Checking out Revision 2fea71294381fad78c8f0af6ca161f02faad0d91 (PR-347) > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/jenkins-gitclient-ssh2071717110601575585.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2fea71294381fad78c8f0af6ca161f02faad0d91 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/jenkins-gitclient-ssh4732149573750688587.key > git merge 6309ba15ff828e808134537d97827cb51d4f1f0b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2fea71294381fad78c8f0af6ca161f02faad0d91 # timeout=10 Commit message: "fix: null pointer check for label processing during discovery refactor: microservice names no longer prefixed with edgex- refactor: default ports reassigned fix: operating state field name" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-24T12:46:48.541Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-24T12:46:50.916Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-24T12:46:51.027Z] ========================================================= [2021-05-24T12:46:51.027Z] EdgeX Global Pipelines Version Info [2021-05-24T12:46:51.027Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-24T12:46:52.577Z] ------------------- [2021-05-24T12:46:52.577Z] stable info: [2021-05-24T12:46:52.577Z] ------------------- [2021-05-24T12:46:52.577Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-24T12:46:52.577Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-24T12:46:52.577Z] Message: update stable to v1.0.192 [2021-05-24T12:46:53.202Z] ------------------- [2021-05-24T12:46:53.202Z] experimental info: [2021-05-24T12:46:53.202Z] ------------------- [2021-05-24T12:46:53.202Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-24T12:46:53.202Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-24T12:46:53.202Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-24T12:46:53.519Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-05-24T12:46:55.610Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-05-24T12:46:55.667Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-24T12:46:55.721Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-24T12:46:55.785Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-24T12:46:55.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-05-24T12:46:55.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-05-24T12:46:55.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-05-24T12:46:55.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-24T12:46:56.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-05-24T12:46:56.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-24T12:46:56.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-24T12:46:56.209Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-24T12:46:56.265Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-24T12:46:56.322Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-24T12:46:56.374Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-24T12:46:56.426Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-24T12:46:56.477Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-347 [Pipeline] echo [2021-05-24T12:46:56.532Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-347 [Pipeline] echo [2021-05-24T12:46:56.601Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-347 [Pipeline] echo [2021-05-24T12:46:56.655Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2fea71294381fad78c8f0af6ca161f02faad0d91 [Pipeline] echo [2021-05-24T12:46:56.710Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2fea712 [Pipeline] echo [2021-05-24T12:46:56.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T12:46:59.012Z] provisioning config files... [2021-05-24T12:46:59.030Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/config5315485453444636530tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-24T12:46:59.405Z] ---> docker-login.sh [2021-05-24T12:46:59.405Z] nexus3.edgexfoundry.org:10001 [2021-05-24T12:46:59.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T12:46:59.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T12:46:59.934Z] Configure a credential helper to remove this warning. See [2021-05-24T12:46:59.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T12:46:59.934Z] [2021-05-24T12:46:59.934Z] Login Succeeded [2021-05-24T12:46:59.934Z] nexus3.edgexfoundry.org:10002 [2021-05-24T12:46:59.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T12:46:59.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T12:46:59.934Z] Configure a credential helper to remove this warning. See [2021-05-24T12:46:59.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T12:46:59.934Z] [2021-05-24T12:46:59.934Z] Login Succeeded [2021-05-24T12:46:59.934Z] nexus3.edgexfoundry.org:10003 [2021-05-24T12:47:00.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T12:47:00.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T12:47:00.205Z] Configure a credential helper to remove this warning. See [2021-05-24T12:47:00.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T12:47:00.205Z] [2021-05-24T12:47:00.205Z] Login Succeeded [2021-05-24T12:47:00.205Z] nexus3.edgexfoundry.org:10004 [2021-05-24T12:47:00.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T12:47:00.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T12:47:00.205Z] Configure a credential helper to remove this warning. See [2021-05-24T12:47:00.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T12:47:00.205Z] [2021-05-24T12:47:00.205Z] Login Succeeded [2021-05-24T12:47:00.205Z] docker.io [2021-05-24T12:47:00.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T12:47:00.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T12:47:00.732Z] Configure a credential helper to remove this warning. See [2021-05-24T12:47:00.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T12:47:00.732Z] [2021-05-24T12:47:00.732Z] Login Succeeded [2021-05-24T12:47:00.732Z] ---> docker-login.sh ends [Pipeline] } [2021-05-24T12:47:00.757Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-05-24T12:47:10.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-24T12:47:10.622Z] [2021-05-24T12:47:10.622Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-24T12:47:10.988Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-24T12:47:10.988Z] latest: Pulling from edgex-devops/git-semver [2021-05-24T12:47:10.988Z] 31603596830f: Pulling fs layer [2021-05-24T12:47:10.988Z] 54011a49482f: Pulling fs layer [2021-05-24T12:47:10.988Z] a6820b24f6d8: Pulling fs layer [2021-05-24T12:47:10.988Z] f581987b2513: Pulling fs layer [2021-05-24T12:47:10.988Z] f581987b2513: Waiting [2021-05-24T12:47:10.988Z] 54011a49482f: Verifying Checksum [2021-05-24T12:47:10.988Z] 54011a49482f: Download complete [2021-05-24T12:47:11.251Z] 31603596830f: Verifying Checksum [2021-05-24T12:47:11.251Z] 31603596830f: Download complete [2021-05-24T12:47:11.251Z] a6820b24f6d8: Verifying Checksum [2021-05-24T12:47:11.251Z] a6820b24f6d8: Download complete [2021-05-24T12:47:11.251Z] 31603596830f: Pull complete [2021-05-24T12:47:11.512Z] f581987b2513: Verifying Checksum [2021-05-24T12:47:11.512Z] f581987b2513: Download complete [2021-05-24T12:47:11.512Z] 54011a49482f: Pull complete [2021-05-24T12:47:12.088Z] a6820b24f6d8: Pull complete [2021-05-24T12:47:12.352Z] f581987b2513: Pull complete [2021-05-24T12:47:12.352Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-24T12:47:12.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-24T12:47:12.352Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-24T12:47:12.473Z] prd-centos7-docker-4c-2g-16887 does not seem to be running inside a container [2021-05-24T12:47:12.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-347 -v /w/workspace/edgexfoundry_device-sdk-c_PR-347:/w/workspace/edgexfoundry_device-sdk-c_PR-347:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-24T12:47:14.182Z] $ docker top 453438b6b48218a93c54a5b3aab8a8abcb321ea83e3b6ee9b0866669cd749940 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-24T12:47:14.377Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-24T12:47:14.377Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-24T12:47:14.495Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-24T12:47:14.499Z] $ docker exec 453438b6b48218a93c54a5b3aab8a8abcb321ea83e3b6ee9b0866669cd749940 ssh-agent [2021-05-24T12:47:14.606Z] SSH_AUTH_SOCK=/tmp/ssh-iuy3oO4OvS4h/agent.15 [2021-05-24T12:47:14.606Z] SSH_AGENT_PID=20 [2021-05-24T12:47:14.617Z] Running ssh-add (command line suppressed) [2021-05-24T12:47:14.713Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/private_key_1473059838451923273.key (/w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/private_key_1473059838451923273.key) [2021-05-24T12:47:14.728Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-24T12:47:15.085Z] + git tag --points-at HEAD [Pipeline] } [2021-05-24T12:47:15.123Z] $ docker exec --env ******** --env ******** 453438b6b48218a93c54a5b3aab8a8abcb321ea83e3b6ee9b0866669cd749940 ssh-agent -k [2021-05-24T12:47:15.223Z] unset SSH_AUTH_SOCK; [2021-05-24T12:47:15.223Z] unset SSH_AGENT_PID; [2021-05-24T12:47:15.223Z] echo Agent pid 20 killed; [2021-05-24T12:47:15.233Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-24T12:47:15.318Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-24T12:47:15.318Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-24T12:47:15.422Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-24T12:47:15.426Z] $ docker exec 453438b6b48218a93c54a5b3aab8a8abcb321ea83e3b6ee9b0866669cd749940 ssh-agent [2021-05-24T12:47:15.529Z] SSH_AUTH_SOCK=/tmp/ssh-dKE38NzdvUTr/agent.53 [2021-05-24T12:47:15.529Z] SSH_AGENT_PID=60 [2021-05-24T12:47:15.535Z] Running ssh-add (command line suppressed) [2021-05-24T12:47:15.638Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/private_key_8784018600492555747.key (/w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/private_key_8784018600492555747.key) [2021-05-24T12:47:15.654Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-24T12:47:17.782Z] + git semver init [2021-05-24T12:47:17.782Z] # -> Open(): unable to determine branch for HEAD [2021-05-24T12:47:17.782Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-347/.git [2021-05-24T12:47:17.782Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-347 [2021-05-24T12:47:17.782Z] # $SEMVER_REMOTE_NAME = origin [2021-05-24T12:47:17.782Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-24T12:47:17.782Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-24T12:47:17.782Z] # $SEMVER_BRANCH = PR-347 [2021-05-24T12:47:17.782Z] # $SEMVER_TEMP = /tmp/semver-003303444 [2021-05-24T12:47:17.782Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-05-24T12:47:17.782Z] # '/tmp/semver-003303444' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-347/.semver' [2021-05-24T12:47:17.782Z] # -> Force: false [2021-05-24T12:47:17.782Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-347/.semver [Pipeline] } [2021-05-24T12:47:17.803Z] $ docker exec --env ******** --env ******** 453438b6b48218a93c54a5b3aab8a8abcb321ea83e3b6ee9b0866669cd749940 ssh-agent -k [2021-05-24T12:47:17.891Z] unset SSH_AUTH_SOCK; [2021-05-24T12:47:17.895Z] unset SSH_AGENT_PID; [2021-05-24T12:47:17.895Z] echo Agent pid 60 killed; [2021-05-24T12:47:17.906Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-24T12:47:18.329Z] + git semver [Pipeline] } [2021-05-24T12:47:18.360Z] $ docker stop --time=1 453438b6b48218a93c54a5b3aab8a8abcb321ea83e3b6ee9b0866669cd749940 [2021-05-24T12:47:19.617Z] $ docker rm -f 453438b6b48218a93c54a5b3aab8a8abcb321ea83e3b6ee9b0866669cd749940 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-24T12:47:20.023Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-24T12:47:20.329Z] Stashed 1 file(s) [Pipeline] echo [2021-05-24T12:47:20.354Z] [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-05-24T12:47:37.861Z] Still waiting to schedule task [2021-05-24T12:47:37.861Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-24T12:47:37.890Z] Still waiting to schedule task [2021-05-24T12:47:37.890Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-24T12:49:46.484Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16888 in /w/workspace/edgexfoundry_device-sdk-c_PR-347 [Pipeline] { [Pipeline] ws [2021-05-24T12:49:46.541Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-05-24T12:49:46.804Z] Selected Git installation does not exist. Using Default [2021-05-24T12:49:46.804Z] The recommended git tool is: NONE [2021-05-24T12:49:58.145Z] using credential edgex-jenkins-ssh [2021-05-24T12:49:58.163Z] Cloning the remote Git repository [2021-05-24T12:49:58.205Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-05-24T12:49:58.323Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-05-24T12:49:58.402Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-05-24T12:49:58.403Z] > git --version # timeout=10 [2021-05-24T12:49:58.416Z] > git --version # 'git version 2.17.1' [2021-05-24T12:49:58.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T12:49:58.480Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T12:49:59.427Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-05-24T12:49:59.445Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T12:49:59.477Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-05-24T12:49:59.511Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-05-24T12:49:59.512Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T12:49:59.525Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-24T12:50:00.122Z] Merging remotes/origin/master commit 6309ba15ff828e808134537d97827cb51d4f1f0b into PR head commit 2fea71294381fad78c8f0af6ca161f02faad0d91 [2021-05-24T12:50:00.364Z] Merge succeeded, producing 2fea71294381fad78c8f0af6ca161f02faad0d91 [2021-05-24T12:50:00.364Z] Checking out Revision 2fea71294381fad78c8f0af6ca161f02faad0d91 (PR-347) [2021-05-24T12:50:00.142Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T12:50:00.162Z] > git checkout -f 2fea71294381fad78c8f0af6ca161f02faad0d91 # timeout=10 [2021-05-24T12:50:00.275Z] > git remote # timeout=10 [2021-05-24T12:50:00.293Z] > git config --get remote.origin.url # timeout=10 [2021-05-24T12:50:00.306Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T12:50:00.317Z] > git merge 6309ba15ff828e808134537d97827cb51d4f1f0b # timeout=10 [2021-05-24T12:50:00.344Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-24T12:50:00.369Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T12:50:00.382Z] > git checkout -f 2fea71294381fad78c8f0af6ca161f02faad0d91 # timeout=10 [2021-05-24T12:50:06.615Z] Commit message: "fix: null pointer check for label processing during discovery refactor: microservice names no longer prefixed with edgex- refactor: default ports reassigned fix: operating state field name" [2021-05-24T12:50:06.664Z] > git --version # timeout=10 [2021-05-24T12:50:06.674Z] > git --version # 'git version 2.17.1' [2021-05-24T12:50:06.697Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-24T12:50:08.328Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-24T12:50:08.750Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-24T12:50:10.959Z] + true [2021-05-24T12:50:10.960Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T12:50:31.372Z] provisioning config files... [2021-05-24T12:50:31.403Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config5978502669497629105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-24T12:50:31.824Z] ---> docker-login.sh [2021-05-24T12:50:31.824Z] nexus3.edgexfoundry.org:10001 [2021-05-24T12:50:32.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T12:50:33.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T12:50:33.020Z] Configure a credential helper to remove this warning. See [2021-05-24T12:50:33.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T12:50:33.020Z] [2021-05-24T12:50:33.020Z] Login Succeeded [2021-05-24T12:50:33.020Z] nexus3.edgexfoundry.org:10002 [2021-05-24T12:50:33.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T12:50:33.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T12:50:33.580Z] Configure a credential helper to remove this warning. See [2021-05-24T12:50:33.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T12:50:33.580Z] [2021-05-24T12:50:33.580Z] Login Succeeded [2021-05-24T12:50:33.580Z] nexus3.edgexfoundry.org:10003 [2021-05-24T12:50:33.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T12:50:34.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T12:50:34.133Z] Configure a credential helper to remove this warning. See [2021-05-24T12:50:34.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T12:50:34.133Z] [2021-05-24T12:50:34.133Z] Login Succeeded [2021-05-24T12:50:34.133Z] nexus3.edgexfoundry.org:10004 [2021-05-24T12:50:34.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T12:50:34.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T12:50:34.682Z] Configure a credential helper to remove this warning. See [2021-05-24T12:50:34.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T12:50:34.682Z] [2021-05-24T12:50:34.682Z] Login Succeeded [2021-05-24T12:50:34.682Z] docker.io [2021-05-24T12:50:34.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T12:50:35.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T12:50:35.553Z] Configure a credential helper to remove this warning. See [2021-05-24T12:50:35.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T12:50:35.553Z] [2021-05-24T12:50:35.553Z] Login Succeeded [2021-05-24T12:50:35.553Z] ---> docker-login.sh ends [Pipeline] } [2021-05-24T12:50:35.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-24T12:50:36.173Z] ========================================================= [2021-05-24T12:50:36.173Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-05-24T12:50:36.173Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-24T12:50:38.591Z] + 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-05-24T12:50:39.195Z] Sending build context to Docker daemon 2.684MB [2021-05-24T12:50:39.195Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-05-24T12:50:39.195Z] Step 2/25 : FROM ${BASE} as builder [2021-05-24T12:50:39.195Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-05-24T12:50:39.195Z] 0362ad1dd800: Pulling fs layer [2021-05-24T12:50:39.195Z] f2cdb1532d8b: Pulling fs layer [2021-05-24T12:50:39.195Z] 37ed683be191: Pulling fs layer [2021-05-24T12:50:39.472Z] f2cdb1532d8b: Download complete [2021-05-24T12:50:39.472Z] 0362ad1dd800: Verifying Checksum [2021-05-24T12:50:39.472Z] 0362ad1dd800: Download complete [2021-05-24T12:50:40.075Z] 0362ad1dd800: Pull complete [2021-05-24T12:50:40.686Z] f2cdb1532d8b: Pull complete [2021-05-24T12:50:42.111Z] 37ed683be191: Download complete [2021-05-24T12:50:52.291Z] 37ed683be191: Pull complete [2021-05-24T12:50:52.291Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-05-24T12:50:52.291Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-05-24T12:50:52.291Z] ---> b23d30803547 [2021-05-24T12:50:52.291Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-24T12:50:52.291Z] ---> Running in 6d52fb089498 [2021-05-24T12:50:53.271Z] Connecting to iotech.jfrog.io (54.74.239.58:443) [2021-05-24T12:50:53.547Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-05-24T12:50:53.547Z] [2021-05-24T12:50:54.528Z] Removing intermediate container 6d52fb089498 [2021-05-24T12:50:54.528Z] ---> f499f17a3432 [2021-05-24T12:50:54.528Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-24T12:50:54.528Z] ---> Running in 3529829f5ef7 [2021-05-24T12:50:56.882Z] Removing intermediate container 3529829f5ef7 [2021-05-24T12:50:56.882Z] ---> 21f98f62bd7d [2021-05-24T12:50:56.882Z] Step 5/25 : 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 hiredis-dev [2021-05-24T12:50:56.882Z] ---> Running in d69745b34af7 [2021-05-24T12:50:57.865Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-05-24T12:50:59.301Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-05-24T12:50:59.301Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-05-24T12:50:59.896Z] (1/11) Installing hiredis (0.14.0-r0) [2021-05-24T12:51:00.170Z] (2/11) Installing hiredis-dev (0.14.0-r0) [2021-05-24T12:51:00.170Z] (3/11) Installing ncurses-dev (6.1_p20190105-r0) [2021-05-24T12:51:00.450Z] (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-05-24T12:51:01.880Z] (5/11) Installing libuuid (2.33-r0) [2021-05-24T12:51:01.880Z] (6/11) Installing libblkid (2.33-r0) [2021-05-24T12:51:02.152Z] (7/11) Installing libfdisk (2.33-r0) [2021-05-24T12:51:02.424Z] (8/11) Installing libmount (2.33-r0) [2021-05-24T12:51:02.424Z] (9/11) Installing libsmartcols (2.33-r0) [2021-05-24T12:51:02.424Z] (10/11) Installing util-linux-dev (2.33-r0) [2021-05-24T12:51:02.695Z] (11/11) Installing wget (1.20.3-r0) [2021-05-24T12:51:02.967Z] Executing busybox-1.29.3-r10.trigger [2021-05-24T12:51:02.967Z] OK: 287 MiB in 86 packages [2021-05-24T12:51:04.399Z] Removing intermediate container d69745b34af7 [2021-05-24T12:51:04.399Z] ---> 0e5139bde948 [2021-05-24T12:51:04.399Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-05-24T12:51:04.399Z] ---> Running in 58b57bfa0818 [2021-05-24T12:51:04.998Z] Removing intermediate container 58b57bfa0818 [2021-05-24T12:51:04.998Z] ---> 8a65cdbdafd2 [2021-05-24T12:51:04.998Z] Step 7/25 : 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-05-24T12:51:04.998Z] ---> Running in eac5986af5e7 [2021-05-24T12:51:07.770Z] --2021-05-24 12:51:06-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-05-24T12:51:07.770Z] Resolving github.com... 140.82.114.3 [2021-05-24T12:51:07.770Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-05-24T12:51:07.770Z] HTTP request sent, awaiting response... 302 Found [2021-05-24T12:51:07.770Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-05-24T12:51:07.770Z] --2021-05-24 12:51:06-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-05-24T12:51:07.770Z] Resolving codeload.github.com... 140.82.113.9 [2021-05-24T12:51:07.770Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-05-24T12:51:07.770Z] HTTP request sent, awaiting response... 200 OK [2021-05-24T12:51:07.770Z] Length: unspecified [application/x-gzip] [2021-05-24T12:51:07.770Z] Saving to: 'STDOUT' [2021-05-24T12:51:07.770Z] [2021-05-24T12:51:07.770Z] 0K .......... .......... .......... .......... .......... 1.40M [2021-05-24T12:51:07.770Z] 50K .......... .......... .......... .......... .......... 2.87M [2021-05-24T12:51:07.770Z] 100K .......... .......... .......... .......... .......... 2.91M [2021-05-24T12:51:07.770Z] 150K .......... .......... .......... .......... .......... 13.6M [2021-05-24T12:51:07.770Z] 200K .......... .......... .......... .......... .......... 15.2M [2021-05-24T12:51:07.770Z] 250K .......... .......... .......... .......... .......... 3.42M [2021-05-24T12:51:07.770Z] 300K .......... .......... .......... .......... .......... 4.98M [2021-05-24T12:51:07.770Z] 350K .......... .......... .......... .......... .......... 6.09M [2021-05-24T12:51:07.770Z] 400K .......... .......... .......... .......... .......... 3.74M [2021-05-24T12:51:07.770Z] 450K .......... .......... .......... .......... .......... 4.57M [2021-05-24T12:51:07.770Z] 500K .......... .......... .......... .......... .......... 9.53M [2021-05-24T12:51:07.770Z] 550K .......... .......... .......... .......... .......... 2.62M [2021-05-24T12:51:07.770Z] 600K .......... .......... .......... .......... .......... 906K [2021-05-24T12:51:07.770Z] 650K .......... .......... .......... .......... .......... 2.77M [2021-05-24T12:51:07.770Z] 700K ..   11.2M=0.2s [2021-05-24T12:51:07.770Z] [2021-05-24T12:51:07.770Z] 2021-05-24 12:51:06 (3.01 MB/s) - written to stdout [719348] [2021-05-24T12:51:07.770Z] [2021-05-24T12:51:07.770Z] -- The C compiler identification is GNU 8.3.0 [2021-05-24T12:51:07.770Z] -- The CXX compiler identification is GNU 8.3.0 [2021-05-24T12:51:07.770Z] -- Check for working C compiler: /usr/bin/cc [2021-05-24T12:51:07.770Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-24T12:51:07.770Z] -- Detecting C compiler ABI info [2021-05-24T12:51:08.056Z] -- Detecting C compiler ABI info - done [2021-05-24T12:51:08.056Z] -- Detecting C compile features [2021-05-24T12:51:10.493Z] -- Detecting C compile features - done [2021-05-24T12:51:10.493Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-05-24T12:51:10.493Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-05-24T12:51:10.493Z] -- Detecting CXX compiler ABI info [2021-05-24T12:51:10.493Z] -- Detecting CXX compiler ABI info - done [2021-05-24T12:51:10.493Z] -- Detecting CXX compile features [2021-05-24T12:51:10.768Z] -- Detecting CXX compile features - done [2021-05-24T12:51:10.768Z] -- Looking for include file endian.h [2021-05-24T12:51:11.044Z] -- Looking for include file endian.h - found [2021-05-24T12:51:11.044Z] -- Check if the system is big endian [2021-05-24T12:51:11.044Z] -- Searching 16 bit integer [2021-05-24T12:51:11.044Z] -- Looking for sys/types.h [2021-05-24T12:51:11.320Z] -- Looking for sys/types.h - found [2021-05-24T12:51:11.320Z] -- Looking for stdint.h [2021-05-24T12:51:11.591Z] -- Looking for stdint.h - found [2021-05-24T12:51:11.591Z] -- Looking for stddef.h [2021-05-24T12:51:11.591Z] -- Looking for stddef.h - found [2021-05-24T12:51:11.591Z] -- Check size of unsigned short [2021-05-24T12:51:11.865Z] -- Check size of unsigned short - done [2021-05-24T12:51:11.865Z] -- Using unsigned short [2021-05-24T12:51:12.138Z] -- Check if the system is big endian - little endian [2021-05-24T12:51:12.138Z] -- Check size of size_t [2021-05-24T12:51:12.414Z] -- Check size of size_t - done [2021-05-24T12:51:12.414Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-05-24T12:51:12.414Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-05-24T12:51:12.414Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-05-24T12:51:12.414Z] CMake did not find one. [2021-05-24T12:51:12.414Z] [2021-05-24T12:51:12.414Z] Could not find a package configuration file provided by "cJSON" with any of [2021-05-24T12:51:12.414Z] the following names: [2021-05-24T12:51:12.414Z] [2021-05-24T12:51:12.414Z] cJSONConfig.cmake [2021-05-24T12:51:12.414Z] cjson-config.cmake [2021-05-24T12:51:12.414Z] [2021-05-24T12:51:12.414Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-05-24T12:51:12.414Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-05-24T12:51:12.414Z] provides a separate development package or SDK, be sure it has been [2021-05-24T12:51:12.414Z] installed. [2021-05-24T12:51:12.414Z] [2021-05-24T12:51:12.414Z] [2021-05-24T12:51:12.414Z] -- Configuring done [2021-05-24T12:51:12.689Z] -- Generating done [2021-05-24T12:51:12.689Z] -- Build files have been written to: /tmp/cbor [2021-05-24T12:51:12.959Z] Scanning dependencies of target cbor_shared [2021-05-24T12:51:12.959Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-05-24T12:51:13.400Z] Running on prd-centos7-docker-4c-2g-16889 in /w/workspace/edgexfoundry_device-sdk-c_PR-347 [Pipeline] { [2021-05-24T12:51:15.522Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-05-24T12:51:15.523Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-05-24T12:51:15.523Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-05-24T12:51:15.523Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-05-24T12:51:15.523Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-05-24T12:51:15.523Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-05-24T12:51:15.523Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [Pipeline] ws [2021-05-24T12:51:15.565Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-05-24T12:51:15.727Z] Selected Git installation does not exist. Using Default [2021-05-24T12:51:15.727Z] The recommended git tool is: NONE [2021-05-24T12:51:15.796Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-05-24T12:51:16.082Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-05-24T12:51:18.176Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-05-24T12:51:18.176Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-05-24T12:51:18.176Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-05-24T12:51:18.176Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-05-24T12:51:18.176Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-05-24T12:51:18.176Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-05-24T12:51:18.458Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-05-24T12:51:18.733Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-05-24T12:51:18.733Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-05-24T12:51:19.013Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-05-24T12:51:21.386Z] [ 40%] Linking C shared library libcbor.so [2021-05-24T12:51:21.386Z] [ 40%] Built target cbor_shared [2021-05-24T12:51:21.386Z] Scanning dependencies of target cbor [2021-05-24T12:51:21.386Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-05-24T12:51:21.386Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-05-24T12:51:21.386Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-05-24T12:51:21.386Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-05-24T12:51:21.983Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-05-24T12:51:22.227Z] using credential edgex-jenkins-ssh [2021-05-24T12:51:22.240Z] Cloning the remote Git repository [2021-05-24T12:51:22.260Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-05-24T12:51:22.532Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-05-24T12:51:22.262Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-05-24T12:51:22.341Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-05-24T12:51:22.364Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-05-24T12:51:22.364Z] > git --version # timeout=10 [2021-05-24T12:51:22.381Z] > git --version # 'git version 2.24.4' [2021-05-24T12:51:22.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T12:51:22.442Z] [INFO] Currently running in a labeled security context [2021-05-24T12:51:22.442Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-24T12:51:22.442Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh42801318639130438.key [2021-05-24T12:51:22.478Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T12:51:22.804Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-05-24T12:51:22.804Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-05-24T12:51:23.329Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-05-24T12:51:23.339Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T12:51:24.813Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-05-24T12:51:24.813Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-05-24T12:51:24.813Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-05-24T12:51:24.813Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-05-24T12:51:24.813Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-05-24T12:51:25.089Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-05-24T12:51:25.282Z] Merging remotes/origin/master commit 6309ba15ff828e808134537d97827cb51d4f1f0b into PR head commit 2fea71294381fad78c8f0af6ca161f02faad0d91 [2021-05-24T12:51:24.807Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-05-24T12:51:24.823Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-05-24T12:51:24.824Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T12:51:24.825Z] [INFO] Currently running in a labeled security context [2021-05-24T12:51:24.825Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-24T12:51:24.825Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh838786168688072545.key [2021-05-24T12:51:24.833Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-24T12:51:25.290Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T12:51:25.295Z] > git checkout -f 2fea71294381fad78c8f0af6ca161f02faad0d91 # timeout=10 [2021-05-24T12:51:25.362Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-05-24T12:51:25.373Z] Merge succeeded, producing 2fea71294381fad78c8f0af6ca161f02faad0d91 [2021-05-24T12:51:25.374Z] Checking out Revision 2fea71294381fad78c8f0af6ca161f02faad0d91 (PR-347) [2021-05-24T12:51:25.633Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-05-24T12:51:25.905Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-05-24T12:51:26.179Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-05-24T12:51:26.451Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-05-24T12:51:25.333Z] > git remote # timeout=10 [2021-05-24T12:51:25.339Z] > git config --get remote.origin.url # timeout=10 [2021-05-24T12:51:25.344Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T12:51:25.345Z] [INFO] Currently running in a labeled security context [2021-05-24T12:51:25.345Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-24T12:51:25.345Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh2898295822915815833.key [2021-05-24T12:51:25.356Z] > git merge 6309ba15ff828e808134537d97827cb51d4f1f0b # timeout=10 [2021-05-24T12:51:25.368Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-24T12:51:25.378Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T12:51:25.384Z] > git checkout -f 2fea71294381fad78c8f0af6ca161f02faad0d91 # timeout=10 [2021-05-24T12:51:26.724Z] [ 80%] Linking C static library libcbor.a [2021-05-24T12:51:26.724Z] [ 80%] Built target cbor [2021-05-24T12:51:26.724Z] Scanning dependencies of target create_items [2021-05-24T12:51:26.724Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-05-24T12:51:26.998Z] [ 84%] Linking C executable create_items [2021-05-24T12:51:26.998Z] [ 84%] Built target create_items [2021-05-24T12:51:26.998Z] Scanning dependencies of target readfile [2021-05-24T12:51:26.998Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-05-24T12:51:27.272Z] [ 88%] Linking C executable readfile [2021-05-24T12:51:27.272Z] [ 88%] Built target readfile [2021-05-24T12:51:27.546Z] Scanning dependencies of target streaming_parser [2021-05-24T12:51:27.546Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-05-24T12:51:27.546Z] [ 92%] Linking C executable streaming_parser [2021-05-24T12:51:27.821Z] [ 92%] Built target streaming_parser [2021-05-24T12:51:27.821Z] Scanning dependencies of target sort [2021-05-24T12:51:27.821Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-05-24T12:51:28.094Z] [ 96%] Linking C executable sort [2021-05-24T12:51:28.094Z] [ 96%] Built target sort [2021-05-24T12:51:28.094Z] Scanning dependencies of target hello [2021-05-24T12:51:28.094Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-05-24T12:51:28.367Z] [100%] Linking C executable hello [2021-05-24T12:51:28.367Z] [100%] Built target hello [2021-05-24T12:51:28.367Z] Install the project... [2021-05-24T12:51:28.367Z] -- Install configuration: "Release" [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/lib64/libcbor.a [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/lib64/libcbor.so [2021-05-24T12:51:28.367Z] -- Up-to-date: /usr/local/include/cbor [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/ints.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/data.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/common.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/strings.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/tags.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/internal [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor/maps.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/include/cbor.h [2021-05-24T12:51:28.367Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-05-24T12:51:28.983Z] Commit message: "fix: null pointer check for label processing during discovery refactor: microservice names no longer prefixed with edgex- refactor: default ports reassigned fix: operating state field name" [2021-05-24T12:51:29.007Z] > git --version # timeout=10 [2021-05-24T12:51:29.016Z] > git --version # 'git version 2.24.4' [2021-05-24T12:51:29.072Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [2021-05-24T12:51:31.406Z] Removing intermediate container eac5986af5e7 [2021-05-24T12:51:31.407Z] ---> 83b2698103c7 [2021-05-24T12:51:31.407Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-05-24T12:51:31.407Z] ---> Running in f26e9e34dfa6 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-24T12:51:32.154Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-24T12:51:32.397Z] Removing intermediate container f26e9e34dfa6 [2021-05-24T12:51:32.397Z] ---> 078605c2d6cc [2021-05-24T12:51:32.397Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-05-24T12:51:32.494Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-24T12:51:32.826Z] + sudo service docker restart [2021-05-24T12:51:32.826Z] + true [2021-05-24T12:51:32.826Z] Redirecting to /bin/systemctl restart docker.service [2021-05-24T12:51:33.385Z] ---> fab09d1d1e10 [2021-05-24T12:51:33.386Z] Step 10/25 : COPY src /tmp/sdk/src [2021-05-24T12:51:35.553Z] ---> e25aafc412ee [2021-05-24T12:51:35.554Z] Step 11/25 : COPY include /tmp/sdk/include [2021-05-24T12:51:35.554Z] ---> 6d0275df6ed8 [2021-05-24T12:51:35.554Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-05-24T12:51:35.849Z] ---> 656dc5e800f6 [2021-05-24T12:51:35.849Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-05-24T12:51:36.834Z] ---> 586f50fa225d [2021-05-24T12:51:36.834Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-05-24T12:51:37.428Z] ---> 17573930b9de [2021-05-24T12:51:37.428Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-05-24T12:51:37.428Z] ---> Running in 9be7fe269e55 [2021-05-24T12:51:38.864Z] + CPPCHECK=false [2021-05-24T12:51:38.864Z] + DOCGEN=false [2021-05-24T12:51:38.864Z] + TOMLVER=SDK-0.2 [2021-05-24T12:51:38.864Z] + CUTILVER=1.1.4 [2021-05-24T12:51:38.864Z] + '[' 0 -gt 0 ] [2021-05-24T12:51:38.864Z] + readlink -f ./scripts/build.sh [2021-05-24T12:51:38.864Z] + dirname /tmp/sdk/scripts/build.sh [2021-05-24T12:51:38.864Z] + dirname /tmp/sdk/scripts [2021-05-24T12:51:38.864Z] + ROOT=/tmp/sdk [2021-05-24T12:51:38.864Z] + cd /tmp/sdk [2021-05-24T12:51:38.864Z] + '[' '!' -d deps ] [2021-05-24T12:51:38.864Z] + mkdir deps [2021-05-24T12:51:38.864Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-05-24T12:51:38.864Z] + tar -C deps -z -x -f - [2021-05-24T12:51:38.864Z] --2021-05-24 12:51:38-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-05-24T12:51:38.864Z] Resolving github.com... 140.82.114.3 [2021-05-24T12:51:38.864Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-05-24T12:51:38.864Z] HTTP request sent, awaiting response... 302 Found [2021-05-24T12:51:38.864Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-05-24T12:51:38.864Z] --2021-05-24 12:51:38-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-05-24T12:51:38.864Z] Resolving codeload.github.com... 140.82.113.9 [2021-05-24T12:51:38.864Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-05-24T12:51:38.864Z] HTTP request sent, awaiting response... 200 OK [2021-05-24T12:51:38.864Z] Length: unspecified [application/x-gzip] [2021-05-24T12:51:38.864Z] Saving to: 'STDOUT' [2021-05-24T12:51:38.864Z]  [2021-05-24T12:51:38.864Z] 0K .......... ......  953K=0.02s [2021-05-24T12:51:38.864Z] [2021-05-24T12:51:38.864Z] 2021-05-24 12:51:38 (953 KB/s) - written to stdout [16451] [2021-05-24T12:51:38.864Z] [2021-05-24T12:51:38.864Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-05-24T12:51:38.864Z] + + tar -C deps -z -x -f - [2021-05-24T12:51:38.864Z] wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-05-24T12:51:38.864Z] --2021-05-24 12:51:38-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-05-24T12:51:39.136Z] Resolving github.com... 140.82.114.3 [2021-05-24T12:51:39.136Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-05-24T12:51:39.136Z] HTTP request sent, awaiting response... 302 Found [2021-05-24T12:51:39.136Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-05-24T12:51:39.136Z] --2021-05-24 12:51:39-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-05-24T12:51:39.136Z] Resolving codeload.github.com... 140.82.113.9 [2021-05-24T12:51:39.136Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-05-24T12:51:39.413Z] HTTP request sent, awaiting response... 200 OK [2021-05-24T12:51:39.414Z] Length: unspecified [application/x-gzip] [2021-05-24T12:51:39.414Z] Saving to: 'STDOUT' [2021-05-24T12:51:39.414Z]  [2021-05-24T12:51:39.414Z] 0K .......... .......... .......... .......... .......... 1.59M [2021-05-24T12:51:39.414Z] 50K .......... .......... .......... .......... .......... 3.14M [2021-05-24T12:51:39.414Z] 100K .......... .......... .......... .......... .......... 4.52M [2021-05-24T12:51:39.414Z] 150K .......... .......... ....... 1.61M=0.07s [2021-05-24T12:51:39.414Z] [2021-05-24T12:51:39.414Z] 2021-05-24 12:51:39 (2.35 MB/s) - written to stdout [181796] [2021-05-24T12:51:39.414Z] [2021-05-24T12:51:39.414Z] + mkdir -p src/c/iot [2021-05-24T12:51:39.414Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-05-24T12:51:39.414Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-05-24T12:51:39.414Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-05-24T12:51:39.414Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-05-24T12:51:39.414Z] + mkdir -p include/iot [2021-05-24T12:51:39.414Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-05-24T12:51:39.414Z] + mkdir -p include/iot/os [2021-05-24T12:51:39.414Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-05-24T12:51:39.414Z] + mkdir -p /tmp/sdk/build/release [2021-05-24T12:51:39.414Z] + cd /tmp/sdk/build/release [2021-05-24T12:51:39.414Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-05-24T12:51:39.689Z] -- The C compiler identification is GNU 8.3.0 [2021-05-24T12:51:39.960Z] -- Check for working C compiler: /usr/bin/cc [2021-05-24T12:51:39.960Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-24T12:51:39.960Z] -- Detecting C compiler ABI info [2021-05-24T12:51:40.232Z] -- Detecting C compiler ABI info - done [2021-05-24T12:51:40.232Z] -- Detecting C compile features [2021-05-24T12:51:41.207Z] -- Detecting C compile features - done [2021-05-24T12:51:41.207Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-05-24T12:51:41.207Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-05-24T12:51:41.207Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-05-24T12:51:41.207Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-05-24T12:51:41.207Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-05-24T12:51:41.207Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-05-24T12:51:41.207Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-05-24T12:51:41.207Z] -- C SDK 0.0.0 for Linux [2021-05-24T12:51:41.207Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-05-24T12:51:41.478Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-05-24T12:51:41.478Z] -- Found Curses: /usr/lib/libcurses.so [2021-05-24T12:51:41.478Z] -- Configuring done [2021-05-24T12:51:41.750Z] -- Generating done [2021-05-24T12:51:41.750Z] -- Build files have been written to: /tmp/sdk/build/release [2021-05-24T12:51:41.750Z] + make all package [2021-05-24T12:51:41.750Z] + tee release.log [2021-05-24T12:51:42.022Z] Scanning dependencies of target csdk [2021-05-24T12:51:42.022Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-05-24T12:51:42.613Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-05-24T12:51:43.206Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-05-24T12:51:44.632Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-05-24T12:51:45.609Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-05-24T12:51:45.609Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-05-24T12:51:46.204Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-05-24T12:51:46.796Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-05-24T12:51:46.796Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-05-24T12:51:49.079Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-05-24T12:51:49.352Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-05-24T12:51:49.624Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-05-24T12:51:50.601Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-05-24T12:51:50.874Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-05-24T12:51:51.468Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-05-24T12:51:51.468Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T12:51:51.581Z] provisioning config files... [2021-05-24T12:51:51.597Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7127109786209648638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-24T12:51:51.746Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-05-24T12:51:51.976Z] ---> docker-login.sh [2021-05-24T12:51:51.976Z] nexus3.edgexfoundry.org:10001 [2021-05-24T12:51:52.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T12:51:53.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T12:51:53.237Z] Configure a credential helper to remove this warning. See [2021-05-24T12:51:53.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T12:51:53.237Z] [2021-05-24T12:51:53.237Z] Login Succeeded [2021-05-24T12:51:53.237Z] nexus3.edgexfoundry.org:10002 [2021-05-24T12:51:53.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T12:51:53.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T12:51:53.500Z] Configure a credential helper to remove this warning. See [2021-05-24T12:51:53.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T12:51:53.500Z] [2021-05-24T12:51:53.500Z] Login Succeeded [2021-05-24T12:51:53.500Z] nexus3.edgexfoundry.org:10003 [2021-05-24T12:51:53.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T12:51:53.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T12:51:53.500Z] Configure a credential helper to remove this warning. See [2021-05-24T12:51:53.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T12:51:53.500Z] [2021-05-24T12:51:53.500Z] Login Succeeded [2021-05-24T12:51:53.500Z] nexus3.edgexfoundry.org:10004 [2021-05-24T12:51:53.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T12:51:53.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T12:51:53.764Z] Configure a credential helper to remove this warning. See [2021-05-24T12:51:53.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T12:51:53.764Z] [2021-05-24T12:51:53.764Z] Login Succeeded [2021-05-24T12:51:53.764Z] docker.io [2021-05-24T12:51:53.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T12:51:54.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T12:51:54.026Z] Configure a credential helper to remove this warning. See [2021-05-24T12:51:54.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T12:51:54.026Z] [2021-05-24T12:51:54.026Z] Login Succeeded [2021-05-24T12:51:54.026Z] ---> docker-login.sh ends [Pipeline] } [2021-05-24T12:51:54.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-24T12:51:54.329Z] ========================================================= [2021-05-24T12:51:54.329Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-05-24T12:51:54.329Z] ========================================================= [2021-05-24T12:51:56.410Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-05-24T12:51:56.410Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-05-24T12:51:56.410Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-05-24T12:51:56.410Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-05-24T12:51:56.410Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-05-24T12:51:56.410Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [Pipeline] isUnix [Pipeline] sh [2021-05-24T12:51:56.751Z] + 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-05-24T12:51:56.751Z] Sending build context to Docker daemon 2.685MB [2021-05-24T12:51:56.751Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-05-24T12:51:56.751Z] Step 2/25 : FROM ${BASE} as builder [2021-05-24T12:51:57.331Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-05-24T12:51:57.332Z] e7c96db7181b: Pulling fs layer [2021-05-24T12:51:57.332Z] 4c13bbce0fe7: Pulling fs layer [2021-05-24T12:51:57.332Z] 6059c847ac2f: Pulling fs layer [2021-05-24T12:51:57.332Z] 4c13bbce0fe7: Verifying Checksum [2021-05-24T12:51:57.332Z] 4c13bbce0fe7: Download complete [2021-05-24T12:51:57.332Z] e7c96db7181b: Verifying Checksum [2021-05-24T12:51:57.332Z] e7c96db7181b: Download complete [2021-05-24T12:51:57.594Z] e7c96db7181b: Pull complete [2021-05-24T12:51:58.167Z] 4c13bbce0fe7: Pull complete [2021-05-24T12:51:58.738Z] 6059c847ac2f: Verifying Checksum [2021-05-24T12:51:58.738Z] 6059c847ac2f: Download complete [2021-05-24T12:51:59.022Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-05-24T12:51:59.022Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-05-24T12:51:59.022Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-05-24T12:51:59.617Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-05-24T12:52:00.213Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-05-24T12:52:00.213Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-05-24T12:52:01.190Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-05-24T12:52:01.471Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-05-24T12:52:02.069Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-05-24T12:52:02.340Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-05-24T12:52:04.050Z] 6059c847ac2f: Pull complete [2021-05-24T12:52:04.050Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-05-24T12:52:04.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-05-24T12:52:04.050Z] ---> 5eabd8fd8ba2 [2021-05-24T12:52:04.050Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-24T12:52:04.338Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-05-24T12:52:04.610Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-05-24T12:52:05.205Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-05-24T12:52:05.478Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-05-24T12:52:09.763Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-05-24T12:52:10.050Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-05-24T12:52:10.693Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-05-24T12:52:13.053Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-05-24T12:52:13.053Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-05-24T12:52:13.053Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-05-24T12:52:15.017Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-05-24T12:52:16.884Z] ---> Running in 7e77a87486ef [2021-05-24T12:52:16.884Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2021-05-24T12:52:16.884Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-05-24T12:52:16.884Z] [2021-05-24T12:52:17.149Z] Removing intermediate container 7e77a87486ef [2021-05-24T12:52:17.150Z] ---> 87ea1f24b13b [2021-05-24T12:52:17.150Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-24T12:52:17.414Z] ---> Running in 50ebe35f84f0 [2021-05-24T12:52:18.388Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-05-24T12:52:18.666Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-05-24T12:52:19.259Z] [ 74%] Linking C shared library libcsdk.so [2021-05-24T12:52:19.259Z] [ 74%] Built target csdk [2021-05-24T12:52:19.259Z] Scanning dependencies of target template [2021-05-24T12:52:19.259Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-05-24T12:52:19.332Z] Removing intermediate container 50ebe35f84f0 [2021-05-24T12:52:19.332Z] ---> b62faeaf2ea9 [2021-05-24T12:52:19.332Z] Step 5/25 : 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 hiredis-dev [2021-05-24T12:52:19.332Z] ---> Running in 05491d6c20ed [2021-05-24T12:52:19.853Z] [ 77%] Linking C executable template [2021-05-24T12:52:19.906Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-05-24T12:52:20.128Z] [ 77%] Built target template [2021-05-24T12:52:20.128Z] Scanning dependencies of target device-counter [2021-05-24T12:52:20.128Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-05-24T12:52:20.477Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-05-24T12:52:20.721Z] [ 80%] Linking C executable device-counter [2021-05-24T12:52:20.993Z] [ 80%] Built target device-counter [2021-05-24T12:52:20.993Z] Scanning dependencies of target device-random [2021-05-24T12:52:20.993Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-05-24T12:52:21.049Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-05-24T12:52:21.264Z] [ 84%] Linking C executable device-random [2021-05-24T12:52:21.538Z] [ 84%] Built target device-random [2021-05-24T12:52:21.538Z] Scanning dependencies of target device-gyro [2021-05-24T12:52:21.538Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-05-24T12:52:21.621Z] (1/11) Installing hiredis (0.14.0-r0) [2021-05-24T12:52:21.621Z] (2/11) Installing hiredis-dev (0.14.0-r0) [2021-05-24T12:52:21.621Z] (3/11) Installing ncurses-dev (6.1_p20190105-r0) [2021-05-24T12:52:21.621Z] (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-05-24T12:52:22.135Z] [ 87%] Linking C executable device-gyro [2021-05-24T12:52:22.135Z] [ 87%] Built target device-gyro [2021-05-24T12:52:22.406Z] Scanning dependencies of target device-bitfields [2021-05-24T12:52:22.406Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-05-24T12:52:22.678Z] [ 90%] Linking C executable device-bitfields [2021-05-24T12:52:22.950Z] [ 90%] Built target device-bitfields [2021-05-24T12:52:22.950Z] Scanning dependencies of target template-discovery [2021-05-24T12:52:22.950Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-05-24T12:52:23.025Z] (5/11) Installing libuuid (2.33-r0) [2021-05-24T12:52:23.025Z] (6/11) Installing libblkid (2.33-r0) [2021-05-24T12:52:23.285Z] (7/11) Installing libfdisk (2.33-r0) [2021-05-24T12:52:23.543Z] [ 93%] Linking C executable template-discovery [2021-05-24T12:52:23.546Z] (8/11) Installing libmount (2.33-r0) [2021-05-24T12:52:23.546Z] (9/11) Installing libsmartcols (2.33-r0) [2021-05-24T12:52:23.810Z] (10/11) Installing util-linux-dev (2.33-r0) [2021-05-24T12:52:23.815Z] [ 93%] Built target template-discovery [2021-05-24T12:52:23.815Z] Scanning dependencies of target device-file [2021-05-24T12:52:23.815Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-05-24T12:52:24.072Z] (11/11) Installing wget (1.20.3-r0) [2021-05-24T12:52:24.073Z] Executing busybox-1.29.3-r10.trigger [2021-05-24T12:52:24.073Z] OK: 273 MiB in 86 packages [2021-05-24T12:52:24.407Z] [ 96%] Linking C executable device-file [2021-05-24T12:52:24.681Z] [ 96%] Built target device-file [2021-05-24T12:52:24.681Z] Scanning dependencies of target device-terminal [2021-05-24T12:52:24.681Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-05-24T12:52:25.272Z] [100%] Linking C executable device-terminal [2021-05-24T12:52:27.293Z] Removing intermediate container 05491d6c20ed [2021-05-24T12:52:27.293Z] ---> 114c4de83eba [2021-05-24T12:52:27.293Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-05-24T12:52:27.293Z] ---> Running in 4e05a0bf38d6 [2021-05-24T12:52:27.293Z] Removing intermediate container 4e05a0bf38d6 [2021-05-24T12:52:27.293Z] ---> 2a453dc03e6b [2021-05-24T12:52:27.293Z] Step 7/25 : 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-05-24T12:52:27.301Z] [100%] Built target device-terminal [2021-05-24T12:52:27.301Z] Run CPack packaging tool... [2021-05-24T12:52:27.301Z] CPack: Create package using TGZ [2021-05-24T12:52:27.301Z] CPack: Install projects [2021-05-24T12:52:27.301Z] CPack: - Run preinstall target for: Csdk [2021-05-24T12:52:27.301Z] CPack: - Install project: Csdk [2021-05-24T12:52:27.301Z] CPack: Create package [2021-05-24T12:52:27.301Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-05-24T12:52:27.302Z] + '[' false '=' true ] [2021-05-24T12:52:27.302Z] + '[' false '=' true ] [2021-05-24T12:52:27.302Z] + mkdir -p /tmp/sdk/build/debug [2021-05-24T12:52:27.302Z] + cd /tmp/sdk/build/debug [2021-05-24T12:52:27.302Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-05-24T12:52:27.302Z] -- The C compiler identification is GNU 8.3.0 [2021-05-24T12:52:27.302Z] -- Check for working C compiler: /usr/bin/cc [2021-05-24T12:52:27.302Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-24T12:52:27.302Z] -- Detecting C compiler ABI info [2021-05-24T12:52:27.302Z] -- Detecting C compiler ABI info - done [2021-05-24T12:52:27.302Z] -- Detecting C compile features [2021-05-24T12:52:27.554Z] ---> Running in 02b512ec31dc [2021-05-24T12:52:27.893Z] -- Detecting C compile features - done [2021-05-24T12:52:27.893Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-05-24T12:52:27.893Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-05-24T12:52:27.893Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-05-24T12:52:27.893Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-05-24T12:52:27.893Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-05-24T12:52:27.893Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-05-24T12:52:27.893Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-05-24T12:52:27.894Z] -- C SDK 0.0.0 for Linux [2021-05-24T12:52:27.894Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-05-24T12:52:28.128Z] --2021-05-24 12:52:27-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-05-24T12:52:28.128Z] Resolving github.com... 140.82.113.4 [2021-05-24T12:52:28.128Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-05-24T12:52:28.128Z] HTTP request sent, awaiting response... 302 Found [2021-05-24T12:52:28.128Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-05-24T12:52:28.128Z] --2021-05-24 12:52:28-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-05-24T12:52:28.128Z] Resolving codeload.github.com... 140.82.114.9 [2021-05-24T12:52:28.128Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-05-24T12:52:28.164Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-05-24T12:52:28.164Z] -- Found Curses: /usr/lib/libcurses.so [2021-05-24T12:52:28.164Z] -- Configuring done [2021-05-24T12:52:28.389Z] HTTP request sent, awaiting response... 200 OK [2021-05-24T12:52:28.389Z] Length: unspecified [application/x-gzip] [2021-05-24T12:52:28.389Z] Saving to: 'STDOUT' [2021-05-24T12:52:28.389Z]  [2021-05-24T12:52:28.389Z] 0K .......... .......... .......... .......... .......... 1.61M [2021-05-24T12:52:28.389Z] 50K .......... .......... .......... .......... .......... 3.28M [2021-05-24T12:52:28.389Z] 100K .......... .......... .......... .......... .......... 36.2M [2021-05-24T12:52:28.389Z] 150K .......... .......... .......... .......... .......... 33.9M [2021-05-24T12:52:28.389Z] 200K .......... .......... .......... .......... .......... 3.45M [2021-05-24T12:52:28.389Z] 250K .......... .......... .......... .......... .......... 6.50M [2021-05-24T12:52:28.389Z] 300K .......... .......... .......... .......... .......... 22.9M [2021-05-24T12:52:28.389Z] 350K .......... .......... .......... .......... .......... 13.1M [2021-05-24T12:52:28.389Z] 400K .......... .......... .......... .......... .......... 7.26M [2021-05-24T12:52:28.389Z] 450K .......... .......... .......... .......... .......... 10.7M [2021-05-24T12:52:28.389Z] 500K .......... .......... .......... .......... .......... 17.1M [2021-05-24T12:52:28.389Z] 550K .......... .......... .......... .......... .......... 10.8M [2021-05-24T12:52:28.389Z] 600K .......... .......... .......... .......... .......... 3.93M [2021-05-24T12:52:28.389Z] 650K .......... .......... .......... .......... .......... 6.94M [2021-05-24T12:52:28.389Z] 700K .. 71.1M=0.1s [2021-05-24T12:52:28.389Z] [2021-05-24T12:52:28.389Z] 2021-05-24 12:52:28 (6.04 MB/s) - written to stdout [719348] [2021-05-24T12:52:28.389Z] [2021-05-24T12:52:28.436Z] -- Generating done [2021-05-24T12:52:28.436Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-05-24T12:52:28.436Z] + make [2021-05-24T12:52:28.436Z] + tee debug.log [2021-05-24T12:52:28.436Z] Scanning dependencies of target csdk [2021-05-24T12:52:28.652Z] -- The C compiler identification is GNU 8.3.0 [2021-05-24T12:52:28.652Z] -- The CXX compiler identification is GNU 8.3.0 [2021-05-24T12:52:28.652Z] -- Check for working C compiler: /usr/bin/cc [2021-05-24T12:52:28.652Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-24T12:52:28.652Z] -- Detecting C compiler ABI info [2021-05-24T12:52:28.652Z] -- Detecting C compiler ABI info - done [2021-05-24T12:52:28.652Z] -- Detecting C compile features [2021-05-24T12:52:28.709Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-05-24T12:52:28.922Z] -- Detecting C compile features - done [2021-05-24T12:52:28.922Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-05-24T12:52:28.922Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-05-24T12:52:28.922Z] -- Detecting CXX compiler ABI info [2021-05-24T12:52:28.980Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-05-24T12:52:29.185Z] -- Detecting CXX compiler ABI info - done [2021-05-24T12:52:29.185Z] -- Detecting CXX compile features [2021-05-24T12:52:29.252Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-05-24T12:52:29.448Z] -- Detecting CXX compile features - done [2021-05-24T12:52:29.448Z] -- Looking for include file endian.h [2021-05-24T12:52:29.448Z] -- Looking for include file endian.h - found [2021-05-24T12:52:29.448Z] -- Check if the system is big endian [2021-05-24T12:52:29.448Z] -- Searching 16 bit integer [2021-05-24T12:52:29.448Z] -- Looking for sys/types.h [2021-05-24T12:52:29.712Z] -- Looking for sys/types.h - found [2021-05-24T12:52:29.712Z] -- Looking for stdint.h [2021-05-24T12:52:29.712Z] -- Looking for stdint.h - found [2021-05-24T12:52:29.712Z] -- Looking for stddef.h [2021-05-24T12:52:29.712Z] -- Looking for stddef.h - found [2021-05-24T12:52:29.712Z] -- Check size of unsigned short [2021-05-24T12:52:29.712Z] -- Check size of unsigned short - done [2021-05-24T12:52:29.712Z] -- Using unsigned short [2021-05-24T12:52:29.845Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-05-24T12:52:29.973Z] -- Check if the system is big endian - little endian [2021-05-24T12:52:29.973Z] -- Check size of size_t [2021-05-24T12:52:29.973Z] -- Check size of size_t - done [2021-05-24T12:52:29.973Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-05-24T12:52:29.973Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-05-24T12:52:29.973Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-05-24T12:52:29.973Z] CMake did not find one. [2021-05-24T12:52:29.973Z] [2021-05-24T12:52:29.973Z] Could not find a package configuration file provided by "cJSON" with any of [2021-05-24T12:52:29.973Z] the following names: [2021-05-24T12:52:29.973Z] [2021-05-24T12:52:29.973Z] cJSONConfig.cmake [2021-05-24T12:52:29.973Z] cjson-config.cmake [2021-05-24T12:52:29.973Z] [2021-05-24T12:52:29.973Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-05-24T12:52:29.973Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-05-24T12:52:29.973Z] provides a separate development package or SDK, be sure it has been [2021-05-24T12:52:29.973Z] installed. [2021-05-24T12:52:29.973Z] [2021-05-24T12:52:29.973Z] [2021-05-24T12:52:29.973Z] -- Configuring done [2021-05-24T12:52:30.118Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-05-24T12:52:30.237Z] -- Generating done [2021-05-24T12:52:30.237Z] -- Build files have been written to: /tmp/cbor [2021-05-24T12:52:30.237Z] Scanning dependencies of target cbor_shared [2021-05-24T12:52:30.237Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-05-24T12:52:30.237Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-05-24T12:52:30.390Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-05-24T12:52:30.499Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-05-24T12:52:30.499Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-05-24T12:52:30.499Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-05-24T12:52:30.662Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-05-24T12:52:30.789Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-05-24T12:52:30.789Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-05-24T12:52:30.789Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-05-24T12:52:30.789Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-05-24T12:52:30.789Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-05-24T12:52:30.934Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-05-24T12:52:31.051Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-05-24T12:52:31.051Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-05-24T12:52:31.052Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-05-24T12:52:31.052Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-05-24T12:52:31.207Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-05-24T12:52:31.315Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-05-24T12:52:31.315Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-05-24T12:52:31.315Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-05-24T12:52:31.315Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-05-24T12:52:31.315Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-05-24T12:52:31.482Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-05-24T12:52:31.589Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-05-24T12:52:31.589Z] [ 40%] Linking C shared library libcbor.so [2021-05-24T12:52:31.589Z] [ 40%] Built target cbor_shared [2021-05-24T12:52:31.589Z] Scanning dependencies of target cbor [2021-05-24T12:52:31.589Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-05-24T12:52:31.589Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-05-24T12:52:31.910Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-05-24T12:52:31.910Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-05-24T12:52:31.910Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-05-24T12:52:32.074Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-05-24T12:52:32.175Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-05-24T12:52:32.175Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-05-24T12:52:32.175Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-05-24T12:52:32.175Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-05-24T12:52:32.175Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-05-24T12:52:32.345Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-05-24T12:52:32.437Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-05-24T12:52:32.617Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-05-24T12:52:32.890Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-05-24T12:52:37.931Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-05-24T12:52:37.931Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-05-24T12:52:37.931Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-05-24T12:52:37.931Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-05-24T12:52:37.931Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-05-24T12:52:37.931Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-05-24T12:52:37.931Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-05-24T12:52:37.931Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-05-24T12:52:37.931Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-05-24T12:52:37.931Z] [ 80%] Linking C static library libcbor.a [2021-05-24T12:52:37.931Z] [ 80%] Built target cbor [2021-05-24T12:52:37.931Z] Scanning dependencies of target create_items [2021-05-24T12:52:37.931Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-05-24T12:52:37.931Z] [ 84%] Linking C executable create_items [2021-05-24T12:52:37.931Z] [ 84%] Built target create_items [2021-05-24T12:52:37.931Z] Scanning dependencies of target readfile [2021-05-24T12:52:37.931Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-05-24T12:52:37.931Z] [ 88%] Linking C executable readfile [2021-05-24T12:52:37.931Z] [ 88%] Built target readfile [2021-05-24T12:52:37.931Z] Scanning dependencies of target streaming_parser [2021-05-24T12:52:37.931Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-05-24T12:52:37.932Z] [ 92%] Linking C executable streaming_parser [2021-05-24T12:52:37.932Z] [ 92%] Built target streaming_parser [2021-05-24T12:52:37.932Z] Scanning dependencies of target sort [2021-05-24T12:52:37.932Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-05-24T12:52:37.932Z] [ 96%] Linking C executable sort [2021-05-24T12:52:37.932Z] [ 96%] Built target sort [2021-05-24T12:52:37.932Z] Scanning dependencies of target hello [2021-05-24T12:52:37.932Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-05-24T12:52:37.932Z] [100%] Linking C executable hello [2021-05-24T12:52:37.932Z] [100%] Built target hello [2021-05-24T12:52:37.932Z] Install the project... [2021-05-24T12:52:37.932Z] -- Install configuration: "Release" [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/lib64/libcbor.a [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/lib64/libcbor.so [2021-05-24T12:52:37.932Z] -- Up-to-date: /usr/local/include/cbor [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/common.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/data.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/internal [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/ints.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/maps.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/strings.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor/tags.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/include/cbor.h [2021-05-24T12:52:37.932Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-05-24T12:52:38.193Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-05-24T12:52:38.193Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-05-24T12:52:38.193Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-05-24T12:52:38.193Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-05-24T12:52:38.193Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-05-24T12:52:38.193Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-05-24T12:52:38.193Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-05-24T12:52:38.193Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-05-24T12:52:38.193Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-05-24T12:52:38.193Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-05-24T12:52:38.193Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-05-24T12:52:38.193Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-05-24T12:52:38.193Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-05-24T12:52:38.193Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-05-24T12:52:38.193Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-05-24T12:52:38.193Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-05-24T12:52:38.193Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-05-24T12:52:38.193Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-05-24T12:52:38.193Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-05-24T12:52:38.193Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-05-24T12:52:38.466Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-05-24T12:52:38.883Z] Removing intermediate container 02b512ec31dc [2021-05-24T12:52:38.883Z] ---> 8417350bde93 [2021-05-24T12:52:38.883Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-05-24T12:52:38.883Z] ---> Running in 47e6ae1784be [2021-05-24T12:52:39.058Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-05-24T12:52:39.058Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-05-24T12:52:40.033Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-05-24T12:52:40.274Z] Removing intermediate container 47e6ae1784be [2021-05-24T12:52:40.274Z] ---> fd0dd4b6aa91 [2021-05-24T12:52:40.274Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-05-24T12:52:40.306Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-05-24T12:52:40.535Z] ---> dacec6595e03 [2021-05-24T12:52:40.535Z] Step 10/25 : COPY src /tmp/sdk/src [2021-05-24T12:52:40.579Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-05-24T12:52:40.854Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-05-24T12:52:41.127Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-05-24T12:52:41.932Z] ---> 7b38ba5e49d4 [2021-05-24T12:52:41.932Z] Step 11/25 : COPY include /tmp/sdk/include [2021-05-24T12:52:42.102Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-05-24T12:52:42.282Z] ---> c944b1e68177 [2021-05-24T12:52:42.282Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-05-24T12:52:42.697Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-05-24T12:52:42.936Z] ---> b127fbd0224b [2021-05-24T12:52:42.936Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-05-24T12:52:43.203Z] ---> c5c135eba471 [2021-05-24T12:52:43.203Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-05-24T12:52:43.290Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-05-24T12:52:43.562Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-05-24T12:52:43.776Z] ---> 446c126ff39c [2021-05-24T12:52:43.776Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-05-24T12:52:43.776Z] ---> Running in 75be74660de8 [2021-05-24T12:52:45.775Z] [ 74%] Linking C shared library libcsdk.so [2021-05-24T12:52:45.775Z] [ 74%] Built target csdk [2021-05-24T12:52:45.775Z] Scanning dependencies of target template [2021-05-24T12:52:45.775Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-05-24T12:52:45.775Z] [ 77%] Linking C executable template [2021-05-24T12:52:45.775Z] [ 77%] Built target template [2021-05-24T12:52:45.775Z] Scanning dependencies of target device-counter [2021-05-24T12:52:45.775Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-05-24T12:52:45.775Z] [ 80%] Linking C executable device-counter [2021-05-24T12:52:45.775Z] [ 80%] Built target device-counter [2021-05-24T12:52:45.775Z] Scanning dependencies of target device-random [2021-05-24T12:52:45.775Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-05-24T12:52:45.775Z] [ 84%] Linking C executable device-random [2021-05-24T12:52:45.775Z] [ 84%] Built target device-random [2021-05-24T12:52:45.775Z] Scanning dependencies of target device-gyro [2021-05-24T12:52:45.775Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-05-24T12:52:45.775Z] [ 87%] Linking C executable device-gyro [2021-05-24T12:52:46.019Z] + CPPCHECK=false [2021-05-24T12:52:46.019Z] + DOCGEN=false [2021-05-24T12:52:46.019Z] + TOMLVER=SDK-0.2 [2021-05-24T12:52:46.019Z] + CUTILVER=1.1.4 [2021-05-24T12:52:46.019Z] + '[' 0 -gt 0 ] [2021-05-24T12:52:46.019Z] + readlink -f ./scripts/build.sh [2021-05-24T12:52:46.019Z] + dirname /tmp/sdk/scripts/build.sh [2021-05-24T12:52:46.019Z] + dirname /tmp/sdk/scripts [2021-05-24T12:52:46.019Z] + ROOT=/tmp/sdk [2021-05-24T12:52:46.019Z] + cd /tmp/sdk [2021-05-24T12:52:46.019Z] + '[' '!' -d deps ] [2021-05-24T12:52:46.019Z] + mkdir deps [2021-05-24T12:52:46.019Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-05-24T12:52:46.019Z] + tar -C deps -z -x -f - [2021-05-24T12:52:46.019Z] --2021-05-24 12:52:44-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-05-24T12:52:46.019Z] Resolving github.com... 140.82.113.4 [2021-05-24T12:52:46.019Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-05-24T12:52:46.019Z] HTTP request sent, awaiting response... 302 Found [2021-05-24T12:52:46.019Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-05-24T12:52:46.019Z] --2021-05-24 12:52:44-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-05-24T12:52:46.019Z] Resolving codeload.github.com... 140.82.114.9 [2021-05-24T12:52:46.019Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-05-24T12:52:46.019Z] HTTP request sent, awaiting response... 200 OK [2021-05-24T12:52:46.019Z] Length: unspecified [application/x-gzip] [2021-05-24T12:52:46.019Z] Saving to: 'STDOUT' [2021-05-24T12:52:46.019Z] [2021-05-24T12:52:46.019Z] 0K .......... ......  1.05M=0.01s [2021-05-24T12:52:46.019Z] [2021-05-24T12:52:46.019Z] 2021-05-24 12:52:44 (1.05 MB/s) - written to stdout [16451] [2021-05-24T12:52:46.019Z] [2021-05-24T12:52:46.019Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-05-24T12:52:46.019Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-05-24T12:52:46.019Z] + tar -C deps -z -x -f - [2021-05-24T12:52:46.019Z] --2021-05-24 12:52:44-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-05-24T12:52:46.019Z] Resolving github.com... 140.82.113.4 [2021-05-24T12:52:46.019Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-05-24T12:52:46.019Z] HTTP request sent, awaiting response... 302 Found [2021-05-24T12:52:46.019Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-05-24T12:52:46.019Z] --2021-05-24 12:52:45-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-05-24T12:52:46.019Z] Resolving codeload.github.com... 140.82.114.9 [2021-05-24T12:52:46.019Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-05-24T12:52:46.019Z] HTTP request sent, awaiting response... 200 OK [2021-05-24T12:52:46.019Z] Length: unspecified [application/x-gzip] [2021-05-24T12:52:46.019Z] Saving to: 'STDOUT' [2021-05-24T12:52:46.019Z] [2021-05-24T12:52:46.019Z] 0K .......... .......... .......... .......... .......... 1.50M [2021-05-24T12:52:46.019Z] 50K .......... .......... .......... .......... .......... 3.11M [2021-05-24T12:52:46.019Z] 100K .......... .......... .......... .......... .......... 28.2M [2021-05-24T12:52:46.019Z] 150K .......... .......... ....... 3.97M=0.06s [2021-05-24T12:52:46.019Z] [2021-05-24T12:52:46.019Z] 2021-05-24 12:52:45 (3.06 MB/s) - written to stdout [181796] [2021-05-24T12:52:46.019Z] [2021-05-24T12:52:46.019Z] + mkdir -p src/c/iot [2021-05-24T12:52:46.019Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-05-24T12:52:46.019Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-05-24T12:52:46.019Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-05-24T12:52:46.019Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-05-24T12:52:46.019Z] + mkdir -p include/iot [2021-05-24T12:52:46.019Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-05-24T12:52:46.019Z] + mkdir -p include/iot/os [2021-05-24T12:52:46.019Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-05-24T12:52:46.019Z] + mkdir -p /tmp/sdk/build/release [2021-05-24T12:52:46.019Z] + cd /tmp/sdk/build/release [2021-05-24T12:52:46.019Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-05-24T12:52:46.019Z] -- The C compiler identification is GNU 8.3.0 [2021-05-24T12:52:46.019Z] -- Check for working C compiler: /usr/bin/cc [2021-05-24T12:52:46.019Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-24T12:52:46.019Z] -- Detecting C compiler ABI info [2021-05-24T12:52:46.019Z] -- Detecting C compiler ABI info - done [2021-05-24T12:52:46.019Z] -- Detecting C compile features [2021-05-24T12:52:46.019Z] -- Detecting C compile features - done [2021-05-24T12:52:46.019Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-05-24T12:52:46.019Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-05-24T12:52:46.019Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-05-24T12:52:46.019Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-05-24T12:52:46.019Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-05-24T12:52:46.019Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-05-24T12:52:46.019Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-05-24T12:52:46.019Z] -- C SDK 0.0.0 for Linux [2021-05-24T12:52:46.019Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-05-24T12:52:46.019Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-05-24T12:52:46.019Z] -- Found Curses: /usr/lib/libcurses.so [2021-05-24T12:52:46.019Z] -- Configuring done [2021-05-24T12:52:46.019Z] -- Generating done [2021-05-24T12:52:46.019Z] -- Build files have been written to: /tmp/sdk/build/release [2021-05-24T12:52:46.019Z] + make all package+ [2021-05-24T12:52:46.019Z] tee release.log [2021-05-24T12:52:46.019Z] Scanning dependencies of target csdk [2021-05-24T12:52:46.019Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-05-24T12:52:46.048Z] [ 87%] Built target device-gyro [2021-05-24T12:52:46.048Z] Scanning dependencies of target device-bitfields [2021-05-24T12:52:46.048Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-05-24T12:52:46.282Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-05-24T12:52:46.282Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-05-24T12:52:46.321Z] [ 90%] Linking C executable device-bitfields [2021-05-24T12:52:46.545Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-05-24T12:52:46.592Z] [ 90%] Built target device-bitfields [2021-05-24T12:52:46.592Z] Scanning dependencies of target template-discovery [2021-05-24T12:52:46.592Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-05-24T12:52:46.838Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-05-24T12:52:46.838Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-05-24T12:52:46.838Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-05-24T12:52:46.838Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-05-24T12:52:46.865Z] [ 93%] Linking C executable template-discovery [2021-05-24T12:52:47.100Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-05-24T12:52:47.100Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-05-24T12:52:47.136Z] [ 93%] Built target template-discovery [2021-05-24T12:52:47.136Z] Scanning dependencies of target device-file [2021-05-24T12:52:47.136Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-05-24T12:52:47.362Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-05-24T12:52:47.409Z] [ 96%] Linking C executable device-file [2021-05-24T12:52:47.625Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-05-24T12:52:47.625Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-05-24T12:52:47.625Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-05-24T12:52:47.681Z] [ 96%] Built target device-file [2021-05-24T12:52:47.681Z] Scanning dependencies of target device-terminal [2021-05-24T12:52:47.681Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-05-24T12:52:47.895Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-05-24T12:52:47.895Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-05-24T12:52:47.895Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-05-24T12:52:47.952Z] [100%] Linking C executable device-terminal [2021-05-24T12:52:48.226Z] [100%] Built target device-terminal [2021-05-24T12:52:48.226Z] make: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.226Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.498Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-05-24T12:52:48.498Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-05-24T12:52:48.498Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-05-24T12:52:48.498Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-05-24T12:52:48.498Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-05-24T12:52:48.502Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.502Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.502Z] [ 74%] Built target csdk [2021-05-24T12:52:48.502Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.502Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.502Z] [ 77%] Built target template [2021-05-24T12:52:48.502Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.502Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.502Z] [ 80%] Built target device-counter [2021-05-24T12:52:48.502Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.502Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.502Z] [ 84%] Built target device-random [2021-05-24T12:52:48.502Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.502Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.502Z] [ 87%] Built target device-gyro [2021-05-24T12:52:48.502Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.760Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-05-24T12:52:48.772Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.772Z] [ 90%] Built target device-bitfields [2021-05-24T12:52:48.772Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.772Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.772Z] [ 93%] Built target template-discovery [2021-05-24T12:52:48.772Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.772Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.772Z] [ 96%] Built target device-file [2021-05-24T12:52:48.772Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.772Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.772Z] [100%] Built target device-terminal [2021-05-24T12:52:48.772Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:48.772Z] Install the project... [2021-05-24T12:52:48.772Z] -- Install configuration: "Release" [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/lib/libcsdk.so [2021-05-24T12:52:48.772Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-05-24T12:52:48.772Z] -- Up-to-date: /usr/local/include [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/edgex [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/edgex/devices.h [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/devsdk [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/iot [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/iot/json.h [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/iot/container.h [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/iot/component.h [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/iot/typecode.h [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/iot/iot.h [2021-05-24T12:52:48.772Z] -- Installing: /usr/local/include/iot/time.h [2021-05-24T12:52:48.773Z] -- Installing: /usr/local/include/iot/hash.h [2021-05-24T12:52:48.773Z] -- Installing: /usr/local/include/iot/logger.h [2021-05-24T12:52:48.773Z] -- Installing: /usr/local/include/iot/os [2021-05-24T12:52:48.773Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-05-24T12:52:48.773Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-05-24T12:52:48.773Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-05-24T12:52:48.773Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-05-24T12:52:48.773Z] -- Installing: /usr/local/include/iot/data.h [2021-05-24T12:52:48.773Z] -- Installing: /usr/local/include/iot/thread.h [2021-05-24T12:52:48.773Z] -- Installing: /usr/local/include/iot/os.h [2021-05-24T12:52:48.773Z] -- Installing: /usr/local/include/iot/base64.h [2021-05-24T12:52:48.773Z] -- Installing: /usr/local/include/iot/defs.h [2021-05-24T12:52:48.773Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-05-24T12:52:48.773Z] -- Installing: /usr/local/include/iot/config.h [2021-05-24T12:52:48.773Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-05-24T12:52:48.773Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-05-24T12:52:48.773Z] make: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:49.360Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-05-24T12:52:49.361Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-05-24T12:52:49.361Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-05-24T12:52:49.361Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-05-24T12:52:49.361Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-05-24T12:52:49.625Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-05-24T12:52:49.625Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-05-24T12:52:49.625Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-05-24T12:52:49.892Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-05-24T12:52:49.892Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-05-24T12:52:50.157Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-05-24T12:52:50.423Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-05-24T12:52:50.423Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-05-24T12:52:50.690Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-05-24T12:52:50.780Z] Removing intermediate container 9be7fe269e55 [2021-05-24T12:52:50.780Z] ---> 6d4bd5ed5e9b [2021-05-24T12:52:50.780Z] Step 16/25 : FROM ${BASE} [2021-05-24T12:52:50.780Z] ---> b23d30803547 [2021-05-24T12:52:50.780Z] Step 17/25 : LABEL maintainer="IOTech " [2021-05-24T12:52:51.061Z] ---> Running in 7c81c1ba45c8 [2021-05-24T12:52:53.064Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-05-24T12:52:53.064Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-05-24T12:52:53.064Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-05-24T12:52:53.064Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-05-24T12:52:53.064Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-05-24T12:52:53.064Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-05-24T12:52:53.064Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-05-24T12:52:53.064Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-05-24T12:52:53.064Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-05-24T12:52:53.103Z] Removing intermediate container 7c81c1ba45c8 [2021-05-24T12:52:53.103Z] ---> 7e736821f22d [2021-05-24T12:52:53.103Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-24T12:52:53.103Z] ---> Running in 32bce67a8804 [2021-05-24T12:52:53.103Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2021-05-24T12:52:53.103Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-05-24T12:52:53.103Z] [2021-05-24T12:52:53.331Z] [ 74%] Linking C shared library libcsdk.so [2021-05-24T12:52:53.331Z] [ 74%] Built target csdk [2021-05-24T12:52:53.331Z] Scanning dependencies of target template [2021-05-24T12:52:53.331Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-05-24T12:52:53.331Z] [ 77%] Linking C executable template [2021-05-24T12:52:53.331Z] [ 77%] Built target template [2021-05-24T12:52:53.331Z] Scanning dependencies of target device-counter [2021-05-24T12:52:53.331Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-05-24T12:52:53.595Z] [ 80%] Linking C executable device-counter [2021-05-24T12:52:53.595Z] [ 80%] Built target device-counter [2021-05-24T12:52:53.595Z] Scanning dependencies of target device-random [2021-05-24T12:52:53.595Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-05-24T12:52:53.595Z] [ 84%] Linking C executable device-random [2021-05-24T12:52:53.862Z] [ 84%] Built target device-random [2021-05-24T12:52:53.862Z] Scanning dependencies of target device-gyro [2021-05-24T12:52:53.862Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-05-24T12:52:53.862Z] [ 87%] Linking C executable device-gyro [2021-05-24T12:52:53.862Z] [ 87%] Built target device-gyro [2021-05-24T12:52:53.862Z] Scanning dependencies of target device-bitfields [2021-05-24T12:52:53.862Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-05-24T12:52:53.862Z] [ 90%] Linking C executable device-bitfields [2021-05-24T12:52:54.083Z] Removing intermediate container 32bce67a8804 [2021-05-24T12:52:54.083Z] ---> b4c39994913a [2021-05-24T12:52:54.083Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-24T12:52:54.130Z] [ 90%] Built target device-bitfields [2021-05-24T12:52:54.130Z] Scanning dependencies of target template-discovery [2021-05-24T12:52:54.130Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-05-24T12:52:54.130Z] [ 93%] Linking C executable template-discovery [2021-05-24T12:52:54.130Z] [ 93%] Built target template-discovery [2021-05-24T12:52:54.130Z] Scanning dependencies of target device-file [2021-05-24T12:52:54.130Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-05-24T12:52:54.361Z] ---> Running in f44f6f13f72f [2021-05-24T12:52:54.393Z] [ 96%] Linking C executable device-file [2021-05-24T12:52:54.393Z] [ 96%] Built target device-file [2021-05-24T12:52:54.393Z] Scanning dependencies of target device-terminal [2021-05-24T12:52:54.393Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-05-24T12:52:54.393Z] [100%] Linking C executable device-terminal [2021-05-24T12:52:54.655Z] [100%] Built target device-terminal [2021-05-24T12:52:54.655Z] Run CPack packaging tool... [2021-05-24T12:52:54.655Z] CPack: Create package using TGZ [2021-05-24T12:52:54.655Z] CPack: Install projects [2021-05-24T12:52:54.655Z] CPack: - Run preinstall target for: Csdk [2021-05-24T12:52:54.920Z] CPack: - Install project: Csdk [2021-05-24T12:52:54.921Z] CPack: Create package [2021-05-24T12:52:54.921Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-05-24T12:52:54.921Z] + '[' false '=' true ] [2021-05-24T12:52:54.921Z] + '[' false '=' true ] [2021-05-24T12:52:54.921Z] + mkdir -p /tmp/sdk/build/debug [2021-05-24T12:52:54.921Z] + cd /tmp/sdk/build/debug [2021-05-24T12:52:54.921Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-05-24T12:52:54.921Z] -- The C compiler identification is GNU 8.3.0 [2021-05-24T12:52:54.921Z] -- Check for working C compiler: /usr/bin/cc [2021-05-24T12:52:54.921Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-24T12:52:54.921Z] -- Detecting C compiler ABI info [2021-05-24T12:52:54.921Z] -- Detecting C compiler ABI info - done [2021-05-24T12:52:54.921Z] -- Detecting C compile features [2021-05-24T12:52:55.186Z] -- Detecting C compile features - done [2021-05-24T12:52:55.186Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-05-24T12:52:55.186Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-05-24T12:52:55.186Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-05-24T12:52:55.186Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-05-24T12:52:55.186Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-05-24T12:52:55.186Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-05-24T12:52:55.186Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-05-24T12:52:55.186Z] -- C SDK 0.0.0 for Linux [2021-05-24T12:52:55.186Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-05-24T12:52:55.449Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-05-24T12:52:55.449Z] -- Found Curses: /usr/lib/libcurses.so [2021-05-24T12:52:55.449Z] -- Configuring done [2021-05-24T12:52:55.449Z] -- Generating done [2021-05-24T12:52:55.449Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-05-24T12:52:55.449Z] + make [2021-05-24T12:52:55.449Z] + tee debug.log [2021-05-24T12:52:55.449Z] Scanning dependencies of target csdk [2021-05-24T12:52:55.449Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-05-24T12:52:55.449Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-05-24T12:52:55.714Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-05-24T12:52:55.714Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-05-24T12:52:55.714Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-05-24T12:52:55.714Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-05-24T12:52:55.979Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-05-24T12:52:55.979Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-05-24T12:52:55.979Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-05-24T12:52:55.979Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-05-24T12:52:56.244Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-05-24T12:52:56.244Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-05-24T12:52:56.244Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-05-24T12:52:56.329Z] Removing intermediate container f44f6f13f72f [2021-05-24T12:52:56.329Z] ---> 8b4e407ac975 [2021-05-24T12:52:56.329Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev [2021-05-24T12:52:56.508Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-05-24T12:52:56.508Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-05-24T12:52:56.508Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-05-24T12:52:56.508Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-05-24T12:52:56.600Z] ---> Running in 65bdc1b79c9d [2021-05-24T12:52:56.772Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-05-24T12:52:56.772Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-05-24T12:52:56.772Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-05-24T12:52:56.772Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-05-24T12:52:56.772Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-05-24T12:52:57.036Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-05-24T12:52:57.036Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-05-24T12:52:57.036Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-05-24T12:52:57.303Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-05-24T12:52:57.303Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-05-24T12:52:57.303Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-05-24T12:52:57.303Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-05-24T12:52:57.303Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-05-24T12:52:57.303Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-05-24T12:52:57.565Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-05-24T12:52:57.565Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-05-24T12:52:57.565Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-05-24T12:52:57.565Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-05-24T12:52:57.576Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-05-24T12:52:57.831Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-05-24T12:52:57.831Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-05-24T12:52:57.831Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-05-24T12:52:58.094Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-05-24T12:52:58.094Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-05-24T12:52:58.094Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-05-24T12:52:58.094Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-05-24T12:52:58.366Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-05-24T12:52:58.366Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-05-24T12:52:58.632Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-05-24T12:52:58.632Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-05-24T12:52:58.632Z] [ 74%] Linking C shared library libcsdk.so [2021-05-24T12:52:58.898Z] [ 74%] Built target csdk [2021-05-24T12:52:58.898Z] Scanning dependencies of target template [2021-05-24T12:52:58.898Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-05-24T12:52:58.898Z] [ 77%] Linking C executable template [2021-05-24T12:52:58.898Z] [ 77%] Built target template [2021-05-24T12:52:58.898Z] Scanning dependencies of target device-counter [2021-05-24T12:52:58.898Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-05-24T12:52:58.898Z] [ 80%] Linking C executable device-counter [2021-05-24T12:52:58.898Z] [ 80%] Built target device-counter [2021-05-24T12:52:58.898Z] Scanning dependencies of target device-random [2021-05-24T12:52:58.898Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-05-24T12:52:59.162Z] [ 84%] Linking C executable device-random [2021-05-24T12:52:59.162Z] [ 84%] Built target device-random [2021-05-24T12:52:59.162Z] Scanning dependencies of target device-gyro [2021-05-24T12:52:59.162Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-05-24T12:52:59.162Z] [ 87%] Linking C executable device-gyro [2021-05-24T12:52:59.162Z] [ 87%] Built target device-gyro [2021-05-24T12:52:59.162Z] Scanning dependencies of target device-bitfields [2021-05-24T12:52:59.162Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-05-24T12:52:59.424Z] [ 90%] Linking C executable device-bitfields [2021-05-24T12:52:59.424Z] [ 90%] Built target device-bitfields [2021-05-24T12:52:59.424Z] Scanning dependencies of target template-discovery [2021-05-24T12:52:59.424Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-05-24T12:52:59.424Z] [ 93%] Linking C executable template-discovery [2021-05-24T12:52:59.424Z] [ 93%] Built target template-discovery [2021-05-24T12:52:59.424Z] Scanning dependencies of target device-file [2021-05-24T12:52:59.424Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-05-24T12:52:59.424Z] [ 96%] Linking C executable device-file [2021-05-24T12:52:59.532Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-05-24T12:52:59.689Z] [ 96%] Built target device-file [2021-05-24T12:52:59.690Z] Scanning dependencies of target device-terminal [2021-05-24T12:52:59.690Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-05-24T12:52:59.690Z] [100%] Linking C executable device-terminal [2021-05-24T12:52:59.690Z] [100%] Built target device-terminal [2021-05-24T12:52:59.690Z] make: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.690Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.690Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.690Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.690Z] [ 74%] Built target csdk [2021-05-24T12:52:59.690Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.690Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.690Z] [ 77%] Built target template [2021-05-24T12:52:59.690Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.690Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.690Z] [ 80%] Built target device-counter [2021-05-24T12:52:59.690Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.690Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.954Z] [ 84%] Built target device-random [2021-05-24T12:52:59.954Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.954Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.954Z] [ 87%] Built target device-gyro [2021-05-24T12:52:59.954Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.954Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.954Z] [ 90%] Built target device-bitfields [2021-05-24T12:52:59.954Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.954Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.954Z] [ 93%] Built target template-discovery [2021-05-24T12:52:59.954Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.954Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.954Z] [ 96%] Built target device-file [2021-05-24T12:52:59.954Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.954Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.954Z] [100%] Built target device-terminal [2021-05-24T12:52:59.954Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:52:59.954Z] Install the project... [2021-05-24T12:52:59.954Z] -- Install configuration: "Release" [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/lib/libcsdk.so [2021-05-24T12:52:59.954Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-05-24T12:52:59.954Z] -- Up-to-date: /usr/local/include [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/devsdk [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/edgex [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/edgex/devices.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/base64.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/component.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/config.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/container.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/data.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/hash.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/iot.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/json.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/logger.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/os.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/thread.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/time.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/typecode.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/os [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/include/iot/defs.h [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-05-24T12:52:59.954Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-05-24T12:52:59.954Z] make: Leaving directory '/tmp/sdk/build/release' [2021-05-24T12:53:00.124Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-05-24T12:53:00.714Z] (1/6) Installing curl (7.64.0-r5) [2021-05-24T12:53:00.985Z] (2/6) Installing hiredis (0.14.0-r0) [2021-05-24T12:53:00.985Z] (3/6) Installing hiredis-dev (0.14.0-r0) [2021-05-24T12:53:00.985Z] (4/6) Installing libuuid (2.33-r0) [2021-05-24T12:53:01.256Z] (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-05-24T12:53:02.682Z] (6/6) Installing wget (1.20.3-r0) [2021-05-24T12:53:02.953Z] Executing busybox-1.29.3-r10.trigger [2021-05-24T12:53:02.953Z] OK: 283 MiB in 81 packages [2021-05-24T12:53:04.382Z] Removing intermediate container 65bdc1b79c9d [2021-05-24T12:53:04.382Z] ---> af79b2335993 [2021-05-24T12:53:04.382Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-05-24T12:53:04.979Z] ---> f6c2b75ab279 [2021-05-24T12:53:04.979Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-05-24T12:53:05.266Z] Removing intermediate container 75be74660de8 [2021-05-24T12:53:05.267Z] ---> e1dda73e3547 [2021-05-24T12:53:05.267Z] Step 16/25 : FROM ${BASE} [2021-05-24T12:53:05.267Z] ---> 5eabd8fd8ba2 [2021-05-24T12:53:05.267Z] Step 17/25 : LABEL maintainer="IOTech " [2021-05-24T12:53:05.267Z] ---> Running in bc93a5a24c05 [2021-05-24T12:53:05.267Z] Removing intermediate container bc93a5a24c05 [2021-05-24T12:53:05.267Z] ---> bebc61c6ecfa [2021-05-24T12:53:05.267Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-24T12:53:05.267Z] ---> Running in 0b91242f3843 [2021-05-24T12:53:05.530Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2021-05-24T12:53:07.877Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-05-24T12:53:07.877Z] [2021-05-24T12:53:07.877Z] Removing intermediate container 0b91242f3843 [2021-05-24T12:53:07.877Z] ---> 416fd48c0029 [2021-05-24T12:53:07.877Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-24T12:53:07.877Z] ---> Running in cfc3d279423e [2021-05-24T12:53:07.886Z] ---> 13fd25bae6a0 [2021-05-24T12:53:07.886Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-05-24T12:53:07.886Z] ---> caf0d4918208 [2021-05-24T12:53:07.886Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-05-24T12:53:07.886Z] ---> f0cbe676427f [2021-05-24T12:53:07.886Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-05-24T12:53:08.142Z] Removing intermediate container cfc3d279423e [2021-05-24T12:53:08.142Z] ---> acd1f05e97ed [2021-05-24T12:53:08.142Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev [2021-05-24T12:53:08.156Z] ---> effb6597394f [2021-05-24T12:53:08.405Z] ---> Running in 1df6255d7752 [2021-05-24T12:53:08.427Z] Successfully built effb6597394f [2021-05-24T12:53:08.427Z] 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-05-24T12:53:08.981Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-05-24T12:53:09.202Z] + docker inspect -f . ci-base-image-arm64 [2021-05-24T12:53:09.202Z] . [Pipeline] withDockerContainer [2021-05-24T12:53:09.475Z] prd-ubuntu18.04-docker-arm64-4c-16g-16888 does not seem to be running inside a container [2021-05-24T12:53:09.552Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-24T12:53:09.932Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-05-24T12:53:10.506Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-05-24T12:53:11.089Z] (1/6) Installing curl (7.64.0-r5) [2021-05-24T12:53:11.089Z] (2/6) Installing hiredis (0.14.0-r0) [2021-05-24T12:53:11.206Z] $ docker top bece2f51344cba9e0d980977c745551304a155406d286c398cb4c0949661e280 -eo pid,comm [2021-05-24T12:53:11.351Z] (3/6) Installing hiredis-dev (0.14.0-r0) [2021-05-24T12:53:11.351Z] (4/6) Installing libuuid (2.33-r0) [2021-05-24T12:53:11.351Z] (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [Pipeline] { [Pipeline] sh [2021-05-24T12:53:12.307Z] + make test [2021-05-24T12:53:12.307Z] echo "make test" [2021-05-24T12:53:12.307Z] make test [Pipeline] } [2021-05-24T12:53:12.335Z] $ docker stop --time=1 bece2f51344cba9e0d980977c745551304a155406d286c398cb4c0949661e280 [2021-05-24T12:53:12.748Z] (6/6) Installing wget (1.20.3-r0) [2021-05-24T12:53:15.083Z] $ docker rm -f bece2f51344cba9e0d980977c745551304a155406d286c398cb4c0949661e280 [2021-05-24T12:53:15.154Z] Executing busybox-1.29.3-r10.trigger [2021-05-24T12:53:15.154Z] OK: 269 MiB in 81 packages [2021-05-24T12:53:15.154Z] Removing intermediate container 1df6255d7752 [2021-05-24T12:53:15.154Z] ---> 81c9694fd37d [2021-05-24T12:53:15.154Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-05-24T12:53:15.154Z] ---> 3481dad57c5a [2021-05-24T12:53:15.154Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-05-24T12:53:15.154Z] ---> 1dae86a0a492 [2021-05-24T12:53:15.154Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [Pipeline] // withDockerContainer [Pipeline] } [2021-05-24T12:53:15.438Z] ---> 1031ada475b3 [2021-05-24T12:53:15.438Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-05-24T12:53:17.823Z] ---> 5210d08d3ecf [2021-05-24T12:53:17.823Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-05-24T12:53:17.823Z] ---> fb6561ec08fc [2021-05-24T12:53:17.823Z] Successfully built fb6561ec08fc [2021-05-24T12:53:17.823Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-05-24T12:53:42.712Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-24T12:53:43.084Z] + ls -al . [2021-05-24T12:53:43.084Z] total 192 [2021-05-24T12:53:43.084Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 12:50 . [2021-05-24T12:53:43.084Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 12:49 .. [2021-05-24T12:53:43.084Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 12:50 .git [2021-05-24T12:53:43.084Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 12:50 .github [2021-05-24T12:53:43.084Z] -rw-rw-r-- 1 jenkins jenkins 176 May 24 12:50 .gitignore [2021-05-24T12:53:43.084Z] -rw-rw-r-- 1 jenkins jenkins 3104 May 24 12:50 Attribution.txt [2021-05-24T12:53:43.084Z] -rw-rw-r-- 1 jenkins jenkins 7373 May 24 12:50 CHANGES [2021-05-24T12:53:43.084Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 24 12:50 Doxyfile [2021-05-24T12:53:43.084Z] -rw-rw-r-- 1 jenkins jenkins 784 May 24 12:50 Jenkinsfile [2021-05-24T12:53:43.084Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 24 12:50 LICENSE [2021-05-24T12:53:43.084Z] -rw-rw-r-- 1 jenkins jenkins 444 May 24 12:50 Makefile [2021-05-24T12:53:43.084Z] -rw-rw-r-- 1 jenkins jenkins 4090 May 24 12:50 README.md [2021-05-24T12:53:43.084Z] -rw-rw-r-- 1 jenkins jenkins 6654 May 24 12:50 README.v2.md [2021-05-24T12:53:43.084Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 12:47 VERSION [2021-05-24T12:53:43.084Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 12:50 docs [2021-05-24T12:53:43.084Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 12:50 include [2021-05-24T12:53:43.084Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 12:50 scripts [2021-05-24T12:53:43.084Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 12:50 src [Pipeline] isUnix [Pipeline] sh [2021-05-24T12:53:45.194Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-24T12:53:45.194Z] . [2021-05-24T12:53:45.225Z] + 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=2fea71294381fad78c8f0af6ca161f02faad0d91 --label arch=arm64 --label version=0.0.0 . [2021-05-24T12:53:45.225Z] Sending build context to Docker daemon 2.684MB [2021-05-24T12:53:45.225Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-05-24T12:53:45.225Z] Step 2/17 : FROM ${BASE} [2021-05-24T12:53:45.225Z] ---> effb6597394f [2021-05-24T12:53:45.225Z] Step 3/17 : LABEL maintainer="IOTech " [2021-05-24T12:53:45.225Z] ---> Running in 93e4904ef29c [2021-05-24T12:53:45.225Z] Removing intermediate container 93e4904ef29c [2021-05-24T12:53:45.225Z] ---> dfe0d3b588bc [2021-05-24T12:53:45.225Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-24T12:53:45.225Z] ---> Running in 54b1c4fe9922 [Pipeline] withDockerContainer [2021-05-24T12:53:45.312Z] prd-centos7-docker-4c-2g-16889 does not seem to be running inside a container [2021-05-24T12:53:45.367Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-24T12:53:46.047Z] $ docker top e31001f851a8276bd9d44350dbb4ad39ff53ef368be8f8df76c01653281e3fba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T12:53:46.229Z] --2021-05-24 12:53:45-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-05-24T12:53:46.229Z] Resolving iotech.jfrog.io... 54.74.239.58, 54.72.115.12, 34.243.182.113 [2021-05-24T12:53:46.229Z] Connecting to iotech.jfrog.io|54.74.239.58|:443... connected. [2021-05-24T12:53:46.501Z] HTTP request sent, awaiting response... 200 OK [2021-05-24T12:53:46.501Z] Length: 451 [application/octet-stream] [2021-05-24T12:53:46.501Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-05-24T12:53:46.501Z] [2021-05-24T12:53:46.501Z] 0K     100% 18.5M=0s [2021-05-24T12:53:46.501Z] [2021-05-24T12:53:46.501Z] 2021-05-24 12:53:46 (18.5 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-05-24T12:53:46.501Z] [2021-05-24T12:53:46.520Z] + make test [2021-05-24T12:53:46.520Z] echo "make test" [2021-05-24T12:53:46.520Z] make test [Pipeline] } [2021-05-24T12:53:46.548Z] $ docker stop --time=1 e31001f851a8276bd9d44350dbb4ad39ff53ef368be8f8df76c01653281e3fba [2021-05-24T12:53:47.476Z] Removing intermediate container 54b1c4fe9922 [2021-05-24T12:53:47.476Z] ---> d037dad31c4a [2021-05-24T12:53:47.476Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-24T12:53:47.748Z] ---> Running in 22b4958839aa [2021-05-24T12:53:48.043Z] $ docker rm -f e31001f851a8276bd9d44350dbb4ad39ff53ef368be8f8df76c01653281e3fba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-05-24T12:53:50.715Z] Removing intermediate container 22b4958839aa [2021-05-24T12:53:50.715Z] ---> 4234f5bbef9a [2021-05-24T12:53:50.715Z] 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 hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-05-24T12:53:50.715Z] ---> Running in 44d5d73de002 [Pipeline] sh [2021-05-24T12:53:50.986Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-05-24T12:53:51.013Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-24T12:53:51.329Z] + ls -al . [2021-05-24T12:53:51.329Z] total 160 [2021-05-24T12:53:51.329Z] drwxrwxr-x. 8 jenkins jenkins 260 May 24 12:51 . [2021-05-24T12:53:51.329Z] drwxrwxr-x. 4 jenkins jenkins 28 May 24 12:51 .. [2021-05-24T12:53:51.329Z] -rw-rw-r--. 1 jenkins jenkins 3104 May 24 12:51 Attribution.txt [2021-05-24T12:53:51.329Z] -rw-rw-r--. 1 jenkins jenkins 7373 May 24 12:51 CHANGES [2021-05-24T12:53:51.329Z] drwxrwxr-x. 2 jenkins jenkins 121 May 24 12:51 docs [2021-05-24T12:53:51.329Z] -rw-rw-r--. 1 jenkins jenkins 108574 May 24 12:51 Doxyfile [2021-05-24T12:53:51.329Z] drwxrwxr-x. 8 jenkins jenkins 179 May 24 12:51 .git [2021-05-24T12:53:51.329Z] drwxrwxr-x. 2 jenkins jenkins 81 May 24 12:51 .github [2021-05-24T12:53:51.329Z] -rw-rw-r--. 1 jenkins jenkins 176 May 24 12:51 .gitignore [2021-05-24T12:53:51.329Z] drwxrwxr-x. 4 jenkins jenkins 33 May 24 12:51 include [2021-05-24T12:53:51.329Z] -rw-rw-r--. 1 jenkins jenkins 784 May 24 12:51 Jenkinsfile [2021-05-24T12:53:51.329Z] -rw-rw-r--. 1 jenkins jenkins 10174 May 24 12:51 LICENSE [2021-05-24T12:53:51.329Z] -rw-rw-r--. 1 jenkins jenkins 444 May 24 12:51 Makefile [2021-05-24T12:53:51.329Z] -rw-rw-r--. 1 jenkins jenkins 4090 May 24 12:51 README.md [2021-05-24T12:53:51.329Z] -rw-rw-r--. 1 jenkins jenkins 6654 May 24 12:51 README.v2.md [2021-05-24T12:53:51.329Z] drwxrwxr-x. 2 jenkins jenkins 98 May 24 12:51 scripts [2021-05-24T12:53:51.329Z] drwxrwxr-x. 4 jenkins jenkins 50 May 24 12:51 src [2021-05-24T12:53:51.329Z] -rw-rw-r--. 1 jenkins jenkins 5 May 24 12:47 VERSION [Pipeline] isUnix [Pipeline] sh [2021-05-24T12:53:51.669Z] + 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=2fea71294381fad78c8f0af6ca161f02faad0d91 --label arch=amd64 --label version=0.0.0 . [2021-05-24T12:53:51.669Z] Sending build context to Docker daemon 2.685MB [2021-05-24T12:53:51.669Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-05-24T12:53:51.669Z] Step 2/17 : FROM ${BASE} [2021-05-24T12:53:51.669Z] ---> fb6561ec08fc [2021-05-24T12:53:51.669Z] Step 3/17 : LABEL maintainer="IOTech " [2021-05-24T12:53:51.955Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-05-24T12:53:52.544Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-05-24T12:53:53.055Z] ---> Running in e68fcaf61587 [2021-05-24T12:53:53.055Z] Removing intermediate container e68fcaf61587 [2021-05-24T12:53:53.055Z] ---> d60270f6a853 [2021-05-24T12:53:53.055Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-24T12:53:53.134Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-05-24T12:53:53.316Z] ---> Running in 6153216817d8 [2021-05-24T12:53:53.404Z] (2/6) Installing libblkid (2.33-r0) [2021-05-24T12:53:53.405Z] (3/6) Installing libfdisk (2.33-r0) [2021-05-24T12:53:53.405Z] (4/6) Installing libmount (2.33-r0) [2021-05-24T12:53:53.675Z] (5/6) Installing libsmartcols (2.33-r0) [2021-05-24T12:53:53.675Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-05-24T12:53:53.898Z] --2021-05-24 12:53:53-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-05-24T12:53:53.898Z] Resolving iotech.jfrog.io... 54.74.239.58, 34.243.182.113, 54.72.115.12 [2021-05-24T12:53:54.159Z] Connecting to iotech.jfrog.io|54.74.239.58|:443... connected. [2021-05-24T12:53:54.271Z] Executing busybox-1.29.3-r10.trigger [2021-05-24T12:53:54.271Z] OK: 287 MiB in 87 packages [2021-05-24T12:53:54.431Z] HTTP request sent, awaiting response... 200 OK [2021-05-24T12:53:54.431Z] Length: 451 [application/octet-stream] [2021-05-24T12:53:54.431Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-05-24T12:53:54.431Z]  [2021-05-24T12:53:54.431Z] 0K 100% 52.2M=0s [2021-05-24T12:53:54.431Z] [2021-05-24T12:53:54.431Z] 2021-05-24 12:53:54 (52.2 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-05-24T12:53:54.431Z] [2021-05-24T12:53:55.002Z] Removing intermediate container 6153216817d8 [2021-05-24T12:53:55.002Z] ---> 68c2111b1b92 [2021-05-24T12:53:55.002Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-24T12:53:55.245Z] Removing intermediate container 44d5d73de002 [2021-05-24T12:53:55.245Z] ---> 9b025d8d00ac [2021-05-24T12:53:55.245Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-05-24T12:53:55.265Z] ---> Running in 4e5e2c1da2d9 [2021-05-24T12:53:56.222Z] ---> 1c80d0641675 [2021-05-24T12:53:56.222Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-05-24T12:53:56.666Z] Removing intermediate container 4e5e2c1da2d9 [2021-05-24T12:53:56.666Z] ---> 6782f169557a [2021-05-24T12:53:56.666Z] 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 hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-05-24T12:53:56.926Z] ---> Running in f72faf341774 [2021-05-24T12:53:57.199Z] ---> 42b5ccc6473a [2021-05-24T12:53:57.199Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-05-24T12:53:57.502Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-05-24T12:53:57.796Z] ---> 37dd90768950 [2021-05-24T12:53:57.796Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-05-24T12:53:58.072Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-05-24T12:53:58.774Z] ---> e91a2332d038 [2021-05-24T12:53:58.774Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-05-24T12:53:59.014Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-05-24T12:53:59.282Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-05-24T12:53:59.368Z] ---> 8252758327c4 [2021-05-24T12:53:59.368Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-05-24T12:53:59.545Z] (2/6) Installing libblkid (2.33-r0) [2021-05-24T12:53:59.545Z] (3/6) Installing libfdisk (2.33-r0) [2021-05-24T12:53:59.545Z] (4/6) Installing libmount (2.33-r0) [2021-05-24T12:54:02.070Z] ---> 73bdbdfcd399 [2021-05-24T12:54:02.070Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-05-24T12:54:02.070Z] ---> Running in 067018c2de71 [2021-05-24T12:54:02.070Z] Removing intermediate container 067018c2de71 [2021-05-24T12:54:02.070Z] ---> d815b35a9978 [2021-05-24T12:54:02.070Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-05-24T12:54:02.070Z] ---> Running in b8b0d4c12fc8 [2021-05-24T12:54:02.070Z] Removing intermediate container b8b0d4c12fc8 [2021-05-24T12:54:02.070Z] ---> 51d8a62aff58 [2021-05-24T12:54:02.070Z] Step 15/17 : LABEL arch=arm64 [2021-05-24T12:54:02.070Z] ---> Running in 88c94972a031 [2021-05-24T12:54:02.070Z] Removing intermediate container 88c94972a031 [2021-05-24T12:54:02.070Z] ---> 71f524a6d715 [2021-05-24T12:54:02.070Z] Step 16/17 : LABEL git_sha=2fea71294381fad78c8f0af6ca161f02faad0d91 [2021-05-24T12:54:02.070Z] ---> Running in aa77d4064cc7 [2021-05-24T12:54:02.085Z] (5/6) Installing libsmartcols (2.33-r0) [2021-05-24T12:54:02.085Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-05-24T12:54:02.085Z] Executing busybox-1.29.3-r10.trigger [2021-05-24T12:54:02.085Z] OK: 273 MiB in 87 packages [2021-05-24T12:54:02.085Z] Removing intermediate container f72faf341774 [2021-05-24T12:54:02.085Z] ---> edb2f7c772b4 [2021-05-24T12:54:02.085Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-05-24T12:54:02.404Z] ---> ede8d538d6b9 [2021-05-24T12:54:02.404Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-05-24T12:54:02.663Z] Removing intermediate container aa77d4064cc7 [2021-05-24T12:54:02.663Z] ---> 1099acea9829 [2021-05-24T12:54:02.663Z] Step 17/17 : LABEL version=0.0.0 [2021-05-24T12:54:02.663Z] ---> Running in c524f7ea71b8 [2021-05-24T12:54:03.256Z] Removing intermediate container c524f7ea71b8 [2021-05-24T12:54:03.256Z] ---> a02141c5324e [2021-05-24T12:54:03.256Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-24T12:54:03.256Z] Successfully built a02141c5324e [2021-05-24T12:54:03.256Z] 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-05-24T12:54:05.954Z] ---> 7c209db2ac5e [2021-05-24T12:54:05.954Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-05-24T12:54:05.954Z] ---> 84c361f8e7ca [2021-05-24T12:54:05.954Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-05-24T12:54:05.954Z] ---> 7c6765971a33 [2021-05-24T12:54:05.954Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-05-24T12:54:05.954Z] ---> 947527d0db1f [2021-05-24T12:54:05.954Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-05-24T12:54:06.214Z] ---> d1c3e140bcd1 [2021-05-24T12:54:06.215Z] Step 13/17 : WORKDIR /edgex-c-sdk [Pipeline] // stage [Pipeline] } [2021-05-24T12:54:06.476Z] ---> Running in 7dfca8dd29b0 [2021-05-24T12:54:06.738Z] Removing intermediate container 7dfca8dd29b0 [2021-05-24T12:54:06.738Z] ---> c5d62ad5a8cc [2021-05-24T12:54:06.738Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-05-24T12:54:07.000Z] ---> Running in e85c4172c457 [2021-05-24T12:54:07.000Z] Removing intermediate container e85c4172c457 [2021-05-24T12:54:07.000Z] ---> f559fa9b534d [2021-05-24T12:54:07.000Z] Step 15/17 : LABEL arch=amd64 [2021-05-24T12:54:07.262Z] ---> Running in 85578a33ee53 [2021-05-24T12:54:07.840Z] Removing intermediate container 85578a33ee53 [2021-05-24T12:54:07.840Z] ---> fb23a8f54969 [2021-05-24T12:54:07.840Z] Step 16/17 : LABEL git_sha=2fea71294381fad78c8f0af6ca161f02faad0d91 [2021-05-24T12:54:08.101Z] ---> Running in 89f7975ed1d3 [2021-05-24T12:54:08.362Z] Removing intermediate container 89f7975ed1d3 [2021-05-24T12:54:08.362Z] ---> 4c4ddddeb840 [2021-05-24T12:54:08.362Z] Step 17/17 : LABEL version=0.0.0 [2021-05-24T12:54:08.362Z] ---> Running in c8f11de32405 [2021-05-24T12:54:08.631Z] Removing intermediate container c8f11de32405 [2021-05-24T12:54:08.631Z] ---> 5505679ede57 [2021-05-24T12:54:08.631Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-24T12:54:08.892Z] Successfully built 5505679ede57 [2021-05-24T12:54:08.892Z] 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 [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-24T12:54:17.804Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T12:54:18.147Z] ---> package-listing.sh [2021-05-24T12:54:18.147Z] ++ facter osfamily [2021-05-24T12:54:18.147Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-24T12:54:18.410Z] + OS_FAMILY=redhat [2021-05-24T12:54:18.410Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-347 [2021-05-24T12:54:18.410Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-24T12:54:18.410Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-24T12:54:18.410Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-24T12:54:18.410Z] + PACKAGES=/tmp/packages_start.txt [2021-05-24T12:54:18.410Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-347 ']' [2021-05-24T12:54:18.410Z] + PACKAGES=/tmp/packages_end.txt [2021-05-24T12:54:18.410Z] + case "${OS_FAMILY}" in [2021-05-24T12:54:18.410Z] + sort [2021-05-24T12:54:18.410Z] + rpm -qa [2021-05-24T12:54:18.988Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-24T12:54:18.988Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-24T12:54:18.988Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-24T12:54:18.988Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-347 ']' [2021-05-24T12:54:18.988Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-347/archives/ [2021-05-24T12:54:18.988Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-347/archives/ [Pipeline] echo [2021-05-24T12:54:19.020Z] 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-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-24T12:54:19.327Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-24T12:54:21.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-24T12:54:21.938Z] [2021-05-24T12:54:21.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-24T12:54:22.288Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-24T12:54:22.288Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-24T12:54:22.288Z] df20fa9351a1: Pulling fs layer [2021-05-24T12:54:22.288Z] 36b3adc4ff6f: Pulling fs layer [2021-05-24T12:54:22.288Z] 8ad3a11d3b57: Pulling fs layer [2021-05-24T12:54:22.288Z] 46f8f816bc3b: Pulling fs layer [2021-05-24T12:54:22.288Z] 93b61091891f: Pulling fs layer [2021-05-24T12:54:22.288Z] 93b9cdb0e59b: Pulling fs layer [2021-05-24T12:54:22.288Z] 5e14af77c1be: Pulling fs layer [2021-05-24T12:54:22.288Z] 01666e4c0597: Pulling fs layer [2021-05-24T12:54:22.288Z] aa168da1d23b: Pulling fs layer [2021-05-24T12:54:22.288Z] 93b61091891f: Waiting [2021-05-24T12:54:22.288Z] 93b9cdb0e59b: Waiting [2021-05-24T12:54:22.288Z] 5e14af77c1be: Waiting [2021-05-24T12:54:22.288Z] 01666e4c0597: Waiting [2021-05-24T12:54:22.288Z] aa168da1d23b: Waiting [2021-05-24T12:54:22.288Z] 46f8f816bc3b: Waiting [2021-05-24T12:54:22.288Z] 36b3adc4ff6f: Verifying Checksum [2021-05-24T12:54:22.288Z] 36b3adc4ff6f: Download complete [2021-05-24T12:54:22.549Z] 46f8f816bc3b: Verifying Checksum [2021-05-24T12:54:22.549Z] 46f8f816bc3b: Download complete [2021-05-24T12:54:22.549Z] df20fa9351a1: Verifying Checksum [2021-05-24T12:54:22.549Z] df20fa9351a1: Download complete [2021-05-24T12:54:22.549Z] 93b9cdb0e59b: Verifying Checksum [2021-05-24T12:54:22.549Z] 93b9cdb0e59b: Download complete [2021-05-24T12:54:22.549Z] 5e14af77c1be: Verifying Checksum [2021-05-24T12:54:22.549Z] 5e14af77c1be: Download complete [2021-05-24T12:54:22.549Z] 01666e4c0597: Verifying Checksum [2021-05-24T12:54:22.549Z] 01666e4c0597: Download complete [2021-05-24T12:54:22.549Z] 93b61091891f: Verifying Checksum [2021-05-24T12:54:22.549Z] 93b61091891f: Download complete [2021-05-24T12:54:22.811Z] df20fa9351a1: Pull complete [2021-05-24T12:54:22.811Z] 36b3adc4ff6f: Pull complete [2021-05-24T12:54:23.390Z] 8ad3a11d3b57: Verifying Checksum [2021-05-24T12:54:23.390Z] 8ad3a11d3b57: Download complete [2021-05-24T12:54:23.963Z] 8ad3a11d3b57: Pull complete [2021-05-24T12:54:23.963Z] 46f8f816bc3b: Pull complete [2021-05-24T12:54:24.233Z] 93b61091891f: Pull complete [2021-05-24T12:54:24.496Z] 93b9cdb0e59b: Pull complete [2021-05-24T12:54:24.496Z] 5e14af77c1be: Pull complete [2021-05-24T12:54:24.759Z] 01666e4c0597: Pull complete [2021-05-24T12:54:24.759Z] aa168da1d23b: Verifying Checksum [2021-05-24T12:54:24.759Z] aa168da1d23b: Download complete [2021-05-24T12:54:28.995Z] aa168da1d23b: Pull complete [2021-05-24T12:54:28.995Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-24T12:54:28.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-24T12:54:28.995Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-24T12:54:29.095Z] prd-centos7-docker-4c-2g-16887 does not seem to be running inside a container [2021-05-24T12:54:29.144Z] $ 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-347/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-347 -v /w/workspace/edgexfoundry_device-sdk-c_PR-347:/w/workspace/edgexfoundry_device-sdk-c_PR-347:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-347@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:10003/edgex-lftools-log-publisher:alpine cat [2021-05-24T12:54:32.875Z] $ docker top 3835a9eb7909fea2281116db39bd733a8862a57d6da21ba7e2ffbef69c462d83 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T12:54:33.295Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-24T12:54:33.618Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-24T12:54:33.934Z] + ls /var/log/sa-host [2021-05-24T12:54:33.934Z] + sadf -c /var/log/sa-host/sa05 [2021-05-24T12:54:33.934Z] file_magic: OK [2021-05-24T12:54:33.934Z] HZ: Using current value: 100 [2021-05-24T12:54:33.934Z] file_header: OK [2021-05-24T12:54:33.934Z] 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-05-24T12:54:33.934Z] Statistics: [2021-05-24T12:54:33.934Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-24T12:54:33.934Z] File successfully converted to sysstat format version 12.2.1 [2021-05-24T12:54:33.934Z] + sadf -c /var/log/sa-host/sa24 [2021-05-24T12:54:33.934Z] file_magic: OK [2021-05-24T12:54:33.934Z] HZ: Using current value: 100 [2021-05-24T12:54:33.934Z] file_header: OK [2021-05-24T12:54:33.934Z] 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-05-24T12:54:33.934Z] Statistics: [2021-05-24T12:54:33.934Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-24T12:54:33.934Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T12:54:38.593Z] provisioning config files... [2021-05-24T12:54:38.604Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-347@tmp/config7928702442759119444tmp [Pipeline] { [Pipeline] echo [2021-05-24T12:54:38.663Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T12:54:39.004Z] ---> create-netrc.sh [Pipeline] } [2021-05-24T12:54:39.026Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-24T12:54:41.184Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T12:54:41.519Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-24T12:54:41.551Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T12:54:41.888Z] ---> sudo-logs.sh [2021-05-24T12:54:41.888Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-24T12:54:41.972Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T12:54:42.317Z] ---> job-cost.sh [2021-05-24T12:54:42.317Z] lf-activate-venv: SKIPPING [2021-05-24T12:54:42.317Z] INFO: No Stack... [2021-05-24T12:54:44.868Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-24T12:54:44.868Z] INFO: Archiving Costs [Pipeline] echo [2021-05-24T12:54:44.906Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T12:54:45.252Z] ---> logs-deploy.sh [2021-05-24T12:54:45.252Z] lf-activate-venv: SKIPPING [2021-05-24T12:54:45.252Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-347/1 [2021-05-24T12:54:45.252Z] INFO: archiving workspace using pattern(s): [2021-05-24T12:54:46.202Z] Archives upload complete. [2021-05-24T12:54:46.202Z] INFO: archiving logs to Nexus