Pull request #357 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from f2aa274282d6113e368cbfbbfa19ef7d70884739+06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f (dc39d3e35b7e7634ab9915163d476f5ad8050a8a) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7638963876319935653.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision db16f8292de5a0132d944c4e76ede2ca4f84da27 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3116016537824421976.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 db16f8292de5a0132d944c4e76ede2ca4f84da27 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5931930280849551606.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision db16f8292de5a0132d944c4e76ede2ca4f84da27 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f db16f8292de5a0132d944c4e76ede2ca4f84da27 # timeout=10 Commit message: "Merge pull request #343 from ernestojeda/pipeline-optimizations" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3761139184073062446.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh646968974154924149.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_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-374’ is offline Running on prd-centos7-docker-4c-2g-375 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [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-357 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh7083699216593985095.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit f2aa274282d6113e368cbfbbfa19ef7d70884739 Merge succeeded, producing fd46fa9650321171e7b3c02cd9fe07cae2cc9634 Checking out Revision fd46fa9650321171e7b3c02cd9fe07cae2cc9634 (PR-357) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh8216922134035274693.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2aa274282d6113e368cbfbbfa19ef7d70884739 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh6858899768426403705.key > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd46fa9650321171e7b3c02cd9fe07cae2cc9634 # timeout=10 Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-28T16:19:02.816Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-28T16:19:02.899Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-28T16:19:02.925Z] ========================================================= [2021-07-28T16:19:02.925Z] EdgeX Global Pipelines Version Info [2021-07-28T16:19:02.925Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d6172f51d6ba2c74d7fbfdef490329ded0c747ad # timeout=10 [2021-07-28T16:19:04.200Z] ------------------- [2021-07-28T16:19:04.200Z] stable info: [2021-07-28T16:19:04.200Z] ------------------- [2021-07-28T16:19:04.200Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-28T16:19:04.200Z] Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 [2021-07-28T16:19:04.200Z] Message: update stable to v1.0.197 [2021-07-28T16:19:04.785Z] ------------------- [2021-07-28T16:19:04.785Z] experimental info: [2021-07-28T16:19:04.785Z] ------------------- [2021-07-28T16:19:04.785Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-28T16:19:04.785Z] Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 [2021-07-28T16:19:04.785Z] Message: update experimental to v1.0.197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-28T16:19:04.922Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-07-28T16:19:04.949Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-07-28T16:19:04.970Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-28T16:19:04.990Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-28T16:19:05.009Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-28T16:19:05.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-07-28T16:19:05.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-07-28T16:19:05.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-07-28T16:19:05.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-28T16:19:05.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-07-28T16:19:05.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-28T16:19:05.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-28T16:19:05.166Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-28T16:19:05.185Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-28T16:19:05.203Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-28T16:19:05.222Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-28T16:19:05.241Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-28T16:19:05.260Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo [2021-07-28T16:19:05.279Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo [2021-07-28T16:19:05.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo [2021-07-28T16:19:05.315Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd46fa9650321171e7b3c02cd9fe07cae2cc9634 [Pipeline] echo [2021-07-28T16:19:05.334Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd46fa9 [Pipeline] echo [2021-07-28T16:19:05.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-28T16:19:05.423Z] provisioning config files... [2021-07-28T16:19:05.446Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config3235525432861520029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:19:05.791Z] ---> docker-login.sh [2021-07-28T16:19:05.791Z] nexus3.edgexfoundry.org:10001 [2021-07-28T16:19:05.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:19:06.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:19:06.060Z] Configure a credential helper to remove this warning. See [2021-07-28T16:19:06.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:19:06.060Z] [2021-07-28T16:19:06.060Z] Login Succeeded [2021-07-28T16:19:06.060Z] nexus3.edgexfoundry.org:10002 [2021-07-28T16:19:06.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:19:06.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:19:06.060Z] Configure a credential helper to remove this warning. See [2021-07-28T16:19:06.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:19:06.060Z] [2021-07-28T16:19:06.060Z] Login Succeeded [2021-07-28T16:19:06.334Z] nexus3.edgexfoundry.org:10003 [2021-07-28T16:19:06.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:19:06.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:19:06.334Z] Configure a credential helper to remove this warning. See [2021-07-28T16:19:06.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:19:06.334Z] [2021-07-28T16:19:06.334Z] Login Succeeded [2021-07-28T16:19:06.334Z] nexus3.edgexfoundry.org:10004 [2021-07-28T16:19:06.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:19:06.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:19:06.603Z] Configure a credential helper to remove this warning. See [2021-07-28T16:19:06.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:19:06.603Z] [2021-07-28T16:19:06.603Z] Login Succeeded [2021-07-28T16:19:06.603Z] docker.io [2021-07-28T16:19:06.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:19:06.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:19:06.872Z] Configure a credential helper to remove this warning. See [2021-07-28T16:19:06.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:19:06.872Z] [2021-07-28T16:19:06.872Z] Login Succeeded [2021-07-28T16:19:06.872Z] ---> docker-login.sh ends [Pipeline] } [2021-07-28T16:19:06.885Z] 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-07-28T16:19:07.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-28T16:19:07.947Z] [2021-07-28T16:19:07.947Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:19:08.280Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-28T16:19:08.280Z] latest: Pulling from edgex-devops/git-semver [2021-07-28T16:19:08.280Z] 31603596830f: Pulling fs layer [2021-07-28T16:19:08.280Z] b6dc333f4379: Pulling fs layer [2021-07-28T16:19:08.280Z] 3d9ef1400e77: Pulling fs layer [2021-07-28T16:19:08.280Z] fd332fbdc1db: Pulling fs layer [2021-07-28T16:19:08.280Z] fd332fbdc1db: Waiting [2021-07-28T16:19:08.280Z] b6dc333f4379: Verifying Checksum [2021-07-28T16:19:08.280Z] b6dc333f4379: Download complete [2021-07-28T16:19:08.865Z] 31603596830f: Verifying Checksum [2021-07-28T16:19:08.865Z] 31603596830f: Download complete [2021-07-28T16:19:08.865Z] fd332fbdc1db: Verifying Checksum [2021-07-28T16:19:08.865Z] fd332fbdc1db: Download complete [2021-07-28T16:19:08.865Z] 31603596830f: Pull complete [2021-07-28T16:19:08.865Z] b6dc333f4379: Pull complete [2021-07-28T16:19:09.137Z] 3d9ef1400e77: Download complete [2021-07-28T16:19:09.726Z] 3d9ef1400e77: Pull complete [2021-07-28T16:19:09.996Z] fd332fbdc1db: Pull complete [2021-07-28T16:19:09.996Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-28T16:19:09.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-28T16:19:09.996Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-28T16:19:10.108Z] prd-centos7-docker-4c-2g-375 does not seem to be running inside a container [2021-07-28T16:19:10.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-28T16:19:10.918Z] $ docker top 28a8a02db02cae407db3ed3613e1f72bb3f1a4fa425bb84b9f7d5566ecf8875c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-28T16:19:11.038Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-28T16:19:11.038Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-28T16:19:11.160Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-28T16:19:11.159Z] $ docker exec 28a8a02db02cae407db3ed3613e1f72bb3f1a4fa425bb84b9f7d5566ecf8875c ssh-agent [2021-07-28T16:19:11.285Z] SSH_AUTH_SOCK=/tmp/ssh-6tOwenXTIJze/agent.13 [2021-07-28T16:19:11.285Z] SSH_AGENT_PID=20 [2021-07-28T16:19:11.297Z] Running ssh-add (command line suppressed) [2021-07-28T16:19:11.394Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_288586864727323976.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_288586864727323976.key) [2021-07-28T16:19:11.419Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-28T16:19:11.752Z] + git tag --points-at HEAD [Pipeline] } [2021-07-28T16:19:11.787Z] $ docker exec --env ******** --env ******** 28a8a02db02cae407db3ed3613e1f72bb3f1a4fa425bb84b9f7d5566ecf8875c ssh-agent -k [2021-07-28T16:19:11.891Z] unset SSH_AUTH_SOCK; [2021-07-28T16:19:11.891Z] unset SSH_AGENT_PID; [2021-07-28T16:19:11.892Z] echo Agent pid 20 killed; [2021-07-28T16:19:11.911Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-28T16:19:11.953Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-28T16:19:11.953Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-28T16:19:12.066Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-28T16:19:12.066Z] $ docker exec 28a8a02db02cae407db3ed3613e1f72bb3f1a4fa425bb84b9f7d5566ecf8875c ssh-agent [2021-07-28T16:19:12.183Z] SSH_AUTH_SOCK=/tmp/ssh-tiKpROy2lhpi/agent.55 [2021-07-28T16:19:12.184Z] SSH_AGENT_PID=61 [2021-07-28T16:19:12.194Z] Running ssh-add (command line suppressed) [2021-07-28T16:19:12.291Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_136776705764002682.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_136776705764002682.key) [2021-07-28T16:19:12.315Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-28T16:19:12.629Z] + git semver init [2021-07-28T16:19:12.629Z] # -> Open(): unable to determine branch for HEAD [2021-07-28T16:19:12.629Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.git [2021-07-28T16:19:12.629Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-357 [2021-07-28T16:19:12.629Z] # $SEMVER_REMOTE_NAME = origin [2021-07-28T16:19:12.629Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-28T16:19:12.629Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-28T16:19:12.629Z] # $SEMVER_BRANCH = PR-357 [2021-07-28T16:19:12.629Z] # $SEMVER_TEMP = /tmp/semver-349323268 [2021-07-28T16:19:12.629Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-07-28T16:19:13.217Z] # '/tmp/semver-349323268' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver' [2021-07-28T16:19:13.217Z] # -> Force: false [2021-07-28T16:19:13.217Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver [Pipeline] } [2021-07-28T16:19:13.235Z] $ docker exec --env ******** --env ******** 28a8a02db02cae407db3ed3613e1f72bb3f1a4fa425bb84b9f7d5566ecf8875c ssh-agent -k [2021-07-28T16:19:13.329Z] unset SSH_AUTH_SOCK; [2021-07-28T16:19:13.329Z] unset SSH_AGENT_PID; [2021-07-28T16:19:13.329Z] echo Agent pid 61 killed; [2021-07-28T16:19:13.356Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-28T16:19:13.691Z] + git semver [Pipeline] } [2021-07-28T16:19:13.710Z] $ docker stop --time=1 28a8a02db02cae407db3ed3613e1f72bb3f1a4fa425bb84b9f7d5566ecf8875c [2021-07-28T16:19:14.943Z] $ docker rm -f 28a8a02db02cae407db3ed3613e1f72bb3f1a4fa425bb84b9f7d5566ecf8875c [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-28T16:19:15.331Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-28T16:19:15.677Z] Stashed 1 file(s) [Pipeline] echo [2021-07-28T16:19:15.680Z] [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-07-28T16:19:16.068Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-372 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws [2021-07-28T16:19:16.082Z] Running in /w/workspace/device-sdk-c/6 [Pipeline] { [Pipeline] checkout [2021-07-28T16:19:16.292Z] Selected Git installation does not exist. Using Default [2021-07-28T16:19:16.292Z] The recommended git tool is: NONE [2021-07-28T16:19:20.720Z] using credential edgex-jenkins-ssh [2021-07-28T16:19:20.740Z] Cloning the remote Git repository [2021-07-28T16:19:20.766Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T16:19:20.868Z] > git init /w/workspace/device-sdk-c/6 # timeout=10 [2021-07-28T16:19:20.940Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T16:19:20.941Z] > git --version # timeout=10 [2021-07-28T16:19:20.959Z] > git --version # 'git version 2.17.1' [2021-07-28T16:19:20.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T16:19:21.063Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-28T16:19:22.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-28T16:19:22.178Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-28T16:19:22.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-28T16:19:22.892Z] Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit f2aa274282d6113e368cbfbbfa19ef7d70884739 [2021-07-28T16:19:23.188Z] Merge succeeded, producing 6bad4243c91085152b09cf272f9a5e6f443993c1 [2021-07-28T16:19:23.189Z] Checking out Revision 6bad4243c91085152b09cf272f9a5e6f443993c1 (PR-357) [2021-07-28T16:19:22.240Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T16:19:22.241Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T16:19:22.254Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-28T16:19:22.884Z] > git config core.sparsecheckout # timeout=10 [2021-07-28T16:19:22.900Z] > git checkout -f f2aa274282d6113e368cbfbbfa19ef7d70884739 # timeout=10 [2021-07-28T16:19:23.023Z] > git remote # timeout=10 [2021-07-28T16:19:23.040Z] > git config --get remote.origin.url # timeout=10 [2021-07-28T16:19:23.053Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T16:19:23.065Z] > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 [2021-07-28T16:19:23.147Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-28T16:19:23.169Z] > git config core.sparsecheckout # timeout=10 [2021-07-28T16:19:23.190Z] > git checkout -f 6bad4243c91085152b09cf272f9a5e6f443993c1 # timeout=10 [2021-07-28T16:19:27.515Z] Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" [2021-07-28T16:19:27.542Z] First time build. Skipping changelog. [2021-07-28T16:19:27.496Z] > git rev-list --no-walk d6172f51d6ba2c74d7fbfdef490329ded0c747ad # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-28T16:19:27.955Z] provisioning config files... [2021-07-28T16:19:27.981Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/6@tmp/config6686528138837843474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:19:28.613Z] ---> docker-login.sh [2021-07-28T16:19:28.613Z] nexus3.edgexfoundry.org:10001 [2021-07-28T16:19:29.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:19:29.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:19:29.816Z] Configure a credential helper to remove this warning. See [2021-07-28T16:19:29.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:19:29.816Z] [2021-07-28T16:19:29.816Z] Login Succeeded [2021-07-28T16:19:29.816Z] nexus3.edgexfoundry.org:10002 [2021-07-28T16:19:30.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:19:30.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:19:30.365Z] Configure a credential helper to remove this warning. See [2021-07-28T16:19:30.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:19:30.365Z] [2021-07-28T16:19:30.365Z] Login Succeeded [2021-07-28T16:19:30.365Z] nexus3.edgexfoundry.org:10003 [2021-07-28T16:19:30.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:19:30.860Z] Still waiting to schedule task [2021-07-28T16:19:30.860Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-28T16:19:30.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:19:30.914Z] Configure a credential helper to remove this warning. See [2021-07-28T16:19:30.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:19:30.914Z] [2021-07-28T16:19:30.914Z] Login Succeeded [2021-07-28T16:19:30.914Z] nexus3.edgexfoundry.org:10004 [2021-07-28T16:19:31.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:19:31.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:19:31.465Z] Configure a credential helper to remove this warning. See [2021-07-28T16:19:31.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:19:31.465Z] [2021-07-28T16:19:31.465Z] Login Succeeded [2021-07-28T16:19:31.465Z] docker.io [2021-07-28T16:19:31.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:19:32.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:19:32.343Z] Configure a credential helper to remove this warning. See [2021-07-28T16:19:32.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:19:32.343Z] [2021-07-28T16:19:32.343Z] Login Succeeded [2021-07-28T16:19:32.343Z] ---> docker-login.sh ends [Pipeline] } [2021-07-28T16:19:32.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-28T16:19:32.940Z] ========================================================= [2021-07-28T16:19:32.940Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-07-28T16:19:32.940Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:19:33.384Z] + 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-07-28T16:19:33.995Z] Sending build context to Docker daemon 2.691MB [2021-07-28T16:19:33.995Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-07-28T16:19:33.995Z] Step 2/25 : FROM ${BASE} as builder [2021-07-28T16:19:34.271Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-07-28T16:19:34.271Z] d2f70382dc9a: Pulling fs layer [2021-07-28T16:19:34.271Z] b08cc2eccb4b: Pulling fs layer [2021-07-28T16:19:34.271Z] 7b69db201801: Pulling fs layer [2021-07-28T16:19:34.271Z] b08cc2eccb4b: Download complete [2021-07-28T16:19:34.271Z] d2f70382dc9a: Verifying Checksum [2021-07-28T16:19:34.271Z] d2f70382dc9a: Download complete [2021-07-28T16:19:34.872Z] d2f70382dc9a: Pull complete [2021-07-28T16:19:35.473Z] b08cc2eccb4b: Pull complete [2021-07-28T16:19:36.921Z] 7b69db201801: Verifying Checksum [2021-07-28T16:19:36.921Z] 7b69db201801: Download complete [2021-07-28T16:19:45.227Z] 7b69db201801: Pull complete [2021-07-28T16:19:45.227Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-07-28T16:19:45.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-07-28T16:19:45.227Z] ---> 759262b18b23 [2021-07-28T16:19:45.227Z] 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-07-28T16:19:47.878Z] ---> Running in 0d034da9afdb [2021-07-28T16:19:49.327Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-07-28T16:19:49.597Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T16:19:49.597Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-28T16:19:49.597Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-28T16:19:50.595Z] Removing intermediate container 0d034da9afdb [2021-07-28T16:19:50.595Z] ---> adcffac15881 [2021-07-28T16:19:50.595Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T16:19:50.869Z] ---> Running in 9682d712dbf0 [2021-07-28T16:19:53.523Z] Removing intermediate container 9682d712dbf0 [2021-07-28T16:19:53.523Z] ---> 06019d5176bf [2021-07-28T16:19:53.523Z] 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-07-28T16:19:53.523Z] ---> Running in f8bf4ba83067 [2021-07-28T16:19:54.504Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-28T16:19:55.482Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-28T16:19:55.756Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-28T16:19:56.352Z] (1/22) Installing hiredis (0.14.1-r0) [2021-07-28T16:19:56.353Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-07-28T16:19:56.625Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-28T16:19:56.625Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-28T16:19:58.056Z] (5/22) Installing libblkid (2.35.2-r0) [2021-07-28T16:19:58.331Z] (6/22) Installing blkid (2.35.2-r0) [2021-07-28T16:19:58.602Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-07-28T16:19:58.602Z] (8/22) Installing setpriv (2.35.2-r0) [2021-07-28T16:19:58.602Z] (9/22) Installing libmount (2.35.2-r0) [2021-07-28T16:19:58.874Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-07-28T16:19:58.875Z] (11/22) Installing findmnt (2.35.2-r0) [2021-07-28T16:19:58.875Z] (12/22) Installing mcookie (2.35.2-r0) [2021-07-28T16:19:59.147Z] (13/22) Installing hexdump (2.35.2-r0) [2021-07-28T16:19:59.147Z] (14/22) Installing lsblk (2.35.2-r0) [2021-07-28T16:19:59.147Z] (15/22) Installing libuuid (2.35.2-r0) [2021-07-28T16:19:59.418Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-07-28T16:19:59.418Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-07-28T16:19:59.418Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-07-28T16:19:59.698Z] (19/22) Installing util-linux (2.35.2-r0) [2021-07-28T16:19:59.977Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-07-28T16:20:00.250Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-07-28T16:20:00.523Z] (22/22) Installing wget (1.20.3-r1) [2021-07-28T16:20:00.523Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T16:20:00.523Z] OK: 276 MiB in 97 packages [2021-07-28T16:20:02.496Z] Removing intermediate container f8bf4ba83067 [2021-07-28T16:20:02.496Z] ---> 3cb6c26abd09 [2021-07-28T16:20:02.496Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-07-28T16:20:02.496Z] ---> Running in 344099e93a40 [2021-07-28T16:20:03.093Z] Removing intermediate container 344099e93a40 [2021-07-28T16:20:03.093Z] ---> 6f0488792b56 [2021-07-28T16:20:03.093Z] 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-07-28T16:20:03.367Z] ---> Running in 96f639e3a230 [2021-07-28T16:20:04.348Z] --2021-07-28 16:20:04-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-07-28T16:20:04.620Z] Resolving github.com (github.com)... 140.82.112.4 [2021-07-28T16:20:04.620Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-07-28T16:20:04.620Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T16:20:04.620Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-07-28T16:20:04.620Z] --2021-07-28 16:20:04-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-07-28T16:20:04.620Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-07-28T16:20:04.897Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-07-28T16:20:04.897Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T16:20:04.897Z] Length: unspecified [application/x-gzip] [2021-07-28T16:20:04.897Z] Saving to: 'STDOUT' [2021-07-28T16:20:04.897Z]  [2021-07-28T16:20:04.897Z] 0K .......... .......... .......... .......... .......... 1.27M [2021-07-28T16:20:04.897Z] 50K .......... .......... .......... .......... .......... 2.54M [2021-07-28T16:20:04.897Z] 100K .......... .......... .......... .......... .......... 2.74M [2021-07-28T16:20:04.897Z] 150K .......... .......... .......... .......... .......... 11.0M [2021-07-28T16:20:04.897Z] 200K .......... .......... .......... .......... .......... 13.5M [2021-07-28T16:20:05.169Z] 250K .......... .......... .......... .......... .......... 2.96M [2021-07-28T16:20:05.169Z] 300K .......... .......... .......... .......... .......... 4.12M [2021-07-28T16:20:05.169Z] 350K .......... .......... .......... .......... .......... 4.92M [2021-07-28T16:20:05.169Z] 400K .......... .......... .......... .......... .......... 5.27M [2021-07-28T16:20:05.169Z] 450K .......... .......... .......... .......... .......... 4.75M [2021-07-28T16:20:05.169Z] 500K .......... .......... .......... .......... .......... 4.73M [2021-07-28T16:20:05.169Z] 550K .......... .......... .......... .......... .......... 6.78M [2021-07-28T16:20:05.169Z] 600K .......... .......... .......... .......... .......... 1012K [2021-07-28T16:20:05.169Z] 650K .......... .......... .......... .......... .......... 1.27M [2021-07-28T16:20:05.169Z] 700K ..    8.10M=0.2s [2021-07-28T16:20:05.169Z] [2021-07-28T16:20:05.169Z] 2021-07-28 16:20:05 (2.78 MB/s) - written to stdout [719348] [2021-07-28T16:20:05.169Z] [2021-07-28T16:20:05.441Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T16:20:05.713Z] -- The CXX compiler identification is GNU 9.3.0 [2021-07-28T16:20:05.713Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T16:20:05.984Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T16:20:05.984Z] -- Detecting C compiler ABI info [2021-07-28T16:20:06.264Z] -- Detecting C compiler ABI info - done [2021-07-28T16:20:06.264Z] -- Detecting C compile features [2021-07-28T16:20:06.264Z] -- Detecting C compile features - done [2021-07-28T16:20:06.264Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-07-28T16:20:06.538Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-07-28T16:20:06.538Z] -- Detecting CXX compiler ABI info [2021-07-28T16:20:06.812Z] -- Detecting CXX compiler ABI info - done [2021-07-28T16:20:07.084Z] -- Detecting CXX compile features [2021-07-28T16:20:07.084Z] -- Detecting CXX compile features - done [2021-07-28T16:20:07.084Z] -- Looking for include file endian.h [2021-07-28T16:20:07.363Z] -- Looking for include file endian.h - found [2021-07-28T16:20:07.363Z] -- Check if the system is big endian [2021-07-28T16:20:07.363Z] -- Searching 16 bit integer [2021-07-28T16:20:07.363Z] -- Looking for sys/types.h [2021-07-28T16:20:07.363Z] -- Looking for sys/types.h - found [2021-07-28T16:20:07.635Z] -- Looking for stdint.h [2021-07-28T16:20:07.635Z] -- Looking for stdint.h - found [2021-07-28T16:20:07.635Z] -- Looking for stddef.h [2021-07-28T16:20:07.909Z] -- Looking for stddef.h - found [2021-07-28T16:20:07.909Z] -- Check size of unsigned short [2021-07-28T16:20:08.183Z] -- Check size of unsigned short - done [2021-07-28T16:20:08.183Z] -- Searching 16 bit integer - Using unsigned short [2021-07-28T16:20:08.457Z] -- Check if the system is big endian - little endian [2021-07-28T16:20:08.457Z] -- Check size of size_t [2021-07-28T16:20:08.732Z] -- Check size of size_t - done [2021-07-28T16:20:08.732Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-07-28T16:20:08.732Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-07-28T16:20:08.732Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-07-28T16:20:08.732Z] CMake did not find one. [2021-07-28T16:20:08.732Z] [2021-07-28T16:20:08.732Z] Could not find a package configuration file provided by "cJSON" with any of [2021-07-28T16:20:08.732Z] the following names: [2021-07-28T16:20:08.732Z] [2021-07-28T16:20:08.732Z] cJSONConfig.cmake [2021-07-28T16:20:08.732Z] cjson-config.cmake [2021-07-28T16:20:08.732Z] [2021-07-28T16:20:08.732Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-07-28T16:20:08.732Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-07-28T16:20:08.732Z] provides a separate development package or SDK, be sure it has been [2021-07-28T16:20:08.732Z] installed. [2021-07-28T16:20:08.732Z] [2021-07-28T16:20:08.732Z] [2021-07-28T16:20:08.732Z] -- Configuring done [2021-07-28T16:20:09.006Z] -- Generating done [2021-07-28T16:20:09.006Z] -- Build files have been written to: /tmp/cbor [2021-07-28T16:20:09.006Z] Scanning dependencies of target cbor_shared [2021-07-28T16:20:09.282Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-07-28T16:20:09.882Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-07-28T16:20:10.479Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-07-28T16:20:10.753Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-07-28T16:20:11.350Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-07-28T16:20:11.623Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-07-28T16:20:11.895Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-07-28T16:20:11.895Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-07-28T16:20:12.169Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-07-28T16:20:12.441Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-07-28T16:20:13.036Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-07-28T16:20:13.309Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-07-28T16:20:13.907Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-07-28T16:20:14.181Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-07-28T16:20:14.454Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-07-28T16:20:14.726Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-07-28T16:20:14.999Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-07-28T16:20:15.271Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-07-28T16:20:15.543Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-07-28T16:20:15.815Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-07-28T16:20:15.815Z] [ 40%] Linking C shared library libcbor.so [2021-07-28T16:20:16.088Z] [ 40%] Built target cbor_shared [2021-07-28T16:20:16.088Z] Scanning dependencies of target cbor [2021-07-28T16:20:16.088Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-07-28T16:20:17.072Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-07-28T16:20:17.684Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-07-28T16:20:17.684Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-07-28T16:20:19.653Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-07-28T16:20:19.653Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-07-28T16:20:19.926Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-07-28T16:20:20.199Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-07-28T16:20:20.199Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-07-28T16:20:20.796Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-07-28T16:20:21.392Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-07-28T16:20:21.664Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-07-28T16:20:22.259Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-07-28T16:20:22.533Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-07-28T16:20:22.804Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-07-28T16:20:23.080Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-07-28T16:20:23.350Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-07-28T16:20:23.623Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-07-28T16:20:23.895Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-07-28T16:20:24.169Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-07-28T16:20:24.169Z] [ 80%] Linking C static library libcbor.a [2021-07-28T16:20:24.442Z] [ 80%] Built target cbor [2021-07-28T16:20:24.442Z] Scanning dependencies of target sort [2021-07-28T16:20:24.442Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-07-28T16:20:24.715Z] [ 84%] Linking C executable sort [2021-07-28T16:20:24.715Z] [ 84%] Built target sort [2021-07-28T16:20:24.715Z] Scanning dependencies of target readfile [2021-07-28T16:20:24.715Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-07-28T16:20:24.990Z] [ 88%] Linking C executable readfile [2021-07-28T16:20:24.990Z] [ 88%] Built target readfile [2021-07-28T16:20:24.990Z] Scanning dependencies of target streaming_parser [2021-07-28T16:20:24.990Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-07-28T16:20:25.271Z] [ 92%] Linking C executable streaming_parser [2021-07-28T16:20:25.271Z] [ 92%] Built target streaming_parser [2021-07-28T16:20:25.544Z] Scanning dependencies of target hello [2021-07-28T16:20:25.544Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-07-28T16:20:25.544Z] [ 96%] Linking C executable hello [2021-07-28T16:20:25.544Z] [ 96%] Built target hello [2021-07-28T16:20:25.817Z] Scanning dependencies of target create_items [2021-07-28T16:20:25.817Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-07-28T16:20:25.817Z] [100%] Linking C executable create_items [2021-07-28T16:20:26.089Z] [100%] Built target create_items [2021-07-28T16:20:26.089Z] Install the project... [2021-07-28T16:20:26.089Z] -- Install configuration: "Release" [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/lib64/libcbor.a [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/lib64/libcbor.so [2021-07-28T16:20:26.089Z] -- Up-to-date: /usr/local/include/cbor [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/ints.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/data.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/common.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/strings.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/tags.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/internal [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor/maps.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/include/cbor.h [2021-07-28T16:20:26.089Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-07-28T16:20:28.713Z] Removing intermediate container 96f639e3a230 [2021-07-28T16:20:28.714Z] ---> c1ab237588a2 [2021-07-28T16:20:28.714Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-07-28T16:20:28.714Z] ---> Running in 3cce1f8d7b46 [2021-07-28T16:20:30.690Z] Removing intermediate container 3cce1f8d7b46 [2021-07-28T16:20:30.690Z] ---> d152fd68db31 [2021-07-28T16:20:30.690Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-07-28T16:20:31.295Z] ---> 9a6db6dc64fa [2021-07-28T16:20:31.295Z] Step 10/25 : COPY src /tmp/sdk/src [2021-07-28T16:20:32.732Z] ---> 3e78ab9fbe4f [2021-07-28T16:20:32.732Z] Step 11/25 : COPY include /tmp/sdk/include [2021-07-28T16:20:33.332Z] ---> 7d8796037578 [2021-07-28T16:20:33.332Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-07-28T16:20:34.312Z] ---> 97a1478450dd [2021-07-28T16:20:34.312Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-07-28T16:20:35.295Z] ---> 18f9b815f5ce [2021-07-28T16:20:35.295Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-07-28T16:20:35.889Z] ---> 205383220acd [2021-07-28T16:20:35.889Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-07-28T16:20:36.161Z] ---> Running in 3d6bc68059b8 [2021-07-28T16:20:37.141Z] + CPPCHECK=false [2021-07-28T16:20:37.141Z] + DOCGEN=false [2021-07-28T16:20:37.141Z] + TOMLVER=SDK-0.2 [2021-07-28T16:20:37.141Z] + CUTILVER=1.1.4 [2021-07-28T16:20:37.141Z] + '[' 0 -gt 0 ] [2021-07-28T16:20:37.141Z] + readlink -f ./scripts/build.sh [2021-07-28T16:20:37.141Z] + dirname /tmp/sdk/scripts/build.sh [2021-07-28T16:20:37.141Z] + dirname /tmp/sdk/scripts [2021-07-28T16:20:37.141Z] + ROOT=/tmp/sdk [2021-07-28T16:20:37.141Z] + cd /tmp/sdk [2021-07-28T16:20:37.141Z] + '[' '!' -d deps ] [2021-07-28T16:20:37.141Z] + mkdir deps [2021-07-28T16:20:37.141Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-28T16:20:37.141Z] + tar -C deps -z -x -f - [2021-07-28T16:20:37.141Z] --2021-07-28 16:20:37-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-28T16:20:37.141Z] Resolving github.com (github.com)... 140.82.112.4 [2021-07-28T16:20:37.141Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-07-28T16:20:37.413Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T16:20:37.413Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-07-28T16:20:37.413Z] --2021-07-28 16:20:37-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-07-28T16:20:37.413Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-07-28T16:20:37.413Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-07-28T16:20:37.413Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T16:20:37.413Z] Length: unspecified [application/x-gzip] [2021-07-28T16:20:37.413Z] Saving to: 'STDOUT' [2021-07-28T16:20:37.413Z]  [2021-07-28T16:20:37.687Z] 0K .......... ......  894K=0.02s [2021-07-28T16:20:37.687Z] [2021-07-28T16:20:37.687Z] 2021-07-28 16:20:37 (894 KB/s) - written to stdout [16451] [2021-07-28T16:20:37.687Z] [2021-07-28T16:20:37.687Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-07-28T16:20:37.687Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-28T16:20:37.687Z] + tar -C deps -z -x -f - [2021-07-28T16:20:37.687Z] --2021-07-28 16:20:37-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-28T16:20:37.687Z] Resolving github.com (github.com)... 140.82.112.4 [2021-07-28T16:20:37.688Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-07-28T16:20:37.688Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T16:20:37.688Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-07-28T16:20:37.688Z] --2021-07-28 16:20:37-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-07-28T16:20:37.688Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-07-28T16:20:37.688Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-07-28T16:20:37.960Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T16:20:37.960Z] Length: unspecified [application/x-gzip] [2021-07-28T16:20:37.960Z] Saving to: 'STDOUT' [2021-07-28T16:20:37.960Z] [2021-07-28T16:20:37.960Z] 0K .......... .......... .......... .......... .......... 1.39M [2021-07-28T16:20:37.960Z] 50K .......... .......... .......... .......... .......... 2.84M [2021-07-28T16:20:37.960Z] 100K .......... .......... .......... .......... .......... 2.74M [2021-07-28T16:20:37.960Z] 150K .......... .......... ....... 4.46M=0.08s [2021-07-28T16:20:37.960Z] [2021-07-28T16:20:37.960Z] 2021-07-28 16:20:37 (2.27 MB/s) - written to stdout [181796] [2021-07-28T16:20:37.960Z] [2021-07-28T16:20:38.234Z] + mkdir -p src/c/iot [2021-07-28T16:20:38.234Z] + 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-07-28T16:20:38.234Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-07-28T16:20:38.234Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-07-28T16:20:38.234Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-07-28T16:20:38.234Z] + mkdir -p include/iot [2021-07-28T16:20:38.234Z] + 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-07-28T16:20:38.234Z] + mkdir -p include/iot/os [2021-07-28T16:20:38.234Z] + 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-07-28T16:20:38.234Z] + mkdir -p /tmp/sdk/build/release [2021-07-28T16:20:38.234Z] + cd /tmp/sdk/build/release [2021-07-28T16:20:38.234Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-07-28T16:20:38.507Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T16:20:38.507Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T16:20:38.781Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T16:20:38.781Z] -- Detecting C compiler ABI info [2021-07-28T16:20:39.054Z] -- Detecting C compiler ABI info - done [2021-07-28T16:20:39.054Z] -- Detecting C compile features [2021-07-28T16:20:39.054Z] -- Detecting C compile features - done [2021-07-28T16:20:39.054Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-28T16:20:39.328Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-28T16:20:39.328Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-28T16:20:39.328Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-28T16:20:39.328Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-28T16:20:39.328Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-28T16:20:39.328Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-28T16:20:39.328Z] -- C SDK 0.0.0 for Linux [2021-07-28T16:20:39.328Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-28T16:20:39.599Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-28T16:20:39.599Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-28T16:20:39.871Z] -- Configuring done [2021-07-28T16:20:40.144Z] -- Generating done [2021-07-28T16:20:40.144Z] -- Build files have been written to: /tmp/sdk/build/release [2021-07-28T16:20:40.144Z] + make all package [2021-07-28T16:20:40.144Z] + tee release.log [2021-07-28T16:20:40.145Z] Scanning dependencies of target csdk [2021-07-28T16:20:40.418Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-28T16:20:41.014Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-28T16:20:41.613Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-28T16:20:43.584Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-28T16:20:43.859Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-28T16:20:44.134Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-28T16:20:44.729Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-28T16:20:45.328Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-28T16:20:45.600Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-28T16:20:46.577Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-28T16:20:48.555Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-28T16:20:48.830Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-28T16:20:49.424Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-28T16:20:50.019Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-28T16:20:50.293Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-28T16:20:50.566Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-28T16:20:50.838Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-28T16:20:53.449Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-28T16:20:53.725Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-28T16:20:54.323Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-28T16:20:54.597Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-28T16:20:54.871Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-28T16:20:55.469Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-28T16:20:58.084Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-28T16:20:58.359Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-28T16:20:58.359Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-28T16:20:58.962Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-28T16:20:59.562Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-28T16:20:59.562Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-28T16:21:00.537Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-28T16:21:01.132Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-28T16:21:01.729Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-28T16:21:01.729Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-28T16:21:03.705Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-28T16:21:04.299Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-28T16:21:04.897Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-28T16:21:05.173Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-28T16:21:09.515Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-28T16:21:10.133Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-28T16:21:10.764Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-28T16:21:11.374Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-28T16:21:12.017Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-28T16:21:13.718Z] Running on prd-centos7-docker-4c-2g-376 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws [2021-07-28T16:21:13.738Z] Running in /w/workspace/device-sdk-c/6 [Pipeline] { [Pipeline] checkout [2021-07-28T16:21:13.848Z] Selected Git installation does not exist. Using Default [2021-07-28T16:21:13.848Z] The recommended git tool is: NONE [2021-07-28T16:21:14.048Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-28T16:21:14.048Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-28T16:21:14.643Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-28T16:21:14.913Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-28T16:21:16.597Z] using credential edgex-jenkins-ssh [2021-07-28T16:21:16.620Z] Cloning the remote Git repository [2021-07-28T16:21:16.879Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-28T16:21:16.650Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T16:21:16.727Z] > git init /w/workspace/device-sdk-c/6 # timeout=10 [2021-07-28T16:21:16.759Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T16:21:16.759Z] > git --version # timeout=10 [2021-07-28T16:21:16.769Z] > git --version # 'git version 2.24.4' [2021-07-28T16:21:16.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T16:21:16.796Z] [INFO] Currently running in a labeled security context [2021-07-28T16:21:16.796Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-28T16:21:16.797Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/6@tmp/jenkins-gitclient-ssh2350967540515833487.key [2021-07-28T16:21:16.807Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-28T16:21:18.009Z] Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit f2aa274282d6113e368cbfbbfa19ef7d70884739 [2021-07-28T16:21:18.136Z] Merge succeeded, producing 66df8a1dc730d8f42e5be5e750b5933662fc1a4b [2021-07-28T16:21:18.137Z] Checking out Revision 66df8a1dc730d8f42e5be5e750b5933662fc1a4b (PR-357) [2021-07-28T16:21:17.478Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-28T16:21:17.485Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-28T16:21:17.496Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-28T16:21:17.514Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T16:21:17.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T16:21:17.516Z] [INFO] Currently running in a labeled security context [2021-07-28T16:21:17.516Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-28T16:21:17.517Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/6@tmp/jenkins-gitclient-ssh8473271323942291993.key [2021-07-28T16:21:17.525Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-28T16:21:18.018Z] > git config core.sparsecheckout # timeout=10 [2021-07-28T16:21:18.028Z] > git checkout -f f2aa274282d6113e368cbfbbfa19ef7d70884739 # timeout=10 [2021-07-28T16:21:18.077Z] > git remote # timeout=10 [2021-07-28T16:21:18.085Z] > git config --get remote.origin.url # timeout=10 [2021-07-28T16:21:18.090Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T16:21:18.091Z] [INFO] Currently running in a labeled security context [2021-07-28T16:21:18.091Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-28T16:21:18.091Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/6@tmp/jenkins-gitclient-ssh429333046377585395.key [2021-07-28T16:21:18.095Z] > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 [2021-07-28T16:21:18.124Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-28T16:21:18.138Z] > git config core.sparsecheckout # timeout=10 [2021-07-28T16:21:18.146Z] > git checkout -f 66df8a1dc730d8f42e5be5e750b5933662fc1a4b # timeout=10 [2021-07-28T16:21:20.252Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-28T16:21:20.844Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-28T16:21:21.436Z] [ 75%] Linking C shared library libcsdk.so [2021-07-28T16:21:21.437Z] [ 75%] Built target csdk [2021-07-28T16:21:21.437Z] Scanning dependencies of target template [2021-07-28T16:21:21.709Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-28T16:21:21.916Z] Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" [2021-07-28T16:21:21.927Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-28T16:21:22.269Z] provisioning config files... [2021-07-28T16:21:21.919Z] > git rev-list --no-walk d6172f51d6ba2c74d7fbfdef490329ded0c747ad # timeout=10 [2021-07-28T16:21:22.288Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/6@tmp/config4836348705129663013tmp [2021-07-28T16:21:22.299Z] [ 78%] Linking C executable template [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:21:22.569Z] [ 78%] Built target template [2021-07-28T16:21:22.569Z] Scanning dependencies of target device-counter [2021-07-28T16:21:22.569Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-28T16:21:22.725Z] ---> docker-login.sh [2021-07-28T16:21:22.725Z] nexus3.edgexfoundry.org:10001 [2021-07-28T16:21:22.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:21:22.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:21:22.725Z] Configure a credential helper to remove this warning. See [2021-07-28T16:21:22.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:21:22.725Z] [2021-07-28T16:21:22.725Z] Login Succeeded [2021-07-28T16:21:22.725Z] nexus3.edgexfoundry.org:10002 [2021-07-28T16:21:22.841Z] [ 81%] Linking C executable device-counter [2021-07-28T16:21:22.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:21:22.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:21:22.994Z] Configure a credential helper to remove this warning. See [2021-07-28T16:21:22.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:21:22.994Z] [2021-07-28T16:21:22.994Z] Login Succeeded [2021-07-28T16:21:22.994Z] nexus3.edgexfoundry.org:10003 [2021-07-28T16:21:22.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:21:23.114Z] [ 81%] Built target device-counter [2021-07-28T16:21:23.114Z] Scanning dependencies of target device-random [2021-07-28T16:21:23.114Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-28T16:21:23.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:21:23.261Z] Configure a credential helper to remove this warning. See [2021-07-28T16:21:23.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:21:23.261Z] [2021-07-28T16:21:23.261Z] Login Succeeded [2021-07-28T16:21:23.261Z] nexus3.edgexfoundry.org:10004 [2021-07-28T16:21:23.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:21:23.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:21:23.261Z] Configure a credential helper to remove this warning. See [2021-07-28T16:21:23.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:21:23.261Z] [2021-07-28T16:21:23.261Z] Login Succeeded [2021-07-28T16:21:23.261Z] docker.io [2021-07-28T16:21:23.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:21:23.707Z] [ 84%] Linking C executable device-random [2021-07-28T16:21:23.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:21:23.798Z] Configure a credential helper to remove this warning. See [2021-07-28T16:21:23.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:21:23.798Z] [2021-07-28T16:21:23.798Z] Login Succeeded [2021-07-28T16:21:23.798Z] ---> docker-login.sh ends [Pipeline] } [2021-07-28T16:21:23.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-07-28T16:21:23.978Z] [ 84%] Built target device-random [2021-07-28T16:21:23.978Z] Scanning dependencies of target device-gyro [2021-07-28T16:21:23.978Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [Pipeline] echo [2021-07-28T16:21:24.039Z] ========================================================= [2021-07-28T16:21:24.039Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-07-28T16:21:24.039Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:21:24.248Z] [ 87%] Linking C executable device-gyro [2021-07-28T16:21:24.356Z] + 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-07-28T16:21:24.356Z] Sending build context to Docker daemon 2.692MB [2021-07-28T16:21:24.356Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-07-28T16:21:24.356Z] Step 2/25 : FROM ${BASE} as builder [2021-07-28T16:21:24.519Z] [ 87%] Built target device-gyro [2021-07-28T16:21:24.520Z] Scanning dependencies of target device-bitfields [2021-07-28T16:21:24.520Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-28T16:21:24.623Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-07-28T16:21:24.623Z] 339de151aab4: Pulling fs layer [2021-07-28T16:21:24.623Z] 3691962f683c: Pulling fs layer [2021-07-28T16:21:24.623Z] e1147bf81a45: Pulling fs layer [2021-07-28T16:21:24.623Z] 3691962f683c: Verifying Checksum [2021-07-28T16:21:24.623Z] 3691962f683c: Download complete [2021-07-28T16:21:24.623Z] 339de151aab4: Verifying Checksum [2021-07-28T16:21:24.623Z] 339de151aab4: Download complete [2021-07-28T16:21:24.890Z] 339de151aab4: Pull complete [2021-07-28T16:21:24.890Z] 3691962f683c: Pull complete [2021-07-28T16:21:25.112Z] [ 90%] Linking C executable device-bitfields [2021-07-28T16:21:25.388Z] [ 90%] Built target device-bitfields [2021-07-28T16:21:25.388Z] Scanning dependencies of target template-discovery [2021-07-28T16:21:25.388Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-28T16:21:25.982Z] [ 93%] Linking C executable template-discovery [2021-07-28T16:21:26.254Z] [ 93%] Built target template-discovery [2021-07-28T16:21:26.254Z] Scanning dependencies of target device-file [2021-07-28T16:21:26.254Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-28T16:21:26.846Z] [ 96%] Linking C executable device-file [2021-07-28T16:21:27.118Z] [ 96%] Built target device-file [2021-07-28T16:21:27.118Z] Scanning dependencies of target device-terminal [2021-07-28T16:21:27.118Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-28T16:21:27.713Z] [100%] Linking C executable device-terminal [2021-07-28T16:21:27.985Z] [100%] Built target device-terminal [2021-07-28T16:21:27.985Z] Run CPack packaging tool... [2021-07-28T16:21:27.985Z] CPack: Create package using TGZ [2021-07-28T16:21:27.985Z] CPack: Install projects [2021-07-28T16:21:27.985Z] CPack: - Run preinstall target for: Csdk [2021-07-28T16:21:28.239Z] e1147bf81a45: Verifying Checksum [2021-07-28T16:21:28.240Z] e1147bf81a45: Download complete [2021-07-28T16:21:28.577Z] CPack: - Install project: Csdk [] [2021-07-28T16:21:28.577Z] CPack: Create package [2021-07-28T16:21:28.577Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-07-28T16:21:28.577Z] + '[' false '=' true ] [2021-07-28T16:21:28.577Z] + '[' false '=' true ] [2021-07-28T16:21:28.577Z] + mkdir -p /tmp/sdk/build/debug [2021-07-28T16:21:28.577Z] + cd /tmp/sdk/build/debug [2021-07-28T16:21:28.577Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-07-28T16:21:28.849Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T16:21:28.849Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T16:21:29.125Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T16:21:29.125Z] -- Detecting C compiler ABI info [2021-07-28T16:21:29.399Z] -- Detecting C compiler ABI info - done [2021-07-28T16:21:29.670Z] -- Detecting C compile features [2021-07-28T16:21:29.670Z] -- Detecting C compile features - done [2021-07-28T16:21:29.670Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-28T16:21:29.670Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-28T16:21:29.670Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-28T16:21:29.670Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-28T16:21:29.670Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-28T16:21:29.670Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-28T16:21:29.670Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-28T16:21:29.670Z] -- C SDK 0.0.0 for Linux [2021-07-28T16:21:29.670Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-28T16:21:29.944Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-28T16:21:30.214Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-28T16:21:30.214Z] -- Configuring done [2021-07-28T16:21:30.486Z] -- Generating done [2021-07-28T16:21:30.486Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-07-28T16:21:30.486Z] + make [2021-07-28T16:21:30.486Z] + tee debug.log [2021-07-28T16:21:30.486Z] Scanning dependencies of target csdk [2021-07-28T16:21:30.758Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-28T16:21:30.877Z] e1147bf81a45: Pull complete [2021-07-28T16:21:30.877Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-07-28T16:21:30.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-07-28T16:21:30.877Z] ---> ac6a0feb3254 [2021-07-28T16:21:30.877Z] 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-07-28T16:21:31.030Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-28T16:21:31.303Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-28T16:21:31.837Z] ---> Running in fb6d209af7ad [2021-07-28T16:21:31.904Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-28T16:21:32.105Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-07-28T16:21:32.372Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T16:21:32.372Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-28T16:21:32.372Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-28T16:21:32.498Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-28T16:21:32.498Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-28T16:21:32.640Z] Removing intermediate container fb6d209af7ad [2021-07-28T16:21:32.640Z] ---> 783eebe927c1 [2021-07-28T16:21:32.640Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T16:21:32.640Z] ---> Running in c1f5d1f78fe3 [2021-07-28T16:21:32.771Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-28T16:21:33.043Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-28T16:21:33.225Z] Removing intermediate container c1f5d1f78fe3 [2021-07-28T16:21:33.225Z] ---> aa7f17a976ef [2021-07-28T16:21:33.225Z] 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-07-28T16:21:33.225Z] ---> Running in f7db1dd1ec97 [2021-07-28T16:21:33.315Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-28T16:21:33.492Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-28T16:21:33.587Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-28T16:21:34.076Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-28T16:21:34.185Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-28T16:21:34.345Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-28T16:21:34.457Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-28T16:21:34.729Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-28T16:21:34.929Z] (1/22) Installing hiredis (0.14.1-r0) [2021-07-28T16:21:34.929Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-07-28T16:21:34.929Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-28T16:21:35.002Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-28T16:21:35.197Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-28T16:21:35.274Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-28T16:21:35.547Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-28T16:21:35.547Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-28T16:21:36.524Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-28T16:21:36.524Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-28T16:21:36.602Z] (5/22) Installing libblkid (2.35.2-r0) [2021-07-28T16:21:36.602Z] (6/22) Installing blkid (2.35.2-r0) [2021-07-28T16:21:36.602Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-07-28T16:21:36.796Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-28T16:21:36.869Z] (8/22) Installing setpriv (2.35.2-r0) [2021-07-28T16:21:36.869Z] (9/22) Installing libmount (2.35.2-r0) [2021-07-28T16:21:36.869Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-07-28T16:21:37.068Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-28T16:21:37.134Z] (11/22) Installing findmnt (2.35.2-r0) [2021-07-28T16:21:37.134Z] (12/22) Installing mcookie (2.35.2-r0) [2021-07-28T16:21:37.134Z] (13/22) Installing hexdump (2.35.2-r0) [2021-07-28T16:21:37.341Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-28T16:21:37.399Z] (14/22) Installing lsblk (2.35.2-r0) [2021-07-28T16:21:37.399Z] (15/22) Installing libuuid (2.35.2-r0) [2021-07-28T16:21:37.399Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-07-28T16:21:37.613Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-28T16:21:37.666Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-07-28T16:21:37.666Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-07-28T16:21:37.666Z] (19/22) Installing util-linux (2.35.2-r0) [2021-07-28T16:21:38.248Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-07-28T16:21:38.519Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-07-28T16:21:38.519Z] (22/22) Installing wget (1.20.3-r1) [2021-07-28T16:21:38.519Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T16:21:38.519Z] OK: 295 MiB in 97 packages [2021-07-28T16:21:38.590Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-28T16:21:38.590Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-28T16:21:38.590Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-28T16:21:38.862Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-28T16:21:39.109Z] Removing intermediate container f7db1dd1ec97 [2021-07-28T16:21:39.109Z] ---> 79d9f7c4e1cb [2021-07-28T16:21:39.109Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-07-28T16:21:39.109Z] ---> Running in a32d78dd6d6d [2021-07-28T16:21:39.109Z] Removing intermediate container a32d78dd6d6d [2021-07-28T16:21:39.109Z] ---> dfece5bae31d [2021-07-28T16:21:39.109Z] 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-07-28T16:21:39.109Z] ---> Running in 64952fe6647c [2021-07-28T16:21:39.133Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-28T16:21:39.377Z] --2021-07-28 16:21:39-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-07-28T16:21:39.377Z] Resolving github.com (github.com)... 140.82.113.4 [2021-07-28T16:21:39.377Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-07-28T16:21:39.406Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-28T16:21:39.643Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T16:21:39.643Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-07-28T16:21:39.643Z] --2021-07-28 16:21:39-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-07-28T16:21:39.643Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-07-28T16:21:39.643Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-07-28T16:21:39.679Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-28T16:21:39.679Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-28T16:21:39.909Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T16:21:39.909Z] Length: unspecified [application/x-gzip] [2021-07-28T16:21:39.909Z] Saving to: 'STDOUT' [2021-07-28T16:21:39.909Z]  [2021-07-28T16:21:39.909Z] 0K .......... .......... .......... .......... .......... 1.35M [2021-07-28T16:21:39.909Z] 50K .......... .......... .......... .......... .......... 2.59M [2021-07-28T16:21:39.909Z] 100K .......... .......... .......... .......... .......... 35.2M [2021-07-28T16:21:39.909Z] 150K .......... .......... .......... .......... .......... 40.5M [2021-07-28T16:21:39.909Z] 200K .......... .......... .......... .......... .......... 3.16M [2021-07-28T16:21:39.909Z] 250K .......... .......... .......... .......... .......... 5.09M [2021-07-28T16:21:39.909Z] 300K .......... .......... .......... .......... .......... 9.10M [2021-07-28T16:21:39.909Z] 350K .......... .......... .......... .......... .......... 7.88M [2021-07-28T16:21:39.909Z] 400K .......... .......... .......... .......... .......... 4.81M [2021-07-28T16:21:39.909Z] 450K .......... .......... .......... .......... .......... 9.72M [2021-07-28T16:21:39.909Z] 500K .......... .......... .......... .......... .......... 14.7M [2021-07-28T16:21:39.909Z] 550K .......... .......... .......... .......... .......... 12.3M [2021-07-28T16:21:39.909Z] 600K .......... .......... .......... .......... .......... 3.61M [2021-07-28T16:21:39.909Z] 650K .......... .......... .......... .......... .......... 9.75M [2021-07-28T16:21:39.909Z] 700K .. 70.0M=0.1s [2021-07-28T16:21:39.909Z] [2021-07-28T16:21:39.909Z] 2021-07-28 16:21:39 (5.07 MB/s) - written to stdout [719348] [2021-07-28T16:21:39.909Z] [2021-07-28T16:21:39.909Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T16:21:40.178Z] -- The CXX compiler identification is GNU 9.3.0 [2021-07-28T16:21:40.178Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T16:21:40.178Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T16:21:40.178Z] -- Detecting C compiler ABI info [2021-07-28T16:21:40.178Z] -- Detecting C compiler ABI info - done [2021-07-28T16:21:40.178Z] -- Detecting C compile features [2021-07-28T16:21:40.178Z] -- Detecting C compile features - done [2021-07-28T16:21:40.178Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-07-28T16:21:40.178Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-07-28T16:21:40.178Z] -- Detecting CXX compiler ABI info [2021-07-28T16:21:40.273Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-28T16:21:40.273Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-28T16:21:40.449Z] -- Detecting CXX compiler ABI info - done [2021-07-28T16:21:40.449Z] -- Detecting CXX compile features [2021-07-28T16:21:40.449Z] -- Detecting CXX compile features - done [2021-07-28T16:21:40.449Z] -- Looking for include file endian.h [2021-07-28T16:21:40.449Z] -- Looking for include file endian.h - found [2021-07-28T16:21:40.449Z] -- Check if the system is big endian [2021-07-28T16:21:40.449Z] -- Searching 16 bit integer [2021-07-28T16:21:40.449Z] -- Looking for sys/types.h [2021-07-28T16:21:40.449Z] -- Looking for sys/types.h - found [2021-07-28T16:21:40.449Z] -- Looking for stdint.h [2021-07-28T16:21:40.449Z] -- Looking for stdint.h - found [2021-07-28T16:21:40.449Z] -- Looking for stddef.h [2021-07-28T16:21:40.546Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-28T16:21:40.723Z] -- Looking for stddef.h - found [2021-07-28T16:21:40.723Z] -- Check size of unsigned short [2021-07-28T16:21:40.723Z] -- Check size of unsigned short - done [2021-07-28T16:21:40.723Z] -- Searching 16 bit integer - Using unsigned short [2021-07-28T16:21:40.723Z] -- Check if the system is big endian - little endian [2021-07-28T16:21:40.723Z] -- Check size of size_t [2021-07-28T16:21:40.818Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-28T16:21:40.994Z] -- Check size of size_t - done [2021-07-28T16:21:40.994Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-07-28T16:21:40.994Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-07-28T16:21:40.994Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-07-28T16:21:40.994Z] CMake did not find one. [2021-07-28T16:21:40.994Z] [2021-07-28T16:21:40.994Z] Could not find a package configuration file provided by "cJSON" with any of [2021-07-28T16:21:40.994Z] the following names: [2021-07-28T16:21:40.994Z] [2021-07-28T16:21:40.994Z] cJSONConfig.cmake [2021-07-28T16:21:40.994Z] cjson-config.cmake [2021-07-28T16:21:40.994Z] [2021-07-28T16:21:40.994Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-07-28T16:21:40.994Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-07-28T16:21:40.994Z] provides a separate development package or SDK, be sure it has been [2021-07-28T16:21:40.994Z] installed. [2021-07-28T16:21:40.994Z] [2021-07-28T16:21:40.994Z] [2021-07-28T16:21:40.994Z] -- Configuring done [2021-07-28T16:21:40.994Z] -- Generating done [2021-07-28T16:21:40.994Z] -- Build files have been written to: /tmp/cbor [2021-07-28T16:21:40.994Z] Scanning dependencies of target cbor_shared [2021-07-28T16:21:40.994Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-07-28T16:21:40.994Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-07-28T16:21:41.262Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-07-28T16:21:41.262Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-07-28T16:21:41.262Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-07-28T16:21:41.415Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-28T16:21:41.415Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-28T16:21:41.528Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-07-28T16:21:41.529Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-07-28T16:21:41.529Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-07-28T16:21:41.529Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-07-28T16:21:41.798Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-07-28T16:21:41.798Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-07-28T16:21:41.798Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-07-28T16:21:41.798Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-07-28T16:21:42.065Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-07-28T16:21:42.065Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-07-28T16:21:42.065Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-07-28T16:21:42.065Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-07-28T16:21:42.335Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-07-28T16:21:42.335Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-07-28T16:21:42.335Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-07-28T16:21:42.335Z] [ 40%] Linking C shared library libcbor.so [2021-07-28T16:21:42.335Z] [ 40%] Built target cbor_shared [2021-07-28T16:21:42.335Z] Scanning dependencies of target cbor [2021-07-28T16:21:42.335Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-07-28T16:21:42.394Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-28T16:21:42.604Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-07-28T16:21:42.604Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-07-28T16:21:42.667Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-28T16:21:42.875Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-07-28T16:21:42.939Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-28T16:21:43.141Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-07-28T16:21:43.141Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-07-28T16:21:43.141Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-07-28T16:21:43.141Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-07-28T16:21:43.141Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-07-28T16:21:43.210Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-28T16:21:43.410Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-07-28T16:21:43.410Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-07-28T16:21:43.491Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-28T16:21:43.683Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-07-28T16:21:43.683Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-07-28T16:21:43.683Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-07-28T16:21:43.683Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-07-28T16:21:43.951Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-07-28T16:21:43.951Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-07-28T16:21:43.951Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-07-28T16:21:43.951Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-07-28T16:21:44.218Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-07-28T16:21:44.218Z] [ 80%] Linking C static library libcbor.a [2021-07-28T16:21:44.218Z] [ 80%] Built target cbor [2021-07-28T16:21:44.218Z] Scanning dependencies of target sort [2021-07-28T16:21:44.218Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-07-28T16:21:44.218Z] [ 84%] Linking C executable sort [2021-07-28T16:21:44.218Z] [ 84%] Built target sort [2021-07-28T16:21:44.218Z] Scanning dependencies of target readfile [2021-07-28T16:21:44.218Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-07-28T16:21:44.468Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-28T16:21:44.486Z] [ 88%] Linking C executable readfile [2021-07-28T16:21:44.486Z] [ 88%] Built target readfile [2021-07-28T16:21:44.486Z] Scanning dependencies of target streaming_parser [2021-07-28T16:21:44.486Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-07-28T16:21:44.486Z] [ 92%] Linking C executable streaming_parser [2021-07-28T16:21:44.486Z] [ 92%] Built target streaming_parser [2021-07-28T16:21:44.486Z] Scanning dependencies of target hello [2021-07-28T16:21:44.486Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-07-28T16:21:44.486Z] [ 96%] Linking C executable hello [2021-07-28T16:21:44.486Z] [ 96%] Built target hello [2021-07-28T16:21:44.486Z] Scanning dependencies of target create_items [2021-07-28T16:21:44.486Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-07-28T16:21:44.741Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-28T16:21:44.752Z] [100%] Linking C executable create_items [2021-07-28T16:21:44.752Z] [100%] Built target create_items [2021-07-28T16:21:44.752Z] Install the project... [2021-07-28T16:21:44.752Z] -- Install configuration: "Release" [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/lib64/libcbor.a [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/lib64/libcbor.so [2021-07-28T16:21:44.752Z] -- Up-to-date: /usr/local/include/cbor [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/common.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/data.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/internal [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/ints.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/maps.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/strings.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor/tags.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/include/cbor.h [2021-07-28T16:21:44.752Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-07-28T16:21:45.012Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-28T16:21:45.285Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-28T16:21:45.342Z] Removing intermediate container 64952fe6647c [2021-07-28T16:21:45.342Z] ---> 6a20eaf670ce [2021-07-28T16:21:45.342Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-07-28T16:21:45.342Z] ---> Running in 8e1f11598509 [2021-07-28T16:21:45.877Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-28T16:21:45.925Z] Removing intermediate container 8e1f11598509 [2021-07-28T16:21:45.925Z] ---> 97aa04c7eaf7 [2021-07-28T16:21:45.925Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-07-28T16:21:45.925Z] ---> fcd6451f6848 [2021-07-28T16:21:45.925Z] Step 10/25 : COPY src /tmp/sdk/src [2021-07-28T16:21:46.197Z] ---> 644c7b04f930 [2021-07-28T16:21:46.197Z] Step 11/25 : COPY include /tmp/sdk/include [2021-07-28T16:21:46.197Z] ---> f8a52a45bae6 [2021-07-28T16:21:46.197Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-07-28T16:21:46.464Z] ---> a80d751cd013 [2021-07-28T16:21:46.464Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-07-28T16:21:46.464Z] ---> bfecddab9bf0 [2021-07-28T16:21:46.464Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-07-28T16:21:46.472Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-28T16:21:46.736Z] ---> dfc10608dbe8 [2021-07-28T16:21:46.736Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-07-28T16:21:46.736Z] ---> Running in 05b7dbebc824 [2021-07-28T16:21:46.744Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-28T16:21:47.003Z] + CPPCHECK=false [2021-07-28T16:21:47.003Z] + DOCGEN=false [2021-07-28T16:21:47.003Z] + TOMLVER=SDK-0.2 [2021-07-28T16:21:47.003Z] + CUTILVER=1.1.4 [2021-07-28T16:21:47.003Z] + '[' 0 -gt 0 ] [2021-07-28T16:21:47.003Z] + readlink -f ./scripts/build.sh [2021-07-28T16:21:47.003Z] + dirname /tmp/sdk/scripts/build.sh [2021-07-28T16:21:47.003Z] + dirname /tmp/sdk/scripts [2021-07-28T16:21:47.003Z] + ROOT=/tmp/sdk [2021-07-28T16:21:47.003Z] + cd /tmp/sdk [2021-07-28T16:21:47.003Z] + '[' '!' -d deps ] [2021-07-28T16:21:47.003Z] + mkdir deps [2021-07-28T16:21:47.003Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-28T16:21:47.003Z] --2021-07-28 16:21:46-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-28T16:21:47.003Z] + tar -C deps -z -x -f - [2021-07-28T16:21:47.003Z] Resolving github.com (github.com)... 140.82.113.4 [2021-07-28T16:21:47.003Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-07-28T16:21:47.003Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T16:21:47.003Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-07-28T16:21:47.003Z] --2021-07-28 16:21:46-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-07-28T16:21:47.003Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-07-28T16:21:47.003Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-07-28T16:21:47.016Z] [ 75%] Linking C shared library libcsdk.so [2021-07-28T16:21:47.270Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T16:21:47.270Z] Length: unspecified [application/x-gzip] [2021-07-28T16:21:47.270Z] Saving to: 'STDOUT' [2021-07-28T16:21:47.270Z]  [2021-07-28T16:21:47.270Z] 0K .......... ...... 996K=0.02s [2021-07-28T16:21:47.270Z] [2021-07-28T16:21:47.270Z] 2021-07-28 16:21:47 (996 KB/s) - written to stdout [16451] [2021-07-28T16:21:47.270Z] [2021-07-28T16:21:47.270Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-07-28T16:21:47.270Z] + tar -C deps -z -x -f - [2021-07-28T16:21:47.270Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-28T16:21:47.270Z] --2021-07-28 16:21:47-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-28T16:21:47.270Z] Resolving github.com (github.com)... 140.82.113.4 [2021-07-28T16:21:47.270Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-07-28T16:21:47.270Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T16:21:47.270Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-07-28T16:21:47.270Z] --2021-07-28 16:21:47-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-07-28T16:21:47.270Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-07-28T16:21:47.288Z] [ 75%] Built target csdk [2021-07-28T16:21:47.288Z] Scanning dependencies of target template [2021-07-28T16:21:47.288Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-28T16:21:47.542Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-07-28T16:21:47.543Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T16:21:47.543Z] Length: unspecified [application/x-gzip] [2021-07-28T16:21:47.543Z] Saving to: 'STDOUT' [2021-07-28T16:21:47.543Z]  [2021-07-28T16:21:47.543Z] 0K .......... .......... .......... .......... .......... 1.51M [2021-07-28T16:21:47.543Z] 50K .......... .......... .......... .......... .......... 2.93M [2021-07-28T16:21:47.543Z] 100K .......... .......... .......... .......... .......... 44.4M [2021-07-28T16:21:47.543Z] 150K .......... .......... ....... 6.21M=0.05s [2021-07-28T16:21:47.543Z] [2021-07-28T16:21:47.543Z] 2021-07-28 16:21:47 (3.18 MB/s) - written to stdout [181796] [2021-07-28T16:21:47.543Z] [2021-07-28T16:21:47.543Z] + mkdir -p src/c/iot [2021-07-28T16:21:47.543Z] + 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-07-28T16:21:47.543Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-07-28T16:21:47.543Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-07-28T16:21:47.543Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-07-28T16:21:47.543Z] + mkdir -p include/iot [2021-07-28T16:21:47.543Z] + 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-07-28T16:21:47.543Z] + mkdir -p include/iot/os [2021-07-28T16:21:47.543Z] + 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-07-28T16:21:47.543Z] + mkdir -p /tmp/sdk/build/release [2021-07-28T16:21:47.543Z] + cd /tmp/sdk/build/release [2021-07-28T16:21:47.543Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-07-28T16:21:47.562Z] [ 78%] Linking C executable template [2021-07-28T16:21:47.811Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T16:21:47.811Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T16:21:47.811Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T16:21:47.811Z] -- Detecting C compiler ABI info [2021-07-28T16:21:47.811Z] -- Detecting C compiler ABI info - done [2021-07-28T16:21:47.811Z] -- Detecting C compile features [2021-07-28T16:21:47.811Z] -- Detecting C compile features - done [2021-07-28T16:21:47.811Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-28T16:21:47.811Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-28T16:21:47.811Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-28T16:21:47.811Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-28T16:21:47.811Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-28T16:21:47.811Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-28T16:21:47.811Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-28T16:21:47.811Z] -- C SDK 0.0.0 for Linux [2021-07-28T16:21:47.811Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-28T16:21:47.834Z] [ 78%] Built target template [2021-07-28T16:21:47.834Z] Scanning dependencies of target device-counter [2021-07-28T16:21:47.834Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-28T16:21:48.078Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-28T16:21:48.079Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-28T16:21:48.079Z] -- Configuring done [2021-07-28T16:21:48.079Z] -- Generating done [2021-07-28T16:21:48.079Z] -- Build files have been written to: /tmp/sdk/build/release [2021-07-28T16:21:48.079Z] + make all package [2021-07-28T16:21:48.079Z] + tee release.log [2021-07-28T16:21:48.079Z] Scanning dependencies of target csdk [2021-07-28T16:21:48.079Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-28T16:21:48.105Z] [ 81%] Linking C executable device-counter [2021-07-28T16:21:48.353Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-28T16:21:48.353Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-28T16:21:48.376Z] [ 81%] Built target device-counter [2021-07-28T16:21:48.376Z] Scanning dependencies of target device-random [2021-07-28T16:21:48.377Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-28T16:21:48.620Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-28T16:21:48.648Z] [ 84%] Linking C executable device-random [2021-07-28T16:21:48.887Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-28T16:21:48.887Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-28T16:21:48.887Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-28T16:21:48.919Z] [ 84%] Built target device-random [2021-07-28T16:21:48.919Z] Scanning dependencies of target device-gyro [2021-07-28T16:21:48.919Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-28T16:21:49.154Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-28T16:21:49.154Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-28T16:21:49.191Z] [ 87%] Linking C executable device-gyro [2021-07-28T16:21:49.424Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-28T16:21:49.463Z] [ 87%] Built target device-gyro [2021-07-28T16:21:49.463Z] Scanning dependencies of target device-bitfields [2021-07-28T16:21:49.463Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-28T16:21:49.694Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-28T16:21:49.694Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-28T16:21:49.694Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-28T16:21:49.735Z] [ 90%] Linking C executable device-bitfields [2021-07-28T16:21:49.963Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-28T16:21:49.963Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-28T16:21:49.963Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-28T16:21:50.006Z] [ 90%] Built target device-bitfields [2021-07-28T16:21:50.006Z] Scanning dependencies of target template-discovery [2021-07-28T16:21:50.006Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-28T16:21:50.231Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-28T16:21:50.278Z] [ 93%] Linking C executable template-discovery [2021-07-28T16:21:50.499Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-28T16:21:50.550Z] [ 93%] Built target template-discovery [2021-07-28T16:21:50.550Z] Scanning dependencies of target device-file [2021-07-28T16:21:50.550Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-28T16:21:50.767Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-28T16:21:50.767Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-28T16:21:50.767Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-28T16:21:50.767Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-28T16:21:50.822Z] [ 96%] Linking C executable device-file [2021-07-28T16:21:51.036Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-28T16:21:51.094Z] [ 96%] Built target device-file [2021-07-28T16:21:51.094Z] Scanning dependencies of target device-terminal [2021-07-28T16:21:51.368Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-28T16:21:51.621Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-28T16:21:51.621Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-28T16:21:51.621Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-28T16:21:51.621Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-28T16:21:51.639Z] [100%] Linking C executable device-terminal [2021-07-28T16:21:51.890Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-28T16:21:51.890Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-28T16:21:51.890Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-28T16:21:51.910Z] [100%] Built target device-terminal [2021-07-28T16:21:51.910Z] make: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:21:51.910Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:21:51.910Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:21:51.910Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:21:51.910Z] [ 75%] Built target csdk [2021-07-28T16:21:51.910Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:21:51.910Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:21:51.910Z] [ 78%] Built target template [2021-07-28T16:21:51.910Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:21:51.910Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:21:51.910Z] [ 81%] Built target device-counter [2021-07-28T16:21:51.910Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:21:51.910Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:21:52.159Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-28T16:21:52.159Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-28T16:21:52.159Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-28T16:21:52.181Z] [ 84%] Built target device-random [2021-07-28T16:21:52.181Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:21:52.181Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:21:52.181Z] [ 87%] Built target device-gyro [2021-07-28T16:21:52.181Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:21:52.181Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:21:52.181Z] [ 90%] Built target device-bitfields [2021-07-28T16:21:52.181Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:21:52.181Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:21:52.181Z] [ 93%] Built target template-discovery [2021-07-28T16:21:52.181Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:21:52.181Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:21:52.181Z] [ 96%] Built target device-file [2021-07-28T16:21:52.181Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:21:52.181Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:21:52.181Z] [100%] Built target device-terminal [2021-07-28T16:21:52.181Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:21:52.181Z] Install the project... [2021-07-28T16:21:52.181Z] -- Install configuration: "Release" [2021-07-28T16:21:52.181Z] -- Installing: /usr/local/lib/libcsdk.so [2021-07-28T16:21:52.181Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-07-28T16:21:52.181Z] -- Up-to-date: /usr/local/include [2021-07-28T16:21:52.181Z] -- Installing: /usr/local/include/edgex [2021-07-28T16:21:52.181Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-07-28T16:21:52.181Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-07-28T16:21:52.181Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/edgex/devices.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/edgex/secrets.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/devsdk [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/json.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/container.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/component.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/typecode.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/iot.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/time.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/hash.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/logger.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/os [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/data.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/thread.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/os.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/base64.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/defs.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/include/iot/config.h [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-07-28T16:21:52.456Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-07-28T16:21:52.456Z] make: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:21:52.746Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-28T16:21:52.746Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-28T16:21:52.746Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-28T16:21:53.013Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-28T16:21:53.598Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-28T16:21:53.866Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-28T16:21:53.866Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-28T16:21:53.866Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-28T16:21:54.135Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-28T16:21:54.402Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-28T16:21:54.402Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-28T16:21:54.429Z] Removing intermediate container 3d6bc68059b8 [2021-07-28T16:21:54.429Z] ---> e33d08302eda [2021-07-28T16:21:54.429Z] Step 16/25 : FROM ${BASE} [2021-07-28T16:21:54.429Z] ---> 759262b18b23 [2021-07-28T16:21:54.429Z] Step 17/25 : LABEL maintainer="IOTech " [2021-07-28T16:21:54.429Z] ---> Running in 4341a538fef9 [2021-07-28T16:21:54.669Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-28T16:21:54.669Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-28T16:21:54.939Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-28T16:21:55.020Z] Removing intermediate container 4341a538fef9 [2021-07-28T16:21:55.020Z] ---> 33980dcd0707 [2021-07-28T16:21:55.020Z] 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-07-28T16:21:55.293Z] ---> Running in cc30cce806ac [2021-07-28T16:21:55.524Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-28T16:21:55.793Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-28T16:21:55.793Z] [ 75%] Linking C shared library libcsdk.so [2021-07-28T16:21:55.793Z] [ 75%] Built target csdk [2021-07-28T16:21:55.793Z] Scanning dependencies of target template [2021-07-28T16:21:55.793Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-28T16:21:56.065Z] [ 78%] Linking C executable template [2021-07-28T16:21:56.065Z] [ 78%] Built target template [2021-07-28T16:21:56.065Z] Scanning dependencies of target device-counter [2021-07-28T16:21:56.065Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-28T16:21:56.065Z] [ 81%] Linking C executable device-counter [2021-07-28T16:21:56.272Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-07-28T16:21:56.350Z] [ 81%] Built target device-counter [2021-07-28T16:21:56.350Z] Scanning dependencies of target device-random [2021-07-28T16:21:56.350Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-28T16:21:56.350Z] [ 84%] Linking C executable device-random [2021-07-28T16:21:56.350Z] [ 84%] Built target device-random [2021-07-28T16:21:56.350Z] Scanning dependencies of target device-gyro [2021-07-28T16:21:56.350Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-28T16:21:56.620Z] [ 87%] Linking C executable device-gyro [2021-07-28T16:21:56.620Z] [ 87%] Built target device-gyro [2021-07-28T16:21:56.620Z] Scanning dependencies of target device-bitfields [2021-07-28T16:21:56.620Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-28T16:21:56.620Z] [ 90%] Linking C executable device-bitfields [2021-07-28T16:21:56.620Z] [ 90%] Built target device-bitfields [2021-07-28T16:21:56.620Z] Scanning dependencies of target template-discovery [2021-07-28T16:21:56.620Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-28T16:21:56.866Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T16:21:56.866Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-28T16:21:56.866Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-28T16:21:56.890Z] [ 93%] Linking C executable template-discovery [2021-07-28T16:21:56.890Z] [ 93%] Built target template-discovery [2021-07-28T16:21:56.890Z] Scanning dependencies of target device-file [2021-07-28T16:21:56.890Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-28T16:21:56.890Z] [ 96%] Linking C executable device-file [2021-07-28T16:21:57.164Z] [ 96%] Built target device-file [2021-07-28T16:21:57.164Z] Scanning dependencies of target device-terminal [2021-07-28T16:21:57.164Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-28T16:21:57.164Z] [100%] Linking C executable device-terminal [2021-07-28T16:21:57.164Z] [100%] Built target device-terminal [2021-07-28T16:21:57.164Z] Run CPack packaging tool... [2021-07-28T16:21:57.164Z] CPack: Create package using TGZ [2021-07-28T16:21:57.164Z] CPack: Install projects [2021-07-28T16:21:57.164Z] CPack: - Run preinstall target for: Csdk [2021-07-28T16:21:57.434Z] CPack: - Install project: Csdk [] [2021-07-28T16:21:57.434Z] CPack: Create package [2021-07-28T16:21:57.434Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-07-28T16:21:57.434Z] + '[' false '=' true ] [2021-07-28T16:21:57.434Z] + '[' false '=' true ] [2021-07-28T16:21:57.434Z] + mkdir -p /tmp/sdk/build/debug [2021-07-28T16:21:57.434Z] + cd /tmp/sdk/build/debug [2021-07-28T16:21:57.434Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-07-28T16:21:57.434Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T16:21:57.434Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T16:21:57.701Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T16:21:57.701Z] -- Detecting C compiler ABI info [2021-07-28T16:21:57.701Z] -- Detecting C compiler ABI info - done [2021-07-28T16:21:57.701Z] -- Detecting C compile features [2021-07-28T16:21:57.701Z] -- Detecting C compile features - done [2021-07-28T16:21:57.701Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-28T16:21:57.701Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-28T16:21:57.701Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-28T16:21:57.701Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-28T16:21:57.701Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-28T16:21:57.701Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-28T16:21:57.701Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-28T16:21:57.701Z] -- C SDK 0.0.0 for Linux [2021-07-28T16:21:57.701Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-28T16:21:57.701Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-28T16:21:57.865Z] Removing intermediate container cc30cce806ac [2021-07-28T16:21:57.865Z] ---> 12476aacf4e2 [2021-07-28T16:21:57.865Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T16:21:57.968Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-28T16:21:57.968Z] -- Configuring done [2021-07-28T16:21:57.968Z] -- Generating done [2021-07-28T16:21:57.968Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-07-28T16:21:57.968Z] + make [2021-07-28T16:21:57.968Z] + tee debug.log [2021-07-28T16:21:57.968Z] Scanning dependencies of target csdk [2021-07-28T16:21:57.968Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-28T16:21:57.968Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-28T16:21:58.155Z] ---> Running in fb072d444629 [2021-07-28T16:21:58.234Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-28T16:21:58.234Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-28T16:21:58.234Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-28T16:21:58.235Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-28T16:21:58.502Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-28T16:21:58.502Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-28T16:21:58.502Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-28T16:21:58.502Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-28T16:21:58.776Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-28T16:21:58.776Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-28T16:21:58.776Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-28T16:21:59.079Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-28T16:21:59.079Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-28T16:21:59.079Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-28T16:21:59.079Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-28T16:21:59.079Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-28T16:21:59.356Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-28T16:21:59.356Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-28T16:21:59.356Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-28T16:21:59.356Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-28T16:21:59.356Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-28T16:21:59.623Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-28T16:21:59.623Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-28T16:21:59.623Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-28T16:21:59.623Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-28T16:21:59.891Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-28T16:21:59.891Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-28T16:21:59.891Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-28T16:21:59.891Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-28T16:21:59.891Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-28T16:22:00.157Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-28T16:22:00.157Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-28T16:22:00.157Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-28T16:22:00.157Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-28T16:22:00.423Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-28T16:22:00.423Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-28T16:22:00.689Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-28T16:22:00.689Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-28T16:22:00.689Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-28T16:22:00.689Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-28T16:22:00.789Z] Removing intermediate container fb072d444629 [2021-07-28T16:22:00.789Z] ---> 27bc047b9727 [2021-07-28T16:22:00.789Z] 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-07-28T16:22:00.789Z] ---> Running in 036087e70e1b [2021-07-28T16:22:00.957Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-28T16:22:00.957Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-28T16:22:00.957Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-28T16:22:01.227Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-28T16:22:01.227Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-28T16:22:01.494Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-28T16:22:01.495Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-28T16:22:01.495Z] [ 75%] Linking C shared library libcsdk.so [2021-07-28T16:22:01.495Z] [ 75%] Built target csdk [2021-07-28T16:22:01.495Z] Scanning dependencies of target template [2021-07-28T16:22:01.495Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-28T16:22:01.495Z] [ 78%] Linking C executable template [2021-07-28T16:22:01.761Z] [ 78%] Built target template [2021-07-28T16:22:01.761Z] Scanning dependencies of target device-counter [2021-07-28T16:22:01.761Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-28T16:22:01.761Z] [ 81%] Linking C executable device-counter [2021-07-28T16:22:01.761Z] [ 81%] Built target device-counter [2021-07-28T16:22:01.761Z] Scanning dependencies of target device-random [2021-07-28T16:22:01.761Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-28T16:22:01.761Z] [ 84%] Linking C executable device-random [2021-07-28T16:22:01.761Z] [ 84%] Built target device-random [2021-07-28T16:22:01.767Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-28T16:22:02.029Z] Scanning dependencies of target device-gyro [2021-07-28T16:22:02.029Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-28T16:22:02.029Z] [ 87%] Linking C executable device-gyro [2021-07-28T16:22:02.029Z] [ 87%] Built target device-gyro [2021-07-28T16:22:02.029Z] Scanning dependencies of target device-bitfields [2021-07-28T16:22:02.029Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-28T16:22:02.029Z] [ 90%] Linking C executable device-bitfields [2021-07-28T16:22:02.029Z] [ 90%] Built target device-bitfields [2021-07-28T16:22:02.029Z] Scanning dependencies of target template-discovery [2021-07-28T16:22:02.029Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-28T16:22:02.297Z] [ 93%] Linking C executable template-discovery [2021-07-28T16:22:02.297Z] [ 93%] Built target template-discovery [2021-07-28T16:22:02.297Z] Scanning dependencies of target device-file [2021-07-28T16:22:02.297Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-28T16:22:02.297Z] [ 96%] Linking C executable device-file [2021-07-28T16:22:02.297Z] [ 96%] Built target device-file [2021-07-28T16:22:02.297Z] Scanning dependencies of target device-terminal [2021-07-28T16:22:02.297Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-28T16:22:02.360Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-28T16:22:02.566Z] [100%] Linking C executable device-terminal [2021-07-28T16:22:02.566Z] [100%] Built target device-terminal [2021-07-28T16:22:02.566Z] make: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.566Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.566Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.566Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.566Z] [ 75%] Built target csdk [2021-07-28T16:22:02.566Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.566Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.566Z] [ 78%] Built target template [2021-07-28T16:22:02.566Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.566Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.566Z] [ 81%] Built target device-counter [2021-07-28T16:22:02.566Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.566Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.566Z] [ 84%] Built target device-random [2021-07-28T16:22:02.566Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.566Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.566Z] [ 87%] Built target device-gyro [2021-07-28T16:22:02.566Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.567Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.567Z] [ 90%] Built target device-bitfields [2021-07-28T16:22:02.567Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.567Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.567Z] [ 93%] Built target template-discovery [2021-07-28T16:22:02.567Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.567Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.567Z] [ 96%] Built target device-file [2021-07-28T16:22:02.567Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.567Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.567Z] [100%] Built target device-terminal [2021-07-28T16:22:02.567Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.567Z] Install the project... [2021-07-28T16:22:02.567Z] -- Install configuration: "Release" [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/lib/libcsdk.so [2021-07-28T16:22:02.567Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-07-28T16:22:02.567Z] -- Up-to-date: /usr/local/include [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/devsdk [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/edgex [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/edgex/devices.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/edgex/secrets.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/base64.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/component.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/config.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/container.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/data.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/hash.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/iot.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/json.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/logger.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/os.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/thread.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/time.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/typecode.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/os [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-07-28T16:22:02.567Z] -- Installing: /usr/local/include/iot/defs.h [2021-07-28T16:22:02.838Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-07-28T16:22:02.838Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-07-28T16:22:02.838Z] make: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:22:02.952Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-28T16:22:03.106Z] Removing intermediate container 05b7dbebc824 [2021-07-28T16:22:03.106Z] ---> 7687d3e615fb [2021-07-28T16:22:03.106Z] Step 16/25 : FROM ${BASE} [2021-07-28T16:22:03.106Z] ---> ac6a0feb3254 [2021-07-28T16:22:03.106Z] Step 17/25 : LABEL maintainer="IOTech " [2021-07-28T16:22:03.385Z] ---> Running in 909397d081f3 [2021-07-28T16:22:03.385Z] Removing intermediate container 909397d081f3 [2021-07-28T16:22:03.385Z] ---> 5892a341ca25 [2021-07-28T16:22:03.385Z] 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-07-28T16:22:03.385Z] ---> Running in 1f458367ddc5 [2021-07-28T16:22:03.541Z] (1/7) Installing curl (7.78.0-r0) [2021-07-28T16:22:03.541Z] (2/7) Installing hiredis (0.14.1-r0) [2021-07-28T16:22:03.655Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-07-28T16:22:03.812Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-07-28T16:22:03.812Z] (4/7) Installing libuuid (2.35.2-r0) [2021-07-28T16:22:03.812Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-28T16:22:03.921Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T16:22:03.922Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-28T16:22:03.922Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-28T16:22:04.192Z] Removing intermediate container 1f458367ddc5 [2021-07-28T16:22:04.192Z] ---> 83399730357d [2021-07-28T16:22:04.192Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T16:22:04.192Z] ---> Running in 2b86e6d6e835 [2021-07-28T16:22:04.783Z] Removing intermediate container 2b86e6d6e835 [2021-07-28T16:22:04.783Z] ---> 1ca733db8f28 [2021-07-28T16:22:04.783Z] 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-07-28T16:22:04.783Z] ---> Running in ef49a0c4b50a [2021-07-28T16:22:05.053Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-28T16:22:05.247Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-07-28T16:22:05.516Z] (7/7) Installing wget (1.20.3-r1) [2021-07-28T16:22:05.636Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-28T16:22:05.787Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T16:22:05.788Z] OK: 267 MiB in 82 packages [2021-07-28T16:22:05.903Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-28T16:22:06.490Z] (1/7) Installing curl (7.78.0-r0) [2021-07-28T16:22:06.490Z] (2/7) Installing hiredis (0.14.1-r0) [2021-07-28T16:22:06.490Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-07-28T16:22:06.755Z] (4/7) Installing libuuid (2.35.2-r0) [2021-07-28T16:22:06.755Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-28T16:22:07.219Z] Removing intermediate container 036087e70e1b [2021-07-28T16:22:07.219Z] ---> 3472a0f13dba [2021-07-28T16:22:07.219Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-07-28T16:22:08.163Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-07-28T16:22:08.163Z] (7/7) Installing wget (1.20.3-r1) [2021-07-28T16:22:08.196Z] ---> e906159eed22 [2021-07-28T16:22:08.196Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-07-28T16:22:08.430Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T16:22:08.430Z] OK: 286 MiB in 82 packages [2021-07-28T16:22:08.697Z] Removing intermediate container ef49a0c4b50a [2021-07-28T16:22:08.697Z] ---> 010e858f2bb8 [2021-07-28T16:22:08.697Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-07-28T16:22:08.790Z] ---> befd413be05c [2021-07-28T16:22:08.790Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-07-28T16:22:08.970Z] ---> 117f6c8eb688 [2021-07-28T16:22:08.970Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-07-28T16:22:08.970Z] ---> 007f5e722b47 [2021-07-28T16:22:08.970Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-07-28T16:22:09.238Z] ---> 7bba99f9a08c [2021-07-28T16:22:09.239Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-07-28T16:22:09.239Z] ---> 995c6aea4bd6 [2021-07-28T16:22:09.239Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-07-28T16:22:09.504Z] ---> ec23b6c7e39f [2021-07-28T16:22:09.504Z] Successfully built ec23b6c7e39f [2021-07-28T16:22:09.504Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:22:09.765Z] ---> 2e4d49a49bb2 [2021-07-28T16:22:09.766Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-07-28T16:22:09.957Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-28T16:22:09.957Z] . [Pipeline] withDockerContainer [2021-07-28T16:22:10.045Z] prd-centos7-docker-4c-2g-376 does not seem to be running inside a container [2021-07-28T16:22:10.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-28T16:22:10.494Z] $ docker top 05b5c3d7b759f7aaef98b35f3f5e3b34c52f895bbd9651966faae43c7a210f03 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-28T16:22:10.740Z] ---> 552ac4c820ee [2021-07-28T16:22:10.740Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-07-28T16:22:10.897Z] + make test [2021-07-28T16:22:10.897Z] echo "make test" [2021-07-28T16:22:10.897Z] make test [Pipeline] } [2021-07-28T16:22:10.914Z] $ docker stop --time=1 05b5c3d7b759f7aaef98b35f3f5e3b34c52f895bbd9651966faae43c7a210f03 [2021-07-28T16:22:11.334Z] ---> d16fe795a8ed [2021-07-28T16:22:11.604Z] Successfully built d16fe795a8ed [2021-07-28T16:22:11.605Z] Successfully tagged ci-base-image-arm64:latest [2021-07-28T16:22:12.103Z] $ docker rm -f 05b5c3d7b759f7aaef98b35f3f5e3b34c52f895bbd9651966faae43c7a210f03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:22:13.524Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-28T16:22:13.599Z] + docker inspect -f . ci-base-image-arm64 [2021-07-28T16:22:13.599Z] . [Pipeline] withDockerContainer [2021-07-28T16:22:13.837Z] + ls -al . [2021-07-28T16:22:13.837Z] total 160 [2021-07-28T16:22:13.837Z] drwxrwxr-x. 8 jenkins jenkins 260 Jul 28 16:21 . [2021-07-28T16:22:13.837Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 28 16:21 .. [2021-07-28T16:22:13.837Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jul 28 16:21 Attribution.txt [2021-07-28T16:22:13.837Z] -rw-rw-r--. 1 jenkins jenkins 7556 Jul 28 16:21 CHANGES [2021-07-28T16:22:13.837Z] drwxrwxr-x. 2 jenkins jenkins 121 Jul 28 16:21 docs [2021-07-28T16:22:13.837Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jul 28 16:21 Doxyfile [2021-07-28T16:22:13.837Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 28 16:21 .git [2021-07-28T16:22:13.837Z] drwxrwxr-x. 2 jenkins jenkins 81 Jul 28 16:21 .github [2021-07-28T16:22:13.837Z] -rw-rw-r--. 1 jenkins jenkins 176 Jul 28 16:21 .gitignore [2021-07-28T16:22:13.837Z] drwxrwxr-x. 4 jenkins jenkins 33 Jul 28 16:21 include [2021-07-28T16:22:13.837Z] -rw-rw-r--. 1 jenkins jenkins 784 Jul 28 16:21 Jenkinsfile [2021-07-28T16:22:13.837Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jul 28 16:21 LICENSE [2021-07-28T16:22:13.837Z] -rw-rw-r--. 1 jenkins jenkins 444 Jul 28 16:21 Makefile [2021-07-28T16:22:13.837Z] -rw-rw-r--. 1 jenkins jenkins 4090 Jul 28 16:21 README.md [2021-07-28T16:22:13.837Z] -rw-rw-r--. 1 jenkins jenkins 7090 Jul 28 16:21 README.v2.md [2021-07-28T16:22:13.837Z] drwxrwxr-x. 2 jenkins jenkins 98 Jul 28 16:21 scripts [2021-07-28T16:22:13.837Z] drwxrwxr-x. 4 jenkins jenkins 50 Jul 28 16:21 src [2021-07-28T16:22:13.837Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 28 16:19 VERSION [2021-07-28T16:22:13.862Z] prd-ubuntu18.04-docker-arm64-4c-16g-372 does not seem to be running inside a container [2021-07-28T16:22:13.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-28T16:22:15.708Z] $ docker top 02fa26f1dca4cce56eca27e20ecca986ef8adf477fa25b0e6ff4e8d7fc2b8145 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:22:16.443Z] + 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=66df8a1dc730d8f42e5be5e750b5933662fc1a4b --label arch=amd64 --label version=0.0.0 . [2021-07-28T16:22:16.443Z] Sending build context to Docker daemon 2.692MB [2021-07-28T16:22:16.443Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-07-28T16:22:16.443Z] Step 2/17 : FROM ${BASE} [2021-07-28T16:22:16.443Z] ---> ec23b6c7e39f [2021-07-28T16:22:16.443Z] Step 3/17 : LABEL maintainer="IOTech " [2021-07-28T16:22:16.443Z] ---> Running in 8e17e8576bad [2021-07-28T16:22:16.714Z] Removing intermediate container 8e17e8576bad [2021-07-28T16:22:16.714Z] ---> 0bc35df5aef3 [2021-07-28T16:22:16.714Z] 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-07-28T16:22:16.714Z] ---> Running in c3ea57a37597 [2021-07-28T16:22:16.719Z] + make test [2021-07-28T16:22:16.719Z] echo "make test" [2021-07-28T16:22:16.719Z] make test [Pipeline] } [2021-07-28T16:22:16.718Z] $ docker stop --time=1 02fa26f1dca4cce56eca27e20ecca986ef8adf477fa25b0e6ff4e8d7fc2b8145 [2021-07-28T16:22:16.979Z] --2021-07-28 16:22:16-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-07-28T16:22:16.979Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.195.244.87, 54.170.66.44 [2021-07-28T16:22:16.979Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2021-07-28T16:22:17.257Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T16:22:17.257Z] Length: 451 [application/octet-stream] [2021-07-28T16:22:17.257Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T16:22:17.257Z]  [2021-07-28T16:22:17.257Z] 0K 100% 39.9M=0s [2021-07-28T16:22:17.257Z] [2021-07-28T16:22:17.257Z] 2021-07-28 16:22:17 (39.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-07-28T16:22:17.257Z] [2021-07-28T16:22:17.532Z] Removing intermediate container c3ea57a37597 [2021-07-28T16:22:17.532Z] ---> eb3e9f1e11ed [2021-07-28T16:22:17.532Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T16:22:17.532Z] ---> Running in b5b0a218df0a [2021-07-28T16:22:17.811Z] Removing intermediate container b5b0a218df0a [2021-07-28T16:22:17.811Z] ---> c6367f3ac897 [2021-07-28T16:22:17.811Z] 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-07-28T16:22:17.811Z] ---> Running in 06fbe203076f [2021-07-28T16:22:18.077Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-28T16:22:18.578Z] $ docker rm -f 02fa26f1dca4cce56eca27e20ecca986ef8adf477fa25b0e6ff4e8d7fc2b8145 [2021-07-28T16:22:18.662Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-28T16:22:19.250Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-28T16:22:19.422Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-28T16:22:19.516Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-28T16:22:19.751Z] + ls -al . [2021-07-28T16:22:19.751Z] total 192 [2021-07-28T16:22:19.751Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 16:19 . [2021-07-28T16:22:19.751Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 16:19 .. [2021-07-28T16:22:19.751Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 16:19 .git [2021-07-28T16:22:19.751Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 16:19 .github [2021-07-28T16:22:19.751Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 28 16:19 .gitignore [2021-07-28T16:22:19.751Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 28 16:19 Attribution.txt [2021-07-28T16:22:19.751Z] -rw-rw-r-- 1 jenkins jenkins 7556 Jul 28 16:19 CHANGES [2021-07-28T16:22:19.751Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 28 16:19 Doxyfile [2021-07-28T16:22:19.751Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 28 16:19 Jenkinsfile [2021-07-28T16:22:19.751Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 28 16:19 LICENSE [2021-07-28T16:22:19.751Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 28 16:19 Makefile [2021-07-28T16:22:19.751Z] -rw-rw-r-- 1 jenkins jenkins 4090 Jul 28 16:19 README.md [2021-07-28T16:22:19.751Z] -rw-rw-r-- 1 jenkins jenkins 7090 Jul 28 16:19 README.v2.md [2021-07-28T16:22:19.751Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 16:19 VERSION [2021-07-28T16:22:19.751Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 16:19 docs [2021-07-28T16:22:19.751Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 16:19 include [2021-07-28T16:22:19.751Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 16:19 scripts [2021-07-28T16:22:19.751Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 16:19 src [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:22:19.783Z] (2/16) Installing libblkid (2.35.2-r0) [2021-07-28T16:22:19.784Z] (3/16) Installing blkid (2.35.2-r0) [2021-07-28T16:22:19.784Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-07-28T16:22:20.050Z] (5/16) Installing setpriv (2.35.2-r0) [2021-07-28T16:22:20.050Z] (6/16) Installing libmount (2.35.2-r0) [2021-07-28T16:22:20.050Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-07-28T16:22:20.089Z] + 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=6bad4243c91085152b09cf272f9a5e6f443993c1 --label arch=arm64 --label version=0.0.0 . [2021-07-28T16:22:20.317Z] (8/16) Installing findmnt (2.35.2-r0) [2021-07-28T16:22:20.317Z] (9/16) Installing mcookie (2.35.2-r0) [2021-07-28T16:22:20.317Z] (10/16) Installing hexdump (2.35.2-r0) [2021-07-28T16:22:20.583Z] (11/16) Installing lsblk (2.35.2-r0) [2021-07-28T16:22:20.583Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-07-28T16:22:20.583Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-07-28T16:22:20.583Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-07-28T16:22:20.682Z] Sending build context to Docker daemon 2.691MB [2021-07-28T16:22:20.682Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-07-28T16:22:20.682Z] Step 2/17 : FROM ${BASE} [2021-07-28T16:22:20.682Z] ---> d16fe795a8ed [2021-07-28T16:22:20.682Z] Step 3/17 : LABEL maintainer="IOTech " [2021-07-28T16:22:20.849Z] (15/16) Installing util-linux (2.35.2-r0) [2021-07-28T16:22:20.954Z] ---> Running in 43271e6b8c96 [2021-07-28T16:22:21.116Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-07-28T16:22:21.382Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T16:22:21.382Z] OK: 295 MiB in 98 packages [2021-07-28T16:22:21.550Z] Removing intermediate container 43271e6b8c96 [2021-07-28T16:22:21.550Z] ---> 217d85b71dc1 [2021-07-28T16:22:21.550Z] 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-07-28T16:22:21.550Z] ---> Running in 830f5b0eab0a [2021-07-28T16:22:21.652Z] Removing intermediate container 06fbe203076f [2021-07-28T16:22:21.652Z] ---> 2f7451ee200e [2021-07-28T16:22:21.652Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-07-28T16:22:21.919Z] ---> 5f7a8e2dbb30 [2021-07-28T16:22:21.919Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-07-28T16:22:22.185Z] ---> e2d8b1338210 [2021-07-28T16:22:22.185Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-07-28T16:22:22.185Z] ---> 85610768d3aa [2021-07-28T16:22:22.185Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-07-28T16:22:22.453Z] ---> fa68ae88dcc9 [2021-07-28T16:22:22.453Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-07-28T16:22:22.453Z] ---> 1dd44befb075 [2021-07-28T16:22:22.453Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-07-28T16:22:22.719Z] ---> 536ce16d082c [2021-07-28T16:22:22.720Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-07-28T16:22:22.720Z] ---> Running in 81b50a10363c [2021-07-28T16:22:22.720Z] Removing intermediate container 81b50a10363c [2021-07-28T16:22:22.720Z] ---> bb61c7ca4148 [2021-07-28T16:22:22.720Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-07-28T16:22:22.720Z] ---> Running in c43970d8f46a [2021-07-28T16:22:22.978Z] --2021-07-28 16:22:22-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-07-28T16:22:22.978Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.195.244.87, 54.170.66.44 [2021-07-28T16:22:22.978Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2021-07-28T16:22:22.985Z] Removing intermediate container c43970d8f46a [2021-07-28T16:22:22.985Z] ---> 0a3d7221df40 [2021-07-28T16:22:22.985Z] Step 15/17 : LABEL arch=amd64 [2021-07-28T16:22:22.985Z] ---> Running in 1233953db4d3 [2021-07-28T16:22:22.985Z] Removing intermediate container 1233953db4d3 [2021-07-28T16:22:22.985Z] ---> 6993a287f112 [2021-07-28T16:22:22.985Z] Step 16/17 : LABEL git_sha=66df8a1dc730d8f42e5be5e750b5933662fc1a4b [2021-07-28T16:22:22.985Z] ---> Running in 45ddf1bad863 [2021-07-28T16:22:22.985Z] Removing intermediate container 45ddf1bad863 [2021-07-28T16:22:22.985Z] ---> 88c3725c5efb [2021-07-28T16:22:22.985Z] Step 17/17 : LABEL version=0.0.0 [2021-07-28T16:22:23.251Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T16:22:23.251Z] Length: 451 [application/octet-stream] [2021-07-28T16:22:23.251Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T16:22:23.251Z]  [2021-07-28T16:22:23.251Z] 0K 100% 18.1M=0s [2021-07-28T16:22:23.251Z] [2021-07-28T16:22:23.251Z] 2021-07-28 16:22:23 (18.1 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-07-28T16:22:23.251Z] [2021-07-28T16:22:23.253Z] ---> Running in 8727b776de5b [2021-07-28T16:22:23.253Z] Removing intermediate container 8727b776de5b [2021-07-28T16:22:23.253Z] ---> 820e1205197a [2021-07-28T16:22:23.253Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-28T16:22:23.253Z] Successfully built 820e1205197a [2021-07-28T16:22:23.253Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:22:23.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T16:22:23.971Z] [2021-07-28T16:22:23.971Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:22:24.309Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T16:22:24.309Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-28T16:22:24.309Z] b4d181a07f80: Pulling fs layer [2021-07-28T16:22:24.309Z] a1111a8f2ec3: Pulling fs layer [2021-07-28T16:22:24.309Z] ed53099fbce6: Pulling fs layer [2021-07-28T16:22:24.309Z] dc539afda2c1: Pulling fs layer [2021-07-28T16:22:24.309Z] 77bc0d833cb6: Pulling fs layer [2021-07-28T16:22:24.309Z] 9065ff56babe: Pulling fs layer [2021-07-28T16:22:24.309Z] d287ab97295c: Pulling fs layer [2021-07-28T16:22:24.309Z] dc539afda2c1: Waiting [2021-07-28T16:22:24.309Z] 77bc0d833cb6: Waiting [2021-07-28T16:22:24.309Z] 9065ff56babe: Waiting [2021-07-28T16:22:24.309Z] d287ab97295c: Waiting [2021-07-28T16:22:24.577Z] a1111a8f2ec3: Verifying Checksum [2021-07-28T16:22:24.577Z] a1111a8f2ec3: Download complete [2021-07-28T16:22:24.577Z] dc539afda2c1: Verifying Checksum [2021-07-28T16:22:24.577Z] dc539afda2c1: Download complete [2021-07-28T16:22:24.577Z] 77bc0d833cb6: Verifying Checksum [2021-07-28T16:22:24.577Z] 77bc0d833cb6: Download complete [2021-07-28T16:22:24.677Z] Removing intermediate container 830f5b0eab0a [2021-07-28T16:22:24.678Z] ---> d2bb217b724e [2021-07-28T16:22:24.678Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T16:22:24.678Z] ---> Running in fbe10e03dbc5 [2021-07-28T16:22:24.846Z] 9065ff56babe: Verifying Checksum [2021-07-28T16:22:24.846Z] 9065ff56babe: Download complete [2021-07-28T16:22:25.112Z] ed53099fbce6: Verifying Checksum [2021-07-28T16:22:25.112Z] ed53099fbce6: Download complete [2021-07-28T16:22:25.700Z] b4d181a07f80: Verifying Checksum [2021-07-28T16:22:25.700Z] b4d181a07f80: Download complete [2021-07-28T16:22:27.114Z] b4d181a07f80: Pull complete [2021-07-28T16:22:27.114Z] a1111a8f2ec3: Pull complete [2021-07-28T16:22:27.293Z] Removing intermediate container fbe10e03dbc5 [2021-07-28T16:22:27.293Z] ---> af657b5fa7a4 [2021-07-28T16:22:27.293Z] 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-07-28T16:22:27.293Z] ---> Running in b235e09181e5 [2021-07-28T16:22:27.379Z] ed53099fbce6: Pull complete [2021-07-28T16:22:27.653Z] dc539afda2c1: Pull complete [2021-07-28T16:22:27.920Z] 77bc0d833cb6: Pull complete [2021-07-28T16:22:27.920Z] 9065ff56babe: Pull complete [2021-07-28T16:22:28.269Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-28T16:22:28.860Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-28T16:22:29.343Z] d287ab97295c: Verifying Checksum [2021-07-28T16:22:29.343Z] d287ab97295c: Download complete [2021-07-28T16:22:29.453Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-28T16:22:30.045Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-28T16:22:30.046Z] (2/16) Installing libblkid (2.35.2-r0) [2021-07-28T16:22:30.315Z] (3/16) Installing blkid (2.35.2-r0) [2021-07-28T16:22:30.315Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-07-28T16:22:30.315Z] (5/16) Installing setpriv (2.35.2-r0) [2021-07-28T16:22:30.587Z] (6/16) Installing libmount (2.35.2-r0) [2021-07-28T16:22:30.587Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-07-28T16:22:30.587Z] (8/16) Installing findmnt (2.35.2-r0) [2021-07-28T16:22:30.857Z] (9/16) Installing mcookie (2.35.2-r0) [2021-07-28T16:22:30.857Z] (10/16) Installing hexdump (2.35.2-r0) [2021-07-28T16:22:30.857Z] (11/16) Installing lsblk (2.35.2-r0) [2021-07-28T16:22:31.128Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-07-28T16:22:31.128Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-07-28T16:22:31.128Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-07-28T16:22:31.407Z] (15/16) Installing util-linux (2.35.2-r0) [2021-07-28T16:22:31.683Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-07-28T16:22:32.276Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T16:22:32.276Z] OK: 276 MiB in 98 packages [2021-07-28T16:22:33.604Z] d287ab97295c: Pull complete [2021-07-28T16:22:33.604Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-28T16:22:33.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T16:22:33.604Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-28T16:22:33.697Z] prd-centos7-docker-4c-2g-376 does not seem to be running inside a container [2021-07-28T16:22:33.722Z] Removing intermediate container b235e09181e5 [2021-07-28T16:22:33.722Z] ---> bca6d339e3c5 [2021-07-28T16:22:33.722Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-07-28T16:22:33.751Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-28T16:22:34.697Z] ---> 92cda5f565fb [2021-07-28T16:22:34.697Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-07-28T16:22:35.677Z] ---> f6e49f2825de [2021-07-28T16:22:35.677Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-07-28T16:22:36.105Z] $ docker top 655ab2c713b0b96bdebc0078e9c157e61d8118ed81088e80fe4a299fca974a3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:22:36.633Z] ---> job-cost.sh [2021-07-28T16:22:36.633Z] lf-activate-venv: SKIPPING [2021-07-28T16:22:36.633Z] INFO: No Stack... [2021-07-28T16:22:36.657Z] ---> 32430a4106cf [2021-07-28T16:22:36.657Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-07-28T16:22:37.252Z] ---> dd7acfe1abb4 [2021-07-28T16:22:37.252Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-07-28T16:22:37.589Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-28T16:22:37.854Z] INFO: Archiving Costs [Pipeline] sh [2021-07-28T16:22:38.183Z] + cat /w/workspace/device-sdk-c/6/archives/cost.csv [2021-07-28T16:22:38.183Z] + cut -d, -f6 [Pipeline] lock [2021-07-28T16:22:38.220Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-6-stack-cost] [2021-07-28T16:22:38.227Z] ---> be92a9103d98 [2021-07-28T16:22:38.227Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-07-28T16:22:38.242Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-6-stack-cost] did not exist. Created. [2021-07-28T16:22:38.242Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-28T16:22:38.573Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-28T16:22:38.794Z] Stashed 1 file(s) [Pipeline] } [2021-07-28T16:22:38.812Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-6-stack-cost] [Pipeline] // lock [2021-07-28T16:22:38.824Z] ---> d3af72f9d555 [2021-07-28T16:22:38.824Z] Step 13/17 : WORKDIR /edgex-c-sdk [Pipeline] } [2021-07-28T16:22:38.833Z] $ docker stop --time=1 655ab2c713b0b96bdebc0078e9c157e61d8118ed81088e80fe4a299fca974a3a [2021-07-28T16:22:39.097Z] ---> Running in 44cad5051f5d [2021-07-28T16:22:39.691Z] Removing intermediate container 44cad5051f5d [2021-07-28T16:22:39.691Z] ---> f1a44441702b [2021-07-28T16:22:39.691Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-07-28T16:22:39.964Z] ---> Running in 3ac1af501731 [2021-07-28T16:22:39.984Z] $ docker rm -f 655ab2c713b0b96bdebc0078e9c157e61d8118ed81088e80fe4a299fca974a3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-28T16:22:40.560Z] Removing intermediate container 3ac1af501731 [2021-07-28T16:22:40.560Z] ---> 3250b9f6355e [2021-07-28T16:22:40.560Z] Step 15/17 : LABEL arch=arm64 [2021-07-28T16:22:40.560Z] ---> Running in 2516ef89d738 [2021-07-28T16:22:41.155Z] Removing intermediate container 2516ef89d738 [2021-07-28T16:22:41.156Z] ---> 88ff29aa61e4 [2021-07-28T16:22:41.156Z] Step 16/17 : LABEL git_sha=6bad4243c91085152b09cf272f9a5e6f443993c1 [2021-07-28T16:22:41.156Z] ---> Running in 8a82b74fa251 [2021-07-28T16:22:41.753Z] Removing intermediate container 8a82b74fa251 [2021-07-28T16:22:41.753Z] ---> 5434b139d8c8 [2021-07-28T16:22:41.753Z] Step 17/17 : LABEL version=0.0.0 [2021-07-28T16:22:41.753Z] ---> Running in 31c3016cc82b [2021-07-28T16:22:42.353Z] Removing intermediate container 31c3016cc82b [2021-07-28T16:22:42.353Z] ---> b2aa0ab944d0 [2021-07-28T16:22:42.353Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-28T16:22:42.626Z] Successfully built b2aa0ab944d0 [2021-07-28T16:22:42.626Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:22:43.207Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-28T16:22:43.208Z] [2021-07-28T16:22:43.208Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:22:43.838Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-28T16:22:44.112Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-28T16:22:44.112Z] 448f6bf000e3: Pulling fs layer [2021-07-28T16:22:44.112Z] f757da607395: Pulling fs layer [2021-07-28T16:22:44.112Z] 05883995daec: Pulling fs layer [2021-07-28T16:22:44.112Z] 8603b9c90790: Pulling fs layer [2021-07-28T16:22:44.112Z] 1560dd03e051: Pulling fs layer [2021-07-28T16:22:44.112Z] 27f5ce0e4adf: Pulling fs layer [2021-07-28T16:22:44.112Z] c2d8d7efcc4b: Pulling fs layer [2021-07-28T16:22:44.112Z] 8603b9c90790: Waiting [2021-07-28T16:22:44.112Z] 1560dd03e051: Waiting [2021-07-28T16:22:44.112Z] 27f5ce0e4adf: Waiting [2021-07-28T16:22:44.112Z] c2d8d7efcc4b: Waiting [2021-07-28T16:22:44.386Z] f757da607395: Download complete [2021-07-28T16:22:44.387Z] 8603b9c90790: Verifying Checksum [2021-07-28T16:22:44.387Z] 8603b9c90790: Download complete [2021-07-28T16:22:44.387Z] 1560dd03e051: Verifying Checksum [2021-07-28T16:22:44.387Z] 1560dd03e051: Download complete [2021-07-28T16:22:44.659Z] 27f5ce0e4adf: Verifying Checksum [2021-07-28T16:22:44.659Z] 27f5ce0e4adf: Download complete [2021-07-28T16:22:45.261Z] 05883995daec: Verifying Checksum [2021-07-28T16:22:45.261Z] 05883995daec: Download complete [2021-07-28T16:22:45.261Z] 448f6bf000e3: Download complete [2021-07-28T16:22:48.654Z] c2d8d7efcc4b: Verifying Checksum [2021-07-28T16:22:48.654Z] c2d8d7efcc4b: Download complete [2021-07-28T16:22:48.654Z] 448f6bf000e3: Pull complete [2021-07-28T16:22:49.633Z] f757da607395: Pull complete [2021-07-28T16:22:51.097Z] 05883995daec: Pull complete [2021-07-28T16:22:51.376Z] 8603b9c90790: Pull complete [2021-07-28T16:22:52.841Z] 1560dd03e051: Pull complete [2021-07-28T16:22:52.841Z] 27f5ce0e4adf: Pull complete [2021-07-28T16:23:07.929Z] c2d8d7efcc4b: Pull complete [2021-07-28T16:23:07.929Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-28T16:23:07.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-28T16:23:07.929Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-28T16:23:08.145Z] prd-ubuntu18.04-docker-arm64-4c-16g-372 does not seem to be running inside a container [2021-07-28T16:23:08.201Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-07-28T16:23:12.967Z] $ docker top 8a0451987a4f1c2881c1badd5d3c705f6baf90a46e5e82c0c81ba7989999537f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:23:14.006Z] ---> job-cost.sh [2021-07-28T16:23:14.006Z] lf-activate-venv: SKIPPING [2021-07-28T16:23:14.006Z] INFO: No Stack... [2021-07-28T16:23:15.431Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-28T16:23:15.702Z] INFO: Archiving Costs [Pipeline] sh [2021-07-28T16:23:16.361Z] + cat /w/workspace/device-sdk-c/6/archives/cost.csv [2021-07-28T16:23:16.361Z] + cut -d, -f6 [Pipeline] lock [2021-07-28T16:23:16.425Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-6-stack-cost] [2021-07-28T16:23:16.433Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-6-stack-cost] did not exist. Created. [2021-07-28T16:23:16.433Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-28T16:23:17.115Z] /w/workspace/device-sdk-c/6@tmp/durable-c1ececc4/script.sh: 1: /w/workspace/device-sdk-c/6@tmp/durable-c1ececc4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-28T16:23:17.775Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-28T16:23:17.804Z] Warning: overwriting stash ‘stack-cost’ [2021-07-28T16:23:18.286Z] Stashed 1 file(s) [Pipeline] } [2021-07-28T16:23:18.295Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-6-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-28T16:23:18.299Z] $ docker stop --time=1 8a0451987a4f1c2881c1badd5d3c705f6baf90a46e5e82c0c81ba7989999537f [2021-07-28T16:23:19.957Z] $ docker rm -f 8a0451987a4f1c2881c1badd5d3c705f6baf90a46e5e82c0c81ba7989999537f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:23:21.511Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:23:22.103Z] ---> package-listing.sh [2021-07-28T16:23:22.103Z] ++ facter osfamily [2021-07-28T16:23:22.103Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-28T16:23:22.373Z] + OS_FAMILY=redhat [2021-07-28T16:23:22.373Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-357 [2021-07-28T16:23:22.373Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-28T16:23:22.373Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-28T16:23:22.373Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-28T16:23:22.373Z] + PACKAGES=/tmp/packages_start.txt [2021-07-28T16:23:22.373Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' [2021-07-28T16:23:22.373Z] + PACKAGES=/tmp/packages_end.txt [2021-07-28T16:23:22.373Z] + case "${OS_FAMILY}" in [2021-07-28T16:23:22.373Z] + rpm -qa [2021-07-28T16:23:22.373Z] + sort [2021-07-28T16:23:22.964Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-28T16:23:22.964Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-28T16:23:22.964Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-28T16:23:22.964Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' [2021-07-28T16:23:22.964Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [2021-07-28T16:23:22.964Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [Pipeline] echo [2021-07-28T16:23:22.982Z] 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-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-28T16:23:23.525Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:23:24.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T16:23:24.114Z] [2021-07-28T16:23:24.114Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:23:24.448Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T16:23:24.449Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-28T16:23:24.449Z] b4d181a07f80: Pulling fs layer [2021-07-28T16:23:24.449Z] a1111a8f2ec3: Pulling fs layer [2021-07-28T16:23:24.449Z] ed53099fbce6: Pulling fs layer [2021-07-28T16:23:24.449Z] dc539afda2c1: Pulling fs layer [2021-07-28T16:23:24.449Z] 77bc0d833cb6: Pulling fs layer [2021-07-28T16:23:24.449Z] 9065ff56babe: Pulling fs layer [2021-07-28T16:23:24.449Z] d287ab97295c: Pulling fs layer [2021-07-28T16:23:24.449Z] 77bc0d833cb6: Waiting [2021-07-28T16:23:24.449Z] 9065ff56babe: Waiting [2021-07-28T16:23:24.449Z] d287ab97295c: Waiting [2021-07-28T16:23:24.449Z] dc539afda2c1: Waiting [2021-07-28T16:23:24.717Z] a1111a8f2ec3: Verifying Checksum [2021-07-28T16:23:24.717Z] a1111a8f2ec3: Download complete [2021-07-28T16:23:24.717Z] dc539afda2c1: Verifying Checksum [2021-07-28T16:23:24.717Z] dc539afda2c1: Download complete [2021-07-28T16:23:24.983Z] 77bc0d833cb6: Verifying Checksum [2021-07-28T16:23:24.983Z] 77bc0d833cb6: Download complete [2021-07-28T16:23:24.983Z] 9065ff56babe: Verifying Checksum [2021-07-28T16:23:24.983Z] 9065ff56babe: Download complete [2021-07-28T16:23:25.248Z] ed53099fbce6: Verifying Checksum [2021-07-28T16:23:25.248Z] ed53099fbce6: Download complete [2021-07-28T16:23:26.214Z] b4d181a07f80: Verifying Checksum [2021-07-28T16:23:26.214Z] b4d181a07f80: Download complete [2021-07-28T16:23:27.186Z] b4d181a07f80: Pull complete [2021-07-28T16:23:27.459Z] a1111a8f2ec3: Pull complete [2021-07-28T16:23:28.046Z] ed53099fbce6: Pull complete [2021-07-28T16:23:28.046Z] dc539afda2c1: Pull complete [2021-07-28T16:23:28.319Z] 77bc0d833cb6: Pull complete [2021-07-28T16:23:28.319Z] 9065ff56babe: Pull complete [2021-07-28T16:23:30.266Z] d287ab97295c: Verifying Checksum [2021-07-28T16:23:30.266Z] d287ab97295c: Download complete [2021-07-28T16:23:34.762Z] d287ab97295c: Pull complete [2021-07-28T16:23:34.762Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-28T16:23:34.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T16:23:34.762Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-28T16:23:34.868Z] prd-centos7-docker-4c-2g-375 does not seem to be running inside a container [2021-07-28T16:23:34.922Z] $ 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-357/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-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-28T16:23:37.230Z] $ docker top 72c55f8bed1bd1c504560a16729e8f9884aeddc7c11af5bb0bf54d80b01f3d26 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-28T16:23:37.635Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-28T16:23:37.953Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-28T16:23:38.269Z] + ls /var/log/sa-host [2021-07-28T16:23:38.269Z] + sadf -c /var/log/sa-host/sa05 [2021-07-28T16:23:38.269Z] file_magic: OK [2021-07-28T16:23:38.269Z] HZ: Using current value: 100 [2021-07-28T16:23:38.269Z] file_header: OK [2021-07-28T16:23:38.269Z] 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-07-28T16:23:38.269Z] Statistics: [2021-07-28T16:23:38.269Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-28T16:23:38.269Z] File successfully converted to sysstat format version 12.0.3 [2021-07-28T16:23:38.269Z] + sadf -c /var/log/sa-host/sa28 [2021-07-28T16:23:38.269Z] file_magic: OK [2021-07-28T16:23:38.269Z] HZ: Using current value: 100 [2021-07-28T16:23:38.269Z] file_header: OK [2021-07-28T16:23:38.269Z] 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-07-28T16:23:38.269Z] Statistics: [2021-07-28T16:23:38.269Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-28T16:23:38.269Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-28T16:23:38.516Z] provisioning config files... [2021-07-28T16:23:38.536Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config5749479345065811241tmp [Pipeline] { [Pipeline] echo [2021-07-28T16:23:38.558Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:23:38.867Z] ---> create-netrc.sh [Pipeline] } [2021-07-28T16:23:38.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:23:39.265Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-28T16:23:39.281Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:23:39.599Z] ---> sudo-logs.sh [2021-07-28T16:23:39.600Z] Archiving 'sudo' log.. [2021-07-28T16:23:39.600Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-375.vexxhost.local: Name or service not known [2021-07-28T16:23:39.600Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-375.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-28T16:23:39.650Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:23:39.964Z] ---> job-cost.sh [2021-07-28T16:23:39.964Z] lf-activate-venv: SKIPPING [2021-07-28T16:23:39.964Z] DEBUG: total: 0.18000000715255737 [2021-07-28T16:23:39.964Z] INFO: Retrieving Stack Cost... [2021-07-28T16:23:40.547Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-28T16:23:41.131Z] INFO: Archiving Costs [Pipeline] echo [2021-07-28T16:23:41.149Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:23:41.459Z] ---> logs-deploy.sh [2021-07-28T16:23:41.459Z] lf-activate-venv: SKIPPING [2021-07-28T16:23:41.459Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-357/6 [2021-07-28T16:23:41.459Z] INFO: archiving workspace using pattern(s): [2021-07-28T16:23:42.049Z] Archives upload complete. [2021-07-28T16:23:42.316Z] INFO: archiving logs to Nexus [2021-07-28T16:23:42.901Z] ---> uname -a: [2021-07-28T16:23:42.901Z] Linux prd-centos7-docker-4c-2g-375.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux [2021-07-28T16:23:42.901Z] [2021-07-28T16:23:42.901Z] [2021-07-28T16:23:42.901Z] ---> lscpu: [2021-07-28T16:23:42.901Z] Architecture: x86_64 [2021-07-28T16:23:42.901Z] CPU op-mode(s): 32-bit, 64-bit [2021-07-28T16:23:42.901Z] Byte Order: Little Endian [2021-07-28T16:23:42.901Z] Address sizes: 40 bits physical, 48 bits virtual [2021-07-28T16:23:42.901Z] CPU(s): 2 [2021-07-28T16:23:42.901Z] On-line CPU(s) list: 0,1 [2021-07-28T16:23:42.901Z] Thread(s) per core: 1 [2021-07-28T16:23:42.901Z] Core(s) per socket: 1 [2021-07-28T16:23:42.901Z] Socket(s): 2 [2021-07-28T16:23:42.901Z] NUMA node(s): 1 [2021-07-28T16:23:42.901Z] Vendor ID: AuthenticAMD [2021-07-28T16:23:42.901Z] CPU family: 23 [2021-07-28T16:23:42.901Z] Model: 49 [2021-07-28T16:23:42.901Z] Model name: AMD EPYC-Rome Processor [2021-07-28T16:23:42.901Z] Stepping: 0 [2021-07-28T16:23:42.901Z] CPU MHz: 2799.998 [2021-07-28T16:23:42.901Z] BogoMIPS: 5599.99 [2021-07-28T16:23:42.901Z] Virtualization: AMD-V [2021-07-28T16:23:42.901Z] Hypervisor vendor: KVM [2021-07-28T16:23:42.901Z] Virtualization type: full [2021-07-28T16:23:42.901Z] L1d cache: 32K [2021-07-28T16:23:42.901Z] L1i cache: 32K [2021-07-28T16:23:42.901Z] L2 cache: 512K [2021-07-28T16:23:42.901Z] L3 cache: 16384K [2021-07-28T16:23:42.901Z] NUMA node0 CPU(s): 0,1 [2021-07-28T16:23:42.901Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2021-07-28T16:23:42.901Z] [2021-07-28T16:23:42.901Z] [2021-07-28T16:23:42.901Z] ---> nproc: [2021-07-28T16:23:42.901Z] 2 [2021-07-28T16:23:42.901Z] [2021-07-28T16:23:42.901Z] [2021-07-28T16:23:42.901Z] ---> df -h: [2021-07-28T16:23:42.901Z] Filesystem Size Used Avail Use% Mounted on [2021-07-28T16:23:42.901Z] overlay 40G 7.7G 33G 20% / [2021-07-28T16:23:42.901Z] tmpfs 64M 0 64M 0% /dev [2021-07-28T16:23:42.901Z] tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup [2021-07-28T16:23:42.901Z] shm 64M 0 64M 0% /dev/shm [2021-07-28T16:23:42.902Z] /dev/vda1 40G 7.7G 33G 20% /facter-os [2021-07-28T16:23:42.902Z] [2021-07-28T16:23:42.902Z] [2021-07-28T16:23:42.902Z] ---> sar -b -r -n DEV: [2021-07-28T16:23:42.902Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/28/21 _x86_64_ (2 CPU) [2021-07-28T16:23:42.902Z] [2021-07-28T16:23:42.902Z] 16:18:23 LINUX RESTART (2 CPU) [2021-07-28T16:23:42.902Z] [2021-07-28T16:23:42.902Z] 16:19:01 tps rtps wtps bread/s bwrtn/s [2021-07-28T16:23:42.902Z] 16:20:01 32.31 3.55 28.76 2600.10 3064.98 [2021-07-28T16:23:42.902Z] 16:21:01 0.32 0.00 0.32 0.00 5.15 [2021-07-28T16:23:42.902Z] 16:22:01 0.27 0.00 0.27 0.00 3.73 [2021-07-28T16:23:42.902Z] 16:23:01 0.20 0.00 0.20 0.00 2.58 [2021-07-28T16:23:42.902Z] Average: 8.27 0.89 7.39 650.16 769.27 [2021-07-28T16:23:42.902Z] [2021-07-28T16:23:42.902Z] 16:19:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-07-28T16:23:42.902Z] 16:20:01 5466452 0 803284 10.03 2620 1736584 1301288 14.37 578216 1563988 20 [2021-07-28T16:23:42.902Z] 16:21:01 5479616 0 790116 9.87 2620 1736588 1207296 13.33 568164 1563760 16 [2021-07-28T16:23:42.902Z] 16:22:01 5479248 0 790480 9.87 2620 1736592 1207428 13.33 569824 1562900 8 [2021-07-28T16:23:42.902Z] 16:23:01 5477228 0 792496 9.90 2620 1736596 1207476 13.33 570796 1562896 8 [2021-07-28T16:23:42.902Z] Average: 5475636 0 794094 9.92 2620 1736590 1230872 13.59 571750 1563386 13 [2021-07-28T16:23:42.902Z] [2021-07-28T16:23:42.902Z] 16:19:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-07-28T16:23:42.902Z] 16:20:01 eth0 114.04 82.95 376.00 23.37 0.00 0.00 0.00 0.00 [2021-07-28T16:23:42.902Z] 16:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-28T16:23:42.902Z] 16:20:01 docker0 12.52 8.83 1.29 25.57 0.00 0.00 0.00 0.00 [2021-07-28T16:23:42.902Z] 16:21:01 eth0 0.53 0.08 0.05 0.01 0.00 0.00 0.00 0.00 [2021-07-28T16:23:42.902Z] 16:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-28T16:23:42.902Z] 16:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-28T16:23:42.902Z] 16:22:01 eth0 1.02 0.35 0.32 0.20 0.00 0.00 0.00 0.00 [2021-07-28T16:23:42.902Z] 16:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-28T16:23:42.902Z] 16:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-28T16:23:42.902Z] 16:23:01 eth0 0.57 0.32 0.27 0.20 0.00 0.00 0.00 0.00 [2021-07-28T16:23:42.902Z] 16:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-28T16:23:42.902Z] 16:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-28T16:23:42.902Z] Average: eth0 29.04 20.93 94.18 5.95 0.00 0.00 0.00 0.00 [2021-07-28T16:23:42.902Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-28T16:23:42.902Z] Average: docker0 3.13 2.21 0.32 6.39 0.00 0.00 0.00 0.00 [2021-07-28T16:23:42.902Z] [2021-07-28T16:23:42.902Z] [2021-07-28T16:23:42.902Z] ---> sar -P ALL: [2021-07-28T16:23:42.902Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/28/21 _x86_64_ (2 CPU) [2021-07-28T16:23:42.902Z] [2021-07-28T16:23:42.902Z] 16:18:23 LINUX RESTART (2 CPU) [2021-07-28T16:23:42.902Z] [2021-07-28T16:23:42.902Z] 16:19:01 CPU %user %nice %system %iowait %steal %idle [2021-07-28T16:23:42.902Z] 16:20:01 all 3.95 0.00 1.92 0.69 0.05 93.39 [2021-07-28T16:23:42.902Z] 16:20:01 0 3.83 0.00 1.94 0.19 0.05 93.99 [2021-07-28T16:23:42.902Z] 16:20:01 1 4.07 0.00 1.89 1.20 0.05 92.79 [2021-07-28T16:23:42.902Z] 16:21:01 all 0.17 0.00 0.06 0.00 0.02 99.76 [2021-07-28T16:23:42.902Z] 16:21:01 0 0.05 0.00 0.07 0.00 0.02 99.87 [2021-07-28T16:23:42.902Z] 16:21:01 1 0.28 0.00 0.05 0.00 0.02 99.65 [2021-07-28T16:23:42.902Z] 16:22:01 all 0.28 0.00 0.03 0.00 0.02 99.67 [2021-07-28T16:23:42.902Z] 16:22:01 0 0.07 0.00 0.05 0.00 0.02 99.87 [2021-07-28T16:23:42.902Z] 16:22:01 1 0.48 0.00 0.02 0.00 0.02 99.48 [2021-07-28T16:23:42.902Z] 16:23:01 all 0.24 0.00 0.03 0.00 0.03 99.70 [2021-07-28T16:23:42.902Z] 16:23:01 0 0.05 0.00 0.03 0.00 0.03 99.88 [2021-07-28T16:23:42.902Z] 16:23:01 1 0.43 0.00 0.03 0.00 0.02 99.52 [2021-07-28T16:23:42.902Z] Average: all 1.15 0.00 0.51 0.17 0.03 98.14 [2021-07-28T16:23:42.902Z] Average: 0 0.99 0.00 0.52 0.05 0.03 98.41 [2021-07-28T16:23:42.902Z] Average: 1 1.31 0.00 0.49 0.30 0.03 97.87 [2021-07-28T16:23:42.902Z] [2021-07-28T16:23:42.902Z] [2021-07-28T16:23:42.902Z]