Pull request #345 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 1f372fe1b9604ad24077a184209298837f6fff22+058a11b30c68ecede553db5ddd5a4a5106001fc0 (4251de80d6808910228c369cf96e2200d3d62d49) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4816108157519132716.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh401575200337466481.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-345/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-345/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6096633783310570170.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-345/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3397679715205256450.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6292202803789944481.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-345/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-345/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8800759982188312369.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-126 in /w/workspace/edgexfoundry_device-sdk-c_PR-345 [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-345 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-345@tmp/jenkins-gitclient-ssh6522000030120621716.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 058a11b30c68ecede553db5ddd5a4a5106001fc0 into PR head commit 1f372fe1b9604ad24077a184209298837f6fff22 Merge succeeded, producing 1f372fe1b9604ad24077a184209298837f6fff22 Checking out Revision 1f372fe1b9604ad24077a184209298837f6fff22 (PR-345) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-345@tmp/jenkins-gitclient-ssh7187122652409522628.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/345/head:refs/remotes/origin/PR-345 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f372fe1b9604ad24077a184209298837f6fff22 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-345@tmp/jenkins-gitclient-ssh6277661168524144013.key > git merge 058a11b30c68ecede553db5ddd5a4a5106001fc0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f372fe1b9604ad24077a184209298837f6fff22 # timeout=10 Commit message: "fix: support ipv6 listener addresses (#332)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-14T11:43:35.703Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-14T11:43:36.044Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-14T11:43:36.159Z] ========================================================= [2021-05-14T11:43:36.159Z] EdgeX Global Pipelines Version Info [2021-05-14T11:43:36.159Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-14T11:43:37.860Z] ------------------- [2021-05-14T11:43:37.860Z] stable info: [2021-05-14T11:43:37.860Z] ------------------- [2021-05-14T11:43:37.860Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-14T11:43:37.860Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-14T11:43:37.860Z] Message: update stable to v1.0.192 [2021-05-14T11:43:38.830Z] ------------------- [2021-05-14T11:43:38.830Z] experimental info: [2021-05-14T11:43:38.830Z] ------------------- [2021-05-14T11:43:38.830Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-14T11:43:38.830Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-14T11:43:38.830Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-14T11:43:39.079Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-05-14T11:43:39.128Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-05-14T11:43:39.178Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-14T11:43:39.234Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-14T11:43:39.292Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-14T11:43:39.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-05-14T11:43:39.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-05-14T11:43:39.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-05-14T11:43:39.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-14T11:43:39.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-05-14T11:43:39.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-14T11:43:39.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-14T11:43:39.732Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-14T11:43:39.783Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T11:43:39.839Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-14T11:43:39.888Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-14T11:43:39.947Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-14T11:43:40.001Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-345 [Pipeline] echo [2021-05-14T11:43:40.065Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-345 [Pipeline] echo [2021-05-14T11:43:40.140Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-345 [Pipeline] echo [2021-05-14T11:43:40.228Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f372fe1b9604ad24077a184209298837f6fff22 [Pipeline] echo [2021-05-14T11:43:40.285Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f372fe [Pipeline] echo [2021-05-14T11:43:40.344Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T11:43:40.510Z] provisioning config files... [2021-05-14T11:43:40.532Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-345@tmp/config7651809864492898439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T11:43:40.967Z] ---> docker-login.sh [2021-05-14T11:43:40.967Z] nexus3.edgexfoundry.org:10001 [2021-05-14T11:43:41.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T11:43:41.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T11:43:41.502Z] Configure a credential helper to remove this warning. See [2021-05-14T11:43:41.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T11:43:41.502Z] [2021-05-14T11:43:41.503Z] Login Succeeded [2021-05-14T11:43:41.503Z] nexus3.edgexfoundry.org:10002 [2021-05-14T11:43:41.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T11:43:41.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T11:43:41.769Z] Configure a credential helper to remove this warning. See [2021-05-14T11:43:41.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T11:43:41.769Z] [2021-05-14T11:43:41.769Z] Login Succeeded [2021-05-14T11:43:41.769Z] nexus3.edgexfoundry.org:10003 [2021-05-14T11:43:42.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T11:43:42.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T11:43:42.048Z] Configure a credential helper to remove this warning. See [2021-05-14T11:43:42.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T11:43:42.048Z] [2021-05-14T11:43:42.048Z] Login Succeeded [2021-05-14T11:43:42.048Z] nexus3.edgexfoundry.org:10004 [2021-05-14T11:43:42.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T11:43:42.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T11:43:42.313Z] Configure a credential helper to remove this warning. See [2021-05-14T11:43:42.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T11:43:42.313Z] [2021-05-14T11:43:42.313Z] Login Succeeded [2021-05-14T11:43:42.313Z] docker.io [2021-05-14T11:43:42.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T11:43:42.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T11:43:42.890Z] Configure a credential helper to remove this warning. See [2021-05-14T11:43:42.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T11:43:42.890Z] [2021-05-14T11:43:42.890Z] Login Succeeded [2021-05-14T11:43:42.890Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T11:43:42.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-05-14T11:43:44.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T11:43:44.717Z] [2021-05-14T11:43:44.717Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T11:43:45.089Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T11:43:45.089Z] latest: Pulling from edgex-devops/git-semver [2021-05-14T11:43:45.089Z] 31603596830f: Pulling fs layer [2021-05-14T11:43:45.089Z] 54011a49482f: Pulling fs layer [2021-05-14T11:43:45.089Z] a6820b24f6d8: Pulling fs layer [2021-05-14T11:43:45.089Z] f581987b2513: Pulling fs layer [2021-05-14T11:43:45.089Z] f581987b2513: Waiting [2021-05-14T11:43:45.089Z] 54011a49482f: Download complete [2021-05-14T11:43:45.361Z] 31603596830f: Verifying Checksum [2021-05-14T11:43:45.361Z] 31603596830f: Download complete [2021-05-14T11:43:45.361Z] f581987b2513: Verifying Checksum [2021-05-14T11:43:45.361Z] f581987b2513: Download complete [2021-05-14T11:43:45.361Z] a6820b24f6d8: Verifying Checksum [2021-05-14T11:43:45.361Z] a6820b24f6d8: Download complete [2021-05-14T11:43:45.626Z] 31603596830f: Pull complete [2021-05-14T11:43:45.889Z] 54011a49482f: Pull complete [2021-05-14T11:43:46.850Z] a6820b24f6d8: Pull complete [2021-05-14T11:43:47.115Z] f581987b2513: Pull complete [2021-05-14T11:43:47.115Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-14T11:43:47.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T11:43:47.115Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-14T11:43:47.307Z] prd-centos7-docker-4c-2g-126 does not seem to be running inside a container [2021-05-14T11:43:47.379Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-345 -v /w/workspace/edgexfoundry_device-sdk-c_PR-345:/w/workspace/edgexfoundry_device-sdk-c_PR-345:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-345@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-345@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-14T11:43:49.483Z] $ docker top 5f16cfbb1edaeb6b2d19c03b2621fe270db593407304216464458226b64722f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-14T11:43:49.733Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T11:43:49.733Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T11:43:50.046Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T11:43:50.050Z] $ docker exec 5f16cfbb1edaeb6b2d19c03b2621fe270db593407304216464458226b64722f0 ssh-agent [2021-05-14T11:43:50.312Z] SSH_AUTH_SOCK=/tmp/ssh-Tgecjdhq3Q8y/agent.12 [2021-05-14T11:43:50.312Z] SSH_AGENT_PID=17 [2021-05-14T11:43:50.324Z] Running ssh-add (command line suppressed) [2021-05-14T11:43:50.482Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-345@tmp/private_key_8299686922965782407.key (/w/workspace/edgexfoundry_device-sdk-c_PR-345@tmp/private_key_8299686922965782407.key) [2021-05-14T11:43:50.541Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T11:43:50.909Z] + git tag --points-at HEAD [Pipeline] } [2021-05-14T11:43:50.956Z] $ docker exec --env ******** --env ******** 5f16cfbb1edaeb6b2d19c03b2621fe270db593407304216464458226b64722f0 ssh-agent -k [2021-05-14T11:43:51.098Z] unset SSH_AUTH_SOCK; [2021-05-14T11:43:51.099Z] unset SSH_AGENT_PID; [2021-05-14T11:43:51.099Z] echo Agent pid 17 killed; [2021-05-14T11:43:51.155Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-14T11:43:51.254Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T11:43:51.254Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T11:43:51.503Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T11:43:51.507Z] $ docker exec 5f16cfbb1edaeb6b2d19c03b2621fe270db593407304216464458226b64722f0 ssh-agent [2021-05-14T11:43:51.757Z] SSH_AUTH_SOCK=/tmp/ssh-c2K9lDSNwu53/agent.47 [2021-05-14T11:43:51.757Z] SSH_AGENT_PID=52 [2021-05-14T11:43:51.766Z] Running ssh-add (command line suppressed) [2021-05-14T11:43:51.936Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-345@tmp/private_key_9206729878783949033.key (/w/workspace/edgexfoundry_device-sdk-c_PR-345@tmp/private_key_9206729878783949033.key) [2021-05-14T11:43:52.008Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T11:43:52.356Z] + git semver init [2021-05-14T11:43:52.356Z] # -> Open(): unable to determine branch for HEAD [2021-05-14T11:43:52.356Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-345/.git [2021-05-14T11:43:52.356Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-345 [2021-05-14T11:43:52.357Z] # $SEMVER_REMOTE_NAME = origin [2021-05-14T11:43:52.357Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-14T11:43:52.357Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-14T11:43:52.357Z] # $SEMVER_BRANCH = PR-345 [2021-05-14T11:43:52.357Z] # $SEMVER_TEMP = /tmp/semver-104553067 [2021-05-14T11:43:52.357Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-05-14T11:43:53.313Z] # '/tmp/semver-104553067' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-345/.semver' [2021-05-14T11:43:53.313Z] # -> Force: false [2021-05-14T11:43:53.313Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-345/.semver [Pipeline] } [2021-05-14T11:43:53.337Z] $ docker exec --env ******** --env ******** 5f16cfbb1edaeb6b2d19c03b2621fe270db593407304216464458226b64722f0 ssh-agent -k [2021-05-14T11:43:53.490Z] unset SSH_AUTH_SOCK; [2021-05-14T11:43:53.490Z] unset SSH_AGENT_PID; [2021-05-14T11:43:53.490Z] echo Agent pid 52 killed; [2021-05-14T11:43:53.554Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-14T11:43:53.995Z] + git semver [Pipeline] } [2021-05-14T11:43:54.027Z] $ docker stop --time=1 5f16cfbb1edaeb6b2d19c03b2621fe270db593407304216464458226b64722f0 [2021-05-14T11:43:55.558Z] $ docker rm -f 5f16cfbb1edaeb6b2d19c03b2621fe270db593407304216464458226b64722f0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T11:43:56.071Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-14T11:43:56.702Z] Stashed 1 file(s) [Pipeline] echo [2021-05-14T11:43:56.722Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-14T11:44:12.159Z] Still waiting to schedule task [2021-05-14T11:44:12.160Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-126’ [2021-05-14T11:44:12.189Z] Still waiting to schedule task [2021-05-14T11:44:12.190Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-14T11:46:03.884Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-127 in /w/workspace/edgexfoundry_device-sdk-c_PR-345 [Pipeline] { [Pipeline] ws [2021-05-14T11:46:03.945Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-05-14T11:46:04.217Z] Selected Git installation does not exist. Using Default [2021-05-14T11:46:04.217Z] The recommended git tool is: NONE [2021-05-14T11:46:09.591Z] using credential edgex-jenkins-ssh [2021-05-14T11:46:09.607Z] Cloning the remote Git repository [2021-05-14T11:46:09.660Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-05-14T11:46:09.789Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-05-14T11:46:09.864Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-05-14T11:46:09.864Z] > git --version # timeout=10 [2021-05-14T11:46:09.878Z] > git --version # 'git version 2.17.1' [2021-05-14T11:46:09.879Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T11:46:09.937Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T11:46:11.041Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-05-14T11:46:11.063Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T11:46:11.089Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-05-14T11:46:11.119Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-05-14T11:46:11.120Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T11:46:11.133Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/345/head:refs/remotes/origin/PR-345 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-14T11:46:11.722Z] Merging remotes/origin/master commit 058a11b30c68ecede553db5ddd5a4a5106001fc0 into PR head commit 1f372fe1b9604ad24077a184209298837f6fff22 [2021-05-14T11:46:11.939Z] Merge succeeded, producing 1f372fe1b9604ad24077a184209298837f6fff22 [2021-05-14T11:46:11.940Z] Checking out Revision 1f372fe1b9604ad24077a184209298837f6fff22 (PR-345) [2021-05-14T11:46:11.741Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T11:46:11.755Z] > git checkout -f 1f372fe1b9604ad24077a184209298837f6fff22 # timeout=10 [2021-05-14T11:46:11.858Z] > git remote # timeout=10 [2021-05-14T11:46:11.881Z] > git config --get remote.origin.url # timeout=10 [2021-05-14T11:46:11.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T11:46:11.904Z] > git merge 058a11b30c68ecede553db5ddd5a4a5106001fc0 # timeout=10 [2021-05-14T11:46:11.925Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-14T11:46:11.950Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T11:46:11.964Z] > git checkout -f 1f372fe1b9604ad24077a184209298837f6fff22 # timeout=10 [2021-05-14T11:46:16.292Z] Commit message: "fix: support ipv6 listener addresses (#332)" [2021-05-14T11:46:16.379Z] > git --version # timeout=10 [2021-05-14T11:46:16.394Z] > git --version # 'git version 2.17.1' [2021-05-14T11:46:16.415Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T11:46:18.307Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-14T11:46:18.758Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-14T11:46:19.116Z] + true [2021-05-14T11:46:19.116Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T11:46:21.833Z] provisioning config files... [2021-05-14T11:46:21.859Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config1242837499208858723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T11:46:22.306Z] ---> docker-login.sh [2021-05-14T11:46:22.306Z] nexus3.edgexfoundry.org:10001 [2021-05-14T11:46:23.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T11:46:23.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T11:46:23.565Z] Configure a credential helper to remove this warning. See [2021-05-14T11:46:23.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T11:46:23.565Z] [2021-05-14T11:46:23.565Z] Login Succeeded [2021-05-14T11:46:23.565Z] nexus3.edgexfoundry.org:10002 [2021-05-14T11:46:24.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T11:46:24.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T11:46:24.167Z] Configure a credential helper to remove this warning. See [2021-05-14T11:46:24.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T11:46:24.167Z] [2021-05-14T11:46:24.167Z] Login Succeeded [2021-05-14T11:46:24.167Z] nexus3.edgexfoundry.org:10003 [2021-05-14T11:46:24.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T11:46:24.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T11:46:24.720Z] Configure a credential helper to remove this warning. See [2021-05-14T11:46:24.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T11:46:24.720Z] [2021-05-14T11:46:24.720Z] Login Succeeded [2021-05-14T11:46:24.720Z] nexus3.edgexfoundry.org:10004 [2021-05-14T11:46:25.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T11:46:25.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T11:46:25.284Z] Configure a credential helper to remove this warning. See [2021-05-14T11:46:25.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T11:46:25.284Z] [2021-05-14T11:46:25.284Z] Login Succeeded [2021-05-14T11:46:25.284Z] docker.io [2021-05-14T11:46:25.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T11:46:25.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T11:46:25.828Z] Configure a credential helper to remove this warning. See [2021-05-14T11:46:25.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T11:46:25.828Z] [2021-05-14T11:46:25.828Z] Login Succeeded [2021-05-14T11:46:25.828Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T11:46:25.857Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-14T11:46:26.452Z] ========================================================= [2021-05-14T11:46:26.452Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-05-14T11:46:26.452Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-14T11:46:26.847Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2021-05-14T11:46:27.122Z] Sending build context to Docker daemon 2.506MB [2021-05-14T11:46:27.122Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-05-14T11:46:27.122Z] Step 2/25 : FROM ${BASE} as builder [2021-05-14T11:46:27.397Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-05-14T11:46:27.397Z] 0362ad1dd800: Pulling fs layer [2021-05-14T11:46:27.397Z] f2cdb1532d8b: Pulling fs layer [2021-05-14T11:46:27.397Z] 37ed683be191: Pulling fs layer [2021-05-14T11:46:27.397Z] f2cdb1532d8b: Verifying Checksum [2021-05-14T11:46:27.397Z] f2cdb1532d8b: Download complete [2021-05-14T11:46:27.397Z] 0362ad1dd800: Verifying Checksum [2021-05-14T11:46:27.397Z] 0362ad1dd800: Download complete [2021-05-14T11:46:27.993Z] 0362ad1dd800: Pull complete [2021-05-14T11:46:28.592Z] f2cdb1532d8b: Pull complete [2021-05-14T11:46:30.027Z] 37ed683be191: Verifying Checksum [2021-05-14T11:46:30.027Z] 37ed683be191: Download complete [2021-05-14T11:46:38.320Z] 37ed683be191: Pull complete [2021-05-14T11:46:38.320Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-05-14T11:46:38.320Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-05-14T11:46:38.320Z] ---> b23d30803547 [2021-05-14T11:46:38.320Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-14T11:46:40.293Z] ---> Running in 13c6807d4aac [2021-05-14T11:46:41.737Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2021-05-14T11:46:42.018Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-05-14T11:46:42.018Z] [2021-05-14T11:46:42.990Z] Removing intermediate container 13c6807d4aac [2021-05-14T11:46:42.990Z] ---> 4be85098401a [2021-05-14T11:46:42.990Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-14T11:46:42.990Z] ---> Running in 9cd1e53bdb69 [2021-05-14T11:46:44.968Z] Removing intermediate container 9cd1e53bdb69 [2021-05-14T11:46:44.968Z] ---> af2d6bc2f6ec [2021-05-14T11:46:44.968Z] Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev [2021-05-14T11:46:45.255Z] ---> Running in e7691dd7e633 [2021-05-14T11:46:46.239Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-05-14T11:46:47.676Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-05-14T11:46:47.948Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-05-14T11:46:48.564Z] (1/11) Installing hiredis (0.14.0-r0) [2021-05-14T11:46:48.564Z] (2/11) Installing hiredis-dev (0.14.0-r0) [2021-05-14T11:46:48.835Z] (3/11) Installing ncurses-dev (6.1_p20190105-r0) [2021-05-14T11:46:48.835Z] (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-05-14T11:46:50.282Z] (5/11) Installing libuuid (2.33-r0) [2021-05-14T11:46:50.555Z] (6/11) Installing libblkid (2.33-r0) [2021-05-14T11:46:50.826Z] (7/11) Installing libfdisk (2.33-r0) [2021-05-14T11:46:51.096Z] (8/11) Installing libmount (2.33-r0) [2021-05-14T11:46:51.096Z] (9/11) Installing libsmartcols (2.33-r0) [2021-05-14T11:46:51.096Z] (10/11) Installing util-linux-dev (2.33-r0) [2021-05-14T11:46:51.686Z] (11/11) Installing wget (1.20.3-r0) [2021-05-14T11:46:51.686Z] Executing busybox-1.29.3-r10.trigger [2021-05-14T11:46:51.686Z] OK: 287 MiB in 86 packages [2021-05-14T11:46:53.121Z] Removing intermediate container e7691dd7e633 [2021-05-14T11:46:53.121Z] ---> f46f91a0c75c [2021-05-14T11:46:53.121Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-05-14T11:46:53.121Z] ---> Running in 602d371bafe7 [2021-05-14T11:46:53.727Z] Removing intermediate container 602d371bafe7 [2021-05-14T11:46:53.727Z] ---> 9a52f6bb76bd [2021-05-14T11:46:53.727Z] Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-05-14T11:46:53.727Z] ---> Running in c93b05c6da2f [2021-05-14T11:46:54.770Z] --2021-05-14 11:46:54-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-05-14T11:46:54.770Z] Resolving github.com... 140.82.112.4 [2021-05-14T11:46:54.770Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-05-14T11:46:55.043Z] HTTP request sent, awaiting response... 302 Found [2021-05-14T11:46:55.043Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-05-14T11:46:55.043Z] --2021-05-14 11:46:54-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-05-14T11:46:55.043Z] Resolving codeload.github.com... 140.82.112.10 [2021-05-14T11:46:55.043Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2021-05-14T11:46:55.043Z] HTTP request sent, awaiting response... 200 OK [2021-05-14T11:46:55.043Z] Length: unspecified [application/x-gzip] [2021-05-14T11:46:55.043Z] Saving to: 'STDOUT' [2021-05-14T11:46:55.043Z]  [2021-05-14T11:46:55.315Z] 0K .......... .......... .......... .......... .......... 1.39M [2021-05-14T11:46:55.315Z] 50K .......... .......... .......... .......... .......... 2.88M [2021-05-14T11:46:55.315Z] 100K .......... .......... .......... .......... .......... 3.09M [2021-05-14T11:46:55.315Z] 150K .......... .......... .......... .......... .......... 10.7M [2021-05-14T11:46:55.315Z] 200K .......... .......... .......... .......... .......... 15.3M [2021-05-14T11:46:55.315Z] 250K .......... .......... .......... .......... .......... 3.80M [2021-05-14T11:46:55.315Z] 300K .......... .......... .......... .......... .......... 4.98M [2021-05-14T11:46:55.315Z] 350K .......... .......... .......... .......... .......... 4.58M [2021-05-14T11:46:55.315Z] 400K .......... .......... .......... .......... .......... 3.50M [2021-05-14T11:46:55.315Z] 450K .......... .......... .......... .......... .......... 3.64M [2021-05-14T11:46:55.315Z] 500K .......... .......... .......... .......... .......... 6.12M [2021-05-14T11:46:55.315Z] 550K .......... .......... .......... .......... .......... 4.15M [2021-05-14T11:46:55.315Z] 600K .......... .......... .......... .......... .......... 781K [2021-05-14T11:46:55.315Z] 650K .......... .......... .......... .......... .......... 2.20M [2021-05-14T11:46:55.315Z] 700K ..         4.28M=0.2s [2021-05-14T11:46:55.315Z] [2021-05-14T11:46:55.315Z] 2021-05-14 11:46:55 (2.83 MB/s) - written to stdout [719348] [2021-05-14T11:46:55.315Z] [2021-05-14T11:46:55.586Z] -- The C compiler identification is GNU 8.3.0 [2021-05-14T11:46:55.856Z] -- The CXX compiler identification is GNU 8.3.0 [2021-05-14T11:46:55.856Z] -- Check for working C compiler: /usr/bin/cc [2021-05-14T11:46:56.130Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-14T11:46:56.130Z] -- Detecting C compiler ABI info [2021-05-14T11:46:56.402Z] -- Detecting C compiler ABI info - done [2021-05-14T11:46:56.402Z] -- Detecting C compile features [2021-05-14T11:46:56.999Z] -- Detecting C compile features - done [2021-05-14T11:46:56.999Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-05-14T11:46:57.269Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-05-14T11:46:57.269Z] -- Detecting CXX compiler ABI info [2021-05-14T11:46:57.540Z] -- Detecting CXX compiler ABI info - done [2021-05-14T11:46:57.540Z] -- Detecting CXX compile features [2021-05-14T11:46:58.737Z] Running on prd-centos7-docker-4c-2g-128 in /w/workspace/edgexfoundry_device-sdk-c_PR-345 [Pipeline] { [Pipeline] ws [2021-05-14T11:46:58.790Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-05-14T11:46:58.961Z] Selected Git installation does not exist. Using Default [2021-05-14T11:46:58.961Z] The recommended git tool is: NONE [2021-05-14T11:46:59.526Z] -- Detecting CXX compile features - done [2021-05-14T11:46:59.527Z] -- Looking for include file endian.h [2021-05-14T11:46:59.527Z] -- Looking for include file endian.h - found [2021-05-14T11:46:59.527Z] -- Check if the system is big endian [2021-05-14T11:46:59.527Z] -- Searching 16 bit integer [2021-05-14T11:46:59.527Z] -- Looking for sys/types.h [2021-05-14T11:46:59.802Z] -- Looking for sys/types.h - found [2021-05-14T11:46:59.802Z] -- Looking for stdint.h [2021-05-14T11:46:59.802Z] -- Looking for stdint.h - found [2021-05-14T11:46:59.802Z] -- Looking for stddef.h [2021-05-14T11:47:00.077Z] -- Looking for stddef.h - found [2021-05-14T11:47:00.077Z] -- Check size of unsigned short [2021-05-14T11:47:00.351Z] -- Check size of unsigned short - done [2021-05-14T11:47:00.351Z] -- Using unsigned short [2021-05-14T11:47:00.625Z] -- Check if the system is big endian - little endian [2021-05-14T11:47:00.625Z] -- Check size of size_t [2021-05-14T11:47:00.897Z] -- Check size of size_t - done [2021-05-14T11:47:00.897Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-05-14T11:47:00.897Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-05-14T11:47:00.897Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-05-14T11:47:00.897Z] CMake did not find one. [2021-05-14T11:47:00.897Z] [2021-05-14T11:47:00.897Z] Could not find a package configuration file provided by "cJSON" with any of [2021-05-14T11:47:00.897Z] the following names: [2021-05-14T11:47:00.897Z] [2021-05-14T11:47:00.897Z] cJSONConfig.cmake [2021-05-14T11:47:00.897Z] cjson-config.cmake [2021-05-14T11:47:00.897Z] [2021-05-14T11:47:00.897Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-05-14T11:47:00.897Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-05-14T11:47:00.897Z] provides a separate development package or SDK, be sure it has been [2021-05-14T11:47:00.897Z] installed. [2021-05-14T11:47:00.897Z] [2021-05-14T11:47:00.897Z] [2021-05-14T11:47:00.897Z] -- Configuring done [2021-05-14T11:47:01.170Z] -- Generating done [2021-05-14T11:47:01.170Z] -- Build files have been written to: /tmp/cbor [2021-05-14T11:47:01.445Z] Scanning dependencies of target cbor_shared [2021-05-14T11:47:01.445Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-05-14T11:47:01.766Z] using credential edgex-jenkins-ssh [2021-05-14T11:47:01.780Z] Cloning the remote Git repository [2021-05-14T11:47:02.048Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-05-14T11:47:01.810Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-05-14T11:47:01.880Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-05-14T11:47:01.942Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-05-14T11:47:01.943Z] > git --version # timeout=10 [2021-05-14T11:47:01.950Z] > git --version # 'git version 2.24.3' [2021-05-14T11:47:01.950Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T11:47:01.980Z] [INFO] Currently running in a labeled security context [2021-05-14T11:47:01.980Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T11:47:01.980Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh8393577075882949421.key [2021-05-14T11:47:02.009Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T11:47:02.657Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-05-14T11:47:02.928Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-05-14T11:47:03.522Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-05-14T11:47:03.797Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-05-14T11:47:04.071Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-05-14T11:47:04.071Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-05-14T11:47:04.343Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-05-14T11:47:04.528Z] Merging remotes/origin/master commit 058a11b30c68ecede553db5ddd5a4a5106001fc0 into PR head commit 1f372fe1b9604ad24077a184209298837f6fff22 [2021-05-14T11:47:04.615Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-05-14T11:47:04.635Z] Merge succeeded, producing 1f372fe1b9604ad24077a184209298837f6fff22 [2021-05-14T11:47:04.636Z] Checking out Revision 1f372fe1b9604ad24077a184209298837f6fff22 (PR-345) [2021-05-14T11:47:03.636Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-05-14T11:47:03.645Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T11:47:03.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-05-14T11:47:03.672Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-05-14T11:47:03.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T11:47:03.674Z] [INFO] Currently running in a labeled security context [2021-05-14T11:47:03.674Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T11:47:03.674Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh8551871656764395007.key [2021-05-14T11:47:03.683Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/345/head:refs/remotes/origin/PR-345 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-14T11:47:04.537Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T11:47:04.544Z] > git checkout -f 1f372fe1b9604ad24077a184209298837f6fff22 # timeout=10 [2021-05-14T11:47:04.598Z] > git remote # timeout=10 [2021-05-14T11:47:04.604Z] > git config --get remote.origin.url # timeout=10 [2021-05-14T11:47:04.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T11:47:04.610Z] [INFO] Currently running in a labeled security context [2021-05-14T11:47:04.610Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T11:47:04.610Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh1386785468138399723.key [2021-05-14T11:47:04.618Z] > git merge 058a11b30c68ecede553db5ddd5a4a5106001fc0 # timeout=10 [2021-05-14T11:47:04.629Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-14T11:47:04.640Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T11:47:04.646Z] > git checkout -f 1f372fe1b9604ad24077a184209298837f6fff22 # timeout=10 [2021-05-14T11:47:05.207Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-05-14T11:47:05.480Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-05-14T11:47:05.753Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-05-14T11:47:06.042Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-05-14T11:47:06.314Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-05-14T11:47:06.585Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-05-14T11:47:06.858Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-05-14T11:47:07.129Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-05-14T11:47:07.401Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-05-14T11:47:07.675Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-05-14T11:47:07.950Z] [ 40%] Linking C shared library libcbor.so [2021-05-14T11:47:07.950Z] [ 40%] Built target cbor_shared [2021-05-14T11:47:07.950Z] Scanning dependencies of target cbor [2021-05-14T11:47:07.950Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-05-14T11:47:08.324Z] Commit message: "fix: support ipv6 listener addresses (#332)" [2021-05-14T11:47:08.353Z] > git --version # timeout=10 [2021-05-14T11:47:08.359Z] > git --version # 'git version 2.24.3' [2021-05-14T11:47:08.366Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-05-14T11:47:08.920Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [Pipeline] sh [2021-05-14T11:47:09.522Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-05-14T11:47:09.522Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-05-14T11:47:09.572Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-14T11:47:09.922Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-14T11:47:10.238Z] + sudo service docker restart [2021-05-14T11:47:10.238Z] + true [2021-05-14T11:47:10.238Z] Redirecting to /bin/systemctl restart docker.service [2021-05-14T11:47:10.957Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-05-14T11:47:10.958Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-05-14T11:47:11.230Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-05-14T11:47:11.230Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-05-14T11:47:11.502Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T11:47:11.739Z] provisioning config files... [2021-05-14T11:47:11.758Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2907890121528036501tmp [2021-05-14T11:47:11.774Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T11:47:12.144Z] ---> docker-login.sh [2021-05-14T11:47:12.144Z] nexus3.edgexfoundry.org:10001 [2021-05-14T11:47:12.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T11:47:12.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T11:47:12.419Z] Configure a credential helper to remove this warning. See [2021-05-14T11:47:12.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T11:47:12.419Z] [2021-05-14T11:47:12.419Z] Login Succeeded [2021-05-14T11:47:12.419Z] nexus3.edgexfoundry.org:10002 [2021-05-14T11:47:12.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T11:47:12.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T11:47:12.698Z] Configure a credential helper to remove this warning. See [2021-05-14T11:47:12.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T11:47:12.698Z] [2021-05-14T11:47:12.698Z] Login Succeeded [2021-05-14T11:47:12.698Z] nexus3.edgexfoundry.org:10003 [2021-05-14T11:47:12.749Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-05-14T11:47:12.749Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-05-14T11:47:12.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T11:47:12.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T11:47:12.964Z] Configure a credential helper to remove this warning. See [2021-05-14T11:47:12.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T11:47:12.964Z] [2021-05-14T11:47:12.964Z] Login Succeeded [2021-05-14T11:47:12.964Z] nexus3.edgexfoundry.org:10004 [2021-05-14T11:47:12.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T11:47:12.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T11:47:12.964Z] Configure a credential helper to remove this warning. See [2021-05-14T11:47:12.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T11:47:12.964Z] [2021-05-14T11:47:12.964Z] Login Succeeded [2021-05-14T11:47:13.228Z] docker.io [2021-05-14T11:47:13.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T11:47:13.347Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-05-14T11:47:13.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T11:47:13.490Z] Configure a credential helper to remove this warning. See [2021-05-14T11:47:13.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T11:47:13.490Z] [2021-05-14T11:47:13.490Z] Login Succeeded [2021-05-14T11:47:13.490Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T11:47:13.522Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-14T11:47:13.620Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-14T11:47:13.817Z] ========================================================= [2021-05-14T11:47:13.817Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-05-14T11:47:13.817Z] ========================================================= [Pipeline] isUnix [2021-05-14T11:47:13.899Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [Pipeline] sh [2021-05-14T11:47:14.172Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-05-14T11:47:14.210Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2021-05-14T11:47:14.210Z] Sending build context to Docker daemon 2.507MB [2021-05-14T11:47:14.210Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-05-14T11:47:14.210Z] Step 2/25 : FROM ${BASE} as builder [2021-05-14T11:47:14.444Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-05-14T11:47:14.474Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-05-14T11:47:14.474Z] e7c96db7181b: Pulling fs layer [2021-05-14T11:47:14.474Z] 4c13bbce0fe7: Pulling fs layer [2021-05-14T11:47:14.474Z] 6059c847ac2f: Pulling fs layer [2021-05-14T11:47:14.474Z] 4c13bbce0fe7: Verifying Checksum [2021-05-14T11:47:14.474Z] 4c13bbce0fe7: Download complete [2021-05-14T11:47:14.474Z] e7c96db7181b: Verifying Checksum [2021-05-14T11:47:14.474Z] e7c96db7181b: Download complete [2021-05-14T11:47:14.719Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-05-14T11:47:14.719Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-05-14T11:47:14.745Z] e7c96db7181b: Pull complete [2021-05-14T11:47:15.009Z] 4c13bbce0fe7: Pull complete [2021-05-14T11:47:15.313Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-05-14T11:47:15.313Z] [ 80%] Linking C static library libcbor.a [2021-05-14T11:47:15.313Z] [ 80%] Built target cbor [2021-05-14T11:47:15.313Z] Scanning dependencies of target create_items [2021-05-14T11:47:15.585Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-05-14T11:47:15.585Z] [ 84%] Linking C executable create_items [2021-05-14T11:47:15.859Z] [ 84%] Built target create_items [2021-05-14T11:47:15.859Z] Scanning dependencies of target readfile [2021-05-14T11:47:15.859Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-05-14T11:47:15.859Z] [ 88%] Linking C executable readfile [2021-05-14T11:47:15.956Z] 6059c847ac2f: Verifying Checksum [2021-05-14T11:47:15.956Z] 6059c847ac2f: Download complete [2021-05-14T11:47:16.130Z] [ 88%] Built target readfile [2021-05-14T11:47:16.131Z] Scanning dependencies of target streaming_parser [2021-05-14T11:47:16.131Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-05-14T11:47:16.404Z] [ 92%] Linking C executable streaming_parser [2021-05-14T11:47:16.404Z] [ 92%] Built target streaming_parser [2021-05-14T11:47:16.404Z] Scanning dependencies of target sort [2021-05-14T11:47:16.404Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-05-14T11:47:16.680Z] [ 96%] Linking C executable sort [2021-05-14T11:47:16.680Z] [ 96%] Built target sort [2021-05-14T11:47:16.680Z] Scanning dependencies of target hello [2021-05-14T11:47:16.680Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-05-14T11:47:16.953Z] [100%] Linking C executable hello [2021-05-14T11:47:16.953Z] [100%] Built target hello [2021-05-14T11:47:16.953Z] Install the project... [2021-05-14T11:47:17.227Z] -- Install configuration: "Release" [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/lib64/libcbor.a [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/lib64/libcbor.so [2021-05-14T11:47:17.227Z] -- Up-to-date: /usr/local/include/cbor [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/ints.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/data.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/common.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/strings.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/tags.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/internal [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor/maps.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/include/cbor.h [2021-05-14T11:47:17.227Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-05-14T11:47:19.209Z] Removing intermediate container c93b05c6da2f [2021-05-14T11:47:19.209Z] ---> fe28d019e7ee [2021-05-14T11:47:19.209Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-05-14T11:47:19.209Z] ---> Running in 7ee60284607c [2021-05-14T11:47:21.192Z] Removing intermediate container 7ee60284607c [2021-05-14T11:47:21.193Z] ---> cfacf775d89a [2021-05-14T11:47:21.193Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-05-14T11:47:21.270Z] 6059c847ac2f: Pull complete [2021-05-14T11:47:21.270Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-05-14T11:47:21.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-05-14T11:47:21.270Z] ---> 5eabd8fd8ba2 [2021-05-14T11:47:21.270Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-14T11:47:21.791Z] ---> dbcdb29169d1 [2021-05-14T11:47:21.791Z] Step 10/25 : COPY src /tmp/sdk/src [2021-05-14T11:47:22.677Z] ---> Running in b924ef8a156b [2021-05-14T11:47:22.774Z] ---> 07f3c322436d [2021-05-14T11:47:22.774Z] Step 11/25 : COPY include /tmp/sdk/include [2021-05-14T11:47:23.254Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-05-14T11:47:23.753Z] ---> fe4bcca4a214 [2021-05-14T11:47:23.753Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-05-14T11:47:23.851Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-05-14T11:47:23.851Z] [2021-05-14T11:47:24.351Z] ---> 9d73a2528cbc [2021-05-14T11:47:24.351Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-05-14T11:47:24.432Z] Removing intermediate container b924ef8a156b [2021-05-14T11:47:24.432Z] ---> 1da6573f5b24 [2021-05-14T11:47:24.432Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-14T11:47:24.432Z] ---> Running in b5236a313c3f [2021-05-14T11:47:24.982Z] ---> 2958b240b7e2 [2021-05-14T11:47:24.982Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-05-14T11:47:25.393Z] Removing intermediate container b5236a313c3f [2021-05-14T11:47:25.393Z] ---> 48c1c872f4b7 [2021-05-14T11:47:25.393Z] Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev [2021-05-14T11:47:25.393Z] ---> Running in b6b7a0d31b9e [2021-05-14T11:47:25.585Z] ---> 2d6564157cba [2021-05-14T11:47:25.585Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-05-14T11:47:25.657Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-05-14T11:47:25.859Z] ---> Running in 0bf4852d8d31 [2021-05-14T11:47:26.609Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-05-14T11:47:26.842Z] + CPPCHECK=false [2021-05-14T11:47:26.842Z] + DOCGEN=false [2021-05-14T11:47:26.842Z] + TOMLVER=SDK-0.2 [2021-05-14T11:47:26.842Z] + CUTILVER=1.1.4 [2021-05-14T11:47:26.842Z] + '[' 0 -gt 0 ] [2021-05-14T11:47:26.842Z] + readlink -f ./scripts/build.sh [2021-05-14T11:47:26.842Z] + dirname /tmp/sdk/scripts/build.sh [2021-05-14T11:47:26.842Z] + dirname /tmp/sdk/scripts [2021-05-14T11:47:26.842Z] + ROOT=/tmp/sdk [2021-05-14T11:47:26.842Z] + cd /tmp/sdk [2021-05-14T11:47:26.842Z] + '[' '!' -d deps ] [2021-05-14T11:47:26.842Z] + mkdir deps [2021-05-14T11:47:26.842Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz -x [2021-05-14T11:47:26.842Z] -f - [2021-05-14T11:47:26.842Z] --2021-05-14 11:47:26-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-05-14T11:47:27.113Z] Resolving github.com... 140.82.113.4 [2021-05-14T11:47:27.113Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-05-14T11:47:27.113Z] HTTP request sent, awaiting response... 302 Found [2021-05-14T11:47:27.113Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-05-14T11:47:27.113Z] --2021-05-14 11:47:26-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-05-14T11:47:27.113Z] Resolving codeload.github.com... 140.82.112.10 [2021-05-14T11:47:27.113Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2021-05-14T11:47:27.184Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-05-14T11:47:27.384Z] HTTP request sent, awaiting response... 200 OK [2021-05-14T11:47:27.384Z] Length: unspecified [application/x-gzip] [2021-05-14T11:47:27.384Z] Saving to: 'STDOUT' [2021-05-14T11:47:27.384Z]  [2021-05-14T11:47:27.384Z] 0K .......... ...... 1.00M=0.02s [2021-05-14T11:47:27.384Z] [2021-05-14T11:47:27.384Z] 2021-05-14 11:47:27 (1.00 MB/s) - written to stdout [16451] [2021-05-14T11:47:27.384Z] [2021-05-14T11:47:27.384Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-05-14T11:47:27.384Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-05-14T11:47:27.384Z] + tar -C deps -z -x -f - [2021-05-14T11:47:27.384Z] --2021-05-14 11:47:27-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-05-14T11:47:27.384Z] Resolving github.com... 140.82.113.4 [2021-05-14T11:47:27.384Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-05-14T11:47:27.384Z] HTTP request sent, awaiting response... 302 Found [2021-05-14T11:47:27.384Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-05-14T11:47:27.384Z] --2021-05-14 11:47:27-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-05-14T11:47:27.384Z] Resolving codeload.github.com... 140.82.112.10 [2021-05-14T11:47:27.657Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2021-05-14T11:47:27.657Z] HTTP request sent, awaiting response... 200 OK [2021-05-14T11:47:27.657Z] Length: unspecified [application/x-gzip] [2021-05-14T11:47:27.657Z] Saving to: 'STDOUT' [2021-05-14T11:47:27.657Z]  [2021-05-14T11:47:27.657Z] 0K .......... .......... .......... .......... .......... 1.44M [2021-05-14T11:47:27.657Z] 50K .......... .......... .......... .......... .......... 2.70M [2021-05-14T11:47:27.657Z] 100K .......... .......... .......... .......... .......... 8.51M [2021-05-14T11:47:27.657Z] 150K .......... .......... ....... 1.64M=0.07s [2021-05-14T11:47:27.657Z] [2021-05-14T11:47:27.657Z] 2021-05-14 11:47:27 (2.34 MB/s) - written to stdout [181796] [2021-05-14T11:47:27.657Z] [2021-05-14T11:47:27.759Z] (1/11) Installing hiredis (0.14.0-r0) [2021-05-14T11:47:27.759Z] (2/11) Installing hiredis-dev (0.14.0-r0) [2021-05-14T11:47:27.759Z] (3/11) Installing ncurses-dev (6.1_p20190105-r0) [2021-05-14T11:47:27.930Z] + mkdir -p src/c/iot [2021-05-14T11:47:27.930Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-05-14T11:47:27.930Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-05-14T11:47:27.930Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-05-14T11:47:27.930Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-05-14T11:47:27.930Z] + mkdir -p include/iot [2021-05-14T11:47:27.930Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-05-14T11:47:27.930Z] + mkdir -p include/iot/os [2021-05-14T11:47:27.930Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-05-14T11:47:27.930Z] + mkdir -p /tmp/sdk/build/release [2021-05-14T11:47:27.930Z] + cd /tmp/sdk/build/release [2021-05-14T11:47:27.930Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-05-14T11:47:28.024Z] (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-05-14T11:47:28.203Z] -- The C compiler identification is GNU 8.3.0 [2021-05-14T11:47:28.203Z] -- Check for working C compiler: /usr/bin/cc [2021-05-14T11:47:28.477Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-14T11:47:28.477Z] -- Detecting C compiler ABI info [2021-05-14T11:47:28.753Z] -- Detecting C compiler ABI info - done [2021-05-14T11:47:28.753Z] -- Detecting C compile features [2021-05-14T11:47:29.351Z] -- Detecting C compile features - done [2021-05-14T11:47:29.351Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-05-14T11:47:29.351Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-05-14T11:47:29.419Z] (5/11) Installing libuuid (2.33-r0) [2021-05-14T11:47:29.420Z] (6/11) Installing libblkid (2.33-r0) [2021-05-14T11:47:29.624Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-05-14T11:47:29.624Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-05-14T11:47:29.624Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-05-14T11:47:29.624Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-05-14T11:47:29.624Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-05-14T11:47:29.624Z] -- C SDK 0.0.0 for Linux [2021-05-14T11:47:29.624Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-05-14T11:47:29.682Z] (7/11) Installing libfdisk (2.33-r0) [2021-05-14T11:47:29.682Z] (8/11) Installing libmount (2.33-r0) [2021-05-14T11:47:29.898Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-05-14T11:47:29.898Z] -- Found Curses: /usr/lib/libcurses.so [2021-05-14T11:47:29.898Z] -- Configuring done [2021-05-14T11:47:29.947Z] (9/11) Installing libsmartcols (2.33-r0) [2021-05-14T11:47:29.947Z] (10/11) Installing util-linux-dev (2.33-r0) [2021-05-14T11:47:30.171Z] -- Generating done [2021-05-14T11:47:30.171Z] -- Build files have been written to: /tmp/sdk/build/release [2021-05-14T11:47:30.171Z] + make all package [2021-05-14T11:47:30.171Z] + tee release.log [2021-05-14T11:47:30.171Z] Scanning dependencies of target csdk [2021-05-14T11:47:30.444Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-05-14T11:47:30.524Z] (11/11) Installing wget (1.20.3-r0) [2021-05-14T11:47:30.525Z] Executing busybox-1.29.3-r10.trigger [2021-05-14T11:47:30.525Z] OK: 273 MiB in 86 packages [2021-05-14T11:47:31.037Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-05-14T11:47:31.101Z] Removing intermediate container b6b7a0d31b9e [2021-05-14T11:47:31.101Z] ---> d3cfca6c8ec1 [2021-05-14T11:47:31.101Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-05-14T11:47:31.101Z] ---> Running in a362556d64a2 [2021-05-14T11:47:31.365Z] Removing intermediate container a362556d64a2 [2021-05-14T11:47:31.365Z] ---> 482ad1660a41 [2021-05-14T11:47:31.365Z] Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-05-14T11:47:31.365Z] ---> Running in 947675c58a22 [2021-05-14T11:47:31.631Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-05-14T11:47:31.940Z] --2021-05-14 11:47:31-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-05-14T11:47:31.940Z] Resolving github.com... 140.82.113.4 [2021-05-14T11:47:31.940Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-05-14T11:47:31.940Z] HTTP request sent, awaiting response... 302 Found [2021-05-14T11:47:31.940Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-05-14T11:47:31.940Z] --2021-05-14 11:47:31-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-05-14T11:47:31.940Z] Resolving codeload.github.com... 140.82.112.10 [2021-05-14T11:47:31.940Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2021-05-14T11:47:32.203Z] HTTP request sent, awaiting response... 200 OK [2021-05-14T11:47:32.203Z] Length: unspecified [application/x-gzip] [2021-05-14T11:47:32.203Z] Saving to: 'STDOUT' [2021-05-14T11:47:32.203Z]  [2021-05-14T11:47:32.203Z] 0K .......... .......... .......... .......... .......... 1.43M [2021-05-14T11:47:32.203Z] 50K .......... .......... .......... .......... .......... 2.93M [2021-05-14T11:47:32.203Z] 100K .......... .......... .......... .......... .......... 35.1M [2021-05-14T11:47:32.203Z] 150K .......... .......... .......... .......... .......... 3.25M [2021-05-14T11:47:32.203Z] 200K .......... .......... .......... .......... .......... 25.6M [2021-05-14T11:47:32.203Z] 250K .......... .......... .......... .......... .......... 14.3M [2021-05-14T11:47:32.203Z] 300K .......... .......... .......... .......... .......... 4.13M [2021-05-14T11:47:32.203Z] 350K .......... .......... .......... .......... .......... 59.2M [2021-05-14T11:47:32.203Z] 400K .......... .......... .......... .......... .......... 8.36M [2021-05-14T11:47:32.203Z] 450K .......... .......... .......... .......... .......... 8.29M [2021-05-14T11:47:32.203Z] 500K .......... .......... .......... .......... .......... 9.19M [2021-05-14T11:47:32.203Z] 550K .......... .......... .......... .......... .......... 7.77M [2021-05-14T11:47:32.203Z] 600K .......... .......... .......... .......... .......... 2.15M [2021-05-14T11:47:32.203Z] 650K .......... .......... .......... .......... .......... 4.92M [2021-05-14T11:47:32.203Z] 700K .. 875K=0.1s [2021-05-14T11:47:32.203Z] [2021-05-14T11:47:32.203Z] 2021-05-14 11:47:32 (4.76 MB/s) - written to stdout [719348] [2021-05-14T11:47:32.203Z] [2021-05-14T11:47:32.471Z] -- The C compiler identification is GNU 8.3.0 [2021-05-14T11:47:32.471Z] -- The CXX compiler identification is GNU 8.3.0 [2021-05-14T11:47:32.471Z] -- Check for working C compiler: /usr/bin/cc [2021-05-14T11:47:32.471Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-14T11:47:32.471Z] -- Detecting C compiler ABI info [2021-05-14T11:47:32.734Z] -- Detecting C compiler ABI info - done [2021-05-14T11:47:32.734Z] -- Detecting C compile features [2021-05-14T11:47:32.997Z] -- Detecting C compile features - done [2021-05-14T11:47:32.997Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-05-14T11:47:32.997Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-05-14T11:47:32.997Z] -- Detecting CXX compiler ABI info [2021-05-14T11:47:32.997Z] -- Detecting CXX compiler ABI info - done [2021-05-14T11:47:32.997Z] -- Detecting CXX compile features [2021-05-14T11:47:33.065Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-05-14T11:47:33.574Z] -- Detecting CXX compile features - done [2021-05-14T11:47:33.574Z] -- Looking for include file endian.h [2021-05-14T11:47:33.574Z] -- Looking for include file endian.h - found [2021-05-14T11:47:33.574Z] -- Check if the system is big endian [2021-05-14T11:47:33.574Z] -- Searching 16 bit integer [2021-05-14T11:47:33.574Z] -- Looking for sys/types.h [2021-05-14T11:47:33.839Z] -- Looking for sys/types.h - found [2021-05-14T11:47:33.839Z] -- Looking for stdint.h [2021-05-14T11:47:33.839Z] -- Looking for stdint.h - found [2021-05-14T11:47:33.839Z] -- Looking for stddef.h [2021-05-14T11:47:33.839Z] -- Looking for stddef.h - found [2021-05-14T11:47:33.839Z] -- Check size of unsigned short [2021-05-14T11:47:33.839Z] -- Check size of unsigned short - done [2021-05-14T11:47:33.839Z] -- Using unsigned short [2021-05-14T11:47:34.041Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-05-14T11:47:34.042Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-05-14T11:47:34.101Z] -- Check if the system is big endian - little endian [2021-05-14T11:47:34.101Z] -- Check size of size_t [2021-05-14T11:47:34.101Z] -- Check size of size_t - done [2021-05-14T11:47:34.101Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-05-14T11:47:34.101Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-05-14T11:47:34.101Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-05-14T11:47:34.101Z] CMake did not find one. [2021-05-14T11:47:34.101Z] [2021-05-14T11:47:34.101Z] Could not find a package configuration file provided by "cJSON" with any of [2021-05-14T11:47:34.101Z] the following names: [2021-05-14T11:47:34.101Z] [2021-05-14T11:47:34.101Z] cJSONConfig.cmake [2021-05-14T11:47:34.101Z] cjson-config.cmake [2021-05-14T11:47:34.101Z] [2021-05-14T11:47:34.101Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-05-14T11:47:34.101Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-05-14T11:47:34.101Z] provides a separate development package or SDK, be sure it has been [2021-05-14T11:47:34.101Z] installed. [2021-05-14T11:47:34.101Z] [2021-05-14T11:47:34.101Z] [2021-05-14T11:47:34.101Z] -- Configuring done [2021-05-14T11:47:34.364Z] -- Generating done [2021-05-14T11:47:34.364Z] -- Build files have been written to: /tmp/cbor [2021-05-14T11:47:34.364Z] Scanning dependencies of target cbor_shared [2021-05-14T11:47:34.364Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-05-14T11:47:34.364Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-05-14T11:47:34.628Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-05-14T11:47:34.628Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-05-14T11:47:34.634Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-05-14T11:47:34.891Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-05-14T11:47:34.891Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-05-14T11:47:34.891Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-05-14T11:47:35.154Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-05-14T11:47:35.154Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-05-14T11:47:35.154Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-05-14T11:47:35.231Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-05-14T11:47:35.231Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-05-14T11:47:35.417Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-05-14T11:47:35.417Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-05-14T11:47:35.417Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-05-14T11:47:35.682Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-05-14T11:47:35.682Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-05-14T11:47:35.682Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-05-14T11:47:35.946Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-05-14T11:47:35.946Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-05-14T11:47:35.946Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-05-14T11:47:35.946Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-05-14T11:47:36.202Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-05-14T11:47:36.208Z] [ 40%] Linking C shared library libcbor.so [2021-05-14T11:47:36.208Z] [ 40%] Built target cbor_shared [2021-05-14T11:47:36.208Z] Scanning dependencies of target cbor [2021-05-14T11:47:36.208Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-05-14T11:47:36.471Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-05-14T11:47:36.471Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-05-14T11:47:36.735Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-05-14T11:47:36.999Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-05-14T11:47:36.999Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-05-14T11:47:36.999Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-05-14T11:47:36.999Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-05-14T11:47:36.999Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-05-14T11:47:37.263Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-05-14T11:47:37.528Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-05-14T11:47:37.528Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-05-14T11:47:37.528Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-05-14T11:47:37.624Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-05-14T11:47:37.791Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-05-14T11:47:37.791Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-05-14T11:47:37.791Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-05-14T11:47:38.054Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-05-14T11:47:38.054Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-05-14T11:47:38.054Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-05-14T11:47:38.212Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-05-14T11:47:38.318Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-05-14T11:47:38.318Z] [ 80%] Linking C static library libcbor.a [2021-05-14T11:47:38.318Z] [ 80%] Built target cbor [2021-05-14T11:47:38.318Z] Scanning dependencies of target create_items [2021-05-14T11:47:38.318Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-05-14T11:47:38.318Z] [ 84%] Linking C executable create_items [2021-05-14T11:47:38.318Z] [ 84%] Built target create_items [2021-05-14T11:47:38.318Z] Scanning dependencies of target readfile [2021-05-14T11:47:38.318Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-05-14T11:47:38.579Z] [ 88%] Linking C executable readfile [2021-05-14T11:47:38.579Z] [ 88%] Built target readfile [2021-05-14T11:47:38.579Z] Scanning dependencies of target streaming_parser [2021-05-14T11:47:38.579Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-05-14T11:47:38.579Z] [ 92%] Linking C executable streaming_parser [2021-05-14T11:47:38.579Z] [ 92%] Built target streaming_parser [2021-05-14T11:47:38.579Z] Scanning dependencies of target sort [2021-05-14T11:47:38.579Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-05-14T11:47:38.579Z] [ 96%] Linking C executable sort [2021-05-14T11:47:38.802Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-05-14T11:47:38.843Z] [ 96%] Built target sort [2021-05-14T11:47:38.843Z] Scanning dependencies of target hello [2021-05-14T11:47:38.843Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-05-14T11:47:38.843Z] [100%] Linking C executable hello [2021-05-14T11:47:38.843Z] [100%] Built target hello [2021-05-14T11:47:38.843Z] Install the project... [2021-05-14T11:47:38.843Z] -- Install configuration: "Release" [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/lib64/libcbor.a [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/lib64/libcbor.so [2021-05-14T11:47:38.843Z] -- Up-to-date: /usr/local/include/cbor [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/common.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/data.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/internal [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/ints.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/maps.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/strings.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor/tags.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/include/cbor.h [2021-05-14T11:47:38.843Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-05-14T11:47:39.396Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-05-14T11:47:39.671Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-05-14T11:47:39.671Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-05-14T11:47:39.945Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-05-14T11:47:41.406Z] Removing intermediate container 947675c58a22 [2021-05-14T11:47:41.407Z] ---> b7cad25a1ca7 [2021-05-14T11:47:41.407Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-05-14T11:47:41.407Z] ---> Running in 2a3181834c6b [2021-05-14T11:47:42.363Z] Removing intermediate container 2a3181834c6b [2021-05-14T11:47:42.363Z] ---> 7a459d8b35fa [2021-05-14T11:47:42.363Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-05-14T11:47:42.548Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-05-14T11:47:42.633Z] ---> a85e74916bc4 [2021-05-14T11:47:42.633Z] Step 10/25 : COPY src /tmp/sdk/src [2021-05-14T11:47:42.826Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-05-14T11:47:43.098Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-05-14T11:47:43.369Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-05-14T11:47:43.584Z] ---> 77b5d7654cdd [2021-05-14T11:47:43.584Z] Step 11/25 : COPY include /tmp/sdk/include [2021-05-14T11:47:43.643Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-05-14T11:47:43.848Z] ---> 2845dbe23ac3 [2021-05-14T11:47:43.848Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-05-14T11:47:44.111Z] ---> 1497d86d0295 [2021-05-14T11:47:44.111Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-05-14T11:47:44.376Z] ---> 408534188d98 [2021-05-14T11:47:44.376Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-05-14T11:47:44.376Z] ---> 7e0ee0b329f9 [2021-05-14T11:47:44.376Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-05-14T11:47:44.617Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-05-14T11:47:44.639Z] ---> Running in d591b63b6225 [2021-05-14T11:47:44.902Z] + CPPCHECK=false [2021-05-14T11:47:44.902Z] + DOCGEN=false [2021-05-14T11:47:44.902Z] + TOMLVER=SDK-0.2 [2021-05-14T11:47:44.902Z] + CUTILVER=1.1.4 [2021-05-14T11:47:44.902Z] + '[' 0 -gt 0 ] [2021-05-14T11:47:44.902Z] + readlink -f ./scripts/build.sh [2021-05-14T11:47:44.902Z] + dirname /tmp/sdk/scripts/build.sh [2021-05-14T11:47:44.902Z] + dirname /tmp/sdk/scripts [2021-05-14T11:47:44.902Z] + ROOT=/tmp/sdk [2021-05-14T11:47:44.902Z] + cd /tmp/sdk [2021-05-14T11:47:44.902Z] + '[' '!' -d deps ] [2021-05-14T11:47:44.902Z] + mkdir deps [2021-05-14T11:47:44.902Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-05-14T11:47:44.902Z] + tar -C deps -z -x -f - [2021-05-14T11:47:44.902Z] --2021-05-14 11:47:44-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-05-14T11:47:44.902Z] Resolving github.com... 140.82.113.4 [2021-05-14T11:47:44.902Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-05-14T11:47:44.902Z] HTTP request sent, awaiting response... 302 Found [2021-05-14T11:47:44.902Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-05-14T11:47:44.902Z] --2021-05-14 11:47:44-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-05-14T11:47:44.902Z] Resolving codeload.github.com... 140.82.112.10 [2021-05-14T11:47:45.166Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2021-05-14T11:47:45.166Z] HTTP request sent, awaiting response... 200 OK [2021-05-14T11:47:45.166Z] Length: unspecified [application/x-gzip] [2021-05-14T11:47:45.166Z] Saving to: 'STDOUT' [2021-05-14T11:47:45.166Z]  [2021-05-14T11:47:45.166Z] 0K .......... ......  1.05M=0.01s [2021-05-14T11:47:45.166Z] [2021-05-14T11:47:45.166Z] 2021-05-14 11:47:44 (1.05 MB/s) - written to stdout [16451] [2021-05-14T11:47:45.166Z] [2021-05-14T11:47:45.166Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-05-14T11:47:45.166Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-05-14T11:47:45.166Z] + tar -C deps -z -x -f - [2021-05-14T11:47:45.166Z] --2021-05-14 11:47:44-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-05-14T11:47:45.166Z] Resolving github.com... 140.82.113.4 [2021-05-14T11:47:45.166Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-05-14T11:47:45.166Z] HTTP request sent, awaiting response... 302 Found [2021-05-14T11:47:45.166Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-05-14T11:47:45.166Z] --2021-05-14 11:47:45-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-05-14T11:47:45.166Z] Resolving codeload.github.com... 140.82.112.10 [2021-05-14T11:47:45.166Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2021-05-14T11:47:45.430Z] HTTP request sent, awaiting response... 200 OK [2021-05-14T11:47:45.430Z] Length: unspecified [application/x-gzip] [2021-05-14T11:47:45.430Z] Saving to: 'STDOUT' [2021-05-14T11:47:45.430Z]  [2021-05-14T11:47:45.430Z] 0K .......... .......... .......... .......... .......... 1.54M [2021-05-14T11:47:45.430Z] 50K .......... .......... .......... .......... .......... 3.05M [2021-05-14T11:47:45.430Z] 100K .......... .......... .......... .......... .......... 41.3M [2021-05-14T11:47:45.430Z] 150K .......... .......... ....... 4.49M=0.05s [2021-05-14T11:47:45.430Z] [2021-05-14T11:47:45.430Z] 2021-05-14 11:47:45 (3.15 MB/s) - written to stdout [181796] [2021-05-14T11:47:45.430Z] [2021-05-14T11:47:45.430Z] + mkdir -p src/c/iot [2021-05-14T11:47:45.430Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-05-14T11:47:45.430Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-05-14T11:47:45.430Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-05-14T11:47:45.430Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-05-14T11:47:45.430Z] + mkdir -p include/iot [2021-05-14T11:47:45.430Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-05-14T11:47:45.430Z] + mkdir -p include/iot/os [2021-05-14T11:47:45.430Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-05-14T11:47:45.430Z] + mkdir -p /tmp/sdk/build/release [2021-05-14T11:47:45.430Z] + cd /tmp/sdk/build/release [2021-05-14T11:47:45.430Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-05-14T11:47:45.430Z] -- The C compiler identification is GNU 8.3.0 [2021-05-14T11:47:45.430Z] -- Check for working C compiler: /usr/bin/cc [2021-05-14T11:47:45.693Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-14T11:47:45.693Z] -- Detecting C compiler ABI info [2021-05-14T11:47:45.693Z] -- Detecting C compiler ABI info - done [2021-05-14T11:47:45.693Z] -- Detecting C compile features [2021-05-14T11:47:45.957Z] -- Detecting C compile features - done [2021-05-14T11:47:45.957Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-05-14T11:47:45.957Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-05-14T11:47:45.957Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-05-14T11:47:45.957Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-05-14T11:47:45.957Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-05-14T11:47:45.957Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-05-14T11:47:45.957Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-05-14T11:47:45.957Z] -- C SDK 0.0.0 for Linux [2021-05-14T11:47:45.957Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-05-14T11:47:45.957Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-05-14T11:47:45.957Z] -- Found Curses: /usr/lib/libcurses.so [2021-05-14T11:47:45.957Z] -- Configuring done [2021-05-14T11:47:46.219Z] -- Generating done [2021-05-14T11:47:46.219Z] -- Build files have been written to: /tmp/sdk/build/release [2021-05-14T11:47:46.219Z] + make all package [2021-05-14T11:47:46.219Z] + tee release.log [2021-05-14T11:47:46.219Z] Scanning dependencies of target csdk [2021-05-14T11:47:46.219Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-05-14T11:47:46.483Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-05-14T11:47:46.483Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-05-14T11:47:47.060Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-05-14T11:47:47.060Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-05-14T11:47:47.222Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-05-14T11:47:47.222Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-05-14T11:47:47.222Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-05-14T11:47:47.323Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-05-14T11:47:47.324Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-05-14T11:47:47.586Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-05-14T11:47:47.586Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-05-14T11:47:47.811Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-05-14T11:47:47.850Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-05-14T11:47:48.085Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-05-14T11:47:48.112Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-05-14T11:47:48.359Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-05-14T11:47:48.375Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-05-14T11:47:48.637Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-05-14T11:47:48.637Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-05-14T11:47:48.903Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-05-14T11:47:48.903Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-05-14T11:47:48.903Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-05-14T11:47:49.329Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-05-14T11:47:49.479Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-05-14T11:47:49.599Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-05-14T11:47:49.743Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-05-14T11:47:49.743Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-05-14T11:47:49.743Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-05-14T11:47:50.009Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-05-14T11:47:50.207Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-05-14T11:47:50.207Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-05-14T11:47:50.273Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-05-14T11:47:50.849Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-05-14T11:47:50.849Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-05-14T11:47:50.849Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-05-14T11:47:51.169Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-05-14T11:47:51.169Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-05-14T11:47:51.169Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-05-14T11:47:51.448Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-05-14T11:47:51.448Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-05-14T11:47:51.711Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-05-14T11:47:51.711Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-05-14T11:47:52.170Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-05-14T11:47:52.289Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-05-14T11:47:52.289Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-05-14T11:47:52.442Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-05-14T11:47:52.551Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-05-14T11:47:52.551Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-05-14T11:47:53.428Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-05-14T11:47:53.428Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-05-14T11:47:53.946Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-05-14T11:47:53.946Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-05-14T11:47:53.946Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-05-14T11:47:54.210Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-05-14T11:47:54.210Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-05-14T11:47:54.785Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-05-14T11:47:55.049Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-05-14T11:47:56.000Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-05-14T11:47:56.263Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-05-14T11:47:56.263Z] [ 74%] Linking C shared library libcsdk.so [2021-05-14T11:47:56.263Z] [ 74%] Built target csdk [2021-05-14T11:47:56.263Z] Scanning dependencies of target template [2021-05-14T11:47:56.263Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-05-14T11:47:56.527Z] [ 77%] Linking C executable template [2021-05-14T11:47:56.527Z] [ 77%] Built target template [2021-05-14T11:47:56.527Z] Scanning dependencies of target device-counter [2021-05-14T11:47:56.527Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-05-14T11:47:56.794Z] [ 80%] Linking C executable device-counter [2021-05-14T11:47:56.794Z] [ 80%] Built target device-counter [2021-05-14T11:47:56.794Z] Scanning dependencies of target device-random [2021-05-14T11:47:56.794Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-05-14T11:47:57.058Z] [ 84%] Linking C executable device-random [2021-05-14T11:47:57.058Z] [ 84%] Built target device-random [2021-05-14T11:47:57.058Z] Scanning dependencies of target device-gyro [2021-05-14T11:47:57.058Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-05-14T11:47:57.058Z] [ 87%] Linking C executable device-gyro [2021-05-14T11:47:57.325Z] [ 87%] Built target device-gyro [2021-05-14T11:47:57.325Z] Scanning dependencies of target device-bitfields [2021-05-14T11:47:57.325Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-05-14T11:47:57.325Z] [ 90%] Linking C executable device-bitfields [2021-05-14T11:47:57.325Z] [ 90%] Built target device-bitfields [2021-05-14T11:47:57.325Z] Scanning dependencies of target template-discovery [2021-05-14T11:47:57.589Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-05-14T11:47:57.589Z] [ 93%] Linking C executable template-discovery [2021-05-14T11:47:57.589Z] [ 93%] Built target template-discovery [2021-05-14T11:47:57.589Z] Scanning dependencies of target device-file [2021-05-14T11:47:57.713Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-05-14T11:47:57.853Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-05-14T11:47:57.853Z] [ 96%] Linking C executable device-file [2021-05-14T11:47:57.853Z] [ 96%] Built target device-file [2021-05-14T11:47:57.853Z] Scanning dependencies of target device-terminal [2021-05-14T11:47:57.853Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-05-14T11:47:57.987Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-05-14T11:47:58.117Z] [100%] Linking C executable device-terminal [2021-05-14T11:47:58.117Z] [100%] Built target device-terminal [2021-05-14T11:47:58.117Z] Run CPack packaging tool... [2021-05-14T11:47:58.117Z] CPack: Create package using TGZ [2021-05-14T11:47:58.117Z] CPack: Install projects [2021-05-14T11:47:58.117Z] CPack: - Run preinstall target for: Csdk [2021-05-14T11:47:58.260Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-05-14T11:47:58.380Z] CPack: - Install project: Csdk [2021-05-14T11:47:58.380Z] CPack: Create package [2021-05-14T11:47:58.644Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-05-14T11:47:58.644Z] + '[' false '=' true ] [2021-05-14T11:47:58.644Z] + '[' false '=' true ] [2021-05-14T11:47:58.644Z] + mkdir -p /tmp/sdk/build/debug [2021-05-14T11:47:58.644Z] + cd /tmp/sdk/build/debug [2021-05-14T11:47:58.644Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-05-14T11:47:58.644Z] -- The C compiler identification is GNU 8.3.0 [2021-05-14T11:47:58.644Z] -- Check for working C compiler: /usr/bin/cc [2021-05-14T11:47:58.644Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-14T11:47:58.644Z] -- Detecting C compiler ABI info [2021-05-14T11:47:58.644Z] -- Detecting C compiler ABI info - done [2021-05-14T11:47:58.855Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-05-14T11:47:58.906Z] -- Detecting C compile features [2021-05-14T11:47:59.169Z] -- Detecting C compile features - done [2021-05-14T11:47:59.169Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-05-14T11:47:59.169Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-05-14T11:47:59.169Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-05-14T11:47:59.169Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-05-14T11:47:59.169Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-05-14T11:47:59.169Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-05-14T11:47:59.169Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-05-14T11:47:59.169Z] -- C SDK 0.0.0 for Linux [2021-05-14T11:47:59.169Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-05-14T11:47:59.169Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-05-14T11:47:59.169Z] -- Found Curses: /usr/lib/libcurses.so [2021-05-14T11:47:59.169Z] -- Configuring done [2021-05-14T11:47:59.169Z] -- Generating done [2021-05-14T11:47:59.169Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-05-14T11:47:59.169Z] + make [2021-05-14T11:47:59.169Z] + tee debug.log [2021-05-14T11:47:59.431Z] Scanning dependencies of target csdk [2021-05-14T11:47:59.431Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-05-14T11:47:59.431Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-05-14T11:47:59.431Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-05-14T11:47:59.450Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-05-14T11:47:59.693Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-05-14T11:47:59.694Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-05-14T11:47:59.956Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-05-14T11:47:59.956Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-05-14T11:47:59.956Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-05-14T11:47:59.956Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-05-14T11:48:00.220Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-05-14T11:48:00.220Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-05-14T11:48:00.483Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-05-14T11:48:00.483Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-05-14T11:48:00.483Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-05-14T11:48:00.746Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-05-14T11:48:00.746Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-05-14T11:48:00.746Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-05-14T11:48:01.009Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-05-14T11:48:01.009Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-05-14T11:48:01.009Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-05-14T11:48:01.274Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-05-14T11:48:01.274Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-05-14T11:48:01.274Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-05-14T11:48:01.418Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-05-14T11:48:01.536Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-05-14T11:48:01.537Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-05-14T11:48:01.804Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-05-14T11:48:01.804Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-05-14T11:48:01.804Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-05-14T11:48:01.804Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-05-14T11:48:02.067Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-05-14T11:48:02.067Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-05-14T11:48:02.067Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-05-14T11:48:02.067Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-05-14T11:48:02.331Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-05-14T11:48:02.331Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-05-14T11:48:02.331Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-05-14T11:48:02.596Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-05-14T11:48:02.846Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-05-14T11:48:02.859Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-05-14T11:48:02.859Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-05-14T11:48:02.860Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-05-14T11:48:03.120Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-05-14T11:48:03.120Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-05-14T11:48:03.382Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-05-14T11:48:03.644Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-05-14T11:48:03.644Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-05-14T11:48:03.905Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-05-14T11:48:03.905Z] [ 74%] Linking C shared library libcsdk.so [2021-05-14T11:48:03.905Z] [ 74%] Built target csdk [2021-05-14T11:48:03.905Z] Scanning dependencies of target template [2021-05-14T11:48:03.905Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-05-14T11:48:04.167Z] [ 77%] Linking C executable template [2021-05-14T11:48:04.168Z] [ 77%] Built target template [2021-05-14T11:48:04.168Z] Scanning dependencies of target device-counter [2021-05-14T11:48:04.168Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-05-14T11:48:04.168Z] [ 80%] Linking C executable device-counter [2021-05-14T11:48:04.430Z] [ 80%] Built target device-counter [2021-05-14T11:48:04.430Z] Scanning dependencies of target device-random [2021-05-14T11:48:04.430Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-05-14T11:48:04.430Z] [ 84%] Linking C executable device-random [2021-05-14T11:48:04.430Z] [ 84%] Built target device-random [2021-05-14T11:48:04.430Z] Scanning dependencies of target device-gyro [2021-05-14T11:48:04.430Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-05-14T11:48:04.696Z] [ 87%] Linking C executable device-gyro [2021-05-14T11:48:04.696Z] [ 87%] Built target device-gyro [2021-05-14T11:48:04.696Z] Scanning dependencies of target device-bitfields [2021-05-14T11:48:04.696Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-05-14T11:48:04.696Z] [ 90%] Linking C executable device-bitfields [2021-05-14T11:48:04.958Z] [ 90%] Built target device-bitfields [2021-05-14T11:48:04.958Z] Scanning dependencies of target template-discovery [2021-05-14T11:48:04.958Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-05-14T11:48:04.958Z] [ 93%] Linking C executable template-discovery [2021-05-14T11:48:04.958Z] [ 93%] Built target template-discovery [2021-05-14T11:48:04.958Z] Scanning dependencies of target device-file [2021-05-14T11:48:04.958Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-05-14T11:48:05.220Z] [ 96%] Linking C executable device-file [2021-05-14T11:48:05.220Z] [ 96%] Built target device-file [2021-05-14T11:48:05.220Z] Scanning dependencies of target device-terminal [2021-05-14T11:48:05.220Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-05-14T11:48:05.220Z] [100%] Linking C executable device-terminal [2021-05-14T11:48:05.487Z] [100%] Built target device-terminal [2021-05-14T11:48:05.487Z] make: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] [ 74%] Built target csdk [2021-05-14T11:48:05.487Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] [ 77%] Built target template [2021-05-14T11:48:05.487Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] [ 80%] Built target device-counter [2021-05-14T11:48:05.487Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] [ 84%] Built target device-random [2021-05-14T11:48:05.487Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] [ 87%] Built target device-gyro [2021-05-14T11:48:05.487Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] [ 90%] Built target device-bitfields [2021-05-14T11:48:05.487Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] [ 93%] Built target template-discovery [2021-05-14T11:48:05.487Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] [ 96%] Built target device-file [2021-05-14T11:48:05.487Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] [100%] Built target device-terminal [2021-05-14T11:48:05.487Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:05.487Z] Install the project... [2021-05-14T11:48:05.487Z] -- Install configuration: "Release" [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/lib/libcsdk.so [2021-05-14T11:48:05.487Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-05-14T11:48:05.487Z] -- Up-to-date: /usr/local/include [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/devsdk [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/edgex [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/edgex/devices.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/base64.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/component.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/config.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/container.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/data.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/hash.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/iot.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/json.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/logger.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/os.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/thread.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/time.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/typecode.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/os [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/include/iot/defs.h [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-05-14T11:48:05.487Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-05-14T11:48:05.487Z] make: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:06.217Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-05-14T11:48:06.490Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-05-14T11:48:07.084Z] [ 74%] Linking C shared library libcsdk.so [2021-05-14T11:48:07.084Z] [ 74%] Built target csdk [2021-05-14T11:48:07.084Z] Scanning dependencies of target template [2021-05-14T11:48:07.084Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-05-14T11:48:07.522Z] Removing intermediate container d591b63b6225 [2021-05-14T11:48:07.522Z] ---> 9a5637d8b4f3 [2021-05-14T11:48:07.522Z] Step 16/25 : FROM ${BASE} [2021-05-14T11:48:07.522Z] ---> 5eabd8fd8ba2 [2021-05-14T11:48:07.522Z] Step 17/25 : LABEL maintainer="IOTech " [2021-05-14T11:48:07.522Z] ---> Running in 973b1d1d38af [2021-05-14T11:48:07.678Z] [ 77%] Linking C executable template [2021-05-14T11:48:07.809Z] Removing intermediate container 973b1d1d38af [2021-05-14T11:48:07.809Z] ---> ba47f1565fe4 [2021-05-14T11:48:07.809Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-14T11:48:07.809Z] ---> Running in 60c45ebf43a7 [2021-05-14T11:48:07.952Z] [ 77%] Built target template [2021-05-14T11:48:07.952Z] Scanning dependencies of target device-counter [2021-05-14T11:48:07.952Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-05-14T11:48:08.560Z] [ 80%] Linking C executable device-counter [2021-05-14T11:48:08.808Z] Connecting to iotech.jfrog.io (54.74.239.58:443) [2021-05-14T11:48:08.832Z] [ 80%] Built target device-counter [2021-05-14T11:48:08.832Z] Scanning dependencies of target device-random [2021-05-14T11:48:08.832Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-05-14T11:48:09.106Z] [ 84%] Linking C executable device-random [2021-05-14T11:48:09.381Z] [ 84%] Built target device-random [2021-05-14T11:48:09.381Z] Scanning dependencies of target device-gyro [2021-05-14T11:48:09.381Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-05-14T11:48:09.404Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-05-14T11:48:09.404Z] [2021-05-14T11:48:09.665Z] Removing intermediate container 60c45ebf43a7 [2021-05-14T11:48:09.665Z] ---> 445770e23f32 [2021-05-14T11:48:09.666Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-14T11:48:09.666Z] ---> Running in a39a2956838e [2021-05-14T11:48:09.978Z] [ 87%] Linking C executable device-gyro [2021-05-14T11:48:10.253Z] [ 87%] Built target device-gyro [2021-05-14T11:48:10.253Z] Scanning dependencies of target device-bitfields [2021-05-14T11:48:10.253Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-05-14T11:48:10.525Z] [ 90%] Linking C executable device-bitfields [2021-05-14T11:48:10.627Z] Removing intermediate container a39a2956838e [2021-05-14T11:48:10.627Z] ---> 3f72f541842b [2021-05-14T11:48:10.627Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev [2021-05-14T11:48:10.627Z] ---> Running in 0b1988480083 [2021-05-14T11:48:10.799Z] [ 90%] Built target device-bitfields [2021-05-14T11:48:10.799Z] Scanning dependencies of target template-discovery [2021-05-14T11:48:10.799Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-05-14T11:48:10.896Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-05-14T11:48:11.395Z] [ 93%] Linking C executable template-discovery [2021-05-14T11:48:11.669Z] [ 93%] Built target template-discovery [2021-05-14T11:48:11.669Z] Scanning dependencies of target device-file [2021-05-14T11:48:11.669Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-05-14T11:48:11.847Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-05-14T11:48:12.110Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-05-14T11:48:12.269Z] [ 96%] Linking C executable device-file [2021-05-14T11:48:12.373Z] (1/6) Installing curl (7.64.0-r5) [2021-05-14T11:48:12.543Z] [ 96%] Built target device-file [2021-05-14T11:48:12.543Z] Scanning dependencies of target device-terminal [2021-05-14T11:48:12.543Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-05-14T11:48:12.636Z] (2/6) Installing hiredis (0.14.0-r0) [2021-05-14T11:48:12.636Z] (3/6) Installing hiredis-dev (0.14.0-r0) [2021-05-14T11:48:12.636Z] (4/6) Installing libuuid (2.33-r0) [2021-05-14T11:48:12.899Z] (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-05-14T11:48:13.139Z] [100%] Linking C executable device-terminal [2021-05-14T11:48:13.412Z] [100%] Built target device-terminal [2021-05-14T11:48:13.412Z] Run CPack packaging tool... [2021-05-14T11:48:13.412Z] CPack: Create package using TGZ [2021-05-14T11:48:13.412Z] CPack: Install projects [2021-05-14T11:48:13.412Z] CPack: - Run preinstall target for: Csdk [2021-05-14T11:48:14.007Z] CPack: - Install project: Csdk [2021-05-14T11:48:14.007Z] CPack: Create package [2021-05-14T11:48:14.007Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-05-14T11:48:14.007Z] + '[' false '=' true ] [2021-05-14T11:48:14.007Z] + '[' false '=' true ] [2021-05-14T11:48:14.007Z] + mkdir -p /tmp/sdk/build/debug [2021-05-14T11:48:14.007Z] + cd /tmp/sdk/build/debug [2021-05-14T11:48:14.007Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-05-14T11:48:14.282Z] -- The C compiler identification is GNU 8.3.0 [2021-05-14T11:48:14.297Z] (6/6) Installing wget (1.20.3-r0) [2021-05-14T11:48:14.297Z] Executing busybox-1.29.3-r10.trigger [2021-05-14T11:48:14.297Z] OK: 269 MiB in 81 packages [2021-05-14T11:48:14.554Z] -- Check for working C compiler: /usr/bin/cc [2021-05-14T11:48:14.554Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-14T11:48:14.554Z] -- Detecting C compiler ABI info [2021-05-14T11:48:14.828Z] -- Detecting C compiler ABI info - done [2021-05-14T11:48:14.828Z] -- Detecting C compile features [2021-05-14T11:48:14.872Z] Removing intermediate container 0b1988480083 [2021-05-14T11:48:14.872Z] ---> cddf43e11c54 [2021-05-14T11:48:14.872Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-05-14T11:48:15.137Z] ---> 6f57268f2e01 [2021-05-14T11:48:15.137Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-05-14T11:48:15.400Z] ---> 3f2359b0fe2a [2021-05-14T11:48:15.400Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-05-14T11:48:15.671Z] ---> 21fcde0b747c [2021-05-14T11:48:15.671Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-05-14T11:48:15.804Z] -- Detecting C compile features - done [2021-05-14T11:48:15.804Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-05-14T11:48:15.804Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-05-14T11:48:15.804Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-05-14T11:48:15.804Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-05-14T11:48:15.804Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-05-14T11:48:15.804Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-05-14T11:48:15.804Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-05-14T11:48:15.804Z] -- C SDK 0.0.0 for Linux [2021-05-14T11:48:15.804Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-05-14T11:48:15.935Z] ---> 90b9fc447e91 [2021-05-14T11:48:15.935Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-05-14T11:48:16.085Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-05-14T11:48:16.085Z] -- Found Curses: /usr/lib/libcurses.so [2021-05-14T11:48:16.085Z] -- Configuring done [2021-05-14T11:48:16.199Z] ---> a435617d2088 [2021-05-14T11:48:16.199Z] Successfully built a435617d2088 [2021-05-14T11:48:16.199Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2021-05-14T11:48:16.359Z] -- Generating done [2021-05-14T11:48:16.359Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-05-14T11:48:16.359Z] + make [2021-05-14T11:48:16.359Z] + tee debug.log [2021-05-14T11:48:16.359Z] Scanning dependencies of target csdk [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [2021-05-14T11:48:16.634Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [Pipeline] sh [2021-05-14T11:48:16.908Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-05-14T11:48:16.956Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-14T11:48:16.956Z] . [Pipeline] withDockerContainer [2021-05-14T11:48:17.094Z] prd-centos7-docker-4c-2g-128 does not seem to be running inside a container [2021-05-14T11:48:17.147Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-14T11:48:17.182Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-05-14T11:48:17.775Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-05-14T11:48:17.899Z] $ docker top d858b32b7e5aabe8aecf69d563b58e59296a777b49817abee3a5cb4d0de105bc -eo pid,comm [2021-05-14T11:48:18.048Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [Pipeline] { [Pipeline] sh [2021-05-14T11:48:18.324Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-05-14T11:48:18.466Z] + make test [2021-05-14T11:48:18.466Z] echo "make test" [2021-05-14T11:48:18.466Z] make test [Pipeline] } [2021-05-14T11:48:18.509Z] $ docker stop --time=1 d858b32b7e5aabe8aecf69d563b58e59296a777b49817abee3a5cb4d0de105bc [2021-05-14T11:48:18.598Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-05-14T11:48:18.869Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-05-14T11:48:19.141Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-05-14T11:48:19.419Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-05-14T11:48:19.904Z] $ docker rm -f d858b32b7e5aabe8aecf69d563b58e59296a777b49817abee3a5cb4d0de105bc [2021-05-14T11:48:20.011Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-05-14T11:48:20.286Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-05-14T11:48:20.558Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-05-14T11:48:20.830Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-05-14T11:48:21.102Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-05-14T11:48:21.102Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-05-14T11:48:21.375Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-05-14T11:48:21.972Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-05-14T11:48:22.245Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-05-14T11:48:22.517Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-05-14T11:48:22.795Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-05-14T11:48:22.795Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-05-14T11:48:23.069Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [Pipeline] sh [2021-05-14T11:48:23.563Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-14T11:48:23.884Z] + ls -al . [2021-05-14T11:48:23.884Z] total 160 [2021-05-14T11:48:23.884Z] drwxrwxr-x. 8 jenkins jenkins 260 May 14 11:47 . [2021-05-14T11:48:23.884Z] drwxrwxr-x. 4 jenkins jenkins 28 May 14 11:47 .. [2021-05-14T11:48:23.884Z] -rw-rw-r--. 1 jenkins jenkins 3104 May 14 11:47 Attribution.txt [2021-05-14T11:48:23.884Z] -rw-rw-r--. 1 jenkins jenkins 7200 May 14 11:47 CHANGES [2021-05-14T11:48:23.884Z] drwxrwxr-x. 2 jenkins jenkins 121 May 14 11:47 docs [2021-05-14T11:48:23.884Z] -rw-rw-r--. 1 jenkins jenkins 108574 May 14 11:47 Doxyfile [2021-05-14T11:48:23.884Z] drwxrwxr-x. 8 jenkins jenkins 179 May 14 11:47 .git [2021-05-14T11:48:23.884Z] drwxrwxr-x. 2 jenkins jenkins 81 May 14 11:47 .github [2021-05-14T11:48:23.884Z] -rw-rw-r--. 1 jenkins jenkins 176 May 14 11:47 .gitignore [2021-05-14T11:48:23.884Z] drwxrwxr-x. 4 jenkins jenkins 33 May 14 11:47 include [2021-05-14T11:48:23.884Z] -rw-rw-r--. 1 jenkins jenkins 784 May 14 11:47 Jenkinsfile [2021-05-14T11:48:23.884Z] -rw-rw-r--. 1 jenkins jenkins 10174 May 14 11:47 LICENSE [2021-05-14T11:48:23.884Z] -rw-rw-r--. 1 jenkins jenkins 444 May 14 11:47 Makefile [2021-05-14T11:48:23.884Z] -rw-rw-r--. 1 jenkins jenkins 4090 May 14 11:47 README.md [2021-05-14T11:48:23.884Z] -rw-rw-r--. 1 jenkins jenkins 6654 May 14 11:47 README.v2.md [2021-05-14T11:48:23.884Z] drwxrwxr-x. 2 jenkins jenkins 98 May 14 11:47 scripts [2021-05-14T11:48:23.884Z] drwxrwxr-x. 4 jenkins jenkins 50 May 14 11:47 src [2021-05-14T11:48:23.884Z] -rw-rw-r--. 1 jenkins jenkins 5 May 14 11:43 VERSION [Pipeline] isUnix [Pipeline] sh [2021-05-14T11:48:24.046Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-05-14T11:48:24.046Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-05-14T11:48:24.227Z] + 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=1f372fe1b9604ad24077a184209298837f6fff22 --label arch=amd64 --label version=0.0.0 . [2021-05-14T11:48:24.227Z] Sending build context to Docker daemon 2.507MB [2021-05-14T11:48:24.321Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-05-14T11:48:24.494Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-05-14T11:48:24.494Z] Step 2/17 : FROM ${BASE} [2021-05-14T11:48:24.494Z] ---> a435617d2088 [2021-05-14T11:48:24.494Z] Step 3/17 : LABEL maintainer="IOTech " [2021-05-14T11:48:24.594Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-05-14T11:48:24.868Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-05-14T11:48:24.868Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-05-14T11:48:25.072Z] ---> Running in f7557b96bc76 [2021-05-14T11:48:25.072Z] Removing intermediate container f7557b96bc76 [2021-05-14T11:48:25.072Z] ---> 08cb2f31a429 [2021-05-14T11:48:25.072Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-14T11:48:25.143Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-05-14T11:48:25.336Z] ---> Running in 3ebfb871821a [2021-05-14T11:48:25.419Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-05-14T11:48:25.600Z] --2021-05-14 11:48:25-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-05-14T11:48:25.600Z] Resolving iotech.jfrog.io... 54.229.110.245, 54.74.239.58, 34.243.182.113 [2021-05-14T11:48:25.693Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-05-14T11:48:25.863Z] Connecting to iotech.jfrog.io|54.229.110.245|:443... connected. [2021-05-14T11:48:25.965Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-05-14T11:48:26.127Z] HTTP request sent, awaiting response... 200 OK [2021-05-14T11:48:26.127Z] Length: 451 [application/octet-stream] [2021-05-14T11:48:26.127Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-05-14T11:48:26.127Z] [2021-05-14T11:48:26.127Z] 0K 100% 48.0M=0s [2021-05-14T11:48:26.127Z] [2021-05-14T11:48:26.127Z] 2021-05-14 11:48:25 (48.0 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-05-14T11:48:26.127Z] [2021-05-14T11:48:26.239Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-05-14T11:48:26.390Z] Removing intermediate container 3ebfb871821a [2021-05-14T11:48:26.390Z] ---> 59a67a402279 [2021-05-14T11:48:26.390Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-14T11:48:26.511Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-05-14T11:48:26.654Z] ---> Running in 97b259d5c151 [2021-05-14T11:48:26.784Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-05-14T11:48:27.055Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-05-14T11:48:27.235Z] Removing intermediate container 97b259d5c151 [2021-05-14T11:48:27.235Z] ---> efb772be7705 [2021-05-14T11:48:27.235Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-05-14T11:48:27.501Z] ---> Running in 4f14c305cbf7 [2021-05-14T11:48:27.765Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-05-14T11:48:28.030Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-05-14T11:48:28.304Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-05-14T11:48:28.580Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-05-14T11:48:28.718Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-05-14T11:48:28.854Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-05-14T11:48:29.129Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-05-14T11:48:29.673Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-05-14T11:48:29.937Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-05-14T11:48:29.937Z] (2/6) Installing libblkid (2.33-r0) [2021-05-14T11:48:30.114Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-05-14T11:48:30.200Z] (3/6) Installing libfdisk (2.33-r0) [2021-05-14T11:48:30.200Z] (4/6) Installing libmount (2.33-r0) [2021-05-14T11:48:30.200Z] (5/6) Installing libsmartcols (2.33-r0) [2021-05-14T11:48:30.388Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-05-14T11:48:30.463Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-05-14T11:48:30.729Z] Executing busybox-1.29.3-r10.trigger [2021-05-14T11:48:30.729Z] OK: 273 MiB in 87 packages [2021-05-14T11:48:31.309Z] Removing intermediate container 4f14c305cbf7 [2021-05-14T11:48:31.309Z] ---> 34b21ce0aeee [2021-05-14T11:48:31.309Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-05-14T11:48:31.367Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-05-14T11:48:31.367Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-05-14T11:48:31.579Z] ---> ca70c4b79911 [2021-05-14T11:48:31.579Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-05-14T11:48:31.642Z] [ 74%] Linking C shared library libcsdk.so [2021-05-14T11:48:31.915Z] [ 74%] Built target csdk [2021-05-14T11:48:31.915Z] Scanning dependencies of target template [2021-05-14T11:48:31.915Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-05-14T11:48:32.191Z] [ 77%] Linking C executable template [2021-05-14T11:48:32.464Z] [ 77%] Built target template [2021-05-14T11:48:32.464Z] Scanning dependencies of target device-counter [2021-05-14T11:48:32.464Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-05-14T11:48:32.532Z] ---> 9567f7680e41 [2021-05-14T11:48:32.532Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-05-14T11:48:32.532Z] ---> 4b2913bc4a70 [2021-05-14T11:48:32.532Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-05-14T11:48:32.739Z] [ 80%] Linking C executable device-counter [2021-05-14T11:48:32.795Z] ---> 6a7da7ae912a [2021-05-14T11:48:32.795Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-05-14T11:48:33.013Z] [ 80%] Built target device-counter [2021-05-14T11:48:33.013Z] Scanning dependencies of target device-random [2021-05-14T11:48:33.013Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-05-14T11:48:33.059Z] ---> 1210863d3375 [2021-05-14T11:48:33.059Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-05-14T11:48:33.287Z] [ 84%] Linking C executable device-random [2021-05-14T11:48:33.287Z] [ 84%] Built target device-random [2021-05-14T11:48:33.322Z] ---> 76eca651490b [2021-05-14T11:48:33.322Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-05-14T11:48:33.322Z] ---> Running in 85dfacbbc982 [2021-05-14T11:48:33.561Z] Scanning dependencies of target device-gyro [2021-05-14T11:48:33.562Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-05-14T11:48:33.562Z] [ 87%] Linking C executable device-gyro [2021-05-14T11:48:33.585Z] Removing intermediate container 85dfacbbc982 [2021-05-14T11:48:33.585Z] ---> 68ca24f0a7ba [2021-05-14T11:48:33.585Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-05-14T11:48:33.585Z] ---> Running in 99cddfc20e28 [2021-05-14T11:48:33.840Z] [ 87%] Built target device-gyro [2021-05-14T11:48:33.840Z] Scanning dependencies of target device-bitfields [2021-05-14T11:48:33.840Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-05-14T11:48:33.848Z] Removing intermediate container 99cddfc20e28 [2021-05-14T11:48:33.848Z] ---> 61c730d6457c [2021-05-14T11:48:33.848Z] Step 15/17 : LABEL arch=amd64 [2021-05-14T11:48:33.848Z] ---> Running in be738feb98d3 [2021-05-14T11:48:34.110Z] Removing intermediate container be738feb98d3 [2021-05-14T11:48:34.110Z] ---> 613fb9a52376 [2021-05-14T11:48:34.110Z] Step 16/17 : LABEL git_sha=1f372fe1b9604ad24077a184209298837f6fff22 [2021-05-14T11:48:34.110Z] ---> Running in b46332e10fc1 [2021-05-14T11:48:34.110Z] Removing intermediate container b46332e10fc1 [2021-05-14T11:48:34.110Z] ---> fa8defdf7df7 [2021-05-14T11:48:34.110Z] Step 17/17 : LABEL version=0.0.0 [2021-05-14T11:48:34.115Z] [ 90%] Linking C executable device-bitfields [2021-05-14T11:48:34.373Z] ---> Running in 06696735ee6f [2021-05-14T11:48:34.373Z] Removing intermediate container 06696735ee6f [2021-05-14T11:48:34.373Z] ---> 1df3ac64d290 [2021-05-14T11:48:34.373Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-14T11:48:34.373Z] Successfully built 1df3ac64d290 [2021-05-14T11:48:34.373Z] Successfully tagged device-sdk:latest [2021-05-14T11:48:34.391Z] [ 90%] Built target device-bitfields [2021-05-14T11:48:34.391Z] Scanning dependencies of target template-discovery [2021-05-14T11:48:34.391Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-05-14T11:48:34.665Z] [ 93%] Linking C executable template-discovery Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2021-05-14T11:48:34.938Z] [ 93%] Built target template-discovery [2021-05-14T11:48:34.938Z] Scanning dependencies of target device-file [2021-05-14T11:48:34.938Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [2021-05-14T11:48:35.212Z] [ 96%] Linking C executable device-file [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-14T11:48:35.488Z] [ 96%] Built target device-file [2021-05-14T11:48:35.488Z] Scanning dependencies of target device-terminal [2021-05-14T11:48:35.488Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-05-14T11:48:35.761Z] [100%] Linking C executable device-terminal [2021-05-14T11:48:36.035Z] [100%] Built target device-terminal [2021-05-14T11:48:36.035Z] make: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.035Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.035Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.035Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.309Z] [ 74%] Built target csdk [2021-05-14T11:48:36.309Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.309Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.309Z] [ 77%] Built target template [2021-05-14T11:48:36.309Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.309Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.309Z] [ 80%] Built target device-counter [2021-05-14T11:48:36.309Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.309Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.309Z] [ 84%] Built target device-random [2021-05-14T11:48:36.309Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.309Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.309Z] [ 87%] Built target device-gyro [2021-05-14T11:48:36.309Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.309Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.309Z] [ 90%] Built target device-bitfields [2021-05-14T11:48:36.309Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.309Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.581Z] [ 93%] Built target template-discovery [2021-05-14T11:48:36.581Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.581Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.581Z] [ 96%] Built target device-file [2021-05-14T11:48:36.581Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.581Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.581Z] [100%] Built target device-terminal [2021-05-14T11:48:36.581Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:36.581Z] Install the project... [2021-05-14T11:48:36.581Z] -- Install configuration: "Release" [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/lib/libcsdk.so [2021-05-14T11:48:36.581Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-05-14T11:48:36.581Z] -- Up-to-date: /usr/local/include [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/edgex [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/edgex/devices.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/devsdk [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/json.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/container.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/component.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/typecode.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/iot.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/time.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/hash.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/logger.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/os [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/data.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/thread.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/os.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/base64.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/defs.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/include/iot/config.h [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-05-14T11:48:36.581Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-05-14T11:48:36.581Z] make: Leaving directory '/tmp/sdk/build/release' [2021-05-14T11:48:38.559Z] Removing intermediate container 0bf4852d8d31 [2021-05-14T11:48:38.559Z] ---> 0d187af5954c [2021-05-14T11:48:38.559Z] Step 16/25 : FROM ${BASE} [2021-05-14T11:48:38.559Z] ---> b23d30803547 [2021-05-14T11:48:38.559Z] Step 17/25 : LABEL maintainer="IOTech " [2021-05-14T11:48:38.832Z] ---> Running in 050cb9ae80ff [2021-05-14T11:48:39.423Z] Removing intermediate container 050cb9ae80ff [2021-05-14T11:48:39.423Z] ---> d69037b2bba2 [2021-05-14T11:48:39.423Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-14T11:48:39.423Z] ---> Running in 286bbd2ad65e [2021-05-14T11:48:40.399Z] Connecting to iotech.jfrog.io (54.74.239.58:443) [2021-05-14T11:48:40.999Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-05-14T11:48:40.999Z] [2021-05-14T11:48:41.980Z] Removing intermediate container 286bbd2ad65e [2021-05-14T11:48:41.980Z] ---> e9ecc4d6bc77 [2021-05-14T11:48:41.980Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-14T11:48:41.980Z] ---> Running in a2d03671fae9 [2021-05-14T11:48:43.951Z] Removing intermediate container a2d03671fae9 [2021-05-14T11:48:43.951Z] ---> 99cbc8f98d91 [2021-05-14T11:48:43.951Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev [2021-05-14T11:48:43.951Z] ---> Running in 900aa9ed7c4c [2021-05-14T11:48:45.388Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-05-14T11:48:46.362Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-05-14T11:48:46.632Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-05-14T11:48:47.223Z] (1/6) Installing curl (7.64.0-r5) [2021-05-14T11:48:47.223Z] (2/6) Installing hiredis (0.14.0-r0) [2021-05-14T11:48:47.497Z] (3/6) Installing hiredis-dev (0.14.0-r0) [2021-05-14T11:48:47.497Z] (4/6) Installing libuuid (2.33-r0) [2021-05-14T11:48:47.497Z] (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-05-14T11:48:48.923Z] (6/6) Installing wget (1.20.3-r0) [2021-05-14T11:48:49.195Z] Executing busybox-1.29.3-r10.trigger [2021-05-14T11:48:49.466Z] OK: 283 MiB in 81 packages [2021-05-14T11:48:50.439Z] Removing intermediate container 900aa9ed7c4c [2021-05-14T11:48:50.439Z] ---> c61c4f6db4eb [2021-05-14T11:48:50.439Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-05-14T11:48:51.421Z] ---> ea6555ac4af0 [2021-05-14T11:48:51.421Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-05-14T11:48:52.019Z] ---> 0974c633f8e6 [2021-05-14T11:48:52.019Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-05-14T11:48:52.625Z] ---> 414e5b4b9326 [2021-05-14T11:48:52.626Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-05-14T11:48:53.232Z] ---> 1590119349c5 [2021-05-14T11:48:53.232Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-05-14T11:48:54.223Z] ---> 320dc0800b3b [2021-05-14T11:48:54.223Z] Successfully built 320dc0800b3b [2021-05-14T11:48:54.223Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T11:48:54.918Z] + docker inspect -f . ci-base-image-arm64 [2021-05-14T11:48:54.918Z] . [Pipeline] withDockerContainer [2021-05-14T11:48:55.199Z] prd-ubuntu18.04-docker-arm64-4c-16g-127 does not seem to be running inside a container [2021-05-14T11:48:55.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-14T11:48:56.737Z] $ docker top 60364dc79b03b5e5abf3baf46b0d5d3a41fd7835a88bb0eb28d781295c12124a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T11:48:57.761Z] + make test [2021-05-14T11:48:57.761Z] echo "make test" [2021-05-14T11:48:57.761Z] make test [Pipeline] } [2021-05-14T11:48:57.794Z] $ docker stop --time=1 60364dc79b03b5e5abf3baf46b0d5d3a41fd7835a88bb0eb28d781295c12124a [2021-05-14T11:48:59.639Z] $ docker rm -f 60364dc79b03b5e5abf3baf46b0d5d3a41fd7835a88bb0eb28d781295c12124a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T11:49:00.572Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-14T11:49:00.924Z] + ls -al . [2021-05-14T11:49:00.924Z] total 192 [2021-05-14T11:49:00.924Z] drwxrwxr-x 8 jenkins jenkins 4096 May 14 11:46 . [2021-05-14T11:49:00.924Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 11:46 .. [2021-05-14T11:49:00.924Z] drwxrwxr-x 8 jenkins jenkins 4096 May 14 11:46 .git [2021-05-14T11:49:00.924Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 11:46 .github [2021-05-14T11:49:00.924Z] -rw-rw-r-- 1 jenkins jenkins 176 May 14 11:46 .gitignore [2021-05-14T11:49:00.924Z] -rw-rw-r-- 1 jenkins jenkins 3104 May 14 11:46 Attribution.txt [2021-05-14T11:49:00.924Z] -rw-rw-r-- 1 jenkins jenkins 7200 May 14 11:46 CHANGES [2021-05-14T11:49:00.924Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 14 11:46 Doxyfile [2021-05-14T11:49:00.924Z] -rw-rw-r-- 1 jenkins jenkins 784 May 14 11:46 Jenkinsfile [2021-05-14T11:49:00.924Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 14 11:46 LICENSE [2021-05-14T11:49:00.924Z] -rw-rw-r-- 1 jenkins jenkins 444 May 14 11:46 Makefile [2021-05-14T11:49:00.924Z] -rw-rw-r-- 1 jenkins jenkins 4090 May 14 11:46 README.md [2021-05-14T11:49:00.924Z] -rw-rw-r-- 1 jenkins jenkins 6654 May 14 11:46 README.v2.md [2021-05-14T11:49:00.924Z] -rw-rw-r-- 1 jenkins jenkins 5 May 14 11:43 VERSION [2021-05-14T11:49:00.924Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 11:46 docs [2021-05-14T11:49:00.924Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 11:46 include [2021-05-14T11:49:00.924Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 11:46 scripts [2021-05-14T11:49:00.924Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 11:46 src [Pipeline] isUnix [Pipeline] sh [2021-05-14T11:49:01.302Z] + 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=1f372fe1b9604ad24077a184209298837f6fff22 --label arch=arm64 --label version=0.0.0 . [2021-05-14T11:49:01.575Z] Sending build context to Docker daemon 2.506MB [2021-05-14T11:49:01.575Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-05-14T11:49:01.575Z] Step 2/17 : FROM ${BASE} [2021-05-14T11:49:01.575Z] ---> 320dc0800b3b [2021-05-14T11:49:01.575Z] Step 3/17 : LABEL maintainer="IOTech " [2021-05-14T11:49:02.180Z] ---> Running in 3be3bf68a49a [2021-05-14T11:49:02.460Z] Removing intermediate container 3be3bf68a49a [2021-05-14T11:49:02.460Z] ---> e8db4beb72b2 [2021-05-14T11:49:02.460Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-14T11:49:02.460Z] ---> Running in 34caed8a8864 [2021-05-14T11:49:03.439Z] --2021-05-14 11:49:03-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-05-14T11:49:03.711Z] Resolving iotech.jfrog.io... 54.74.239.58, 34.243.182.113, 54.229.110.245 [2021-05-14T11:49:03.712Z] Connecting to iotech.jfrog.io|54.74.239.58|:443... connected. [2021-05-14T11:49:03.985Z] HTTP request sent, awaiting response... 200 OK [2021-05-14T11:49:03.985Z] Length: 451 [application/octet-stream] [2021-05-14T11:49:03.985Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-05-14T11:49:03.985Z]  [2021-05-14T11:49:03.986Z] 0K       100% 18.2M=0s [2021-05-14T11:49:03.986Z] [2021-05-14T11:49:03.986Z] 2021-05-14 11:49:03 (18.2 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-05-14T11:49:03.986Z] [2021-05-14T11:49:04.965Z] Removing intermediate container 34caed8a8864 [2021-05-14T11:49:04.965Z] ---> 033c2a272b42 [2021-05-14T11:49:04.965Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-14T11:49:05.240Z] ---> Running in eb035c4103a7 [2021-05-14T11:49:07.218Z] Removing intermediate container eb035c4103a7 [2021-05-14T11:49:07.218Z] ---> e0e11b7b04d7 [2021-05-14T11:49:07.218Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-05-14T11:49:07.218Z] ---> Running in 29b99791d0d3 [2021-05-14T11:49:08.662Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-05-14T11:49:09.260Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-05-14T11:49:09.535Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-05-14T11:49:10.129Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-05-14T11:49:10.421Z] (2/6) Installing libblkid (2.33-r0) [2021-05-14T11:49:10.421Z] (3/6) Installing libfdisk (2.33-r0) [2021-05-14T11:49:10.700Z] (4/6) Installing libmount (2.33-r0) [2021-05-14T11:49:10.700Z] (5/6) Installing libsmartcols (2.33-r0) [2021-05-14T11:49:10.700Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-05-14T11:49:11.001Z] Executing busybox-1.29.3-r10.trigger [2021-05-14T11:49:11.287Z] OK: 287 MiB in 87 packages [2021-05-14T11:49:12.776Z] Removing intermediate container 29b99791d0d3 [2021-05-14T11:49:12.776Z] ---> 7c7243c9f04e [2021-05-14T11:49:12.776Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-05-14T11:49:13.403Z] ---> 1101c91131fa [2021-05-14T11:49:13.403Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-05-14T11:49:14.426Z] ---> 280c04f9b3a0 [2021-05-14T11:49:14.426Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-05-14T11:49:15.076Z] ---> 6880f1a0c8d8 [2021-05-14T11:49:15.076Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-05-14T11:49:16.069Z] ---> 8e2c47ff3c5f [2021-05-14T11:49:16.069Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-05-14T11:49:16.709Z] ---> 2e70ef60abe0 [2021-05-14T11:49:16.709Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-05-14T11:49:17.698Z] ---> 14619bcaba64 [2021-05-14T11:49:17.698Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-05-14T11:49:17.698Z] ---> Running in 6c41a500fb90 [2021-05-14T11:49:18.292Z] Removing intermediate container 6c41a500fb90 [2021-05-14T11:49:18.292Z] ---> ea56139b96ec [2021-05-14T11:49:18.292Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-05-14T11:49:18.292Z] ---> Running in 25c4e8dcb816 [2021-05-14T11:49:18.890Z] Removing intermediate container 25c4e8dcb816 [2021-05-14T11:49:18.890Z] ---> 82a34c52ebac [2021-05-14T11:49:18.890Z] Step 15/17 : LABEL arch=arm64 [2021-05-14T11:49:18.890Z] ---> Running in 9289503191dc [2021-05-14T11:49:19.500Z] Removing intermediate container 9289503191dc [2021-05-14T11:49:19.500Z] ---> 2f6ab3ba2508 [2021-05-14T11:49:19.500Z] Step 16/17 : LABEL git_sha=1f372fe1b9604ad24077a184209298837f6fff22 [2021-05-14T11:49:19.500Z] ---> Running in 826eee56374a [2021-05-14T11:49:20.093Z] Removing intermediate container 826eee56374a [2021-05-14T11:49:20.093Z] ---> ff4e40e5de56 [2021-05-14T11:49:20.093Z] Step 17/17 : LABEL version=0.0.0 [2021-05-14T11:49:20.093Z] ---> Running in c9dd729d89f0 [2021-05-14T11:49:20.365Z] Removing intermediate container c9dd729d89f0 [2021-05-14T11:49:20.366Z] ---> d6bbefba287a [2021-05-14T11:49:20.366Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-14T11:49:20.637Z] Successfully built d6bbefba287a [2021-05-14T11:49:20.637Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-14T11:49:22.918Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T11:49:23.607Z] ---> package-listing.sh [2021-05-14T11:49:23.607Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-14T11:49:23.607Z] ++ facter osfamily [2021-05-14T11:49:23.876Z] + OS_FAMILY=redhat [2021-05-14T11:49:23.876Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-345 [2021-05-14T11:49:23.876Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-14T11:49:23.876Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-14T11:49:23.876Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-14T11:49:23.876Z] + PACKAGES=/tmp/packages_start.txt [2021-05-14T11:49:23.876Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-345 ']' [2021-05-14T11:49:23.876Z] + PACKAGES=/tmp/packages_end.txt [2021-05-14T11:49:23.876Z] + case "${OS_FAMILY}" in [2021-05-14T11:49:23.876Z] + rpm -qa [2021-05-14T11:49:23.876Z] + sort [2021-05-14T11:49:30.628Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-14T11:49:30.628Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-14T11:49:30.628Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-14T11:49:30.628Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-345 ']' [2021-05-14T11:49:30.628Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-345/archives/ [2021-05-14T11:49:30.628Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-345/archives/ [Pipeline] echo [2021-05-14T11:49:30.662Z] 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-345/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-14T11:49:31.029Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-14T11:49:31.656Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T11:49:31.657Z] [2021-05-14T11:49:31.657Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-14T11:49:32.051Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T11:49:32.319Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-14T11:49:32.319Z] df20fa9351a1: Pulling fs layer [2021-05-14T11:49:32.319Z] 36b3adc4ff6f: Pulling fs layer [2021-05-14T11:49:32.319Z] 8ad3a11d3b57: Pulling fs layer [2021-05-14T11:49:32.319Z] 46f8f816bc3b: Pulling fs layer [2021-05-14T11:49:32.319Z] 93b61091891f: Pulling fs layer [2021-05-14T11:49:32.319Z] 93b9cdb0e59b: Pulling fs layer [2021-05-14T11:49:32.319Z] 5e14af77c1be: Pulling fs layer [2021-05-14T11:49:32.319Z] 01666e4c0597: Pulling fs layer [2021-05-14T11:49:32.319Z] aa168da1d23b: Pulling fs layer [2021-05-14T11:49:32.319Z] 46f8f816bc3b: Waiting [2021-05-14T11:49:32.319Z] 93b61091891f: Waiting [2021-05-14T11:49:32.319Z] 93b9cdb0e59b: Waiting [2021-05-14T11:49:32.319Z] 5e14af77c1be: Waiting [2021-05-14T11:49:32.319Z] 01666e4c0597: Waiting [2021-05-14T11:49:32.319Z] aa168da1d23b: Waiting [2021-05-14T11:49:32.319Z] 36b3adc4ff6f: Verifying Checksum [2021-05-14T11:49:32.319Z] 36b3adc4ff6f: Download complete [2021-05-14T11:49:32.319Z] 46f8f816bc3b: Verifying Checksum [2021-05-14T11:49:32.319Z] 46f8f816bc3b: Download complete [2021-05-14T11:49:32.609Z] df20fa9351a1: Verifying Checksum [2021-05-14T11:49:32.609Z] df20fa9351a1: Download complete [2021-05-14T11:49:32.609Z] 93b9cdb0e59b: Verifying Checksum [2021-05-14T11:49:32.609Z] 93b9cdb0e59b: Download complete [2021-05-14T11:49:32.609Z] 5e14af77c1be: Verifying Checksum [2021-05-14T11:49:32.609Z] 5e14af77c1be: Download complete [2021-05-14T11:49:32.609Z] 01666e4c0597: Verifying Checksum [2021-05-14T11:49:32.609Z] 01666e4c0597: Download complete [2021-05-14T11:49:32.609Z] 93b61091891f: Verifying Checksum [2021-05-14T11:49:32.609Z] 93b61091891f: Download complete [2021-05-14T11:49:32.888Z] df20fa9351a1: Pull complete [2021-05-14T11:49:33.188Z] 8ad3a11d3b57: Verifying Checksum [2021-05-14T11:49:33.188Z] 8ad3a11d3b57: Download complete [2021-05-14T11:49:33.188Z] 36b3adc4ff6f: Pull complete [2021-05-14T11:49:35.419Z] 8ad3a11d3b57: Pull complete [2021-05-14T11:49:36.053Z] 46f8f816bc3b: Pull complete [2021-05-14T11:49:37.057Z] 93b61091891f: Pull complete [2021-05-14T11:49:37.366Z] 93b9cdb0e59b: Pull complete [2021-05-14T11:49:37.995Z] 5e14af77c1be: Pull complete [2021-05-14T11:49:37.995Z] aa168da1d23b: Verifying Checksum [2021-05-14T11:49:37.995Z] aa168da1d23b: Download complete [2021-05-14T11:49:37.995Z] 01666e4c0597: Pull complete [2021-05-14T11:49:50.510Z] aa168da1d23b: Pull complete [2021-05-14T11:49:50.510Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-14T11:49:50.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T11:49:50.510Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-14T11:49:50.855Z] prd-centos7-docker-4c-2g-126 does not seem to be running inside a container [2021-05-14T11:49:50.933Z] $ 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-345/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-345 -v /w/workspace/edgexfoundry_device-sdk-c_PR-345:/w/workspace/edgexfoundry_device-sdk-c_PR-345:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-345@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-14T11:49:56.790Z] $ docker top 6bac3b9e3e1c4e02e0ba161a0b9f6e2eba0f0329b384d827a6ab3be36c250330 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T11:49:57.865Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-14T11:49:58.291Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-14T11:49:59.080Z] + ls /var/log/sa-host [2021-05-14T11:49:59.080Z] + sadf -c /var/log/sa-host/sa14 [2021-05-14T11:49:59.080Z] file_magic: OK [2021-05-14T11:49:59.080Z] HZ: Using current value: 100 [2021-05-14T11:49:59.080Z] file_header: OK [2021-05-14T11:49:59.080Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-14T11:49:59.080Z] Statistics: [2021-05-14T11:49:59.080Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-14T11:49:59.080Z] File successfully converted to sysstat format version 12.2.1 [2021-05-14T11:49:59.080Z] + sadf -c /var/log/sa-host/sa23 [2021-05-14T11:49:59.080Z] file_magic: OK [2021-05-14T11:49:59.080Z] HZ: Using current value: 100 [2021-05-14T11:49:59.080Z] file_header: OK [2021-05-14T11:49:59.080Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-14T11:49:59.080Z] Statistics: [2021-05-14T11:49:59.080Z] Hnuu...uuuununununu... [2021-05-14T11:49:59.080Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T11:49:59.724Z] provisioning config files... [2021-05-14T11:49:59.783Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-345@tmp/config1257096738549139866tmp [Pipeline] { [Pipeline] echo [2021-05-14T11:49:59.840Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T11:50:00.672Z] ---> create-netrc.sh [Pipeline] } [2021-05-14T11:50:00.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-14T11:50:00.811Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T11:50:01.216Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-14T11:50:01.276Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T11:50:01.807Z] ---> sudo-logs.sh [2021-05-14T11:50:01.808Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-14T11:50:02.220Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T11:50:02.647Z] ---> job-cost.sh [2021-05-14T11:50:02.920Z] lf-activate-venv: SKIPPING [2021-05-14T11:50:02.920Z] INFO: No Stack... [2021-05-14T11:50:03.890Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-14T11:50:04.507Z] INFO: Archiving Costs [Pipeline] echo [2021-05-14T11:50:04.557Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T11:50:05.318Z] ---> logs-deploy.sh [2021-05-14T11:50:05.318Z] lf-activate-venv: SKIPPING [2021-05-14T11:50:05.318Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-345/1 [2021-05-14T11:50:05.318Z] INFO: archiving workspace using pattern(s): [2021-05-14T11:50:08.689Z] Archives upload complete. [2021-05-14T11:50:08.960Z] INFO: archiving logs to Nexus