Pull request #357 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 3025ff941fea1dc6e6a28e228f43da5c6c26a4e6+06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f (f8917c0c8d82f46065439a435a8daa0f3dc7b91d) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4310942340913537021.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision db16f8292de5a0132d944c4e76ede2ca4f84da27 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3919518537448168587.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision db16f8292de5a0132d944c4e76ede2ca4f84da27 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7840787591694557136.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision db16f8292de5a0132d944c4e76ede2ca4f84da27 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f db16f8292de5a0132d944c4e76ede2ca4f84da27 # timeout=10 Commit message: "Merge pull request #343 from ernestojeda/pipeline-optimizations" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8610904165421755168.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4143385046526128793.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-centos7-docker-4c-2g-368 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-357 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh892995334912670648.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit 3025ff941fea1dc6e6a28e228f43da5c6c26a4e6 Merge succeeded, producing e2cb4032230305e585a713cf79ac50a32557883c Checking out Revision e2cb4032230305e585a713cf79ac50a32557883c (PR-357) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh3996573751788964584.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3025ff941fea1dc6e6a28e228f43da5c6c26a4e6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh4130859787530426067.key > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2cb4032230305e585a713cf79ac50a32557883c # timeout=10 Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-28T16:05:53.507Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-28T16:05:53.598Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-28T16:05:53.622Z] ========================================================= [2021-07-28T16:05:53.622Z] EdgeX Global Pipelines Version Info [2021-07-28T16:05:53.622Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk dc3ff0f1699aa99a52bfb21f6f08698a555aa4ee # timeout=10 [2021-07-28T16:05:54.874Z] ------------------- [2021-07-28T16:05:54.874Z] stable info: [2021-07-28T16:05:54.874Z] ------------------- [2021-07-28T16:05:54.874Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-28T16:05:54.874Z] Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 [2021-07-28T16:05:54.874Z] Message: update stable to v1.0.197 [2021-07-28T16:05:55.841Z] ------------------- [2021-07-28T16:05:55.841Z] experimental info: [2021-07-28T16:05:55.841Z] ------------------- [2021-07-28T16:05:55.841Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-28T16:05:55.841Z] Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 [2021-07-28T16:05:55.841Z] Message: update experimental to v1.0.197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-28T16:05:55.974Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-07-28T16:05:55.996Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-07-28T16:05:56.016Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-28T16:05:56.037Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-28T16:05:56.058Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-28T16:05:56.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-07-28T16:05:56.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-07-28T16:05:56.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-07-28T16:05:56.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-28T16:05:56.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-07-28T16:05:56.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-28T16:05:56.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-28T16:05:56.240Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-28T16:05:56.260Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-28T16:05:56.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-28T16:05:56.332Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-28T16:05:56.351Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-28T16:05:56.370Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo [2021-07-28T16:05:56.389Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo [2021-07-28T16:05:56.408Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo [2021-07-28T16:05:56.426Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2cb4032230305e585a713cf79ac50a32557883c [Pipeline] echo [2021-07-28T16:05:56.444Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2cb403 [Pipeline] echo [2021-07-28T16:05:56.464Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-28T16:05:56.535Z] provisioning config files... [2021-07-28T16:05:56.558Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config2348022622409348899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:05:56.905Z] ---> docker-login.sh [2021-07-28T16:05:56.905Z] nexus3.edgexfoundry.org:10001 [2021-07-28T16:05:56.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:05:57.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:05:57.171Z] Configure a credential helper to remove this warning. See [2021-07-28T16:05:57.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:05:57.171Z] [2021-07-28T16:05:57.171Z] Login Succeeded [2021-07-28T16:05:57.171Z] nexus3.edgexfoundry.org:10002 [2021-07-28T16:05:57.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:05:57.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:05:57.438Z] Configure a credential helper to remove this warning. See [2021-07-28T16:05:57.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:05:57.438Z] [2021-07-28T16:05:57.438Z] Login Succeeded [2021-07-28T16:05:57.438Z] nexus3.edgexfoundry.org:10003 [2021-07-28T16:05:57.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:05:57.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:05:57.438Z] Configure a credential helper to remove this warning. See [2021-07-28T16:05:57.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:05:57.438Z] [2021-07-28T16:05:57.438Z] Login Succeeded [2021-07-28T16:05:57.438Z] nexus3.edgexfoundry.org:10004 [2021-07-28T16:05:57.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:05:57.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:05:57.717Z] Configure a credential helper to remove this warning. See [2021-07-28T16:05:57.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:05:57.717Z] [2021-07-28T16:05:57.717Z] Login Succeeded [2021-07-28T16:05:57.717Z] docker.io [2021-07-28T16:05:57.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:05:58.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:05:58.251Z] Configure a credential helper to remove this warning. See [2021-07-28T16:05:58.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:05:58.251Z] [2021-07-28T16:05:58.251Z] Login Succeeded [2021-07-28T16:05:58.251Z] ---> docker-login.sh ends [Pipeline] } [2021-07-28T16:05:58.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:05:59.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-28T16:05:59.418Z] [2021-07-28T16:05:59.418Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:05:59.755Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-28T16:05:59.756Z] latest: Pulling from edgex-devops/git-semver [2021-07-28T16:05:59.756Z] 31603596830f: Pulling fs layer [2021-07-28T16:05:59.756Z] b6dc333f4379: Pulling fs layer [2021-07-28T16:05:59.756Z] 3d9ef1400e77: Pulling fs layer [2021-07-28T16:05:59.756Z] fd332fbdc1db: Pulling fs layer [2021-07-28T16:05:59.756Z] fd332fbdc1db: Waiting [2021-07-28T16:05:59.756Z] b6dc333f4379: Verifying Checksum [2021-07-28T16:05:59.756Z] b6dc333f4379: Download complete [2021-07-28T16:06:00.338Z] 31603596830f: Verifying Checksum [2021-07-28T16:06:00.338Z] 31603596830f: Download complete [2021-07-28T16:06:00.338Z] 31603596830f: Pull complete [2021-07-28T16:06:00.338Z] fd332fbdc1db: Verifying Checksum [2021-07-28T16:06:00.338Z] fd332fbdc1db: Download complete [2021-07-28T16:06:00.604Z] b6dc333f4379: Pull complete [2021-07-28T16:06:00.886Z] 3d9ef1400e77: Verifying Checksum [2021-07-28T16:06:00.886Z] 3d9ef1400e77: Download complete [2021-07-28T16:06:01.476Z] 3d9ef1400e77: Pull complete [2021-07-28T16:06:01.476Z] fd332fbdc1db: Pull complete [2021-07-28T16:06:01.476Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-28T16:06:01.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-28T16:06:01.476Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-28T16:06:01.614Z] prd-centos7-docker-4c-2g-368 does not seem to be running inside a container [2021-07-28T16:06:01.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-28T16:06:02.479Z] $ docker top 42eb512aace37da57bad1dbdd013de4c696785a1bdaba13957b33762102171f6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-28T16:06:02.600Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-28T16:06:02.600Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-28T16:06:02.713Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-28T16:06:02.712Z] $ docker exec 42eb512aace37da57bad1dbdd013de4c696785a1bdaba13957b33762102171f6 ssh-agent [2021-07-28T16:06:02.823Z] SSH_AUTH_SOCK=/tmp/ssh-6VFe9QFEdWqv/agent.13 [2021-07-28T16:06:02.823Z] SSH_AGENT_PID=19 [2021-07-28T16:06:02.834Z] Running ssh-add (command line suppressed) [2021-07-28T16:06:02.925Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_8574926841362087853.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_8574926841362087853.key) [2021-07-28T16:06:02.951Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-28T16:06:03.271Z] + git tag --points-at HEAD [Pipeline] } [2021-07-28T16:06:03.309Z] $ docker exec --env ******** --env ******** 42eb512aace37da57bad1dbdd013de4c696785a1bdaba13957b33762102171f6 ssh-agent -k [2021-07-28T16:06:03.433Z] unset SSH_AUTH_SOCK; [2021-07-28T16:06:03.433Z] unset SSH_AGENT_PID; [2021-07-28T16:06:03.434Z] echo Agent pid 19 killed; [2021-07-28T16:06:03.452Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-28T16:06:03.489Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-28T16:06:03.489Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-28T16:06:03.606Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-28T16:06:03.605Z] $ docker exec 42eb512aace37da57bad1dbdd013de4c696785a1bdaba13957b33762102171f6 ssh-agent [2021-07-28T16:06:03.740Z] SSH_AUTH_SOCK=/tmp/ssh-ChzuLj4wso2b/agent.52 [2021-07-28T16:06:03.740Z] SSH_AGENT_PID=58 [2021-07-28T16:06:03.749Z] Running ssh-add (command line suppressed) [2021-07-28T16:06:03.859Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_4050347536657784478.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_4050347536657784478.key) [2021-07-28T16:06:03.883Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-28T16:06:04.223Z] + git semver init [2021-07-28T16:06:04.223Z] # -> Open(): unable to determine branch for HEAD [2021-07-28T16:06:04.223Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.git [2021-07-28T16:06:04.223Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-357 [2021-07-28T16:06:04.223Z] # $SEMVER_REMOTE_NAME = origin [2021-07-28T16:06:04.223Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-28T16:06:04.223Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-28T16:06:04.223Z] # $SEMVER_BRANCH = PR-357 [2021-07-28T16:06:04.223Z] # $SEMVER_TEMP = /tmp/semver-975635523 [2021-07-28T16:06:04.223Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-07-28T16:06:05.190Z] # '/tmp/semver-975635523' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver' [2021-07-28T16:06:05.191Z] # -> Force: false [2021-07-28T16:06:05.191Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver [Pipeline] } [2021-07-28T16:06:05.209Z] $ docker exec --env ******** --env ******** 42eb512aace37da57bad1dbdd013de4c696785a1bdaba13957b33762102171f6 ssh-agent -k [2021-07-28T16:06:05.332Z] unset SSH_AUTH_SOCK; [2021-07-28T16:06:05.333Z] unset SSH_AGENT_PID; [2021-07-28T16:06:05.333Z] echo Agent pid 58 killed; [2021-07-28T16:06:05.352Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-28T16:06:05.685Z] + git semver [Pipeline] } [2021-07-28T16:06:05.703Z] $ docker stop --time=1 42eb512aace37da57bad1dbdd013de4c696785a1bdaba13957b33762102171f6 [2021-07-28T16:06:06.955Z] $ docker rm -f 42eb512aace37da57bad1dbdd013de4c696785a1bdaba13957b33762102171f6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-28T16:06:07.347Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-28T16:06:07.676Z] Stashed 1 file(s) [Pipeline] echo [2021-07-28T16:06:07.679Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-07-28T16:06:22.879Z] Still waiting to schedule task [2021-07-28T16:06:22.879Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-28T16:06:22.882Z] Still waiting to schedule task [2021-07-28T16:06:22.882Z] ‘prd-centos7-blackbox-4c-2g-76’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-28T16:06:22.882Z] ‘prd-centos7-blackbox-4c-2g-77’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-28T16:06:22.882Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-369’ is offline [2021-07-28T16:08:38.413Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-371 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws [2021-07-28T16:08:38.456Z] Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout [2021-07-28T16:08:38.670Z] Selected Git installation does not exist. Using Default [2021-07-28T16:08:38.670Z] The recommended git tool is: NONE [2021-07-28T16:08:44.715Z] using credential edgex-jenkins-ssh [2021-07-28T16:08:44.744Z] Cloning the remote Git repository [2021-07-28T16:08:44.825Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T16:08:44.949Z] > git init /w/workspace/device-sdk-c/4 # timeout=10 [2021-07-28T16:08:45.042Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T16:08:45.042Z] > git --version # timeout=10 [2021-07-28T16:08:45.063Z] > git --version # 'git version 2.17.1' [2021-07-28T16:08:45.065Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T16:08:45.160Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-28T16:08:47.367Z] Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit 3025ff941fea1dc6e6a28e228f43da5c6c26a4e6 [2021-07-28T16:08:46.657Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-28T16:08:46.675Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-28T16:08:46.703Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-28T16:08:46.742Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T16:08:46.743Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T16:08:46.756Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-28T16:08:47.385Z] > git config core.sparsecheckout # timeout=10 [2021-07-28T16:08:47.414Z] > git checkout -f 3025ff941fea1dc6e6a28e228f43da5c6c26a4e6 # timeout=10 [2021-07-28T16:08:47.739Z] Merge succeeded, producing c4bf5835aa2a26a1a11e468256961ec2bf2bcd58 [2021-07-28T16:08:47.740Z] Checking out Revision c4bf5835aa2a26a1a11e468256961ec2bf2bcd58 (PR-357) [2021-07-28T16:08:47.554Z] > git remote # timeout=10 [2021-07-28T16:08:47.576Z] > git config --get remote.origin.url # timeout=10 [2021-07-28T16:08:47.592Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T16:08:47.604Z] > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 [2021-07-28T16:08:47.715Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-28T16:08:47.745Z] > git config core.sparsecheckout # timeout=10 [2021-07-28T16:08:47.768Z] > git checkout -f c4bf5835aa2a26a1a11e468256961ec2bf2bcd58 # timeout=10 [2021-07-28T16:08:52.246Z] Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" [2021-07-28T16:08:52.273Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-28T16:08:52.631Z] provisioning config files... [2021-07-28T16:08:52.661Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config607675544606456033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:08:53.270Z] ---> docker-login.sh [2021-07-28T16:08:53.270Z] nexus3.edgexfoundry.org:10001 [2021-07-28T16:08:52.251Z] > git rev-list --no-walk dc3ff0f1699aa99a52bfb21f6f08698a555aa4ee # timeout=10 [2021-07-28T16:08:54.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:08:54.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:08:54.544Z] Configure a credential helper to remove this warning. See [2021-07-28T16:08:54.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:08:54.544Z] [2021-07-28T16:08:54.544Z] Login Succeeded [2021-07-28T16:08:54.544Z] nexus3.edgexfoundry.org:10002 [2021-07-28T16:08:55.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:08:55.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:08:55.154Z] Configure a credential helper to remove this warning. See [2021-07-28T16:08:55.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:08:55.154Z] [2021-07-28T16:08:55.154Z] Login Succeeded [2021-07-28T16:08:55.436Z] nexus3.edgexfoundry.org:10003 [2021-07-28T16:08:56.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:08:56.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:08:56.047Z] Configure a credential helper to remove this warning. See [2021-07-28T16:08:56.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:08:56.047Z] [2021-07-28T16:08:56.047Z] Login Succeeded [2021-07-28T16:08:56.047Z] nexus3.edgexfoundry.org:10004 [2021-07-28T16:08:56.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:08:56.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:08:56.681Z] Configure a credential helper to remove this warning. See [2021-07-28T16:08:56.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:08:56.681Z] [2021-07-28T16:08:56.681Z] Login Succeeded [2021-07-28T16:08:56.681Z] docker.io [2021-07-28T16:08:57.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:08:57.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:08:57.575Z] Configure a credential helper to remove this warning. See [2021-07-28T16:08:57.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:08:57.575Z] [2021-07-28T16:08:57.575Z] Login Succeeded [2021-07-28T16:08:57.575Z] ---> docker-login.sh ends [Pipeline] } [2021-07-28T16:08:57.685Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-28T16:08:58.345Z] ========================================================= [2021-07-28T16:08:58.345Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-07-28T16:08:58.345Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:08:58.744Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2021-07-28T16:08:59.365Z] Sending build context to Docker daemon 2.69MB [2021-07-28T16:08:59.365Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-07-28T16:08:59.365Z] Step 2/25 : FROM ${BASE} as builder [2021-07-28T16:08:59.644Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-07-28T16:08:59.644Z] d2f70382dc9a: Pulling fs layer [2021-07-28T16:08:59.644Z] b08cc2eccb4b: Pulling fs layer [2021-07-28T16:08:59.644Z] 7b69db201801: Pulling fs layer [2021-07-28T16:08:59.922Z] b08cc2eccb4b: Verifying Checksum [2021-07-28T16:08:59.922Z] b08cc2eccb4b: Download complete [2021-07-28T16:08:59.922Z] d2f70382dc9a: Verifying Checksum [2021-07-28T16:09:00.920Z] d2f70382dc9a: Pull complete [2021-07-28T16:09:01.212Z] b08cc2eccb4b: Pull complete [2021-07-28T16:09:02.677Z] 7b69db201801: Verifying Checksum [2021-07-28T16:09:02.677Z] 7b69db201801: Download complete [2021-07-28T16:09:11.016Z] 7b69db201801: Pull complete [2021-07-28T16:09:11.016Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-07-28T16:09:11.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-07-28T16:09:11.016Z] ---> 759262b18b23 [2021-07-28T16:09:11.016Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-07-28T16:09:13.025Z] ---> Running in 3ee843c51213 [2021-07-28T16:09:15.670Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-07-28T16:09:15.671Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T16:09:15.671Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-28T16:09:15.671Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-28T16:09:17.125Z] Removing intermediate container 3ee843c51213 [2021-07-28T16:09:17.125Z] ---> d454bba2dac5 [2021-07-28T16:09:17.125Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T16:09:17.406Z] ---> Running in b39aeea13699 [2021-07-28T16:09:20.819Z] Removing intermediate container b39aeea13699 [2021-07-28T16:09:20.819Z] ---> 205aa6a3b2bc [2021-07-28T16:09:20.819Z] Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev [2021-07-28T16:09:20.819Z] ---> Running in 90ee4ad6528b [2021-07-28T16:09:21.801Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-28T16:09:22.401Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-28T16:09:22.997Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-28T16:09:23.984Z] (1/22) Installing hiredis (0.14.1-r0) [2021-07-28T16:09:23.984Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-07-28T16:09:24.263Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-28T16:09:24.263Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-28T16:09:25.704Z] (5/22) Installing libblkid (2.35.2-r0) [2021-07-28T16:09:25.978Z] (6/22) Installing blkid (2.35.2-r0) [2021-07-28T16:09:26.252Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-07-28T16:09:26.252Z] (8/22) Installing setpriv (2.35.2-r0) [2021-07-28T16:09:26.252Z] (9/22) Installing libmount (2.35.2-r0) [2021-07-28T16:09:26.528Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-07-28T16:09:26.528Z] (11/22) Installing findmnt (2.35.2-r0) [2021-07-28T16:09:26.528Z] (12/22) Installing mcookie (2.35.2-r0) [2021-07-28T16:09:26.805Z] (13/22) Installing hexdump (2.35.2-r0) [2021-07-28T16:09:26.805Z] (14/22) Installing lsblk (2.35.2-r0) [2021-07-28T16:09:26.805Z] (15/22) Installing libuuid (2.35.2-r0) [2021-07-28T16:09:27.079Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-07-28T16:09:27.079Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-07-28T16:09:27.079Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-07-28T16:09:27.353Z] (19/22) Installing util-linux (2.35.2-r0) [2021-07-28T16:09:27.632Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-07-28T16:09:27.909Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-07-28T16:09:27.909Z] (22/22) Installing wget (1.20.3-r1) [2021-07-28T16:09:28.182Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T16:09:28.182Z] OK: 276 MiB in 97 packages [2021-07-28T16:09:30.170Z] Removing intermediate container 90ee4ad6528b [2021-07-28T16:09:30.170Z] ---> cf5938ccd06f [2021-07-28T16:09:30.170Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-07-28T16:09:30.771Z] ---> Running in 2dbdda956d52 [2021-07-28T16:09:31.760Z] Removing intermediate container 2dbdda956d52 [2021-07-28T16:09:31.760Z] ---> dfdbba0cae10 [2021-07-28T16:09:31.760Z] Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-07-28T16:09:31.760Z] ---> Running in c43b7e43f783 [2021-07-28T16:09:33.204Z] --2021-07-28 16:09:33-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-07-28T16:09:33.204Z] Resolving github.com (github.com)... 140.82.112.3 [2021-07-28T16:09:33.477Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-07-28T16:09:33.477Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T16:09:33.477Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-07-28T16:09:33.477Z] --2021-07-28 16:09:33-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-07-28T16:09:33.477Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-07-28T16:09:33.477Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-07-28T16:09:33.764Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T16:09:33.764Z] Length: unspecified [application/x-gzip] [2021-07-28T16:09:33.764Z] Saving to: 'STDOUT' [2021-07-28T16:09:33.764Z]  [2021-07-28T16:09:33.764Z] 0K .......... .......... .......... .......... .......... 1.46M [2021-07-28T16:09:33.764Z] 50K .......... .......... .......... .......... .......... 3.47M [2021-07-28T16:09:33.764Z] 100K .......... .......... .......... .......... .......... 3.25M [2021-07-28T16:09:33.764Z] 150K .......... .......... .......... .......... .......... 10.9M [2021-07-28T16:09:33.764Z] 200K .......... .......... .......... .......... .......... 8.49M [2021-07-28T16:09:33.764Z] 250K .......... .......... .......... .......... .......... 3.35M [2021-07-28T16:09:33.764Z] 300K .......... .......... .......... .......... .......... 3.15M [2021-07-28T16:09:33.764Z] 350K .......... .......... .......... .......... .......... 6.03M [2021-07-28T16:09:33.764Z] 400K .......... .......... .......... .......... .......... 2.84M [2021-07-28T16:09:34.043Z] 450K .......... .......... .......... .......... .......... 3.50M [2021-07-28T16:09:34.043Z] 500K .......... .......... .......... .......... .......... 6.00M [2021-07-28T16:09:34.043Z] 550K .......... .......... .......... .......... .......... 2.26M [2021-07-28T16:09:34.043Z] 600K .......... .......... .......... .......... .......... 805K [2021-07-28T16:09:34.043Z] 650K .......... .......... .......... .......... .......... 1.96M [2021-07-28T16:09:34.043Z] 700K ..          1.53M=0.3s [2021-07-28T16:09:34.043Z] [2021-07-28T16:09:34.043Z] 2021-07-28 16:09:33 (2.64 MB/s) - written to stdout [719348] [2021-07-28T16:09:34.043Z] [2021-07-28T16:09:34.320Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T16:09:34.928Z] -- The CXX compiler identification is GNU 9.3.0 [2021-07-28T16:09:34.928Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T16:09:35.206Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T16:09:35.206Z] -- Detecting C compiler ABI info [2021-07-28T16:09:35.483Z] -- Detecting C compiler ABI info - done [2021-07-28T16:09:35.483Z] -- Detecting C compile features [2021-07-28T16:09:35.483Z] -- Detecting C compile features - done [2021-07-28T16:09:35.483Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-07-28T16:09:36.080Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-07-28T16:09:36.080Z] -- Detecting CXX compiler ABI info [2021-07-28T16:09:36.356Z] -- Detecting CXX compiler ABI info - done [2021-07-28T16:09:36.356Z] -- Detecting CXX compile features [2021-07-28T16:09:36.356Z] -- Detecting CXX compile features - done [2021-07-28T16:09:36.356Z] -- Looking for include file endian.h [2021-07-28T16:09:36.637Z] -- Looking for include file endian.h - found [2021-07-28T16:09:36.637Z] -- Check if the system is big endian [2021-07-28T16:09:36.637Z] -- Searching 16 bit integer [2021-07-28T16:09:36.637Z] -- Looking for sys/types.h [2021-07-28T16:09:36.917Z] -- Looking for sys/types.h - found [2021-07-28T16:09:36.917Z] -- Looking for stdint.h [2021-07-28T16:09:37.200Z] -- Looking for stdint.h - found [2021-07-28T16:09:37.200Z] -- Looking for stddef.h [2021-07-28T16:09:37.804Z] -- Looking for stddef.h - found [2021-07-28T16:09:37.804Z] -- Check size of unsigned short [2021-07-28T16:09:38.082Z] -- Check size of unsigned short - done [2021-07-28T16:09:38.082Z] -- Searching 16 bit integer - Using unsigned short [2021-07-28T16:09:38.357Z] -- Check if the system is big endian - little endian [2021-07-28T16:09:38.358Z] -- Check size of size_t [2021-07-28T16:09:38.634Z] -- Check size of size_t - done [2021-07-28T16:09:38.634Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-07-28T16:09:38.634Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-07-28T16:09:38.634Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-07-28T16:09:38.634Z] CMake did not find one. [2021-07-28T16:09:38.634Z] [2021-07-28T16:09:38.634Z] Could not find a package configuration file provided by "cJSON" with any of [2021-07-28T16:09:38.634Z] the following names: [2021-07-28T16:09:38.634Z] [2021-07-28T16:09:38.634Z] cJSONConfig.cmake [2021-07-28T16:09:38.634Z] cjson-config.cmake [2021-07-28T16:09:38.634Z] [2021-07-28T16:09:38.634Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-07-28T16:09:38.634Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-07-28T16:09:38.634Z] provides a separate development package or SDK, be sure it has been [2021-07-28T16:09:38.634Z] installed. [2021-07-28T16:09:38.634Z] [2021-07-28T16:09:38.634Z] [2021-07-28T16:09:38.634Z] -- Configuring done [2021-07-28T16:09:38.913Z] -- Generating done [2021-07-28T16:09:38.913Z] -- Build files have been written to: /tmp/cbor [2021-07-28T16:09:39.190Z] Scanning dependencies of target cbor_shared [2021-07-28T16:09:39.190Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-07-28T16:09:40.172Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-07-28T16:09:41.153Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-07-28T16:09:41.428Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-07-28T16:09:42.028Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-07-28T16:09:42.310Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-07-28T16:09:42.587Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-07-28T16:09:42.862Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-07-28T16:09:43.135Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-07-28T16:09:43.412Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-07-28T16:09:44.011Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-07-28T16:09:44.286Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-07-28T16:09:44.887Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-07-28T16:09:45.160Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-07-28T16:09:45.435Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-07-28T16:09:45.711Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-07-28T16:09:46.313Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-07-28T16:09:46.593Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-07-28T16:09:46.871Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-07-28T16:09:47.147Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-07-28T16:09:47.425Z] [ 40%] Linking C shared library libcbor.so [2021-07-28T16:09:47.699Z] [ 40%] Built target cbor_shared [2021-07-28T16:09:47.699Z] Scanning dependencies of target cbor [2021-07-28T16:09:47.699Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-07-28T16:09:48.691Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-07-28T16:09:49.683Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-07-28T16:09:49.959Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-07-28T16:09:52.622Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-07-28T16:09:52.622Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-07-28T16:09:52.899Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-07-28T16:09:53.191Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-07-28T16:09:53.471Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-07-28T16:09:53.749Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-07-28T16:09:54.741Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-07-28T16:09:55.352Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-07-28T16:09:55.963Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-07-28T16:09:56.568Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-07-28T16:09:56.847Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-07-28T16:09:57.122Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-07-28T16:09:57.398Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-07-28T16:09:58.006Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-07-28T16:09:58.006Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-07-28T16:09:58.606Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-07-28T16:09:58.886Z] [ 80%] Linking C static library libcbor.a [2021-07-28T16:09:58.886Z] [ 80%] Built target cbor [2021-07-28T16:09:58.886Z] Scanning dependencies of target sort [2021-07-28T16:09:58.886Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-07-28T16:09:59.162Z] [ 84%] Linking C executable sort [2021-07-28T16:09:59.162Z] [ 84%] Built target sort [2021-07-28T16:09:59.162Z] Scanning dependencies of target readfile [2021-07-28T16:09:59.436Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-07-28T16:09:59.712Z] [ 88%] Linking C executable readfile [2021-07-28T16:09:59.712Z] [ 88%] Built target readfile [2021-07-28T16:09:59.713Z] Scanning dependencies of target streaming_parser [2021-07-28T16:09:59.713Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-07-28T16:09:59.986Z] [ 92%] Linking C executable streaming_parser [2021-07-28T16:10:00.262Z] [ 92%] Built target streaming_parser [2021-07-28T16:10:00.262Z] Scanning dependencies of target hello [2021-07-28T16:10:00.262Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-07-28T16:10:00.535Z] [ 96%] Linking C executable hello [2021-07-28T16:10:00.535Z] [ 96%] Built target hello [2021-07-28T16:10:00.535Z] Scanning dependencies of target create_items [2021-07-28T16:10:00.535Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-07-28T16:10:00.811Z] [100%] Linking C executable create_items [2021-07-28T16:10:01.088Z] [100%] Built target create_items [2021-07-28T16:10:01.088Z] Install the project... [2021-07-28T16:10:01.088Z] -- Install configuration: "Release" [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/lib64/libcbor.a [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/lib64/libcbor.so [2021-07-28T16:10:01.088Z] -- Up-to-date: /usr/local/include/cbor [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/ints.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/data.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/common.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/strings.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/tags.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/internal [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor/maps.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/include/cbor.h [2021-07-28T16:10:01.088Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-07-28T16:10:04.519Z] Removing intermediate container c43b7e43f783 [2021-07-28T16:10:04.519Z] ---> e9edcd60cde4 [2021-07-28T16:10:04.519Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-07-28T16:10:04.519Z] ---> Running in 2f2e68c51cba [2021-07-28T16:10:06.509Z] Removing intermediate container 2f2e68c51cba [2021-07-28T16:10:06.509Z] ---> 642e295f3039 [2021-07-28T16:10:06.509Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-07-28T16:10:07.503Z] ---> 2dae8cba6ece [2021-07-28T16:10:07.503Z] Step 10/25 : COPY src /tmp/sdk/src [2021-07-28T16:10:08.961Z] ---> 3836befeb32e [2021-07-28T16:10:08.961Z] Step 11/25 : COPY include /tmp/sdk/include [2021-07-28T16:10:09.566Z] ---> 7ca74acb0244 [2021-07-28T16:10:09.566Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-07-28T16:10:10.550Z] ---> e5df650b7e1f [2021-07-28T16:10:10.550Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-07-28T16:10:11.542Z] ---> 051042416739 [2021-07-28T16:10:11.542Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-07-28T16:10:12.537Z] ---> bafd2e8a004f [2021-07-28T16:10:12.537Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-07-28T16:10:12.537Z] ---> Running in b5d7531259da [2021-07-28T16:10:14.033Z] + CPPCHECK=false [2021-07-28T16:10:14.033Z] + DOCGEN=false [2021-07-28T16:10:14.033Z] + TOMLVER=SDK-0.2 [2021-07-28T16:10:14.033Z] + CUTILVER=1.1.4 [2021-07-28T16:10:14.033Z] + '[' 0 -gt 0 ] [2021-07-28T16:10:14.033Z] + readlink -f ./scripts/build.sh [2021-07-28T16:10:14.033Z] + dirname /tmp/sdk/scripts/build.sh [2021-07-28T16:10:14.033Z] + dirname /tmp/sdk/scripts [2021-07-28T16:10:14.033Z] + ROOT=/tmp/sdk [2021-07-28T16:10:14.033Z] + cd /tmp/sdk [2021-07-28T16:10:14.033Z] + '[' '!' -d deps ] [2021-07-28T16:10:14.033Z] + mkdir deps [2021-07-28T16:10:14.033Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-28T16:10:14.033Z] + tar -C deps -z -x -f - [2021-07-28T16:10:14.033Z] --2021-07-28 16:10:13-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-28T16:10:14.033Z] Resolving github.com (github.com)... 140.82.113.4 [2021-07-28T16:10:14.033Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-07-28T16:10:14.033Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T16:10:14.033Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-07-28T16:10:14.033Z] --2021-07-28 16:10:13-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-07-28T16:10:14.033Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-07-28T16:10:14.033Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-07-28T16:10:14.309Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T16:10:14.309Z] Length: unspecified [application/x-gzip] [2021-07-28T16:10:14.309Z] Saving to: 'STDOUT' [2021-07-28T16:10:14.309Z]  [2021-07-28T16:10:14.309Z] 0K .......... ......  1.02M=0.02s [2021-07-28T16:10:14.309Z] [2021-07-28T16:10:14.309Z] 2021-07-28 16:10:14 (1.02 MB/s) - written to stdout [16451] [2021-07-28T16:10:14.309Z] [2021-07-28T16:10:14.309Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-07-28T16:10:14.309Z] + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -z [2021-07-28T16:10:14.309Z] -x -f - [2021-07-28T16:10:14.309Z] --2021-07-28 16:10:14-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-28T16:10:14.309Z] Resolving github.com (github.com)... 140.82.113.4 [2021-07-28T16:10:14.309Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-07-28T16:10:14.586Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T16:10:14.586Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-07-28T16:10:14.586Z] --2021-07-28 16:10:14-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-07-28T16:10:14.586Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-07-28T16:10:14.586Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-07-28T16:10:14.586Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T16:10:14.586Z] Length: unspecified [application/x-gzip] [2021-07-28T16:10:14.586Z] Saving to: 'STDOUT' [2021-07-28T16:10:14.586Z]  [2021-07-28T16:10:14.586Z] 0K .......... .......... .......... .......... .......... 1.32M [2021-07-28T16:10:14.864Z] 50K .......... .......... .......... .......... .......... 1023K [2021-07-28T16:10:14.864Z] 100K .......... .......... .......... .......... .......... 1.37M [2021-07-28T16:10:14.864Z] 150K .......... .......... ....... 1.55M=0.1s [2021-07-28T16:10:14.864Z] [2021-07-28T16:10:14.864Z] 2021-07-28 16:10:14 (1.25 MB/s) - written to stdout [181796] [2021-07-28T16:10:14.864Z] [2021-07-28T16:10:14.864Z] + mkdir -p src/c/iot [2021-07-28T16:10:14.864Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-07-28T16:10:14.864Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-07-28T16:10:14.864Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-07-28T16:10:14.864Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-07-28T16:10:14.864Z] + mkdir -p include/iot [2021-07-28T16:10:14.864Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-07-28T16:10:14.864Z] + mkdir -p include/iot/os [2021-07-28T16:10:14.864Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-07-28T16:10:14.864Z] + mkdir -p /tmp/sdk/build/release [2021-07-28T16:10:14.864Z] + cd /tmp/sdk/build/release [2021-07-28T16:10:14.864Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-07-28T16:10:15.137Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T16:10:15.413Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T16:10:15.717Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T16:10:15.717Z] -- Detecting C compiler ABI info [2021-07-28T16:10:15.993Z] -- Detecting C compiler ABI info - done [2021-07-28T16:10:15.993Z] -- Detecting C compile features [2021-07-28T16:10:15.993Z] -- Detecting C compile features - done [2021-07-28T16:10:15.993Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-28T16:10:16.268Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-28T16:10:16.268Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-28T16:10:16.268Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-28T16:10:16.268Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-28T16:10:16.268Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-28T16:10:16.268Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-28T16:10:16.268Z] -- C SDK 0.0.0 for Linux [2021-07-28T16:10:16.268Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-28T16:10:16.543Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-28T16:10:16.820Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-28T16:10:17.095Z] -- Configuring done [2021-07-28T16:10:17.374Z] -- Generating done [2021-07-28T16:10:17.374Z] -- Build files have been written to: /tmp/sdk/build/release [2021-07-28T16:10:17.374Z] + make all package [2021-07-28T16:10:17.374Z] + tee release.log [2021-07-28T16:10:17.374Z] Scanning dependencies of target csdk [2021-07-28T16:10:17.651Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-28T16:10:18.240Z] Running on prd-centos7-docker-4c-2g-373 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws [2021-07-28T16:10:18.261Z] Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout [2021-07-28T16:10:18.395Z] Selected Git installation does not exist. Using Default [2021-07-28T16:10:18.396Z] The recommended git tool is: NONE [2021-07-28T16:10:18.634Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-28T16:10:19.233Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-28T16:10:21.605Z] using credential edgex-jenkins-ssh [2021-07-28T16:10:21.620Z] Cloning the remote Git repository [2021-07-28T16:10:21.409Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T16:10:21.485Z] > git init /w/workspace/device-sdk-c/4 # timeout=10 [2021-07-28T16:10:21.525Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T16:10:21.525Z] > git --version # timeout=10 [2021-07-28T16:10:21.535Z] > git --version # 'git version 2.24.4' [2021-07-28T16:10:21.536Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T16:10:21.568Z] [INFO] Currently running in a labeled security context [2021-07-28T16:10:21.568Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-28T16:10:21.568Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/4@tmp/jenkins-gitclient-ssh107207583673878848.key [2021-07-28T16:10:22.646Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-28T16:10:21.581Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-28T16:10:22.471Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-28T16:10:22.478Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-28T16:10:22.493Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-28T16:10:22.508Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T16:10:22.508Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T16:10:22.509Z] [INFO] Currently running in a labeled security context [2021-07-28T16:10:22.509Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-28T16:10:22.509Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/4@tmp/jenkins-gitclient-ssh960540049999766504.key [2021-07-28T16:10:22.519Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-28T16:10:22.922Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-28T16:10:23.199Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-28T16:10:23.207Z] Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit 3025ff941fea1dc6e6a28e228f43da5c6c26a4e6 [2021-07-28T16:10:23.311Z] Merge succeeded, producing d6172f51d6ba2c74d7fbfdef490329ded0c747ad [2021-07-28T16:10:23.312Z] Checking out Revision d6172f51d6ba2c74d7fbfdef490329ded0c747ad (PR-357) [2021-07-28T16:10:23.104Z] > git config core.sparsecheckout # timeout=10 [2021-07-28T16:10:23.110Z] > git checkout -f 3025ff941fea1dc6e6a28e228f43da5c6c26a4e6 # timeout=10 [2021-07-28T16:10:23.154Z] > git remote # timeout=10 [2021-07-28T16:10:23.160Z] > git config --get remote.origin.url # timeout=10 [2021-07-28T16:10:23.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T16:10:23.169Z] [INFO] Currently running in a labeled security context [2021-07-28T16:10:23.169Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-28T16:10:23.169Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/4@tmp/jenkins-gitclient-ssh193245260712161380.key [2021-07-28T16:10:23.174Z] > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 [2021-07-28T16:10:23.199Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-28T16:10:23.211Z] > git config core.sparsecheckout # timeout=10 [2021-07-28T16:10:23.215Z] > git checkout -f d6172f51d6ba2c74d7fbfdef490329ded0c747ad # timeout=10 [2021-07-28T16:10:24.182Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-28T16:10:24.455Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-28T16:10:24.727Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-28T16:10:26.162Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-28T16:10:27.158Z] Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" [2021-07-28T16:10:27.170Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-28T16:10:27.500Z] provisioning config files... [2021-07-28T16:10:27.536Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config6641112024737217013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:10:27.159Z] > git rev-list --no-walk dc3ff0f1699aa99a52bfb21f6f08698a555aa4ee # timeout=10 [2021-07-28T16:10:27.993Z] ---> docker-login.sh [2021-07-28T16:10:27.993Z] nexus3.edgexfoundry.org:10001 [2021-07-28T16:10:27.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:10:28.138Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-28T16:10:28.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:10:28.262Z] Configure a credential helper to remove this warning. See [2021-07-28T16:10:28.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:10:28.262Z] [2021-07-28T16:10:28.262Z] Login Succeeded [2021-07-28T16:10:28.262Z] nexus3.edgexfoundry.org:10002 [2021-07-28T16:10:28.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:10:28.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:10:28.262Z] Configure a credential helper to remove this warning. See [2021-07-28T16:10:28.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:10:28.262Z] [2021-07-28T16:10:28.262Z] Login Succeeded [2021-07-28T16:10:28.262Z] nexus3.edgexfoundry.org:10003 [2021-07-28T16:10:28.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:10:28.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:10:28.531Z] Configure a credential helper to remove this warning. See [2021-07-28T16:10:28.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:10:28.531Z] [2021-07-28T16:10:28.531Z] Login Succeeded [2021-07-28T16:10:28.531Z] nexus3.edgexfoundry.org:10004 [2021-07-28T16:10:28.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:10:28.736Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-28T16:10:28.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:10:28.797Z] Configure a credential helper to remove this warning. See [2021-07-28T16:10:28.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:10:28.797Z] [2021-07-28T16:10:28.797Z] Login Succeeded [2021-07-28T16:10:28.797Z] docker.io [2021-07-28T16:10:28.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T16:10:29.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T16:10:29.067Z] Configure a credential helper to remove this warning. See [2021-07-28T16:10:29.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T16:10:29.067Z] [2021-07-28T16:10:29.067Z] Login Succeeded [2021-07-28T16:10:29.067Z] ---> docker-login.sh ends [Pipeline] } [2021-07-28T16:10:29.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-28T16:10:29.321Z] ========================================================= [2021-07-28T16:10:29.321Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-07-28T16:10:29.321Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:10:29.654Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2021-07-28T16:10:29.654Z] Sending build context to Docker daemon 2.691MB [2021-07-28T16:10:29.654Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-07-28T16:10:29.654Z] Step 2/25 : FROM ${BASE} as builder [2021-07-28T16:10:29.654Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-07-28T16:10:29.654Z] 339de151aab4: Pulling fs layer [2021-07-28T16:10:29.654Z] 3691962f683c: Pulling fs layer [2021-07-28T16:10:29.654Z] e1147bf81a45: Pulling fs layer [2021-07-28T16:10:29.724Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-28T16:10:29.927Z] 3691962f683c: Verifying Checksum [2021-07-28T16:10:29.928Z] 3691962f683c: Download complete [2021-07-28T16:10:29.928Z] 339de151aab4: Verifying Checksum [2021-07-28T16:10:29.928Z] 339de151aab4: Download complete [2021-07-28T16:10:30.194Z] 339de151aab4: Pull complete [2021-07-28T16:10:30.194Z] 3691962f683c: Pull complete [2021-07-28T16:10:30.324Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-28T16:10:30.931Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-28T16:10:31.209Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-28T16:10:31.483Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-28T16:10:35.798Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-28T16:10:36.073Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-28T16:10:36.351Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-28T16:10:36.850Z] e1147bf81a45: Verifying Checksum [2021-07-28T16:10:36.851Z] e1147bf81a45: Download complete [2021-07-28T16:10:36.949Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-28T16:10:37.549Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-28T16:10:38.533Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-28T16:10:38.837Z] e1147bf81a45: Pull complete [2021-07-28T16:10:38.837Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-07-28T16:10:38.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-07-28T16:10:38.837Z] ---> ac6a0feb3254 [2021-07-28T16:10:38.837Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-07-28T16:10:39.430Z] ---> Running in 0b65139ee9cb [2021-07-28T16:10:39.701Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-07-28T16:10:40.291Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T16:10:40.291Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-28T16:10:40.291Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-28T16:10:40.291Z] Removing intermediate container 0b65139ee9cb [2021-07-28T16:10:40.291Z] ---> 8ae9989d6b9e [2021-07-28T16:10:40.292Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T16:10:40.568Z] ---> Running in 7ba520eaa3c1 [2021-07-28T16:10:40.837Z] Removing intermediate container 7ba520eaa3c1 [2021-07-28T16:10:40.837Z] ---> 6066dbcc0419 [2021-07-28T16:10:40.838Z] Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev [2021-07-28T16:10:40.838Z] ---> Running in 4c7a0ad2ce7b [2021-07-28T16:10:41.108Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-28T16:10:41.692Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-28T16:10:42.664Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-28T16:10:42.848Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-28T16:10:42.848Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-28T16:10:42.848Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-28T16:10:43.257Z] (1/22) Installing hiredis (0.14.1-r0) [2021-07-28T16:10:43.257Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-07-28T16:10:43.842Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-28T16:10:44.055Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-28T16:10:44.055Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-28T16:10:44.832Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-28T16:10:44.832Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-28T16:10:45.469Z] (5/22) Installing libblkid (2.35.2-r0) [2021-07-28T16:10:45.469Z] (6/22) Installing blkid (2.35.2-r0) [2021-07-28T16:10:45.737Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-07-28T16:10:45.737Z] (8/22) Installing setpriv (2.35.2-r0) [2021-07-28T16:10:46.004Z] (9/22) Installing libmount (2.35.2-r0) [2021-07-28T16:10:46.592Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-07-28T16:10:46.808Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-28T16:10:46.858Z] (11/22) Installing findmnt (2.35.2-r0) [2021-07-28T16:10:47.084Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-28T16:10:47.126Z] (12/22) Installing mcookie (2.35.2-r0) [2021-07-28T16:10:47.126Z] (13/22) Installing hexdump (2.35.2-r0) [2021-07-28T16:10:47.126Z] (14/22) Installing lsblk (2.35.2-r0) [2021-07-28T16:10:47.398Z] (15/22) Installing libuuid (2.35.2-r0) [2021-07-28T16:10:47.398Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-07-28T16:10:48.070Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-28T16:10:48.344Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-28T16:10:48.368Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-07-28T16:10:48.638Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-07-28T16:10:48.910Z] (19/22) Installing util-linux (2.35.2-r0) [2021-07-28T16:10:51.745Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-28T16:10:52.020Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-28T16:10:53.194Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-07-28T16:10:53.480Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-28T16:10:53.759Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-28T16:10:56.751Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-07-28T16:10:56.752Z] (22/22) Installing wget (1.20.3-r1) [2021-07-28T16:10:57.364Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T16:10:57.364Z] OK: 295 MiB in 97 packages [2021-07-28T16:10:57.973Z] Removing intermediate container 4c7a0ad2ce7b [2021-07-28T16:10:57.973Z] ---> 72febb678073 [2021-07-28T16:10:57.973Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-07-28T16:10:57.973Z] ---> Running in b820d3aaa6b3 [2021-07-28T16:10:57.973Z] Removing intermediate container b820d3aaa6b3 [2021-07-28T16:10:57.973Z] ---> 8ffe49aec976 [2021-07-28T16:10:57.973Z] Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-07-28T16:10:57.973Z] ---> Running in 90b3d43a07f8 [2021-07-28T16:10:58.257Z] --2021-07-28 16:10:58-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-07-28T16:10:58.257Z] Resolving github.com (github.com)... 140.82.112.4 [2021-07-28T16:10:58.257Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-07-28T16:10:58.257Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T16:10:58.257Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-07-28T16:10:58.257Z] --2021-07-28 16:10:58-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-07-28T16:10:58.257Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-07-28T16:10:58.257Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-07-28T16:10:58.540Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T16:10:58.540Z] Length: unspecified [application/x-gzip] [2021-07-28T16:10:58.540Z] Saving to: 'STDOUT' [2021-07-28T16:10:58.540Z] [2021-07-28T16:10:58.540Z] 0K .......... .......... .......... .......... .......... 1.37M [2021-07-28T16:10:58.540Z] 50K .......... .......... .......... .......... .......... 2.90M [2021-07-28T16:10:58.540Z] 100K .......... .......... .......... .......... .......... 21.2M [2021-07-28T16:10:58.540Z] 150K .......... .......... .......... .......... .......... 1.98M [2021-07-28T16:10:58.540Z] 200K .......... .......... .......... .......... .......... 19.6M [2021-07-28T16:10:58.540Z] 250K .......... .......... .......... .......... .......... 6.75M [2021-07-28T16:10:58.540Z] 300K .......... .......... .......... .......... .......... 9.52M [2021-07-28T16:10:58.540Z] 350K .......... .......... .......... .......... .......... 9.61M [2021-07-28T16:10:58.540Z] 400K .......... .......... .......... .......... .......... 9.93M [2021-07-28T16:10:58.540Z] 450K .......... .......... .......... .......... .......... 12.8M [2021-07-28T16:10:58.540Z] 500K .......... .......... .......... .......... .......... 24.7M [2021-07-28T16:10:58.540Z] 550K .......... .......... .......... .......... .......... 5.27M [2021-07-28T16:10:58.540Z] 600K .......... .......... .......... .......... .......... 5.30M [2021-07-28T16:10:58.540Z] 650K .......... .......... .......... .......... .......... 6.58M [2021-07-28T16:10:58.540Z] 700K .. 96.3M=0.1s [2021-07-28T16:10:58.540Z] [2021-07-28T16:10:58.540Z] 2021-07-28 16:10:58 (5.05 MB/s) - written to stdout [719348] [2021-07-28T16:10:58.540Z] [2021-07-28T16:10:58.817Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T16:10:58.817Z] -- The CXX compiler identification is GNU 9.3.0 [2021-07-28T16:10:58.817Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T16:10:58.817Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T16:10:58.817Z] -- Detecting C compiler ABI info [2021-07-28T16:10:58.817Z] -- Detecting C compiler ABI info - done [2021-07-28T16:10:58.817Z] -- Detecting C compile features [2021-07-28T16:10:58.817Z] -- Detecting C compile features - done [2021-07-28T16:10:58.817Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-07-28T16:10:59.099Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-07-28T16:10:59.099Z] -- Detecting CXX compiler ABI info [2021-07-28T16:10:59.099Z] -- Detecting CXX compiler ABI info - done [2021-07-28T16:10:59.099Z] -- Detecting CXX compile features [2021-07-28T16:10:59.099Z] -- Detecting CXX compile features - done [2021-07-28T16:10:59.099Z] -- Looking for include file endian.h [2021-07-28T16:10:59.099Z] -- Looking for include file endian.h - found [2021-07-28T16:10:59.099Z] -- Check if the system is big endian [2021-07-28T16:10:59.099Z] -- Searching 16 bit integer [2021-07-28T16:10:59.099Z] -- Looking for sys/types.h [2021-07-28T16:10:59.099Z] -- Looking for sys/types.h - found [2021-07-28T16:10:59.099Z] -- Looking for stdint.h [2021-07-28T16:10:59.386Z] -- Looking for stdint.h - found [2021-07-28T16:10:59.386Z] -- Looking for stddef.h [2021-07-28T16:10:59.386Z] -- Looking for stddef.h - found [2021-07-28T16:10:59.386Z] -- Check size of unsigned short [2021-07-28T16:10:59.386Z] -- Check size of unsigned short - done [2021-07-28T16:10:59.386Z] -- Searching 16 bit integer - Using unsigned short [2021-07-28T16:10:59.386Z] -- Check if the system is big endian - little endian [2021-07-28T16:10:59.386Z] -- Check size of size_t [2021-07-28T16:10:59.664Z] -- Check size of size_t - done [2021-07-28T16:10:59.664Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-07-28T16:10:59.664Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-07-28T16:10:59.664Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-07-28T16:10:59.664Z] CMake did not find one. [2021-07-28T16:10:59.664Z] [2021-07-28T16:10:59.664Z] Could not find a package configuration file provided by "cJSON" with any of [2021-07-28T16:10:59.664Z] the following names: [2021-07-28T16:10:59.664Z] [2021-07-28T16:10:59.664Z] cJSONConfig.cmake [2021-07-28T16:10:59.664Z] cjson-config.cmake [2021-07-28T16:10:59.664Z] [2021-07-28T16:10:59.664Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-07-28T16:10:59.664Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-07-28T16:10:59.664Z] provides a separate development package or SDK, be sure it has been [2021-07-28T16:10:59.664Z] installed. [2021-07-28T16:10:59.664Z] [2021-07-28T16:10:59.664Z] [2021-07-28T16:10:59.664Z] -- Configuring done [2021-07-28T16:10:59.664Z] -- Generating done [2021-07-28T16:10:59.664Z] -- Build files have been written to: /tmp/cbor [2021-07-28T16:10:59.664Z] Scanning dependencies of target cbor_shared [2021-07-28T16:10:59.664Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-07-28T16:10:59.664Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-07-28T16:10:59.941Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-07-28T16:10:59.941Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-07-28T16:10:59.941Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-07-28T16:11:00.219Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-07-28T16:11:00.219Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-07-28T16:11:00.219Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-07-28T16:11:00.219Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-07-28T16:11:00.219Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-07-28T16:11:00.488Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-28T16:11:00.493Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-07-28T16:11:00.493Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-07-28T16:11:00.493Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-07-28T16:11:00.762Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-28T16:11:00.767Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-07-28T16:11:00.767Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-07-28T16:11:00.767Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-07-28T16:11:00.767Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-07-28T16:11:00.767Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-07-28T16:11:01.043Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-07-28T16:11:01.043Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-07-28T16:11:01.043Z] [ 40%] Linking C shared library libcbor.so [2021-07-28T16:11:01.043Z] [ 40%] Built target cbor_shared [2021-07-28T16:11:01.043Z] Scanning dependencies of target cbor [2021-07-28T16:11:01.043Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-07-28T16:11:01.322Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-07-28T16:11:01.322Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-07-28T16:11:01.322Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-07-28T16:11:01.745Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-28T16:11:01.935Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-07-28T16:11:01.935Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-07-28T16:11:01.935Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-07-28T16:11:01.935Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-07-28T16:11:01.935Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-07-28T16:11:01.935Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-07-28T16:11:02.218Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-07-28T16:11:02.218Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-07-28T16:11:02.344Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-28T16:11:02.491Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-07-28T16:11:02.491Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-07-28T16:11:02.491Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-07-28T16:11:02.491Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-07-28T16:11:02.774Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-07-28T16:11:02.774Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-07-28T16:11:02.774Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-07-28T16:11:02.774Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-07-28T16:11:02.774Z] [ 80%] Linking C static library libcbor.a [2021-07-28T16:11:02.774Z] [ 80%] Built target cbor [2021-07-28T16:11:02.774Z] Scanning dependencies of target sort [2021-07-28T16:11:02.774Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-07-28T16:11:03.053Z] [ 84%] Linking C executable sort [2021-07-28T16:11:03.053Z] [ 84%] Built target sort [2021-07-28T16:11:03.053Z] Scanning dependencies of target readfile [2021-07-28T16:11:03.053Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-07-28T16:11:03.053Z] [ 88%] Linking C executable readfile [2021-07-28T16:11:03.053Z] [ 88%] Built target readfile [2021-07-28T16:11:03.053Z] Scanning dependencies of target streaming_parser [2021-07-28T16:11:03.053Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-07-28T16:11:03.053Z] [ 92%] Linking C executable streaming_parser [2021-07-28T16:11:03.053Z] [ 92%] Built target streaming_parser [2021-07-28T16:11:03.053Z] Scanning dependencies of target hello [2021-07-28T16:11:03.053Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-07-28T16:11:03.339Z] [ 96%] Linking C executable hello [2021-07-28T16:11:03.339Z] [ 96%] Built target hello [2021-07-28T16:11:03.339Z] Scanning dependencies of target create_items [2021-07-28T16:11:03.339Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-07-28T16:11:03.339Z] [100%] Linking C executable create_items [2021-07-28T16:11:03.339Z] [100%] Built target create_items [2021-07-28T16:11:03.339Z] Install the project... [2021-07-28T16:11:03.339Z] -- Install configuration: "Release" [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/lib64/libcbor.a [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/lib64/libcbor.so [2021-07-28T16:11:03.339Z] -- Up-to-date: /usr/local/include/cbor [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/common.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/data.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/internal [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/ints.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/maps.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/strings.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor/tags.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/include/cbor.h [2021-07-28T16:11:03.339Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-07-28T16:11:03.783Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-28T16:11:03.945Z] Removing intermediate container 90b3d43a07f8 [2021-07-28T16:11:03.945Z] ---> 6174836334b2 [2021-07-28T16:11:03.945Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-07-28T16:11:03.945Z] ---> Running in aeca1a845a72 [2021-07-28T16:11:04.226Z] Removing intermediate container aeca1a845a72 [2021-07-28T16:11:04.226Z] ---> d1bb169c9f43 [2021-07-28T16:11:04.226Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-07-28T16:11:04.500Z] ---> 53bc8ea17369 [2021-07-28T16:11:04.500Z] Step 10/25 : COPY src /tmp/sdk/src [2021-07-28T16:11:04.776Z] ---> 1bcfd894152e [2021-07-28T16:11:04.776Z] Step 11/25 : COPY include /tmp/sdk/include [2021-07-28T16:11:04.777Z] ---> f3272af809dc [2021-07-28T16:11:04.777Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-07-28T16:11:05.060Z] ---> b46ba03888bf [2021-07-28T16:11:05.060Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-07-28T16:11:05.060Z] ---> 4256072a1966 [2021-07-28T16:11:05.060Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-07-28T16:11:05.340Z] ---> b3bee013bd17 [2021-07-28T16:11:05.340Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-07-28T16:11:05.340Z] ---> Running in 5b889049e56d [2021-07-28T16:11:05.621Z] + CPPCHECK=false [2021-07-28T16:11:05.621Z] + DOCGEN=false [2021-07-28T16:11:05.621Z] + TOMLVER=SDK-0.2 [2021-07-28T16:11:05.621Z] + CUTILVER=1.1.4 [2021-07-28T16:11:05.621Z] + '[' 0 -gt 0 ] [2021-07-28T16:11:05.621Z] + readlink -f ./scripts/build.sh [2021-07-28T16:11:05.621Z] + dirname /tmp/sdk/scripts/build.sh [2021-07-28T16:11:05.621Z] + dirname /tmp/sdk/scripts [2021-07-28T16:11:05.621Z] + ROOT=/tmp/sdk [2021-07-28T16:11:05.621Z] + cd /tmp/sdk [2021-07-28T16:11:05.621Z] + '[' '!' -d deps ] [2021-07-28T16:11:05.621Z] + mkdir deps [2021-07-28T16:11:05.621Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-28T16:11:05.621Z] + tar -C deps -z -x -f - [2021-07-28T16:11:05.621Z] --2021-07-28 16:11:05-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-28T16:11:06.442Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-28T16:11:06.998Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-28T16:11:07.612Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-28T16:11:07.889Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-28T16:11:08.267Z] Resolving github.com (github.com)... 140.82.114.4 [2021-07-28T16:11:08.267Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-07-28T16:11:08.267Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T16:11:08.267Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-07-28T16:11:08.267Z] --2021-07-28 16:11:08-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-07-28T16:11:08.267Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-07-28T16:11:08.267Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-07-28T16:11:08.267Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T16:11:08.267Z] Length: unspecified [application/x-gzip] [2021-07-28T16:11:08.267Z] Saving to: 'STDOUT' [2021-07-28T16:11:08.267Z]  [2021-07-28T16:11:08.267Z] 0K .......... ...... 942K=0.02s [2021-07-28T16:11:08.267Z] [2021-07-28T16:11:08.267Z] 2021-07-28 16:11:08 (942 KB/s) - written to stdout [16451] [2021-07-28T16:11:08.267Z] [2021-07-28T16:11:08.267Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-07-28T16:11:08.267Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-28T16:11:08.267Z] + tar -C deps -z -x -f - [2021-07-28T16:11:08.267Z] --2021-07-28 16:11:08-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-28T16:11:08.267Z] Resolving github.com (github.com)... 140.82.114.4 [2021-07-28T16:11:08.267Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-07-28T16:11:08.546Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T16:11:08.546Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-07-28T16:11:08.546Z] --2021-07-28 16:11:08-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-07-28T16:11:08.546Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-07-28T16:11:08.546Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-07-28T16:11:08.546Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T16:11:08.546Z] Length: unspecified [application/x-gzip] [2021-07-28T16:11:08.546Z] Saving to: 'STDOUT' [2021-07-28T16:11:08.546Z] [2021-07-28T16:11:08.546Z] 0K .......... .......... .......... .......... .......... 1.31M [2021-07-28T16:11:08.546Z] 50K .......... .......... .......... .......... .......... 3.77M [2021-07-28T16:11:08.546Z] 100K .......... .......... .......... .......... .......... 7.35M [2021-07-28T16:11:08.821Z] 150K .......... .......... ....... 1.54M=0.07s [2021-07-28T16:11:08.821Z] [2021-07-28T16:11:08.821Z] 2021-07-28 16:11:08 (2.33 MB/s) - written to stdout [181796] [2021-07-28T16:11:08.821Z] [2021-07-28T16:11:08.821Z] + mkdir -p src/c/iot [2021-07-28T16:11:08.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-07-28T16:11:08.821Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-07-28T16:11:08.821Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-07-28T16:11:08.821Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-07-28T16:11:08.821Z] + mkdir -p include/iot [2021-07-28T16:11:08.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-07-28T16:11:08.821Z] + mkdir -p include/iot/os [2021-07-28T16:11:08.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-07-28T16:11:08.821Z] + mkdir -p /tmp/sdk/build/release [2021-07-28T16:11:08.821Z] + cd /tmp/sdk/build/release [2021-07-28T16:11:08.821Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-07-28T16:11:08.821Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T16:11:08.821Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T16:11:08.821Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T16:11:08.821Z] -- Detecting C compiler ABI info [2021-07-28T16:11:08.821Z] -- Detecting C compiler ABI info - done [2021-07-28T16:11:08.821Z] -- Detecting C compile features [2021-07-28T16:11:08.821Z] -- Detecting C compile features - done [2021-07-28T16:11:08.821Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-28T16:11:08.821Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-28T16:11:08.821Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-28T16:11:08.821Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-28T16:11:08.821Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-28T16:11:08.821Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-28T16:11:08.821Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-28T16:11:08.821Z] -- C SDK 0.0.0 for Linux [2021-07-28T16:11:08.821Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-28T16:11:09.109Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-28T16:11:09.109Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-28T16:11:09.109Z] -- Configuring done [2021-07-28T16:11:09.109Z] -- Generating done [2021-07-28T16:11:09.109Z] -- Build files have been written to: /tmp/sdk/build/release [2021-07-28T16:11:09.109Z] + make all package [2021-07-28T16:11:09.109Z] + tee release.log [2021-07-28T16:11:09.109Z] Scanning dependencies of target csdk [2021-07-28T16:11:09.109Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-28T16:11:09.394Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-28T16:11:09.394Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-28T16:11:09.669Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-28T16:11:09.946Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-28T16:11:09.946Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-28T16:11:09.946Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-28T16:11:09.946Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-28T16:11:10.225Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-28T16:11:10.225Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-28T16:11:10.502Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-28T16:11:10.778Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-28T16:11:10.778Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-28T16:11:11.054Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-28T16:11:11.054Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-28T16:11:11.054Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-28T16:11:11.055Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-28T16:11:11.293Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-28T16:11:11.657Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-28T16:11:11.657Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-28T16:11:11.657Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-28T16:11:11.929Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-28T16:11:11.929Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-28T16:11:11.929Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-28T16:11:12.537Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-28T16:11:12.537Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-28T16:11:12.537Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-28T16:11:12.820Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-28T16:11:12.820Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-28T16:11:12.820Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-28T16:11:13.099Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-28T16:11:13.099Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-28T16:11:13.099Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-28T16:11:13.099Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-28T16:11:13.707Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-28T16:11:13.707Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-28T16:11:13.707Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-28T16:11:13.983Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-28T16:11:14.588Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-28T16:11:14.883Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-28T16:11:14.883Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-28T16:11:14.883Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-28T16:11:15.170Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-28T16:11:15.454Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-28T16:11:15.454Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-28T16:11:15.454Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-28T16:11:15.454Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-28T16:11:15.618Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-28T16:11:16.060Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-28T16:11:16.216Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-28T16:11:16.671Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-28T16:11:16.671Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-28T16:11:16.671Z] [ 75%] Linking C shared library libcsdk.so [2021-07-28T16:11:16.817Z] [ 75%] Linking C shared library libcsdk.so [2021-07-28T16:11:16.817Z] [ 75%] Built target csdk [2021-07-28T16:11:16.817Z] Scanning dependencies of target template [2021-07-28T16:11:16.817Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-28T16:11:16.953Z] [ 75%] Built target csdk [2021-07-28T16:11:16.953Z] Scanning dependencies of target template [2021-07-28T16:11:16.953Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-28T16:11:16.953Z] [ 78%] Linking C executable template [2021-07-28T16:11:16.953Z] [ 78%] Built target template [2021-07-28T16:11:16.953Z] Scanning dependencies of target device-counter [2021-07-28T16:11:16.953Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-28T16:11:17.236Z] [ 81%] Linking C executable device-counter [2021-07-28T16:11:17.236Z] [ 81%] Built target device-counter [2021-07-28T16:11:17.236Z] Scanning dependencies of target device-random [2021-07-28T16:11:17.236Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-28T16:11:17.236Z] [ 84%] Linking C executable device-random [2021-07-28T16:11:17.517Z] [ 84%] Built target device-random [2021-07-28T16:11:17.517Z] Scanning dependencies of target device-gyro [2021-07-28T16:11:17.517Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-28T16:11:17.517Z] [ 87%] Linking C executable device-gyro [2021-07-28T16:11:17.517Z] [ 87%] Built target device-gyro [2021-07-28T16:11:17.517Z] Scanning dependencies of target device-bitfields [2021-07-28T16:11:17.517Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-28T16:11:17.798Z] [ 90%] Linking C executable device-bitfields [2021-07-28T16:11:17.798Z] [ 90%] Built target device-bitfields [2021-07-28T16:11:17.798Z] Scanning dependencies of target template-discovery [2021-07-28T16:11:17.798Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-28T16:11:17.798Z] [ 93%] Linking C executable template-discovery [2021-07-28T16:11:17.798Z] [ 93%] Built target template-discovery [2021-07-28T16:11:17.798Z] Scanning dependencies of target device-file [2021-07-28T16:11:17.798Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-28T16:11:17.801Z] [ 78%] Linking C executable template [2021-07-28T16:11:17.802Z] [ 78%] Built target template [2021-07-28T16:11:17.802Z] Scanning dependencies of target device-counter [2021-07-28T16:11:17.802Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-28T16:11:18.080Z] [ 96%] Linking C executable device-file [2021-07-28T16:11:18.080Z] [ 96%] Built target device-file [2021-07-28T16:11:18.080Z] Scanning dependencies of target device-terminal [2021-07-28T16:11:18.080Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-28T16:11:18.361Z] [100%] Linking C executable device-terminal [2021-07-28T16:11:18.361Z] [100%] Built target device-terminal [2021-07-28T16:11:18.361Z] Run CPack packaging tool... [2021-07-28T16:11:18.361Z] CPack: Create package using TGZ [2021-07-28T16:11:18.361Z] CPack: Install projects [2021-07-28T16:11:18.361Z] CPack: - Run preinstall target for: Csdk [2021-07-28T16:11:18.398Z] [ 81%] Linking C executable device-counter [2021-07-28T16:11:18.672Z] [ 81%] Built target device-counter [2021-07-28T16:11:18.672Z] Scanning dependencies of target device-random [2021-07-28T16:11:18.672Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-28T16:11:18.849Z] CPack: - Install project: Csdk [] [2021-07-28T16:11:18.849Z] CPack: Create package [2021-07-28T16:11:18.849Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-07-28T16:11:18.849Z] + '[' false '=' true ] [2021-07-28T16:11:18.849Z] + '[' false '=' true ] [2021-07-28T16:11:18.849Z] + mkdir -p /tmp/sdk/build/debug [2021-07-28T16:11:18.849Z] + cd /tmp/sdk/build/debug [2021-07-28T16:11:18.849Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-07-28T16:11:18.849Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T16:11:18.849Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T16:11:18.849Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T16:11:18.849Z] -- Detecting C compiler ABI info [2021-07-28T16:11:18.849Z] -- Detecting C compiler ABI info - done [2021-07-28T16:11:18.849Z] -- Detecting C compile features [2021-07-28T16:11:18.849Z] -- Detecting C compile features - done [2021-07-28T16:11:18.849Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-28T16:11:18.849Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-28T16:11:18.849Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-28T16:11:18.849Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-28T16:11:18.849Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-28T16:11:18.849Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-28T16:11:18.849Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-28T16:11:18.849Z] -- C SDK 0.0.0 for Linux [2021-07-28T16:11:18.849Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-28T16:11:18.849Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-28T16:11:19.127Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-28T16:11:19.127Z] -- Configuring done [2021-07-28T16:11:19.127Z] -- Generating done [2021-07-28T16:11:19.127Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-07-28T16:11:19.127Z] + make [2021-07-28T16:11:19.127Z] + tee debug.log [2021-07-28T16:11:19.127Z] Scanning dependencies of target csdk [2021-07-28T16:11:19.127Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-28T16:11:19.127Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-28T16:11:19.273Z] [ 84%] Linking C executable device-random [2021-07-28T16:11:19.407Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-28T16:11:19.407Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-28T16:11:19.407Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-28T16:11:19.407Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-28T16:11:19.693Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-28T16:11:19.693Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-28T16:11:19.693Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-28T16:11:19.693Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-28T16:11:19.874Z] [ 84%] Built target device-random [2021-07-28T16:11:19.874Z] Scanning dependencies of target device-gyro [2021-07-28T16:11:19.874Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-28T16:11:19.973Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-28T16:11:19.973Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-28T16:11:19.973Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-28T16:11:20.256Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-28T16:11:20.256Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-28T16:11:20.256Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-28T16:11:20.256Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-28T16:11:20.472Z] [ 87%] Linking C executable device-gyro [2021-07-28T16:11:20.536Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-28T16:11:20.536Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-28T16:11:20.536Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-28T16:11:20.536Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-28T16:11:20.749Z] [ 87%] Built target device-gyro [2021-07-28T16:11:20.749Z] Scanning dependencies of target device-bitfields [2021-07-28T16:11:20.749Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-28T16:11:20.816Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-28T16:11:20.816Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-28T16:11:20.816Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-28T16:11:21.091Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-28T16:11:21.091Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-28T16:11:21.091Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-28T16:11:21.091Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-28T16:11:21.091Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-28T16:11:21.353Z] [ 90%] Linking C executable device-bitfields [2021-07-28T16:11:21.369Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-28T16:11:21.369Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-28T16:11:21.369Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-28T16:11:21.369Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-28T16:11:21.629Z] [ 90%] Built target device-bitfields [2021-07-28T16:11:21.630Z] Scanning dependencies of target template-discovery [2021-07-28T16:11:21.630Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-28T16:11:21.646Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-28T16:11:21.646Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-28T16:11:21.646Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-28T16:11:21.646Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-28T16:11:21.927Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-28T16:11:21.927Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-28T16:11:22.202Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-28T16:11:22.202Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-28T16:11:22.203Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-28T16:11:22.481Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-28T16:11:22.481Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-28T16:11:22.481Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-28T16:11:22.481Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-28T16:11:22.615Z] [ 93%] Linking C executable template-discovery [2021-07-28T16:11:22.756Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-28T16:11:22.756Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-28T16:11:22.891Z] [ 93%] Built target template-discovery [2021-07-28T16:11:23.039Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-28T16:11:23.039Z] [ 75%] Linking C shared library libcsdk.so [2021-07-28T16:11:23.039Z] [ 75%] Built target csdk [2021-07-28T16:11:23.039Z] Scanning dependencies of target template [2021-07-28T16:11:23.039Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-28T16:11:23.039Z] [ 78%] Linking C executable template [2021-07-28T16:11:23.169Z] Scanning dependencies of target device-file [2021-07-28T16:11:23.169Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-28T16:11:23.524Z] [ 78%] Built target template [2021-07-28T16:11:23.524Z] Scanning dependencies of target device-counter [2021-07-28T16:11:23.524Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-28T16:11:23.524Z] [ 81%] Linking C executable device-counter [2021-07-28T16:11:23.524Z] [ 81%] Built target device-counter [2021-07-28T16:11:23.524Z] Scanning dependencies of target device-random [2021-07-28T16:11:23.524Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-28T16:11:23.524Z] [ 84%] Linking C executable device-random [2021-07-28T16:11:23.765Z] [ 96%] Linking C executable device-file [2021-07-28T16:11:23.804Z] [ 84%] Built target device-random [2021-07-28T16:11:23.804Z] Scanning dependencies of target device-gyro [2021-07-28T16:11:23.804Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-28T16:11:23.804Z] [ 87%] Linking C executable device-gyro [2021-07-28T16:11:23.804Z] [ 87%] Built target device-gyro [2021-07-28T16:11:23.804Z] Scanning dependencies of target device-bitfields [2021-07-28T16:11:23.804Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-28T16:11:23.804Z] [ 90%] Linking C executable device-bitfields [2021-07-28T16:11:23.804Z] [ 90%] Built target device-bitfields [2021-07-28T16:11:23.804Z] Scanning dependencies of target template-discovery [2021-07-28T16:11:23.804Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-28T16:11:23.804Z] [ 93%] Linking C executable template-discovery [2021-07-28T16:11:23.804Z] [ 93%] Built target template-discovery [2021-07-28T16:11:23.804Z] Scanning dependencies of target device-file [2021-07-28T16:11:23.804Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-28T16:11:24.040Z] [ 96%] Built target device-file [2021-07-28T16:11:24.040Z] Scanning dependencies of target device-terminal [2021-07-28T16:11:24.040Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-28T16:11:24.083Z] [ 96%] Linking C executable device-file [2021-07-28T16:11:24.083Z] [ 96%] Built target device-file [2021-07-28T16:11:24.083Z] Scanning dependencies of target device-terminal [2021-07-28T16:11:24.083Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-28T16:11:24.083Z] [100%] Linking C executable device-terminal [2021-07-28T16:11:24.083Z] [100%] Built target device-terminal [2021-07-28T16:11:24.083Z] make: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.083Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] [ 75%] Built target csdk [2021-07-28T16:11:24.355Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] [ 78%] Built target template [2021-07-28T16:11:24.355Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] [ 81%] Built target device-counter [2021-07-28T16:11:24.355Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] [ 84%] Built target device-random [2021-07-28T16:11:24.355Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] [ 87%] Built target device-gyro [2021-07-28T16:11:24.355Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] [ 90%] Built target device-bitfields [2021-07-28T16:11:24.355Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] [ 93%] Built target template-discovery [2021-07-28T16:11:24.355Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] [ 96%] Built target device-file [2021-07-28T16:11:24.355Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] [100%] Built target device-terminal [2021-07-28T16:11:24.355Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.355Z] Install the project... [2021-07-28T16:11:24.355Z] -- Install configuration: "Release" [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/lib/libcsdk.so [2021-07-28T16:11:24.355Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-07-28T16:11:24.355Z] -- Up-to-date: /usr/local/include [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/devsdk [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/edgex [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/edgex/devices.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/edgex/secrets.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/base64.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/component.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/config.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/container.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/data.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/hash.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/iot.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/json.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/logger.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/os.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/thread.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/time.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/typecode.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/os [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/include/iot/defs.h [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-07-28T16:11:24.355Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-07-28T16:11:24.355Z] make: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:24.638Z] [100%] Linking C executable device-terminal [2021-07-28T16:11:24.914Z] [100%] Built target device-terminal [2021-07-28T16:11:24.968Z] Removing intermediate container 5b889049e56d [2021-07-28T16:11:24.968Z] ---> f28a688c7b22 [2021-07-28T16:11:24.968Z] Step 16/25 : FROM ${BASE} [2021-07-28T16:11:24.968Z] ---> ac6a0feb3254 [2021-07-28T16:11:24.968Z] Step 17/25 : LABEL maintainer="IOTech " [2021-07-28T16:11:24.968Z] ---> Running in 27d0b96324e8 [2021-07-28T16:11:24.968Z] Removing intermediate container 27d0b96324e8 [2021-07-28T16:11:24.968Z] ---> 9b9c1ad167cc [2021-07-28T16:11:24.968Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-07-28T16:11:24.968Z] ---> Running in dfd686a19808 [2021-07-28T16:11:25.189Z] Run CPack packaging tool... [2021-07-28T16:11:25.189Z] CPack: Create package using TGZ [2021-07-28T16:11:25.189Z] CPack: Install projects [2021-07-28T16:11:25.189Z] CPack: - Run preinstall target for: Csdk [2021-07-28T16:11:25.258Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-07-28T16:11:25.792Z] CPack: - Install project: Csdk [] [2021-07-28T16:11:25.792Z] CPack: Create package [2021-07-28T16:11:25.792Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-07-28T16:11:25.792Z] + '[' false '=' true ] [2021-07-28T16:11:25.792Z] + '[' false '=' true ] [2021-07-28T16:11:25.792Z] + mkdir -p /tmp/sdk/build/debug [2021-07-28T16:11:25.792Z] + cd /tmp/sdk/build/debug [2021-07-28T16:11:25.792Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-07-28T16:11:25.885Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T16:11:25.885Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-28T16:11:25.885Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-28T16:11:25.885Z] Removing intermediate container dfd686a19808 [2021-07-28T16:11:25.885Z] ---> a14990b66b01 [2021-07-28T16:11:25.885Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T16:11:25.885Z] ---> Running in 57b268fa2d02 [2021-07-28T16:11:26.376Z] Removing intermediate container 57b268fa2d02 [2021-07-28T16:11:26.376Z] ---> e8760ea7d587 [2021-07-28T16:11:26.377Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev [2021-07-28T16:11:26.377Z] ---> Running in b15ca5658d34 [2021-07-28T16:11:26.392Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T16:11:26.392Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T16:11:26.658Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-28T16:11:26.668Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T16:11:26.668Z] -- Detecting C compiler ABI info [2021-07-28T16:11:26.946Z] -- Detecting C compiler ABI info - done [2021-07-28T16:11:26.946Z] -- Detecting C compile features [2021-07-28T16:11:26.946Z] -- Detecting C compile features - done [2021-07-28T16:11:26.946Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-28T16:11:27.223Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-28T16:11:27.223Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-28T16:11:27.223Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-28T16:11:27.223Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-28T16:11:27.223Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-28T16:11:27.223Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-28T16:11:27.223Z] -- C SDK 0.0.0 for Linux [2021-07-28T16:11:27.223Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-28T16:11:27.265Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-28T16:11:27.499Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-28T16:11:27.752Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-28T16:11:27.773Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-28T16:11:27.773Z] -- Configuring done [2021-07-28T16:11:28.046Z] -- Generating done [2021-07-28T16:11:28.046Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-07-28T16:11:28.046Z] + make [2021-07-28T16:11:28.046Z] + tee debug.log [2021-07-28T16:11:28.318Z] Scanning dependencies of target csdk [2021-07-28T16:11:28.318Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-28T16:11:28.352Z] (1/7) Installing curl (7.78.0-r0) [2021-07-28T16:11:28.353Z] (2/7) Installing hiredis (0.14.1-r0) [2021-07-28T16:11:28.632Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-07-28T16:11:28.909Z] (4/7) Installing libuuid (2.35.2-r0) [2021-07-28T16:11:28.909Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-28T16:11:28.920Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-28T16:11:29.195Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-28T16:11:29.791Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-28T16:11:30.386Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-28T16:11:30.386Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-28T16:11:30.982Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-28T16:11:31.254Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-28T16:11:31.526Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-28T16:11:31.801Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-28T16:11:32.778Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-28T16:11:33.050Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-28T16:11:33.248Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-07-28T16:11:33.248Z] (7/7) Installing wget (1.20.3-r1) [2021-07-28T16:11:33.248Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T16:11:33.248Z] OK: 286 MiB in 82 packages [2021-07-28T16:11:33.324Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-28T16:11:33.523Z] Removing intermediate container b15ca5658d34 [2021-07-28T16:11:33.523Z] ---> 2c83b0e1931c [2021-07-28T16:11:33.523Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-07-28T16:11:33.595Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-28T16:11:33.798Z] ---> 77c19283ca9d [2021-07-28T16:11:33.798Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-07-28T16:11:33.798Z] ---> 3965ccf63473 [2021-07-28T16:11:33.798Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-07-28T16:11:33.868Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-28T16:11:34.086Z] ---> 917c1083caf2 [2021-07-28T16:11:34.086Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-07-28T16:11:34.086Z] ---> 826d17ede8fe [2021-07-28T16:11:34.086Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-07-28T16:11:34.145Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-28T16:11:34.370Z] ---> 8687fe7f448e [2021-07-28T16:11:34.370Z] Successfully built 8687fe7f448e [2021-07-28T16:11:34.370Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2021-07-28T16:11:34.419Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:11:34.906Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-28T16:11:34.906Z] . [Pipeline] withDockerContainer [2021-07-28T16:11:35.029Z] prd-centos7-docker-4c-2g-373 does not seem to be running inside a container [2021-07-28T16:11:35.109Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@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 ******** -e ******** ci-base-image-x86_64 cat [2021-07-28T16:11:35.397Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-28T16:11:35.466Z] $ docker top c324b6fe504bdb105ddfc0299441d6f87cdcffba8c7c3ec4eb1c70c8eb1cc4ce -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-28T16:11:35.671Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-28T16:11:35.671Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-28T16:11:35.876Z] + make test [2021-07-28T16:11:35.876Z] echo "make test" [2021-07-28T16:11:35.876Z] make test [Pipeline] } [2021-07-28T16:11:35.889Z] $ docker stop --time=1 c324b6fe504bdb105ddfc0299441d6f87cdcffba8c7c3ec4eb1c70c8eb1cc4ce [2021-07-28T16:11:36.271Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-28T16:11:36.271Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-28T16:11:36.870Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-28T16:11:37.224Z] $ docker rm -f c324b6fe504bdb105ddfc0299441d6f87cdcffba8c7c3ec4eb1c70c8eb1cc4ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-07-28T16:11:37.855Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-28T16:11:37.855Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-28T16:11:38.134Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-28T16:11:38.413Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-28T16:11:38.689Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-28T16:11:38.690Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-28T16:11:39.290Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-28T16:11:39.564Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-28T16:11:39.838Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [Pipeline] sh [2021-07-28T16:11:40.114Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-28T16:11:40.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-28T16:11:40.669Z] + ls -al . [2021-07-28T16:11:40.669Z] total 160 [2021-07-28T16:11:40.669Z] drwxrwxr-x. 8 jenkins jenkins 260 Jul 28 16:10 . [2021-07-28T16:11:40.669Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 28 16:10 .. [2021-07-28T16:11:40.669Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jul 28 16:10 Attribution.txt [2021-07-28T16:11:40.669Z] -rw-rw-r--. 1 jenkins jenkins 7556 Jul 28 16:10 CHANGES [2021-07-28T16:11:40.669Z] drwxrwxr-x. 2 jenkins jenkins 121 Jul 28 16:10 docs [2021-07-28T16:11:40.669Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jul 28 16:10 Doxyfile [2021-07-28T16:11:40.669Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 28 16:10 .git [2021-07-28T16:11:40.669Z] drwxrwxr-x. 2 jenkins jenkins 81 Jul 28 16:10 .github [2021-07-28T16:11:40.669Z] -rw-rw-r--. 1 jenkins jenkins 176 Jul 28 16:10 .gitignore [2021-07-28T16:11:40.669Z] drwxrwxr-x. 4 jenkins jenkins 33 Jul 28 16:10 include [2021-07-28T16:11:40.669Z] -rw-rw-r--. 1 jenkins jenkins 784 Jul 28 16:10 Jenkinsfile [2021-07-28T16:11:40.669Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jul 28 16:10 LICENSE [2021-07-28T16:11:40.669Z] -rw-rw-r--. 1 jenkins jenkins 444 Jul 28 16:10 Makefile [2021-07-28T16:11:40.669Z] -rw-rw-r--. 1 jenkins jenkins 4090 Jul 28 16:10 README.md [2021-07-28T16:11:40.669Z] -rw-rw-r--. 1 jenkins jenkins 7090 Jul 28 16:10 README.v2.md [2021-07-28T16:11:40.669Z] drwxrwxr-x. 2 jenkins jenkins 98 Jul 28 16:10 scripts [2021-07-28T16:11:40.669Z] drwxrwxr-x. 4 jenkins jenkins 50 Jul 28 16:10 src [2021-07-28T16:11:40.669Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 28 16:06 VERSION [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:11:40.716Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-28T16:11:40.716Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-28T16:11:40.992Z] + 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=d6172f51d6ba2c74d7fbfdef490329ded0c747ad --label arch=amd64 --label version=0.0.0 . [2021-07-28T16:11:40.992Z] Sending build context to Docker daemon 2.691MB [2021-07-28T16:11:40.992Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-07-28T16:11:40.992Z] Step 2/17 : FROM ${BASE} [2021-07-28T16:11:40.992Z] ---> 8687fe7f448e [2021-07-28T16:11:40.992Z] Step 3/17 : LABEL maintainer="IOTech " [2021-07-28T16:11:40.992Z] ---> Running in e2394e04230b [2021-07-28T16:11:40.992Z] Removing intermediate container e2394e04230b [2021-07-28T16:11:40.992Z] ---> 23b5e1acf11b [2021-07-28T16:11:40.992Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-07-28T16:11:41.260Z] ---> Running in 923aa3f64a6c [2021-07-28T16:11:41.260Z] --2021-07-28 16:11:41-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-07-28T16:11:41.703Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-28T16:11:41.703Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-28T16:11:42.112Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.170.66.44, 54.195.244.87 [2021-07-28T16:11:42.377Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2021-07-28T16:11:42.664Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T16:11:42.664Z] Length: 451 [application/octet-stream] [2021-07-28T16:11:42.664Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T16:11:42.664Z]  [2021-07-28T16:11:42.664Z] 0K 100% 50.9M=0s [2021-07-28T16:11:42.664Z] [2021-07-28T16:11:42.664Z] 2021-07-28 16:11:42 (50.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-07-28T16:11:42.664Z] [2021-07-28T16:11:42.938Z] Removing intermediate container 923aa3f64a6c [2021-07-28T16:11:42.938Z] ---> d9765c281fc0 [2021-07-28T16:11:42.938Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T16:11:42.938Z] ---> Running in e2c9dac7ff8f [2021-07-28T16:11:43.145Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-28T16:11:43.206Z] Removing intermediate container e2c9dac7ff8f [2021-07-28T16:11:43.206Z] ---> 7bc372b9ae05 [2021-07-28T16:11:43.206Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-07-28T16:11:43.206Z] ---> Running in ce9d494e9ebb [2021-07-28T16:11:43.421Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-28T16:11:43.800Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-28T16:11:44.020Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-28T16:11:44.276Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-28T16:11:44.295Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-28T16:11:44.568Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-28T16:11:44.871Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-28T16:11:45.455Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-28T16:11:45.455Z] (2/16) Installing libblkid (2.35.2-r0) [2021-07-28T16:11:45.722Z] (3/16) Installing blkid (2.35.2-r0) [2021-07-28T16:11:45.722Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-07-28T16:11:45.722Z] (5/16) Installing setpriv (2.35.2-r0) [2021-07-28T16:11:45.990Z] (6/16) Installing libmount (2.35.2-r0) [2021-07-28T16:11:45.990Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-07-28T16:11:45.990Z] (8/16) Installing findmnt (2.35.2-r0) [2021-07-28T16:11:46.003Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-28T16:11:46.258Z] (9/16) Installing mcookie (2.35.2-r0) [2021-07-28T16:11:46.258Z] (10/16) Installing hexdump (2.35.2-r0) [2021-07-28T16:11:46.258Z] (11/16) Installing lsblk (2.35.2-r0) [2021-07-28T16:11:46.279Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-28T16:11:46.527Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-07-28T16:11:46.527Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-07-28T16:11:46.527Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-07-28T16:11:46.551Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-28T16:11:46.796Z] (15/16) Installing util-linux (2.35.2-r0) [2021-07-28T16:11:46.826Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-28T16:11:47.065Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-07-28T16:11:47.335Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T16:11:47.335Z] OK: 295 MiB in 98 packages [2021-07-28T16:11:47.425Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-28T16:11:47.933Z] Removing intermediate container ce9d494e9ebb [2021-07-28T16:11:47.933Z] ---> 59474a3406eb [2021-07-28T16:11:47.933Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-07-28T16:11:47.933Z] ---> 082868846653 [2021-07-28T16:11:47.933Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-07-28T16:11:48.206Z] ---> 13d45eb18b5d [2021-07-28T16:11:48.206Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-07-28T16:11:48.411Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-28T16:11:48.683Z] ---> e2593f9bd497 [2021-07-28T16:11:48.683Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-07-28T16:11:48.683Z] ---> 59d6c5f072db [2021-07-28T16:11:48.683Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-07-28T16:11:48.683Z] ---> aea5d801681c [2021-07-28T16:11:48.683Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-07-28T16:11:48.688Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-28T16:11:48.952Z] ---> 2e5341fe1cbe [2021-07-28T16:11:48.952Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-07-28T16:11:48.952Z] ---> Running in b8c2d454501f [2021-07-28T16:11:48.952Z] Removing intermediate container b8c2d454501f [2021-07-28T16:11:48.952Z] ---> ef56fc3b8a78 [2021-07-28T16:11:48.952Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-07-28T16:11:48.952Z] ---> Running in 7c0a4281bfc1 [2021-07-28T16:11:48.963Z] [ 75%] Linking C shared library libcsdk.so [2021-07-28T16:11:49.221Z] Removing intermediate container 7c0a4281bfc1 [2021-07-28T16:11:49.221Z] ---> 599f077466c7 [2021-07-28T16:11:49.221Z] Step 15/17 : LABEL arch=amd64 [2021-07-28T16:11:49.221Z] ---> Running in 946f43a17af6 [2021-07-28T16:11:49.221Z] Removing intermediate container 946f43a17af6 [2021-07-28T16:11:49.221Z] ---> e7c7a2512f16 [2021-07-28T16:11:49.221Z] Step 16/17 : LABEL git_sha=d6172f51d6ba2c74d7fbfdef490329ded0c747ad [2021-07-28T16:11:49.221Z] ---> Running in 4bae0c0968c0 [2021-07-28T16:11:49.221Z] Removing intermediate container 4bae0c0968c0 [2021-07-28T16:11:49.221Z] ---> 6d8fed1b8b30 [2021-07-28T16:11:49.221Z] Step 17/17 : LABEL version=0.0.0 [2021-07-28T16:11:49.237Z] [ 75%] Built target csdk [2021-07-28T16:11:49.493Z] ---> Running in 92ada67a85a8 [2021-07-28T16:11:49.494Z] Removing intermediate container 92ada67a85a8 [2021-07-28T16:11:49.494Z] ---> cdafb5f02cdb [2021-07-28T16:11:49.494Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-28T16:11:49.494Z] Successfully built cdafb5f02cdb [2021-07-28T16:11:49.494Z] Successfully tagged device-sdk:latest [Pipeline] } [2021-07-28T16:11:49.511Z] Scanning dependencies of target template [2021-07-28T16:11:49.511Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [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] } [2021-07-28T16:11:49.783Z] [ 78%] Linking C executable template [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:11:50.055Z] [ 78%] Built target template [2021-07-28T16:11:50.055Z] Scanning dependencies of target device-counter [2021-07-28T16:11:50.056Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-28T16:11:50.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T16:11:50.174Z] [2021-07-28T16:11:50.175Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:11:50.328Z] [ 81%] Linking C executable device-counter [2021-07-28T16:11:50.525Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T16:11:50.525Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-28T16:11:50.525Z] b4d181a07f80: Pulling fs layer [2021-07-28T16:11:50.525Z] a1111a8f2ec3: Pulling fs layer [2021-07-28T16:11:50.525Z] ed53099fbce6: Pulling fs layer [2021-07-28T16:11:50.525Z] dc539afda2c1: Pulling fs layer [2021-07-28T16:11:50.525Z] 77bc0d833cb6: Pulling fs layer [2021-07-28T16:11:50.525Z] 9065ff56babe: Pulling fs layer [2021-07-28T16:11:50.525Z] d287ab97295c: Pulling fs layer [2021-07-28T16:11:50.525Z] 77bc0d833cb6: Waiting [2021-07-28T16:11:50.525Z] 9065ff56babe: Waiting [2021-07-28T16:11:50.525Z] d287ab97295c: Waiting [2021-07-28T16:11:50.525Z] dc539afda2c1: Waiting [2021-07-28T16:11:50.616Z] [ 81%] Built target device-counter [2021-07-28T16:11:50.616Z] Scanning dependencies of target device-random [2021-07-28T16:11:50.616Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-28T16:11:50.890Z] [ 84%] Linking C executable device-random [2021-07-28T16:11:51.164Z] [ 84%] Built target device-random [2021-07-28T16:11:51.164Z] Scanning dependencies of target device-gyro [2021-07-28T16:11:51.439Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-28T16:11:51.497Z] a1111a8f2ec3: Verifying Checksum [2021-07-28T16:11:51.497Z] a1111a8f2ec3: Download complete [2021-07-28T16:11:51.497Z] dc539afda2c1: Verifying Checksum [2021-07-28T16:11:51.497Z] dc539afda2c1: Download complete [2021-07-28T16:11:51.720Z] [ 87%] Linking C executable device-gyro [2021-07-28T16:11:51.766Z] 77bc0d833cb6: Verifying Checksum [2021-07-28T16:11:51.767Z] 77bc0d833cb6: Download complete [2021-07-28T16:11:51.767Z] 9065ff56babe: Verifying Checksum [2021-07-28T16:11:51.767Z] 9065ff56babe: Download complete [2021-07-28T16:11:51.994Z] [ 87%] Built target device-gyro [2021-07-28T16:11:51.994Z] Scanning dependencies of target device-bitfields [2021-07-28T16:11:51.994Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-28T16:11:52.269Z] [ 90%] Linking C executable device-bitfields [2021-07-28T16:11:52.548Z] [ 90%] Built target device-bitfields [2021-07-28T16:11:52.548Z] Scanning dependencies of target template-discovery [2021-07-28T16:11:52.548Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-28T16:11:53.146Z] [ 93%] Linking C executable template-discovery [2021-07-28T16:11:53.146Z] [ 93%] Built target template-discovery [2021-07-28T16:11:53.190Z] ed53099fbce6: Verifying Checksum [2021-07-28T16:11:53.190Z] ed53099fbce6: Download complete [2021-07-28T16:11:53.419Z] Scanning dependencies of target device-file [2021-07-28T16:11:53.419Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-28T16:11:53.692Z] [ 96%] Linking C executable device-file [2021-07-28T16:11:53.967Z] [ 96%] Built target device-file [2021-07-28T16:11:53.967Z] Scanning dependencies of target device-terminal [2021-07-28T16:11:53.967Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-28T16:11:54.241Z] [100%] Linking C executable device-terminal [2021-07-28T16:11:54.843Z] [100%] Built target device-terminal [2021-07-28T16:11:54.843Z] make: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:54.843Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:54.843Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:54.843Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:54.843Z] [ 75%] Built target csdk [2021-07-28T16:11:54.843Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:54.843Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:54.843Z] [ 78%] Built target template [2021-07-28T16:11:54.843Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:54.843Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:54.843Z] [ 81%] Built target device-counter [2021-07-28T16:11:54.843Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:54.843Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:54.843Z] [ 84%] Built target device-random [2021-07-28T16:11:54.843Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:55.118Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:55.118Z] [ 87%] Built target device-gyro [2021-07-28T16:11:55.118Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:55.118Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:55.118Z] [ 90%] Built target device-bitfields [2021-07-28T16:11:55.118Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:55.118Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:55.118Z] [ 93%] Built target template-discovery [2021-07-28T16:11:55.118Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:55.118Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:55.118Z] [ 96%] Built target device-file [2021-07-28T16:11:55.118Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T16:11:55.118Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:55.118Z] [100%] Built target device-terminal [2021-07-28T16:11:55.118Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:55.132Z] b4d181a07f80: Verifying Checksum [2021-07-28T16:11:55.132Z] b4d181a07f80: Download complete [2021-07-28T16:11:55.396Z] Install the project... [2021-07-28T16:11:55.396Z] -- Install configuration: "Release" [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/lib/libcsdk.so [2021-07-28T16:11:55.396Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-07-28T16:11:55.396Z] -- Up-to-date: /usr/local/include [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/edgex [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/edgex/devices.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/edgex/secrets.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/devsdk [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/json.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/container.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/component.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/typecode.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/iot.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/time.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/hash.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/logger.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/os [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/data.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/thread.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/os.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/base64.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/defs.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/include/iot/config.h [2021-07-28T16:11:55.396Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-07-28T16:11:55.397Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-07-28T16:11:55.397Z] make: Leaving directory '/tmp/sdk/build/release' [2021-07-28T16:11:55.938Z] b4d181a07f80: Pull complete [2021-07-28T16:11:56.208Z] a1111a8f2ec3: Pull complete [2021-07-28T16:11:56.483Z] ed53099fbce6: Pull complete [2021-07-28T16:11:56.753Z] dc539afda2c1: Pull complete [2021-07-28T16:11:56.753Z] 77bc0d833cb6: Pull complete [2021-07-28T16:11:57.022Z] 9065ff56babe: Pull complete [2021-07-28T16:11:58.031Z] Removing intermediate container b5d7531259da [2021-07-28T16:11:58.031Z] ---> 987bb1296d27 [2021-07-28T16:11:58.031Z] Step 16/25 : FROM ${BASE} [2021-07-28T16:11:58.031Z] ---> 759262b18b23 [2021-07-28T16:11:58.031Z] Step 17/25 : LABEL maintainer="IOTech " [2021-07-28T16:11:58.031Z] ---> Running in a656ce8f7add [2021-07-28T16:11:58.631Z] Removing intermediate container a656ce8f7add [2021-07-28T16:11:58.631Z] ---> b7925b316cbc [2021-07-28T16:11:58.631Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-07-28T16:11:59.230Z] ---> Running in b8821c3a796f [2021-07-28T16:12:00.673Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-07-28T16:12:00.954Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T16:12:00.954Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-28T16:12:00.954Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-28T16:12:01.952Z] Removing intermediate container b8821c3a796f [2021-07-28T16:12:01.952Z] ---> 6009da3bd780 [2021-07-28T16:12:01.952Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T16:12:01.952Z] ---> Running in 3e2ee69066f7 [2021-07-28T16:12:03.949Z] d287ab97295c: Verifying Checksum [2021-07-28T16:12:03.949Z] d287ab97295c: Download complete [2021-07-28T16:12:04.581Z] Removing intermediate container 3e2ee69066f7 [2021-07-28T16:12:04.581Z] ---> 5eb422953bd5 [2021-07-28T16:12:04.581Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev [2021-07-28T16:12:04.854Z] ---> Running in 20074000701a [2021-07-28T16:12:06.291Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-28T16:12:06.888Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-28T16:12:07.369Z] d287ab97295c: Pull complete [2021-07-28T16:12:07.369Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-28T16:12:07.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T16:12:07.369Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-28T16:12:07.485Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-28T16:12:07.510Z] prd-centos7-docker-4c-2g-373 does not seem to be running inside a container [2021-07-28T16:12:07.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-28T16:12:08.082Z] (1/7) Installing curl (7.78.0-r0) [2021-07-28T16:12:08.082Z] (2/7) Installing hiredis (0.14.1-r0) [2021-07-28T16:12:08.355Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-07-28T16:12:08.355Z] (4/7) Installing libuuid (2.35.2-r0) [2021-07-28T16:12:08.355Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-28T16:12:09.975Z] $ docker top 3b8d9507285f9273b94bf45bbe8032513eab56dea440c969d5837084ad0bccc6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:12:10.331Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-07-28T16:12:10.331Z] (7/7) Installing wget (1.20.3-r1) [2021-07-28T16:12:10.596Z] ---> job-cost.sh [2021-07-28T16:12:10.596Z] lf-activate-venv: SKIPPING [2021-07-28T16:12:10.596Z] INFO: No Stack... [2021-07-28T16:12:10.605Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T16:12:10.605Z] OK: 267 MiB in 82 packages [2021-07-28T16:12:11.557Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-28T16:12:11.557Z] INFO: Archiving Costs [Pipeline] sh [2021-07-28T16:12:11.901Z] + cat /w/workspace/device-sdk-c/4/archives/cost.csv [2021-07-28T16:12:11.901Z] + cut -d, -f6 [Pipeline] lock [2021-07-28T16:12:11.954Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-4-stack-cost] [2021-07-28T16:12:12.006Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-4-stack-cost] did not exist. Created. [2021-07-28T16:12:12.007Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-4-stack-cost] [Pipeline] { [Pipeline] unstash [2021-07-28T16:12:12.044Z] Removing intermediate container 20074000701a [2021-07-28T16:12:12.044Z] ---> d03790d29087 [2021-07-28T16:12:12.044Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [Pipeline] sh [2021-07-28T16:12:12.366Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-28T16:12:12.648Z] Stashed 1 file(s) [Pipeline] } [2021-07-28T16:12:12.673Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-28T16:12:12.728Z] $ docker stop --time=1 3b8d9507285f9273b94bf45bbe8032513eab56dea440c969d5837084ad0bccc6 [2021-07-28T16:12:13.040Z] ---> c865a0e62809 [2021-07-28T16:12:13.040Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-07-28T16:12:13.639Z] ---> 575921e4cc33 [2021-07-28T16:12:13.639Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-07-28T16:12:13.874Z] $ docker rm -f 3b8d9507285f9273b94bf45bbe8032513eab56dea440c969d5837084ad0bccc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-28T16:12:15.631Z] ---> 832831921c29 [2021-07-28T16:12:15.631Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-07-28T16:12:16.613Z] ---> 5d3ebed8f146 [2021-07-28T16:12:16.613Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-07-28T16:12:17.212Z] ---> 23a70b375031 [2021-07-28T16:12:17.212Z] Successfully built 23a70b375031 [2021-07-28T16:12:17.485Z] 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-07-28T16:12:18.006Z] + docker inspect -f . ci-base-image-arm64 [2021-07-28T16:12:18.006Z] . [Pipeline] withDockerContainer [2021-07-28T16:12:18.355Z] prd-ubuntu18.04-docker-arm64-4c-16g-371 does not seem to be running inside a container [2021-07-28T16:12:18.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@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 ******** -e ******** ci-base-image-arm64 cat [2021-07-28T16:12:20.320Z] $ docker top dbe933ad46ff797ef560d2cc129220330b6b4ce70b170151e1d51daab95e2d27 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-28T16:12:21.422Z] + make test [2021-07-28T16:12:21.422Z] echo "make test" [2021-07-28T16:12:21.422Z] make test [Pipeline] } [2021-07-28T16:12:21.439Z] $ docker stop --time=1 dbe933ad46ff797ef560d2cc129220330b6b4ce70b170151e1d51daab95e2d27 [2021-07-28T16:12:23.425Z] $ docker rm -f dbe933ad46ff797ef560d2cc129220330b6b4ce70b170151e1d51daab95e2d27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-28T16:12:24.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-28T16:12:24.606Z] + ls -al . [2021-07-28T16:12:24.607Z] total 192 [2021-07-28T16:12:24.607Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 16:08 . [2021-07-28T16:12:24.607Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 16:08 .. [2021-07-28T16:12:24.607Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 16:08 .git [2021-07-28T16:12:24.607Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 16:08 .github [2021-07-28T16:12:24.607Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 28 16:08 .gitignore [2021-07-28T16:12:24.607Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 28 16:08 Attribution.txt [2021-07-28T16:12:24.607Z] -rw-rw-r-- 1 jenkins jenkins 7556 Jul 28 16:08 CHANGES [2021-07-28T16:12:24.607Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 28 16:08 Doxyfile [2021-07-28T16:12:24.607Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 28 16:08 Jenkinsfile [2021-07-28T16:12:24.607Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 28 16:08 LICENSE [2021-07-28T16:12:24.607Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 28 16:08 Makefile [2021-07-28T16:12:24.607Z] -rw-rw-r-- 1 jenkins jenkins 4090 Jul 28 16:08 README.md [2021-07-28T16:12:24.607Z] -rw-rw-r-- 1 jenkins jenkins 7090 Jul 28 16:08 README.v2.md [2021-07-28T16:12:24.607Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 16:06 VERSION [2021-07-28T16:12:24.607Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 16:08 docs [2021-07-28T16:12:24.607Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 16:08 include [2021-07-28T16:12:24.607Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 16:08 scripts [2021-07-28T16:12:24.607Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 16:08 src [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:12:24.960Z] + 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=c4bf5835aa2a26a1a11e468256961ec2bf2bcd58 --label arch=arm64 --label version=0.0.0 . [2021-07-28T16:12:25.577Z] Sending build context to Docker daemon 2.69MB [2021-07-28T16:12:25.577Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-07-28T16:12:25.577Z] Step 2/17 : FROM ${BASE} [2021-07-28T16:12:25.577Z] ---> 23a70b375031 [2021-07-28T16:12:25.577Z] Step 3/17 : LABEL maintainer="IOTech " [2021-07-28T16:12:25.861Z] ---> Running in 3d3411783266 [2021-07-28T16:12:26.856Z] Removing intermediate container 3d3411783266 [2021-07-28T16:12:26.856Z] ---> 67254d0904aa [2021-07-28T16:12:26.856Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-07-28T16:12:27.134Z] ---> Running in 2910ea7105e9 [2021-07-28T16:12:28.602Z] --2021-07-28 16:12:28-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-07-28T16:12:28.602Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.195.244.87, 54.170.66.44 [2021-07-28T16:12:28.602Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2021-07-28T16:12:28.875Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T16:12:28.875Z] Length: 451 [application/octet-stream] [2021-07-28T16:12:28.875Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T16:12:28.875Z] [2021-07-28T16:12:28.875Z] 0K  100% 17.7M=0s [2021-07-28T16:12:28.875Z] [2021-07-28T16:12:28.875Z] 2021-07-28 16:12:28 (17.7 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-07-28T16:12:28.875Z] [2021-07-28T16:12:30.316Z] Removing intermediate container 2910ea7105e9 [2021-07-28T16:12:30.316Z] ---> d55038af482c [2021-07-28T16:12:30.316Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T16:12:30.316Z] ---> Running in 608c27889071 [2021-07-28T16:12:32.925Z] Removing intermediate container 608c27889071 [2021-07-28T16:12:32.925Z] ---> 407a72d411e0 [2021-07-28T16:12:32.925Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-07-28T16:12:32.925Z] ---> Running in 2040a9bee68c [2021-07-28T16:12:34.353Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-28T16:12:34.946Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-28T16:12:35.217Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-28T16:12:36.192Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-28T16:12:36.192Z] (2/16) Installing libblkid (2.35.2-r0) [2021-07-28T16:12:36.192Z] (3/16) Installing blkid (2.35.2-r0) [2021-07-28T16:12:36.192Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-07-28T16:12:36.463Z] (5/16) Installing setpriv (2.35.2-r0) [2021-07-28T16:12:36.463Z] (6/16) Installing libmount (2.35.2-r0) [2021-07-28T16:12:36.463Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-07-28T16:12:36.735Z] (8/16) Installing findmnt (2.35.2-r0) [2021-07-28T16:12:36.735Z] (9/16) Installing mcookie (2.35.2-r0) [2021-07-28T16:12:36.735Z] (10/16) Installing hexdump (2.35.2-r0) [2021-07-28T16:12:37.009Z] (11/16) Installing lsblk (2.35.2-r0) [2021-07-28T16:12:37.009Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-07-28T16:12:37.009Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-07-28T16:12:37.009Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-07-28T16:12:37.285Z] (15/16) Installing util-linux (2.35.2-r0) [2021-07-28T16:12:37.558Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-07-28T16:12:38.151Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T16:12:38.151Z] OK: 276 MiB in 98 packages [2021-07-28T16:12:40.139Z] Removing intermediate container 2040a9bee68c [2021-07-28T16:12:40.139Z] ---> a0d5428ad440 [2021-07-28T16:12:40.139Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-07-28T16:12:40.747Z] ---> 5de873040ea7 [2021-07-28T16:12:40.747Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-07-28T16:12:42.184Z] ---> e166a0730388 [2021-07-28T16:12:42.184Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-07-28T16:12:42.781Z] ---> 21581046cb99 [2021-07-28T16:12:42.781Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-07-28T16:12:43.760Z] ---> 424a6cbb5223 [2021-07-28T16:12:43.760Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-07-28T16:12:44.738Z] ---> 0195c2f39179 [2021-07-28T16:12:44.738Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-07-28T16:12:45.331Z] ---> ffc4cbd347c6 [2021-07-28T16:12:45.331Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-07-28T16:12:45.604Z] ---> Running in 185559deffd2 [2021-07-28T16:12:46.197Z] Removing intermediate container 185559deffd2 [2021-07-28T16:12:46.197Z] ---> e4cb31346a50 [2021-07-28T16:12:46.197Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-07-28T16:12:46.197Z] ---> Running in 51a8dadcc6a5 [2021-07-28T16:12:46.794Z] Removing intermediate container 51a8dadcc6a5 [2021-07-28T16:12:46.794Z] ---> 8f83bb27b10b [2021-07-28T16:12:46.794Z] Step 15/17 : LABEL arch=arm64 [2021-07-28T16:12:47.067Z] ---> Running in 9bc6648c22f9 [2021-07-28T16:12:47.685Z] Removing intermediate container 9bc6648c22f9 [2021-07-28T16:12:47.685Z] ---> 7d9048958f95 [2021-07-28T16:12:47.685Z] Step 16/17 : LABEL git_sha=c4bf5835aa2a26a1a11e468256961ec2bf2bcd58 [2021-07-28T16:12:47.958Z] ---> Running in a879d05b9d4e [2021-07-28T16:12:48.552Z] Removing intermediate container a879d05b9d4e [2021-07-28T16:12:48.552Z] ---> c956f5809d01 [2021-07-28T16:12:48.552Z] Step 17/17 : LABEL version=0.0.0 [2021-07-28T16:12:48.552Z] ---> Running in 46f865802f58 [2021-07-28T16:12:49.146Z] Removing intermediate container 46f865802f58 [2021-07-28T16:12:49.146Z] ---> bd59523e78da [2021-07-28T16:12:49.146Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-28T16:12:49.146Z] Successfully built bd59523e78da [2021-07-28T16:12:49.146Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:12:49.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-28T16:12:50.035Z] [2021-07-28T16:12:50.035Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:12:50.391Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-28T16:12:50.667Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-28T16:12:50.667Z] 448f6bf000e3: Pulling fs layer [2021-07-28T16:12:50.667Z] f757da607395: Pulling fs layer [2021-07-28T16:12:50.667Z] 05883995daec: Pulling fs layer [2021-07-28T16:12:50.667Z] 8603b9c90790: Pulling fs layer [2021-07-28T16:12:50.667Z] 1560dd03e051: Pulling fs layer [2021-07-28T16:12:50.667Z] 27f5ce0e4adf: Pulling fs layer [2021-07-28T16:12:50.667Z] c2d8d7efcc4b: Pulling fs layer [2021-07-28T16:12:50.667Z] 8603b9c90790: Waiting [2021-07-28T16:12:50.667Z] 1560dd03e051: Waiting [2021-07-28T16:12:50.667Z] 27f5ce0e4adf: Waiting [2021-07-28T16:12:50.667Z] c2d8d7efcc4b: Waiting [2021-07-28T16:12:50.942Z] f757da607395: Verifying Checksum [2021-07-28T16:12:50.942Z] f757da607395: Download complete [2021-07-28T16:12:50.942Z] 8603b9c90790: Verifying Checksum [2021-07-28T16:12:50.942Z] 8603b9c90790: Download complete [2021-07-28T16:12:51.216Z] 1560dd03e051: Verifying Checksum [2021-07-28T16:12:51.216Z] 1560dd03e051: Download complete [2021-07-28T16:12:51.216Z] 27f5ce0e4adf: Download complete [2021-07-28T16:12:51.216Z] 05883995daec: Verifying Checksum [2021-07-28T16:12:51.216Z] 05883995daec: Download complete [2021-07-28T16:12:52.201Z] 448f6bf000e3: Download complete [2021-07-28T16:12:54.825Z] c2d8d7efcc4b: Verifying Checksum [2021-07-28T16:12:54.825Z] c2d8d7efcc4b: Download complete [2021-07-28T16:12:55.801Z] 448f6bf000e3: Pull complete [2021-07-28T16:12:56.404Z] f757da607395: Pull complete [2021-07-28T16:12:57.842Z] 05883995daec: Pull complete [2021-07-28T16:12:58.115Z] 8603b9c90790: Pull complete [2021-07-28T16:12:59.100Z] 1560dd03e051: Pull complete [2021-07-28T16:12:59.697Z] 27f5ce0e4adf: Pull complete [2021-07-28T16:13:15.717Z] c2d8d7efcc4b: Pull complete [2021-07-28T16:13:15.717Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-28T16:13:15.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-28T16:13:15.717Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-28T16:13:15.983Z] prd-ubuntu18.04-docker-arm64-4c-16g-371 does not seem to be running inside a container [2021-07-28T16:13:16.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-07-28T16:13:20.746Z] $ docker top 1910ae26de2cf8c2307f63cc3289d428c770fda6d8f821e40cdade0fef9a2bab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:13:21.741Z] ---> job-cost.sh [2021-07-28T16:13:21.741Z] lf-activate-venv: SKIPPING [2021-07-28T16:13:21.741Z] INFO: No Stack... [2021-07-28T16:13:22.715Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-28T16:13:22.986Z] INFO: Archiving Costs [Pipeline] sh [2021-07-28T16:13:23.646Z] + cat /w/workspace/device-sdk-c/4/archives/cost.csv [2021-07-28T16:13:23.646Z] + cut -d, -f6 [Pipeline] lock [2021-07-28T16:13:23.706Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-4-stack-cost] [2021-07-28T16:13:23.724Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-4-stack-cost] did not exist. Created. [2021-07-28T16:13:23.724Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-28T16:13:24.407Z] /w/workspace/device-sdk-c/4@tmp/durable-828bf78e/script.sh: 1: /w/workspace/device-sdk-c/4@tmp/durable-828bf78e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-28T16:13:25.074Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-28T16:13:25.097Z] Warning: overwriting stash ‘stack-cost’ [2021-07-28T16:13:25.590Z] Stashed 1 file(s) [Pipeline] } [2021-07-28T16:13:25.601Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-28T16:13:25.619Z] $ docker stop --time=1 1910ae26de2cf8c2307f63cc3289d428c770fda6d8f821e40cdade0fef9a2bab [2021-07-28T16:13:27.300Z] $ docker rm -f 1910ae26de2cf8c2307f63cc3289d428c770fda6d8f821e40cdade0fef9a2bab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:13:28.628Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:13:29.226Z] ---> package-listing.sh [2021-07-28T16:13:29.226Z] ++ facter osfamily [2021-07-28T16:13:29.226Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-28T16:13:29.494Z] + OS_FAMILY=redhat [2021-07-28T16:13:29.494Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-357 [2021-07-28T16:13:29.494Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-28T16:13:29.494Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-28T16:13:29.494Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-28T16:13:29.494Z] + PACKAGES=/tmp/packages_start.txt [2021-07-28T16:13:29.494Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' [2021-07-28T16:13:29.494Z] + PACKAGES=/tmp/packages_end.txt [2021-07-28T16:13:29.494Z] + case "${OS_FAMILY}" in [2021-07-28T16:13:29.494Z] + rpm -qa [2021-07-28T16:13:29.494Z] + sort [2021-07-28T16:13:30.082Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-28T16:13:30.082Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-28T16:13:30.082Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-28T16:13:30.082Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' [2021-07-28T16:13:30.082Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [2021-07-28T16:13:30.082Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [Pipeline] echo [2021-07-28T16:13:30.100Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-28T16:13:30.400Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:13:30.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T16:13:30.990Z] [2021-07-28T16:13:30.990Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-28T16:13:31.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T16:13:31.337Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-28T16:13:31.337Z] b4d181a07f80: Pulling fs layer [2021-07-28T16:13:31.337Z] a1111a8f2ec3: Pulling fs layer [2021-07-28T16:13:31.337Z] ed53099fbce6: Pulling fs layer [2021-07-28T16:13:31.337Z] dc539afda2c1: Pulling fs layer [2021-07-28T16:13:31.337Z] 77bc0d833cb6: Pulling fs layer [2021-07-28T16:13:31.337Z] 9065ff56babe: Pulling fs layer [2021-07-28T16:13:31.337Z] d287ab97295c: Pulling fs layer [2021-07-28T16:13:31.337Z] 77bc0d833cb6: Waiting [2021-07-28T16:13:31.337Z] 9065ff56babe: Waiting [2021-07-28T16:13:31.337Z] d287ab97295c: Waiting [2021-07-28T16:13:31.337Z] dc539afda2c1: Waiting [2021-07-28T16:13:31.612Z] a1111a8f2ec3: Verifying Checksum [2021-07-28T16:13:31.612Z] a1111a8f2ec3: Download complete [2021-07-28T16:13:31.879Z] dc539afda2c1: Verifying Checksum [2021-07-28T16:13:31.879Z] dc539afda2c1: Download complete [2021-07-28T16:13:32.154Z] 77bc0d833cb6: Verifying Checksum [2021-07-28T16:13:32.154Z] 77bc0d833cb6: Download complete [2021-07-28T16:13:32.154Z] 9065ff56babe: Verifying Checksum [2021-07-28T16:13:32.154Z] 9065ff56babe: Download complete [2021-07-28T16:13:32.154Z] ed53099fbce6: Verifying Checksum [2021-07-28T16:13:32.154Z] ed53099fbce6: Download complete [2021-07-28T16:13:33.114Z] b4d181a07f80: Verifying Checksum [2021-07-28T16:13:33.114Z] b4d181a07f80: Download complete [2021-07-28T16:13:34.076Z] b4d181a07f80: Pull complete [2021-07-28T16:13:34.076Z] a1111a8f2ec3: Pull complete [2021-07-28T16:13:34.666Z] ed53099fbce6: Pull complete [2021-07-28T16:13:34.666Z] dc539afda2c1: Pull complete [2021-07-28T16:13:34.934Z] 77bc0d833cb6: Pull complete [2021-07-28T16:13:35.201Z] 9065ff56babe: Pull complete [2021-07-28T16:13:40.576Z] d287ab97295c: Verifying Checksum [2021-07-28T16:13:40.576Z] d287ab97295c: Download complete [2021-07-28T16:13:43.958Z] d287ab97295c: Pull complete [2021-07-28T16:13:43.958Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-28T16:13:43.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T16:13:43.958Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-28T16:13:44.249Z] prd-centos7-docker-4c-2g-368 does not seem to be running inside a container [2021-07-28T16:13:44.308Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-28T16:13:46.455Z] $ docker top 4c2e363cfe3906785be138ec2059eb85e75251d1b40aaec3b1cf910cb8cbe623 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-28T16:13:46.923Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-28T16:13:47.245Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-28T16:13:47.559Z] + ls /var/log/sa-host [2021-07-28T16:13:47.559Z] + sadf -c /var/log/sa-host/sa05 [2021-07-28T16:13:47.559Z] file_magic: OK [2021-07-28T16:13:47.559Z] HZ: Using current value: 100 [2021-07-28T16:13:47.559Z] file_header: OK [2021-07-28T16:13:47.559Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-07-28T16:13:47.559Z] Statistics: [2021-07-28T16:13:47.559Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-28T16:13:47.559Z] File successfully converted to sysstat format version 12.0.3 [2021-07-28T16:13:47.559Z] + sadf -c /var/log/sa-host/sa28 [2021-07-28T16:13:47.559Z] file_magic: OK [2021-07-28T16:13:47.559Z] HZ: Using current value: 100 [2021-07-28T16:13:47.559Z] file_header: OK [2021-07-28T16:13:47.559Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-07-28T16:13:47.559Z] Statistics: [2021-07-28T16:13:47.559Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-28T16:13:47.559Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-28T16:13:47.730Z] provisioning config files... [2021-07-28T16:13:47.746Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config6793362363211780685tmp [Pipeline] { [Pipeline] echo [2021-07-28T16:13:47.772Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:13:48.081Z] ---> create-netrc.sh [Pipeline] } [2021-07-28T16:13:48.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:13:48.490Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-28T16:13:48.511Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:13:48.834Z] ---> sudo-logs.sh [2021-07-28T16:13:48.834Z] Archiving 'sudo' log.. [2021-07-28T16:13:48.834Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-368.vexxhost.local: Name or service not known [2021-07-28T16:13:48.834Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-368.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-28T16:13:48.907Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:13:49.216Z] ---> job-cost.sh [2021-07-28T16:13:49.216Z] lf-activate-venv: SKIPPING [2021-07-28T16:13:49.216Z] DEBUG: total: 0.18000000715255737 [2021-07-28T16:13:49.216Z] INFO: Retrieving Stack Cost... [2021-07-28T16:13:49.803Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-28T16:13:50.387Z] INFO: Archiving Costs [Pipeline] echo [2021-07-28T16:13:50.404Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-28T16:13:50.714Z] ---> logs-deploy.sh [2021-07-28T16:13:50.714Z] lf-activate-venv: SKIPPING [2021-07-28T16:13:50.714Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-357/4 [2021-07-28T16:13:50.714Z] INFO: archiving workspace using pattern(s): [2021-07-28T16:13:51.303Z] Archives upload complete. [2021-07-28T16:13:51.571Z] INFO: archiving logs to Nexus