Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 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 e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 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 e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 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 e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 # timeout=10 Commit message: "Merge pull request #316 from ernestojeda/email-notifications" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-27848 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 Checking out Revision 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 (master) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 Commit message: "fix: cmake fixes, feat: callback structure population helper (#325, #326) (#328)" > git rev-list --no-walk 77b44f9ce19bf03ca56dfec0e2f5fdf00e6705bc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-26T10:16:52.879Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-26T10:16:53.163Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-26T10:16:53.265Z] ========================================================= [2021-02-26T10:16:53.265Z] EdgeX Global Pipelines Version Info [2021-02-26T10:16:53.265Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-26T10:16:54.785Z] ------------------- [2021-02-26T10:16:54.785Z] stable info: [2021-02-26T10:16:54.785Z] ------------------- [2021-02-26T10:16:54.785Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-26T10:16:54.785Z] Commit SHA: e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 [2021-02-26T10:16:54.785Z] Message: update stable to v1.0.182 [2021-02-26T10:16:55.731Z] ------------------- [2021-02-26T10:16:55.731Z] experimental info: [2021-02-26T10:16:55.731Z] ------------------- [2021-02-26T10:16:55.731Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-02-26T10:16:55.731Z] Commit SHA: e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 [2021-02-26T10:16:55.731Z] Message: update experimental to v1.0.182 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-26T10:16:55.990Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-02-26T10:16:56.086Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-02-26T10:16:56.176Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-26T10:16:56.261Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-26T10:16:56.350Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-26T10:16:56.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-02-26T10:16:56.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-02-26T10:16:56.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-02-26T10:16:56.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-26T10:16:56.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-02-26T10:16:56.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-26T10:16:57.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-26T10:16:57.093Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-26T10:16:57.182Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-26T10:16:57.273Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-26T10:16:57.368Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-26T10:16:57.492Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-02-26T10:16:57.602Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-26T10:16:57.688Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-26T10:16:57.786Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-26T10:16:57.868Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 [Pipeline] echo [2021-02-26T10:16:57.947Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 603e15a [Pipeline] echo [2021-02-26T10:16:58.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-26T10:16:58.188Z] provisioning config files... [2021-02-26T10:16:58.231Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config5990578311597043012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-26T10:16:58.592Z] ---> docker-login.sh [2021-02-26T10:16:58.592Z] nexus3.edgexfoundry.org:10001 [2021-02-26T10:16:58.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T10:16:59.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T10:16:59.125Z] Configure a credential helper to remove this warning. See [2021-02-26T10:16:59.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T10:16:59.125Z] [2021-02-26T10:16:59.125Z] Login Succeeded [2021-02-26T10:16:59.125Z] nexus3.edgexfoundry.org:10002 [2021-02-26T10:16:59.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T10:16:59.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T10:16:59.387Z] Configure a credential helper to remove this warning. See [2021-02-26T10:16:59.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T10:16:59.387Z] [2021-02-26T10:16:59.387Z] Login Succeeded [2021-02-26T10:16:59.387Z] nexus3.edgexfoundry.org:10003 [2021-02-26T10:16:59.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T10:16:59.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T10:16:59.387Z] Configure a credential helper to remove this warning. See [2021-02-26T10:16:59.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T10:16:59.387Z] [2021-02-26T10:16:59.387Z] Login Succeeded [2021-02-26T10:16:59.387Z] nexus3.edgexfoundry.org:10004 [2021-02-26T10:16:59.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T10:16:59.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T10:16:59.650Z] Configure a credential helper to remove this warning. See [2021-02-26T10:16:59.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T10:16:59.650Z] [2021-02-26T10:16:59.650Z] Login Succeeded [2021-02-26T10:16:59.650Z] docker.io [2021-02-26T10:16:59.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T10:16:59.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T10:16:59.913Z] Configure a credential helper to remove this warning. See [2021-02-26T10:16:59.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T10:16:59.913Z] [2021-02-26T10:16:59.913Z] Login Succeeded [2021-02-26T10:16:59.913Z] ---> docker-login.sh ends [Pipeline] } [2021-02-26T10:16:59.925Z] 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-02-26T10:17:02.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-26T10:17:02.051Z] [2021-02-26T10:17:02.051Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-26T10:17:02.404Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-26T10:17:02.404Z] latest: Pulling from edgex-devops/git-semver [2021-02-26T10:17:02.404Z] 31603596830f: Pulling fs layer [2021-02-26T10:17:02.404Z] 2a8b12db71e7: Pulling fs layer [2021-02-26T10:17:02.404Z] 6ca5941a6612: Pulling fs layer [2021-02-26T10:17:02.404Z] ecc8261a40a4: Pulling fs layer [2021-02-26T10:17:02.404Z] ecc8261a40a4: Waiting [2021-02-26T10:17:02.404Z] 2a8b12db71e7: Verifying Checksum [2021-02-26T10:17:02.404Z] 2a8b12db71e7: Download complete [2021-02-26T10:17:02.667Z] 31603596830f: Verifying Checksum [2021-02-26T10:17:02.667Z] 31603596830f: Download complete [2021-02-26T10:17:02.667Z] ecc8261a40a4: Verifying Checksum [2021-02-26T10:17:02.667Z] ecc8261a40a4: Download complete [2021-02-26T10:17:02.667Z] 6ca5941a6612: Verifying Checksum [2021-02-26T10:17:02.667Z] 6ca5941a6612: Download complete [2021-02-26T10:17:02.930Z] 31603596830f: Pull complete [2021-02-26T10:17:03.192Z] 2a8b12db71e7: Pull complete [2021-02-26T10:17:03.774Z] 6ca5941a6612: Pull complete [2021-02-26T10:17:04.351Z] ecc8261a40a4: Pull complete [2021-02-26T10:17:04.351Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-26T10:17:04.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-26T10:17:04.351Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-26T10:17:04.493Z] prd-centos7-docker-4c-2g-27848 does not seem to be running inside a container [2021-02-26T10:17:04.571Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-26T10:17:06.561Z] $ docker top cc8b265e6bc8333cdeffe61795dbed648a41be18235875923b377ab2149820e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-26T10:17:06.842Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-26T10:17:06.842Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-26T10:17:07.061Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-26T10:17:07.066Z] $ docker exec cc8b265e6bc8333cdeffe61795dbed648a41be18235875923b377ab2149820e0 ssh-agent [2021-02-26T10:17:07.226Z] SSH_AUTH_SOCK=/tmp/ssh-s7MpyMz4nX80/agent.12 [2021-02-26T10:17:07.226Z] SSH_AGENT_PID=17 [2021-02-26T10:17:07.237Z] Running ssh-add (command line suppressed) [2021-02-26T10:17:07.356Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_73134426643407708.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_73134426643407708.key) [2021-02-26T10:17:07.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-26T10:17:07.771Z] + git tag --points-at HEAD [Pipeline] } [2021-02-26T10:17:07.897Z] $ docker exec --env ******** --env ******** cc8b265e6bc8333cdeffe61795dbed648a41be18235875923b377ab2149820e0 ssh-agent -k [2021-02-26T10:17:08.044Z] unset SSH_AUTH_SOCK; [2021-02-26T10:17:08.045Z] unset SSH_AGENT_PID; [2021-02-26T10:17:08.045Z] echo Agent pid 17 killed; [2021-02-26T10:17:08.091Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-26T10:17:08.224Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-26T10:17:08.224Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-26T10:17:08.388Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-26T10:17:08.392Z] $ docker exec cc8b265e6bc8333cdeffe61795dbed648a41be18235875923b377ab2149820e0 ssh-agent [2021-02-26T10:17:08.677Z] SSH_AUTH_SOCK=/tmp/ssh-YLL6iW452UKG/agent.45 [2021-02-26T10:17:08.677Z] SSH_AGENT_PID=50 [2021-02-26T10:17:08.684Z] Running ssh-add (command line suppressed) [2021-02-26T10:17:08.800Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1507744243440834457.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1507744243440834457.key) [2021-02-26T10:17:08.850Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-26T10:17:09.180Z] + git semver init [2021-02-26T10:17:09.180Z] # -> Open(): unable to determine branch for HEAD [2021-02-26T10:17:09.180Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2021-02-26T10:17:09.180Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2021-02-26T10:17:09.180Z] # $SEMVER_REMOTE_NAME = origin [2021-02-26T10:17:09.180Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-26T10:17:09.180Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-26T10:17:09.180Z] # $SEMVER_BRANCH = master [2021-02-26T10:17:09.180Z] # $SEMVER_TEMP = /tmp/semver-452149380 [2021-02-26T10:17:09.180Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-02-26T10:17:10.127Z] # '/tmp/semver-452149380' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' [2021-02-26T10:17:10.127Z] # -> Force: false [2021-02-26T10:17:10.127Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2021-02-26T10:17:10.139Z] $ docker exec --env ******** --env ******** cc8b265e6bc8333cdeffe61795dbed648a41be18235875923b377ab2149820e0 ssh-agent -k [2021-02-26T10:17:10.256Z] unset SSH_AUTH_SOCK; [2021-02-26T10:17:10.256Z] unset SSH_AGENT_PID; [2021-02-26T10:17:10.256Z] echo Agent pid 50 killed; [2021-02-26T10:17:10.298Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-26T10:17:10.750Z] + git semver [Pipeline] } [2021-02-26T10:17:10.768Z] $ docker stop --time=1 cc8b265e6bc8333cdeffe61795dbed648a41be18235875923b377ab2149820e0 [2021-02-26T10:17:12.174Z] $ docker rm -f cc8b265e6bc8333cdeffe61795dbed648a41be18235875923b377ab2149820e0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-26T10:17:12.638Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-26T10:17:13.005Z] Stashed 1 file(s) [Pipeline] echo [2021-02-26T10:17:13.008Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.7 [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-02-26T10:17:28.410Z] Still waiting to schedule task [2021-02-26T10:17:28.410Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27848’ [2021-02-26T10:17:28.413Z] Still waiting to schedule task [2021-02-26T10:17:28.413Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline [2021-02-26T10:19:18.710Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27849 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2021-02-26T10:19:18.781Z] Running in /w/workspace/device-sdk-c/59 [Pipeline] { [Pipeline] checkout [2021-02-26T10:19:23.539Z] using credential edgex-jenkins-ssh [2021-02-26T10:19:23.596Z] Cloning the remote Git repository [2021-02-26T10:19:23.657Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-02-26T10:19:23.809Z] > git init /w/workspace/device-sdk-c/59 # timeout=10 [2021-02-26T10:19:23.886Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-26T10:19:23.887Z] > git --version # timeout=10 [2021-02-26T10:19:23.903Z] > git --version # 'git version 2.17.1' [2021-02-26T10:19:23.904Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-26T10:19:23.982Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-26T10:19:25.730Z] Checking out Revision 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 (master) [2021-02-26T10:19:25.173Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-26T10:19:25.201Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-26T10:19:25.230Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-26T10:19:25.263Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-26T10:19:25.264Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-26T10:19:25.277Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-26T10:19:25.753Z] > git config core.sparsecheckout # timeout=10 [2021-02-26T10:19:25.766Z] > git checkout -f 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 [2021-02-26T10:19:30.050Z] Commit message: "fix: cmake fixes, feat: callback structure population helper (#325, #326) (#328)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-26T10:19:31.648Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-26T10:19:32.046Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-26T10:19:32.455Z] + + true [2021-02-26T10:19:32.455Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-26T10:19:35.144Z] provisioning config files... [2021-02-26T10:19:35.184Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/59@tmp/config116345668015213407tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-26T10:19:35.595Z] ---> docker-login.sh [2021-02-26T10:19:35.595Z] nexus3.edgexfoundry.org:10001 [2021-02-26T10:19:36.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T10:19:36.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T10:19:36.850Z] Configure a credential helper to remove this warning. See [2021-02-26T10:19:36.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T10:19:36.850Z] [2021-02-26T10:19:36.850Z] Login Succeeded [2021-02-26T10:19:36.850Z] nexus3.edgexfoundry.org:10002 [2021-02-26T10:19:37.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T10:19:37.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T10:19:37.396Z] Configure a credential helper to remove this warning. See [2021-02-26T10:19:37.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T10:19:37.396Z] [2021-02-26T10:19:37.396Z] Login Succeeded [2021-02-26T10:19:37.396Z] nexus3.edgexfoundry.org:10003 [2021-02-26T10:19:37.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T10:19:37.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T10:19:37.942Z] Configure a credential helper to remove this warning. See [2021-02-26T10:19:37.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T10:19:37.942Z] [2021-02-26T10:19:37.942Z] Login Succeeded [2021-02-26T10:19:37.942Z] nexus3.edgexfoundry.org:10004 [2021-02-26T10:19:38.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T10:19:38.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T10:19:38.489Z] Configure a credential helper to remove this warning. See [2021-02-26T10:19:38.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T10:19:38.489Z] [2021-02-26T10:19:38.489Z] Login Succeeded [2021-02-26T10:19:38.489Z] docker.io [2021-02-26T10:19:38.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T10:19:39.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T10:19:39.033Z] Configure a credential helper to remove this warning. See [2021-02-26T10:19:39.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T10:19:39.033Z] [2021-02-26T10:19:39.033Z] Login Succeeded [2021-02-26T10:19:39.033Z] ---> docker-login.sh ends [Pipeline] } [2021-02-26T10:19:39.051Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-26T10:19:39.445Z] ========================================================= [2021-02-26T10:19:39.445Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-02-26T10:19:39.445Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-26T10:19:39.821Z] + 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-02-26T10:19:40.094Z] Sending build context to Docker daemon 2.413MB [2021-02-26T10:19:40.368Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-02-26T10:19:40.368Z] Step 2/21 : FROM ${BASE} as builder [2021-02-26T10:19:40.368Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-02-26T10:19:40.368Z] 0362ad1dd800: Pulling fs layer [2021-02-26T10:19:40.368Z] f2cdb1532d8b: Pulling fs layer [2021-02-26T10:19:40.368Z] 37ed683be191: Pulling fs layer [2021-02-26T10:19:40.368Z] f2cdb1532d8b: Verifying Checksum [2021-02-26T10:19:40.368Z] f2cdb1532d8b: Download complete [2021-02-26T10:19:41.350Z] 0362ad1dd800: Verifying Checksum [2021-02-26T10:19:41.350Z] 0362ad1dd800: Download complete [2021-02-26T10:19:41.953Z] 0362ad1dd800: Pull complete [2021-02-26T10:19:42.229Z] f2cdb1532d8b: Pull complete [2021-02-26T10:19:43.217Z] 37ed683be191: Verifying Checksum [2021-02-26T10:19:43.217Z] 37ed683be191: Download complete [2021-02-26T10:19:53.386Z] 37ed683be191: Pull complete [2021-02-26T10:19:53.386Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-02-26T10:19:53.386Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-02-26T10:19:53.386Z] ---> b23d30803547 [2021-02-26T10:19:53.386Z] 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-02-26T10:19:53.666Z] ---> Running in 9130917e3931 [2021-02-26T10:19:54.265Z] Running on prd-centos7-docker-4c-2g-27850 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2021-02-26T10:19:54.327Z] Running in /w/workspace/device-sdk-c/59 [Pipeline] { [Pipeline] checkout [2021-02-26T10:19:55.110Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-26T10:19:55.706Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-26T10:19:56.302Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-26T10:19:56.302Z] (2/8) Installing libuuid (2.33-r0) [2021-02-26T10:19:56.302Z] (3/8) Installing libblkid (2.33-r0) [2021-02-26T10:19:56.572Z] (4/8) Installing libfdisk (2.33-r0) [2021-02-26T10:19:56.572Z] (5/8) Installing libmount (2.33-r0) [2021-02-26T10:19:56.572Z] (6/8) Installing libsmartcols (2.33-r0) [2021-02-26T10:19:56.602Z] using credential edgex-jenkins-ssh [2021-02-26T10:19:56.654Z] Cloning the remote Git repository [2021-02-26T10:19:56.255Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-02-26T10:19:56.329Z] > git init /w/workspace/device-sdk-c/59 # timeout=10 [2021-02-26T10:19:56.848Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-02-26T10:19:57.443Z] (8/8) Installing wget (1.20.3-r0) [2021-02-26T10:19:57.443Z] Executing busybox-1.29.3-r10.trigger [2021-02-26T10:19:57.443Z] OK: 285 MiB in 83 packages [2021-02-26T10:19:56.379Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-26T10:19:56.379Z] > git --version # timeout=10 [2021-02-26T10:19:56.385Z] > git --version # 'git version 2.24.3' [2021-02-26T10:19:56.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-26T10:19:56.410Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-26T10:19:57.193Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-26T10:19:57.199Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-26T10:19:57.213Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-26T10:19:57.224Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-26T10:19:57.224Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-26T10:19:57.228Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-26T10:19:57.983Z] Checking out Revision 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 (master) [2021-02-26T10:19:58.875Z] Removing intermediate container 9130917e3931 [2021-02-26T10:19:58.875Z] ---> 5ada10a035c5 [2021-02-26T10:19:58.875Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-02-26T10:19:57.572Z] > git config core.sparsecheckout # timeout=10 [2021-02-26T10:19:57.579Z] > git checkout -f 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 [2021-02-26T10:19:59.147Z] ---> Running in c03004a4e8e0 [2021-02-26T10:19:59.419Z] Removing intermediate container c03004a4e8e0 [2021-02-26T10:19:59.419Z] ---> c2324217a67a [2021-02-26T10:19:59.419Z] 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-02-26T10:19:59.702Z] ---> Running in 2a2f9a6d3556 [2021-02-26T10:20:00.686Z] --2021-02-26 10:20:00-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-02-26T10:20:00.686Z] Resolving github.com... 140.82.114.4 [2021-02-26T10:20:00.686Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-26T10:20:00.957Z] HTTP request sent, awaiting response... 302 Found [2021-02-26T10:20:00.957Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-02-26T10:20:00.957Z] --2021-02-26 10:20:00-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-02-26T10:20:00.957Z] Resolving codeload.github.com... 140.82.113.10 [2021-02-26T10:20:00.957Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-02-26T10:20:01.231Z] HTTP request sent, awaiting response... 200 OK [2021-02-26T10:20:01.231Z] Length: unspecified [application/x-gzip] [2021-02-26T10:20:01.231Z] Saving to: 'STDOUT' [2021-02-26T10:20:01.231Z]  [2021-02-26T10:20:01.231Z] 0K .......... .......... .......... .......... .......... 1.62M [2021-02-26T10:20:01.231Z] 50K .......... .......... .......... .......... .......... 2.98M [2021-02-26T10:20:01.232Z] 100K .......... .......... .......... .......... .......... 3.06M [2021-02-26T10:20:01.232Z] 150K .......... .......... .......... .......... .......... 13.0M [2021-02-26T10:20:01.232Z] 200K .......... .......... .......... .......... .......... 6.11M [2021-02-26T10:20:01.232Z] 250K .......... .......... .......... .......... .......... 5.06M [2021-02-26T10:20:01.232Z] 300K .......... .......... .......... .......... .......... 4.42M [2021-02-26T10:20:01.232Z] 350K .......... .......... .......... .......... .......... 4.02M [2021-02-26T10:20:01.232Z] 400K .......... .......... .......... .......... .......... 3.69M [2021-02-26T10:20:01.232Z] 450K .......... .......... .......... .......... .......... 3.49M [2021-02-26T10:20:01.232Z] 500K .......... .......... .......... .......... .......... 5.12M [2021-02-26T10:20:01.232Z] 550K .......... .......... .......... .......... .......... 1.78M [2021-02-26T10:20:01.400Z] Commit message: "fix: cmake fixes, feat: callback structure population helper (#325, #326) (#328)" [2021-02-26T10:20:01.508Z] 600K .......... .......... .......... .......... .......... 987K [2021-02-26T10:20:01.508Z] 650K .......... .......... .......... .......... .......... 2.12M [2021-02-26T10:20:01.508Z] 700K ..            2.69M=0.2s [2021-02-26T10:20:01.508Z] [2021-02-26T10:20:01.508Z] 2021-02-26 10:20:01 (2.79 MB/s) - written to stdout [719348] [2021-02-26T10:20:01.508Z] [2021-02-26T10:20:01.785Z] -- The C compiler identification is GNU 8.3.0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-02-26T10:20:02.062Z] -- The CXX compiler identification is GNU 8.3.0 [2021-02-26T10:20:02.062Z] -- Check for working C compiler: /usr/bin/cc [2021-02-26T10:20:02.062Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-26T10:20:02.062Z] -- Detecting C compiler ABI info [Pipeline] sh [2021-02-26T10:20:02.336Z] -- Detecting C compiler ABI info - done [2021-02-26T10:20:02.336Z] -- Detecting C compile features [2021-02-26T10:20:02.667Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-26T10:20:02.990Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-26T10:20:03.295Z] + sudo service docker restart [2021-02-26T10:20:03.295Z] + true [2021-02-26T10:20:03.295Z] Redirecting to /bin/systemctl restart docker.service [2021-02-26T10:20:03.311Z] -- Detecting C compile features - done [2021-02-26T10:20:03.311Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-02-26T10:20:03.311Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-02-26T10:20:03.311Z] -- Detecting CXX compiler ABI info [2021-02-26T10:20:03.583Z] -- Detecting CXX compiler ABI info - done [2021-02-26T10:20:03.583Z] -- Detecting CXX compile features [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-26T10:20:04.296Z] provisioning config files... [2021-02-26T10:20:04.320Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/59@tmp/config6396451305765883046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-26T10:20:04.683Z] ---> docker-login.sh [2021-02-26T10:20:04.684Z] nexus3.edgexfoundry.org:10001 [2021-02-26T10:20:04.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T10:20:05.012Z] -- Detecting CXX compile features - done [2021-02-26T10:20:05.012Z] -- Looking for include file endian.h [2021-02-26T10:20:05.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T10:20:05.217Z] Configure a credential helper to remove this warning. See [2021-02-26T10:20:05.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T10:20:05.217Z] [2021-02-26T10:20:05.217Z] Login Succeeded [2021-02-26T10:20:05.217Z] nexus3.edgexfoundry.org:10002 [2021-02-26T10:20:05.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T10:20:05.285Z] -- Looking for include file endian.h - found [2021-02-26T10:20:05.285Z] -- Check if the system is big endian [2021-02-26T10:20:05.285Z] -- Searching 16 bit integer [2021-02-26T10:20:05.285Z] -- Looking for sys/types.h [2021-02-26T10:20:05.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T10:20:05.480Z] Configure a credential helper to remove this warning. See [2021-02-26T10:20:05.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T10:20:05.480Z] [2021-02-26T10:20:05.480Z] Login Succeeded [2021-02-26T10:20:05.480Z] nexus3.edgexfoundry.org:10003 [2021-02-26T10:20:05.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T10:20:05.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T10:20:05.480Z] Configure a credential helper to remove this warning. See [2021-02-26T10:20:05.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T10:20:05.480Z] [2021-02-26T10:20:05.480Z] Login Succeeded [2021-02-26T10:20:05.480Z] nexus3.edgexfoundry.org:10004 [2021-02-26T10:20:05.559Z] -- Looking for sys/types.h - found [2021-02-26T10:20:05.560Z] -- Looking for stdint.h [2021-02-26T10:20:05.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T10:20:05.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T10:20:05.743Z] Configure a credential helper to remove this warning. See [2021-02-26T10:20:05.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T10:20:05.743Z] [2021-02-26T10:20:05.743Z] Login Succeeded [2021-02-26T10:20:05.743Z] docker.io [2021-02-26T10:20:05.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T10:20:05.831Z] -- Looking for stdint.h - found [2021-02-26T10:20:05.831Z] -- Looking for stddef.h [2021-02-26T10:20:06.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T10:20:06.007Z] Configure a credential helper to remove this warning. See [2021-02-26T10:20:06.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T10:20:06.007Z] [2021-02-26T10:20:06.007Z] Login Succeeded [2021-02-26T10:20:06.007Z] ---> docker-login.sh ends [Pipeline] } [2021-02-26T10:20:06.018Z] Deleting 1 temporary files [Pipeline] // wrap [2021-02-26T10:20:06.104Z] -- Looking for stddef.h - found [2021-02-26T10:20:06.104Z] -- Check size of unsigned short [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-02-26T10:20:06.376Z] -- Check size of unsigned short - done [2021-02-26T10:20:06.376Z] -- Using unsigned short [2021-02-26T10:20:06.376Z] -- Check if the system is big endian - little endian [Pipeline] echo [2021-02-26T10:20:06.462Z] ========================================================= [2021-02-26T10:20:06.462Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-02-26T10:20:06.462Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-26T10:20:06.648Z] -- Check size of size_t [2021-02-26T10:20:06.813Z] + 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-02-26T10:20:06.813Z] Sending build context to Docker daemon 2.414MB [2021-02-26T10:20:06.813Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-02-26T10:20:06.813Z] Step 2/21 : FROM ${BASE} as builder [2021-02-26T10:20:06.920Z] -- Check size of size_t - done [2021-02-26T10:20:06.920Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-02-26T10:20:06.920Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-02-26T10:20:06.920Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-02-26T10:20:06.920Z] CMake did not find one. [2021-02-26T10:20:06.920Z] [2021-02-26T10:20:06.920Z] Could not find a package configuration file provided by "cJSON" with any of [2021-02-26T10:20:06.920Z] the following names: [2021-02-26T10:20:06.920Z] [2021-02-26T10:20:06.920Z] cJSONConfig.cmake [2021-02-26T10:20:06.920Z] cjson-config.cmake [2021-02-26T10:20:06.920Z] [2021-02-26T10:20:06.920Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-02-26T10:20:06.920Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-02-26T10:20:06.920Z] provides a separate development package or SDK, be sure it has been [2021-02-26T10:20:06.920Z] installed. [2021-02-26T10:20:06.920Z] [2021-02-26T10:20:06.920Z] [2021-02-26T10:20:06.920Z] -- Configuring done [2021-02-26T10:20:06.920Z] -- Generating done [2021-02-26T10:20:07.085Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-02-26T10:20:07.085Z] e7c96db7181b: Pulling fs layer [2021-02-26T10:20:07.085Z] 4c13bbce0fe7: Pulling fs layer [2021-02-26T10:20:07.085Z] 6059c847ac2f: Pulling fs layer [2021-02-26T10:20:07.085Z] 4c13bbce0fe7: Verifying Checksum [2021-02-26T10:20:07.085Z] 4c13bbce0fe7: Download complete [2021-02-26T10:20:07.085Z] e7c96db7181b: Verifying Checksum [2021-02-26T10:20:07.085Z] e7c96db7181b: Download complete [2021-02-26T10:20:07.192Z] -- Build files have been written to: /tmp/cbor [2021-02-26T10:20:07.192Z] Scanning dependencies of target cbor_shared [2021-02-26T10:20:07.192Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-02-26T10:20:07.350Z] e7c96db7181b: Pull complete [2021-02-26T10:20:07.615Z] 4c13bbce0fe7: Pull complete [2021-02-26T10:20:08.184Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-02-26T10:20:08.463Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-02-26T10:20:08.569Z] 6059c847ac2f: Verifying Checksum [2021-02-26T10:20:08.570Z] 6059c847ac2f: Download complete [2021-02-26T10:20:08.749Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-02-26T10:20:09.344Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-02-26T10:20:09.619Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-02-26T10:20:09.890Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-02-26T10:20:09.890Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-02-26T10:20:10.161Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-02-26T10:20:10.433Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-02-26T10:20:11.027Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-02-26T10:20:11.299Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-02-26T10:20:11.573Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-02-26T10:20:11.844Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-02-26T10:20:12.124Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-02-26T10:20:12.396Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-02-26T10:20:12.668Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-02-26T10:20:12.944Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-02-26T10:20:13.216Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-02-26T10:20:13.489Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-02-26T10:20:13.489Z] [ 40%] Linking C shared library libcbor.so [2021-02-26T10:20:13.762Z] [ 40%] Built target cbor_shared [2021-02-26T10:20:13.762Z] Scanning dependencies of target cbor [2021-02-26T10:20:13.762Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-02-26T10:20:13.904Z] 6059c847ac2f: Pull complete [2021-02-26T10:20:13.905Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-02-26T10:20:13.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-02-26T10:20:13.905Z] ---> 5eabd8fd8ba2 [2021-02-26T10:20:13.905Z] 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-02-26T10:20:14.491Z] ---> Running in 04166a7d6281 [2021-02-26T10:20:14.736Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-02-26T10:20:15.008Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-02-26T10:20:15.066Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-26T10:20:15.281Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-02-26T10:20:16.017Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-26T10:20:16.017Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-26T10:20:16.257Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-02-26T10:20:16.279Z] (2/8) Installing libuuid (2.33-r0) [2021-02-26T10:20:16.279Z] (3/8) Installing libblkid (2.33-r0) [2021-02-26T10:20:16.279Z] (4/8) Installing libfdisk (2.33-r0) [2021-02-26T10:20:16.530Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-02-26T10:20:16.541Z] (5/8) Installing libmount (2.33-r0) [2021-02-26T10:20:16.541Z] (6/8) Installing libsmartcols (2.33-r0) [2021-02-26T10:20:16.541Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-02-26T10:20:16.804Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-02-26T10:20:16.804Z] (8/8) Installing wget (1.20.3-r0) [2021-02-26T10:20:17.070Z] Executing busybox-1.29.3-r10.trigger [2021-02-26T10:20:17.070Z] OK: 272 MiB in 83 packages [2021-02-26T10:20:17.075Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-02-26T10:20:17.075Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-02-26T10:20:17.645Z] Removing intermediate container 04166a7d6281 [2021-02-26T10:20:17.645Z] ---> 914d86cd568f [2021-02-26T10:20:17.645Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-02-26T10:20:17.645Z] ---> Running in 9a2d3084bfd9 [2021-02-26T10:20:17.666Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-02-26T10:20:17.907Z] Removing intermediate container 9a2d3084bfd9 [2021-02-26T10:20:17.907Z] ---> b2aed4385cc9 [2021-02-26T10:20:17.907Z] 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-02-26T10:20:17.907Z] ---> Running in fd0ccac93bd5 [2021-02-26T10:20:18.173Z] --2021-02-26 10:20:18-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-02-26T10:20:18.173Z] Resolving github.com... 140.82.114.4 [2021-02-26T10:20:18.173Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-26T10:20:18.173Z] HTTP request sent, awaiting response... 302 Found [2021-02-26T10:20:18.173Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-02-26T10:20:18.173Z] --2021-02-26 10:20:18-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-02-26T10:20:18.173Z] Resolving codeload.github.com... 140.82.113.10 [2021-02-26T10:20:18.173Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-02-26T10:20:18.257Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-02-26T10:20:18.435Z] HTTP request sent, awaiting response... 200 OK [2021-02-26T10:20:18.435Z] Length: unspecified [application/x-gzip] [2021-02-26T10:20:18.435Z] Saving to: 'STDOUT' [2021-02-26T10:20:18.435Z]  [2021-02-26T10:20:18.435Z] 0K .......... .......... .......... .......... .......... 1.51M [2021-02-26T10:20:18.435Z] 50K .......... .......... .......... .......... .......... 3.04M [2021-02-26T10:20:18.435Z] 100K .......... .......... .......... .......... .......... 28.7M [2021-02-26T10:20:18.435Z] 150K .......... .......... .......... .......... .......... 3.49M [2021-02-26T10:20:18.435Z] 200K .......... .......... .......... .......... .......... 18.2M [2021-02-26T10:20:18.435Z] 250K .......... .......... .......... .......... .......... 11.5M [2021-02-26T10:20:18.435Z] 300K .......... .......... .......... .......... .......... 10.6M [2021-02-26T10:20:18.435Z] 350K .......... .......... .......... .......... .......... 8.25M [2021-02-26T10:20:18.435Z] 400K .......... .......... .......... .......... .......... 8.41M [2021-02-26T10:20:18.435Z] 450K .......... .......... .......... .......... .......... 11.4M [2021-02-26T10:20:18.435Z] 500K .......... .......... .......... .......... .......... 31.9M [2021-02-26T10:20:18.435Z] 550K .......... .......... .......... .......... .......... 5.66M [2021-02-26T10:20:18.435Z] 600K .......... .......... .......... .......... .......... 2.66M [2021-02-26T10:20:18.435Z] 650K .......... .......... .......... .......... .......... 3.97M [2021-02-26T10:20:18.435Z] 700K .. 31.5M=0.1s [2021-02-26T10:20:18.435Z] [2021-02-26T10:20:18.435Z] 2021-02-26 10:20:18 (5.18 MB/s) - written to stdout [719348] [2021-02-26T10:20:18.435Z] [2021-02-26T10:20:18.529Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-02-26T10:20:18.697Z] -- The C compiler identification is GNU 8.3.0 [2021-02-26T10:20:18.800Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-02-26T10:20:18.959Z] -- The CXX compiler identification is GNU 8.3.0 [2021-02-26T10:20:18.959Z] -- Check for working C compiler: /usr/bin/cc [2021-02-26T10:20:18.959Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-26T10:20:18.959Z] -- Detecting C compiler ABI info [2021-02-26T10:20:18.959Z] -- Detecting C compiler ABI info - done [2021-02-26T10:20:18.959Z] -- Detecting C compile features [2021-02-26T10:20:19.070Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-02-26T10:20:19.222Z] -- Detecting C compile features - done [2021-02-26T10:20:19.222Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-02-26T10:20:19.222Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-02-26T10:20:19.222Z] -- Detecting CXX compiler ABI info [2021-02-26T10:20:19.342Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-02-26T10:20:19.484Z] -- Detecting CXX compiler ABI info - done [2021-02-26T10:20:19.484Z] -- Detecting CXX compile features [2021-02-26T10:20:19.613Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-02-26T10:20:19.745Z] -- Detecting CXX compile features - done [2021-02-26T10:20:19.745Z] -- Looking for include file endian.h [2021-02-26T10:20:19.885Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-02-26T10:20:20.008Z] -- Looking for include file endian.h - found [2021-02-26T10:20:20.008Z] -- Check if the system is big endian [2021-02-26T10:20:20.008Z] -- Searching 16 bit integer [2021-02-26T10:20:20.008Z] -- Looking for sys/types.h [2021-02-26T10:20:20.008Z] -- Looking for sys/types.h - found [2021-02-26T10:20:20.008Z] -- Looking for stdint.h [2021-02-26T10:20:20.008Z] -- Looking for stdint.h - found [2021-02-26T10:20:20.008Z] -- Looking for stddef.h [2021-02-26T10:20:20.008Z] -- Looking for stddef.h - found [2021-02-26T10:20:20.008Z] -- Check size of unsigned short [2021-02-26T10:20:20.158Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-02-26T10:20:20.274Z] -- Check size of unsigned short - done [2021-02-26T10:20:20.274Z] -- Using unsigned short [2021-02-26T10:20:20.274Z] -- Check if the system is big endian - little endian [2021-02-26T10:20:20.274Z] -- Check size of size_t [2021-02-26T10:20:20.274Z] -- Check size of size_t - done [2021-02-26T10:20:20.274Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-02-26T10:20:20.274Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-02-26T10:20:20.274Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-02-26T10:20:20.274Z] CMake did not find one. [2021-02-26T10:20:20.274Z] [2021-02-26T10:20:20.274Z] Could not find a package configuration file provided by "cJSON" with any of [2021-02-26T10:20:20.274Z] the following names: [2021-02-26T10:20:20.274Z] [2021-02-26T10:20:20.274Z] cJSONConfig.cmake [2021-02-26T10:20:20.274Z] cjson-config.cmake [2021-02-26T10:20:20.274Z] [2021-02-26T10:20:20.274Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-02-26T10:20:20.274Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-02-26T10:20:20.274Z] provides a separate development package or SDK, be sure it has been [2021-02-26T10:20:20.274Z] installed. [2021-02-26T10:20:20.274Z] [2021-02-26T10:20:20.274Z] [2021-02-26T10:20:20.274Z] -- Configuring done [2021-02-26T10:20:20.430Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-02-26T10:20:20.536Z] -- Generating done [2021-02-26T10:20:20.536Z] -- Build files have been written to: /tmp/cbor [2021-02-26T10:20:20.536Z] Scanning dependencies of target cbor_shared [2021-02-26T10:20:20.536Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-02-26T10:20:20.536Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-02-26T10:20:20.701Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-02-26T10:20:20.797Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-02-26T10:20:20.797Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-02-26T10:20:20.972Z] [ 80%] Linking C static library libcbor.a [2021-02-26T10:20:20.972Z] [ 80%] Built target cbor [2021-02-26T10:20:20.972Z] Scanning dependencies of target create_items [2021-02-26T10:20:20.972Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-02-26T10:20:21.059Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-02-26T10:20:21.059Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-02-26T10:20:21.059Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-02-26T10:20:21.059Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-02-26T10:20:21.244Z] [ 84%] Linking C executable create_items [2021-02-26T10:20:21.244Z] [ 84%] Built target create_items [2021-02-26T10:20:21.244Z] Scanning dependencies of target readfile [2021-02-26T10:20:21.244Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-02-26T10:20:21.321Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-02-26T10:20:21.321Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-02-26T10:20:21.516Z] [ 88%] Linking C executable readfile [2021-02-26T10:20:21.516Z] [ 88%] Built target readfile [2021-02-26T10:20:21.516Z] Scanning dependencies of target streaming_parser [2021-02-26T10:20:21.516Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-02-26T10:20:21.583Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-02-26T10:20:21.583Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-02-26T10:20:21.583Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-02-26T10:20:21.789Z] [ 92%] Linking C executable streaming_parser [2021-02-26T10:20:21.846Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-02-26T10:20:21.846Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-02-26T10:20:21.846Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-02-26T10:20:21.846Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-02-26T10:20:22.062Z] [ 92%] Built target streaming_parser [2021-02-26T10:20:22.062Z] Scanning dependencies of target sort [2021-02-26T10:20:22.062Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-02-26T10:20:22.062Z] [ 96%] Linking C executable sort [2021-02-26T10:20:22.107Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-02-26T10:20:22.107Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-02-26T10:20:22.107Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-02-26T10:20:22.107Z] [ 40%] Linking C shared library libcbor.so [2021-02-26T10:20:22.107Z] [ 40%] Built target cbor_shared [2021-02-26T10:20:22.107Z] Scanning dependencies of target cbor [2021-02-26T10:20:22.334Z] [ 96%] Built target sort [2021-02-26T10:20:22.334Z] Scanning dependencies of target hello [2021-02-26T10:20:22.334Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-02-26T10:20:22.334Z] [100%] Linking C executable hello [2021-02-26T10:20:22.369Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-02-26T10:20:22.369Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-02-26T10:20:22.608Z] [100%] Built target hello [2021-02-26T10:20:22.608Z] Install the project... [2021-02-26T10:20:22.608Z] -- Install configuration: "Release" [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/lib64/libcbor.a [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/lib64/libcbor.so [2021-02-26T10:20:22.608Z] -- Up-to-date: /usr/local/include/cbor [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/ints.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/data.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/common.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/strings.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/tags.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/internal [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor/maps.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/include/cbor.h [2021-02-26T10:20:22.608Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-02-26T10:20:22.641Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-02-26T10:20:22.641Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-02-26T10:20:22.904Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-02-26T10:20:22.904Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-02-26T10:20:23.166Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-02-26T10:20:23.166Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-02-26T10:20:23.166Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-02-26T10:20:23.166Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-02-26T10:20:23.428Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-02-26T10:20:23.428Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-02-26T10:20:23.692Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-02-26T10:20:23.692Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-02-26T10:20:23.692Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-02-26T10:20:23.692Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-02-26T10:20:23.955Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-02-26T10:20:23.955Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-02-26T10:20:23.955Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-02-26T10:20:24.218Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-02-26T10:20:24.218Z] [ 80%] Linking C static library libcbor.a [2021-02-26T10:20:24.218Z] [ 80%] Built target cbor [2021-02-26T10:20:24.218Z] Scanning dependencies of target create_items [2021-02-26T10:20:24.218Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-02-26T10:20:24.218Z] [ 84%] Linking C executable create_items [2021-02-26T10:20:24.218Z] [ 84%] Built target create_items [2021-02-26T10:20:24.218Z] Scanning dependencies of target readfile [2021-02-26T10:20:24.218Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-02-26T10:20:24.481Z] [ 88%] Linking C executable readfile [2021-02-26T10:20:24.481Z] [ 88%] Built target readfile [2021-02-26T10:20:24.481Z] Scanning dependencies of target streaming_parser [2021-02-26T10:20:24.481Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-02-26T10:20:24.481Z] [ 92%] Linking C executable streaming_parser [2021-02-26T10:20:24.481Z] [ 92%] Built target streaming_parser [2021-02-26T10:20:24.481Z] Scanning dependencies of target sort [2021-02-26T10:20:24.481Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-02-26T10:20:24.481Z] [ 96%] Linking C executable sort [2021-02-26T10:20:24.481Z] [ 96%] Built target sort [2021-02-26T10:20:24.481Z] Scanning dependencies of target hello [2021-02-26T10:20:24.481Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-02-26T10:20:24.590Z] Removing intermediate container 2a2f9a6d3556 [2021-02-26T10:20:24.590Z] ---> 22dc1fcbbc2e [2021-02-26T10:20:24.590Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-02-26T10:20:24.744Z] [100%] Linking C executable hello [2021-02-26T10:20:24.744Z] [100%] Built target hello [2021-02-26T10:20:24.744Z] Install the project... [2021-02-26T10:20:24.744Z] -- Install configuration: "Release" [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/lib64/libcbor.a [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/lib64/libcbor.so [2021-02-26T10:20:24.744Z] -- Up-to-date: /usr/local/include/cbor [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/common.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/data.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/internal [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/ints.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/maps.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/strings.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor/tags.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/include/cbor.h [2021-02-26T10:20:24.744Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-02-26T10:20:24.862Z] ---> Running in 7eeb8e7b7c2e [2021-02-26T10:20:26.829Z] Removing intermediate container 7eeb8e7b7c2e [2021-02-26T10:20:26.829Z] ---> 11e7963d3f1e [2021-02-26T10:20:26.829Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-02-26T10:20:27.301Z] Removing intermediate container fd0ccac93bd5 [2021-02-26T10:20:27.301Z] ---> b645a31f6994 [2021-02-26T10:20:27.301Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-02-26T10:20:27.301Z] ---> Running in 7d213cc2afb8 [2021-02-26T10:20:27.424Z] ---> 81042c7e0e2e [2021-02-26T10:20:27.424Z] Step 8/21 : COPY src /tmp/sdk/src [2021-02-26T10:20:28.248Z] Removing intermediate container 7d213cc2afb8 [2021-02-26T10:20:28.248Z] ---> 2905e88db748 [2021-02-26T10:20:28.248Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-02-26T10:20:28.248Z] ---> beb9fe6e2b0f [2021-02-26T10:20:28.248Z] Step 8/21 : COPY src /tmp/sdk/src [2021-02-26T10:20:28.403Z] ---> 33af12189f97 [2021-02-26T10:20:28.403Z] Step 9/21 : COPY include /tmp/sdk/include [2021-02-26T10:20:28.998Z] ---> 7ec02f998fcd [2021-02-26T10:20:28.998Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-02-26T10:20:29.191Z] ---> 13d5eb4d6c04 [2021-02-26T10:20:29.191Z] Step 9/21 : COPY include /tmp/sdk/include [2021-02-26T10:20:29.191Z] ---> c1bff093149d [2021-02-26T10:20:29.191Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-02-26T10:20:29.452Z] ---> 4c2f891d5da1 [2021-02-26T10:20:29.452Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-02-26T10:20:29.714Z] ---> a14d14d4bb38 [2021-02-26T10:20:29.715Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-02-26T10:20:29.974Z] ---> fe719b4ee19f [2021-02-26T10:20:29.974Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-02-26T10:20:29.976Z] ---> 43cce63a0cfd [2021-02-26T10:20:29.976Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-02-26T10:20:29.976Z] ---> Running in 033f64b18732 [2021-02-26T10:20:30.238Z] + CPPCHECK=false [2021-02-26T10:20:30.238Z] + DOCGEN=false [2021-02-26T10:20:30.238Z] + TOMLVER=SDK-0.2 [2021-02-26T10:20:30.238Z] + CUTILVER=1.1.4 [2021-02-26T10:20:30.238Z] + '[' 0 -gt 0 ] [2021-02-26T10:20:30.238Z] + readlink -f ./scripts/build.sh [2021-02-26T10:20:30.238Z] + dirname /tmp/sdk/scripts/build.sh [2021-02-26T10:20:30.238Z] + dirname /tmp/sdk/scripts [2021-02-26T10:20:30.238Z] + ROOT=/tmp/sdk [2021-02-26T10:20:30.238Z] + cd /tmp/sdk [2021-02-26T10:20:30.238Z] + '[' '!' -d deps ] [2021-02-26T10:20:30.238Z] + mkdir deps [2021-02-26T10:20:30.238Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-26T10:20:30.238Z] + tar -C deps -z -x -f - [2021-02-26T10:20:30.238Z] --2021-02-26 10:20:30-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-26T10:20:30.238Z] Resolving github.com... 140.82.114.4 [2021-02-26T10:20:30.238Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-26T10:20:30.500Z] HTTP request sent, awaiting response... 302 Found [2021-02-26T10:20:30.500Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-02-26T10:20:30.500Z] --2021-02-26 10:20:30-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-02-26T10:20:30.500Z] Resolving codeload.github.com... 140.82.113.10 [2021-02-26T10:20:30.500Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-02-26T10:20:30.500Z] HTTP request sent, awaiting response... 200 OK [2021-02-26T10:20:30.500Z] Length: unspecified [application/x-gzip] [2021-02-26T10:20:30.500Z] Saving to: 'STDOUT' [2021-02-26T10:20:30.500Z]  [2021-02-26T10:20:30.500Z] 0K .......... ...... 1007K=0.02s [2021-02-26T10:20:30.500Z] [2021-02-26T10:20:30.500Z] 2021-02-26 10:20:30 (1007 KB/s) - written to stdout [16451] [2021-02-26T10:20:30.500Z] [2021-02-26T10:20:30.500Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-02-26T10:20:30.500Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-26T10:20:30.500Z] + tar -C deps -z -x -f - [2021-02-26T10:20:30.500Z] --2021-02-26 10:20:30-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-26T10:20:30.567Z] ---> f8fb4ae738f0 [2021-02-26T10:20:30.568Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-02-26T10:20:30.762Z] Resolving github.com... 140.82.114.4 [2021-02-26T10:20:30.763Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-26T10:20:30.763Z] HTTP request sent, awaiting response... 302 Found [2021-02-26T10:20:30.763Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-02-26T10:20:30.763Z] --2021-02-26 10:20:30-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-02-26T10:20:30.763Z] Resolving codeload.github.com... 140.82.113.10 [2021-02-26T10:20:30.763Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-02-26T10:20:31.027Z] HTTP request sent, awaiting response... 200 OK [2021-02-26T10:20:31.027Z] Length: unspecified [application/x-gzip] [2021-02-26T10:20:31.027Z] Saving to: 'STDOUT' [2021-02-26T10:20:31.027Z] [2021-02-26T10:20:31.027Z] 0K .......... .......... .......... .......... .......... 1.64M [2021-02-26T10:20:31.027Z] 50K .......... .......... .......... .......... .......... 3.30M [2021-02-26T10:20:31.027Z] 100K .......... .......... .......... .......... .......... 54.8M [2021-02-26T10:20:31.027Z] 150K .......... .......... ....... 5.28M=0.05s [2021-02-26T10:20:31.027Z] [2021-02-26T10:20:31.027Z] 2021-02-26 10:20:30 (3.43 MB/s) - written to stdout [181796] [2021-02-26T10:20:31.027Z] [2021-02-26T10:20:31.027Z] + mkdir -p src/c/iot [2021-02-26T10:20:31.027Z] + 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-02-26T10:20:31.027Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-02-26T10:20:31.027Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-02-26T10:20:31.027Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-02-26T10:20:31.027Z] + mkdir -p include/iot [2021-02-26T10:20:31.027Z] + 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-02-26T10:20:31.027Z] + mkdir -p include/iot/os [2021-02-26T10:20:31.027Z] + 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-02-26T10:20:31.027Z] + mkdir -p /tmp/sdk/build/release [2021-02-26T10:20:31.027Z] + cd /tmp/sdk/build/release [2021-02-26T10:20:31.027Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-02-26T10:20:31.027Z] -- The C compiler identification is GNU 8.3.0 [2021-02-26T10:20:31.160Z] ---> e3e60864e0a5 [2021-02-26T10:20:31.160Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-02-26T10:20:31.289Z] -- Check for working C compiler: /usr/bin/cc [2021-02-26T10:20:31.289Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-26T10:20:31.289Z] -- Detecting C compiler ABI info [2021-02-26T10:20:31.289Z] -- Detecting C compiler ABI info - done [2021-02-26T10:20:31.289Z] -- Detecting C compile features [2021-02-26T10:20:31.431Z] ---> Running in fced45209939 [2021-02-26T10:20:31.551Z] -- Detecting C compile features - done [2021-02-26T10:20:31.551Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-26T10:20:31.551Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-26T10:20:31.551Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-26T10:20:31.551Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-26T10:20:31.551Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-26T10:20:31.551Z] -- C SDK 1.3.2-dev.7 for Linux [2021-02-26T10:20:31.551Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-26T10:20:31.551Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-26T10:20:31.551Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-26T10:20:31.551Z] -- Configuring done [2021-02-26T10:20:31.815Z] -- Generating done [2021-02-26T10:20:31.815Z] -- Build files have been written to: /tmp/sdk/build/release [2021-02-26T10:20:31.815Z] + make [2021-02-26T10:20:31.815Z] + tee release.log [2021-02-26T10:20:31.815Z] Scanning dependencies of target csdk [2021-02-26T10:20:31.815Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-26T10:20:31.815Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-26T10:20:32.082Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-26T10:20:32.346Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-26T10:20:32.408Z] + CPPCHECK=false [2021-02-26T10:20:32.408Z] + DOCGEN=false [2021-02-26T10:20:32.408Z] + TOMLVER=SDK-0.2 [2021-02-26T10:20:32.408Z] + CUTILVER=1.1.4 [2021-02-26T10:20:32.408Z] + '[' 0 -gt 0 ] [2021-02-26T10:20:32.408Z] + readlink -f ./scripts/build.sh [2021-02-26T10:20:32.408Z] + dirname /tmp/sdk/scripts/build.sh [2021-02-26T10:20:32.408Z] + dirname /tmp/sdk/scripts [2021-02-26T10:20:32.408Z] + ROOT=/tmp/sdk [2021-02-26T10:20:32.408Z] + cd /tmp/sdk [2021-02-26T10:20:32.408Z] + '[' '!' -d deps ] [2021-02-26T10:20:32.408Z] + mkdir deps [2021-02-26T10:20:32.408Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-26T10:20:32.408Z] + tar -C deps -z -x -f - [2021-02-26T10:20:32.408Z] --2021-02-26 10:20:32-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-26T10:20:32.408Z] Resolving github.com... 140.82.114.4 [2021-02-26T10:20:32.408Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-26T10:20:32.408Z] HTTP request sent, awaiting response... 302 Found [2021-02-26T10:20:32.408Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-02-26T10:20:32.408Z] --2021-02-26 10:20:32-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-02-26T10:20:32.408Z] Resolving codeload.github.com... 140.82.113.10 [2021-02-26T10:20:32.408Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-02-26T10:20:32.609Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-26T10:20:32.609Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-26T10:20:32.678Z] HTTP request sent, awaiting response... 200 OK [2021-02-26T10:20:32.678Z] Length: unspecified [application/x-gzip] [2021-02-26T10:20:32.678Z] Saving to: 'STDOUT' [2021-02-26T10:20:32.678Z]  [2021-02-26T10:20:32.678Z] 0K .......... ...... 1.06M=0.01s [2021-02-26T10:20:32.678Z] [2021-02-26T10:20:32.678Z] 2021-02-26 10:20:32 (1.06 MB/s) - written to stdout [16451] [2021-02-26T10:20:32.678Z] [2021-02-26T10:20:32.678Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-02-26T10:20:32.678Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-26T10:20:32.678Z] + tar -C deps -z -x -f - [2021-02-26T10:20:32.678Z] --2021-02-26 10:20:32-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-26T10:20:32.678Z] Resolving github.com... 140.82.114.4 [2021-02-26T10:20:32.678Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-26T10:20:32.678Z] HTTP request sent, awaiting response... 302 Found [2021-02-26T10:20:32.678Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-02-26T10:20:32.678Z] --2021-02-26 10:20:32-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-02-26T10:20:32.678Z] Resolving codeload.github.com... 140.82.113.10 [2021-02-26T10:20:32.678Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-02-26T10:20:32.678Z] HTTP request sent, awaiting response... 200 OK [2021-02-26T10:20:32.678Z] Length: unspecified [application/x-gzip] [2021-02-26T10:20:32.678Z] Saving to: 'STDOUT' [2021-02-26T10:20:32.678Z]  [2021-02-26T10:20:32.872Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-26T10:20:32.951Z] 0K .......... .......... .......... .......... .......... 1.60M [2021-02-26T10:20:32.951Z] 50K .......... .......... .......... .......... .......... 3.01M [2021-02-26T10:20:32.952Z] 100K .......... .......... .......... .......... .......... 5.36M [2021-02-26T10:20:32.952Z] 150K .......... .......... .......  1.54M=0.07s [2021-02-26T10:20:32.952Z] [2021-02-26T10:20:32.952Z] 2021-02-26 10:20:32 (2.36 MB/s) - written to stdout [181796] [2021-02-26T10:20:32.952Z] [2021-02-26T10:20:32.952Z] + mkdir -p src/c/iot [2021-02-26T10:20:32.952Z] + 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-02-26T10:20:32.952Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-02-26T10:20:32.952Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-02-26T10:20:32.952Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-02-26T10:20:32.952Z] + mkdir -p include/iot [2021-02-26T10:20:32.952Z] + 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-02-26T10:20:32.952Z] + mkdir -p include/iot/os [2021-02-26T10:20:32.952Z] + 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-02-26T10:20:32.952Z] + mkdir -p /tmp/sdk/build/release [2021-02-26T10:20:32.952Z] + cd /tmp/sdk/build/release [2021-02-26T10:20:32.952Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-02-26T10:20:33.224Z] -- The C compiler identification is GNU 8.3.0 [2021-02-26T10:20:33.224Z] -- Check for working C compiler: /usr/bin/cc [2021-02-26T10:20:33.445Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-26T10:20:33.445Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-26T10:20:33.445Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-26T10:20:33.496Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-26T10:20:33.497Z] -- Detecting C compiler ABI info [2021-02-26T10:20:33.709Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-26T10:20:33.709Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-26T10:20:33.767Z] -- Detecting C compiler ABI info - done [2021-02-26T10:20:33.768Z] -- Detecting C compile features [2021-02-26T10:20:33.971Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-26T10:20:33.971Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-26T10:20:34.362Z] -- Detecting C compile features - done [2021-02-26T10:20:34.544Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-26T10:20:34.638Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-26T10:20:34.639Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-26T10:20:34.639Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-26T10:20:34.639Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-26T10:20:34.639Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-26T10:20:34.639Z] -- C SDK 1.3.2-dev.7 for Linux [2021-02-26T10:20:34.639Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-26T10:20:34.806Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-26T10:20:34.806Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-26T10:20:34.806Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-26T10:20:34.909Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-26T10:20:34.909Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-26T10:20:34.909Z] -- Configuring done [2021-02-26T10:20:35.071Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-26T10:20:35.180Z] -- Generating done [2021-02-26T10:20:35.180Z] -- Build files have been written to: /tmp/sdk/build/release [2021-02-26T10:20:35.180Z] + + maketee [2021-02-26T10:20:35.180Z] release.log [2021-02-26T10:20:35.180Z] Scanning dependencies of target csdk [2021-02-26T10:20:35.452Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-26T10:20:35.647Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-26T10:20:35.647Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-26T10:20:35.908Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-26T10:20:35.908Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-26T10:20:36.044Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-26T10:20:36.171Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-26T10:20:36.171Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-26T10:20:36.318Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-26T10:20:36.432Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-26T10:20:36.433Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-26T10:20:36.694Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-26T10:20:36.694Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-26T10:20:37.269Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-26T10:20:37.269Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-26T10:20:37.532Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-26T10:20:37.532Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-26T10:20:38.283Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-26T10:20:38.473Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-26T10:20:38.735Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-26T10:20:38.735Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-26T10:20:38.877Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-26T10:20:38.877Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-26T10:20:38.995Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-26T10:20:38.995Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-26T10:20:39.572Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-26T10:20:39.832Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-26T10:20:39.849Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-26T10:20:40.772Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-26T10:20:40.772Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-26T10:20:41.032Z] [ 72%] Linking C shared library libcsdk.so [2021-02-26T10:20:41.032Z] [ 72%] Built target csdk [2021-02-26T10:20:41.032Z] Scanning dependencies of target template [2021-02-26T10:20:41.032Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-26T10:20:41.275Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-26T10:20:41.294Z] [ 76%] Linking C executable template [2021-02-26T10:20:41.294Z] [ 76%] Built target template [2021-02-26T10:20:41.294Z] Scanning dependencies of target device-counter [2021-02-26T10:20:41.294Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-26T10:20:41.554Z] [ 79%] Linking C executable device-counter [2021-02-26T10:20:41.554Z] [ 79%] Built target device-counter [2021-02-26T10:20:41.554Z] Scanning dependencies of target device-random [2021-02-26T10:20:41.554Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-26T10:20:41.554Z] [ 83%] Linking C executable device-random [2021-02-26T10:20:41.820Z] [ 83%] Built target device-random [2021-02-26T10:20:41.820Z] Scanning dependencies of target device-gyro [2021-02-26T10:20:41.820Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-26T10:20:41.820Z] [ 86%] Linking C executable device-gyro [2021-02-26T10:20:41.820Z] [ 86%] Built target device-gyro [2021-02-26T10:20:41.820Z] Scanning dependencies of target device-bitfields [2021-02-26T10:20:41.820Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-26T10:20:41.866Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-26T10:20:42.080Z] [ 89%] Linking C executable device-bitfields [2021-02-26T10:20:42.080Z] [ 89%] Built target device-bitfields [2021-02-26T10:20:42.080Z] Scanning dependencies of target template-discovery [2021-02-26T10:20:42.080Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-26T10:20:42.340Z] [ 93%] Linking C executable template-discovery [2021-02-26T10:20:42.340Z] [ 93%] Built target template-discovery [2021-02-26T10:20:42.340Z] Scanning dependencies of target device-file [2021-02-26T10:20:42.340Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-26T10:20:42.340Z] [ 96%] Linking C executable device-file [2021-02-26T10:20:42.457Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-26T10:20:42.600Z] [ 96%] Built target device-file [2021-02-26T10:20:42.601Z] Scanning dependencies of target device-terminal [2021-02-26T10:20:42.601Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-26T10:20:42.601Z] [100%] Linking C executable device-terminal [2021-02-26T10:20:42.861Z] [100%] Built target device-terminal [2021-02-26T10:20:42.861Z] + + make package [2021-02-26T10:20:42.861Z] tee -a release.log [2021-02-26T10:20:42.861Z] [ 72%] Built target csdk [2021-02-26T10:20:42.861Z] [ 76%] Built target template [2021-02-26T10:20:42.861Z] [ 79%] Built target device-counter [2021-02-26T10:20:42.861Z] [ 83%] Built target device-random [2021-02-26T10:20:42.861Z] [ 86%] Built target device-gyro [2021-02-26T10:20:42.861Z] [ 89%] Built target device-bitfields [2021-02-26T10:20:42.861Z] [ 93%] Built target template-discovery [2021-02-26T10:20:42.861Z] [ 96%] Built target device-file [2021-02-26T10:20:42.861Z] [100%] Built target device-terminal [2021-02-26T10:20:42.861Z] Run CPack packaging tool... [2021-02-26T10:20:42.861Z] CPack: Create package using TGZ [2021-02-26T10:20:42.861Z] CPack: Install projects [2021-02-26T10:20:42.861Z] CPack: - Run preinstall target for: Csdk [2021-02-26T10:20:43.048Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-26T10:20:43.121Z] CPack: - Install project: Csdk [2021-02-26T10:20:43.121Z] CPack: Create package [2021-02-26T10:20:43.121Z] CPack: - package: /tmp/sdk/build/release/csdk-1.3.2-dev.7.tar.gz generated. [2021-02-26T10:20:43.121Z] + '[' false '=' true ] [2021-02-26T10:20:43.121Z] + '[' false '=' true ] [2021-02-26T10:20:43.121Z] + mkdir -p /tmp/sdk/build/debug [2021-02-26T10:20:43.121Z] + cd /tmp/sdk/build/debug [2021-02-26T10:20:43.121Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-02-26T10:20:43.321Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-26T10:20:43.381Z] -- The C compiler identification is GNU 8.3.0 [2021-02-26T10:20:43.381Z] -- Check for working C compiler: /usr/bin/cc [2021-02-26T10:20:43.381Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-26T10:20:43.381Z] -- Detecting C compiler ABI info [2021-02-26T10:20:43.381Z] -- Detecting C compiler ABI info - done [2021-02-26T10:20:43.381Z] -- Detecting C compile features [2021-02-26T10:20:43.593Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-26T10:20:43.593Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-26T10:20:43.641Z] -- Detecting C compile features - done [2021-02-26T10:20:43.641Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-26T10:20:43.641Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-26T10:20:43.641Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-26T10:20:43.641Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-26T10:20:43.641Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-26T10:20:43.641Z] -- C SDK 1.3.2-dev.7 for Linux [2021-02-26T10:20:43.641Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-26T10:20:43.641Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-26T10:20:43.904Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-26T10:20:43.904Z] -- Configuring done [2021-02-26T10:20:43.904Z] -- Generating done [2021-02-26T10:20:43.904Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-02-26T10:20:43.904Z] + + teemake debug.log [2021-02-26T10:20:43.904Z] [2021-02-26T10:20:43.904Z] Scanning dependencies of target csdk [2021-02-26T10:20:43.905Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-26T10:20:44.166Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-26T10:20:44.166Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-26T10:20:44.166Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-26T10:20:44.428Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-26T10:20:44.428Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-26T10:20:44.428Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-26T10:20:44.695Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-26T10:20:44.695Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-26T10:20:44.955Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-26T10:20:44.955Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-26T10:20:44.955Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-26T10:20:44.955Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-26T10:20:44.955Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-26T10:20:45.216Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-26T10:20:45.478Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-26T10:20:45.478Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-26T10:20:45.478Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-26T10:20:45.478Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-26T10:20:45.752Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-26T10:20:46.035Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-26T10:20:46.035Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-26T10:20:46.035Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-26T10:20:46.035Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-26T10:20:46.035Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-26T10:20:46.311Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-26T10:20:46.311Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-26T10:20:46.311Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-26T10:20:46.311Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-26T10:20:46.593Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-26T10:20:46.593Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-26T10:20:46.593Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-26T10:20:46.908Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-26T10:20:46.963Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-26T10:20:46.963Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-26T10:20:46.963Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-26T10:20:47.180Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-26T10:20:47.180Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-26T10:20:47.180Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-26T10:20:47.180Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-26T10:20:47.441Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-26T10:20:47.555Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-26T10:20:47.703Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-26T10:20:47.704Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-26T10:20:47.966Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-26T10:20:47.966Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-26T10:20:48.147Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-26T10:20:48.229Z] [ 72%] Linking C shared library libcsdk.so [2021-02-26T10:20:48.229Z] [ 72%] Built target csdk [2021-02-26T10:20:48.229Z] Scanning dependencies of target template [2021-02-26T10:20:48.229Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-26T10:20:48.229Z] [ 76%] Linking C executable template [2021-02-26T10:20:48.229Z] [ 76%] Built target template [2021-02-26T10:20:48.229Z] Scanning dependencies of target device-counter [2021-02-26T10:20:48.229Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-26T10:20:48.491Z] [ 79%] Linking C executable device-counter [2021-02-26T10:20:48.491Z] [ 79%] Built target device-counter [2021-02-26T10:20:48.491Z] Scanning dependencies of target device-random [2021-02-26T10:20:48.491Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-26T10:20:48.491Z] [ 83%] Linking C executable device-random [2021-02-26T10:20:48.753Z] [ 83%] Built target device-random [2021-02-26T10:20:48.753Z] Scanning dependencies of target device-gyro [2021-02-26T10:20:48.753Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-26T10:20:48.753Z] [ 86%] Linking C executable device-gyro [2021-02-26T10:20:49.015Z] [ 86%] Built target device-gyro [2021-02-26T10:20:49.015Z] Scanning dependencies of target device-bitfields [2021-02-26T10:20:49.015Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-26T10:20:49.015Z] [ 89%] Linking C executable device-bitfields [2021-02-26T10:20:49.015Z] [ 89%] Built target device-bitfields [2021-02-26T10:20:49.015Z] Scanning dependencies of target template-discovery [2021-02-26T10:20:49.015Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-26T10:20:49.015Z] [ 93%] Linking C executable template-discovery [2021-02-26T10:20:49.276Z] [ 93%] Built target template-discovery [2021-02-26T10:20:49.276Z] Scanning dependencies of target device-file [2021-02-26T10:20:49.276Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-26T10:20:49.276Z] [ 96%] Linking C executable device-file [2021-02-26T10:20:49.276Z] [ 96%] Built target device-file [2021-02-26T10:20:49.276Z] Scanning dependencies of target device-terminal [2021-02-26T10:20:49.276Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-26T10:20:49.537Z] [100%] Linking C executable device-terminal [2021-02-26T10:20:49.537Z] [100%] Built target device-terminal [2021-02-26T10:20:49.537Z] make: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] [ 72%] Built target csdk [2021-02-26T10:20:49.537Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] [ 76%] Built target template [2021-02-26T10:20:49.537Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] [ 79%] Built target device-counter [2021-02-26T10:20:49.537Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] [ 83%] Built target device-random [2021-02-26T10:20:49.537Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] [ 86%] Built target device-gyro [2021-02-26T10:20:49.537Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] [ 89%] Built target device-bitfields [2021-02-26T10:20:49.537Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] [ 93%] Built target template-discovery [2021-02-26T10:20:49.537Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.537Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.799Z] [ 96%] Built target device-file [2021-02-26T10:20:49.799Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.799Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.799Z] [100%] Built target device-terminal [2021-02-26T10:20:49.799Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:20:49.799Z] Install the project... [2021-02-26T10:20:49.799Z] -- Install configuration: "Release" [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/lib/libcsdk.so [2021-02-26T10:20:49.799Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-02-26T10:20:49.799Z] -- Up-to-date: /usr/local/include [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/devsdk [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/edgex [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/edgex/devices.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/base64.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/component.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/config.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/container.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/data.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/hash.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/iot.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/json.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/logger.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/os.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/thread.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/time.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/typecode.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/os [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/include/iot/defs.h [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-02-26T10:20:49.799Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-02-26T10:20:49.799Z] make: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:20:50.751Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-26T10:20:50.752Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-26T10:20:50.752Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-26T10:20:51.342Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-26T10:20:51.715Z] Removing intermediate container 033f64b18732 [2021-02-26T10:20:51.716Z] ---> a4e28b0812e9 [2021-02-26T10:20:51.716Z] Step 14/21 : FROM ${BASE} [2021-02-26T10:20:51.716Z] ---> 5eabd8fd8ba2 [2021-02-26T10:20:51.716Z] Step 15/21 : LABEL maintainer="IOTech " [2021-02-26T10:20:51.716Z] ---> Running in 18c658a5af3a [2021-02-26T10:20:51.937Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-26T10:20:51.937Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-26T10:20:51.978Z] Removing intermediate container 18c658a5af3a [2021-02-26T10:20:51.978Z] ---> 7bae55b34de7 [2021-02-26T10:20:51.978Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-02-26T10:20:51.978Z] ---> Running in fda2400e351c [2021-02-26T10:20:52.569Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-26T10:20:52.946Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-26T10:20:53.218Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-26T10:20:53.517Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-26T10:20:53.778Z] (1/3) Installing curl (7.64.0-r5) [2021-02-26T10:20:53.779Z] (2/3) Installing libuuid (2.33-r0) [2021-02-26T10:20:53.779Z] (3/3) Installing wget (1.20.3-r0) [2021-02-26T10:20:53.807Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-26T10:20:54.041Z] Executing busybox-1.29.3-r10.trigger [2021-02-26T10:20:54.041Z] OK: 268 MiB in 78 packages [2021-02-26T10:20:54.079Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-26T10:20:54.304Z] Removing intermediate container fda2400e351c [2021-02-26T10:20:54.304Z] ---> f713788739ea [2021-02-26T10:20:54.304Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-02-26T10:20:54.567Z] ---> 7ec2648cf184 [2021-02-26T10:20:54.567Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-02-26T10:20:54.828Z] ---> e4f1c2df554c [2021-02-26T10:20:54.828Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-02-26T10:20:55.089Z] ---> a57a2a5177bc [2021-02-26T10:20:55.089Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-02-26T10:20:55.350Z] ---> 26845951bfee [2021-02-26T10:20:55.350Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-02-26T10:20:55.350Z] ---> 13584fdd6427 [2021-02-26T10:20:55.350Z] Successfully built 13584fdd6427 [2021-02-26T10:20:55.612Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-26T10:20:56.044Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-26T10:20:56.289Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-26T10:20:56.289Z] . [Pipeline] withDockerContainer [2021-02-26T10:20:56.351Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-26T10:20:56.390Z] prd-centos7-docker-4c-2g-27850 does not seem to be running inside a container [2021-02-26T10:20:56.438Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/59 -v /w/workspace/device-sdk-c/59:/w/workspace/device-sdk-c/59:rw,z -v /w/workspace/device-sdk-c/59@tmp:/w/workspace/device-sdk-c/59@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-02-26T10:20:56.984Z] $ docker top bf07dd7ad2565b082e477e50ba8644d499db177ea8055eb38966213aeea4f728 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-26T10:20:57.372Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-26T10:20:57.372Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-26T10:20:57.432Z] + make test [2021-02-26T10:20:57.432Z] echo "make test" [2021-02-26T10:20:57.433Z] make test [Pipeline] } [2021-02-26T10:20:57.448Z] $ docker stop --time=1 bf07dd7ad2565b082e477e50ba8644d499db177ea8055eb38966213aeea4f728 [2021-02-26T10:20:58.766Z] $ docker rm -f bf07dd7ad2565b082e477e50ba8644d499db177ea8055eb38966213aeea4f728 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-02-26T10:21:01.743Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [Pipeline] sh [2021-02-26T10:21:02.170Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-26T10:21:02.342Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-26T10:21:02.466Z] + ls -al . [2021-02-26T10:21:02.466Z] total 160 [2021-02-26T10:21:02.466Z] drwxrwxr-x. 8 jenkins jenkins 260 Feb 26 10:19 . [2021-02-26T10:21:02.466Z] drwxrwxr-x. 4 jenkins jenkins 30 Feb 26 10:19 .. [2021-02-26T10:21:02.466Z] -rw-rw-r--. 1 jenkins jenkins 3104 Feb 26 10:19 Attribution.txt [2021-02-26T10:21:02.466Z] -rw-rw-r--. 1 jenkins jenkins 6927 Feb 26 10:19 CHANGES [2021-02-26T10:21:02.466Z] drwxrwxr-x. 2 jenkins jenkins 144 Feb 26 10:19 docs [2021-02-26T10:21:02.466Z] -rw-rw-r--. 1 jenkins jenkins 108574 Feb 26 10:19 Doxyfile [2021-02-26T10:21:02.466Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 26 10:20 .git [2021-02-26T10:21:02.466Z] drwxrwxr-x. 2 jenkins jenkins 81 Feb 26 10:19 .github [2021-02-26T10:21:02.466Z] -rw-rw-r--. 1 jenkins jenkins 176 Feb 26 10:19 .gitignore [2021-02-26T10:21:02.466Z] drwxrwxr-x. 4 jenkins jenkins 33 Feb 26 10:19 include [2021-02-26T10:21:02.466Z] -rw-rw-r--. 1 jenkins jenkins 784 Feb 26 10:19 Jenkinsfile [2021-02-26T10:21:02.466Z] -rw-rw-r--. 1 jenkins jenkins 10174 Feb 26 10:19 LICENSE [2021-02-26T10:21:02.466Z] -rw-rw-r--. 1 jenkins jenkins 444 Feb 26 10:19 Makefile [2021-02-26T10:21:02.466Z] -rw-rw-r--. 1 jenkins jenkins 2697 Feb 26 10:19 README.md [2021-02-26T10:21:02.466Z] -rw-rw-r--. 1 jenkins jenkins 6654 Feb 26 10:19 README.v2.md [2021-02-26T10:21:02.466Z] drwxrwxr-x. 2 jenkins jenkins 98 Feb 26 10:19 scripts [2021-02-26T10:21:02.466Z] drwxrwxr-x. 4 jenkins jenkins 50 Feb 26 10:19 src [2021-02-26T10:21:02.466Z] -rw-rw-r--. 1 jenkins jenkins 11 Feb 26 10:17 VERSION [Pipeline] isUnix [Pipeline] sh [2021-02-26T10:21:02.614Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-26T10:21:02.767Z] + 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=603e15a22e98ad0ffc0e9ce671b1afa02ea84060 --label arch=amd64 --label version=1.3.2-dev.7 . [2021-02-26T10:21:02.767Z] Sending build context to Docker daemon 2.414MB [2021-02-26T10:21:02.767Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-02-26T10:21:02.767Z] Step 2/15 : FROM ${BASE} [2021-02-26T10:21:02.767Z] ---> 13584fdd6427 [2021-02-26T10:21:02.767Z] Step 3/15 : LABEL maintainer="IOTech " [2021-02-26T10:21:03.207Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-26T10:21:03.338Z] ---> Running in edf1f4cd34e7 [2021-02-26T10:21:03.601Z] Removing intermediate container edf1f4cd34e7 [2021-02-26T10:21:03.601Z] ---> e06162c46d8c [2021-02-26T10:21:03.601Z] 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-02-26T10:21:03.601Z] ---> Running in 0c8e5867f641 [2021-02-26T10:21:03.797Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-26T10:21:03.863Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-26T10:21:04.804Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-26T10:21:05.065Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-26T10:21:05.065Z] (2/6) Installing libblkid (2.33-r0) [2021-02-26T10:21:05.065Z] (3/6) Installing libfdisk (2.33-r0) [2021-02-26T10:21:05.225Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-26T10:21:05.326Z] (4/6) Installing libmount (2.33-r0) [2021-02-26T10:21:05.326Z] (5/6) Installing libsmartcols (2.33-r0) [2021-02-26T10:21:05.326Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-02-26T10:21:05.587Z] Executing busybox-1.29.3-r10.trigger [2021-02-26T10:21:05.587Z] OK: 272 MiB in 84 packages [2021-02-26T10:21:06.159Z] Removing intermediate container 0c8e5867f641 [2021-02-26T10:21:06.159Z] ---> 4b9f1dc4f490 [2021-02-26T10:21:06.159Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-02-26T10:21:06.420Z] ---> 94247646c78b [2021-02-26T10:21:06.420Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-02-26T10:21:06.992Z] ---> eec1c4ab5737 [2021-02-26T10:21:06.992Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-02-26T10:21:07.188Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-26T10:21:07.254Z] ---> b70c8c396fd3 [2021-02-26T10:21:07.254Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-02-26T10:21:07.514Z] ---> b90ff5201483 [2021-02-26T10:21:07.514Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-02-26T10:21:07.775Z] ---> 708ddb030c85 [2021-02-26T10:21:07.775Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-02-26T10:21:07.775Z] ---> e1c8018dfc0e [2021-02-26T10:21:07.775Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-02-26T10:21:08.036Z] ---> Running in 68df767cce06 [2021-02-26T10:21:08.036Z] Removing intermediate container 68df767cce06 [2021-02-26T10:21:08.036Z] ---> 17f160801b7b [2021-02-26T10:21:08.036Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-02-26T10:21:08.298Z] ---> Running in 2e35af9e69f2 [2021-02-26T10:21:08.298Z] Removing intermediate container 2e35af9e69f2 [2021-02-26T10:21:08.298Z] ---> c7d629ee0d9a [2021-02-26T10:21:08.298Z] Step 13/15 : LABEL arch=amd64 [2021-02-26T10:21:08.298Z] ---> Running in abd94fd47306 [2021-02-26T10:21:08.558Z] Removing intermediate container abd94fd47306 [2021-02-26T10:21:08.558Z] ---> e478cd1e7949 [2021-02-26T10:21:08.558Z] Step 14/15 : LABEL git_sha=603e15a22e98ad0ffc0e9ce671b1afa02ea84060 [2021-02-26T10:21:08.558Z] ---> Running in dba014a11d38 [2021-02-26T10:21:08.819Z] Removing intermediate container dba014a11d38 [2021-02-26T10:21:08.819Z] ---> e6c73a1eda0d [2021-02-26T10:21:08.819Z] Step 15/15 : LABEL version=1.3.2-dev.7 [2021-02-26T10:21:08.819Z] ---> Running in a24113e0117a [2021-02-26T10:21:08.819Z] Removing intermediate container a24113e0117a [2021-02-26T10:21:08.819Z] ---> 21f417d20deb [2021-02-26T10:21:08.819Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-02-26T10:21:08.819Z] Successfully built 21f417d20deb [2021-02-26T10:21:09.079Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-26T10:21:10.556Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-26T10:21:10.556Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-26T10:21:10.827Z] [ 72%] Linking C shared library libcsdk.so [2021-02-26T10:21:11.100Z] [ 72%] Built target csdk [2021-02-26T10:21:11.100Z] Scanning dependencies of target template [2021-02-26T10:21:11.100Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-26T10:21:11.693Z] [ 76%] Linking C executable template [2021-02-26T10:21:11.966Z] [ 76%] Built target template [2021-02-26T10:21:11.966Z] Scanning dependencies of target device-counter [2021-02-26T10:21:11.966Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-26T10:21:12.556Z] [ 79%] Linking C executable device-counter [2021-02-26T10:21:12.556Z] [ 79%] Built target device-counter [2021-02-26T10:21:12.832Z] Scanning dependencies of target device-random [2021-02-26T10:21:12.832Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-26T10:21:13.103Z] [ 83%] Linking C executable device-random [2021-02-26T10:21:13.373Z] [ 83%] Built target device-random [2021-02-26T10:21:13.373Z] Scanning dependencies of target device-gyro [2021-02-26T10:21:13.373Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-26T10:21:13.968Z] [ 86%] Linking C executable device-gyro [2021-02-26T10:21:13.968Z] [ 86%] Built target device-gyro [2021-02-26T10:21:13.968Z] Scanning dependencies of target device-bitfields [2021-02-26T10:21:13.968Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-26T10:21:14.562Z] [ 89%] Linking C executable device-bitfields [2021-02-26T10:21:14.562Z] [ 89%] Built target device-bitfields [2021-02-26T10:21:14.562Z] Scanning dependencies of target template-discovery [2021-02-26T10:21:14.562Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-26T10:21:15.160Z] [ 93%] Linking C executable template-discovery [2021-02-26T10:21:15.434Z] [ 93%] Built target template-discovery [2021-02-26T10:21:15.434Z] Scanning dependencies of target device-file [2021-02-26T10:21:15.434Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-26T10:21:16.029Z] [ 96%] Linking C executable device-file [2021-02-26T10:21:16.300Z] [ 96%] Built target device-file [2021-02-26T10:21:16.300Z] Scanning dependencies of target device-terminal [2021-02-26T10:21:16.300Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-26T10:21:16.905Z] [100%] Linking C executable device-terminal [2021-02-26T10:21:17.189Z] [100%] Built target device-terminal [2021-02-26T10:21:17.189Z] + make package [2021-02-26T10:21:17.189Z] + tee -a release.log [2021-02-26T10:21:17.189Z] [ 72%] Built target csdk [2021-02-26T10:21:17.189Z] [ 76%] Built target template [2021-02-26T10:21:17.189Z] [ 79%] Built target device-counter [2021-02-26T10:21:17.464Z] [ 83%] Built target device-random [2021-02-26T10:21:17.464Z] [ 86%] Built target device-gyro [2021-02-26T10:21:17.464Z] [ 89%] Built target device-bitfields [2021-02-26T10:21:17.464Z] [ 93%] Built target template-discovery [2021-02-26T10:21:17.464Z] [ 96%] Built target device-file [2021-02-26T10:21:17.464Z] [100%] Built target device-terminal [2021-02-26T10:21:17.738Z] Run CPack packaging tool... [2021-02-26T10:21:17.738Z] CPack: Create package using TGZ [2021-02-26T10:21:17.738Z] CPack: Install projects [2021-02-26T10:21:17.738Z] CPack: - Run preinstall target for: Csdk [2021-02-26T10:21:18.331Z] CPack: - Install project: Csdk [2021-02-26T10:21:18.331Z] CPack: Create package [2021-02-26T10:21:18.331Z] CPack: - package: /tmp/sdk/build/release/csdk-1.3.2-dev.7.tar.gz generated. [2021-02-26T10:21:18.331Z] + '[' false '=' true ] [2021-02-26T10:21:18.331Z] + '[' false '=' true ] [2021-02-26T10:21:18.331Z] + mkdir -p /tmp/sdk/build/debug [2021-02-26T10:21:18.331Z] + cd /tmp/sdk/build/debug [2021-02-26T10:21:18.331Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-02-26T10:21:18.602Z] -- The C compiler identification is GNU 8.3.0 [2021-02-26T10:21:18.603Z] -- Check for working C compiler: /usr/bin/cc [2021-02-26T10:21:18.874Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-26T10:21:18.874Z] -- Detecting C compiler ABI info [2021-02-26T10:21:19.146Z] -- Detecting C compiler ABI info - done [2021-02-26T10:21:19.146Z] -- Detecting C compile features [2021-02-26T10:21:20.123Z] -- Detecting C compile features - done [2021-02-26T10:21:20.123Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-26T10:21:20.123Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-26T10:21:20.123Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-26T10:21:20.123Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-26T10:21:20.123Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-26T10:21:20.123Z] -- C SDK 1.3.2-dev.7 for Linux [2021-02-26T10:21:20.123Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-26T10:21:20.123Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-26T10:21:20.123Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-26T10:21:20.392Z] -- Configuring done [2021-02-26T10:21:20.663Z] -- Generating done [2021-02-26T10:21:20.663Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-02-26T10:21:20.663Z] + make [2021-02-26T10:21:20.664Z] + tee debug.log [2021-02-26T10:21:20.664Z] Scanning dependencies of target csdk [2021-02-26T10:21:20.934Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-26T10:21:21.204Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-26T10:21:21.475Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-26T10:21:22.066Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-26T10:21:22.337Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-26T10:21:22.337Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-26T10:21:22.929Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-26T10:21:23.201Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-26T10:21:23.475Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-26T10:21:24.069Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-26T10:21:24.069Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-26T10:21:24.341Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-26T10:21:24.616Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-26T10:21:24.888Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-26T10:21:25.478Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-26T10:21:25.750Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-26T10:21:26.021Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-26T10:21:26.021Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-26T10:21:26.295Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-26T10:21:27.268Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-26T10:21:27.539Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-26T10:21:27.539Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-26T10:21:27.812Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-26T10:21:28.084Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-26T10:21:28.084Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-26T10:21:28.356Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-26T10:21:28.628Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-26T10:21:28.898Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-26T10:21:29.170Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-26T10:21:29.442Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-26T10:21:29.714Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-26T10:21:30.320Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-26T10:21:30.320Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-26T10:21:31.297Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-26T10:21:31.568Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-26T10:21:31.840Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-26T10:21:32.112Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-26T10:21:32.382Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-26T10:21:33.353Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-26T10:21:33.951Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-26T10:21:34.543Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-26T10:21:34.815Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-26T10:21:35.087Z] [ 72%] Linking C shared library libcsdk.so [2021-02-26T10:21:35.087Z] [ 72%] Built target csdk [2021-02-26T10:21:35.359Z] Scanning dependencies of target template [2021-02-26T10:21:35.359Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-26T10:21:35.631Z] [ 76%] Linking C executable template [2021-02-26T10:21:35.631Z] [ 76%] Built target template [2021-02-26T10:21:35.902Z] Scanning dependencies of target device-counter [2021-02-26T10:21:35.902Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-26T10:21:36.173Z] [ 79%] Linking C executable device-counter [2021-02-26T10:21:36.173Z] [ 79%] Built target device-counter [2021-02-26T10:21:36.173Z] Scanning dependencies of target device-random [2021-02-26T10:21:36.446Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-26T10:21:36.446Z] [ 83%] Linking C executable device-random [2021-02-26T10:21:36.719Z] [ 83%] Built target device-random [2021-02-26T10:21:36.719Z] Scanning dependencies of target device-gyro [2021-02-26T10:21:36.720Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-26T10:21:36.992Z] [ 86%] Linking C executable device-gyro [2021-02-26T10:21:37.264Z] [ 86%] Built target device-gyro [2021-02-26T10:21:37.264Z] Scanning dependencies of target device-bitfields [2021-02-26T10:21:37.264Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-26T10:21:37.536Z] [ 89%] Linking C executable device-bitfields [2021-02-26T10:21:37.807Z] [ 89%] Built target device-bitfields [2021-02-26T10:21:37.807Z] Scanning dependencies of target template-discovery [2021-02-26T10:21:37.807Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-26T10:21:38.080Z] [ 93%] Linking C executable template-discovery [2021-02-26T10:21:38.353Z] [ 93%] Built target template-discovery [2021-02-26T10:21:38.353Z] Scanning dependencies of target device-file [2021-02-26T10:21:38.353Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-26T10:21:38.625Z] [ 96%] Linking C executable device-file [2021-02-26T10:21:38.897Z] [ 96%] Built target device-file [2021-02-26T10:21:38.897Z] Scanning dependencies of target device-terminal [2021-02-26T10:21:38.897Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-26T10:21:39.168Z] [100%] Linking C executable device-terminal [2021-02-26T10:21:39.440Z] [100%] Built target device-terminal [2021-02-26T10:21:39.440Z] make: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.440Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.440Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.440Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.717Z] [ 72%] Built target csdk [2021-02-26T10:21:39.717Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.717Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.717Z] [ 76%] Built target template [2021-02-26T10:21:39.717Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.717Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.717Z] [ 79%] Built target device-counter [2021-02-26T10:21:39.717Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.717Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.717Z] [ 83%] Built target device-random [2021-02-26T10:21:39.717Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.717Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.717Z] [ 86%] Built target device-gyro [2021-02-26T10:21:39.717Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.717Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.717Z] [ 89%] Built target device-bitfields [2021-02-26T10:21:39.717Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.717Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.717Z] [ 93%] Built target template-discovery [2021-02-26T10:21:39.717Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.988Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.988Z] [ 96%] Built target device-file [2021-02-26T10:21:39.988Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.988Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.988Z] [100%] Built target device-terminal [2021-02-26T10:21:39.988Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:21:39.988Z] Install the project... [2021-02-26T10:21:39.988Z] -- Install configuration: "Release" [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/lib/libcsdk.so [2021-02-26T10:21:39.988Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-02-26T10:21:39.988Z] -- Up-to-date: /usr/local/include [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/edgex [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/edgex/devices.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/devsdk [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/json.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/container.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/component.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/typecode.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/iot.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/time.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/hash.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/logger.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/os [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/data.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/thread.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/os.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/base64.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/defs.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/include/iot/config.h [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-02-26T10:21:39.988Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-02-26T10:21:39.988Z] make: Leaving directory '/tmp/sdk/build/release' [2021-02-26T10:21:42.605Z] Removing intermediate container fced45209939 [2021-02-26T10:21:42.605Z] ---> 0e9aa6ea635e [2021-02-26T10:21:42.605Z] Step 14/21 : FROM ${BASE} [2021-02-26T10:21:42.605Z] ---> b23d30803547 [2021-02-26T10:21:42.605Z] Step 15/21 : LABEL maintainer="IOTech " [2021-02-26T10:21:42.605Z] ---> Running in 755d567060d1 [2021-02-26T10:21:42.605Z] Removing intermediate container 755d567060d1 [2021-02-26T10:21:42.605Z] ---> 07cc40bf9a5d [2021-02-26T10:21:42.605Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-02-26T10:21:42.884Z] ---> Running in fd58e7e19b56 [2021-02-26T10:21:43.862Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-26T10:21:44.834Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-26T10:21:45.105Z] (1/3) Installing curl (7.64.0-r5) [2021-02-26T10:21:45.105Z] (2/3) Installing libuuid (2.33-r0) [2021-02-26T10:21:45.374Z] (3/3) Installing wget (1.20.3-r0) [2021-02-26T10:21:45.374Z] Executing busybox-1.29.3-r10.trigger [2021-02-26T10:21:45.374Z] OK: 281 MiB in 78 packages [2021-02-26T10:21:46.805Z] Removing intermediate container fd58e7e19b56 [2021-02-26T10:21:46.805Z] ---> 492f2e5b2683 [2021-02-26T10:21:46.805Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-02-26T10:21:47.398Z] ---> 3f00d39ff5d4 [2021-02-26T10:21:47.398Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-02-26T10:21:47.994Z] ---> 637be63d0026 [2021-02-26T10:21:47.994Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-02-26T10:21:48.966Z] ---> 517c13361b80 [2021-02-26T10:21:48.966Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-02-26T10:21:49.561Z] ---> 293ad984f177 [2021-02-26T10:21:49.561Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-02-26T10:21:50.535Z] ---> 5f51200d18e0 [2021-02-26T10:21:50.535Z] Successfully built 5f51200d18e0 [2021-02-26T10:21:50.535Z] 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-02-26T10:21:51.353Z] + docker inspect -f . ci-base-image-arm64 [2021-02-26T10:21:51.353Z] . [Pipeline] withDockerContainer [2021-02-26T10:21:51.661Z] prd-ubuntu18.04-docker-arm64-4c-16g-27849 does not seem to be running inside a container [2021-02-26T10:21:51.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/59 -v /w/workspace/device-sdk-c/59:/w/workspace/device-sdk-c/59:rw,z -v /w/workspace/device-sdk-c/59@tmp:/w/workspace/device-sdk-c/59@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-02-26T10:21:53.188Z] $ docker top 10b5876c3f16e88b387fe8cb691467a6505e439ad14c451331e3f5c39d4c17f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-26T10:21:54.214Z] + make test [2021-02-26T10:21:54.214Z] echo "make test" [2021-02-26T10:21:54.214Z] make test [Pipeline] } [2021-02-26T10:21:54.237Z] $ docker stop --time=1 10b5876c3f16e88b387fe8cb691467a6505e439ad14c451331e3f5c39d4c17f4 [2021-02-26T10:21:56.185Z] $ docker rm -f 10b5876c3f16e88b387fe8cb691467a6505e439ad14c451331e3f5c39d4c17f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-26T10:21:57.192Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-26T10:21:57.530Z] + ls -al . [2021-02-26T10:21:57.530Z] total 192 [2021-02-26T10:21:57.530Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 26 10:19 . [2021-02-26T10:21:57.530Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 26 10:19 .. [2021-02-26T10:21:57.530Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 26 10:19 .git [2021-02-26T10:21:57.530Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 26 10:19 .github [2021-02-26T10:21:57.530Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 26 10:19 .gitignore [2021-02-26T10:21:57.530Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 26 10:19 Attribution.txt [2021-02-26T10:21:57.530Z] -rw-rw-r-- 1 jenkins jenkins 6927 Feb 26 10:19 CHANGES [2021-02-26T10:21:57.530Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 26 10:19 Doxyfile [2021-02-26T10:21:57.530Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 26 10:19 Jenkinsfile [2021-02-26T10:21:57.530Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 26 10:19 LICENSE [2021-02-26T10:21:57.530Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 26 10:19 Makefile [2021-02-26T10:21:57.530Z] -rw-rw-r-- 1 jenkins jenkins 2697 Feb 26 10:19 README.md [2021-02-26T10:21:57.530Z] -rw-rw-r-- 1 jenkins jenkins 6654 Feb 26 10:19 README.v2.md [2021-02-26T10:21:57.530Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 26 10:17 VERSION [2021-02-26T10:21:57.530Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 26 10:19 docs [2021-02-26T10:21:57.530Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 26 10:19 include [2021-02-26T10:21:57.530Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 26 10:19 scripts [2021-02-26T10:21:57.530Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 26 10:19 src [Pipeline] isUnix [Pipeline] sh [2021-02-26T10:21:57.897Z] + 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=603e15a22e98ad0ffc0e9ce671b1afa02ea84060 --label arch=arm64 --label version=1.3.2-dev.7 . [2021-02-26T10:21:58.168Z] Sending build context to Docker daemon 2.413MB [2021-02-26T10:21:58.444Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-02-26T10:21:58.444Z] Step 2/15 : FROM ${BASE} [2021-02-26T10:21:58.444Z] ---> 5f51200d18e0 [2021-02-26T10:21:58.444Z] Step 3/15 : LABEL maintainer="IOTech " [2021-02-26T10:21:58.444Z] ---> Running in 5bea107777c8 [2021-02-26T10:21:59.039Z] Removing intermediate container 5bea107777c8 [2021-02-26T10:21:59.039Z] ---> ca8a5b40295b [2021-02-26T10:21:59.039Z] 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-02-26T10:21:59.039Z] ---> Running in ffbb66cc9d2b [2021-02-26T10:22:00.474Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-26T10:22:01.064Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-26T10:22:01.654Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-26T10:22:01.654Z] (2/6) Installing libblkid (2.33-r0) [2021-02-26T10:22:01.654Z] (3/6) Installing libfdisk (2.33-r0) [2021-02-26T10:22:01.924Z] (4/6) Installing libmount (2.33-r0) [2021-02-26T10:22:01.924Z] (5/6) Installing libsmartcols (2.33-r0) [2021-02-26T10:22:01.924Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-02-26T10:22:02.518Z] Executing busybox-1.29.3-r10.trigger [2021-02-26T10:22:02.518Z] OK: 286 MiB in 84 packages [2021-02-26T10:22:03.944Z] Removing intermediate container ffbb66cc9d2b [2021-02-26T10:22:03.944Z] ---> 2b086a28260a [2021-02-26T10:22:03.944Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-02-26T10:22:04.216Z] ---> 1f132ce19095 [2021-02-26T10:22:04.216Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-02-26T10:22:05.192Z] ---> 80d2cfeba5bd [2021-02-26T10:22:05.192Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-02-26T10:22:06.166Z] ---> 6257afad3b50 [2021-02-26T10:22:06.166Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-02-26T10:22:06.757Z] ---> 1273dfe020e8 [2021-02-26T10:22:06.757Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-02-26T10:22:07.354Z] ---> 30251e0045c5 [2021-02-26T10:22:07.354Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-02-26T10:22:07.950Z] ---> e128ca5e8cd3 [2021-02-26T10:22:07.950Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-02-26T10:22:08.224Z] ---> Running in 3e6e1320a97b [2021-02-26T10:22:08.822Z] Removing intermediate container 3e6e1320a97b [2021-02-26T10:22:08.822Z] ---> 7200ed9f8daa [2021-02-26T10:22:08.822Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-02-26T10:22:08.822Z] ---> Running in 119dd255187a [2021-02-26T10:22:09.413Z] Removing intermediate container 119dd255187a [2021-02-26T10:22:09.413Z] ---> d832d4fcd128 [2021-02-26T10:22:09.413Z] Step 13/15 : LABEL arch=arm64 [2021-02-26T10:22:09.413Z] ---> Running in 4a3375797896 [2021-02-26T10:22:10.006Z] Removing intermediate container 4a3375797896 [2021-02-26T10:22:10.006Z] ---> a70d985d009f [2021-02-26T10:22:10.006Z] Step 14/15 : LABEL git_sha=603e15a22e98ad0ffc0e9ce671b1afa02ea84060 [2021-02-26T10:22:10.006Z] ---> Running in b8a3ac3459a8 [2021-02-26T10:22:10.596Z] Removing intermediate container b8a3ac3459a8 [2021-02-26T10:22:10.596Z] ---> d7afdc957e10 [2021-02-26T10:22:10.596Z] Step 15/15 : LABEL version=1.3.2-dev.7 [2021-02-26T10:22:10.596Z] ---> Running in 3a96d852b198 [2021-02-26T10:22:10.870Z] Removing intermediate container 3a96d852b198 [2021-02-26T10:22:10.870Z] ---> ff578805b5e9 [2021-02-26T10:22:10.870Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-02-26T10:22:11.140Z] Successfully built ff578805b5e9 [2021-02-26T10:22:11.140Z] 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] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2021-02-26T10:22:13.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-26T10:22:13.285Z] . [Pipeline] withDockerContainer [2021-02-26T10:22:13.402Z] prd-centos7-docker-4c-2g-27848 does not seem to be running inside a container [2021-02-26T10:22:13.463Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-26T10:22:14.259Z] $ docker top 586de76a1a2699a29c351cc81cb1a61479e86ef7efe29c58b91b7d8be8c3750a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-26T10:22:14.547Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-26T10:22:14.547Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-26T10:22:14.769Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-26T10:22:14.773Z] $ docker exec 586de76a1a2699a29c351cc81cb1a61479e86ef7efe29c58b91b7d8be8c3750a ssh-agent [2021-02-26T10:22:14.936Z] SSH_AUTH_SOCK=/tmp/ssh-vUqiS8rqqAKJ/agent.13 [2021-02-26T10:22:14.936Z] SSH_AGENT_PID=18 [2021-02-26T10:22:14.945Z] Running ssh-add (command line suppressed) [2021-02-26T10:22:15.072Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_9068842412541922794.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_9068842412541922794.key) [2021-02-26T10:22:15.127Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-26T10:22:15.458Z] + git semver tag [2021-02-26T10:22:15.458Z] # -> Open(): unable to determine branch for HEAD [2021-02-26T10:22:15.458Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2021-02-26T10:22:15.458Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2021-02-26T10:22:15.458Z] # $SEMVER_REMOTE_NAME = origin [2021-02-26T10:22:15.458Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-26T10:22:15.458Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-26T10:22:15.458Z] # $SEMVER_BRANCH = master [2021-02-26T10:22:15.458Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2021-02-26T10:22:15.458Z] # 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 HEAD [2021-02-26T10:22:15.458Z] # -> Force: false [2021-02-26T10:22:15.458Z] # 508de6ea2474ea3d5ec19d7b0fc47fc3e784323d refs/tags/v1.3.2-dev.7 [Pipeline] } [2021-02-26T10:22:15.472Z] $ docker exec --env ******** --env ******** 586de76a1a2699a29c351cc81cb1a61479e86ef7efe29c58b91b7d8be8c3750a ssh-agent -k [2021-02-26T10:22:15.589Z] unset SSH_AUTH_SOCK; [2021-02-26T10:22:15.589Z] unset SSH_AGENT_PID; [2021-02-26T10:22:15.589Z] echo Agent pid 18 killed; [2021-02-26T10:22:15.638Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-26T10:22:16.082Z] + git semver [Pipeline] } [2021-02-26T10:22:16.100Z] $ docker stop --time=1 586de76a1a2699a29c351cc81cb1a61479e86ef7efe29c58b91b7d8be8c3750a [2021-02-26T10:22:17.426Z] $ docker rm -f 586de76a1a2699a29c351cc81cb1a61479e86ef7efe29c58b91b7d8be8c3750a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-26T10:22:18.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-26T10:22:18.037Z] [2021-02-26T10:22:18.037Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-26T10:22:18.383Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-26T10:22:18.383Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-26T10:22:18.383Z] ab5ef0e58194: Pulling fs layer [2021-02-26T10:22:18.383Z] 9712f1f96733: Pulling fs layer [2021-02-26T10:22:18.383Z] 63f879dbbcfc: Pulling fs layer [2021-02-26T10:22:18.383Z] 0d9ebad4ef96: Pulling fs layer [2021-02-26T10:22:18.383Z] e9a5061849ea: Pulling fs layer [2021-02-26T10:22:18.383Z] d747dcd14b5f: Pulling fs layer [2021-02-26T10:22:18.383Z] 2de7ff778b66: Pulling fs layer [2021-02-26T10:22:18.383Z] e9a5061849ea: Waiting [2021-02-26T10:22:18.383Z] d747dcd14b5f: Waiting [2021-02-26T10:22:18.383Z] 2de7ff778b66: Waiting [2021-02-26T10:22:18.383Z] 0d9ebad4ef96: Waiting [2021-02-26T10:22:18.383Z] 9712f1f96733: Verifying Checksum [2021-02-26T10:22:18.383Z] 9712f1f96733: Download complete [2021-02-26T10:22:20.937Z] 63f879dbbcfc: Verifying Checksum [2021-02-26T10:22:20.937Z] 63f879dbbcfc: Download complete [2021-02-26T10:22:20.937Z] e9a5061849ea: Verifying Checksum [2021-02-26T10:22:20.937Z] e9a5061849ea: Download complete [2021-02-26T10:22:20.937Z] d747dcd14b5f: Verifying Checksum [2021-02-26T10:22:20.937Z] d747dcd14b5f: Download complete [2021-02-26T10:22:21.199Z] 2de7ff778b66: Verifying Checksum [2021-02-26T10:22:21.199Z] 2de7ff778b66: Download complete [2021-02-26T10:22:21.773Z] 0d9ebad4ef96: Verifying Checksum [2021-02-26T10:22:21.773Z] 0d9ebad4ef96: Download complete [2021-02-26T10:22:21.773Z] ab5ef0e58194: Verifying Checksum [2021-02-26T10:22:21.773Z] ab5ef0e58194: Download complete [2021-02-26T10:22:26.010Z] ab5ef0e58194: Pull complete [2021-02-26T10:22:26.010Z] 9712f1f96733: Pull complete [2021-02-26T10:22:28.573Z] 63f879dbbcfc: Pull complete [2021-02-26T10:22:35.253Z] 0d9ebad4ef96: Pull complete [2021-02-26T10:22:36.647Z] e9a5061849ea: Pull complete [2021-02-26T10:22:36.647Z] d747dcd14b5f: Pull complete [2021-02-26T10:22:40.866Z] 2de7ff778b66: Pull complete [2021-02-26T10:22:40.866Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-26T10:22:40.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-26T10:22:40.866Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-26T10:22:41.038Z] prd-centos7-docker-4c-2g-27848 does not seem to be running inside a container [2021-02-26T10:22:41.086Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-02-26T10:22:43.570Z] $ docker top 1308d46860f8dcb0592082709d272803e2eaedd0ac34873c2c7305450bb42e07 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-26T10:22:43.922Z] provisioning config files... [2021-02-26T10:22:43.933Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config1774741224447913947tmp [2021-02-26T10:22:43.950Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config1161995955043535224tmp [2021-02-26T10:22:43.969Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config4672606753063807711tmp [Pipeline] { [Pipeline] echo [2021-02-26T10:22:44.028Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T10:22:44.394Z] ---> sigul-configuration.sh [2021-02-26T10:22:44.394Z] gpg: directory `/root/.gnupg' created [2021-02-26T10:22:44.394Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-26T10:22:44.394Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-26T10:22:44.394Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-26T10:22:44.394Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-26T10:22:44.394Z] gpg: CAST5 encrypted data [2021-02-26T10:22:44.662Z] gpg: encrypted with 1 passphrase [2021-02-26T10:22:44.662Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-26T10:22:45.001Z] + mkdir /home/jenkins [2021-02-26T10:22:45.001Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-26T10:22:45.300Z] + 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-02-26T10:22:45.310Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T10:22:45.607Z] ---> sigul-install.sh [2021-02-26T10:22:52.204Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-26T10:22:52.504Z] + git tag --list [2021-02-26T10:22:52.504Z] 0.7.0 [2021-02-26T10:22:52.504Z] 0.7.1 [2021-02-26T10:22:52.504Z] 1.0.0 [2021-02-26T10:22:52.504Z] v1.0.1 [2021-02-26T10:22:52.504Z] v1.0.2 [2021-02-26T10:22:52.504Z] v1.0.3 [2021-02-26T10:22:52.504Z] v1.1.0 [2021-02-26T10:22:52.504Z] v1.1.1 [2021-02-26T10:22:52.504Z] v1.2.0 [2021-02-26T10:22:52.504Z] v1.2.1 [2021-02-26T10:22:52.504Z] v1.2.2 [2021-02-26T10:22:52.504Z] v1.3.0 [2021-02-26T10:22:52.504Z] v1.3.1 [2021-02-26T10:22:52.504Z] v1.3.1-dev.1 [2021-02-26T10:22:52.504Z] v1.3.1-dev.2 [2021-02-26T10:22:52.504Z] v1.3.1-dev.3 [2021-02-26T10:22:52.504Z] v1.3.2-dev.1 [2021-02-26T10:22:52.504Z] v1.3.2-dev.2 [2021-02-26T10:22:52.504Z] v1.3.2-dev.3 [2021-02-26T10:22:52.504Z] v1.3.2-dev.4 [2021-02-26T10:22:52.504Z] v1.3.2-dev.5 [2021-02-26T10:22:52.504Z] v1.3.2-dev.6 [2021-02-26T10:22:52.504Z] v1.3.2-dev.7 [Pipeline] sh [2021-02-26T10:22:52.804Z] + lftools sign git-tag v1.3.2-dev.7 [2021-02-26T10:22:54.196Z] Signing Git tag with Sigul... [2021-02-26T10:22:54.196Z] Signing v1.3.2-dev.7 [Pipeline] echo [2021-02-26T10:22:55.152Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T10:22:55.449Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-26T10:22:55.459Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-26T10:22:55.551Z] $ docker stop --time=1 1308d46860f8dcb0592082709d272803e2eaedd0ac34873c2c7305450bb42e07 [2021-02-26T10:22:57.636Z] $ docker rm -f 1308d46860f8dcb0592082709d272803e2eaedd0ac34873c2c7305450bb42e07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-26T10:22:58.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-26T10:22:58.450Z] . [Pipeline] withDockerContainer [2021-02-26T10:22:58.545Z] prd-centos7-docker-4c-2g-27848 does not seem to be running inside a container [2021-02-26T10:22:58.589Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-26T10:22:59.258Z] $ docker top 46d154659e607f096fcf8ee94361634849671c5d7f49fcbd96d8e128237620a9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-26T10:22:59.577Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-26T10:22:59.577Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-26T10:22:59.780Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-26T10:22:59.783Z] $ docker exec 46d154659e607f096fcf8ee94361634849671c5d7f49fcbd96d8e128237620a9 ssh-agent [2021-02-26T10:22:59.945Z] SSH_AUTH_SOCK=/tmp/ssh-CKzr1Pk50cKI/agent.11 [2021-02-26T10:22:59.945Z] SSH_AGENT_PID=16 [2021-02-26T10:22:59.951Z] Running ssh-add (command line suppressed) [2021-02-26T10:23:00.075Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8422982481906546491.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8422982481906546491.key) [2021-02-26T10:23:00.125Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-26T10:23:00.490Z] + git semver bump pre [2021-02-26T10:23:00.490Z] # -> Open(): unable to determine branch for HEAD [2021-02-26T10:23:00.490Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2021-02-26T10:23:00.490Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2021-02-26T10:23:00.490Z] # $SEMVER_REMOTE_NAME = origin [2021-02-26T10:23:00.490Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-26T10:23:00.490Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-26T10:23:00.490Z] # $SEMVER_BRANCH = master [2021-02-26T10:23:00.490Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2021-02-26T10:23:00.490Z] 1.3.2-dev.8 [Pipeline] } [2021-02-26T10:23:00.502Z] $ docker exec --env ******** --env ******** 46d154659e607f096fcf8ee94361634849671c5d7f49fcbd96d8e128237620a9 ssh-agent -k [2021-02-26T10:23:00.628Z] unset SSH_AUTH_SOCK; [2021-02-26T10:23:00.629Z] unset SSH_AGENT_PID; [2021-02-26T10:23:00.629Z] echo Agent pid 16 killed; [2021-02-26T10:23:00.684Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-26T10:23:01.180Z] + git semver [Pipeline] } [2021-02-26T10:23:01.196Z] $ docker stop --time=1 46d154659e607f096fcf8ee94361634849671c5d7f49fcbd96d8e128237620a9 [2021-02-26T10:23:02.562Z] $ docker rm -f 46d154659e607f096fcf8ee94361634849671c5d7f49fcbd96d8e128237620a9 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-26T10:23:03.103Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-26T10:23:03.103Z] . [Pipeline] withDockerContainer [2021-02-26T10:23:03.199Z] prd-centos7-docker-4c-2g-27848 does not seem to be running inside a container [2021-02-26T10:23:03.246Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-26T10:23:03.867Z] $ docker top cd72073ffe5de46b8b04fa0020959d7c0c3b9387777c5e4755b888a2c71f26f7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-26T10:23:04.426Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-26T10:23:04.426Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-26T10:23:04.601Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-26T10:23:04.604Z] $ docker exec cd72073ffe5de46b8b04fa0020959d7c0c3b9387777c5e4755b888a2c71f26f7 ssh-agent [2021-02-26T10:23:04.765Z] SSH_AUTH_SOCK=/tmp/ssh-DvI2LiHeXt2P/agent.11 [2021-02-26T10:23:04.765Z] SSH_AGENT_PID=17 [2021-02-26T10:23:04.773Z] Running ssh-add (command line suppressed) [2021-02-26T10:23:04.887Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5319548019230175472.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5319548019230175472.key) [2021-02-26T10:23:04.937Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-26T10:23:05.275Z] + git semver push [2021-02-26T10:23:05.275Z] # -> Open(): unable to determine branch for HEAD [2021-02-26T10:23:05.275Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2021-02-26T10:23:05.275Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2021-02-26T10:23:05.275Z] # $SEMVER_REMOTE_NAME = origin [2021-02-26T10:23:05.275Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-26T10:23:05.275Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-26T10:23:05.275Z] # $SEMVER_BRANCH = master [2021-02-26T10:23:05.275Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2021-02-26T10:23:10.628Z] $ docker exec --env ******** --env ******** cd72073ffe5de46b8b04fa0020959d7c0c3b9387777c5e4755b888a2c71f26f7 ssh-agent -k [2021-02-26T10:23:10.805Z] unset SSH_AUTH_SOCK; [2021-02-26T10:23:10.805Z] unset SSH_AGENT_PID; [2021-02-26T10:23:10.805Z] echo Agent pid 17 killed; [2021-02-26T10:23:10.872Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-26T10:23:11.381Z] + git semver [Pipeline] } [2021-02-26T10:23:11.406Z] $ docker stop --time=1 cd72073ffe5de46b8b04fa0020959d7c0c3b9387777c5e4755b888a2c71f26f7 [2021-02-26T10:23:12.749Z] $ docker rm -f cd72073ffe5de46b8b04fa0020959d7c0c3b9387777c5e4755b888a2c71f26f7 [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-02-26T10:23:13.900Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T10:23:14.207Z] ---> package-listing.sh [2021-02-26T10:23:14.207Z] ++ facter osfamily [2021-02-26T10:23:14.207Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-26T10:23:14.207Z] + OS_FAMILY=redhat [2021-02-26T10:23:14.207Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_master [2021-02-26T10:23:14.207Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-26T10:23:14.207Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-26T10:23:14.207Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-26T10:23:14.207Z] + PACKAGES=/tmp/packages_start.txt [2021-02-26T10:23:14.207Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2021-02-26T10:23:14.207Z] + PACKAGES=/tmp/packages_end.txt [2021-02-26T10:23:14.207Z] + case "${OS_FAMILY}" in [2021-02-26T10:23:14.207Z] + rpm -qa [2021-02-26T10:23:14.207Z] + sort [2021-02-26T10:23:19.513Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-26T10:23:19.513Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-26T10:23:19.513Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-26T10:23:19.513Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2021-02-26T10:23:19.513Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [2021-02-26T10:23:19.513Z] + 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-02-26T10:23:19.527Z] 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-02-26T10:23:19.821Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-26T10:23:20.128Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-26T10:23:20.128Z] [2021-02-26T10:23:20.128Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-26T10:23:20.473Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-26T10:23:20.473Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-26T10:23:20.473Z] df20fa9351a1: Pulling fs layer [2021-02-26T10:23:20.473Z] 36b3adc4ff6f: Pulling fs layer [2021-02-26T10:23:20.473Z] 8ad3a11d3b57: Pulling fs layer [2021-02-26T10:23:20.473Z] 46f8f816bc3b: Pulling fs layer [2021-02-26T10:23:20.473Z] 93b61091891f: Pulling fs layer [2021-02-26T10:23:20.473Z] 93b9cdb0e59b: Pulling fs layer [2021-02-26T10:23:20.473Z] 5e14af77c1be: Pulling fs layer [2021-02-26T10:23:20.473Z] 01666e4c0597: Pulling fs layer [2021-02-26T10:23:20.473Z] aa168da1d23b: Pulling fs layer [2021-02-26T10:23:20.473Z] 93b9cdb0e59b: Waiting [2021-02-26T10:23:20.473Z] 01666e4c0597: Waiting [2021-02-26T10:23:20.473Z] 5e14af77c1be: Waiting [2021-02-26T10:23:20.473Z] aa168da1d23b: Waiting [2021-02-26T10:23:20.473Z] 93b61091891f: Waiting [2021-02-26T10:23:20.473Z] 46f8f816bc3b: Waiting [2021-02-26T10:23:20.473Z] 36b3adc4ff6f: Download complete [2021-02-26T10:23:20.737Z] 46f8f816bc3b: Verifying Checksum [2021-02-26T10:23:20.737Z] 46f8f816bc3b: Download complete [2021-02-26T10:23:20.737Z] df20fa9351a1: Verifying Checksum [2021-02-26T10:23:20.737Z] df20fa9351a1: Download complete [2021-02-26T10:23:20.737Z] 93b9cdb0e59b: Verifying Checksum [2021-02-26T10:23:20.737Z] 93b9cdb0e59b: Download complete [2021-02-26T10:23:20.737Z] 5e14af77c1be: Verifying Checksum [2021-02-26T10:23:20.737Z] 5e14af77c1be: Download complete [2021-02-26T10:23:20.737Z] 93b61091891f: Verifying Checksum [2021-02-26T10:23:20.737Z] 93b61091891f: Download complete [2021-02-26T10:23:21.000Z] 8ad3a11d3b57: Verifying Checksum [2021-02-26T10:23:21.000Z] 8ad3a11d3b57: Download complete [2021-02-26T10:23:21.000Z] 01666e4c0597: Verifying Checksum [2021-02-26T10:23:21.000Z] 01666e4c0597: Download complete [2021-02-26T10:23:21.000Z] df20fa9351a1: Pull complete [2021-02-26T10:23:21.263Z] 36b3adc4ff6f: Pull complete [2021-02-26T10:23:23.191Z] 8ad3a11d3b57: Pull complete [2021-02-26T10:23:23.191Z] 46f8f816bc3b: Pull complete [2021-02-26T10:23:23.191Z] aa168da1d23b: Verifying Checksum [2021-02-26T10:23:23.191Z] aa168da1d23b: Download complete [2021-02-26T10:23:23.191Z] 93b61091891f: Pull complete [2021-02-26T10:23:23.453Z] 93b9cdb0e59b: Pull complete [2021-02-26T10:23:23.453Z] 5e14af77c1be: Pull complete [2021-02-26T10:23:23.719Z] 01666e4c0597: Pull complete [2021-02-26T10:23:30.343Z] aa168da1d23b: Pull complete [2021-02-26T10:23:30.343Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-26T10:23:30.343Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-26T10:23:30.343Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-26T10:23:30.470Z] prd-centos7-docker-4c-2g-27848 does not seem to be running inside a container [2021-02-26T10:23:30.516Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-26T10:23:33.166Z] $ docker top 9a2f87887048eb0057ca4e99a94183010edd18c07426d386286faae1b605849d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-26T10:23:33.696Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-26T10:23:33.994Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-26T10:23:34.293Z] + ls /var/log/sa-host [2021-02-26T10:23:34.293Z] + sadf -c /var/log/sa-host/sa23 [2021-02-26T10:23:34.293Z] file_magic: OK [2021-02-26T10:23:34.293Z] HZ: Using current value: 100 [2021-02-26T10:23:34.293Z] file_header: OK [2021-02-26T10:23:34.293Z] 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-02-26T10:23:34.293Z] Statistics: [2021-02-26T10:23:34.293Z] Hnuu...uuuununununu... [2021-02-26T10:23:34.293Z] File successfully converted to sysstat format version 12.2.1 [2021-02-26T10:23:34.293Z] + sadf -c /var/log/sa-host/sa26 [2021-02-26T10:23:34.293Z] file_magic: OK [2021-02-26T10:23:34.293Z] HZ: Using current value: 100 [2021-02-26T10:23:34.293Z] file_header: OK [2021-02-26T10:23:34.293Z] 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-02-26T10:23:34.293Z] Statistics: [2021-02-26T10:23:34.293Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-26T10:23:34.293Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-26T10:23:35.064Z] provisioning config files... [2021-02-26T10:23:35.080Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config3236597732606367940tmp [Pipeline] { [Pipeline] echo [2021-02-26T10:23:35.155Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T10:23:35.456Z] ---> create-netrc.sh [Pipeline] } [2021-02-26T10:23:35.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-26T10:23:35.564Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T10:23:35.863Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-26T10:23:35.875Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T10:23:36.174Z] ---> sudo-logs.sh [2021-02-26T10:23:36.174Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-26T10:23:36.237Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T10:23:36.535Z] ---> job-cost.sh [2021-02-26T10:23:36.535Z] lf-activate-venv: SKIPPING [2021-02-26T10:23:36.535Z] INFO: No Stack... [2021-02-26T10:23:37.485Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-26T10:23:37.746Z] INFO: Archiving Costs [Pipeline] echo [2021-02-26T10:23:37.759Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T10:23:38.052Z] ---> logs-deploy.sh [2021-02-26T10:23:38.052Z] lf-activate-venv: SKIPPING [2021-02-26T10:23:38.052Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/59 [2021-02-26T10:23:38.052Z] INFO: archiving workspace using pattern(s): [2021-02-26T10:23:39.443Z] Archives upload complete. [2021-02-26T10:23:39.443Z] INFO: archiving logs to Nexus