Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e144b802fa1870b274eef210e2a0de0603b8b97f Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-22280 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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_master # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision e144b802fa1870b274eef210e2a0de0603b8b97f (master) > git config core.sparsecheckout # timeout=10 > git checkout -f e144b802fa1870b274eef210e2a0de0603b8b97f # timeout=10 Commit message: "fix: block device operations when service is locked (#319)" > git rev-list --no-walk f0de00cff149ffe86b90fb2b2675cd2706e94b93 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-22T12:27:28.281Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-22T12:27:28.538Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-22T12:27:28.634Z] ========================================================= [2021-01-22T12:27:28.634Z] EdgeX Global Pipelines Version Info [2021-01-22T12:27:28.634Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:27:30.112Z] ------------------- [2021-01-22T12:27:30.112Z] stable info: [2021-01-22T12:27:30.112Z] ------------------- [2021-01-22T12:27:30.112Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-22T12:27:30.112Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-22T12:27:30.112Z] Message: update stable to v1.0.179 [2021-01-22T12:27:31.057Z] ------------------- [2021-01-22T12:27:31.057Z] experimental info: [2021-01-22T12:27:31.057Z] ------------------- [2021-01-22T12:27:31.057Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-22T12:27:31.057Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-22T12:27:31.057Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-22T12:27:31.365Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-01-22T12:27:31.468Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-01-22T12:27:31.565Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-22T12:27:31.665Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-22T12:27:31.759Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-22T12:27:31.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-01-22T12:27:31.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-01-22T12:27:32.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-01-22T12:27:32.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-22T12:27:32.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-01-22T12:27:32.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-22T12:27:32.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-22T12:27:32.513Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-22T12:27:32.615Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T12:27:32.720Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-22T12:27:32.809Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-22T12:27:32.912Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-22T12:27:33.004Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-22T12:27:33.091Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-22T12:27:33.181Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-22T12:27:33.279Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-22T12:27:33.391Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e144b802fa1870b274eef210e2a0de0603b8b97f [Pipeline] echo [2021-01-22T12:27:33.498Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e144b80 [Pipeline] echo [2021-01-22T12:27:33.583Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T12:27:33.745Z] provisioning config files... [2021-01-22T12:27:33.775Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config218234010555550329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:27:34.127Z] ---> docker-login.sh [2021-01-22T12:27:34.127Z] nexus3.edgexfoundry.org:10001 [2021-01-22T12:27:34.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:27:34.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:27:34.389Z] Configure a credential helper to remove this warning. See [2021-01-22T12:27:34.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:27:34.389Z] [2021-01-22T12:27:34.389Z] Login Succeeded [2021-01-22T12:27:34.389Z] nexus3.edgexfoundry.org:10002 [2021-01-22T12:27:34.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:27:34.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:27:34.651Z] Configure a credential helper to remove this warning. See [2021-01-22T12:27:34.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:27:34.651Z] [2021-01-22T12:27:34.651Z] Login Succeeded [2021-01-22T12:27:34.651Z] nexus3.edgexfoundry.org:10003 [2021-01-22T12:27:34.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:27:34.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:27:34.914Z] Configure a credential helper to remove this warning. See [2021-01-22T12:27:34.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:27:34.914Z] [2021-01-22T12:27:34.914Z] Login Succeeded [2021-01-22T12:27:34.914Z] nexus3.edgexfoundry.org:10004 [2021-01-22T12:27:34.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:27:35.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:27:35.176Z] Configure a credential helper to remove this warning. See [2021-01-22T12:27:35.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:27:35.176Z] [2021-01-22T12:27:35.176Z] Login Succeeded [2021-01-22T12:27:35.176Z] docker.io [2021-01-22T12:27:35.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:27:35.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:27:35.442Z] Configure a credential helper to remove this warning. See [2021-01-22T12:27:35.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:27:35.442Z] [2021-01-22T12:27:35.442Z] Login Succeeded [2021-01-22T12:27:35.442Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T12:27:35.450Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:27:37.165Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T12:27:37.165Z] [2021-01-22T12:27:37.165Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:27:37.512Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T12:27:37.512Z] latest: Pulling from edgex-devops/git-semver [2021-01-22T12:27:37.512Z] 31603596830f: Pulling fs layer [2021-01-22T12:27:37.512Z] 2a8b12db71e7: Pulling fs layer [2021-01-22T12:27:37.512Z] 6ca5941a6612: Pulling fs layer [2021-01-22T12:27:37.512Z] ecc8261a40a4: Pulling fs layer [2021-01-22T12:27:37.512Z] ecc8261a40a4: Waiting [2021-01-22T12:27:37.512Z] 2a8b12db71e7: Verifying Checksum [2021-01-22T12:27:37.512Z] 2a8b12db71e7: Download complete [2021-01-22T12:27:37.773Z] 31603596830f: Verifying Checksum [2021-01-22T12:27:37.773Z] 31603596830f: Download complete [2021-01-22T12:27:37.773Z] 6ca5941a6612: Verifying Checksum [2021-01-22T12:27:37.773Z] 6ca5941a6612: Download complete [2021-01-22T12:27:37.773Z] ecc8261a40a4: Verifying Checksum [2021-01-22T12:27:37.773Z] ecc8261a40a4: Download complete [2021-01-22T12:27:38.034Z] 31603596830f: Pull complete [2021-01-22T12:27:38.034Z] 2a8b12db71e7: Pull complete [2021-01-22T12:27:39.016Z] 6ca5941a6612: Pull complete [2021-01-22T12:27:39.016Z] ecc8261a40a4: Pull complete [2021-01-22T12:27:39.278Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-22T12:27:39.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T12:27:39.278Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-22T12:27:39.386Z] prd-centos7-docker-4c-2g-22280 does not seem to be running inside a container [2021-01-22T12:27:39.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-22T12:27:41.377Z] $ docker top 2d10e42c163a1e5459c12f5870a4e2493b8ca94e8d9fb86ede4f9073e8566af6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-22T12:27:41.660Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T12:27:41.660Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T12:27:41.853Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T12:27:41.856Z] $ docker exec 2d10e42c163a1e5459c12f5870a4e2493b8ca94e8d9fb86ede4f9073e8566af6 ssh-agent [2021-01-22T12:27:42.023Z] SSH_AUTH_SOCK=/tmp/ssh-czmJT8B7hA5J/agent.12 [2021-01-22T12:27:42.023Z] SSH_AGENT_PID=17 [2021-01-22T12:27:42.032Z] Running ssh-add (command line suppressed) [2021-01-22T12:27:42.156Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_6477419158312403646.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_6477419158312403646.key) [2021-01-22T12:27:42.206Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T12:27:42.539Z] + git tag --points-at HEAD [Pipeline] } [2021-01-22T12:27:42.662Z] $ docker exec --env ******** --env ******** 2d10e42c163a1e5459c12f5870a4e2493b8ca94e8d9fb86ede4f9073e8566af6 ssh-agent -k [2021-01-22T12:27:42.777Z] unset SSH_AUTH_SOCK; [2021-01-22T12:27:42.777Z] unset SSH_AGENT_PID; [2021-01-22T12:27:42.777Z] echo Agent pid 17 killed; [2021-01-22T12:27:42.828Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-22T12:27:42.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T12:27:42.967Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T12:27:43.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T12:27:43.139Z] $ docker exec 2d10e42c163a1e5459c12f5870a4e2493b8ca94e8d9fb86ede4f9073e8566af6 ssh-agent [2021-01-22T12:27:43.303Z] SSH_AUTH_SOCK=/tmp/ssh-ZRWul7rJzg7s/agent.47 [2021-01-22T12:27:43.303Z] SSH_AGENT_PID=53 [2021-01-22T12:27:43.309Z] Running ssh-add (command line suppressed) [2021-01-22T12:27:43.428Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8344672135168833054.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8344672135168833054.key) [2021-01-22T12:27:43.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T12:27:43.816Z] + git semver init [2021-01-22T12:27:43.816Z] # -> Open(): unable to determine branch for HEAD [2021-01-22T12:27:43.816Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2021-01-22T12:27:43.816Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2021-01-22T12:27:43.816Z] # $SEMVER_REMOTE_NAME = origin [2021-01-22T12:27:43.816Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-22T12:27:43.816Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-22T12:27:43.816Z] # $SEMVER_BRANCH = master [2021-01-22T12:27:43.816Z] # $SEMVER_TEMP = /tmp/semver-840096378 [2021-01-22T12:27:43.816Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-01-22T12:27:44.390Z] # '/tmp/semver-840096378' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' [2021-01-22T12:27:44.390Z] # -> Force: false [2021-01-22T12:27:44.390Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2021-01-22T12:27:44.404Z] $ docker exec --env ******** --env ******** 2d10e42c163a1e5459c12f5870a4e2493b8ca94e8d9fb86ede4f9073e8566af6 ssh-agent -k [2021-01-22T12:27:44.518Z] unset SSH_AUTH_SOCK; [2021-01-22T12:27:44.518Z] unset SSH_AGENT_PID; [2021-01-22T12:27:44.518Z] echo Agent pid 53 killed; [2021-01-22T12:27:44.568Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-22T12:27:45.066Z] + git semver [Pipeline] } [2021-01-22T12:27:45.082Z] $ docker stop --time=1 2d10e42c163a1e5459c12f5870a4e2493b8ca94e8d9fb86ede4f9073e8566af6 [2021-01-22T12:27:46.451Z] $ docker rm -f 2d10e42c163a1e5459c12f5870a4e2493b8ca94e8d9fb86ede4f9073e8566af6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T12:27:46.947Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-22T12:27:47.287Z] Stashed 1 file(s) [Pipeline] echo [2021-01-22T12:27:47.290Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.3 [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-01-22T12:28:02.630Z] Still waiting to schedule task [2021-01-22T12:28:02.631Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-22T12:28:02.633Z] Still waiting to schedule task [2021-01-22T12:28:02.633Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-22T12:29:38.814Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22281 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2021-01-22T12:29:38.876Z] Running in /w/workspace/device-sdk-c/51 [Pipeline] { [Pipeline] checkout [2021-01-22T12:29:44.286Z] using credential edgex-jenkins-ssh [2021-01-22T12:29:44.350Z] Cloning the remote Git repository [2021-01-22T12:29:44.415Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-01-22T12:29:44.528Z] > git init /w/workspace/device-sdk-c/51 # timeout=10 [2021-01-22T12:29:44.630Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-01-22T12:29:44.631Z] > git --version # timeout=10 [2021-01-22T12:29:44.648Z] > git --version # 'git version 2.17.1' [2021-01-22T12:29:44.649Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T12:29:44.724Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T12:29:46.254Z] Checking out Revision e144b802fa1870b274eef210e2a0de0603b8b97f (master) [2021-01-22T12:29:45.686Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-01-22T12:29:45.704Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T12:29:45.734Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-01-22T12:29:45.772Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-01-22T12:29:45.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T12:29:45.785Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-22T12:29:46.280Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T12:29:46.306Z] > git checkout -f e144b802fa1870b274eef210e2a0de0603b8b97f # timeout=10 [2021-01-22T12:29:50.828Z] Commit message: "fix: block device operations when service is locked (#319)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T12:29:52.674Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-22T12:29:53.090Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-22T12:29:53.435Z] + true [2021-01-22T12:29:53.435Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T12:29:55.488Z] provisioning config files... [2021-01-22T12:29:55.524Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/51@tmp/config8538742221503180256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:29:56.018Z] ---> docker-login.sh [2021-01-22T12:29:56.018Z] nexus3.edgexfoundry.org:10001 [2021-01-22T12:29:57.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:29:57.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:29:57.280Z] Configure a credential helper to remove this warning. See [2021-01-22T12:29:57.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:29:57.280Z] [2021-01-22T12:29:57.280Z] Login Succeeded [2021-01-22T12:29:57.280Z] nexus3.edgexfoundry.org:10002 [2021-01-22T12:29:57.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:29:57.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:29:57.878Z] Configure a credential helper to remove this warning. See [2021-01-22T12:29:57.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:29:57.878Z] [2021-01-22T12:29:57.878Z] Login Succeeded [2021-01-22T12:29:57.878Z] nexus3.edgexfoundry.org:10003 [2021-01-22T12:29:58.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:29:58.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:29:58.431Z] Configure a credential helper to remove this warning. See [2021-01-22T12:29:58.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:29:58.431Z] [2021-01-22T12:29:58.431Z] Login Succeeded [2021-01-22T12:29:58.431Z] nexus3.edgexfoundry.org:10004 [2021-01-22T12:29:58.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:29:58.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:29:58.981Z] Configure a credential helper to remove this warning. See [2021-01-22T12:29:58.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:29:58.981Z] [2021-01-22T12:29:58.981Z] Login Succeeded [2021-01-22T12:29:58.981Z] docker.io [2021-01-22T12:29:59.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:29:59.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:29:59.528Z] Configure a credential helper to remove this warning. See [2021-01-22T12:29:59.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:29:59.528Z] [2021-01-22T12:29:59.528Z] Login Succeeded [2021-01-22T12:29:59.528Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T12:29:59.546Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-22T12:30:00.083Z] ========================================================= [2021-01-22T12:30:00.083Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-01-22T12:30:00.083Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:30:00.490Z] + 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-01-22T12:30:01.098Z] Sending build context to Docker daemon 2.382MB [2021-01-22T12:30:01.098Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-01-22T12:30:01.098Z] Step 2/21 : FROM ${BASE} as builder [2021-01-22T12:30:01.098Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-01-22T12:30:01.098Z] 0362ad1dd800: Pulling fs layer [2021-01-22T12:30:01.098Z] f2cdb1532d8b: Pulling fs layer [2021-01-22T12:30:01.098Z] 37ed683be191: Pulling fs layer [2021-01-22T12:30:01.098Z] f2cdb1532d8b: Verifying Checksum [2021-01-22T12:30:01.098Z] f2cdb1532d8b: Download complete [2021-01-22T12:30:01.373Z] 0362ad1dd800: Download complete [2021-01-22T12:30:01.981Z] 0362ad1dd800: Pull complete [2021-01-22T12:30:02.259Z] f2cdb1532d8b: Pull complete [2021-01-22T12:30:04.898Z] 37ed683be191: Verifying Checksum [2021-01-22T12:30:04.898Z] 37ed683be191: Download complete [2021-01-22T12:30:15.069Z] 37ed683be191: Pull complete [2021-01-22T12:30:15.069Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-01-22T12:30:15.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-01-22T12:30:15.069Z] ---> b23d30803547 [2021-01-22T12:30:15.069Z] Step 3/21 : 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 [2021-01-22T12:30:15.349Z] ---> Running in 54e188e6b97c [2021-01-22T12:30:16.779Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-01-22T12:30:17.371Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-01-22T12:30:17.964Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-01-22T12:30:17.964Z] (2/8) Installing libuuid (2.33-r0) [2021-01-22T12:30:18.236Z] (3/8) Installing libblkid (2.33-r0) [2021-01-22T12:30:18.236Z] (4/8) Installing libfdisk (2.33-r0) [2021-01-22T12:30:18.236Z] (5/8) Installing libmount (2.33-r0) [2021-01-22T12:30:18.508Z] (6/8) Installing libsmartcols (2.33-r0) [2021-01-22T12:30:18.508Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-01-22T12:30:18.779Z] (8/8) Installing wget (1.20.3-r0) [2021-01-22T12:30:19.051Z] Executing busybox-1.29.3-r10.trigger [2021-01-22T12:30:19.051Z] OK: 285 MiB in 83 packages [2021-01-22T12:30:20.499Z] Removing intermediate container 54e188e6b97c [2021-01-22T12:30:20.499Z] ---> fb9f701d4e53 [2021-01-22T12:30:20.499Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-01-22T12:30:20.499Z] ---> Running in 2932b973e8ee [2021-01-22T12:30:21.096Z] Removing intermediate container 2932b973e8ee [2021-01-22T12:30:21.096Z] ---> f83cf366e7cb [2021-01-22T12:30:21.097Z] Step 5/21 : 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-01-22T12:30:21.097Z] ---> Running in 2f57a28012c3 [2021-01-22T12:30:22.089Z] --2021-01-22 12:30:22-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-01-22T12:30:22.362Z] Resolving github.com... 140.82.113.4 [2021-01-22T12:30:22.362Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-01-22T12:30:22.362Z] HTTP request sent, awaiting response... 302 Found [2021-01-22T12:30:22.362Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-01-22T12:30:22.362Z] --2021-01-22 12:30:22-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-01-22T12:30:22.362Z] Resolving codeload.github.com... 140.82.113.9 [2021-01-22T12:30:22.362Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-01-22T12:30:22.635Z] HTTP request sent, awaiting response... 200 OK [2021-01-22T12:30:22.635Z] Length: unspecified [application/x-gzip] [2021-01-22T12:30:22.635Z] Saving to: 'STDOUT' [2021-01-22T12:30:22.635Z]  [2021-01-22T12:30:22.635Z] 0K .......... .......... .......... .......... .......... 1.47M [2021-01-22T12:30:22.635Z] 50K .......... .......... .......... .......... .......... 2.70M [2021-01-22T12:30:22.635Z] 100K .......... .......... .......... .......... .......... 14.1M [2021-01-22T12:30:22.635Z] 150K .......... .......... .......... .......... .......... 3.38M [2021-01-22T12:30:22.635Z] 200K .......... .......... .......... .......... .......... 9.59M [2021-01-22T12:30:22.635Z] 250K .......... .......... .......... .......... .......... 3.64M [2021-01-22T12:30:22.635Z] 300K .......... .......... .......... .......... .......... 5.62M [2021-01-22T12:30:22.636Z] 350K .......... .......... .......... .......... .......... 3.89M [2021-01-22T12:30:22.636Z] 400K .......... .......... .......... .......... .......... 4.31M [2021-01-22T12:30:22.636Z] 450K .......... .......... .......... .......... .......... 3.43M [2021-01-22T12:30:22.636Z] 500K .......... .......... .......... .......... .......... 9.08M [2021-01-22T12:30:22.636Z] 550K .......... .......... .......... .......... .......... 1.73M [2021-01-22T12:30:22.913Z] 600K .......... .......... .......... .......... .......... 1.01M [2021-01-22T12:30:22.913Z] 650K .......... .......... .......... .......... .......... 2.04M [2021-01-22T12:30:22.913Z] 700K ..       2.84M=0.2s [2021-01-22T12:30:22.913Z] [2021-01-22T12:30:22.913Z] 2021-01-22 12:30:22 (2.84 MB/s) - written to stdout [719348] [2021-01-22T12:30:22.913Z] [2021-01-22T12:30:23.189Z] -- The C compiler identification is GNU 8.3.0 [2021-01-22T12:30:23.465Z] -- The CXX compiler identification is GNU 8.3.0 [2021-01-22T12:30:23.465Z] -- Check for working C compiler: /usr/bin/cc [2021-01-22T12:30:23.743Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-01-22T12:30:23.743Z] -- Detecting C compiler ABI info [2021-01-22T12:30:24.019Z] -- Detecting C compiler ABI info - done [2021-01-22T12:30:24.019Z] -- Detecting C compile features [2021-01-22T12:30:24.618Z] -- Detecting C compile features - done [2021-01-22T12:30:24.618Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-01-22T12:30:24.892Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-01-22T12:30:24.892Z] -- Detecting CXX compiler ABI info [2021-01-22T12:30:25.164Z] -- Detecting CXX compiler ABI info - done [2021-01-22T12:30:25.164Z] -- Detecting CXX compile features [2021-01-22T12:30:27.138Z] -- Detecting CXX compile features - done [2021-01-22T12:30:27.138Z] -- Looking for include file endian.h [2021-01-22T12:30:27.138Z] -- Looking for include file endian.h - found [2021-01-22T12:30:27.138Z] -- Check if the system is big endian [2021-01-22T12:30:27.138Z] -- Searching 16 bit integer [2021-01-22T12:30:27.138Z] -- Looking for sys/types.h [2021-01-22T12:30:27.412Z] -- Looking for sys/types.h - found [2021-01-22T12:30:27.412Z] -- Looking for stdint.h [2021-01-22T12:30:27.412Z] -- Looking for stdint.h - found [2021-01-22T12:30:27.412Z] -- Looking for stddef.h [2021-01-22T12:30:27.687Z] -- Looking for stddef.h - found [2021-01-22T12:30:27.687Z] -- Check size of unsigned short [2021-01-22T12:30:27.960Z] -- Check size of unsigned short - done [2021-01-22T12:30:27.961Z] -- Using unsigned short [2021-01-22T12:30:28.236Z] -- Check if the system is big endian - little endian [2021-01-22T12:30:28.236Z] -- Check size of size_t [2021-01-22T12:30:28.508Z] -- Check size of size_t - done [2021-01-22T12:30:28.508Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-01-22T12:30:28.508Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-01-22T12:30:28.508Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-01-22T12:30:28.508Z] CMake did not find one. [2021-01-22T12:30:28.508Z] [2021-01-22T12:30:28.508Z] Could not find a package configuration file provided by "cJSON" with any of [2021-01-22T12:30:28.508Z] the following names: [2021-01-22T12:30:28.508Z] [2021-01-22T12:30:28.508Z] cJSONConfig.cmake [2021-01-22T12:30:28.508Z] cjson-config.cmake [2021-01-22T12:30:28.508Z] [2021-01-22T12:30:28.508Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-01-22T12:30:28.508Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-01-22T12:30:28.508Z] provides a separate development package or SDK, be sure it has been [2021-01-22T12:30:28.508Z] installed. [2021-01-22T12:30:28.508Z] [2021-01-22T12:30:28.508Z] [2021-01-22T12:30:28.782Z] -- Configuring done [2021-01-22T12:30:28.782Z] -- Generating done [2021-01-22T12:30:28.782Z] -- Build files have been written to: /tmp/cbor [2021-01-22T12:30:29.056Z] Scanning dependencies of target cbor_shared [2021-01-22T12:30:29.056Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-01-22T12:30:30.033Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-01-22T12:30:30.306Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-01-22T12:30:30.578Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-01-22T12:30:31.175Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-01-22T12:30:31.446Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-01-22T12:30:31.720Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-01-22T12:30:31.720Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-01-22T12:30:31.994Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-01-22T12:30:32.266Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-01-22T12:30:32.859Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-01-22T12:30:33.131Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-01-22T12:30:33.732Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-01-22T12:30:34.006Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-01-22T12:30:34.279Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-01-22T12:30:34.279Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-01-22T12:30:34.893Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-01-22T12:30:34.893Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-01-22T12:30:35.167Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-01-22T12:30:35.447Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-01-22T12:30:35.720Z] [ 40%] Linking C shared library libcbor.so [2021-01-22T12:30:35.720Z] [ 40%] Built target cbor_shared [2021-01-22T12:30:35.720Z] Scanning dependencies of target cbor [2021-01-22T12:30:35.720Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-01-22T12:30:35.976Z] Running on prd-centos7-docker-4c-2g-22282 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2021-01-22T12:30:36.036Z] Running in /w/workspace/device-sdk-c/51 [Pipeline] { [Pipeline] checkout [2021-01-22T12:30:36.707Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-01-22T12:30:37.303Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-01-22T12:30:37.303Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-01-22T12:30:38.509Z] using credential edgex-jenkins-ssh [2021-01-22T12:30:38.568Z] Cloning the remote Git repository [2021-01-22T12:30:38.591Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-01-22T12:30:38.653Z] > git init /w/workspace/device-sdk-c/51 # timeout=10 [2021-01-22T12:30:38.741Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-01-22T12:30:38.741Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-01-22T12:30:39.018Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-01-22T12:30:39.018Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-01-22T12:30:39.290Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-01-22T12:30:39.563Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-01-22T12:30:38.714Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-01-22T12:30:38.715Z] > git --version # timeout=10 [2021-01-22T12:30:38.721Z] > git --version # 'git version 2.24.3' [2021-01-22T12:30:38.721Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T12:30:38.747Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T12:30:39.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-01-22T12:30:39.649Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T12:30:39.660Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-01-22T12:30:39.671Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-01-22T12:30:39.671Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T12:30:39.676Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-22T12:30:40.100Z] Checking out Revision e144b802fa1870b274eef210e2a0de0603b8b97f (master) [2021-01-22T12:30:40.540Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-01-22T12:30:40.540Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-01-22T12:30:40.108Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T12:30:40.113Z] > git checkout -f e144b802fa1870b274eef210e2a0de0603b8b97f # timeout=10 [2021-01-22T12:30:41.139Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-01-22T12:30:41.412Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-01-22T12:30:41.684Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-01-22T12:30:41.956Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-01-22T12:30:42.228Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-01-22T12:30:42.503Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-01-22T12:30:42.778Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-01-22T12:30:43.051Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-01-22T12:30:43.325Z] [ 80%] Linking C static library libcbor.a [2021-01-22T12:30:43.325Z] [ 80%] Built target cbor [2021-01-22T12:30:43.325Z] Scanning dependencies of target create_items [2021-01-22T12:30:43.325Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-01-22T12:30:43.596Z] [ 84%] Linking C executable create_items [2021-01-22T12:30:43.596Z] [ 84%] Built target create_items [2021-01-22T12:30:43.596Z] Scanning dependencies of target readfile [2021-01-22T12:30:43.596Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-01-22T12:30:43.719Z] Commit message: "fix: block device operations when service is locked (#319)" [2021-01-22T12:30:43.869Z] [ 88%] Linking C executable readfile [2021-01-22T12:30:43.869Z] [ 88%] Built target readfile [2021-01-22T12:30:43.869Z] Scanning dependencies of target streaming_parser [2021-01-22T12:30:43.869Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [Pipeline] withEnv [Pipeline] { [2021-01-22T12:30:44.143Z] [ 92%] Linking C executable streaming_parser [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T12:30:44.421Z] [ 92%] Built target streaming_parser [2021-01-22T12:30:44.422Z] Scanning dependencies of target sort [2021-01-22T12:30:44.422Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-01-22T12:30:44.422Z] [ 96%] Linking C executable sort [2021-01-22T12:30:44.700Z] [ 96%] Built target sort [2021-01-22T12:30:44.700Z] Scanning dependencies of target hello [2021-01-22T12:30:44.700Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-01-22T12:30:44.700Z] [100%] Linking C executable hello [2021-01-22T12:30:44.807Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-22T12:30:44.975Z] [100%] Built target hello [2021-01-22T12:30:44.975Z] Install the project... [2021-01-22T12:30:44.975Z] -- Install configuration: "Release" [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/lib64/libcbor.a [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/lib64/libcbor.so [2021-01-22T12:30:44.975Z] -- Up-to-date: /usr/local/include/cbor [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/ints.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/data.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/common.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/strings.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/tags.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/internal [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor/maps.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/include/cbor.h [2021-01-22T12:30:44.975Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-01-22T12:30:45.135Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-22T12:30:45.433Z] + sudo service docker restart [2021-01-22T12:30:45.433Z] + true [2021-01-22T12:30:45.433Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T12:30:46.445Z] provisioning config files... [2021-01-22T12:30:46.470Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/51@tmp/config8145730013374153876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:30:46.842Z] ---> docker-login.sh [2021-01-22T12:30:46.842Z] nexus3.edgexfoundry.org:10001 [2021-01-22T12:30:47.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:30:47.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:30:47.104Z] Configure a credential helper to remove this warning. See [2021-01-22T12:30:47.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:30:47.104Z] [2021-01-22T12:30:47.104Z] Login Succeeded [2021-01-22T12:30:47.104Z] nexus3.edgexfoundry.org:10002 [2021-01-22T12:30:47.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:30:47.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:30:47.366Z] Configure a credential helper to remove this warning. See [2021-01-22T12:30:47.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:30:47.366Z] [2021-01-22T12:30:47.366Z] Login Succeeded [2021-01-22T12:30:47.366Z] nexus3.edgexfoundry.org:10003 [2021-01-22T12:30:47.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:30:47.609Z] Removing intermediate container 2f57a28012c3 [2021-01-22T12:30:47.609Z] ---> 5eaeda8d6a0c [2021-01-22T12:30:47.609Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-01-22T12:30:47.609Z] ---> Running in 4a6c63f6c25a [2021-01-22T12:30:47.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:30:47.628Z] Configure a credential helper to remove this warning. See [2021-01-22T12:30:47.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:30:47.628Z] [2021-01-22T12:30:47.628Z] Login Succeeded [2021-01-22T12:30:47.628Z] nexus3.edgexfoundry.org:10004 [2021-01-22T12:30:47.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:30:47.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:30:47.628Z] Configure a credential helper to remove this warning. See [2021-01-22T12:30:47.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:30:47.628Z] [2021-01-22T12:30:47.628Z] Login Succeeded [2021-01-22T12:30:47.628Z] docker.io [2021-01-22T12:30:47.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:30:48.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:30:48.154Z] Configure a credential helper to remove this warning. See [2021-01-22T12:30:48.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:30:48.154Z] [2021-01-22T12:30:48.154Z] Login Succeeded [2021-01-22T12:30:48.154Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T12:30:48.166Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-22T12:30:48.531Z] ========================================================= [2021-01-22T12:30:48.531Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-01-22T12:30:48.531Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:30:48.882Z] + 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-01-22T12:30:48.882Z] Sending build context to Docker daemon 2.383MB [2021-01-22T12:30:48.882Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-01-22T12:30:48.882Z] Step 2/21 : FROM ${BASE} as builder [2021-01-22T12:30:49.144Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-01-22T12:30:49.144Z] e7c96db7181b: Pulling fs layer [2021-01-22T12:30:49.144Z] 4c13bbce0fe7: Pulling fs layer [2021-01-22T12:30:49.144Z] 6059c847ac2f: Pulling fs layer [2021-01-22T12:30:49.144Z] 4c13bbce0fe7: Verifying Checksum [2021-01-22T12:30:49.144Z] 4c13bbce0fe7: Download complete [2021-01-22T12:30:49.408Z] e7c96db7181b: Verifying Checksum [2021-01-22T12:30:49.408Z] e7c96db7181b: Download complete [2021-01-22T12:30:49.608Z] Removing intermediate container 4a6c63f6c25a [2021-01-22T12:30:49.608Z] ---> 844acf383fa5 [2021-01-22T12:30:49.608Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-01-22T12:30:49.669Z] e7c96db7181b: Pull complete [2021-01-22T12:30:49.669Z] 4c13bbce0fe7: Pull complete [2021-01-22T12:30:50.205Z] ---> 7f759ee042eb [2021-01-22T12:30:50.205Z] Step 8/21 : COPY src /tmp/sdk/src [2021-01-22T12:30:51.183Z] ---> e6fa20fc7074 [2021-01-22T12:30:51.183Z] Step 9/21 : COPY include /tmp/sdk/include [2021-01-22T12:30:51.591Z] 6059c847ac2f: Verifying Checksum [2021-01-22T12:30:51.592Z] 6059c847ac2f: Download complete [2021-01-22T12:30:51.779Z] ---> 66f5c669b050 [2021-01-22T12:30:51.779Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-01-22T12:30:52.376Z] ---> edf0ee1c1968 [2021-01-22T12:30:52.376Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-01-22T12:30:52.972Z] ---> ec2f457857bd [2021-01-22T12:30:52.972Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-01-22T12:30:53.951Z] ---> 4d0673a01144 [2021-01-22T12:30:53.951Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-01-22T12:30:53.951Z] ---> Running in ffaa727d554e [2021-01-22T12:30:54.928Z] + CPPCHECK=false [2021-01-22T12:30:54.928Z] + DOCGEN=false [2021-01-22T12:30:54.928Z] + TOMLVER=SDK-0.2 [2021-01-22T12:30:54.928Z] + CUTILVER=1.1.4 [2021-01-22T12:30:54.928Z] + '[' 0 -gt 0 ] [2021-01-22T12:30:54.928Z] + readlink -f ./scripts/build.sh [2021-01-22T12:30:54.928Z] + dirname /tmp/sdk/scripts/build.sh [2021-01-22T12:30:54.928Z] + dirname /tmp/sdk/scripts [2021-01-22T12:30:54.928Z] + ROOT=/tmp/sdk [2021-01-22T12:30:54.928Z] + cd /tmp/sdk [2021-01-22T12:30:54.928Z] + '[' '!' -d deps ] [2021-01-22T12:30:54.928Z] + mkdir deps [2021-01-22T12:30:54.928Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-01-22T12:30:54.928Z] + tar -C deps -z -x -f - [2021-01-22T12:30:54.928Z] --2021-01-22 12:30:54-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-01-22T12:30:54.928Z] Resolving github.com... 140.82.113.4 [2021-01-22T12:30:54.928Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-01-22T12:30:55.198Z] HTTP request sent, awaiting response... 302 Found [2021-01-22T12:30:55.198Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-01-22T12:30:55.198Z] --2021-01-22 12:30:54-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-01-22T12:30:55.198Z] Resolving codeload.github.com... 140.82.113.9 [2021-01-22T12:30:55.198Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-01-22T12:30:55.198Z] HTTP request sent, awaiting response... 200 OK [2021-01-22T12:30:55.198Z] Length: unspecified [application/x-gzip] [2021-01-22T12:30:55.198Z] Saving to: 'STDOUT' [2021-01-22T12:30:55.198Z]  [2021-01-22T12:30:55.198Z] 0K .......... ......   1.11M=0.01s [2021-01-22T12:30:55.198Z] [2021-01-22T12:30:55.198Z] 2021-01-22 12:30:55 (1.11 MB/s) - written to stdout [16451] [2021-01-22T12:30:55.198Z] [2021-01-22T12:30:55.198Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-01-22T12:30:55.198Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-01-22T12:30:55.198Z] + tar -C deps -z -x -f - [2021-01-22T12:30:55.198Z] --2021-01-22 12:30:55-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-01-22T12:30:55.468Z] Resolving github.com... 140.82.113.4 [2021-01-22T12:30:55.468Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-01-22T12:30:55.468Z] HTTP request sent, awaiting response... 302 Found [2021-01-22T12:30:55.468Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-01-22T12:30:55.468Z] --2021-01-22 12:30:55-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-01-22T12:30:55.468Z] Resolving codeload.github.com... 140.82.113.9 [2021-01-22T12:30:55.468Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-01-22T12:30:55.739Z] HTTP request sent, awaiting response... 200 OK [2021-01-22T12:30:55.739Z] Length: unspecified [application/x-gzip] [2021-01-22T12:30:55.739Z] Saving to: 'STDOUT' [2021-01-22T12:30:55.739Z]  [2021-01-22T12:30:55.739Z] 0K .......... .......... .......... .......... .......... 1.52M [2021-01-22T12:30:55.739Z] 50K .......... .......... .......... .......... .......... 2.80M [2021-01-22T12:30:55.739Z] 100K .......... .......... .......... .......... .......... 3.36M [2021-01-22T12:30:55.739Z] 150K .......... .......... .......  2.45M=0.08s [2021-01-22T12:30:55.739Z] [2021-01-22T12:30:55.739Z] 2021-01-22 12:30:55 (2.31 MB/s) - written to stdout [181536] [2021-01-22T12:30:55.739Z] [2021-01-22T12:30:55.739Z] + mkdir -p src/c/iot [2021-01-22T12:30:55.739Z] + 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-01-22T12:30:55.739Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-01-22T12:30:55.739Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-01-22T12:30:55.739Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-01-22T12:30:55.739Z] + mkdir -p include/iot [2021-01-22T12:30:55.739Z] + 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-01-22T12:30:55.739Z] + mkdir -p include/iot/os [2021-01-22T12:30:55.739Z] + 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-01-22T12:30:55.739Z] + mkdir -p /tmp/sdk/build/release [2021-01-22T12:30:55.739Z] + cd /tmp/sdk/build/release [2021-01-22T12:30:55.739Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-01-22T12:30:55.852Z] 6059c847ac2f: Pull complete [2021-01-22T12:30:55.852Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-01-22T12:30:55.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-01-22T12:30:55.852Z] ---> 5eabd8fd8ba2 [2021-01-22T12:30:55.852Z] Step 3/21 : 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 [2021-01-22T12:30:56.010Z] -- The C compiler identification is GNU 8.3.0 [2021-01-22T12:30:56.281Z] -- Check for working C compiler: /usr/bin/cc [2021-01-22T12:30:56.281Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-01-22T12:30:56.281Z] -- Detecting C compiler ABI info [2021-01-22T12:30:56.551Z] -- Detecting C compiler ABI info - done [2021-01-22T12:30:56.551Z] -- Detecting C compile features [2021-01-22T12:30:57.258Z] ---> Running in 429d48259723 [2021-01-22T12:30:57.537Z] -- Detecting C compile features - done [2021-01-22T12:30:57.537Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-01-22T12:30:57.537Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-01-22T12:30:57.537Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-01-22T12:30:57.537Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-01-22T12:30:57.537Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-01-22T12:30:57.537Z] -- C SDK 1.3.1-dev.3 for Linux [2021-01-22T12:30:57.537Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-01-22T12:30:57.537Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-01-22T12:30:57.537Z] -- Found Curses: /usr/lib/libcurses.so [2021-01-22T12:30:57.809Z] -- Configuring done [2021-01-22T12:30:57.835Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-01-22T12:30:58.080Z] -- Generating done [2021-01-22T12:30:58.080Z] -- Build files have been written to: /tmp/sdk/build/release [2021-01-22T12:30:58.080Z] + make [2021-01-22T12:30:58.080Z] + tee release.log [2021-01-22T12:30:58.080Z] Scanning dependencies of target csdk [2021-01-22T12:30:58.350Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-01-22T12:30:58.940Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2021-01-22T12:30:59.529Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-01-22T12:30:59.802Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-01-22T12:31:00.390Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-01-22T12:31:01.775Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-01-22T12:31:01.785Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-01-22T12:31:01.785Z] (2/8) Installing libuuid (2.33-r0) [2021-01-22T12:31:01.785Z] (3/8) Installing libblkid (2.33-r0) [2021-01-22T12:31:02.362Z] (4/8) Installing libfdisk (2.33-r0) [2021-01-22T12:31:02.366Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-01-22T12:31:02.366Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-01-22T12:31:02.624Z] (5/8) Installing libmount (2.33-r0) [2021-01-22T12:31:02.886Z] (6/8) Installing libsmartcols (2.33-r0) [2021-01-22T12:31:03.148Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-01-22T12:31:03.784Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-01-22T12:31:04.538Z] (8/8) Installing wget (1.20.3-r0) [2021-01-22T12:31:05.115Z] Executing busybox-1.29.3-r10.trigger [2021-01-22T12:31:05.115Z] OK: 272 MiB in 83 packages [2021-01-22T12:31:05.754Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-01-22T12:31:06.031Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-01-22T12:31:06.072Z] Removing intermediate container 429d48259723 [2021-01-22T12:31:06.073Z] ---> e955403c07b3 [2021-01-22T12:31:06.073Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-01-22T12:31:06.073Z] ---> Running in 1c7b8c9e95c0 [2021-01-22T12:31:06.073Z] Removing intermediate container 1c7b8c9e95c0 [2021-01-22T12:31:06.073Z] ---> 3f66d4a5d360 [2021-01-22T12:31:06.073Z] Step 5/21 : 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-01-22T12:31:06.073Z] ---> Running in 1942a881332e [2021-01-22T12:31:06.624Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-01-22T12:31:06.649Z] --2021-01-22 12:31:06-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-01-22T12:31:06.649Z] Resolving github.com... 140.82.113.4 [2021-01-22T12:31:06.649Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-01-22T12:31:06.649Z] HTTP request sent, awaiting response... 302 Found [2021-01-22T12:31:06.649Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-01-22T12:31:06.649Z] --2021-01-22 12:31:06-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-01-22T12:31:06.649Z] Resolving codeload.github.com... 140.82.113.9 [2021-01-22T12:31:06.649Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-01-22T12:31:06.919Z] HTTP request sent, awaiting response... 200 OK [2021-01-22T12:31:06.919Z] Length: unspecified [application/x-gzip] [2021-01-22T12:31:06.919Z] Saving to: 'STDOUT' [2021-01-22T12:31:06.919Z] [2021-01-22T12:31:06.919Z] 0K .......... .......... .......... .......... .......... 1.33M [2021-01-22T12:31:06.919Z] 50K .......... .......... .......... .......... .......... 9.03M [2021-01-22T12:31:06.919Z] 100K .......... .......... .......... .......... .......... 3.60M [2021-01-22T12:31:06.919Z] 150K .......... .......... .......... .......... .......... 12.0M [2021-01-22T12:31:06.919Z] 200K .......... .......... .......... .......... .......... 3.73M [2021-01-22T12:31:06.919Z] 250K .......... .......... .......... .......... .......... 27.3M [2021-01-22T12:31:06.919Z] 300K .......... .......... .......... .......... .......... 12.0M [2021-01-22T12:31:06.919Z] 350K .......... .......... .......... .......... .......... 13.5M [2021-01-22T12:31:06.919Z] 400K .......... .......... .......... .......... .......... 6.63M [2021-01-22T12:31:06.919Z] 450K .......... .......... .......... .......... .......... 6.11M [2021-01-22T12:31:06.919Z] 500K .......... .......... .......... .......... .......... 11.8M [2021-01-22T12:31:06.919Z] 550K .......... .......... .......... .......... .......... 7.38M [2021-01-22T12:31:06.919Z] 600K .......... .......... .......... .......... .......... 1.97M [2021-01-22T12:31:06.919Z] 650K .......... .......... .......... .......... .......... 4.36M [2021-01-22T12:31:06.919Z] 700K .. 18.8M=0.1s [2021-01-22T12:31:06.919Z] [2021-01-22T12:31:06.919Z] 2021-01-22 12:31:06 (4.74 MB/s) - written to stdout [719348] [2021-01-22T12:31:06.919Z] [2021-01-22T12:31:07.182Z] -- The C compiler identification is GNU 8.3.0 [2021-01-22T12:31:07.182Z] -- The CXX compiler identification is GNU 8.3.0 [2021-01-22T12:31:07.182Z] -- Check for working C compiler: /usr/bin/cc [2021-01-22T12:31:07.216Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-01-22T12:31:07.444Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-01-22T12:31:07.444Z] -- Detecting C compiler ABI info [2021-01-22T12:31:07.444Z] -- Detecting C compiler ABI info - done [2021-01-22T12:31:07.444Z] -- Detecting C compile features [2021-01-22T12:31:07.489Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-01-22T12:31:07.709Z] -- Detecting C compile features - done [2021-01-22T12:31:07.709Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-01-22T12:31:07.709Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-01-22T12:31:07.709Z] -- Detecting CXX compiler ABI info [2021-01-22T12:31:07.709Z] -- Detecting CXX compiler ABI info - done [2021-01-22T12:31:07.709Z] -- Detecting CXX compile features [2021-01-22T12:31:07.760Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-01-22T12:31:08.032Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-01-22T12:31:08.284Z] -- Detecting CXX compile features - done [2021-01-22T12:31:08.284Z] -- Looking for include file endian.h [2021-01-22T12:31:08.285Z] -- Looking for include file endian.h - found [2021-01-22T12:31:08.285Z] -- Check if the system is big endian [2021-01-22T12:31:08.285Z] -- Searching 16 bit integer [2021-01-22T12:31:08.285Z] -- Looking for sys/types.h [2021-01-22T12:31:08.547Z] -- Looking for sys/types.h - found [2021-01-22T12:31:08.547Z] -- Looking for stdint.h [2021-01-22T12:31:08.547Z] -- Looking for stdint.h - found [2021-01-22T12:31:08.547Z] -- Looking for stddef.h [2021-01-22T12:31:08.547Z] -- Looking for stddef.h - found [2021-01-22T12:31:08.547Z] -- Check size of unsigned short [2021-01-22T12:31:08.809Z] -- Check size of unsigned short - done [2021-01-22T12:31:08.809Z] -- Using unsigned short [2021-01-22T12:31:08.809Z] -- Check if the system is big endian - little endian [2021-01-22T12:31:08.809Z] -- Check size of size_t [2021-01-22T12:31:08.809Z] -- Check size of size_t - done [2021-01-22T12:31:08.809Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-01-22T12:31:08.809Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-01-22T12:31:08.809Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-01-22T12:31:08.809Z] CMake did not find one. [2021-01-22T12:31:08.809Z] [2021-01-22T12:31:08.809Z] Could not find a package configuration file provided by "cJSON" with any of [2021-01-22T12:31:08.809Z] the following names: [2021-01-22T12:31:08.809Z] [2021-01-22T12:31:08.809Z] cJSONConfig.cmake [2021-01-22T12:31:08.809Z] cjson-config.cmake [2021-01-22T12:31:08.809Z] [2021-01-22T12:31:08.809Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-01-22T12:31:08.809Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-01-22T12:31:08.809Z] provides a separate development package or SDK, be sure it has been [2021-01-22T12:31:08.809Z] installed. [2021-01-22T12:31:08.809Z] [2021-01-22T12:31:08.809Z] [2021-01-22T12:31:08.809Z] -- Configuring done [2021-01-22T12:31:09.073Z] -- Generating done [2021-01-22T12:31:09.073Z] -- Build files have been written to: /tmp/cbor [2021-01-22T12:31:09.073Z] Scanning dependencies of target cbor_shared [2021-01-22T12:31:09.073Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-01-22T12:31:09.073Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-01-22T12:31:09.335Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-01-22T12:31:09.335Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-01-22T12:31:09.598Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-01-22T12:31:09.598Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-01-22T12:31:09.598Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-01-22T12:31:09.860Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-01-22T12:31:09.860Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-01-22T12:31:09.860Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-01-22T12:31:10.124Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-01-22T12:31:10.124Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-01-22T12:31:10.124Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-01-22T12:31:10.386Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-01-22T12:31:10.386Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-01-22T12:31:10.386Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-01-22T12:31:10.648Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-01-22T12:31:10.648Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-01-22T12:31:10.648Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-01-22T12:31:10.648Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-01-22T12:31:10.910Z] [ 40%] Linking C shared library libcbor.so [2021-01-22T12:31:10.910Z] [ 40%] Built target cbor_shared [2021-01-22T12:31:10.910Z] Scanning dependencies of target cbor [2021-01-22T12:31:10.910Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-01-22T12:31:11.172Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-01-22T12:31:11.172Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-01-22T12:31:11.172Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-01-22T12:31:11.407Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-01-22T12:31:11.437Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-01-22T12:31:11.682Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-01-22T12:31:11.699Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-01-22T12:31:11.699Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-01-22T12:31:11.699Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-01-22T12:31:11.699Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-01-22T12:31:11.964Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-01-22T12:31:11.964Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-01-22T12:31:12.227Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-01-22T12:31:12.227Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-01-22T12:31:12.227Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-01-22T12:31:12.295Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-01-22T12:31:12.490Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-01-22T12:31:12.490Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-01-22T12:31:12.490Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-01-22T12:31:12.567Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-01-22T12:31:12.752Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-01-22T12:31:12.752Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-01-22T12:31:12.752Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-01-22T12:31:12.752Z] [ 80%] Linking C static library libcbor.a [2021-01-22T12:31:12.752Z] [ 80%] Built target cbor [2021-01-22T12:31:12.752Z] Scanning dependencies of target create_items [2021-01-22T12:31:12.752Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-01-22T12:31:13.015Z] [ 84%] Linking C executable create_items [2021-01-22T12:31:13.016Z] [ 84%] Built target create_items [2021-01-22T12:31:13.016Z] Scanning dependencies of target readfile [2021-01-22T12:31:13.016Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-01-22T12:31:13.016Z] [ 88%] Linking C executable readfile [2021-01-22T12:31:13.016Z] [ 88%] Built target readfile [2021-01-22T12:31:13.016Z] Scanning dependencies of target streaming_parser [2021-01-22T12:31:13.016Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-01-22T12:31:13.163Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-01-22T12:31:13.278Z] [ 92%] Linking C executable streaming_parser [2021-01-22T12:31:13.278Z] [ 92%] Built target streaming_parser [2021-01-22T12:31:13.278Z] Scanning dependencies of target sort [2021-01-22T12:31:13.278Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-01-22T12:31:13.278Z] [ 96%] Linking C executable sort [2021-01-22T12:31:13.278Z] [ 96%] Built target sort [2021-01-22T12:31:13.278Z] Scanning dependencies of target hello [2021-01-22T12:31:13.278Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-01-22T12:31:13.278Z] [100%] Linking C executable hello [2021-01-22T12:31:13.278Z] [100%] Built target hello [2021-01-22T12:31:13.278Z] Install the project... [2021-01-22T12:31:13.542Z] -- Install configuration: "Release" [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/lib64/libcbor.a [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/lib64/libcbor.so [2021-01-22T12:31:13.542Z] -- Up-to-date: /usr/local/include/cbor [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/common.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/data.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/internal [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/ints.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/maps.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/strings.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor/tags.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/include/cbor.h [2021-01-22T12:31:13.542Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-01-22T12:31:15.467Z] Removing intermediate container 1942a881332e [2021-01-22T12:31:15.467Z] ---> 414faeca8915 [2021-01-22T12:31:15.467Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-01-22T12:31:15.467Z] ---> Running in 4b1e83096c41 [2021-01-22T12:31:15.778Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-01-22T12:31:15.778Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-01-22T12:31:16.049Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-01-22T12:31:16.419Z] Removing intermediate container 4b1e83096c41 [2021-01-22T12:31:16.419Z] ---> 1bb88d432c8a [2021-01-22T12:31:16.419Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-01-22T12:31:16.640Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-01-22T12:31:16.683Z] ---> f5f337b763e5 [2021-01-22T12:31:16.683Z] Step 8/21 : COPY src /tmp/sdk/src [2021-01-22T12:31:16.917Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-01-22T12:31:17.199Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-01-22T12:31:17.631Z] ---> 5ba32c3aa3c6 [2021-01-22T12:31:17.631Z] Step 9/21 : COPY include /tmp/sdk/include [2021-01-22T12:31:17.631Z] ---> a8af7bced53c [2021-01-22T12:31:17.631Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-01-22T12:31:17.897Z] ---> a2d55c5fbfe6 [2021-01-22T12:31:17.897Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-01-22T12:31:18.159Z] ---> 157d9b5fd76f [2021-01-22T12:31:18.159Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-01-22T12:31:18.171Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-01-22T12:31:18.423Z] ---> 201699c9cdb7 [2021-01-22T12:31:18.423Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-01-22T12:31:18.423Z] ---> Running in c8563feb0da9 [2021-01-22T12:31:18.441Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-01-22T12:31:18.999Z] + CPPCHECK=false [2021-01-22T12:31:18.999Z] + DOCGEN=false [2021-01-22T12:31:18.999Z] + TOMLVER=SDK-0.2 [2021-01-22T12:31:18.999Z] + CUTILVER=1.1.4 [2021-01-22T12:31:18.999Z] + '[' 0 -gt 0 ] [2021-01-22T12:31:18.999Z] + readlink -f ./scripts/build.sh [2021-01-22T12:31:18.999Z] + dirname /tmp/sdk/scripts/build.sh [2021-01-22T12:31:18.999Z] + dirname /tmp/sdk/scripts [2021-01-22T12:31:18.999Z] + ROOT=/tmp/sdk [2021-01-22T12:31:18.999Z] + cd /tmp/sdk [2021-01-22T12:31:18.999Z] + '[' '!' -d deps ] [2021-01-22T12:31:18.999Z] + mkdir deps [2021-01-22T12:31:18.999Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-01-22T12:31:18.999Z] + tar -C deps -z -x -f - [2021-01-22T12:31:18.999Z] --2021-01-22 12:31:18-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-01-22T12:31:18.999Z] Resolving github.com... 140.82.113.3 [2021-01-22T12:31:18.999Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-01-22T12:31:18.999Z] HTTP request sent, awaiting response... 302 Found [2021-01-22T12:31:18.999Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-01-22T12:31:18.999Z] --2021-01-22 12:31:18-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-01-22T12:31:18.999Z] Resolving codeload.github.com... 140.82.113.9 [2021-01-22T12:31:18.999Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-01-22T12:31:19.032Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-01-22T12:31:19.262Z] HTTP request sent, awaiting response... 200 OK [2021-01-22T12:31:19.262Z] Length: unspecified [application/x-gzip] [2021-01-22T12:31:19.262Z] Saving to: 'STDOUT' [2021-01-22T12:31:19.262Z] [2021-01-22T12:31:19.262Z] 0K .......... ......  879K=0.02s [2021-01-22T12:31:19.262Z] [2021-01-22T12:31:19.262Z] 2021-01-22 12:31:19 (879 KB/s) - written to stdout [16451] [2021-01-22T12:31:19.262Z] [2021-01-22T12:31:19.262Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-01-22T12:31:19.262Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-01-22T12:31:19.262Z] + tar -C deps -z -x -f - [2021-01-22T12:31:19.262Z] --2021-01-22 12:31:19-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-01-22T12:31:19.262Z] Resolving github.com... 140.82.113.3 [2021-01-22T12:31:19.262Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-01-22T12:31:19.262Z] HTTP request sent, awaiting response... 302 Found [2021-01-22T12:31:19.262Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-01-22T12:31:19.262Z] --2021-01-22 12:31:19-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-01-22T12:31:19.262Z] Resolving codeload.github.com... 140.82.113.9 [2021-01-22T12:31:19.262Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-01-22T12:31:19.306Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-01-22T12:31:19.524Z] HTTP request sent, awaiting response... 200 OK [2021-01-22T12:31:19.525Z] Length: unspecified [application/x-gzip] [2021-01-22T12:31:19.525Z] Saving to: 'STDOUT' [2021-01-22T12:31:19.525Z]  [2021-01-22T12:31:19.525Z] 0K .......... .......... .......... .......... .......... 1.33M [2021-01-22T12:31:19.525Z] 50K .......... .......... .......... .......... .......... 2.75M [2021-01-22T12:31:19.525Z] 100K .......... .......... .......... .......... .......... 38.0M [2021-01-22T12:31:19.525Z] 150K .......... .......... ....... 3.86M=0.06s [2021-01-22T12:31:19.525Z] [2021-01-22T12:31:19.525Z] 2021-01-22 12:31:19 (2.76 MB/s) - written to stdout [181536] [2021-01-22T12:31:19.525Z] [2021-01-22T12:31:19.525Z] + mkdir -p src/c/iot [2021-01-22T12:31:19.525Z] + 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-01-22T12:31:19.525Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-01-22T12:31:19.525Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-01-22T12:31:19.525Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-01-22T12:31:19.525Z] + mkdir -p include/iot [2021-01-22T12:31:19.525Z] + 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-01-22T12:31:19.525Z] + mkdir -p include/iot/os [2021-01-22T12:31:19.525Z] + 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-01-22T12:31:19.525Z] + mkdir -p /tmp/sdk/build/release [2021-01-22T12:31:19.525Z] + cd /tmp/sdk/build/release [2021-01-22T12:31:19.525Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-01-22T12:31:19.525Z] -- The C compiler identification is GNU 8.3.0 [2021-01-22T12:31:19.525Z] -- Check for working C compiler: /usr/bin/cc [2021-01-22T12:31:19.787Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-01-22T12:31:19.787Z] -- Detecting C compiler ABI info [2021-01-22T12:31:19.787Z] -- Detecting C compiler ABI info - done [2021-01-22T12:31:19.787Z] -- Detecting C compile features [2021-01-22T12:31:20.049Z] -- Detecting C compile features - done [2021-01-22T12:31:20.049Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-01-22T12:31:20.049Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-01-22T12:31:20.049Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-01-22T12:31:20.049Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-01-22T12:31:20.049Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-01-22T12:31:20.049Z] -- C SDK 1.3.1-dev.3 for Linux [2021-01-22T12:31:20.049Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-01-22T12:31:20.049Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-01-22T12:31:20.049Z] -- Found Curses: /usr/lib/libcurses.so [2021-01-22T12:31:20.310Z] -- Configuring done [2021-01-22T12:31:20.310Z] -- Generating done [2021-01-22T12:31:20.310Z] -- Build files have been written to: /tmp/sdk/build/release [2021-01-22T12:31:20.310Z] + make [2021-01-22T12:31:20.311Z] + tee release.log [2021-01-22T12:31:20.311Z] Scanning dependencies of target csdk [2021-01-22T12:31:20.311Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-01-22T12:31:20.573Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2021-01-22T12:31:20.573Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-01-22T12:31:20.837Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-01-22T12:31:21.105Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-01-22T12:31:21.270Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-01-22T12:31:21.367Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-01-22T12:31:21.367Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-01-22T12:31:21.541Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-01-22T12:31:21.630Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-01-22T12:31:22.206Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-01-22T12:31:22.470Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-01-22T12:31:22.470Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-01-22T12:31:22.510Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-01-22T12:31:22.731Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-01-22T12:31:22.732Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-01-22T12:31:22.782Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-01-22T12:31:22.993Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-01-22T12:31:22.993Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-01-22T12:31:23.939Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-01-22T12:31:23.939Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-01-22T12:31:23.939Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-01-22T12:31:24.202Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-01-22T12:31:24.202Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-01-22T12:31:24.783Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-01-22T12:31:25.044Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-01-22T12:31:25.044Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-01-22T12:31:25.044Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-01-22T12:31:25.307Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-01-22T12:31:25.307Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-01-22T12:31:25.568Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-01-22T12:31:25.568Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-01-22T12:31:25.830Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-01-22T12:31:25.830Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-01-22T12:31:26.402Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-01-22T12:31:26.402Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-01-22T12:31:26.664Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-01-22T12:31:26.664Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-01-22T12:31:27.073Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-01-22T12:31:27.345Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-01-22T12:31:27.934Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-01-22T12:31:28.051Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-01-22T12:31:28.051Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-01-22T12:31:28.051Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-01-22T12:31:28.210Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-01-22T12:31:28.314Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-01-22T12:31:28.314Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-01-22T12:31:28.888Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-01-22T12:31:29.191Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-01-22T12:31:29.459Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-01-22T12:31:30.166Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-01-22T12:31:30.406Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-01-22T12:31:30.406Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2021-01-22T12:31:30.669Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-01-22T12:31:30.930Z] [ 71%] Linking C shared library libcsdk.so [2021-01-22T12:31:30.930Z] [ 71%] Built target csdk [2021-01-22T12:31:30.930Z] Scanning dependencies of target template [2021-01-22T12:31:30.930Z] [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-01-22T12:31:31.192Z] [ 74%] Linking C executable template [2021-01-22T12:31:31.192Z] [ 74%] Built target template [2021-01-22T12:31:31.192Z] Scanning dependencies of target device-counter [2021-01-22T12:31:31.192Z] [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-01-22T12:31:31.192Z] [ 77%] Linking C executable device-counter [2021-01-22T12:31:31.454Z] [ 77%] Built target device-counter [2021-01-22T12:31:31.454Z] Scanning dependencies of target device-random [2021-01-22T12:31:31.454Z] [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-01-22T12:31:31.454Z] [ 80%] Linking C executable device-random [2021-01-22T12:31:31.454Z] [ 80%] Built target device-random [2021-01-22T12:31:31.454Z] Scanning dependencies of target device-gyro [2021-01-22T12:31:31.716Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-01-22T12:31:31.716Z] [ 84%] Linking C executable device-gyro [2021-01-22T12:31:31.716Z] [ 84%] Built target device-gyro [2021-01-22T12:31:31.716Z] Scanning dependencies of target device-bitfields [2021-01-22T12:31:31.716Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-01-22T12:31:31.982Z] [ 87%] Linking C executable device-bitfields [2021-01-22T12:31:31.982Z] [ 87%] Built target device-bitfields [2021-01-22T12:31:31.982Z] Scanning dependencies of target template-discovery [2021-01-22T12:31:31.982Z] [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-01-22T12:31:32.139Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-01-22T12:31:32.364Z] [ 90%] Linking C executable template-discovery [2021-01-22T12:31:32.364Z] [ 90%] Built target template-discovery [2021-01-22T12:31:32.364Z] Scanning dependencies of target device-file [2021-01-22T12:31:32.364Z] [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-01-22T12:31:32.364Z] [ 93%] Linking C executable device-file [2021-01-22T12:31:32.655Z] [ 93%] Built target device-file [2021-01-22T12:31:32.655Z] Scanning dependencies of target device-terminal [2021-01-22T12:31:32.655Z] [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-01-22T12:31:32.655Z] [ 96%] Linking C executable device-terminal [2021-01-22T12:31:32.655Z] [ 96%] Built target device-terminal [2021-01-22T12:31:32.655Z] Scanning dependencies of target templatev1 [2021-01-22T12:31:32.655Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2021-01-22T12:31:32.963Z] [100%] Linking C executable templatev1 [2021-01-22T12:31:32.963Z] [100%] Built target templatev1 [2021-01-22T12:31:32.963Z] + make package [2021-01-22T12:31:32.963Z] + tee -a release.log [2021-01-22T12:31:32.963Z] [ 71%] Built target csdk [2021-01-22T12:31:32.963Z] [ 74%] Built target template [2021-01-22T12:31:32.963Z] [ 77%] Built target device-counter [2021-01-22T12:31:33.281Z] [ 80%] Built target device-random [2021-01-22T12:31:33.281Z] [ 84%] Built target device-gyro [2021-01-22T12:31:33.281Z] [ 87%] Built target device-bitfields [2021-01-22T12:31:33.281Z] [ 90%] Built target template-discovery [2021-01-22T12:31:33.281Z] [ 93%] Built target device-file [2021-01-22T12:31:33.281Z] [ 96%] Built target device-terminal [2021-01-22T12:31:33.281Z] [100%] Built target templatev1 [2021-01-22T12:31:33.281Z] Run CPack packaging tool... [2021-01-22T12:31:33.281Z] CPack: Create package using TGZ [2021-01-22T12:31:33.281Z] CPack: Install projects [2021-01-22T12:31:33.281Z] CPack: - Run preinstall target for: Csdk [2021-01-22T12:31:33.564Z] CPack: - Install project: Csdk [2021-01-22T12:31:33.564Z] CPack: Create package [2021-01-22T12:31:33.564Z] CPack: - package: /tmp/sdk/build/release/csdk-1.3.1-dev.3.tar.gz generated. [2021-01-22T12:31:33.564Z] + '[' false '=' true ] [2021-01-22T12:31:33.564Z] + '[' false '=' true ] [2021-01-22T12:31:33.564Z] + mkdir -p /tmp/sdk/build/debug [2021-01-22T12:31:33.564Z] + cd /tmp/sdk/build/debug [2021-01-22T12:31:33.564Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-01-22T12:31:33.564Z] -- The C compiler identification is GNU 8.3.0 [2021-01-22T12:31:33.564Z] -- Check for working C compiler: /usr/bin/cc [2021-01-22T12:31:33.826Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-01-22T12:31:33.826Z] -- Detecting C compiler ABI info [2021-01-22T12:31:33.826Z] -- Detecting C compiler ABI info - done [2021-01-22T12:31:33.826Z] -- Detecting C compile features [2021-01-22T12:31:34.088Z] -- Detecting C compile features - done [2021-01-22T12:31:34.088Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-01-22T12:31:34.088Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-01-22T12:31:34.088Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-01-22T12:31:34.088Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-01-22T12:31:34.088Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-01-22T12:31:34.088Z] -- C SDK 1.3.1-dev.3 for Linux [2021-01-22T12:31:34.088Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-01-22T12:31:34.088Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-01-22T12:31:34.088Z] -- Found Curses: /usr/lib/libcurses.so [2021-01-22T12:31:34.088Z] -- Configuring done [2021-01-22T12:31:34.351Z] -- Generating done [2021-01-22T12:31:34.351Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-01-22T12:31:34.351Z] + make [2021-01-22T12:31:34.351Z] + tee debug.log [2021-01-22T12:31:34.351Z] Scanning dependencies of target csdk [2021-01-22T12:31:34.351Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-01-22T12:31:34.351Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2021-01-22T12:31:34.614Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-01-22T12:31:34.614Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-01-22T12:31:34.882Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-01-22T12:31:34.882Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-01-22T12:31:34.882Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-01-22T12:31:35.145Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-01-22T12:31:35.145Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-01-22T12:31:35.408Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-01-22T12:31:35.408Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-01-22T12:31:35.408Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-01-22T12:31:35.507Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-01-22T12:31:35.671Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-01-22T12:31:35.672Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-01-22T12:31:35.672Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-01-22T12:31:35.782Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2021-01-22T12:31:35.935Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-01-22T12:31:35.936Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-01-22T12:31:36.198Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-01-22T12:31:36.198Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-01-22T12:31:36.198Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-01-22T12:31:36.460Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-01-22T12:31:36.460Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-01-22T12:31:36.460Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-01-22T12:31:36.724Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-01-22T12:31:36.724Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-01-22T12:31:36.724Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-01-22T12:31:36.724Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-01-22T12:31:36.990Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-01-22T12:31:36.990Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-01-22T12:31:36.990Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-01-22T12:31:37.208Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-01-22T12:31:37.252Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-01-22T12:31:37.252Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-01-22T12:31:37.252Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-01-22T12:31:37.481Z] [ 71%] Linking C shared library libcsdk.so [2021-01-22T12:31:37.481Z] [ 71%] Built target csdk [2021-01-22T12:31:37.481Z] Scanning dependencies of target template [2021-01-22T12:31:37.515Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-01-22T12:31:37.754Z] [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-01-22T12:31:37.777Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-01-22T12:31:37.777Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-01-22T12:31:37.777Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-01-22T12:31:38.038Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-01-22T12:31:38.038Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-01-22T12:31:38.301Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-01-22T12:31:38.301Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-01-22T12:31:38.351Z] [ 74%] Linking C executable template [2021-01-22T12:31:38.351Z] [ 74%] Built target template [2021-01-22T12:31:38.563Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-01-22T12:31:38.623Z] Scanning dependencies of target device-counter [2021-01-22T12:31:38.623Z] [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-01-22T12:31:38.826Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2021-01-22T12:31:38.826Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-01-22T12:31:38.826Z] [ 71%] Linking C shared library libcsdk.so [2021-01-22T12:31:38.899Z] [ 77%] Linking C executable device-counter [2021-01-22T12:31:39.089Z] [ 71%] Built target csdk [2021-01-22T12:31:39.089Z] Scanning dependencies of target template [2021-01-22T12:31:39.089Z] [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-01-22T12:31:39.089Z] [ 74%] Linking C executable template [2021-01-22T12:31:39.089Z] [ 74%] Built target template [2021-01-22T12:31:39.089Z] Scanning dependencies of target device-counter [2021-01-22T12:31:39.089Z] [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-01-22T12:31:39.174Z] [ 77%] Built target device-counter [2021-01-22T12:31:39.174Z] Scanning dependencies of target device-random [2021-01-22T12:31:39.174Z] [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-01-22T12:31:39.352Z] [ 77%] Linking C executable device-counter [2021-01-22T12:31:39.352Z] [ 77%] Built target device-counter [2021-01-22T12:31:39.352Z] Scanning dependencies of target device-random [2021-01-22T12:31:39.352Z] [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-01-22T12:31:39.352Z] [ 80%] Linking C executable device-random [2021-01-22T12:31:39.352Z] [ 80%] Built target device-random [2021-01-22T12:31:39.352Z] Scanning dependencies of target device-gyro [2021-01-22T12:31:39.352Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-01-22T12:31:39.615Z] [ 84%] Linking C executable device-gyro [2021-01-22T12:31:39.615Z] [ 84%] Built target device-gyro [2021-01-22T12:31:39.615Z] Scanning dependencies of target device-bitfields [2021-01-22T12:31:39.615Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-01-22T12:31:39.615Z] [ 87%] Linking C executable device-bitfields [2021-01-22T12:31:39.766Z] [ 80%] Linking C executable device-random [2021-01-22T12:31:39.877Z] [ 87%] Built target device-bitfields [2021-01-22T12:31:39.877Z] Scanning dependencies of target template-discovery [2021-01-22T12:31:39.877Z] [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-01-22T12:31:39.877Z] [ 90%] Linking C executable template-discovery [2021-01-22T12:31:39.877Z] [ 90%] Built target template-discovery [2021-01-22T12:31:39.877Z] Scanning dependencies of target device-file [2021-01-22T12:31:39.877Z] [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-01-22T12:31:40.045Z] [ 80%] Built target device-random [2021-01-22T12:31:40.045Z] Scanning dependencies of target device-gyro [2021-01-22T12:31:40.045Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-01-22T12:31:40.139Z] [ 93%] Linking C executable device-file [2021-01-22T12:31:40.139Z] [ 93%] Built target device-file [2021-01-22T12:31:40.139Z] Scanning dependencies of target device-terminal [2021-01-22T12:31:40.139Z] [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-01-22T12:31:40.139Z] [ 96%] Linking C executable device-terminal [2021-01-22T12:31:40.317Z] [ 84%] Linking C executable device-gyro [2021-01-22T12:31:40.402Z] [ 96%] Built target device-terminal [2021-01-22T12:31:40.402Z] Scanning dependencies of target templatev1 [2021-01-22T12:31:40.402Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2021-01-22T12:31:40.403Z] [100%] Linking C executable templatev1 [2021-01-22T12:31:40.403Z] [100%] Built target templatev1 [2021-01-22T12:31:40.403Z] make: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.403Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.403Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.403Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.403Z] [ 71%] Built target csdk [2021-01-22T12:31:40.403Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.403Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.403Z] [ 74%] Built target template [2021-01-22T12:31:40.403Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.589Z] [ 84%] Built target device-gyro [2021-01-22T12:31:40.589Z] Scanning dependencies of target device-bitfields [2021-01-22T12:31:40.589Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-01-22T12:31:40.665Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.665Z] [ 77%] Built target device-counter [2021-01-22T12:31:40.665Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.665Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.665Z] [ 80%] Built target device-random [2021-01-22T12:31:40.665Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.665Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.665Z] [ 84%] Built target device-gyro [2021-01-22T12:31:40.665Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.665Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.665Z] [ 87%] Built target device-bitfields [2021-01-22T12:31:40.665Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.665Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.665Z] [ 90%] Built target template-discovery [2021-01-22T12:31:40.665Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.665Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.665Z] [ 93%] Built target device-file [2021-01-22T12:31:40.665Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.665Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.665Z] [ 96%] Built target device-terminal [2021-01-22T12:31:40.665Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.665Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.665Z] [100%] Built target templatev1 [2021-01-22T12:31:40.665Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:31:40.665Z] Install the project... [2021-01-22T12:31:40.665Z] -- Install configuration: "Release" [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/lib/libcsdk.so [2021-01-22T12:31:40.665Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-01-22T12:31:40.665Z] -- Up-to-date: /usr/local/include [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/devsdk [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/edgex [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/edgex/devices.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/edgex/devsdk.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/edgex/error.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/edgex/eventgen.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/edgex/os.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/base64.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/component.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/config.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/container.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/data.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/hash.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/iot.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/json.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/logger.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/os.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/thread.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/time.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/typecode.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/os [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/include/iot/defs.h [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-01-22T12:31:40.665Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-01-22T12:31:40.665Z] make: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:31:41.183Z] [ 87%] Linking C executable device-bitfields [2021-01-22T12:31:41.183Z] [ 87%] Built target device-bitfields [2021-01-22T12:31:41.183Z] Scanning dependencies of target template-discovery [2021-01-22T12:31:41.183Z] [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-01-22T12:31:42.157Z] [ 90%] Linking C executable template-discovery [2021-01-22T12:31:42.157Z] [ 90%] Built target template-discovery [2021-01-22T12:31:42.157Z] Scanning dependencies of target device-file [2021-01-22T12:31:42.157Z] [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-01-22T12:31:42.750Z] [ 93%] Linking C executable device-file [2021-01-22T12:31:43.022Z] [ 93%] Built target device-file [2021-01-22T12:31:43.022Z] Scanning dependencies of target device-terminal [2021-01-22T12:31:43.022Z] [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-01-22T12:31:43.225Z] Removing intermediate container c8563feb0da9 [2021-01-22T12:31:43.225Z] ---> b02aba4a09c1 [2021-01-22T12:31:43.225Z] Step 14/21 : FROM ${BASE} [2021-01-22T12:31:43.225Z] ---> 5eabd8fd8ba2 [2021-01-22T12:31:43.225Z] Step 15/21 : LABEL maintainer="IOTech " [2021-01-22T12:31:43.225Z] ---> Running in 331b29a609f0 [2021-01-22T12:31:43.226Z] Removing intermediate container 331b29a609f0 [2021-01-22T12:31:43.226Z] ---> d56905219f0b [2021-01-22T12:31:43.226Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-01-22T12:31:43.226Z] ---> Running in ad32f27c5068 [2021-01-22T12:31:43.615Z] [ 96%] Linking C executable device-terminal [2021-01-22T12:31:43.802Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-01-22T12:31:43.888Z] [ 96%] Built target device-terminal [2021-01-22T12:31:43.888Z] Scanning dependencies of target templatev1 [2021-01-22T12:31:43.888Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2021-01-22T12:31:44.485Z] [100%] Linking C executable templatev1 [2021-01-22T12:31:44.485Z] [100%] Built target templatev1 [2021-01-22T12:31:44.485Z] + + maketee package -a [2021-01-22T12:31:44.485Z] release.log [2021-01-22T12:31:44.757Z] [ 71%] Built target csdk [2021-01-22T12:31:44.757Z] [ 74%] Built target template [2021-01-22T12:31:44.757Z] [ 77%] Built target device-counter [2021-01-22T12:31:44.757Z] [ 80%] Built target device-random [2021-01-22T12:31:45.029Z] [ 84%] Built target device-gyro [2021-01-22T12:31:45.030Z] [ 87%] Built target device-bitfields [2021-01-22T12:31:45.030Z] [ 90%] Built target template-discovery [2021-01-22T12:31:45.030Z] [ 93%] Built target device-file [2021-01-22T12:31:45.030Z] [ 96%] Built target device-terminal [2021-01-22T12:31:45.030Z] [100%] Built target templatev1 [2021-01-22T12:31:45.030Z] Run CPack packaging tool... [2021-01-22T12:31:45.303Z] CPack: Create package using TGZ [2021-01-22T12:31:45.303Z] CPack: Install projects [2021-01-22T12:31:45.303Z] CPack: - Run preinstall target for: Csdk [2021-01-22T12:31:45.899Z] CPack: - Install project: Csdk [2021-01-22T12:31:45.899Z] CPack: Create package [2021-01-22T12:31:45.899Z] CPack: - package: /tmp/sdk/build/release/csdk-1.3.1-dev.3.tar.gz generated. [2021-01-22T12:31:45.899Z] + '[' false '=' true ] [2021-01-22T12:31:45.899Z] + '[' false '=' true ] [2021-01-22T12:31:45.899Z] + mkdir -p /tmp/sdk/build/debug [2021-01-22T12:31:45.899Z] + cd /tmp/sdk/build/debug [2021-01-22T12:31:45.899Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-01-22T12:31:46.173Z] -- The C compiler identification is GNU 8.3.0 [2021-01-22T12:31:46.173Z] -- Check for working C compiler: /usr/bin/cc [2021-01-22T12:31:46.357Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-01-22T12:31:46.446Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-01-22T12:31:46.446Z] -- Detecting C compiler ABI info [2021-01-22T12:31:46.719Z] -- Detecting C compiler ABI info - done [2021-01-22T12:31:46.719Z] -- Detecting C compile features [2021-01-22T12:31:47.698Z] -- Detecting C compile features - done [2021-01-22T12:31:47.698Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-01-22T12:31:47.698Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-01-22T12:31:47.698Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-01-22T12:31:47.698Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-01-22T12:31:47.698Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-01-22T12:31:47.698Z] -- C SDK 1.3.1-dev.3 for Linux [2021-01-22T12:31:47.698Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-01-22T12:31:47.698Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-01-22T12:31:47.698Z] -- Found Curses: /usr/lib/libcurses.so [2021-01-22T12:31:47.970Z] -- Configuring done [2021-01-22T12:31:48.243Z] -- Generating done [2021-01-22T12:31:48.243Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-01-22T12:31:48.243Z] + + maketee [2021-01-22T12:31:48.243Z] debug.log [2021-01-22T12:31:48.243Z] Scanning dependencies of target csdk [2021-01-22T12:31:48.277Z] (1/3) Installing curl (7.64.0-r5) [2021-01-22T12:31:48.277Z] (2/3) Installing libuuid (2.33-r0) [2021-01-22T12:31:48.277Z] (3/3) Installing wget (1.20.3-r0) [2021-01-22T12:31:48.515Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-01-22T12:31:48.788Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2021-01-22T12:31:48.853Z] Executing busybox-1.29.3-r10.trigger [2021-01-22T12:31:48.853Z] OK: 268 MiB in 78 packages [2021-01-22T12:31:49.060Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-01-22T12:31:49.333Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-01-22T12:31:49.429Z] Removing intermediate container ad32f27c5068 [2021-01-22T12:31:49.429Z] ---> 399ab590dd9d [2021-01-22T12:31:49.429Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-01-22T12:31:49.691Z] ---> 907bc42c5fa8 [2021-01-22T12:31:49.691Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-01-22T12:31:49.930Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-01-22T12:31:49.958Z] ---> c9c0c3b15e32 [2021-01-22T12:31:49.958Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-01-22T12:31:50.203Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-01-22T12:31:50.220Z] ---> 2e10f407c698 [2021-01-22T12:31:50.220Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-01-22T12:31:50.476Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-01-22T12:31:50.481Z] ---> 2647ec5fc848 [2021-01-22T12:31:50.482Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-01-22T12:31:50.744Z] ---> 42d78582e9e6 [2021-01-22T12:31:50.744Z] Successfully built 42d78582e9e6 [2021-01-22T12:31:50.744Z] Successfully tagged ci-base-image-x86_64:latest [2021-01-22T12:31:50.749Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:31:51.350Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-01-22T12:31:51.505Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-22T12:31:51.505Z] . [Pipeline] withDockerContainer [2021-01-22T12:31:51.623Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-01-22T12:31:51.641Z] prd-centos7-docker-4c-2g-22282 does not seem to be running inside a container [2021-01-22T12:31:51.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/51 -v /w/workspace/device-sdk-c/51:/w/workspace/device-sdk-c/51:rw,z -v /w/workspace/device-sdk-c/51@tmp:/w/workspace/device-sdk-c/51@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 ******** ci-base-image-x86_64 cat [2021-01-22T12:31:52.228Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-01-22T12:31:52.228Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-01-22T12:31:52.460Z] $ docker top cb6b7bb9f5dbceca48a78a5975bc7fb0f79db2ee331be0b563b81fc52032a6cf -eo pid,comm [2021-01-22T12:31:52.504Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [Pipeline] { [Pipeline] sh [2021-01-22T12:31:52.777Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-01-22T12:31:52.965Z] + make test [2021-01-22T12:31:52.965Z] echo "make test" [2021-01-22T12:31:52.965Z] make test [Pipeline] } [2021-01-22T12:31:52.980Z] $ docker stop --time=1 cb6b7bb9f5dbceca48a78a5975bc7fb0f79db2ee331be0b563b81fc52032a6cf [2021-01-22T12:31:53.050Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-01-22T12:31:54.025Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-01-22T12:31:54.025Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-01-22T12:31:54.298Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-01-22T12:31:54.317Z] $ docker rm -f cb6b7bb9f5dbceca48a78a5975bc7fb0f79db2ee331be0b563b81fc52032a6cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2021-01-22T12:31:54.574Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-01-22T12:31:54.849Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-01-22T12:31:55.445Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-01-22T12:31:55.722Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-01-22T12:31:55.998Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-01-22T12:31:55.998Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-01-22T12:31:56.273Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-01-22T12:31:56.545Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-01-22T12:31:56.832Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-01-22T12:31:57.104Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [Pipeline] sh [2021-01-22T12:31:57.377Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-01-22T12:31:57.377Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-01-22T12:31:57.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-22T12:31:57.794Z] + ls -al . [2021-01-22T12:31:57.794Z] total 160 [2021-01-22T12:31:57.794Z] drwxrwxr-x. 8 jenkins jenkins 260 Jan 22 12:30 . [2021-01-22T12:31:57.794Z] drwxrwxr-x. 4 jenkins jenkins 30 Jan 22 12:30 .. [2021-01-22T12:31:57.794Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jan 22 12:30 Attribution.txt [2021-01-22T12:31:57.794Z] -rw-rw-r--. 1 jenkins jenkins 6087 Jan 22 12:30 CHANGES [2021-01-22T12:31:57.794Z] drwxrwxr-x. 2 jenkins jenkins 144 Jan 22 12:30 docs [2021-01-22T12:31:57.794Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jan 22 12:30 Doxyfile [2021-01-22T12:31:57.794Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 22 12:30 .git [2021-01-22T12:31:57.794Z] drwxrwxr-x. 2 jenkins jenkins 81 Jan 22 12:30 .github [2021-01-22T12:31:57.794Z] -rw-rw-r--. 1 jenkins jenkins 176 Jan 22 12:30 .gitignore [2021-01-22T12:31:57.794Z] drwxrwxr-x. 4 jenkins jenkins 33 Jan 22 12:30 include [2021-01-22T12:31:57.794Z] -rw-rw-r--. 1 jenkins jenkins 784 Jan 22 12:30 Jenkinsfile [2021-01-22T12:31:57.794Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jan 22 12:30 LICENSE [2021-01-22T12:31:57.794Z] -rw-rw-r--. 1 jenkins jenkins 449 Jan 22 12:30 Makefile [2021-01-22T12:31:57.794Z] -rw-rw-r--. 1 jenkins jenkins 2697 Jan 22 12:30 README.md [2021-01-22T12:31:57.794Z] -rw-rw-r--. 1 jenkins jenkins 5977 Jan 22 12:30 README.v2.md [2021-01-22T12:31:57.794Z] drwxrwxr-x. 2 jenkins jenkins 98 Jan 22 12:30 scripts [2021-01-22T12:31:57.794Z] drwxrwxr-x. 4 jenkins jenkins 50 Jan 22 12:30 src [2021-01-22T12:31:57.794Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 22 12:27 VERSION [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:31:57.972Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-01-22T12:31:57.972Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-01-22T12:31:58.104Z] + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e144b802fa1870b274eef210e2a0de0603b8b97f --label arch=amd64 --label version=1.3.1-dev.3 . [2021-01-22T12:31:58.104Z] Sending build context to Docker daemon 2.383MB [2021-01-22T12:31:58.104Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-01-22T12:31:58.104Z] Step 2/15 : FROM ${BASE} [2021-01-22T12:31:58.104Z] ---> 42d78582e9e6 [2021-01-22T12:31:58.104Z] Step 3/15 : LABEL maintainer="IOTech " [2021-01-22T12:31:58.569Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-01-22T12:31:58.842Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-01-22T12:31:59.494Z] ---> Running in b8829fdea8f6 [2021-01-22T12:31:59.494Z] Removing intermediate container b8829fdea8f6 [2021-01-22T12:31:59.494Z] ---> 4d99e14137a1 [2021-01-22T12:31:59.494Z] Step 4/15 : 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 && mkdir -p /edgex-c-sdk/build [2021-01-22T12:31:59.494Z] ---> Running in 4266fd3534a9 [2021-01-22T12:31:59.756Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-01-22T12:31:59.821Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-01-22T12:32:00.095Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-01-22T12:32:00.095Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-01-22T12:32:00.368Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-01-22T12:32:00.641Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-01-22T12:32:01.618Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-01-22T12:32:02.213Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-01-22T12:32:02.310Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-01-22T12:32:02.806Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-01-22T12:32:03.078Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2021-01-22T12:32:03.255Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-01-22T12:32:03.255Z] (2/6) Installing libblkid (2.33-r0) [2021-01-22T12:32:03.349Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-01-22T12:32:03.516Z] (3/6) Installing libfdisk (2.33-r0) [2021-01-22T12:32:03.517Z] (4/6) Installing libmount (2.33-r0) [2021-01-22T12:32:03.620Z] [ 71%] Linking C shared library libcsdk.so [2021-01-22T12:32:03.779Z] (5/6) Installing libsmartcols (2.33-r0) [2021-01-22T12:32:03.892Z] [ 71%] Built target csdk [2021-01-22T12:32:03.892Z] Scanning dependencies of target template [2021-01-22T12:32:03.892Z] [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-01-22T12:32:04.041Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-01-22T12:32:04.163Z] [ 74%] Linking C executable template [2021-01-22T12:32:04.434Z] [ 74%] Built target template [2021-01-22T12:32:04.434Z] Scanning dependencies of target device-counter [2021-01-22T12:32:04.434Z] [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-01-22T12:32:04.614Z] Executing busybox-1.29.3-r10.trigger [2021-01-22T12:32:04.615Z] OK: 272 MiB in 84 packages [2021-01-22T12:32:04.705Z] [ 77%] Linking C executable device-counter [2021-01-22T12:32:04.978Z] [ 77%] Built target device-counter [2021-01-22T12:32:04.978Z] Scanning dependencies of target device-random [2021-01-22T12:32:04.978Z] [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-01-22T12:32:05.189Z] Removing intermediate container 4266fd3534a9 [2021-01-22T12:32:05.189Z] ---> a022f833d1d4 [2021-01-22T12:32:05.189Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-01-22T12:32:05.250Z] [ 80%] Linking C executable device-random [2021-01-22T12:32:05.451Z] ---> 1c4345af733f [2021-01-22T12:32:05.451Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-01-22T12:32:05.525Z] [ 80%] Built target device-random [2021-01-22T12:32:05.525Z] Scanning dependencies of target device-gyro [2021-01-22T12:32:05.525Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-01-22T12:32:05.798Z] [ 84%] Linking C executable device-gyro [2021-01-22T12:32:05.798Z] [ 84%] Built target device-gyro [2021-01-22T12:32:06.072Z] Scanning dependencies of target device-bitfields [2021-01-22T12:32:06.072Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-01-22T12:32:06.072Z] [ 87%] Linking C executable device-bitfields [2021-01-22T12:32:06.348Z] [ 87%] Built target device-bitfields [2021-01-22T12:32:06.348Z] Scanning dependencies of target template-discovery [2021-01-22T12:32:06.348Z] [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-01-22T12:32:06.401Z] ---> 72a920ac937c [2021-01-22T12:32:06.401Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-01-22T12:32:06.401Z] ---> d22569f443bc [2021-01-22T12:32:06.401Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-01-22T12:32:06.623Z] [ 90%] Linking C executable template-discovery [2021-01-22T12:32:06.662Z] ---> 1f3fc58683b2 [2021-01-22T12:32:06.662Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-01-22T12:32:06.896Z] [ 90%] Built target template-discovery [2021-01-22T12:32:06.896Z] Scanning dependencies of target device-file [2021-01-22T12:32:06.896Z] [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-01-22T12:32:06.924Z] ---> c0465989f22a [2021-01-22T12:32:06.924Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-01-22T12:32:07.170Z] [ 93%] Linking C executable device-file [2021-01-22T12:32:07.186Z] ---> 1096ac2382bb [2021-01-22T12:32:07.186Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-01-22T12:32:07.186Z] ---> Running in 005db7546414 [2021-01-22T12:32:07.446Z] [ 93%] Built target device-file [2021-01-22T12:32:07.446Z] Scanning dependencies of target device-terminal [2021-01-22T12:32:07.446Z] [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-01-22T12:32:07.448Z] Removing intermediate container 005db7546414 [2021-01-22T12:32:07.449Z] ---> 1c3c74f50487 [2021-01-22T12:32:07.449Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-01-22T12:32:07.449Z] ---> Running in a32eed08a423 [2021-01-22T12:32:07.713Z] Removing intermediate container a32eed08a423 [2021-01-22T12:32:07.713Z] ---> e7d93e17e329 [2021-01-22T12:32:07.713Z] Step 13/15 : LABEL arch=amd64 [2021-01-22T12:32:07.713Z] ---> Running in 465bb43b4521 [2021-01-22T12:32:07.718Z] [ 96%] Linking C executable device-terminal [2021-01-22T12:32:07.975Z] Removing intermediate container 465bb43b4521 [2021-01-22T12:32:07.975Z] ---> 454b3eb84fc4 [2021-01-22T12:32:07.975Z] Step 14/15 : LABEL git_sha=e144b802fa1870b274eef210e2a0de0603b8b97f [2021-01-22T12:32:07.975Z] ---> Running in 2f02872daaab [2021-01-22T12:32:07.991Z] [ 96%] Built target device-terminal [2021-01-22T12:32:07.991Z] Scanning dependencies of target templatev1 [2021-01-22T12:32:07.991Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2021-01-22T12:32:08.239Z] Removing intermediate container 2f02872daaab [2021-01-22T12:32:08.239Z] ---> bbf3ef96d26b [2021-01-22T12:32:08.239Z] Step 15/15 : LABEL version=1.3.1-dev.3 [2021-01-22T12:32:08.239Z] ---> Running in 6fd7c4183db9 [2021-01-22T12:32:08.264Z] [100%] Linking C executable templatev1 [2021-01-22T12:32:08.503Z] Removing intermediate container 6fd7c4183db9 [2021-01-22T12:32:08.503Z] ---> 38036eb6134c [2021-01-22T12:32:08.503Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-01-22T12:32:08.503Z] Successfully built 38036eb6134c [2021-01-22T12:32:08.503Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [2021-01-22T12:32:08.540Z] [100%] Built target templatev1 [2021-01-22T12:32:08.540Z] make: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:32:08.540Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:32:08.540Z] make[2]: Entering directory '/tmp/sdk/build/release' [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-01-22T12:32:08.812Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:32:08.812Z] [ 71%] Built target csdk [2021-01-22T12:32:08.812Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:32:08.812Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:32:08.812Z] [ 74%] Built target template [2021-01-22T12:32:08.812Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:32:08.812Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:32:08.812Z] [ 77%] Built target device-counter [2021-01-22T12:32:08.812Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:32:08.812Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:32:08.812Z] [ 80%] Built target device-random [2021-01-22T12:32:08.812Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:32:08.812Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:32:08.812Z] [ 84%] Built target device-gyro [2021-01-22T12:32:08.812Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:32:08.812Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:32:08.812Z] [ 87%] Built target device-bitfields [2021-01-22T12:32:08.812Z] make[2]: Entering directory '/tmp/sdk/build/release' Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2021-01-22T12:32:09.085Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:32:09.085Z] [ 90%] Built target template-discovery [2021-01-22T12:32:09.085Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:32:09.085Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:32:09.085Z] [ 93%] Built target device-file [2021-01-22T12:32:09.085Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:32:09.085Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:32:09.085Z] [ 96%] Built target device-terminal [2021-01-22T12:32:09.085Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-01-22T12:32:09.085Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:32:09.085Z] [100%] Built target templatev1 [2021-01-22T12:32:09.085Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-01-22T12:32:09.085Z] Install the project... [2021-01-22T12:32:09.085Z] -- Install configuration: "Release" [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/lib/libcsdk.so [2021-01-22T12:32:09.085Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-01-22T12:32:09.085Z] -- Up-to-date: /usr/local/include [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/edgex [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/edgex/eventgen.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/edgex/error.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/edgex/devsdk.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/edgex/devices.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/edgex/os.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/devsdk [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/json.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/container.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/component.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/typecode.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/iot.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/time.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/hash.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/logger.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/os [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/data.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/thread.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/os.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/base64.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/defs.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/include/iot/config.h [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-01-22T12:32:09.085Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-01-22T12:32:09.359Z] make: Leaving directory '/tmp/sdk/build/release' [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-22T12:32:12.019Z] Removing intermediate container ffaa727d554e [2021-01-22T12:32:12.019Z] ---> 71705a0d04dc [2021-01-22T12:32:12.019Z] Step 14/21 : FROM ${BASE} [2021-01-22T12:32:12.019Z] ---> b23d30803547 [2021-01-22T12:32:12.019Z] Step 15/21 : LABEL maintainer="IOTech " [2021-01-22T12:32:12.295Z] ---> Running in ac2922eb9cd9 [2021-01-22T12:32:12.890Z] Removing intermediate container ac2922eb9cd9 [2021-01-22T12:32:12.890Z] ---> f0f7a3885ee7 [2021-01-22T12:32:12.890Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-01-22T12:32:12.890Z] ---> Running in 9e198c2ea9f0 [2021-01-22T12:32:13.872Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-01-22T12:32:15.298Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-01-22T12:32:15.887Z] (1/3) Installing curl (7.64.0-r5) [2021-01-22T12:32:15.887Z] (2/3) Installing libuuid (2.33-r0) [2021-01-22T12:32:15.887Z] (3/3) Installing wget (1.20.3-r0) [2021-01-22T12:32:16.161Z] Executing busybox-1.29.3-r10.trigger [2021-01-22T12:32:16.161Z] OK: 281 MiB in 78 packages [2021-01-22T12:32:17.597Z] Removing intermediate container 9e198c2ea9f0 [2021-01-22T12:32:17.597Z] ---> bbd5ebeb03b7 [2021-01-22T12:32:17.597Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-01-22T12:32:18.574Z] ---> 42f853e8daeb [2021-01-22T12:32:18.574Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-01-22T12:32:19.553Z] ---> 3442ad160374 [2021-01-22T12:32:19.553Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-01-22T12:32:20.533Z] ---> dcbd8233074f [2021-01-22T12:32:20.533Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-01-22T12:32:21.964Z] ---> 92474edb5699 [2021-01-22T12:32:21.964Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-01-22T12:32:22.939Z] ---> d3d4f0458ee9 [2021-01-22T12:32:22.939Z] Successfully built d3d4f0458ee9 [2021-01-22T12:32:22.939Z] 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-01-22T12:32:23.674Z] + docker inspect -f . ci-base-image-arm64 [2021-01-22T12:32:23.674Z] . [Pipeline] withDockerContainer [2021-01-22T12:32:23.921Z] prd-ubuntu18.04-docker-arm64-4c-16g-22281 does not seem to be running inside a container [2021-01-22T12:32:24.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/51 -v /w/workspace/device-sdk-c/51:/w/workspace/device-sdk-c/51:rw,z -v /w/workspace/device-sdk-c/51@tmp:/w/workspace/device-sdk-c/51@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 ******** ci-base-image-arm64 cat [2021-01-22T12:32:25.767Z] $ docker top d0e21889277500045e7c420a4c1c74cb4b5985283877d4502995c42cbcc398d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T12:32:26.835Z] + make test [2021-01-22T12:32:26.835Z] echo "make test" [2021-01-22T12:32:26.835Z] make test [Pipeline] } [2021-01-22T12:32:26.859Z] $ docker stop --time=1 d0e21889277500045e7c420a4c1c74cb4b5985283877d4502995c42cbcc398d6 [2021-01-22T12:32:28.774Z] $ docker rm -f d0e21889277500045e7c420a4c1c74cb4b5985283877d4502995c42cbcc398d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T12:32:29.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-22T12:32:30.073Z] + ls -al . [2021-01-22T12:32:30.073Z] total 192 [2021-01-22T12:32:30.073Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 12:29 . [2021-01-22T12:32:30.073Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 12:29 .. [2021-01-22T12:32:30.073Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 12:29 .git [2021-01-22T12:32:30.073Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 12:29 .github [2021-01-22T12:32:30.073Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 22 12:29 .gitignore [2021-01-22T12:32:30.073Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jan 22 12:29 Attribution.txt [2021-01-22T12:32:30.073Z] -rw-rw-r-- 1 jenkins jenkins 6087 Jan 22 12:29 CHANGES [2021-01-22T12:32:30.073Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 22 12:29 Doxyfile [2021-01-22T12:32:30.073Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 22 12:29 Jenkinsfile [2021-01-22T12:32:30.073Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 22 12:29 LICENSE [2021-01-22T12:32:30.073Z] -rw-rw-r-- 1 jenkins jenkins 449 Jan 22 12:29 Makefile [2021-01-22T12:32:30.073Z] -rw-rw-r-- 1 jenkins jenkins 2697 Jan 22 12:29 README.md [2021-01-22T12:32:30.073Z] -rw-rw-r-- 1 jenkins jenkins 5977 Jan 22 12:29 README.v2.md [2021-01-22T12:32:30.073Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 22 12:27 VERSION [2021-01-22T12:32:30.073Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 12:29 docs [2021-01-22T12:32:30.073Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 12:29 include [2021-01-22T12:32:30.073Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 12:29 scripts [2021-01-22T12:32:30.073Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 12:29 src [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:32:30.420Z] + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e144b802fa1870b274eef210e2a0de0603b8b97f --label arch=arm64 --label version=1.3.1-dev.3 . [2021-01-22T12:32:31.018Z] Sending build context to Docker daemon 2.382MB [2021-01-22T12:32:31.018Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-01-22T12:32:31.018Z] Step 2/15 : FROM ${BASE} [2021-01-22T12:32:31.018Z] ---> d3d4f0458ee9 [2021-01-22T12:32:31.018Z] Step 3/15 : LABEL maintainer="IOTech " [2021-01-22T12:32:31.292Z] ---> Running in c29c3d63ab1b [2021-01-22T12:32:31.569Z] Removing intermediate container c29c3d63ab1b [2021-01-22T12:32:31.569Z] ---> 57a20a6e58f4 [2021-01-22T12:32:31.569Z] Step 4/15 : 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 && mkdir -p /edgex-c-sdk/build [2021-01-22T12:32:31.843Z] ---> Running in aded66e39933 [2021-01-22T12:32:33.275Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-01-22T12:32:34.251Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-01-22T12:32:34.846Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-01-22T12:32:35.116Z] (2/6) Installing libblkid (2.33-r0) [2021-01-22T12:32:35.387Z] (3/6) Installing libfdisk (2.33-r0) [2021-01-22T12:32:35.388Z] (4/6) Installing libmount (2.33-r0) [2021-01-22T12:32:35.659Z] (5/6) Installing libsmartcols (2.33-r0) [2021-01-22T12:32:35.930Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-01-22T12:32:36.906Z] Executing busybox-1.29.3-r10.trigger [2021-01-22T12:32:36.906Z] OK: 286 MiB in 84 packages [2021-01-22T12:32:38.339Z] Removing intermediate container aded66e39933 [2021-01-22T12:32:38.339Z] ---> 94cfe20199ee [2021-01-22T12:32:38.339Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-01-22T12:32:38.938Z] ---> 6fc310edfff0 [2021-01-22T12:32:38.938Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-01-22T12:32:40.376Z] ---> a066c9e46002 [2021-01-22T12:32:40.376Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-01-22T12:32:40.971Z] ---> 1915bbcabff6 [2021-01-22T12:32:40.971Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-01-22T12:32:41.950Z] ---> 2ff0a09d43b2 [2021-01-22T12:32:41.950Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-01-22T12:32:42.928Z] ---> 948a5fa2db50 [2021-01-22T12:32:42.928Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-01-22T12:32:43.521Z] ---> 49d4e3b3542f [2021-01-22T12:32:43.521Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-01-22T12:32:43.794Z] ---> Running in 8e9a5030cdc2 [2021-01-22T12:32:44.389Z] Removing intermediate container 8e9a5030cdc2 [2021-01-22T12:32:44.389Z] ---> 3bdfae1a4fdc [2021-01-22T12:32:44.389Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-01-22T12:32:44.662Z] ---> Running in e8275cb73840 [2021-01-22T12:32:45.261Z] Removing intermediate container e8275cb73840 [2021-01-22T12:32:45.261Z] ---> c44910f9be84 [2021-01-22T12:32:45.261Z] Step 13/15 : LABEL arch=arm64 [2021-01-22T12:32:45.261Z] ---> Running in 60431780730a [2021-01-22T12:32:45.856Z] Removing intermediate container 60431780730a [2021-01-22T12:32:45.856Z] ---> d1a52e7e9fc9 [2021-01-22T12:32:45.856Z] Step 14/15 : LABEL git_sha=e144b802fa1870b274eef210e2a0de0603b8b97f [2021-01-22T12:32:46.130Z] ---> Running in fe11102825d7 [2021-01-22T12:32:46.725Z] Removing intermediate container fe11102825d7 [2021-01-22T12:32:46.725Z] ---> 084d8745ee10 [2021-01-22T12:32:46.725Z] Step 15/15 : LABEL version=1.3.1-dev.3 [2021-01-22T12:32:46.998Z] ---> Running in cc6d320a2cef [2021-01-22T12:32:47.595Z] Removing intermediate container cc6d320a2cef [2021-01-22T12:32:47.595Z] ---> 378cbc3de34d [2021-01-22T12:32:47.595Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-01-22T12:32:47.595Z] Successfully built 378cbc3de34d [2021-01-22T12:32:47.595Z] Successfully tagged docker-device-sdk-c-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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:32:49.514Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T12:32:49.514Z] . [Pipeline] withDockerContainer [2021-01-22T12:32:49.631Z] prd-centos7-docker-4c-2g-22280 does not seem to be running inside a container [2021-01-22T12:32:49.685Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-22T12:32:50.460Z] $ docker top 36db43cf021e40cd961fd6d9028143208da5986b7555c9db41bccdc01834ff76 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-22T12:32:50.849Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T12:32:50.849Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T12:32:51.066Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T12:32:51.068Z] $ docker exec 36db43cf021e40cd961fd6d9028143208da5986b7555c9db41bccdc01834ff76 ssh-agent [2021-01-22T12:32:51.239Z] SSH_AUTH_SOCK=/tmp/ssh-qDZA596YRMfF/agent.11 [2021-01-22T12:32:51.239Z] SSH_AGENT_PID=16 [2021-01-22T12:32:51.245Z] Running ssh-add (command line suppressed) [2021-01-22T12:32:51.365Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1563840557108097605.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1563840557108097605.key) [2021-01-22T12:32:51.422Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T12:32:51.764Z] + git semver tag [2021-01-22T12:32:51.764Z] # -> Open(): unable to determine branch for HEAD [2021-01-22T12:32:51.764Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2021-01-22T12:32:51.764Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2021-01-22T12:32:51.764Z] # $SEMVER_REMOTE_NAME = origin [2021-01-22T12:32:51.764Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-22T12:32:51.764Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-22T12:32:51.764Z] # $SEMVER_BRANCH = master [2021-01-22T12:32:51.764Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2021-01-22T12:32:51.764Z] # e144b802fa1870b274eef210e2a0de0603b8b97f HEAD [2021-01-22T12:32:51.764Z] # -> Force: false [2021-01-22T12:32:51.764Z] # ed3d6f846eab95f52abdb9128c1d773ed5e73fdd refs/tags/v1.3.1-dev.3 [Pipeline] } [2021-01-22T12:32:51.778Z] $ docker exec --env ******** --env ******** 36db43cf021e40cd961fd6d9028143208da5986b7555c9db41bccdc01834ff76 ssh-agent -k [2021-01-22T12:32:51.896Z] unset SSH_AUTH_SOCK; [2021-01-22T12:32:51.897Z] unset SSH_AGENT_PID; [2021-01-22T12:32:51.897Z] echo Agent pid 16 killed; [2021-01-22T12:32:51.951Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-22T12:32:52.428Z] + git semver [Pipeline] } [2021-01-22T12:32:52.445Z] $ docker stop --time=1 36db43cf021e40cd961fd6d9028143208da5986b7555c9db41bccdc01834ff76 [2021-01-22T12:32:53.806Z] $ docker rm -f 36db43cf021e40cd961fd6d9028143208da5986b7555c9db41bccdc01834ff76 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:32:54.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-22T12:32:54.445Z] [2021-01-22T12:32:54.445Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:32:54.793Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-22T12:32:54.793Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-22T12:32:54.793Z] ab5ef0e58194: Pulling fs layer [2021-01-22T12:32:54.793Z] 9712f1f96733: Pulling fs layer [2021-01-22T12:32:54.793Z] 63f879dbbcfc: Pulling fs layer [2021-01-22T12:32:54.793Z] 0d9ebad4ef96: Pulling fs layer [2021-01-22T12:32:54.793Z] e9a5061849ea: Pulling fs layer [2021-01-22T12:32:54.793Z] d747dcd14b5f: Pulling fs layer [2021-01-22T12:32:54.793Z] 2de7ff778b66: Pulling fs layer [2021-01-22T12:32:54.793Z] e9a5061849ea: Waiting [2021-01-22T12:32:54.793Z] d747dcd14b5f: Waiting [2021-01-22T12:32:54.793Z] 2de7ff778b66: Waiting [2021-01-22T12:32:54.793Z] 0d9ebad4ef96: Waiting [2021-01-22T12:32:54.793Z] 9712f1f96733: Verifying Checksum [2021-01-22T12:32:54.793Z] 9712f1f96733: Download complete [2021-01-22T12:32:57.349Z] 63f879dbbcfc: Verifying Checksum [2021-01-22T12:32:57.349Z] 63f879dbbcfc: Download complete [2021-01-22T12:32:57.612Z] e9a5061849ea: Verifying Checksum [2021-01-22T12:32:57.612Z] e9a5061849ea: Download complete [2021-01-22T12:32:57.612Z] d747dcd14b5f: Verifying Checksum [2021-01-22T12:32:57.612Z] d747dcd14b5f: Download complete [2021-01-22T12:32:57.875Z] 2de7ff778b66: Verifying Checksum [2021-01-22T12:32:57.875Z] 2de7ff778b66: Download complete [2021-01-22T12:32:58.139Z] 0d9ebad4ef96: Verifying Checksum [2021-01-22T12:32:58.139Z] 0d9ebad4ef96: Download complete [2021-01-22T12:32:58.405Z] ab5ef0e58194: Verifying Checksum [2021-01-22T12:32:58.405Z] ab5ef0e58194: Download complete [2021-01-22T12:33:03.727Z] ab5ef0e58194: Pull complete [2021-01-22T12:33:03.727Z] 9712f1f96733: Pull complete [2021-01-22T12:33:05.121Z] 63f879dbbcfc: Pull complete [2021-01-22T12:33:11.752Z] 0d9ebad4ef96: Pull complete [2021-01-22T12:33:13.675Z] e9a5061849ea: Pull complete [2021-01-22T12:33:13.675Z] d747dcd14b5f: Pull complete [2021-01-22T12:33:16.239Z] 2de7ff778b66: Pull complete [2021-01-22T12:33:16.239Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-22T12:33:16.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-22T12:33:16.239Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-22T12:33:16.403Z] prd-centos7-docker-4c-2g-22280 does not seem to be running inside a container [2021-01-22T12:33:16.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-22T12:33:20.223Z] $ docker top 42dcd8a837b856900eec1ea50c8431fecb89d5e22eab769de9d2688c9a90b3a4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-22T12:33:20.440Z] provisioning config files... [2021-01-22T12:33:20.453Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config6148590159540652958tmp [2021-01-22T12:33:20.466Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config906206031401791404tmp [2021-01-22T12:33:20.480Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config2633046035640222350tmp [Pipeline] { [Pipeline] echo [2021-01-22T12:33:20.554Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:33:20.850Z] ---> sigul-configuration.sh [2021-01-22T12:33:20.850Z] gpg: directory `/root/.gnupg' created [2021-01-22T12:33:20.850Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-22T12:33:20.850Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-22T12:33:20.850Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-22T12:33:20.850Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-22T12:33:20.850Z] gpg: CAST5 encrypted data [2021-01-22T12:33:21.112Z] gpg: encrypted with 1 passphrase [2021-01-22T12:33:21.112Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-22T12:33:21.409Z] + mkdir /home/jenkins [2021-01-22T12:33:21.409Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-22T12:33:21.707Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-01-22T12:33:21.718Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:33:22.019Z] ---> sigul-install.sh [2021-01-22T12:33:28.627Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-22T12:33:28.926Z] + git tag --list [2021-01-22T12:33:28.926Z] 0.7.0 [2021-01-22T12:33:28.926Z] 0.7.1 [2021-01-22T12:33:28.926Z] 1.0.0 [2021-01-22T12:33:28.926Z] v1.0.1 [2021-01-22T12:33:28.926Z] v1.0.2 [2021-01-22T12:33:28.926Z] v1.0.3 [2021-01-22T12:33:28.926Z] v1.1.0 [2021-01-22T12:33:28.926Z] v1.1.1 [2021-01-22T12:33:28.926Z] v1.2.0 [2021-01-22T12:33:28.926Z] v1.2.1 [2021-01-22T12:33:28.926Z] v1.2.2 [2021-01-22T12:33:28.926Z] v1.3.0 [2021-01-22T12:33:28.926Z] v1.3.1-dev.1 [2021-01-22T12:33:28.926Z] v1.3.1-dev.2 [2021-01-22T12:33:28.926Z] v1.3.1-dev.3 [Pipeline] sh [2021-01-22T12:33:29.221Z] + lftools sign git-tag v1.3.1-dev.3 [2021-01-22T12:33:30.606Z] Signing Git tag with Sigul... [2021-01-22T12:33:30.606Z] Signing v1.3.1-dev.3 [Pipeline] echo [2021-01-22T12:33:31.563Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:33:31.858Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-22T12:33:31.868Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-22T12:33:31.961Z] $ docker stop --time=1 42dcd8a837b856900eec1ea50c8431fecb89d5e22eab769de9d2688c9a90b3a4 [2021-01-22T12:33:34.043Z] $ docker rm -f 42dcd8a837b856900eec1ea50c8431fecb89d5e22eab769de9d2688c9a90b3a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:33:34.902Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T12:33:34.902Z] . [Pipeline] withDockerContainer [2021-01-22T12:33:35.041Z] prd-centos7-docker-4c-2g-22280 does not seem to be running inside a container [2021-01-22T12:33:35.084Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-22T12:33:35.756Z] $ docker top c5defa2197b8c83e2abfa96163dad46ad55715a6e25ae4b0fe6af11179992129 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-22T12:33:36.065Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T12:33:36.065Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T12:33:36.272Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T12:33:36.274Z] $ docker exec c5defa2197b8c83e2abfa96163dad46ad55715a6e25ae4b0fe6af11179992129 ssh-agent [2021-01-22T12:33:36.443Z] SSH_AUTH_SOCK=/tmp/ssh-VZ5Z9ocBFA4m/agent.12 [2021-01-22T12:33:36.443Z] SSH_AGENT_PID=18 [2021-01-22T12:33:36.450Z] Running ssh-add (command line suppressed) [2021-01-22T12:33:36.574Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5060561212456696036.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5060561212456696036.key) [2021-01-22T12:33:36.627Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T12:33:37.060Z] + git semver bump pre [2021-01-22T12:33:37.060Z] # -> Open(): unable to determine branch for HEAD [2021-01-22T12:33:37.060Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2021-01-22T12:33:37.060Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2021-01-22T12:33:37.060Z] # $SEMVER_REMOTE_NAME = origin [2021-01-22T12:33:37.060Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-22T12:33:37.060Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-22T12:33:37.060Z] # $SEMVER_BRANCH = master [2021-01-22T12:33:37.060Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2021-01-22T12:33:37.060Z] 1.3.1-dev.4 [Pipeline] } [2021-01-22T12:33:37.071Z] $ docker exec --env ******** --env ******** c5defa2197b8c83e2abfa96163dad46ad55715a6e25ae4b0fe6af11179992129 ssh-agent -k [2021-01-22T12:33:37.193Z] unset SSH_AUTH_SOCK; [2021-01-22T12:33:37.194Z] unset SSH_AGENT_PID; [2021-01-22T12:33:37.194Z] echo Agent pid 18 killed; [2021-01-22T12:33:37.244Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-22T12:33:37.756Z] + git semver [Pipeline] } [2021-01-22T12:33:37.799Z] $ docker stop --time=1 c5defa2197b8c83e2abfa96163dad46ad55715a6e25ae4b0fe6af11179992129 [2021-01-22T12:33:39.140Z] $ docker rm -f c5defa2197b8c83e2abfa96163dad46ad55715a6e25ae4b0fe6af11179992129 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:33:39.666Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T12:33:39.666Z] . [Pipeline] withDockerContainer [2021-01-22T12:33:39.763Z] prd-centos7-docker-4c-2g-22280 does not seem to be running inside a container [2021-01-22T12:33:39.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-22T12:33:40.414Z] $ docker top 9364d4db92996f36d6da53da57f206db76bd92be7f5dce6b487ee70622af7f4b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-22T12:33:40.746Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T12:33:40.746Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T12:33:40.930Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T12:33:40.932Z] $ docker exec 9364d4db92996f36d6da53da57f206db76bd92be7f5dce6b487ee70622af7f4b ssh-agent [2021-01-22T12:33:41.105Z] SSH_AUTH_SOCK=/tmp/ssh-SQVYKYOm7eNN/agent.12 [2021-01-22T12:33:41.105Z] SSH_AGENT_PID=17 [2021-01-22T12:33:41.112Z] Running ssh-add (command line suppressed) [2021-01-22T12:33:41.237Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4505868388639486441.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4505868388639486441.key) [2021-01-22T12:33:41.293Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T12:33:41.625Z] + git semver push [2021-01-22T12:33:41.625Z] # -> Open(): unable to determine branch for HEAD [2021-01-22T12:33:41.625Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2021-01-22T12:33:41.625Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2021-01-22T12:33:41.625Z] # $SEMVER_REMOTE_NAME = origin [2021-01-22T12:33:41.625Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-22T12:33:41.625Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-22T12:33:41.625Z] # $SEMVER_BRANCH = master [2021-01-22T12:33:41.625Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2021-01-22T12:33:48.232Z] $ docker exec --env ******** --env ******** 9364d4db92996f36d6da53da57f206db76bd92be7f5dce6b487ee70622af7f4b ssh-agent -k [2021-01-22T12:33:48.378Z] unset SSH_AUTH_SOCK; [2021-01-22T12:33:48.378Z] unset SSH_AGENT_PID; [2021-01-22T12:33:48.378Z] echo Agent pid 17 killed; [2021-01-22T12:33:48.442Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-22T12:33:48.972Z] + git semver [Pipeline] } [2021-01-22T12:33:48.987Z] $ docker stop --time=1 9364d4db92996f36d6da53da57f206db76bd92be7f5dce6b487ee70622af7f4b [2021-01-22T12:33:50.317Z] $ docker rm -f 9364d4db92996f36d6da53da57f206db76bd92be7f5dce6b487ee70622af7f4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:33:51.537Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:33:52.100Z] ---> package-listing.sh [2021-01-22T12:33:52.100Z] ++ facter osfamily [2021-01-22T12:33:52.100Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-22T12:33:52.100Z] + OS_FAMILY=redhat [2021-01-22T12:33:52.100Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_master [2021-01-22T12:33:52.100Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-22T12:33:52.100Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-22T12:33:52.100Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-22T12:33:52.100Z] + PACKAGES=/tmp/packages_start.txt [2021-01-22T12:33:52.100Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2021-01-22T12:33:52.100Z] + PACKAGES=/tmp/packages_end.txt [2021-01-22T12:33:52.100Z] + case "${OS_FAMILY}" in [2021-01-22T12:33:52.100Z] + rpm -qa [2021-01-22T12:33:52.100Z] + sort [2021-01-22T12:33:57.399Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-22T12:33:57.399Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-22T12:33:57.399Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-22T12:33:57.399Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2021-01-22T12:33:57.399Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [2021-01-22T12:33:57.399Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [Pipeline] echo [2021-01-22T12:33:57.411Z] 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-22T12:33:57.698Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:33:58.000Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T12:33:58.000Z] [2021-01-22T12:33:58.000Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:33:58.349Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T12:33:58.349Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-22T12:33:58.349Z] df20fa9351a1: Pulling fs layer [2021-01-22T12:33:58.349Z] 36b3adc4ff6f: Pulling fs layer [2021-01-22T12:33:58.349Z] 8ad3a11d3b57: Pulling fs layer [2021-01-22T12:33:58.349Z] 46f8f816bc3b: Pulling fs layer [2021-01-22T12:33:58.349Z] 93b61091891f: Pulling fs layer [2021-01-22T12:33:58.349Z] 93b9cdb0e59b: Pulling fs layer [2021-01-22T12:33:58.349Z] 5e14af77c1be: Pulling fs layer [2021-01-22T12:33:58.349Z] 01666e4c0597: Pulling fs layer [2021-01-22T12:33:58.349Z] aa168da1d23b: Pulling fs layer [2021-01-22T12:33:58.349Z] 46f8f816bc3b: Waiting [2021-01-22T12:33:58.349Z] 93b61091891f: Waiting [2021-01-22T12:33:58.349Z] 93b9cdb0e59b: Waiting [2021-01-22T12:33:58.349Z] 5e14af77c1be: Waiting [2021-01-22T12:33:58.349Z] 01666e4c0597: Waiting [2021-01-22T12:33:58.349Z] aa168da1d23b: Waiting [2021-01-22T12:33:58.349Z] 36b3adc4ff6f: Verifying Checksum [2021-01-22T12:33:58.349Z] 36b3adc4ff6f: Download complete [2021-01-22T12:33:58.349Z] 46f8f816bc3b: Verifying Checksum [2021-01-22T12:33:58.349Z] 46f8f816bc3b: Download complete [2021-01-22T12:33:58.349Z] df20fa9351a1: Verifying Checksum [2021-01-22T12:33:58.349Z] df20fa9351a1: Download complete [2021-01-22T12:33:58.613Z] 93b9cdb0e59b: Verifying Checksum [2021-01-22T12:33:58.613Z] 93b9cdb0e59b: Download complete [2021-01-22T12:33:58.613Z] 5e14af77c1be: Verifying Checksum [2021-01-22T12:33:58.613Z] 5e14af77c1be: Download complete [2021-01-22T12:33:58.613Z] 93b61091891f: Verifying Checksum [2021-01-22T12:33:58.613Z] 93b61091891f: Download complete [2021-01-22T12:33:58.613Z] 01666e4c0597: Verifying Checksum [2021-01-22T12:33:58.613Z] 01666e4c0597: Download complete [2021-01-22T12:33:58.613Z] 8ad3a11d3b57: Verifying Checksum [2021-01-22T12:33:58.613Z] 8ad3a11d3b57: Download complete [2021-01-22T12:33:58.874Z] df20fa9351a1: Pull complete [2021-01-22T12:33:58.874Z] 36b3adc4ff6f: Pull complete [2021-01-22T12:33:59.459Z] 8ad3a11d3b57: Pull complete [2021-01-22T12:33:59.735Z] 46f8f816bc3b: Pull complete [2021-01-22T12:33:59.998Z] 93b61091891f: Pull complete [2021-01-22T12:34:00.579Z] 93b9cdb0e59b: Pull complete [2021-01-22T12:34:00.579Z] 5e14af77c1be: Pull complete [2021-01-22T12:34:00.579Z] 01666e4c0597: Pull complete [2021-01-22T12:34:01.155Z] aa168da1d23b: Verifying Checksum [2021-01-22T12:34:01.155Z] aa168da1d23b: Download complete [2021-01-22T12:34:09.330Z] aa168da1d23b: Pull complete [2021-01-22T12:34:09.330Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-22T12:34:09.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T12:34:09.330Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-22T12:34:09.474Z] prd-centos7-docker-4c-2g-22280 does not seem to be running inside a container [2021-01-22T12:34:09.519Z] $ 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_master/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_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-22T12:34:12.279Z] $ docker top b2a075302aa612ada3879d1b1d5d2df664c56f3a7050ed719d4794c97b008a80 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T12:34:12.801Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-22T12:34:13.097Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-22T12:34:13.652Z] + ls /var/log/sa-host [2021-01-22T12:34:13.652Z] + sadf -c /var/log/sa-host/sa22 [2021-01-22T12:34:13.652Z] file_magic: OK [2021-01-22T12:34:13.652Z] HZ: Using current value: 100 [2021-01-22T12:34:13.652Z] file_header: OK [2021-01-22T12:34:13.652Z] 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-01-22T12:34:13.652Z] Statistics: [2021-01-22T12:34:13.652Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-22T12:34:13.652Z] File successfully converted to sysstat format version 12.2.1 [2021-01-22T12:34:13.652Z] + sadf -c /var/log/sa-host/sa23 [2021-01-22T12:34:13.652Z] file_magic: OK [2021-01-22T12:34:13.652Z] HZ: Using current value: 100 [2021-01-22T12:34:13.652Z] file_header: OK [2021-01-22T12:34:13.652Z] 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-01-22T12:34:13.652Z] Statistics: [2021-01-22T12:34:13.652Z] Hnuu...uuuununununu... [2021-01-22T12:34:13.652Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-22T12:34:14.306Z] provisioning config files... [2021-01-22T12:34:14.325Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config209484971048544176tmp [Pipeline] { [Pipeline] echo [2021-01-22T12:34:14.403Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:34:14.702Z] ---> create-netrc.sh [Pipeline] } [2021-01-22T12:34:14.712Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-22T12:34:14.798Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:34:15.094Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-22T12:34:15.106Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:34:15.402Z] ---> sudo-logs.sh [2021-01-22T12:34:15.402Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-22T12:34:15.412Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:34:15.711Z] ---> job-cost.sh [2021-01-22T12:34:15.711Z] lf-activate-venv: SKIPPING [2021-01-22T12:34:15.711Z] INFO: No Stack... [2021-01-22T12:34:16.657Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-22T12:34:17.229Z] INFO: Archiving Costs [Pipeline] echo [2021-01-22T12:34:17.242Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:34:17.539Z] ---> logs-deploy.sh [2021-01-22T12:34:17.539Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/51 [2021-01-22T12:34:17.539Z] INFO: archiving workspace using pattern(s): [2021-01-22T12:34:18.928Z] Archives upload complete. [2021-01-22T12:34:18.928Z] INFO: archiving logs to Nexus