Pull request #353 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from fb558c548b1f99262baa56afa14c9c4e03a1d00a+c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 (5fc253a2bb4d5140aaa889448a81d5cc7cf9ec76) 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5957118239471010934.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4030986831276733897.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 6a41506d72e8e131afc862d141935157bee59f41 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-353/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-353/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1047005339969324435.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8941792440497941611.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-353/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-353/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7548785810649728043.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-555 in /w/workspace/edgexfoundry_device-sdk-c_PR-353 [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-353 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/jenkins-gitclient-ssh2597504706949139142.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 into PR head commit fb558c548b1f99262baa56afa14c9c4e03a1d00a > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/jenkins-gitclient-ssh6466602004200661411.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb558c548b1f99262baa56afa14c9c4e03a1d00a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/jenkins-gitclient-ssh548126844187012783.key > git merge c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 # timeout=10 Merge succeeded, producing fb558c548b1f99262baa56afa14c9c4e03a1d00a Checking out Revision fb558c548b1f99262baa56afa14c9c4e03a1d00a (PR-353) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb558c548b1f99262baa56afa14c9c4e03a1d00a # timeout=10 Commit message: "fix: avoid crash when deviceresource has no attributes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-21T16:28:09.055Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-21T16:28:09.139Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-21T16:28:09.163Z] ========================================================= [2021-06-21T16:28:09.163Z] EdgeX Global Pipelines Version Info [2021-06-21T16:28:09.163Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2b0697b9b90fee7c5a100d7b7954bc3489632622 # timeout=10 [2021-06-21T16:28:10.861Z] ------------------- [2021-06-21T16:28:10.861Z] stable info: [2021-06-21T16:28:10.861Z] ------------------- [2021-06-21T16:28:10.861Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-21T16:28:10.861Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-21T16:28:10.861Z] Message: update stable to v1.0.195 [2021-06-21T16:28:11.438Z] ------------------- [2021-06-21T16:28:11.438Z] experimental info: [2021-06-21T16:28:11.438Z] ------------------- [2021-06-21T16:28:11.438Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-21T16:28:11.438Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-21T16:28:11.438Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-21T16:28:11.558Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-06-21T16:28:11.579Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-06-21T16:28:11.629Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-21T16:28:11.650Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-21T16:28:11.673Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-21T16:28:11.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-06-21T16:28:11.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-06-21T16:28:11.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-06-21T16:28:11.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-21T16:28:11.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-06-21T16:28:11.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-21T16:28:11.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-21T16:28:11.845Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-21T16:28:11.865Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-21T16:28:11.885Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-21T16:28:11.905Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-21T16:28:11.925Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-21T16:28:11.946Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-353 [Pipeline] echo [2021-06-21T16:28:11.966Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-353 [Pipeline] echo [2021-06-21T16:28:11.987Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-353 [Pipeline] echo [2021-06-21T16:28:12.007Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb558c548b1f99262baa56afa14c9c4e03a1d00a [Pipeline] echo [2021-06-21T16:28:12.027Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb558c5 [Pipeline] echo [2021-06-21T16:28:12.046Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-21T16:28:12.145Z] provisioning config files... [2021-06-21T16:28:12.161Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/config8157559504535075105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-21T16:28:12.489Z] ---> docker-login.sh [2021-06-21T16:28:12.489Z] nexus3.edgexfoundry.org:10001 [2021-06-21T16:28:12.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T16:28:12.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T16:28:12.760Z] Configure a credential helper to remove this warning. See [2021-06-21T16:28:12.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T16:28:12.760Z] [2021-06-21T16:28:12.760Z] Login Succeeded [2021-06-21T16:28:12.760Z] nexus3.edgexfoundry.org:10002 [2021-06-21T16:28:13.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T16:28:13.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T16:28:13.025Z] Configure a credential helper to remove this warning. See [2021-06-21T16:28:13.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T16:28:13.025Z] [2021-06-21T16:28:13.025Z] Login Succeeded [2021-06-21T16:28:13.025Z] nexus3.edgexfoundry.org:10003 [2021-06-21T16:28:13.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T16:28:13.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T16:28:13.025Z] Configure a credential helper to remove this warning. See [2021-06-21T16:28:13.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T16:28:13.025Z] [2021-06-21T16:28:13.025Z] Login Succeeded [2021-06-21T16:28:13.025Z] nexus3.edgexfoundry.org:10004 [2021-06-21T16:28:13.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T16:28:13.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T16:28:13.287Z] Configure a credential helper to remove this warning. See [2021-06-21T16:28:13.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T16:28:13.287Z] [2021-06-21T16:28:13.287Z] Login Succeeded [2021-06-21T16:28:13.287Z] docker.io [2021-06-21T16:28:13.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T16:28:13.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T16:28:13.549Z] Configure a credential helper to remove this warning. See [2021-06-21T16:28:13.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T16:28:13.549Z] [2021-06-21T16:28:13.549Z] Login Succeeded [2021-06-21T16:28:13.549Z] ---> docker-login.sh ends [Pipeline] } [2021-06-21T16:28:13.559Z] 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-06-21T16:28:14.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-21T16:28:14.331Z] [2021-06-21T16:28:14.331Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-21T16:28:14.654Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-21T16:28:14.654Z] latest: Pulling from edgex-devops/git-semver [2021-06-21T16:28:14.654Z] 31603596830f: Pulling fs layer [2021-06-21T16:28:14.654Z] 54011a49482f: Pulling fs layer [2021-06-21T16:28:14.654Z] a6820b24f6d8: Pulling fs layer [2021-06-21T16:28:14.654Z] f581987b2513: Pulling fs layer [2021-06-21T16:28:14.654Z] f581987b2513: Waiting [2021-06-21T16:28:14.654Z] 54011a49482f: Verifying Checksum [2021-06-21T16:28:14.654Z] 54011a49482f: Download complete [2021-06-21T16:28:14.927Z] f581987b2513: Verifying Checksum [2021-06-21T16:28:14.927Z] f581987b2513: Download complete [2021-06-21T16:28:14.927Z] a6820b24f6d8: Verifying Checksum [2021-06-21T16:28:14.927Z] a6820b24f6d8: Download complete [2021-06-21T16:28:14.927Z] 31603596830f: Verifying Checksum [2021-06-21T16:28:14.927Z] 31603596830f: Download complete [2021-06-21T16:28:15.191Z] 31603596830f: Pull complete [2021-06-21T16:28:15.456Z] 54011a49482f: Pull complete [2021-06-21T16:28:16.042Z] a6820b24f6d8: Pull complete [2021-06-21T16:28:16.315Z] f581987b2513: Pull complete [2021-06-21T16:28:16.315Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-21T16:28:16.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-21T16:28:16.315Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-21T16:28:16.409Z] prd-centos7-docker-4c-2g-555 does not seem to be running inside a container [2021-06-21T16:28:16.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-353 -v /w/workspace/edgexfoundry_device-sdk-c_PR-353:/w/workspace/edgexfoundry_device-sdk-c_PR-353:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-21T16:28:17.756Z] $ docker top 7ba213c320330854a26cf31ffd816bcb1fc343d6c2062e15bfc5cff8576bdd1e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-21T16:28:17.876Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-21T16:28:17.876Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-21T16:28:18.004Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-21T16:28:18.005Z] $ docker exec 7ba213c320330854a26cf31ffd816bcb1fc343d6c2062e15bfc5cff8576bdd1e ssh-agent [2021-06-21T16:28:18.116Z] SSH_AUTH_SOCK=/tmp/ssh-zPq6lHpPAguI/agent.14 [2021-06-21T16:28:18.116Z] SSH_AGENT_PID=21 [2021-06-21T16:28:18.125Z] Running ssh-add (command line suppressed) [2021-06-21T16:28:18.229Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/private_key_5409422122299201178.key (/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/private_key_5409422122299201178.key) [2021-06-21T16:28:18.245Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-21T16:28:18.574Z] + git tag --points-at HEAD [Pipeline] } [2021-06-21T16:28:18.602Z] $ docker exec --env ******** --env ******** 7ba213c320330854a26cf31ffd816bcb1fc343d6c2062e15bfc5cff8576bdd1e ssh-agent -k [2021-06-21T16:28:18.702Z] unset SSH_AUTH_SOCK; [2021-06-21T16:28:18.703Z] unset SSH_AGENT_PID; [2021-06-21T16:28:18.703Z] echo Agent pid 21 killed; [2021-06-21T16:28:18.717Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-21T16:28:18.754Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-21T16:28:18.754Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-21T16:28:18.865Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-21T16:28:18.866Z] $ docker exec 7ba213c320330854a26cf31ffd816bcb1fc343d6c2062e15bfc5cff8576bdd1e ssh-agent [2021-06-21T16:28:18.967Z] SSH_AUTH_SOCK=/tmp/ssh-eFlZUYyJ05Ft/agent.56 [2021-06-21T16:28:18.967Z] SSH_AGENT_PID=62 [2021-06-21T16:28:18.973Z] Running ssh-add (command line suppressed) [2021-06-21T16:28:19.077Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/private_key_6038231646012475336.key (/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/private_key_6038231646012475336.key) [2021-06-21T16:28:19.096Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-21T16:28:19.395Z] + git semver init [2021-06-21T16:28:19.395Z] # -> Open(): unable to determine branch for HEAD [2021-06-21T16:28:19.395Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-353/.git [2021-06-21T16:28:19.395Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-353 [2021-06-21T16:28:19.395Z] # $SEMVER_REMOTE_NAME = origin [2021-06-21T16:28:19.395Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-21T16:28:19.395Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-21T16:28:19.395Z] # $SEMVER_BRANCH = PR-353 [2021-06-21T16:28:19.395Z] # $SEMVER_TEMP = /tmp/semver-160096370 [2021-06-21T16:28:19.395Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-06-21T16:28:19.985Z] # '/tmp/semver-160096370' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-353/.semver' [2021-06-21T16:28:19.986Z] # -> Force: false [2021-06-21T16:28:19.986Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-353/.semver [Pipeline] } [2021-06-21T16:28:19.996Z] $ docker exec --env ******** --env ******** 7ba213c320330854a26cf31ffd816bcb1fc343d6c2062e15bfc5cff8576bdd1e ssh-agent -k [2021-06-21T16:28:20.090Z] unset SSH_AUTH_SOCK; [2021-06-21T16:28:20.091Z] unset SSH_AGENT_PID; [2021-06-21T16:28:20.091Z] echo Agent pid 62 killed; [2021-06-21T16:28:20.107Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-21T16:28:20.459Z] + git semver [Pipeline] } [2021-06-21T16:28:20.476Z] $ docker stop --time=1 7ba213c320330854a26cf31ffd816bcb1fc343d6c2062e15bfc5cff8576bdd1e [2021-06-21T16:28:22.045Z] $ docker rm -f 7ba213c320330854a26cf31ffd816bcb1fc343d6c2062e15bfc5cff8576bdd1e [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-21T16:28:22.414Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-21T16:28:22.684Z] Stashed 1 file(s) [Pipeline] echo [2021-06-21T16:28:22.688Z] [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-06-21T16:28:37.925Z] Still waiting to schedule task [2021-06-21T16:28:37.926Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-21T16:28:37.928Z] Still waiting to schedule task [2021-06-21T16:28:37.929Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-554’ [2021-06-21T16:31:07.380Z] Running on prd-centos7-docker-4c-2g-556 in /w/workspace/edgexfoundry_device-sdk-c_PR-353 [Pipeline] { [Pipeline] ws [2021-06-21T16:31:07.399Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2021-06-21T16:31:07.542Z] Selected Git installation does not exist. Using Default [2021-06-21T16:31:07.542Z] The recommended git tool is: NONE [2021-06-21T16:31:09.946Z] using credential edgex-jenkins-ssh [2021-06-21T16:31:09.960Z] Cloning the remote Git repository [2021-06-21T16:31:09.905Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-06-21T16:31:09.983Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2021-06-21T16:31:10.019Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-06-21T16:31:10.020Z] > git --version # timeout=10 [2021-06-21T16:31:10.028Z] > git --version # 'git version 2.24.4' [2021-06-21T16:31:10.029Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T16:31:10.070Z] [INFO] Currently running in a labeled security context [2021-06-21T16:31:10.070Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-21T16:31:10.071Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh4851645914962275944.key [2021-06-21T16:31:10.090Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-21T16:31:10.776Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-06-21T16:31:10.788Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-21T16:31:11.261Z] Merging remotes/origin/master commit c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 into PR head commit fb558c548b1f99262baa56afa14c9c4e03a1d00a [2021-06-21T16:31:11.347Z] Merge succeeded, producing fb558c548b1f99262baa56afa14c9c4e03a1d00a [2021-06-21T16:31:11.348Z] Checking out Revision fb558c548b1f99262baa56afa14c9c4e03a1d00a (PR-353) [2021-06-21T16:31:10.804Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-06-21T16:31:10.823Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-06-21T16:31:10.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T16:31:10.824Z] [INFO] Currently running in a labeled security context [2021-06-21T16:31:10.824Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-21T16:31:10.824Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh5807931253100025228.key [2021-06-21T16:31:10.831Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-21T16:31:11.267Z] > git config core.sparsecheckout # timeout=10 [2021-06-21T16:31:11.277Z] > git checkout -f fb558c548b1f99262baa56afa14c9c4e03a1d00a # timeout=10 [2021-06-21T16:31:11.307Z] > git remote # timeout=10 [2021-06-21T16:31:11.312Z] > git config --get remote.origin.url # timeout=10 [2021-06-21T16:31:11.321Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T16:31:11.322Z] [INFO] Currently running in a labeled security context [2021-06-21T16:31:11.322Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-21T16:31:11.322Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh3497383313713013395.key [2021-06-21T16:31:11.327Z] > git merge c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 # timeout=10 [2021-06-21T16:31:11.338Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-21T16:31:11.348Z] > git config core.sparsecheckout # timeout=10 [2021-06-21T16:31:11.366Z] > git checkout -f fb558c548b1f99262baa56afa14c9c4e03a1d00a # timeout=10 [2021-06-21T16:31:14.918Z] Commit message: "fix: avoid crash when deviceresource has no attributes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-21T16:31:16.137Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-21T16:31:16.465Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-21T16:31:16.762Z] + sudo service docker restart [2021-06-21T16:31:16.762Z] + true [2021-06-21T16:31:16.762Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-21T16:31:34.923Z] provisioning config files... [2021-06-21T16:31:34.939Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config5567460871706962790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-21T16:31:35.263Z] ---> docker-login.sh [2021-06-21T16:31:35.263Z] nexus3.edgexfoundry.org:10001 [2021-06-21T16:31:35.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T16:31:35.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T16:31:35.793Z] Configure a credential helper to remove this warning. See [2021-06-21T16:31:35.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T16:31:35.793Z] [2021-06-21T16:31:35.793Z] Login Succeeded [2021-06-21T16:31:35.793Z] nexus3.edgexfoundry.org:10002 [2021-06-21T16:31:35.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T16:31:35.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T16:31:35.793Z] Configure a credential helper to remove this warning. See [2021-06-21T16:31:35.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T16:31:35.793Z] [2021-06-21T16:31:35.793Z] Login Succeeded [2021-06-21T16:31:35.793Z] nexus3.edgexfoundry.org:10003 [2021-06-21T16:31:36.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T16:31:36.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T16:31:36.055Z] Configure a credential helper to remove this warning. See [2021-06-21T16:31:36.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T16:31:36.055Z] [2021-06-21T16:31:36.055Z] Login Succeeded [2021-06-21T16:31:36.055Z] nexus3.edgexfoundry.org:10004 [2021-06-21T16:31:36.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T16:31:36.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T16:31:36.055Z] Configure a credential helper to remove this warning. See [2021-06-21T16:31:36.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T16:31:36.055Z] [2021-06-21T16:31:36.055Z] Login Succeeded [2021-06-21T16:31:36.055Z] docker.io [2021-06-21T16:31:36.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T16:31:36.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T16:31:36.577Z] Configure a credential helper to remove this warning. See [2021-06-21T16:31:36.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T16:31:36.577Z] [2021-06-21T16:31:36.577Z] Login Succeeded [2021-06-21T16:31:36.577Z] ---> docker-login.sh ends [Pipeline] } [2021-06-21T16:31:36.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-21T16:31:36.744Z] ========================================================= [2021-06-21T16:31:36.745Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-06-21T16:31:36.745Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-21T16:31:37.052Z] + 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-06-21T16:31:37.052Z] Sending build context to Docker daemon 2.629MB [2021-06-21T16:31:37.052Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-06-21T16:31:37.052Z] Step 2/25 : FROM ${BASE} as builder [2021-06-21T16:31:37.319Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-06-21T16:31:37.319Z] e7c96db7181b: Pulling fs layer [2021-06-21T16:31:37.319Z] 4c13bbce0fe7: Pulling fs layer [2021-06-21T16:31:37.319Z] 6059c847ac2f: Pulling fs layer [2021-06-21T16:31:37.319Z] 4c13bbce0fe7: Verifying Checksum [2021-06-21T16:31:37.319Z] 4c13bbce0fe7: Download complete [2021-06-21T16:31:37.319Z] e7c96db7181b: Verifying Checksum [2021-06-21T16:31:37.319Z] e7c96db7181b: Download complete [2021-06-21T16:31:37.584Z] e7c96db7181b: Pull complete [2021-06-21T16:31:37.584Z] 4c13bbce0fe7: Pull complete [2021-06-21T16:31:38.988Z] 6059c847ac2f: Verifying Checksum [2021-06-21T16:31:38.988Z] 6059c847ac2f: Download complete [2021-06-21T16:31:41.566Z] 6059c847ac2f: Pull complete [2021-06-21T16:31:41.566Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-06-21T16:31:41.566Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-06-21T16:31:41.566Z] ---> 5eabd8fd8ba2 [2021-06-21T16:31:41.566Z] 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-06-21T16:31:43.016Z] ---> Running in 4d7a3f884345 [2021-06-21T16:31:43.279Z] Connecting to iotech.jfrog.io (54.74.239.58:443) [2021-06-21T16:31:43.543Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-06-21T16:31:43.543Z] [2021-06-21T16:31:43.804Z] Removing intermediate container 4d7a3f884345 [2021-06-21T16:31:43.804Z] ---> 7c7792d37805 [2021-06-21T16:31:43.804Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-06-21T16:31:43.804Z] ---> Running in 3895b90ca099 [2021-06-21T16:31:44.382Z] Removing intermediate container 3895b90ca099 [2021-06-21T16:31:44.382Z] ---> 62c15d502d76 [2021-06-21T16:31:44.382Z] 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-06-21T16:31:44.382Z] ---> Running in bba374f7df0d [2021-06-21T16:31:44.649Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-06-21T16:31:45.227Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-06-21T16:31:46.173Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-06-21T16:31:46.436Z] (1/11) Installing hiredis (0.14.0-r0) [2021-06-21T16:31:46.436Z] (2/11) Installing hiredis-dev (0.14.0-r0) [2021-06-21T16:31:46.697Z] (3/11) Installing ncurses-dev (6.1_p20190105-r0) [2021-06-21T16:31:46.697Z] (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-06-21T16:31:48.082Z] (5/11) Installing libuuid (2.33-r0) [2021-06-21T16:31:48.082Z] (6/11) Installing libblkid (2.33-r0) [2021-06-21T16:31:48.344Z] (7/11) Installing libfdisk (2.33-r0) [2021-06-21T16:31:48.614Z] (8/11) Installing libmount (2.33-r0) [2021-06-21T16:31:48.614Z] (9/11) Installing libsmartcols (2.33-r0) [2021-06-21T16:31:48.614Z] (10/11) Installing util-linux-dev (2.33-r0) [2021-06-21T16:31:48.878Z] (11/11) Installing wget (1.20.3-r0) [2021-06-21T16:31:48.878Z] Executing busybox-1.29.3-r10.trigger [2021-06-21T16:31:48.878Z] OK: 273 MiB in 86 packages [2021-06-21T16:31:49.452Z] Removing intermediate container bba374f7df0d [2021-06-21T16:31:49.452Z] ---> 42a508f0e23f [2021-06-21T16:31:49.452Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-06-21T16:31:49.452Z] ---> Running in e5b79cbf100f [2021-06-21T16:31:49.452Z] Removing intermediate container e5b79cbf100f [2021-06-21T16:31:49.452Z] ---> f048e24c8600 [2021-06-21T16:31:49.452Z] 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-06-21T16:31:49.722Z] ---> Running in d86d1c43b2be [2021-06-21T16:31:49.985Z] --2021-06-21 16:31:49-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-06-21T16:31:49.985Z] Resolving github.com... 140.82.113.3 [2021-06-21T16:31:49.985Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-06-21T16:31:49.985Z] HTTP request sent, awaiting response... 302 Found [2021-06-21T16:31:49.985Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-06-21T16:31:49.985Z] --2021-06-21 16:31:49-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-06-21T16:31:49.985Z] Resolving codeload.github.com... 140.82.112.9 [2021-06-21T16:31:49.985Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-06-21T16:31:50.248Z] HTTP request sent, awaiting response... 200 OK [2021-06-21T16:31:50.248Z] Length: unspecified [application/x-gzip] [2021-06-21T16:31:50.248Z] Saving to: 'STDOUT' [2021-06-21T16:31:50.248Z] [2021-06-21T16:31:50.248Z] 0K .......... .......... .......... .......... .......... 1.43M [2021-06-21T16:31:50.248Z] 50K .......... .......... .......... .......... .......... 2.90M [2021-06-21T16:31:50.248Z] 100K .......... .......... .......... .......... .......... 41.3M [2021-06-21T16:31:50.248Z] 150K .......... .......... .......... .......... .......... 56.0M [2021-06-21T16:31:50.248Z] 200K .......... .......... .......... .......... .......... 3.12M [2021-06-21T16:31:50.248Z] 250K .......... .......... .......... .......... .......... 7.02M [2021-06-21T16:31:50.248Z] 300K .......... .......... .......... .......... .......... 7.21M [2021-06-21T16:31:50.248Z] 350K .......... .......... .......... .......... .......... 21.8M [2021-06-21T16:31:50.248Z] 400K .......... .......... .......... .......... .......... 9.33M [2021-06-21T16:31:50.248Z] 450K .......... .......... .......... .......... .......... 12.9M [2021-06-21T16:31:50.248Z] 500K .......... .......... .......... .......... .......... 25.3M [2021-06-21T16:31:50.248Z] 550K .......... .......... .......... .......... .......... 7.58M [2021-06-21T16:31:50.248Z] 600K .......... .......... .......... .......... .......... 5.40M [2021-06-21T16:31:50.248Z] 650K .......... .......... .......... .......... .......... 5.64M [2021-06-21T16:31:50.248Z] 700K .. 42.8M=0.1s [2021-06-21T16:31:50.248Z] [2021-06-21T16:31:50.248Z] 2021-06-21 16:31:50 (5.73 MB/s) - written to stdout [719348] [2021-06-21T16:31:50.248Z] [2021-06-21T16:31:50.248Z] -- The C compiler identification is GNU 8.3.0 [2021-06-21T16:31:50.510Z] -- The CXX compiler identification is GNU 8.3.0 [2021-06-21T16:31:50.510Z] -- Check for working C compiler: /usr/bin/cc [2021-06-21T16:31:50.510Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-06-21T16:31:50.510Z] -- Detecting C compiler ABI info [2021-06-21T16:31:50.510Z] -- Detecting C compiler ABI info - done [2021-06-21T16:31:50.510Z] -- Detecting C compile features [2021-06-21T16:31:50.773Z] -- Detecting C compile features - done [2021-06-21T16:31:50.773Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-06-21T16:31:50.773Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-06-21T16:31:50.773Z] -- Detecting CXX compiler ABI info [2021-06-21T16:31:50.774Z] -- Detecting CXX compiler ABI info - done [2021-06-21T16:31:50.774Z] -- Detecting CXX compile features [2021-06-21T16:31:51.350Z] -- Detecting CXX compile features - done [2021-06-21T16:31:51.350Z] -- Looking for include file endian.h [2021-06-21T16:31:51.350Z] -- Looking for include file endian.h - found [2021-06-21T16:31:51.350Z] -- Check if the system is big endian [2021-06-21T16:31:51.350Z] -- Searching 16 bit integer [2021-06-21T16:31:51.350Z] -- Looking for sys/types.h [2021-06-21T16:31:51.350Z] -- Looking for sys/types.h - found [2021-06-21T16:31:51.350Z] -- Looking for stdint.h [2021-06-21T16:31:51.350Z] -- Looking for stdint.h - found [2021-06-21T16:31:51.350Z] -- Looking for stddef.h [2021-06-21T16:31:51.612Z] -- Looking for stddef.h - found [2021-06-21T16:31:51.612Z] -- Check size of unsigned short [2021-06-21T16:31:51.612Z] -- Check size of unsigned short - done [2021-06-21T16:31:51.612Z] -- Using unsigned short [2021-06-21T16:31:51.612Z] -- Check if the system is big endian - little endian [2021-06-21T16:31:51.612Z] -- Check size of size_t [2021-06-21T16:31:51.874Z] -- Check size of size_t - done [2021-06-21T16:31:51.874Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-06-21T16:31:51.874Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-06-21T16:31:51.874Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-06-21T16:31:51.874Z] CMake did not find one. [2021-06-21T16:31:51.874Z] [2021-06-21T16:31:51.874Z] Could not find a package configuration file provided by "cJSON" with any of [2021-06-21T16:31:51.874Z] the following names: [2021-06-21T16:31:51.874Z] [2021-06-21T16:31:51.874Z] cJSONConfig.cmake [2021-06-21T16:31:51.874Z] cjson-config.cmake [2021-06-21T16:31:51.874Z] [2021-06-21T16:31:51.874Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-06-21T16:31:51.874Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-06-21T16:31:51.874Z] provides a separate development package or SDK, be sure it has been [2021-06-21T16:31:51.874Z] installed. [2021-06-21T16:31:51.874Z] [2021-06-21T16:31:51.874Z] [2021-06-21T16:31:51.874Z] -- Configuring done [2021-06-21T16:31:51.874Z] -- Generating done [2021-06-21T16:31:51.874Z] -- Build files have been written to: /tmp/cbor [2021-06-21T16:31:51.874Z] Scanning dependencies of target cbor_shared [2021-06-21T16:31:51.874Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-06-21T16:31:51.874Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-06-21T16:31:52.136Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-06-21T16:31:52.136Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-06-21T16:31:52.399Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-06-21T16:31:52.399Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-06-21T16:31:52.399Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-06-21T16:31:52.399Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-06-21T16:31:52.399Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-06-21T16:31:52.399Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-06-21T16:31:52.659Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-06-21T16:31:52.659Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-06-21T16:31:52.659Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-06-21T16:31:52.920Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-06-21T16:31:52.920Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-06-21T16:31:52.920Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-06-21T16:31:52.920Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-06-21T16:31:52.920Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-06-21T16:31:53.185Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-06-21T16:31:53.185Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-06-21T16:31:53.185Z] [ 40%] Linking C shared library libcbor.so [2021-06-21T16:31:53.185Z] [ 40%] Built target cbor_shared [2021-06-21T16:31:53.185Z] Scanning dependencies of target cbor [2021-06-21T16:31:53.185Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-06-21T16:31:53.452Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-06-21T16:31:53.452Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-06-21T16:31:53.452Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-06-21T16:31:53.716Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-06-21T16:31:53.716Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-06-21T16:31:53.979Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-06-21T16:31:53.979Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-06-21T16:31:53.979Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-06-21T16:31:53.979Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-06-21T16:31:54.240Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-06-21T16:31:54.240Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-06-21T16:31:54.240Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-06-21T16:31:54.506Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-06-21T16:31:54.506Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-06-21T16:31:54.506Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-06-21T16:31:54.506Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-06-21T16:31:54.506Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-06-21T16:31:54.769Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-06-21T16:31:54.769Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-06-21T16:31:54.769Z] [ 80%] Linking C static library libcbor.a [2021-06-21T16:31:54.769Z] [ 80%] Built target cbor [2021-06-21T16:31:54.769Z] Scanning dependencies of target create_items [2021-06-21T16:31:54.769Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-06-21T16:31:54.769Z] [ 84%] Linking C executable create_items [2021-06-21T16:31:54.769Z] [ 84%] Built target create_items [2021-06-21T16:31:54.769Z] Scanning dependencies of target readfile [2021-06-21T16:31:54.769Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-06-21T16:31:55.030Z] [ 88%] Linking C executable readfile [2021-06-21T16:31:55.030Z] [ 88%] Built target readfile [2021-06-21T16:31:55.030Z] Scanning dependencies of target streaming_parser [2021-06-21T16:31:55.030Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-06-21T16:31:55.030Z] [ 92%] Linking C executable streaming_parser [2021-06-21T16:31:55.030Z] [ 92%] Built target streaming_parser [2021-06-21T16:31:55.030Z] Scanning dependencies of target sort [2021-06-21T16:31:55.030Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-06-21T16:31:55.030Z] [ 96%] Linking C executable sort [2021-06-21T16:31:55.030Z] [ 96%] Built target sort [2021-06-21T16:31:55.030Z] Scanning dependencies of target hello [2021-06-21T16:31:55.030Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-06-21T16:31:55.030Z] [100%] Linking C executable hello [2021-06-21T16:31:55.293Z] [100%] Built target hello [2021-06-21T16:31:55.293Z] Install the project... [2021-06-21T16:31:55.293Z] -- Install configuration: "Release" [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/lib64/libcbor.a [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/lib64/libcbor.so [2021-06-21T16:31:55.293Z] -- Up-to-date: /usr/local/include/cbor [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/common.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/data.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/internal [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/ints.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/maps.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/strings.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor/tags.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/include/cbor.h [2021-06-21T16:31:55.293Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-06-21T16:31:55.876Z] Removing intermediate container d86d1c43b2be [2021-06-21T16:31:55.876Z] ---> e00edbebb5f2 [2021-06-21T16:31:55.876Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-06-21T16:31:55.876Z] ---> Running in 1786d4ccc76e [2021-06-21T16:31:56.451Z] Removing intermediate container 1786d4ccc76e [2021-06-21T16:31:56.451Z] ---> 5f6b497f8036 [2021-06-21T16:31:56.451Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-06-21T16:31:56.451Z] ---> 16c881fc0852 [2021-06-21T16:31:56.451Z] Step 10/25 : COPY src /tmp/sdk/src [2021-06-21T16:31:56.712Z] ---> 18a256a15fc1 [2021-06-21T16:31:56.712Z] Step 11/25 : COPY include /tmp/sdk/include [2021-06-21T16:31:56.977Z] ---> 1926b8b8283f [2021-06-21T16:31:56.977Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-06-21T16:31:56.977Z] ---> a9632ac2d373 [2021-06-21T16:31:56.977Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-06-21T16:31:57.242Z] ---> d266766bf05c [2021-06-21T16:31:57.242Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-06-21T16:31:57.504Z] ---> de117b52e710 [2021-06-21T16:31:57.504Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-06-21T16:31:57.504Z] ---> Running in 6c62ad1a460f [2021-06-21T16:31:57.766Z] + CPPCHECK=false [2021-06-21T16:31:57.766Z] + DOCGEN=false [2021-06-21T16:31:57.766Z] + TOMLVER=SDK-0.2 [2021-06-21T16:31:57.766Z] + CUTILVER=1.1.4 [2021-06-21T16:31:57.766Z] + '[' 0 -gt 0 ] [2021-06-21T16:31:57.766Z] + readlink -f ./scripts/build.sh [2021-06-21T16:31:57.766Z] + dirname /tmp/sdk/scripts/build.sh [2021-06-21T16:31:57.766Z] + dirname /tmp/sdk/scripts [2021-06-21T16:31:57.766Z] + ROOT=/tmp/sdk [2021-06-21T16:31:57.766Z] + cd /tmp/sdk [2021-06-21T16:31:57.766Z] + '[' '!' -d deps ] [2021-06-21T16:31:57.766Z] + mkdir deps [2021-06-21T16:31:57.766Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-06-21T16:31:57.766Z] + tar -C deps -z -x -f - [2021-06-21T16:31:57.766Z] --2021-06-21 16:31:57-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-06-21T16:31:57.766Z] Resolving github.com... 140.82.113.3 [2021-06-21T16:31:57.766Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-06-21T16:31:58.028Z] HTTP request sent, awaiting response... 302 Found [2021-06-21T16:31:58.028Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-06-21T16:31:58.028Z] --2021-06-21 16:31:57-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-06-21T16:31:58.028Z] Resolving codeload.github.com... 140.82.112.9 [2021-06-21T16:31:58.028Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-06-21T16:31:58.290Z] HTTP request sent, awaiting response... 200 OK [2021-06-21T16:31:58.290Z] Length: unspecified [application/x-gzip] [2021-06-21T16:31:58.290Z] Saving to: 'STDOUT' [2021-06-21T16:31:58.290Z]  [2021-06-21T16:31:58.556Z] 0K .......... ......  477K=0.03s [2021-06-21T16:31:58.556Z] [2021-06-21T16:31:58.556Z] 2021-06-21 16:31:58 (477 KB/s) - written to stdout [16451] [2021-06-21T16:31:58.556Z] [2021-06-21T16:31:58.556Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-06-21T16:31:58.556Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-06-21T16:31:58.556Z] + tar -C deps -z -x -f - [2021-06-21T16:31:58.556Z] --2021-06-21 16:31:58-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-06-21T16:31:58.556Z] Resolving github.com... 140.82.113.3 [2021-06-21T16:31:58.556Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-06-21T16:31:58.556Z] HTTP request sent, awaiting response... 302 Found [2021-06-21T16:31:58.556Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-06-21T16:31:58.556Z] --2021-06-21 16:31:58-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-06-21T16:31:58.556Z] Resolving codeload.github.com... 140.82.112.9 [2021-06-21T16:31:58.556Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-06-21T16:31:58.821Z] HTTP request sent, awaiting response... 200 OK [2021-06-21T16:31:58.821Z] Length: unspecified [application/x-gzip] [2021-06-21T16:31:58.821Z] Saving to: 'STDOUT' [2021-06-21T16:31:58.821Z]  [2021-06-21T16:31:58.821Z] 0K .......... .......... .......... .......... .......... 1.46M [2021-06-21T16:31:58.821Z] 50K .......... .......... .......... .......... .......... 2.85M [2021-06-21T16:31:58.821Z] 100K .......... .......... .......... .......... .......... 32.2M [2021-06-21T16:31:58.821Z] 150K .......... .......... ....... 4.52M=0.06s [2021-06-21T16:31:58.821Z] [2021-06-21T16:31:58.821Z] 2021-06-21 16:31:58 (2.99 MB/s) - written to stdout [181796] [2021-06-21T16:31:58.821Z] [2021-06-21T16:31:58.821Z] + mkdir -p src/c/iot [2021-06-21T16:31:58.821Z] + 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-06-21T16:31:58.821Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-06-21T16:31:58.821Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-06-21T16:31:58.821Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-06-21T16:31:58.821Z] + mkdir -p include/iot [2021-06-21T16:31:58.821Z] + 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-06-21T16:31:58.821Z] + mkdir -p include/iot/os [2021-06-21T16:31:58.821Z] + 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-06-21T16:31:58.821Z] + mkdir -p /tmp/sdk/build/release [2021-06-21T16:31:58.821Z] + cd /tmp/sdk/build/release [2021-06-21T16:31:58.821Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-06-21T16:31:58.821Z] -- The C compiler identification is GNU 8.3.0 [2021-06-21T16:31:58.821Z] -- Check for working C compiler: /usr/bin/cc [2021-06-21T16:31:59.085Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-06-21T16:31:59.085Z] -- Detecting C compiler ABI info [2021-06-21T16:31:59.085Z] -- Detecting C compiler ABI info - done [2021-06-21T16:31:59.085Z] -- Detecting C compile features [2021-06-21T16:31:59.349Z] -- Detecting C compile features - done [2021-06-21T16:31:59.349Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-06-21T16:31:59.349Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-06-21T16:31:59.349Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-06-21T16:31:59.349Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-06-21T16:31:59.349Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-06-21T16:31:59.349Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-06-21T16:31:59.349Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-06-21T16:31:59.349Z] -- C SDK 0.0.0 for Linux [2021-06-21T16:31:59.349Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-06-21T16:31:59.349Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-06-21T16:31:59.349Z] -- Found Curses: /usr/lib/libcurses.so [2021-06-21T16:31:59.349Z] -- Configuring done [2021-06-21T16:31:59.349Z] -- Generating done [2021-06-21T16:31:59.349Z] -- Build files have been written to: /tmp/sdk/build/release [2021-06-21T16:31:59.349Z] + tee release.log [2021-06-21T16:31:59.349Z] + make all package [2021-06-21T16:31:59.349Z] Scanning dependencies of target csdk [2021-06-21T16:31:59.349Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-06-21T16:31:59.610Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-06-21T16:31:59.610Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-06-21T16:31:59.872Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-06-21T16:32:00.138Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-06-21T16:32:00.138Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-06-21T16:32:00.138Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-06-21T16:32:00.405Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-06-21T16:32:00.405Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-06-21T16:32:00.668Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-06-21T16:32:00.929Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-06-21T16:32:00.929Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-06-21T16:32:01.190Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-06-21T16:32:01.190Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-06-21T16:32:01.191Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-06-21T16:32:01.191Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-06-21T16:32:01.457Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-06-21T16:32:01.723Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-06-21T16:32:01.990Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-06-21T16:32:01.990Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-06-21T16:32:01.990Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-06-21T16:32:02.251Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-06-21T16:32:02.251Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-06-21T16:32:02.828Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-06-21T16:32:02.829Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-06-21T16:32:02.829Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-06-21T16:32:02.829Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-06-21T16:32:03.091Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-06-21T16:32:03.091Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-06-21T16:32:03.091Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-06-21T16:32:03.356Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-06-21T16:32:03.356Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-06-21T16:32:03.356Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-06-21T16:32:03.617Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-06-21T16:32:03.882Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-06-21T16:32:03.882Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-06-21T16:32:04.143Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-06-21T16:32:04.717Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-06-21T16:32:04.980Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-06-21T16:32:04.980Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-06-21T16:32:04.980Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-06-21T16:32:05.241Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-06-21T16:32:05.503Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-06-21T16:32:05.765Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-06-21T16:32:06.496Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-06-21T16:32:06.496Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-06-21T16:32:06.758Z] [ 74%] Linking C shared library libcsdk.so [2021-06-21T16:32:06.758Z] [ 74%] Built target csdk [2021-06-21T16:32:06.758Z] Scanning dependencies of target template [2021-06-21T16:32:06.758Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-06-21T16:32:06.758Z] [ 77%] Linking C executable template [2021-06-21T16:32:06.758Z] [ 77%] Built target template [2021-06-21T16:32:06.758Z] Scanning dependencies of target device-counter [2021-06-21T16:32:06.758Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-06-21T16:32:07.021Z] [ 80%] Linking C executable device-counter [2021-06-21T16:32:07.021Z] [ 80%] Built target device-counter [2021-06-21T16:32:07.021Z] Scanning dependencies of target device-random [2021-06-21T16:32:07.021Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-06-21T16:32:07.021Z] [ 84%] Linking C executable device-random [2021-06-21T16:32:07.021Z] [ 84%] Built target device-random [2021-06-21T16:32:07.021Z] Scanning dependencies of target device-gyro [2021-06-21T16:32:07.284Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-06-21T16:32:07.284Z] [ 87%] Linking C executable device-gyro [2021-06-21T16:32:07.284Z] [ 87%] Built target device-gyro [2021-06-21T16:32:07.284Z] Scanning dependencies of target device-bitfields [2021-06-21T16:32:07.284Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-06-21T16:32:07.284Z] [ 90%] Linking C executable device-bitfields [2021-06-21T16:32:07.546Z] [ 90%] Built target device-bitfields [2021-06-21T16:32:07.546Z] Scanning dependencies of target template-discovery [2021-06-21T16:32:07.546Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-06-21T16:32:07.546Z] [ 93%] Linking C executable template-discovery [2021-06-21T16:32:07.546Z] [ 93%] Built target template-discovery [2021-06-21T16:32:07.546Z] Scanning dependencies of target device-file [2021-06-21T16:32:07.546Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-06-21T16:32:07.809Z] [ 96%] Linking C executable device-file [2021-06-21T16:32:07.809Z] [ 96%] Built target device-file [2021-06-21T16:32:07.809Z] Scanning dependencies of target device-terminal [2021-06-21T16:32:07.809Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-06-21T16:32:07.809Z] [100%] Linking C executable device-terminal [2021-06-21T16:32:07.809Z] [100%] Built target device-terminal [2021-06-21T16:32:07.809Z] Run CPack packaging tool... [2021-06-21T16:32:07.809Z] CPack: Create package using TGZ [2021-06-21T16:32:07.809Z] CPack: Install projects [2021-06-21T16:32:07.809Z] CPack: - Run preinstall target for: Csdk [2021-06-21T16:32:08.069Z] CPack: - Install project: Csdk [2021-06-21T16:32:08.069Z] CPack: Create package [2021-06-21T16:32:08.069Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-06-21T16:32:08.069Z] + '[' false '=' true ] [2021-06-21T16:32:08.069Z] + '[' false '=' true ] [2021-06-21T16:32:08.069Z] + mkdir -p /tmp/sdk/build/debug [2021-06-21T16:32:08.069Z] + cd /tmp/sdk/build/debug [2021-06-21T16:32:08.069Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-06-21T16:32:08.069Z] -- The C compiler identification is GNU 8.3.0 [2021-06-21T16:32:08.069Z] -- Check for working C compiler: /usr/bin/cc [2021-06-21T16:32:08.332Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-06-21T16:32:08.332Z] -- Detecting C compiler ABI info [2021-06-21T16:32:08.332Z] -- Detecting C compiler ABI info - done [2021-06-21T16:32:08.332Z] -- Detecting C compile features [2021-06-21T16:32:08.596Z] -- Detecting C compile features - done [2021-06-21T16:32:08.596Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-06-21T16:32:08.596Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-06-21T16:32:08.596Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-06-21T16:32:08.596Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-06-21T16:32:08.596Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-06-21T16:32:08.596Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-06-21T16:32:08.596Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-06-21T16:32:08.596Z] -- C SDK 0.0.0 for Linux [2021-06-21T16:32:08.596Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-06-21T16:32:08.596Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-06-21T16:32:08.596Z] -- Found Curses: /usr/lib/libcurses.so [2021-06-21T16:32:08.596Z] -- Configuring done [2021-06-21T16:32:08.596Z] -- Generating done [2021-06-21T16:32:08.596Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-06-21T16:32:08.596Z] + make [2021-06-21T16:32:08.596Z] + tee debug.log [2021-06-21T16:32:08.858Z] Scanning dependencies of target csdk [2021-06-21T16:32:08.858Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-06-21T16:32:08.858Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-06-21T16:32:08.858Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-06-21T16:32:09.119Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-06-21T16:32:09.120Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-06-21T16:32:09.120Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-06-21T16:32:09.120Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-06-21T16:32:09.120Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-06-21T16:32:09.381Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-06-21T16:32:09.381Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-06-21T16:32:09.381Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-06-21T16:32:09.641Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-06-21T16:32:09.641Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-06-21T16:32:09.641Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-06-21T16:32:09.641Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-06-21T16:32:09.641Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-06-21T16:32:09.902Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-06-21T16:32:09.902Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-06-21T16:32:09.902Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-06-21T16:32:09.902Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-06-21T16:32:10.164Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-06-21T16:32:10.164Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-06-21T16:32:10.164Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-06-21T16:32:10.431Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-06-21T16:32:10.431Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-06-21T16:32:10.431Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-06-21T16:32:10.432Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-06-21T16:32:10.432Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-06-21T16:32:10.432Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-06-21T16:32:10.694Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-06-21T16:32:10.694Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-06-21T16:32:10.694Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-06-21T16:32:10.694Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-06-21T16:32:11.015Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-06-21T16:32:11.015Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-06-21T16:32:11.015Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-06-21T16:32:11.015Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-06-21T16:32:11.278Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-06-21T16:32:11.278Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-06-21T16:32:11.278Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-06-21T16:32:11.278Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-06-21T16:32:11.544Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-06-21T16:32:11.544Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-06-21T16:32:11.813Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-06-21T16:32:11.813Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-06-21T16:32:12.077Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-06-21T16:32:12.077Z] [ 74%] Linking C shared library libcsdk.so [2021-06-21T16:32:12.077Z] [ 74%] Built target csdk [2021-06-21T16:32:12.077Z] Scanning dependencies of target template [2021-06-21T16:32:12.077Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-06-21T16:32:12.077Z] [ 77%] Linking C executable template [2021-06-21T16:32:12.340Z] [ 77%] Built target template [2021-06-21T16:32:12.340Z] Scanning dependencies of target device-counter [2021-06-21T16:32:12.340Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-06-21T16:32:12.340Z] [ 80%] Linking C executable device-counter [2021-06-21T16:32:12.340Z] [ 80%] Built target device-counter [2021-06-21T16:32:12.340Z] Scanning dependencies of target device-random [2021-06-21T16:32:12.340Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-06-21T16:32:12.340Z] [ 84%] Linking C executable device-random [2021-06-21T16:32:12.603Z] [ 84%] Built target device-random [2021-06-21T16:32:12.603Z] Scanning dependencies of target device-gyro [2021-06-21T16:32:12.603Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-06-21T16:32:12.603Z] [ 87%] Linking C executable device-gyro [2021-06-21T16:32:12.603Z] [ 87%] Built target device-gyro [2021-06-21T16:32:12.603Z] Scanning dependencies of target device-bitfields [2021-06-21T16:32:12.603Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-06-21T16:32:12.603Z] [ 90%] Linking C executable device-bitfields [2021-06-21T16:32:12.868Z] [ 90%] Built target device-bitfields [2021-06-21T16:32:12.868Z] Scanning dependencies of target template-discovery [2021-06-21T16:32:12.868Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-06-21T16:32:12.868Z] [ 93%] Linking C executable template-discovery [2021-06-21T16:32:12.868Z] [ 93%] Built target template-discovery [2021-06-21T16:32:12.868Z] Scanning dependencies of target device-file [2021-06-21T16:32:12.868Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-06-21T16:32:13.132Z] [ 96%] Linking C executable device-file [2021-06-21T16:32:13.132Z] [ 96%] Built target device-file [2021-06-21T16:32:13.132Z] Scanning dependencies of target device-terminal [2021-06-21T16:32:13.132Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-06-21T16:32:13.132Z] [100%] Linking C executable device-terminal [2021-06-21T16:32:13.132Z] [100%] Built target device-terminal [2021-06-21T16:32:13.132Z] make: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.132Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.132Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.132Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.132Z] [ 74%] Built target csdk [2021-06-21T16:32:13.132Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.394Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.395Z] [ 77%] Built target template [2021-06-21T16:32:13.395Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.395Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.395Z] [ 80%] Built target device-counter [2021-06-21T16:32:13.395Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.395Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.395Z] [ 84%] Built target device-random [2021-06-21T16:32:13.395Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.395Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.395Z] [ 87%] Built target device-gyro [2021-06-21T16:32:13.395Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.395Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.395Z] [ 90%] Built target device-bitfields [2021-06-21T16:32:13.395Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.395Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.395Z] [ 93%] Built target template-discovery [2021-06-21T16:32:13.395Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.395Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.395Z] [ 96%] Built target device-file [2021-06-21T16:32:13.395Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.395Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.395Z] [100%] Built target device-terminal [2021-06-21T16:32:13.395Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.395Z] Install the project... [2021-06-21T16:32:13.395Z] -- Install configuration: "Release" [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/lib/libcsdk.so [2021-06-21T16:32:13.395Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-06-21T16:32:13.395Z] -- Up-to-date: /usr/local/include [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/devsdk [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/edgex [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/edgex/devices.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/base64.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/component.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/config.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/container.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/data.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/hash.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/iot.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/json.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/logger.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/os.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/thread.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/time.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/typecode.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/os [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/include/iot/defs.h [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-06-21T16:32:13.395Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-06-21T16:32:13.395Z] make: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:32:13.974Z] Removing intermediate container 6c62ad1a460f [2021-06-21T16:32:13.974Z] ---> 383fec4d23b6 [2021-06-21T16:32:13.974Z] Step 16/25 : FROM ${BASE} [2021-06-21T16:32:13.974Z] ---> 5eabd8fd8ba2 [2021-06-21T16:32:13.974Z] Step 17/25 : LABEL maintainer="IOTech " [2021-06-21T16:32:13.974Z] ---> Running in cfa6247d4de2 [2021-06-21T16:32:14.239Z] Removing intermediate container cfa6247d4de2 [2021-06-21T16:32:14.239Z] ---> 947d0d4a3947 [2021-06-21T16:32:14.239Z] 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-06-21T16:32:14.239Z] ---> Running in 2b42e6c41a34 [2021-06-21T16:32:14.504Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2021-06-21T16:32:14.767Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-06-21T16:32:14.767Z] [2021-06-21T16:32:15.028Z] Removing intermediate container 2b42e6c41a34 [2021-06-21T16:32:15.028Z] ---> aa445274d0e9 [2021-06-21T16:32:15.028Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-06-21T16:32:15.028Z] ---> Running in 9980bebfce23 [2021-06-21T16:32:15.602Z] Removing intermediate container 9980bebfce23 [2021-06-21T16:32:15.602Z] ---> c40010c9eedd [2021-06-21T16:32:15.602Z] 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-06-21T16:32:15.602Z] ---> Running in ed44a6a88a4e [2021-06-21T16:32:15.867Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-06-21T16:32:16.448Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-06-21T16:32:17.397Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-06-21T16:32:17.972Z] (1/6) Installing curl (7.64.0-r5) [2021-06-21T16:32:17.972Z] (2/6) Installing hiredis (0.14.0-r0) [2021-06-21T16:32:17.972Z] (3/6) Installing hiredis-dev (0.14.0-r0) [2021-06-21T16:32:17.972Z] (4/6) Installing libuuid (2.33-r0) [2021-06-21T16:32:18.232Z] (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-06-21T16:32:18.660Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-557 in /w/workspace/edgexfoundry_device-sdk-c_PR-353 [Pipeline] { [Pipeline] ws [2021-06-21T16:32:18.677Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2021-06-21T16:32:18.865Z] Selected Git installation does not exist. Using Default [2021-06-21T16:32:18.866Z] The recommended git tool is: NONE [2021-06-21T16:32:19.620Z] (6/6) Installing wget (1.20.3-r0) [2021-06-21T16:32:19.620Z] Executing busybox-1.29.3-r10.trigger [2021-06-21T16:32:19.620Z] OK: 269 MiB in 81 packages [2021-06-21T16:32:20.205Z] Removing intermediate container ed44a6a88a4e [2021-06-21T16:32:20.205Z] ---> 7a7661e61b71 [2021-06-21T16:32:20.205Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-06-21T16:32:20.205Z] ---> 9a1aa41b2317 [2021-06-21T16:32:20.205Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-06-21T16:32:20.465Z] ---> d3824d0761c6 [2021-06-21T16:32:20.465Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-06-21T16:32:20.726Z] ---> bcd9501e15be [2021-06-21T16:32:20.726Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-06-21T16:32:20.986Z] ---> b0e612c1b302 [2021-06-21T16:32:20.986Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-06-21T16:32:20.986Z] ---> c3cd99dd0182 [2021-06-21T16:32:20.986Z] Successfully built c3cd99dd0182 [2021-06-21T16:32:20.986Z] 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-06-21T16:32:21.456Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-21T16:32:21.456Z] . [Pipeline] withDockerContainer [2021-06-21T16:32:21.760Z] prd-centos7-docker-4c-2g-556 does not seem to be running inside a container [2021-06-21T16:32:21.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-21T16:32:22.399Z] $ docker top b88c1be74d1d50ead112c6ec59bad816f2dc8a13530282bb891cf07d5b63abbf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-21T16:32:22.772Z] + make test [2021-06-21T16:32:22.772Z] echo "make test" [2021-06-21T16:32:22.772Z] make test [Pipeline] } [2021-06-21T16:32:22.782Z] $ docker stop --time=1 b88c1be74d1d50ead112c6ec59bad816f2dc8a13530282bb891cf07d5b63abbf [2021-06-21T16:32:23.883Z] using credential edgex-jenkins-ssh [2021-06-21T16:32:23.917Z] Cloning the remote Git repository [2021-06-21T16:32:23.998Z] $ docker rm -f b88c1be74d1d50ead112c6ec59bad816f2dc8a13530282bb891cf07d5b63abbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-06-21T16:32:24.010Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-06-21T16:32:24.122Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2021-06-21T16:32:24.196Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-06-21T16:32:24.197Z] > git --version # timeout=10 [2021-06-21T16:32:24.216Z] > git --version # 'git version 2.17.1' [2021-06-21T16:32:24.218Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T16:32:24.380Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh [2021-06-21T16:32:25.371Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-21T16:32:25.661Z] + ls -al . [2021-06-21T16:32:25.661Z] total 160 [2021-06-21T16:32:25.661Z] drwxrwxr-x. 8 jenkins jenkins 260 Jun 21 16:31 . [2021-06-21T16:32:25.661Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 21 16:31 .. [2021-06-21T16:32:25.661Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jun 21 16:31 Attribution.txt [2021-06-21T16:32:25.661Z] -rw-rw-r--. 1 jenkins jenkins 7509 Jun 21 16:31 CHANGES [2021-06-21T16:32:25.661Z] drwxrwxr-x. 2 jenkins jenkins 121 Jun 21 16:31 docs [2021-06-21T16:32:25.661Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jun 21 16:31 Doxyfile [2021-06-21T16:32:25.661Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 21 16:31 .git [2021-06-21T16:32:25.661Z] drwxrwxr-x. 2 jenkins jenkins 81 Jun 21 16:31 .github [2021-06-21T16:32:25.661Z] -rw-rw-r--. 1 jenkins jenkins 176 Jun 21 16:31 .gitignore [2021-06-21T16:32:25.661Z] drwxrwxr-x. 4 jenkins jenkins 33 Jun 21 16:31 include [2021-06-21T16:32:25.661Z] -rw-rw-r--. 1 jenkins jenkins 784 Jun 21 16:31 Jenkinsfile [2021-06-21T16:32:25.661Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jun 21 16:31 LICENSE [2021-06-21T16:32:25.661Z] -rw-rw-r--. 1 jenkins jenkins 444 Jun 21 16:31 Makefile [2021-06-21T16:32:25.661Z] -rw-rw-r--. 1 jenkins jenkins 4090 Jun 21 16:31 README.md [2021-06-21T16:32:25.661Z] -rw-rw-r--. 1 jenkins jenkins 7090 Jun 21 16:31 README.v2.md [2021-06-21T16:32:25.661Z] drwxrwxr-x. 2 jenkins jenkins 98 Jun 21 16:31 scripts [2021-06-21T16:32:25.661Z] drwxrwxr-x. 4 jenkins jenkins 50 Jun 21 16:31 src [2021-06-21T16:32:25.661Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 21 16:28 VERSION [Pipeline] isUnix [Pipeline] sh [2021-06-21T16:32:25.975Z] + 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=fb558c548b1f99262baa56afa14c9c4e03a1d00a --label arch=amd64 --label version=0.0.0 . [2021-06-21T16:32:25.976Z] Sending build context to Docker daemon 2.629MB [2021-06-21T16:32:25.976Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-06-21T16:32:25.976Z] Step 2/17 : FROM ${BASE} [2021-06-21T16:32:25.976Z] ---> c3cd99dd0182 [2021-06-21T16:32:25.976Z] Step 3/17 : LABEL maintainer="IOTech " [2021-06-21T16:32:26.189Z] Merging remotes/origin/master commit c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 into PR head commit fb558c548b1f99262baa56afa14c9c4e03a1d00a [2021-06-21T16:32:25.533Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-06-21T16:32:25.548Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-21T16:32:25.575Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-06-21T16:32:25.611Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-06-21T16:32:25.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T16:32:25.624Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-21T16:32:26.216Z] > git config core.sparsecheckout # timeout=10 [2021-06-21T16:32:26.230Z] > git checkout -f fb558c548b1f99262baa56afa14c9c4e03a1d00a # timeout=10 [2021-06-21T16:32:26.241Z] ---> Running in cff879cd1960 [2021-06-21T16:32:26.241Z] Removing intermediate container cff879cd1960 [2021-06-21T16:32:26.241Z] ---> c6fa104861e2 [2021-06-21T16:32:26.241Z] 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-06-21T16:32:26.241Z] ---> Running in aec696f20937 [2021-06-21T16:32:26.404Z] Merge succeeded, producing fb558c548b1f99262baa56afa14c9c4e03a1d00a [2021-06-21T16:32:26.404Z] Checking out Revision fb558c548b1f99262baa56afa14c9c4e03a1d00a (PR-353) [2021-06-21T16:32:26.502Z] --2021-06-21 16:32:26-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-06-21T16:32:26.502Z] Resolving iotech.jfrog.io... 34.243.182.113, 54.74.239.58, 54.72.115.12 [2021-06-21T16:32:26.761Z] Connecting to iotech.jfrog.io|34.243.182.113|:443... connected. [2021-06-21T16:32:27.021Z] HTTP request sent, awaiting response... 200 OK [2021-06-21T16:32:27.021Z] Length: 451 [application/octet-stream] [2021-06-21T16:32:27.021Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-06-21T16:32:27.021Z]  [2021-06-21T16:32:27.021Z] 0K 100% 49.7M=0s [2021-06-21T16:32:27.021Z] [2021-06-21T16:32:27.021Z] 2021-06-21 16:32:26 (49.7 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-06-21T16:32:27.021Z] [2021-06-21T16:32:27.282Z] Removing intermediate container aec696f20937 [2021-06-21T16:32:27.282Z] ---> 430733999779 [2021-06-21T16:32:27.282Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-06-21T16:32:27.282Z] ---> Running in 244a02a0607b [2021-06-21T16:32:26.335Z] > git remote # timeout=10 [2021-06-21T16:32:26.350Z] > git config --get remote.origin.url # timeout=10 [2021-06-21T16:32:26.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T16:32:26.374Z] > git merge c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 # timeout=10 [2021-06-21T16:32:26.395Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-21T16:32:26.415Z] > git config core.sparsecheckout # timeout=10 [2021-06-21T16:32:26.434Z] > git checkout -f fb558c548b1f99262baa56afa14c9c4e03a1d00a # timeout=10 [2021-06-21T16:32:27.861Z] Removing intermediate container 244a02a0607b [2021-06-21T16:32:27.861Z] ---> 7a2989a16393 [2021-06-21T16:32:27.861Z] 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-06-21T16:32:27.861Z] ---> Running in f4c8bce02927 [2021-06-21T16:32:28.125Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-06-21T16:32:28.697Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-06-21T16:32:30.082Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-06-21T16:32:30.082Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-06-21T16:32:30.361Z] (2/6) Installing libblkid (2.33-r0) [2021-06-21T16:32:30.361Z] (3/6) Installing libfdisk (2.33-r0) [2021-06-21T16:32:30.361Z] (4/6) Installing libmount (2.33-r0) [2021-06-21T16:32:30.620Z] (5/6) Installing libsmartcols (2.33-r0) [2021-06-21T16:32:30.620Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-06-21T16:32:30.660Z] Commit message: "fix: avoid crash when deviceresource has no attributes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-21T16:32:31.201Z] Executing busybox-1.29.3-r10.trigger [2021-06-21T16:32:31.202Z] OK: 273 MiB in 87 packages [2021-06-21T16:32:31.482Z] Removing intermediate container f4c8bce02927 [2021-06-21T16:32:31.482Z] ---> 642175569d49 [2021-06-21T16:32:31.482Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-06-21T16:32:31.744Z] ---> ce6531200efc [2021-06-21T16:32:31.744Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-06-21T16:32:31.905Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-21T16:32:32.006Z] ---> b5cb0acb0c3b [2021-06-21T16:32:32.006Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-06-21T16:32:32.267Z] ---> e953e0e304d0 [2021-06-21T16:32:32.268Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-06-21T16:32:32.316Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-21T16:32:32.527Z] ---> 2b567cdc0548 [2021-06-21T16:32:32.527Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-06-21T16:32:32.655Z] + true [2021-06-21T16:32:32.655Z] + sudo service docker restart [2021-06-21T16:32:32.787Z] ---> e5147157d08e [2021-06-21T16:32:32.787Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-06-21T16:32:33.049Z] ---> fce9996253ab [2021-06-21T16:32:33.049Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-06-21T16:32:33.049Z] ---> Running in 0b907919768b [2021-06-21T16:32:33.311Z] Removing intermediate container 0b907919768b [2021-06-21T16:32:33.311Z] ---> 022f7de3ec67 [2021-06-21T16:32:33.311Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-06-21T16:32:33.311Z] ---> Running in 4734a3e4b821 [2021-06-21T16:32:33.572Z] Removing intermediate container 4734a3e4b821 [2021-06-21T16:32:33.572Z] ---> b36d238c1cb7 [2021-06-21T16:32:33.572Z] Step 15/17 : LABEL arch=amd64 [2021-06-21T16:32:33.572Z] ---> Running in df52e3f31827 [2021-06-21T16:32:33.572Z] Removing intermediate container df52e3f31827 [2021-06-21T16:32:33.572Z] ---> 1687909af6b8 [2021-06-21T16:32:33.572Z] Step 16/17 : LABEL git_sha=fb558c548b1f99262baa56afa14c9c4e03a1d00a [2021-06-21T16:32:33.833Z] ---> Running in 455c5b2fbc5e [2021-06-21T16:32:33.833Z] Removing intermediate container 455c5b2fbc5e [2021-06-21T16:32:33.833Z] ---> 37fe3400bfc2 [2021-06-21T16:32:33.833Z] Step 17/17 : LABEL version=0.0.0 [2021-06-21T16:32:33.833Z] ---> Running in cba2d04a08f3 [2021-06-21T16:32:34.104Z] Removing intermediate container cba2d04a08f3 [2021-06-21T16:32:34.104Z] ---> 29fe41b8a076 [2021-06-21T16:32:34.104Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-21T16:32:34.104Z] Successfully built 29fe41b8a076 [2021-06-21T16:32:34.104Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-21T16:32:51.017Z] provisioning config files... [2021-06-21T16:32:51.042Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config2846036260356739262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-21T16:32:51.411Z] ---> docker-login.sh [2021-06-21T16:32:51.411Z] nexus3.edgexfoundry.org:10001 [2021-06-21T16:32:52.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T16:32:52.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T16:32:52.671Z] Configure a credential helper to remove this warning. See [2021-06-21T16:32:52.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T16:32:52.671Z] [2021-06-21T16:32:52.671Z] Login Succeeded [2021-06-21T16:32:52.671Z] nexus3.edgexfoundry.org:10002 [2021-06-21T16:32:52.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T16:32:53.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T16:32:53.221Z] Configure a credential helper to remove this warning. See [2021-06-21T16:32:53.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T16:32:53.221Z] [2021-06-21T16:32:53.221Z] Login Succeeded [2021-06-21T16:32:53.221Z] nexus3.edgexfoundry.org:10003 [2021-06-21T16:32:53.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T16:32:53.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T16:32:53.801Z] Configure a credential helper to remove this warning. See [2021-06-21T16:32:53.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T16:32:53.801Z] [2021-06-21T16:32:53.801Z] Login Succeeded [2021-06-21T16:32:53.801Z] nexus3.edgexfoundry.org:10004 [2021-06-21T16:32:54.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T16:32:54.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T16:32:54.352Z] Configure a credential helper to remove this warning. See [2021-06-21T16:32:54.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T16:32:54.352Z] [2021-06-21T16:32:54.352Z] Login Succeeded [2021-06-21T16:32:54.352Z] docker.io [2021-06-21T16:32:54.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T16:32:55.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T16:32:55.223Z] Configure a credential helper to remove this warning. See [2021-06-21T16:32:55.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T16:32:55.223Z] [2021-06-21T16:32:55.223Z] Login Succeeded [2021-06-21T16:32:55.223Z] ---> docker-login.sh ends [Pipeline] } [2021-06-21T16:32:55.239Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-21T16:32:55.586Z] ========================================================= [2021-06-21T16:32:55.586Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-06-21T16:32:55.586Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-21T16:32:55.931Z] + 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-06-21T16:32:56.527Z] Sending build context to Docker daemon 2.628MB [2021-06-21T16:32:56.527Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-06-21T16:32:56.527Z] Step 2/25 : FROM ${BASE} as builder [2021-06-21T16:32:56.527Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-06-21T16:32:56.527Z] 0362ad1dd800: Pulling fs layer [2021-06-21T16:32:56.527Z] f2cdb1532d8b: Pulling fs layer [2021-06-21T16:32:56.527Z] 37ed683be191: Pulling fs layer [2021-06-21T16:32:56.804Z] f2cdb1532d8b: Verifying Checksum [2021-06-21T16:32:56.804Z] f2cdb1532d8b: Download complete [2021-06-21T16:32:56.804Z] 0362ad1dd800: Verifying Checksum [2021-06-21T16:32:56.804Z] 0362ad1dd800: Download complete [2021-06-21T16:32:57.406Z] 0362ad1dd800: Pull complete [2021-06-21T16:32:58.004Z] f2cdb1532d8b: Pull complete [2021-06-21T16:32:59.001Z] 37ed683be191: Verifying Checksum [2021-06-21T16:32:59.001Z] 37ed683be191: Download complete [2021-06-21T16:33:09.183Z] 37ed683be191: Pull complete [2021-06-21T16:33:09.183Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-06-21T16:33:09.183Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-06-21T16:33:09.183Z] ---> b23d30803547 [2021-06-21T16:33:09.183Z] 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-06-21T16:33:09.183Z] ---> Running in 3c53ebe13478 [2021-06-21T16:33:10.619Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2021-06-21T16:33:10.889Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-06-21T16:33:10.889Z] [2021-06-21T16:33:11.883Z] Removing intermediate container 3c53ebe13478 [2021-06-21T16:33:11.883Z] ---> aea685e445f6 [2021-06-21T16:33:11.883Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-06-21T16:33:12.158Z] ---> Running in 05e9d5348ec0 [2021-06-21T16:33:14.137Z] Removing intermediate container 05e9d5348ec0 [2021-06-21T16:33:14.137Z] ---> d950e373a7a5 [2021-06-21T16:33:14.137Z] 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-06-21T16:33:14.137Z] ---> Running in 3f695e52592a [2021-06-21T16:33:15.587Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-06-21T16:33:16.217Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-06-21T16:33:16.864Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-06-21T16:33:17.839Z] (1/11) Installing hiredis (0.14.0-r0) [2021-06-21T16:33:17.840Z] (2/11) Installing hiredis-dev (0.14.0-r0) [2021-06-21T16:33:17.840Z] (3/11) Installing ncurses-dev (6.1_p20190105-r0) [2021-06-21T16:33:17.840Z] (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-06-21T16:33:19.275Z] (5/11) Installing libuuid (2.33-r0) [2021-06-21T16:33:19.545Z] (6/11) Installing libblkid (2.33-r0) [2021-06-21T16:33:19.816Z] (7/11) Installing libfdisk (2.33-r0) [2021-06-21T16:33:19.816Z] (8/11) Installing libmount (2.33-r0) [2021-06-21T16:33:20.085Z] (9/11) Installing libsmartcols (2.33-r0) [2021-06-21T16:33:20.085Z] (10/11) Installing util-linux-dev (2.33-r0) [2021-06-21T16:33:21.059Z] (11/11) Installing wget (1.20.3-r0) [2021-06-21T16:33:21.060Z] Executing busybox-1.29.3-r10.trigger [2021-06-21T16:33:21.060Z] OK: 287 MiB in 86 packages [2021-06-21T16:33:22.498Z] Removing intermediate container 3f695e52592a [2021-06-21T16:33:22.499Z] ---> cae4959e9cc9 [2021-06-21T16:33:22.499Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-06-21T16:33:22.499Z] ---> Running in d8afb2195de8 [2021-06-21T16:33:22.780Z] Removing intermediate container d8afb2195de8 [2021-06-21T16:33:22.780Z] ---> c00a3c7525ec [2021-06-21T16:33:22.780Z] 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-06-21T16:33:23.054Z] ---> Running in 92abef139fae [2021-06-21T16:33:24.033Z] --2021-06-21 16:33:23-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-06-21T16:33:24.304Z] Resolving github.com... 140.82.112.3 [2021-06-21T16:33:24.304Z] Connecting to github.com|140.82.112.3|:443... connected. [2021-06-21T16:33:24.304Z] HTTP request sent, awaiting response... 302 Found [2021-06-21T16:33:24.304Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-06-21T16:33:24.304Z] --2021-06-21 16:33:24-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-06-21T16:33:24.304Z] Resolving codeload.github.com... 140.82.113.10 [2021-06-21T16:33:24.304Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-06-21T16:33:24.578Z] HTTP request sent, awaiting response... 200 OK [2021-06-21T16:33:24.578Z] Length: unspecified [application/x-gzip] [2021-06-21T16:33:24.578Z] Saving to: 'STDOUT' [2021-06-21T16:33:24.578Z]  [2021-06-21T16:33:24.578Z] 0K .......... .......... .......... .......... .......... 1.51M [2021-06-21T16:33:24.578Z] 50K .......... .......... .......... .......... .......... 2.61M [2021-06-21T16:33:24.578Z] 100K .......... .......... .......... .......... .......... 3.51M [2021-06-21T16:33:24.578Z] 150K .......... .......... .......... .......... .......... 10.3M [2021-06-21T16:33:24.578Z] 200K .......... .......... .......... .......... .......... 14.0M [2021-06-21T16:33:24.578Z] 250K .......... .......... .......... .......... .......... 3.12M [2021-06-21T16:33:24.578Z] 300K .......... .......... .......... .......... .......... 5.42M [2021-06-21T16:33:24.578Z] 350K .......... .......... .......... .......... .......... 5.82M [2021-06-21T16:33:24.578Z] 400K .......... .......... .......... .......... .......... 3.28M [2021-06-21T16:33:24.578Z] 450K .......... .......... .......... .......... .......... 3.59M [2021-06-21T16:33:24.578Z] 500K .......... .......... .......... .......... .......... 8.03M [2021-06-21T16:33:24.578Z] 550K .......... .......... .......... .......... .......... 2.57M [2021-06-21T16:33:24.853Z] 600K .......... .......... .......... .......... .......... 896K [2021-06-21T16:33:24.853Z] 650K .......... .......... .......... .......... .......... 2.38M [2021-06-21T16:33:24.853Z] 700K ..                                       6.03M=0.2s [2021-06-21T16:33:24.853Z] [2021-06-21T16:33:24.853Z] 2021-06-21 16:33:24 (2.90 MB/s) - written to stdout [719348] [2021-06-21T16:33:24.853Z] [2021-06-21T16:33:25.126Z] -- The C compiler identification is GNU 8.3.0 [2021-06-21T16:33:25.401Z] -- The CXX compiler identification is GNU 8.3.0 [2021-06-21T16:33:25.401Z] -- Check for working C compiler: /usr/bin/cc [2021-06-21T16:33:25.401Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-06-21T16:33:25.401Z] -- Detecting C compiler ABI info [2021-06-21T16:33:25.676Z] -- Detecting C compiler ABI info - done [2021-06-21T16:33:25.676Z] -- Detecting C compile features [2021-06-21T16:33:26.667Z] -- Detecting C compile features - done [2021-06-21T16:33:26.668Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-06-21T16:33:26.668Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-06-21T16:33:26.668Z] -- Detecting CXX compiler ABI info [2021-06-21T16:33:26.950Z] -- Detecting CXX compiler ABI info - done [2021-06-21T16:33:26.950Z] -- Detecting CXX compile features [2021-06-21T16:33:28.929Z] -- Detecting CXX compile features - done [2021-06-21T16:33:28.929Z] -- Looking for include file endian.h [2021-06-21T16:33:28.929Z] -- Looking for include file endian.h - found [2021-06-21T16:33:28.929Z] -- Check if the system is big endian [2021-06-21T16:33:28.929Z] -- Searching 16 bit integer [2021-06-21T16:33:28.929Z] -- Looking for sys/types.h [2021-06-21T16:33:28.929Z] -- Looking for sys/types.h - found [2021-06-21T16:33:28.929Z] -- Looking for stdint.h [2021-06-21T16:33:29.203Z] -- Looking for stdint.h - found [2021-06-21T16:33:29.203Z] -- Looking for stddef.h [2021-06-21T16:33:29.477Z] -- Looking for stddef.h - found [2021-06-21T16:33:29.477Z] -- Check size of unsigned short [2021-06-21T16:33:29.750Z] -- Check size of unsigned short - done [2021-06-21T16:33:29.750Z] -- Using unsigned short [2021-06-21T16:33:30.025Z] -- Check if the system is big endian - little endian [2021-06-21T16:33:30.025Z] -- Check size of size_t [2021-06-21T16:33:30.299Z] -- Check size of size_t - done [2021-06-21T16:33:30.299Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-06-21T16:33:30.299Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-06-21T16:33:30.299Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-06-21T16:33:30.299Z] CMake did not find one. [2021-06-21T16:33:30.299Z] [2021-06-21T16:33:30.299Z] Could not find a package configuration file provided by "cJSON" with any of [2021-06-21T16:33:30.299Z] the following names: [2021-06-21T16:33:30.299Z] [2021-06-21T16:33:30.299Z] cJSONConfig.cmake [2021-06-21T16:33:30.299Z] cjson-config.cmake [2021-06-21T16:33:30.299Z] [2021-06-21T16:33:30.299Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-06-21T16:33:30.299Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-06-21T16:33:30.299Z] provides a separate development package or SDK, be sure it has been [2021-06-21T16:33:30.299Z] installed. [2021-06-21T16:33:30.299Z] [2021-06-21T16:33:30.299Z] [2021-06-21T16:33:30.299Z] -- Configuring done [2021-06-21T16:33:30.572Z] -- Generating done [2021-06-21T16:33:30.572Z] -- Build files have been written to: /tmp/cbor [2021-06-21T16:33:30.572Z] Scanning dependencies of target cbor_shared [2021-06-21T16:33:30.844Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-06-21T16:33:31.445Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-06-21T16:33:32.038Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-06-21T16:33:32.310Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-06-21T16:33:32.903Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-06-21T16:33:33.176Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-06-21T16:33:33.176Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-06-21T16:33:33.450Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-06-21T16:33:33.723Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-06-21T16:33:33.994Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-06-21T16:33:34.588Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-06-21T16:33:34.860Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-06-21T16:33:35.133Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-06-21T16:33:35.406Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-06-21T16:33:35.680Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-06-21T16:33:35.953Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-06-21T16:33:36.225Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-06-21T16:33:36.497Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-06-21T16:33:36.770Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-06-21T16:33:37.042Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-06-21T16:33:37.042Z] [ 40%] Linking C shared library libcbor.so [2021-06-21T16:33:37.316Z] [ 40%] Built target cbor_shared [2021-06-21T16:33:37.316Z] Scanning dependencies of target cbor [2021-06-21T16:33:37.316Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-06-21T16:33:38.290Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-06-21T16:33:38.562Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-06-21T16:33:38.835Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-06-21T16:33:39.811Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-06-21T16:33:40.082Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-06-21T16:33:40.354Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-06-21T16:33:40.625Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-06-21T16:33:40.897Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-06-21T16:33:41.175Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-06-21T16:33:41.774Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-06-21T16:33:42.046Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-06-21T16:33:42.652Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-06-21T16:33:42.925Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-06-21T16:33:43.199Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-06-21T16:33:43.199Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-06-21T16:33:43.471Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-06-21T16:33:43.744Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-06-21T16:33:44.018Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-06-21T16:33:44.291Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-06-21T16:33:44.563Z] [ 80%] Linking C static library libcbor.a [2021-06-21T16:33:44.563Z] [ 80%] Built target cbor [2021-06-21T16:33:44.563Z] Scanning dependencies of target create_items [2021-06-21T16:33:44.563Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-06-21T16:33:44.837Z] [ 84%] Linking C executable create_items [2021-06-21T16:33:44.837Z] [ 84%] Built target create_items [2021-06-21T16:33:44.837Z] Scanning dependencies of target readfile [2021-06-21T16:33:44.837Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-06-21T16:33:45.109Z] [ 88%] Linking C executable readfile [2021-06-21T16:33:45.381Z] [ 88%] Built target readfile [2021-06-21T16:33:45.381Z] Scanning dependencies of target streaming_parser [2021-06-21T16:33:45.381Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-06-21T16:33:45.655Z] [ 92%] Linking C executable streaming_parser [2021-06-21T16:33:45.655Z] [ 92%] Built target streaming_parser [2021-06-21T16:33:45.655Z] Scanning dependencies of target sort [2021-06-21T16:33:45.655Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-06-21T16:33:45.929Z] [ 96%] Linking C executable sort [2021-06-21T16:33:45.929Z] [ 96%] Built target sort [2021-06-21T16:33:45.929Z] Scanning dependencies of target hello [2021-06-21T16:33:45.929Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-06-21T16:33:46.201Z] [100%] Linking C executable hello [2021-06-21T16:33:46.202Z] [100%] Built target hello [2021-06-21T16:33:46.202Z] Install the project... [2021-06-21T16:33:46.202Z] -- Install configuration: "Release" [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/lib64/libcbor.a [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/lib64/libcbor.so [2021-06-21T16:33:46.202Z] -- Up-to-date: /usr/local/include/cbor [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/ints.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/data.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/common.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/strings.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/tags.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/internal [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor/maps.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/include/cbor.h [2021-06-21T16:33:46.202Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-06-21T16:33:48.175Z] Removing intermediate container 92abef139fae [2021-06-21T16:33:48.175Z] ---> fa3aed33cc2c [2021-06-21T16:33:48.175Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-06-21T16:33:48.449Z] ---> Running in ee4e0bde44d4 [2021-06-21T16:33:50.427Z] Removing intermediate container ee4e0bde44d4 [2021-06-21T16:33:50.427Z] ---> fe3393b01f7e [2021-06-21T16:33:50.427Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-06-21T16:33:51.413Z] ---> c1181e13cb04 [2021-06-21T16:33:51.413Z] Step 10/25 : COPY src /tmp/sdk/src [2021-06-21T16:33:52.393Z] ---> 1639c23f5ca2 [2021-06-21T16:33:52.393Z] Step 11/25 : COPY include /tmp/sdk/include [2021-06-21T16:33:52.993Z] ---> 7c1fe9fcb350 [2021-06-21T16:33:52.993Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-06-21T16:33:53.591Z] ---> cf0a8091d9e5 [2021-06-21T16:33:53.591Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-06-21T16:33:54.571Z] ---> 8eada2e7512c [2021-06-21T16:33:54.571Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-06-21T16:33:55.171Z] ---> cb33875f6a4b [2021-06-21T16:33:55.171Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-06-21T16:33:55.445Z] ---> Running in d2761bf03fc3 [2021-06-21T16:33:56.883Z] + CPPCHECK=false [2021-06-21T16:33:56.883Z] + DOCGEN=false [2021-06-21T16:33:56.883Z] + TOMLVER=SDK-0.2 [2021-06-21T16:33:56.883Z] + CUTILVER=1.1.4 [2021-06-21T16:33:56.883Z] + '[' 0 -gt 0 ] [2021-06-21T16:33:56.883Z] + readlink -f ./scripts/build.sh [2021-06-21T16:33:56.883Z] + dirname /tmp/sdk/scripts/build.sh [2021-06-21T16:33:56.883Z] + dirname /tmp/sdk/scripts [2021-06-21T16:33:56.883Z] + ROOT=/tmp/sdk [2021-06-21T16:33:56.883Z] + cd /tmp/sdk [2021-06-21T16:33:56.883Z] + '[' '!' -d deps ] [2021-06-21T16:33:56.883Z] + mkdir deps [2021-06-21T16:33:56.883Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-06-21T16:33:56.883Z] + tar -C deps -z -x -f - [2021-06-21T16:33:56.883Z] --2021-06-21 16:33:56-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-06-21T16:33:56.883Z] Resolving github.com... 140.82.113.3 [2021-06-21T16:33:56.883Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-06-21T16:33:56.883Z] HTTP request sent, awaiting response... 302 Found [2021-06-21T16:33:56.883Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-06-21T16:33:56.883Z] --2021-06-21 16:33:56-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-06-21T16:33:56.883Z] Resolving codeload.github.com... 140.82.113.10 [2021-06-21T16:33:56.883Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-06-21T16:33:56.884Z] HTTP request sent, awaiting response... 200 OK [2021-06-21T16:33:56.884Z] Length: unspecified [application/x-gzip] [2021-06-21T16:33:56.884Z] Saving to: 'STDOUT' [2021-06-21T16:33:56.884Z]  [2021-06-21T16:33:56.884Z] 0K .......... ...... 956K=0.02s [2021-06-21T16:33:56.884Z] [2021-06-21T16:33:56.884Z] 2021-06-21 16:33:56 (956 KB/s) - written to stdout [16451] [2021-06-21T16:33:56.884Z] [2021-06-21T16:33:56.884Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-06-21T16:33:56.884Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-06-21T16:33:56.884Z] + tar -C deps -z -x -f - [2021-06-21T16:33:56.884Z] --2021-06-21 16:33:56-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-06-21T16:33:57.155Z] Resolving github.com... 140.82.113.3 [2021-06-21T16:33:57.155Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-06-21T16:33:57.155Z] HTTP request sent, awaiting response... 302 Found [2021-06-21T16:33:57.155Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-06-21T16:33:57.155Z] --2021-06-21 16:33:56-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-06-21T16:33:57.155Z] Resolving codeload.github.com... 140.82.113.10 [2021-06-21T16:33:57.155Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-06-21T16:33:57.155Z] HTTP request sent, awaiting response... 200 OK [2021-06-21T16:33:57.155Z] Length: unspecified [application/x-gzip] [2021-06-21T16:33:57.155Z] Saving to: 'STDOUT' [2021-06-21T16:33:57.155Z]  [2021-06-21T16:33:57.430Z] 0K .......... .......... .......... .......... .......... 1.58M [2021-06-21T16:33:57.430Z] 50K .......... .......... .......... .......... .......... 3.14M [2021-06-21T16:33:57.430Z] 100K .......... .......... .......... .......... .......... 3.70M [2021-06-21T16:33:57.430Z] 150K .......... .......... .......  1.50M=0.08s [2021-06-21T16:33:57.430Z] [2021-06-21T16:33:57.430Z] 2021-06-21 16:33:57 (2.24 MB/s) - written to stdout [181796] [2021-06-21T16:33:57.430Z] [2021-06-21T16:33:57.430Z] + mkdir -p src/c/iot [2021-06-21T16:33:57.430Z] + 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-06-21T16:33:57.430Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-06-21T16:33:57.430Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-06-21T16:33:57.430Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-06-21T16:33:57.430Z] + mkdir -p include/iot [2021-06-21T16:33:57.430Z] + 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-06-21T16:33:57.430Z] + mkdir -p include/iot/os [2021-06-21T16:33:57.430Z] + 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-06-21T16:33:57.430Z] + mkdir -p /tmp/sdk/build/release [2021-06-21T16:33:57.430Z] + cd /tmp/sdk/build/release [2021-06-21T16:33:57.430Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-06-21T16:33:57.706Z] -- The C compiler identification is GNU 8.3.0 [2021-06-21T16:33:57.706Z] -- Check for working C compiler: /usr/bin/cc [2021-06-21T16:33:57.981Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-06-21T16:33:57.981Z] -- Detecting C compiler ABI info [2021-06-21T16:33:58.256Z] -- Detecting C compiler ABI info - done [2021-06-21T16:33:58.256Z] -- Detecting C compile features [2021-06-21T16:33:58.856Z] -- Detecting C compile features - done [2021-06-21T16:33:58.856Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-06-21T16:33:58.856Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-06-21T16:33:58.856Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-06-21T16:33:58.856Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-06-21T16:33:58.856Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-06-21T16:33:59.128Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-06-21T16:33:59.128Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-06-21T16:33:59.128Z] -- C SDK 0.0.0 for Linux [2021-06-21T16:33:59.128Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-06-21T16:33:59.128Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-06-21T16:33:59.128Z] -- Found Curses: /usr/lib/libcurses.so [2021-06-21T16:33:59.406Z] -- Configuring done [2021-06-21T16:33:59.678Z] -- Generating done [2021-06-21T16:33:59.678Z] -- Build files have been written to: /tmp/sdk/build/release [2021-06-21T16:33:59.678Z] + make all package [2021-06-21T16:33:59.678Z] + tee release.log [2021-06-21T16:33:59.678Z] Scanning dependencies of target csdk [2021-06-21T16:33:59.951Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-06-21T16:34:00.545Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-06-21T16:34:01.138Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-06-21T16:34:02.568Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-06-21T16:34:03.161Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-06-21T16:34:03.432Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-06-21T16:34:04.032Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-06-21T16:34:04.634Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-06-21T16:34:04.634Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-06-21T16:34:05.609Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-06-21T16:34:07.575Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-06-21T16:34:07.847Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-06-21T16:34:08.440Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-06-21T16:34:09.032Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-06-21T16:34:09.304Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-06-21T16:34:09.578Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-06-21T16:34:09.578Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-06-21T16:34:12.977Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-06-21T16:34:12.977Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-06-21T16:34:12.977Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-06-21T16:34:13.249Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-06-21T16:34:13.841Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-06-21T16:34:14.435Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-06-21T16:34:17.044Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-06-21T16:34:17.044Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-06-21T16:34:17.044Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-06-21T16:34:17.637Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-06-21T16:34:18.228Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-06-21T16:34:18.228Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-06-21T16:34:19.207Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-06-21T16:34:19.480Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-06-21T16:34:20.074Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-06-21T16:34:20.345Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-06-21T16:34:22.317Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-06-21T16:34:22.591Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-06-21T16:34:23.566Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-06-21T16:34:23.838Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-06-21T16:34:28.132Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-06-21T16:34:28.408Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-06-21T16:34:28.692Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-06-21T16:34:29.289Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-06-21T16:34:29.883Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-06-21T16:34:31.848Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-06-21T16:34:33.277Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-06-21T16:34:36.648Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-06-21T16:34:36.921Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-06-21T16:34:37.531Z] [ 74%] Linking C shared library libcsdk.so [2021-06-21T16:34:37.531Z] [ 74%] Built target csdk [2021-06-21T16:34:37.531Z] Scanning dependencies of target template [2021-06-21T16:34:37.825Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-06-21T16:34:38.450Z] [ 77%] Linking C executable template [2021-06-21T16:34:38.730Z] [ 77%] Built target template [2021-06-21T16:34:38.730Z] Scanning dependencies of target device-counter [2021-06-21T16:34:38.730Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-06-21T16:34:39.349Z] [ 80%] Linking C executable device-counter [2021-06-21T16:34:39.349Z] [ 80%] Built target device-counter [2021-06-21T16:34:39.349Z] Scanning dependencies of target device-random [2021-06-21T16:34:39.631Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-06-21T16:34:39.923Z] [ 84%] Linking C executable device-random [2021-06-21T16:34:40.233Z] [ 84%] Built target device-random [2021-06-21T16:34:40.233Z] Scanning dependencies of target device-gyro [2021-06-21T16:34:40.233Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-06-21T16:34:40.837Z] [ 87%] Linking C executable device-gyro [2021-06-21T16:34:40.837Z] [ 87%] Built target device-gyro [2021-06-21T16:34:40.837Z] Scanning dependencies of target device-bitfields [2021-06-21T16:34:40.837Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-06-21T16:34:41.439Z] [ 90%] Linking C executable device-bitfields [2021-06-21T16:34:41.713Z] [ 90%] Built target device-bitfields [2021-06-21T16:34:41.714Z] Scanning dependencies of target template-discovery [2021-06-21T16:34:41.714Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-06-21T16:34:42.310Z] [ 93%] Linking C executable template-discovery [2021-06-21T16:34:42.584Z] [ 93%] Built target template-discovery [2021-06-21T16:34:42.584Z] Scanning dependencies of target device-file [2021-06-21T16:34:42.584Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-06-21T16:34:43.182Z] [ 96%] Linking C executable device-file [2021-06-21T16:34:43.457Z] [ 96%] Built target device-file [2021-06-21T16:34:43.457Z] Scanning dependencies of target device-terminal [2021-06-21T16:34:43.457Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-06-21T16:34:44.056Z] [100%] Linking C executable device-terminal [2021-06-21T16:34:44.056Z] [100%] Built target device-terminal [2021-06-21T16:34:44.056Z] Run CPack packaging tool... [2021-06-21T16:34:44.330Z] CPack: Create package using TGZ [2021-06-21T16:34:44.330Z] CPack: Install projects [2021-06-21T16:34:44.330Z] CPack: - Run preinstall target for: Csdk [2021-06-21T16:34:44.603Z] CPack: - Install project: Csdk [2021-06-21T16:34:44.877Z] CPack: Create package [2021-06-21T16:34:44.877Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-06-21T16:34:44.877Z] + '[' false '=' true ] [2021-06-21T16:34:44.877Z] + '[' false '=' true ] [2021-06-21T16:34:44.877Z] + mkdir -p /tmp/sdk/build/debug [2021-06-21T16:34:44.877Z] + cd /tmp/sdk/build/debug [2021-06-21T16:34:44.877Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-06-21T16:34:45.152Z] -- The C compiler identification is GNU 8.3.0 [2021-06-21T16:34:45.152Z] -- Check for working C compiler: /usr/bin/cc [2021-06-21T16:34:45.426Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-06-21T16:34:45.426Z] -- Detecting C compiler ABI info [2021-06-21T16:34:45.701Z] -- Detecting C compiler ABI info - done [2021-06-21T16:34:45.701Z] -- Detecting C compile features [2021-06-21T16:34:46.684Z] -- Detecting C compile features - done [2021-06-21T16:34:46.684Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-06-21T16:34:46.684Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-06-21T16:34:46.684Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-06-21T16:34:46.684Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-06-21T16:34:46.684Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-06-21T16:34:46.684Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-06-21T16:34:46.684Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-06-21T16:34:46.684Z] -- C SDK 0.0.0 for Linux [2021-06-21T16:34:46.684Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-06-21T16:34:46.684Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-06-21T16:34:46.684Z] -- Found Curses: /usr/lib/libcurses.so [2021-06-21T16:34:46.956Z] -- Configuring done [2021-06-21T16:34:47.229Z] -- Generating done [2021-06-21T16:34:47.230Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-06-21T16:34:47.230Z] + make [2021-06-21T16:34:47.230Z] + tee debug.log [2021-06-21T16:34:47.230Z] Scanning dependencies of target csdk [2021-06-21T16:34:47.504Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-06-21T16:34:47.778Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-06-21T16:34:48.053Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-06-21T16:34:48.648Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-06-21T16:34:48.927Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-06-21T16:34:48.927Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-06-21T16:34:49.529Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-06-21T16:34:49.529Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-06-21T16:34:49.804Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-06-21T16:34:50.401Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-06-21T16:34:50.676Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-06-21T16:34:50.953Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-06-21T16:34:51.552Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-06-21T16:34:51.827Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-06-21T16:34:52.103Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-06-21T16:34:52.103Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-06-21T16:34:52.377Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-06-21T16:34:52.974Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-06-21T16:34:53.249Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-06-21T16:34:53.523Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-06-21T16:34:53.798Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-06-21T16:34:53.798Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-06-21T16:34:54.075Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-06-21T16:34:55.056Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-06-21T16:34:55.056Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-06-21T16:34:55.333Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-06-21T16:34:55.607Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-06-21T16:34:55.881Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-06-21T16:34:55.881Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-06-21T16:34:56.156Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-06-21T16:34:56.432Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-06-21T16:34:56.706Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-06-21T16:34:56.979Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-06-21T16:34:57.253Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-06-21T16:34:57.527Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-06-21T16:34:57.802Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-06-21T16:34:58.077Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-06-21T16:34:59.059Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-06-21T16:34:59.334Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-06-21T16:34:59.608Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-06-21T16:34:59.882Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-06-21T16:35:00.155Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-06-21T16:35:01.135Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-06-21T16:35:01.734Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-06-21T16:35:02.338Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-06-21T16:35:02.613Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-06-21T16:35:02.887Z] [ 74%] Linking C shared library libcsdk.so [2021-06-21T16:35:03.161Z] [ 74%] Built target csdk [2021-06-21T16:35:03.161Z] Scanning dependencies of target template [2021-06-21T16:35:03.161Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-06-21T16:35:03.435Z] [ 77%] Linking C executable template [2021-06-21T16:35:03.709Z] [ 77%] Built target template [2021-06-21T16:35:03.709Z] Scanning dependencies of target device-counter [2021-06-21T16:35:03.709Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-06-21T16:35:03.985Z] [ 80%] Linking C executable device-counter [2021-06-21T16:35:04.258Z] [ 80%] Built target device-counter [2021-06-21T16:35:04.258Z] Scanning dependencies of target device-random [2021-06-21T16:35:04.258Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-06-21T16:35:04.531Z] [ 84%] Linking C executable device-random [2021-06-21T16:35:04.804Z] [ 84%] Built target device-random [2021-06-21T16:35:04.804Z] Scanning dependencies of target device-gyro [2021-06-21T16:35:04.804Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-06-21T16:35:05.079Z] [ 87%] Linking C executable device-gyro [2021-06-21T16:35:05.353Z] [ 87%] Built target device-gyro [2021-06-21T16:35:05.353Z] Scanning dependencies of target device-bitfields [2021-06-21T16:35:05.353Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-06-21T16:35:05.628Z] [ 90%] Linking C executable device-bitfields [2021-06-21T16:35:05.628Z] [ 90%] Built target device-bitfields [2021-06-21T16:35:05.628Z] Scanning dependencies of target template-discovery [2021-06-21T16:35:05.902Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-06-21T16:35:06.178Z] [ 93%] Linking C executable template-discovery [2021-06-21T16:35:06.178Z] [ 93%] Built target template-discovery [2021-06-21T16:35:06.178Z] Scanning dependencies of target device-file [2021-06-21T16:35:06.452Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-06-21T16:35:06.726Z] [ 96%] Linking C executable device-file [2021-06-21T16:35:06.726Z] [ 96%] Built target device-file [2021-06-21T16:35:06.726Z] Scanning dependencies of target device-terminal [2021-06-21T16:35:07.000Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-06-21T16:35:07.275Z] [100%] Linking C executable device-terminal [2021-06-21T16:35:07.275Z] [100%] Built target device-terminal [2021-06-21T16:35:07.550Z] make: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.550Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.550Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.550Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.550Z] [ 74%] Built target csdk [2021-06-21T16:35:07.550Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.550Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.550Z] [ 77%] Built target template [2021-06-21T16:35:07.550Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.550Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.550Z] [ 80%] Built target device-counter [2021-06-21T16:35:07.550Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.550Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.825Z] [ 84%] Built target device-random [2021-06-21T16:35:07.825Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.825Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.825Z] [ 87%] Built target device-gyro [2021-06-21T16:35:07.825Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.825Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.825Z] [ 90%] Built target device-bitfields [2021-06-21T16:35:07.825Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.825Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.825Z] [ 93%] Built target template-discovery [2021-06-21T16:35:07.825Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.825Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.825Z] [ 96%] Built target device-file [2021-06-21T16:35:07.825Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.825Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.825Z] [100%] Built target device-terminal [2021-06-21T16:35:07.825Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:35:07.825Z] Install the project... [2021-06-21T16:35:07.825Z] -- Install configuration: "Release" [2021-06-21T16:35:07.825Z] -- Installing: /usr/local/lib/libcsdk.so [2021-06-21T16:35:07.825Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-06-21T16:35:07.825Z] -- Up-to-date: /usr/local/include [2021-06-21T16:35:07.825Z] -- Installing: /usr/local/include/edgex [2021-06-21T16:35:07.825Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/edgex/devices.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/devsdk [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/json.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/container.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/component.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/typecode.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/iot.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/time.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/hash.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/logger.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/os [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/data.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/thread.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/os.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/base64.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/defs.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/include/iot/config.h [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-06-21T16:35:08.123Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-06-21T16:35:08.123Z] make: Leaving directory '/tmp/sdk/build/release' [2021-06-21T16:35:10.105Z] Removing intermediate container d2761bf03fc3 [2021-06-21T16:35:10.105Z] ---> 904455fadcd3 [2021-06-21T16:35:10.105Z] Step 16/25 : FROM ${BASE} [2021-06-21T16:35:10.105Z] ---> b23d30803547 [2021-06-21T16:35:10.105Z] Step 17/25 : LABEL maintainer="IOTech " [2021-06-21T16:35:10.105Z] ---> Running in 68876f7683dc [2021-06-21T16:35:10.706Z] Removing intermediate container 68876f7683dc [2021-06-21T16:35:10.706Z] ---> c1066f49a84d [2021-06-21T16:35:10.706Z] 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-06-21T16:35:10.706Z] ---> Running in 05403deb013e [2021-06-21T16:35:12.143Z] Connecting to iotech.jfrog.io (54.74.239.58:443) [2021-06-21T16:35:12.418Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-06-21T16:35:12.418Z] [2021-06-21T16:35:13.406Z] Removing intermediate container 05403deb013e [2021-06-21T16:35:13.406Z] ---> dd6adceb7035 [2021-06-21T16:35:13.406Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-06-21T16:35:13.406Z] ---> Running in 3ae4c2549315 [2021-06-21T16:35:15.391Z] Removing intermediate container 3ae4c2549315 [2021-06-21T16:35:15.391Z] ---> 376dfa9d6178 [2021-06-21T16:35:15.391Z] 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-06-21T16:35:15.666Z] ---> Running in a057c5eaf3a4 [2021-06-21T16:35:17.107Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-06-21T16:35:17.700Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-06-21T16:35:17.972Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-06-21T16:35:18.567Z] (1/6) Installing curl (7.64.0-r5) [2021-06-21T16:35:18.840Z] (2/6) Installing hiredis (0.14.0-r0) [2021-06-21T16:35:18.840Z] (3/6) Installing hiredis-dev (0.14.0-r0) [2021-06-21T16:35:19.114Z] (4/6) Installing libuuid (2.33-r0) [2021-06-21T16:35:19.114Z] (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-06-21T16:35:20.545Z] (6/6) Installing wget (1.20.3-r0) [2021-06-21T16:35:20.816Z] Executing busybox-1.29.3-r10.trigger [2021-06-21T16:35:21.096Z] OK: 283 MiB in 81 packages [2021-06-21T16:35:22.079Z] Removing intermediate container a057c5eaf3a4 [2021-06-21T16:35:22.079Z] ---> 634a6e2f55a0 [2021-06-21T16:35:22.079Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-06-21T16:35:23.060Z] ---> 8cfb951fc725 [2021-06-21T16:35:23.060Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-06-21T16:35:24.040Z] ---> 5aa80dbf459f [2021-06-21T16:35:24.040Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-06-21T16:35:24.639Z] ---> ec76d125aa0e [2021-06-21T16:35:24.639Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-06-21T16:35:25.662Z] ---> c51f9db1e616 [2021-06-21T16:35:25.662Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-06-21T16:35:26.257Z] ---> 979babf84c59 [2021-06-21T16:35:26.258Z] Successfully built 979babf84c59 [2021-06-21T16:35:26.530Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-21T16:35:27.110Z] + docker inspect -f . ci-base-image-arm64 [2021-06-21T16:35:27.111Z] . [Pipeline] withDockerContainer [2021-06-21T16:35:27.413Z] prd-ubuntu18.04-docker-arm64-4c-16g-557 does not seem to be running inside a container [2021-06-21T16:35:27.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-21T16:35:29.131Z] $ docker top 495bbf699561e563d92d25f7ea147be65227611a58ca155b0d1f19713f054022 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-21T16:35:30.174Z] + make test [2021-06-21T16:35:30.174Z] echo "make test" [2021-06-21T16:35:30.174Z] make test [Pipeline] } [2021-06-21T16:35:30.184Z] $ docker stop --time=1 495bbf699561e563d92d25f7ea147be65227611a58ca155b0d1f19713f054022 [2021-06-21T16:35:32.025Z] $ docker rm -f 495bbf699561e563d92d25f7ea147be65227611a58ca155b0d1f19713f054022 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-21T16:35:32.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-21T16:35:33.155Z] + ls -al . [2021-06-21T16:35:33.155Z] total 192 [2021-06-21T16:35:33.155Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 16:32 . [2021-06-21T16:35:33.155Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 16:32 .. [2021-06-21T16:35:33.155Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 16:32 .git [2021-06-21T16:35:33.155Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 16:32 .github [2021-06-21T16:35:33.155Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 21 16:32 .gitignore [2021-06-21T16:35:33.155Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jun 21 16:32 Attribution.txt [2021-06-21T16:35:33.155Z] -rw-rw-r-- 1 jenkins jenkins 7509 Jun 21 16:32 CHANGES [2021-06-21T16:35:33.155Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 21 16:32 Doxyfile [2021-06-21T16:35:33.155Z] -rw-rw-r-- 1 jenkins jenkins 784 Jun 21 16:32 Jenkinsfile [2021-06-21T16:35:33.155Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 21 16:32 LICENSE [2021-06-21T16:35:33.155Z] -rw-rw-r-- 1 jenkins jenkins 444 Jun 21 16:32 Makefile [2021-06-21T16:35:33.155Z] -rw-rw-r-- 1 jenkins jenkins 4090 Jun 21 16:32 README.md [2021-06-21T16:35:33.155Z] -rw-rw-r-- 1 jenkins jenkins 7090 Jun 21 16:32 README.v2.md [2021-06-21T16:35:33.155Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 16:28 VERSION [2021-06-21T16:35:33.155Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 16:32 docs [2021-06-21T16:35:33.155Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 16:32 include [2021-06-21T16:35:33.155Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 16:32 scripts [2021-06-21T16:35:33.155Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 16:32 src [Pipeline] isUnix [Pipeline] sh [2021-06-21T16:35:33.496Z] + 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=fb558c548b1f99262baa56afa14c9c4e03a1d00a --label arch=arm64 --label version=0.0.0 . [2021-06-21T16:35:34.097Z] Sending build context to Docker daemon 2.628MB [2021-06-21T16:35:34.097Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-06-21T16:35:34.097Z] Step 2/17 : FROM ${BASE} [2021-06-21T16:35:34.097Z] ---> 979babf84c59 [2021-06-21T16:35:34.097Z] Step 3/17 : LABEL maintainer="IOTech " [2021-06-21T16:35:34.369Z] ---> Running in 44dfdbcd65e5 [2021-06-21T16:35:34.641Z] Removing intermediate container 44dfdbcd65e5 [2021-06-21T16:35:34.641Z] ---> caa0b7a66eef [2021-06-21T16:35:34.641Z] 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-06-21T16:35:34.912Z] ---> Running in 8f3dae35b35d [2021-06-21T16:35:36.342Z] --2021-06-21 16:35:35-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-06-21T16:35:36.342Z] Resolving iotech.jfrog.io... 54.72.115.12, 54.74.239.58, 34.243.182.113 [2021-06-21T16:35:36.342Z] Connecting to iotech.jfrog.io|54.72.115.12|:443... connected. [2021-06-21T16:35:36.621Z] HTTP request sent, awaiting response... 200 OK [2021-06-21T16:35:36.621Z] Length: 451 [application/octet-stream] [2021-06-21T16:35:36.621Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-06-21T16:35:36.621Z]  [2021-06-21T16:35:36.621Z] 0K    100% 18.8M=0s [2021-06-21T16:35:36.621Z] [2021-06-21T16:35:36.621Z] 2021-06-21 16:35:36 (18.8 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-06-21T16:35:36.621Z] [2021-06-21T16:35:37.601Z] Removing intermediate container 8f3dae35b35d [2021-06-21T16:35:37.601Z] ---> a123f7c158f5 [2021-06-21T16:35:37.601Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-06-21T16:35:37.601Z] ---> Running in 440be91472e9 [2021-06-21T16:35:39.573Z] Removing intermediate container 440be91472e9 [2021-06-21T16:35:39.573Z] ---> 073199092eb5 [2021-06-21T16:35:39.573Z] 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-06-21T16:35:39.847Z] ---> Running in 57c5be1f8af7 [2021-06-21T16:35:41.273Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-06-21T16:35:41.862Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-06-21T16:35:42.829Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-06-21T16:35:43.420Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-06-21T16:35:43.420Z] (2/6) Installing libblkid (2.33-r0) [2021-06-21T16:35:43.420Z] (3/6) Installing libfdisk (2.33-r0) [2021-06-21T16:35:43.420Z] (4/6) Installing libmount (2.33-r0) [2021-06-21T16:35:43.699Z] (5/6) Installing libsmartcols (2.33-r0) [2021-06-21T16:35:43.699Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-06-21T16:35:43.970Z] Executing busybox-1.29.3-r10.trigger [2021-06-21T16:35:44.240Z] OK: 287 MiB in 87 packages [2021-06-21T16:35:45.218Z] Removing intermediate container 57c5be1f8af7 [2021-06-21T16:35:45.218Z] ---> 7988acd043bb [2021-06-21T16:35:45.218Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-06-21T16:35:46.193Z] ---> 25109c6f7122 [2021-06-21T16:35:46.193Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-06-21T16:35:47.170Z] ---> e03b2f62d91e [2021-06-21T16:35:47.170Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-06-21T16:35:47.766Z] ---> f0c47d622b45 [2021-06-21T16:35:47.766Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-06-21T16:35:48.745Z] ---> c872c27fff3a [2021-06-21T16:35:48.745Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-06-21T16:35:49.356Z] ---> 1a2dbff68b3f [2021-06-21T16:35:49.356Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-06-21T16:35:51.332Z] ---> d6db6ce8b474 [2021-06-21T16:35:51.332Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-06-21T16:35:51.332Z] ---> Running in a25344681f5d [2021-06-21T16:35:53.303Z] Removing intermediate container a25344681f5d [2021-06-21T16:35:53.303Z] ---> bc4e8f1b4ab4 [2021-06-21T16:35:53.303Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-06-21T16:35:53.303Z] ---> Running in 6b79d5b0d9de [2021-06-21T16:35:53.897Z] Removing intermediate container 6b79d5b0d9de [2021-06-21T16:35:53.897Z] ---> a3ccd02fdc2c [2021-06-21T16:35:53.897Z] Step 15/17 : LABEL arch=arm64 [2021-06-21T16:35:53.897Z] ---> Running in 3acd8a9668ea [2021-06-21T16:35:54.491Z] Removing intermediate container 3acd8a9668ea [2021-06-21T16:35:54.491Z] ---> 1af28387c989 [2021-06-21T16:35:54.491Z] Step 16/17 : LABEL git_sha=fb558c548b1f99262baa56afa14c9c4e03a1d00a [2021-06-21T16:35:54.491Z] ---> Running in 51d5bf4ada27 [2021-06-21T16:35:55.088Z] Removing intermediate container 51d5bf4ada27 [2021-06-21T16:35:55.088Z] ---> 0445d8277696 [2021-06-21T16:35:55.088Z] Step 17/17 : LABEL version=0.0.0 [2021-06-21T16:35:55.088Z] ---> Running in 0d54fe43342c [2021-06-21T16:35:55.680Z] Removing intermediate container 0d54fe43342c [2021-06-21T16:35:55.680Z] ---> 11c93d9c8a99 [2021-06-21T16:35:55.680Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-21T16:35:55.680Z] Successfully built 11c93d9c8a99 [2021-06-21T16:35:55.680Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [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-06-21T16:35:57.295Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T16:35:57.869Z] ---> package-listing.sh [2021-06-21T16:35:57.870Z] ++ facter osfamily [2021-06-21T16:35:57.870Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-21T16:35:58.135Z] + OS_FAMILY=redhat [2021-06-21T16:35:58.135Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-353 [2021-06-21T16:35:58.135Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-21T16:35:58.135Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-21T16:35:58.135Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-21T16:35:58.135Z] + PACKAGES=/tmp/packages_start.txt [2021-06-21T16:35:58.135Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-353 ']' [2021-06-21T16:35:58.135Z] + PACKAGES=/tmp/packages_end.txt [2021-06-21T16:35:58.135Z] + case "${OS_FAMILY}" in [2021-06-21T16:35:58.135Z] + rpm -qa [2021-06-21T16:35:58.135Z] + sort [2021-06-21T16:35:59.084Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-21T16:35:59.084Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-21T16:35:59.084Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-21T16:35:59.084Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-353 ']' [2021-06-21T16:35:59.084Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-353/archives/ [2021-06-21T16:35:59.084Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-353/archives/ [Pipeline] echo [2021-06-21T16:35:59.108Z] 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-353/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-21T16:35:59.406Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-21T16:35:59.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-21T16:35:59.982Z] [2021-06-21T16:35:59.982Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-21T16:36:00.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-21T16:36:00.563Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-21T16:36:00.563Z] df20fa9351a1: Pulling fs layer [2021-06-21T16:36:00.563Z] 36b3adc4ff6f: Pulling fs layer [2021-06-21T16:36:00.563Z] 8ad3a11d3b57: Pulling fs layer [2021-06-21T16:36:00.563Z] 46f8f816bc3b: Pulling fs layer [2021-06-21T16:36:00.563Z] 93b61091891f: Pulling fs layer [2021-06-21T16:36:00.563Z] 93b9cdb0e59b: Pulling fs layer [2021-06-21T16:36:00.563Z] 5e14af77c1be: Pulling fs layer [2021-06-21T16:36:00.563Z] 01666e4c0597: Pulling fs layer [2021-06-21T16:36:00.563Z] aa168da1d23b: Pulling fs layer [2021-06-21T16:36:00.563Z] 93b9cdb0e59b: Waiting [2021-06-21T16:36:00.563Z] 5e14af77c1be: Waiting [2021-06-21T16:36:00.563Z] 01666e4c0597: Waiting [2021-06-21T16:36:00.563Z] aa168da1d23b: Waiting [2021-06-21T16:36:00.563Z] 46f8f816bc3b: Waiting [2021-06-21T16:36:00.563Z] 93b61091891f: Waiting [2021-06-21T16:36:00.563Z] 36b3adc4ff6f: Verifying Checksum [2021-06-21T16:36:00.563Z] 36b3adc4ff6f: Download complete [2021-06-21T16:36:00.563Z] 46f8f816bc3b: Verifying Checksum [2021-06-21T16:36:00.563Z] 46f8f816bc3b: Download complete [2021-06-21T16:36:00.563Z] df20fa9351a1: Verifying Checksum [2021-06-21T16:36:00.563Z] df20fa9351a1: Download complete [2021-06-21T16:36:00.563Z] 93b9cdb0e59b: Verifying Checksum [2021-06-21T16:36:00.563Z] 93b9cdb0e59b: Download complete [2021-06-21T16:36:00.563Z] 93b61091891f: Verifying Checksum [2021-06-21T16:36:00.563Z] 93b61091891f: Download complete [2021-06-21T16:36:00.563Z] 5e14af77c1be: Verifying Checksum [2021-06-21T16:36:00.563Z] 5e14af77c1be: Download complete [2021-06-21T16:36:00.563Z] 01666e4c0597: Verifying Checksum [2021-06-21T16:36:00.563Z] 01666e4c0597: Download complete [2021-06-21T16:36:00.835Z] 8ad3a11d3b57: Verifying Checksum [2021-06-21T16:36:00.835Z] 8ad3a11d3b57: Download complete [2021-06-21T16:36:00.835Z] df20fa9351a1: Pull complete [2021-06-21T16:36:01.117Z] 36b3adc4ff6f: Pull complete [2021-06-21T16:36:01.697Z] 8ad3a11d3b57: Pull complete [2021-06-21T16:36:01.972Z] 46f8f816bc3b: Pull complete [2021-06-21T16:36:02.236Z] 93b61091891f: Pull complete [2021-06-21T16:36:02.500Z] 93b9cdb0e59b: Pull complete [2021-06-21T16:36:02.500Z] aa168da1d23b: Verifying Checksum [2021-06-21T16:36:02.500Z] aa168da1d23b: Download complete [2021-06-21T16:36:03.074Z] 5e14af77c1be: Pull complete [2021-06-21T16:36:03.074Z] 01666e4c0597: Pull complete [2021-06-21T16:36:07.313Z] aa168da1d23b: Pull complete [2021-06-21T16:36:07.313Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-21T16:36:07.313Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-21T16:36:07.313Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-21T16:36:07.395Z] prd-centos7-docker-4c-2g-555 does not seem to be running inside a container [2021-06-21T16:36:07.433Z] $ 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-353/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-353 -v /w/workspace/edgexfoundry_device-sdk-c_PR-353:/w/workspace/edgexfoundry_device-sdk-c_PR-353:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-21T16:36:17.041Z] $ docker top a40c7c1511812266b70246b30f74594fdb50d5bf819e09bbaba1260c97d2388b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-21T16:36:17.414Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-21T16:36:17.726Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-21T16:36:18.026Z] + ls /var/log/sa-host [2021-06-21T16:36:18.026Z] + sadf -c /var/log/sa-host/sa05 [2021-06-21T16:36:18.026Z] file_magic: OK [2021-06-21T16:36:18.026Z] HZ: Using current value: 100 [2021-06-21T16:36:18.026Z] file_header: OK [2021-06-21T16:36:18.026Z] 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-06-21T16:36:18.026Z] Statistics: [2021-06-21T16:36:18.026Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-21T16:36:18.026Z] File successfully converted to sysstat format version 12.2.1 [2021-06-21T16:36:18.026Z] + sadf -c /var/log/sa-host/sa21 [2021-06-21T16:36:18.026Z] file_magic: OK [2021-06-21T16:36:18.026Z] HZ: Using current value: 100 [2021-06-21T16:36:18.026Z] file_header: OK [2021-06-21T16:36:18.026Z] 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-06-21T16:36:18.026Z] Statistics: [2021-06-21T16:36:18.026Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-21T16:36:18.026Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-21T16:36:18.689Z] provisioning config files... [2021-06-21T16:36:18.706Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/config5976572673872176896tmp [Pipeline] { [Pipeline] echo [2021-06-21T16:36:18.727Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T16:36:19.029Z] ---> create-netrc.sh [Pipeline] } [2021-06-21T16:36:19.038Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-21T16:36:19.522Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-21T16:36:19.533Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T16:36:19.832Z] ---> sudo-logs.sh [2021-06-21T16:36:19.832Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-21T16:36:19.858Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T16:36:20.152Z] ---> job-cost.sh [2021-06-21T16:36:20.152Z] lf-activate-venv: SKIPPING [2021-06-21T16:36:20.152Z] INFO: No Stack... [2021-06-21T16:36:21.097Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-21T16:36:21.669Z] INFO: Archiving Costs [Pipeline] echo [2021-06-21T16:36:21.682Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T16:36:21.992Z] ---> logs-deploy.sh [2021-06-21T16:36:21.992Z] lf-activate-venv: SKIPPING [2021-06-21T16:36:21.992Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-353/2 [2021-06-21T16:36:21.992Z] INFO: archiving workspace using pattern(s): [2021-06-21T16:36:22.937Z] Archives upload complete. [2021-06-21T16:36:22.937Z] INFO: archiving logs to Nexus