Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6cbfd1af5056d6411228be46727e6a6bc359e529 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-26074 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 6cbfd1af5056d6411228be46727e6a6bc359e529 (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 6cbfd1af5056d6411228be46727e6a6bc359e529 # timeout=10 Commit message: "fix: remove various compatibility/legacy code (#320)" > git rev-list --no-walk a549a37f32250f0c70aed68e5cdfc8413de8dd00 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-11T08:47:58.438Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-11T08:47:58.691Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-11T08:47:58.787Z] ========================================================= [2021-02-11T08:47:58.787Z] EdgeX Global Pipelines Version Info [2021-02-11T08:47:58.787Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-11T08:48:00.283Z] ------------------- [2021-02-11T08:48:00.283Z] stable info: [2021-02-11T08:48:00.283Z] ------------------- [2021-02-11T08:48:00.283Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-11T08:48:00.283Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-11T08:48:00.283Z] Message: update stable to v1.0.179 [2021-02-11T08:48:01.233Z] ------------------- [2021-02-11T08:48:01.233Z] experimental info: [2021-02-11T08:48:01.233Z] ------------------- [2021-02-11T08:48:01.233Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-11T08:48:01.233Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-11T08:48:01.233Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-11T08:48:01.505Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-02-11T08:48:01.618Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-02-11T08:48:01.722Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-11T08:48:01.858Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-11T08:48:01.946Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-11T08:48:02.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-02-11T08:48:02.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-02-11T08:48:02.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-02-11T08:48:02.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-11T08:48:02.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-02-11T08:48:02.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-11T08:48:02.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-11T08:48:02.805Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-11T08:48:02.907Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-11T08:48:02.995Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-11T08:48:03.107Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-11T08:48:03.209Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-11T08:48:03.334Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-11T08:48:03.431Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-11T08:48:03.527Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-11T08:48:03.617Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-11T08:48:03.740Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6cbfd1af5056d6411228be46727e6a6bc359e529 [Pipeline] echo [2021-02-11T08:48:03.831Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6cbfd1a [Pipeline] echo [2021-02-11T08:48:03.937Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-11T08:48:04.115Z] provisioning config files... [2021-02-11T08:48:04.158Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config5205987732351098130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-11T08:48:04.542Z] ---> docker-login.sh [2021-02-11T08:48:04.542Z] nexus3.edgexfoundry.org:10001 [2021-02-11T08:48:04.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-11T08:48:05.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-11T08:48:05.078Z] Configure a credential helper to remove this warning. See [2021-02-11T08:48:05.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-11T08:48:05.078Z] [2021-02-11T08:48:05.078Z] Login Succeeded [2021-02-11T08:48:05.078Z] nexus3.edgexfoundry.org:10002 [2021-02-11T08:48:05.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-11T08:48:05.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-11T08:48:05.351Z] Configure a credential helper to remove this warning. See [2021-02-11T08:48:05.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-11T08:48:05.351Z] [2021-02-11T08:48:05.351Z] Login Succeeded [2021-02-11T08:48:05.351Z] nexus3.edgexfoundry.org:10003 [2021-02-11T08:48:05.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-11T08:48:05.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-11T08:48:05.351Z] Configure a credential helper to remove this warning. See [2021-02-11T08:48:05.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-11T08:48:05.351Z] [2021-02-11T08:48:05.351Z] Login Succeeded [2021-02-11T08:48:05.351Z] nexus3.edgexfoundry.org:10004 [2021-02-11T08:48:05.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-11T08:48:05.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-11T08:48:05.613Z] Configure a credential helper to remove this warning. See [2021-02-11T08:48:05.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-11T08:48:05.613Z] [2021-02-11T08:48:05.613Z] Login Succeeded [2021-02-11T08:48:05.613Z] docker.io [2021-02-11T08:48:05.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-11T08:48:06.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-11T08:48:06.189Z] Configure a credential helper to remove this warning. See [2021-02-11T08:48:06.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-11T08:48:06.189Z] [2021-02-11T08:48:06.189Z] Login Succeeded [2021-02-11T08:48:06.189Z] ---> docker-login.sh ends [Pipeline] } [2021-02-11T08:48:06.204Z] 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-11T08:48:08.033Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-11T08:48:08.033Z] [2021-02-11T08:48:08.033Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-11T08:48:08.399Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-11T08:48:08.399Z] latest: Pulling from edgex-devops/git-semver [2021-02-11T08:48:08.399Z] 31603596830f: Pulling fs layer [2021-02-11T08:48:08.399Z] 2a8b12db71e7: Pulling fs layer [2021-02-11T08:48:08.399Z] 6ca5941a6612: Pulling fs layer [2021-02-11T08:48:08.399Z] ecc8261a40a4: Pulling fs layer [2021-02-11T08:48:08.399Z] ecc8261a40a4: Waiting [2021-02-11T08:48:08.399Z] 2a8b12db71e7: Verifying Checksum [2021-02-11T08:48:08.399Z] 2a8b12db71e7: Download complete [2021-02-11T08:48:08.661Z] 31603596830f: Verifying Checksum [2021-02-11T08:48:08.661Z] 31603596830f: Download complete [2021-02-11T08:48:08.661Z] 6ca5941a6612: Verifying Checksum [2021-02-11T08:48:08.661Z] 6ca5941a6612: Download complete [2021-02-11T08:48:08.661Z] ecc8261a40a4: Verifying Checksum [2021-02-11T08:48:08.661Z] ecc8261a40a4: Download complete [2021-02-11T08:48:09.239Z] 31603596830f: Pull complete [2021-02-11T08:48:09.239Z] 2a8b12db71e7: Pull complete [2021-02-11T08:48:10.199Z] 6ca5941a6612: Pull complete [2021-02-11T08:48:10.461Z] ecc8261a40a4: Pull complete [2021-02-11T08:48:10.461Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-11T08:48:10.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-11T08:48:10.461Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-11T08:48:10.582Z] prd-centos7-docker-4c-2g-26074 does not seem to be running inside a container [2021-02-11T08:48:10.630Z] $ 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-11T08:48:13.067Z] $ docker top b37c24a473a556e9c28eac81e3febc5d08c7cf5d3741393d0b5eb408a89b87eb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-11T08:48:13.387Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-11T08:48:13.387Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-11T08:48:13.606Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-11T08:48:13.609Z] $ docker exec b37c24a473a556e9c28eac81e3febc5d08c7cf5d3741393d0b5eb408a89b87eb ssh-agent [2021-02-11T08:48:13.775Z] SSH_AUTH_SOCK=/tmp/ssh-ycImKyUTSBsl/agent.11 [2021-02-11T08:48:13.775Z] SSH_AGENT_PID=16 [2021-02-11T08:48:13.786Z] Running ssh-add (command line suppressed) [2021-02-11T08:48:13.931Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5274150766726068984.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5274150766726068984.key) [2021-02-11T08:48:13.984Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-11T08:48:14.314Z] + git tag --points-at HEAD [Pipeline] } [2021-02-11T08:48:14.489Z] $ docker exec --env ******** --env ******** b37c24a473a556e9c28eac81e3febc5d08c7cf5d3741393d0b5eb408a89b87eb ssh-agent -k [2021-02-11T08:48:14.657Z] unset SSH_AUTH_SOCK; [2021-02-11T08:48:14.657Z] unset SSH_AGENT_PID; [2021-02-11T08:48:14.658Z] echo Agent pid 16 killed; [2021-02-11T08:48:14.711Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-11T08:48:14.845Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-11T08:48:14.845Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-11T08:48:15.028Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-11T08:48:15.031Z] $ docker exec b37c24a473a556e9c28eac81e3febc5d08c7cf5d3741393d0b5eb408a89b87eb ssh-agent [2021-02-11T08:48:15.200Z] SSH_AUTH_SOCK=/tmp/ssh-IGsL73Bpn8lM/agent.46 [2021-02-11T08:48:15.200Z] SSH_AGENT_PID=51 [2021-02-11T08:48:15.206Z] Running ssh-add (command line suppressed) [2021-02-11T08:48:15.327Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4712542050137566893.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4712542050137566893.key) [2021-02-11T08:48:15.381Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-11T08:48:15.709Z] + git semver init [2021-02-11T08:48:15.709Z] # -> Open(): unable to determine branch for HEAD [2021-02-11T08:48:15.709Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2021-02-11T08:48:15.709Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2021-02-11T08:48:15.709Z] # $SEMVER_REMOTE_NAME = origin [2021-02-11T08:48:15.709Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-11T08:48:15.709Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-11T08:48:15.709Z] # $SEMVER_BRANCH = master [2021-02-11T08:48:15.709Z] # $SEMVER_TEMP = /tmp/semver-865677972 [2021-02-11T08:48:15.709Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-02-11T08:48:16.288Z] # '/tmp/semver-865677972' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' [2021-02-11T08:48:16.288Z] # -> Force: false [2021-02-11T08:48:16.288Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2021-02-11T08:48:16.300Z] $ docker exec --env ******** --env ******** b37c24a473a556e9c28eac81e3febc5d08c7cf5d3741393d0b5eb408a89b87eb ssh-agent -k [2021-02-11T08:48:16.414Z] unset SSH_AUTH_SOCK; [2021-02-11T08:48:16.414Z] unset SSH_AGENT_PID; [2021-02-11T08:48:16.414Z] echo Agent pid 51 killed; [2021-02-11T08:48:16.468Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-11T08:48:16.928Z] + git semver [Pipeline] } [2021-02-11T08:48:16.944Z] $ docker stop --time=1 b37c24a473a556e9c28eac81e3febc5d08c7cf5d3741393d0b5eb408a89b87eb [2021-02-11T08:48:18.381Z] $ docker rm -f b37c24a473a556e9c28eac81e3febc5d08c7cf5d3741393d0b5eb408a89b87eb [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-11T08:48:18.875Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-11T08:48:19.330Z] Stashed 1 file(s) [Pipeline] echo [2021-02-11T08:48:19.334Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.2 [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-11T08:48:34.705Z] Still waiting to schedule task [2021-02-11T08:48:34.705Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26074’ [2021-02-11T08:48:34.707Z] Still waiting to schedule task [2021-02-11T08:48:34.708Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-11T08:50:29.679Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-26075 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2021-02-11T08:50:29.739Z] Running in /w/workspace/device-sdk-c/54 [Pipeline] { [Pipeline] checkout [2021-02-11T08:50:34.784Z] using credential edgex-jenkins-ssh [2021-02-11T08:50:34.851Z] Cloning the remote Git repository [2021-02-11T08:50:34.921Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-02-11T08:50:35.048Z] > git init /w/workspace/device-sdk-c/54 # timeout=10 [2021-02-11T08:50:35.123Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-11T08:50:35.124Z] > git --version # timeout=10 [2021-02-11T08:50:35.145Z] > git --version # 'git version 2.17.1' [2021-02-11T08:50:35.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T08:50:35.251Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-11T08:50:36.977Z] Checking out Revision 6cbfd1af5056d6411228be46727e6a6bc359e529 (master) [2021-02-11T08:50:36.357Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-11T08:50:36.381Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-11T08:50:36.413Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-11T08:50:36.457Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-11T08:50:36.458Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T08:50:36.473Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-11T08:50:37.000Z] > git config core.sparsecheckout # timeout=10 [2021-02-11T08:50:37.031Z] > git checkout -f 6cbfd1af5056d6411228be46727e6a6bc359e529 # timeout=10 [2021-02-11T08:50:41.526Z] Commit message: "fix: remove various compatibility/legacy code (#320)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-11T08:50:43.258Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-11T08:50:43.669Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-11T08:50:44.022Z] + sudo service docker restart [2021-02-11T08:50:44.022Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-11T08:50:46.079Z] provisioning config files... [2021-02-11T08:50:46.127Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/54@tmp/config5245883721062736947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-11T08:50:46.540Z] ---> docker-login.sh [2021-02-11T08:50:46.540Z] nexus3.edgexfoundry.org:10001 [2021-02-11T08:50:47.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-11T08:50:47.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-11T08:50:47.819Z] Configure a credential helper to remove this warning. See [2021-02-11T08:50:47.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-11T08:50:47.819Z] [2021-02-11T08:50:47.819Z] Login Succeeded [2021-02-11T08:50:47.819Z] nexus3.edgexfoundry.org:10002 [2021-02-11T08:50:48.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-11T08:50:48.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-11T08:50:48.419Z] Configure a credential helper to remove this warning. See [2021-02-11T08:50:48.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-11T08:50:48.419Z] [2021-02-11T08:50:48.419Z] Login Succeeded [2021-02-11T08:50:48.419Z] nexus3.edgexfoundry.org:10003 [2021-02-11T08:50:49.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-11T08:50:49.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-11T08:50:49.023Z] Configure a credential helper to remove this warning. See [2021-02-11T08:50:49.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-11T08:50:49.023Z] [2021-02-11T08:50:49.023Z] Login Succeeded [2021-02-11T08:50:49.023Z] nexus3.edgexfoundry.org:10004 [2021-02-11T08:50:49.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-11T08:50:49.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-11T08:50:49.577Z] Configure a credential helper to remove this warning. See [2021-02-11T08:50:49.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-11T08:50:49.577Z] [2021-02-11T08:50:49.577Z] Login Succeeded [2021-02-11T08:50:49.577Z] docker.io [2021-02-11T08:50:49.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-11T08:50:50.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-11T08:50:50.123Z] Configure a credential helper to remove this warning. See [2021-02-11T08:50:50.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-11T08:50:50.123Z] [2021-02-11T08:50:50.123Z] Login Succeeded [2021-02-11T08:50:50.123Z] ---> docker-login.sh ends [Pipeline] } [2021-02-11T08:50:50.187Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-11T08:50:50.727Z] ========================================================= [2021-02-11T08:50:50.727Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-02-11T08:50:50.727Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-11T08:50:51.125Z] + 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-11T08:50:51.731Z] Sending build context to Docker daemon 2.38MB [2021-02-11T08:50:51.731Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-02-11T08:50:51.731Z] Step 2/21 : FROM ${BASE} as builder [2021-02-11T08:50:51.731Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-02-11T08:50:51.731Z] 0362ad1dd800: Pulling fs layer [2021-02-11T08:50:51.731Z] f2cdb1532d8b: Pulling fs layer [2021-02-11T08:50:51.731Z] 37ed683be191: Pulling fs layer [2021-02-11T08:50:51.731Z] f2cdb1532d8b: Download complete [2021-02-11T08:50:52.731Z] 0362ad1dd800: Verifying Checksum [2021-02-11T08:50:52.731Z] 0362ad1dd800: Download complete [2021-02-11T08:50:53.338Z] 0362ad1dd800: Pull complete [2021-02-11T08:50:53.613Z] f2cdb1532d8b: Pull complete [2021-02-11T08:50:55.049Z] 37ed683be191: Verifying Checksum [2021-02-11T08:50:55.049Z] 37ed683be191: Download complete [2021-02-11T08:51:05.251Z] 37ed683be191: Pull complete [2021-02-11T08:51:05.251Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-02-11T08:51:05.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-02-11T08:51:05.251Z] ---> b23d30803547 [2021-02-11T08:51:05.251Z] 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-11T08:51:05.844Z] ---> Running in ca5720cf4300 [2021-02-11T08:51:06.825Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-11T08:51:06.934Z] Running on prd-centos7-docker-4c-2g-26076 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2021-02-11T08:51:07.016Z] Running in /w/workspace/device-sdk-c/54 [Pipeline] { [Pipeline] checkout [2021-02-11T08:51:07.811Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-11T08:51:08.405Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-11T08:51:08.405Z] (2/8) Installing libuuid (2.33-r0) [2021-02-11T08:51:08.676Z] (3/8) Installing libblkid (2.33-r0) [2021-02-11T08:51:08.676Z] (4/8) Installing libfdisk (2.33-r0) [2021-02-11T08:51:08.676Z] (5/8) Installing libmount (2.33-r0) [2021-02-11T08:51:08.947Z] (6/8) Installing libsmartcols (2.33-r0) [2021-02-11T08:51:08.947Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-02-11T08:51:09.225Z] (8/8) Installing wget (1.20.3-r0) [2021-02-11T08:51:09.501Z] Executing busybox-1.29.3-r10.trigger [2021-02-11T08:51:09.501Z] OK: 285 MiB in 83 packages [2021-02-11T08:51:09.532Z] using credential edgex-jenkins-ssh [2021-02-11T08:51:09.583Z] Cloning the remote Git repository [2021-02-11T08:51:09.128Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-02-11T08:51:09.201Z] > git init /w/workspace/device-sdk-c/54 # timeout=10 [2021-02-11T08:51:09.266Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-11T08:51:09.266Z] > git --version # timeout=10 [2021-02-11T08:51:09.275Z] > git --version # 'git version 2.24.3' [2021-02-11T08:51:09.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T08:51:09.301Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-11T08:51:10.038Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-11T08:51:10.044Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-11T08:51:10.815Z] Checking out Revision 6cbfd1af5056d6411228be46727e6a6bc359e529 (master) [2021-02-11T08:51:10.947Z] Removing intermediate container ca5720cf4300 [2021-02-11T08:51:10.947Z] ---> 13e2910cc451 [2021-02-11T08:51:10.947Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-02-11T08:51:10.947Z] ---> Running in ff22a3946c3e [2021-02-11T08:51:11.232Z] Removing intermediate container ff22a3946c3e [2021-02-11T08:51:11.232Z] ---> 69e88f904e54 [2021-02-11T08:51:11.232Z] 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-11T08:51:11.506Z] ---> Running in 63b1b6761c6e [2021-02-11T08:51:10.061Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-11T08:51:10.074Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-11T08:51:10.074Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T08:51:10.079Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-11T08:51:10.443Z] > git config core.sparsecheckout # timeout=10 [2021-02-11T08:51:10.448Z] > git checkout -f 6cbfd1af5056d6411228be46727e6a6bc359e529 # timeout=10 [2021-02-11T08:51:12.500Z] --2021-02-11 08:51:12-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-02-11T08:51:12.500Z] Resolving github.com... 140.82.114.4 [2021-02-11T08:51:12.500Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-11T08:51:12.781Z] HTTP request sent, awaiting response... 302 Found [2021-02-11T08:51:12.781Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-02-11T08:51:12.781Z] --2021-02-11 08:51:12-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-02-11T08:51:12.781Z] Resolving codeload.github.com... 140.82.112.9 [2021-02-11T08:51:12.781Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-02-11T08:51:12.781Z] HTTP request sent, awaiting response... 200 OK [2021-02-11T08:51:12.781Z] Length: unspecified [application/x-gzip] [2021-02-11T08:51:12.781Z] Saving to: 'STDOUT' [2021-02-11T08:51:12.781Z]  [2021-02-11T08:51:13.055Z] 0K .......... .......... .......... .......... .......... 1.45M [2021-02-11T08:51:13.055Z] 50K .......... .......... .......... .......... .......... 3.15M [2021-02-11T08:51:13.055Z] 100K .......... .......... .......... .......... .......... 7.74M [2021-02-11T08:51:13.056Z] 150K .......... .......... .......... .......... .......... 3.96M [2021-02-11T08:51:13.056Z] 200K .......... .......... .......... .......... .......... 4.91M [2021-02-11T08:51:13.056Z] 250K .......... .......... .......... .......... .......... 3.77M [2021-02-11T08:51:13.056Z] 300K .......... .......... .......... .......... .......... 4.71M [2021-02-11T08:51:13.056Z] 350K .......... .......... .......... .......... .......... 4.33M [2021-02-11T08:51:13.056Z] 400K .......... .......... .......... .......... .......... 3.98M [2021-02-11T08:51:13.056Z] 450K .......... .......... .......... .......... .......... 3.52M [2021-02-11T08:51:13.056Z] 500K .......... .......... .......... .......... .......... 5.25M [2021-02-11T08:51:13.056Z] 550K .......... .......... .......... .......... .......... 3.27M [2021-02-11T08:51:13.056Z] 600K .......... .......... .......... .......... .......... 877K [2021-02-11T08:51:13.056Z] 650K .......... .......... .......... .......... .......... 2.64M [2021-02-11T08:51:13.056Z] 700K ..   10.2M=0.2s [2021-02-11T08:51:13.056Z] [2021-02-11T08:51:13.056Z] 2021-02-11 08:51:12 (2.88 MB/s) - written to stdout [719348] [2021-02-11T08:51:13.056Z] [2021-02-11T08:51:13.330Z] -- The C compiler identification is GNU 8.3.0 [2021-02-11T08:51:13.605Z] -- The CXX compiler identification is GNU 8.3.0 [2021-02-11T08:51:13.605Z] -- Check for working C compiler: /usr/bin/cc [2021-02-11T08:51:13.885Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-11T08:51:13.885Z] -- Detecting C compiler ABI info [2021-02-11T08:51:14.160Z] -- Detecting C compiler ABI info - done [2021-02-11T08:51:14.160Z] -- Detecting C compile features [2021-02-11T08:51:14.254Z] Commit message: "fix: remove various compatibility/legacy code (#320)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-02-11T08:51:14.757Z] -- Detecting C compile features - done [Pipeline] sh [2021-02-11T08:51:15.043Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-02-11T08:51:15.043Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-02-11T08:51:15.043Z] -- Detecting CXX compiler ABI info [2021-02-11T08:51:15.319Z] -- Detecting CXX compiler ABI info - done [2021-02-11T08:51:15.319Z] -- Detecting CXX compile features [2021-02-11T08:51:15.425Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-11T08:51:15.751Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-11T08:51:16.049Z] + true [2021-02-11T08:51:16.049Z] + sudo service docker restart [2021-02-11T08:51:16.049Z] Redirecting to /bin/systemctl restart docker.service [2021-02-11T08:51:16.751Z] -- Detecting CXX compile features - done [2021-02-11T08:51:17.021Z] -- Looking for include file endian.h [2021-02-11T08:51:17.021Z] -- Looking for include file endian.h - found [2021-02-11T08:51:17.021Z] -- Check if the system is big endian [2021-02-11T08:51:17.021Z] -- Searching 16 bit integer [2021-02-11T08:51:17.021Z] -- Looking for sys/types.h [2021-02-11T08:51:17.295Z] -- Looking for sys/types.h - found [2021-02-11T08:51:17.295Z] -- Looking for stdint.h [Pipeline] withEnv [Pipeline] { [2021-02-11T08:51:17.569Z] -- Looking for stdint.h - found [2021-02-11T08:51:17.569Z] -- Looking for stddef.h [Pipeline] wrap [2021-02-11T08:51:17.600Z] provisioning config files... [2021-02-11T08:51:17.629Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/54@tmp/config5558217978741207499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-11T08:51:17.842Z] -- Looking for stddef.h - found [2021-02-11T08:51:17.843Z] -- Check size of unsigned short [2021-02-11T08:51:18.012Z] ---> docker-login.sh [2021-02-11T08:51:18.012Z] nexus3.edgexfoundry.org:10001 [2021-02-11T08:51:18.115Z] -- Check size of unsigned short - done [2021-02-11T08:51:18.115Z] -- Using unsigned short [2021-02-11T08:51:18.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-11T08:51:18.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-11T08:51:18.275Z] Configure a credential helper to remove this warning. See [2021-02-11T08:51:18.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-11T08:51:18.275Z] [2021-02-11T08:51:18.275Z] Login Succeeded [2021-02-11T08:51:18.275Z] nexus3.edgexfoundry.org:10002 [2021-02-11T08:51:18.388Z] -- Check if the system is big endian - little endian [2021-02-11T08:51:18.388Z] -- Check size of size_t [2021-02-11T08:51:18.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-11T08:51:18.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-11T08:51:18.538Z] Configure a credential helper to remove this warning. See [2021-02-11T08:51:18.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-11T08:51:18.538Z] [2021-02-11T08:51:18.538Z] Login Succeeded [2021-02-11T08:51:18.538Z] nexus3.edgexfoundry.org:10003 [2021-02-11T08:51:18.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-11T08:51:18.658Z] -- Check size of size_t - done [2021-02-11T08:51:18.658Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-02-11T08:51:18.658Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-02-11T08:51:18.658Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-02-11T08:51:18.658Z] CMake did not find one. [2021-02-11T08:51:18.658Z] [2021-02-11T08:51:18.658Z] Could not find a package configuration file provided by "cJSON" with any of [2021-02-11T08:51:18.658Z] the following names: [2021-02-11T08:51:18.658Z] [2021-02-11T08:51:18.658Z] cJSONConfig.cmake [2021-02-11T08:51:18.658Z] cjson-config.cmake [2021-02-11T08:51:18.658Z] [2021-02-11T08:51:18.658Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-02-11T08:51:18.658Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-02-11T08:51:18.658Z] provides a separate development package or SDK, be sure it has been [2021-02-11T08:51:18.658Z] installed. [2021-02-11T08:51:18.658Z] [2021-02-11T08:51:18.658Z] [2021-02-11T08:51:18.658Z] -- Configuring done [2021-02-11T08:51:18.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-11T08:51:18.801Z] Configure a credential helper to remove this warning. See [2021-02-11T08:51:18.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-11T08:51:18.801Z] [2021-02-11T08:51:18.801Z] Login Succeeded [2021-02-11T08:51:18.801Z] nexus3.edgexfoundry.org:10004 [2021-02-11T08:51:18.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-11T08:51:18.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-11T08:51:18.801Z] Configure a credential helper to remove this warning. See [2021-02-11T08:51:18.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-11T08:51:18.801Z] [2021-02-11T08:51:18.801Z] Login Succeeded [2021-02-11T08:51:18.801Z] docker.io [2021-02-11T08:51:18.929Z] -- Generating done [2021-02-11T08:51:18.929Z] -- Build files have been written to: /tmp/cbor [2021-02-11T08:51:18.929Z] Scanning dependencies of target cbor_shared [2021-02-11T08:51:18.929Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-02-11T08:51:19.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-11T08:51:19.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-11T08:51:19.329Z] Configure a credential helper to remove this warning. See [2021-02-11T08:51:19.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-11T08:51:19.329Z] [2021-02-11T08:51:19.329Z] Login Succeeded [2021-02-11T08:51:19.329Z] ---> docker-login.sh ends [Pipeline] } [2021-02-11T08:51:19.339Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-11T08:51:19.631Z] ========================================================= [2021-02-11T08:51:19.631Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-02-11T08:51:19.631Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-11T08:51:19.900Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-02-11T08:51:19.965Z] + 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-11T08:51:19.965Z] Sending build context to Docker daemon 2.381MB [2021-02-11T08:51:19.965Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-02-11T08:51:19.965Z] Step 2/21 : FROM ${BASE} as builder [2021-02-11T08:51:20.227Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-02-11T08:51:20.227Z] e7c96db7181b: Pulling fs layer [2021-02-11T08:51:20.227Z] 4c13bbce0fe7: Pulling fs layer [2021-02-11T08:51:20.227Z] 6059c847ac2f: Pulling fs layer [2021-02-11T08:51:20.227Z] 4c13bbce0fe7: Verifying Checksum [2021-02-11T08:51:20.227Z] 4c13bbce0fe7: Download complete [2021-02-11T08:51:20.489Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-02-11T08:51:20.489Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-02-11T08:51:20.811Z] e7c96db7181b: Verifying Checksum [2021-02-11T08:51:20.812Z] e7c96db7181b: Download complete [2021-02-11T08:51:21.075Z] e7c96db7181b: Pull complete [2021-02-11T08:51:21.080Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-02-11T08:51:21.337Z] 4c13bbce0fe7: Pull complete [2021-02-11T08:51:21.352Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-02-11T08:51:21.622Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-02-11T08:51:21.622Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-02-11T08:51:21.896Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-02-11T08:51:22.166Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-02-11T08:51:22.288Z] 6059c847ac2f: Verifying Checksum [2021-02-11T08:51:22.289Z] 6059c847ac2f: Download complete [2021-02-11T08:51:22.757Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-02-11T08:51:23.030Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-02-11T08:51:23.302Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-02-11T08:51:23.573Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-02-11T08:51:23.845Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-02-11T08:51:24.130Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-02-11T08:51:24.401Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-02-11T08:51:24.674Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-02-11T08:51:24.948Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-02-11T08:51:25.223Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-02-11T08:51:25.223Z] [ 40%] Linking C shared library libcbor.so [2021-02-11T08:51:25.496Z] [ 40%] Built target cbor_shared [2021-02-11T08:51:25.496Z] Scanning dependencies of target cbor [2021-02-11T08:51:25.496Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-02-11T08:51:26.468Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-02-11T08:51:26.738Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-02-11T08:51:27.009Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-02-11T08:51:27.595Z] 6059c847ac2f: Pull complete [2021-02-11T08:51:27.596Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-02-11T08:51:27.596Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-02-11T08:51:27.596Z] ---> 5eabd8fd8ba2 [2021-02-11T08:51:27.596Z] 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-11T08:51:27.859Z] ---> Running in 1d6e7cf7b0fd [2021-02-11T08:51:27.979Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-02-11T08:51:28.251Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-02-11T08:51:28.435Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-11T08:51:28.523Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-02-11T08:51:28.792Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-02-11T08:51:28.793Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-02-11T08:51:29.388Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-02-11T08:51:29.391Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-11T08:51:29.653Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-11T08:51:29.653Z] (2/8) Installing libuuid (2.33-r0) [2021-02-11T08:51:29.653Z] (3/8) Installing libblkid (2.33-r0) [2021-02-11T08:51:29.915Z] (4/8) Installing libfdisk (2.33-r0) [2021-02-11T08:51:29.915Z] (5/8) Installing libmount (2.33-r0) [2021-02-11T08:51:29.915Z] (6/8) Installing libsmartcols (2.33-r0) [2021-02-11T08:51:29.977Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-02-11T08:51:30.177Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-02-11T08:51:30.247Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-02-11T08:51:30.447Z] (8/8) Installing wget (1.20.3-r0) [2021-02-11T08:51:30.447Z] Executing busybox-1.29.3-r10.trigger [2021-02-11T08:51:30.447Z] OK: 272 MiB in 83 packages [2021-02-11T08:51:30.518Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-02-11T08:51:30.791Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-02-11T08:51:31.024Z] Removing intermediate container 1d6e7cf7b0fd [2021-02-11T08:51:31.024Z] ---> 30e0caae029e [2021-02-11T08:51:31.024Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-02-11T08:51:31.060Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-02-11T08:51:31.287Z] ---> Running in dd796d14fb0e [2021-02-11T08:51:31.287Z] Removing intermediate container dd796d14fb0e [2021-02-11T08:51:31.287Z] ---> 9282a183eee5 [2021-02-11T08:51:31.287Z] 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-11T08:51:31.287Z] ---> Running in 7e42e05b2e66 [2021-02-11T08:51:31.331Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-02-11T08:51:31.606Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-02-11T08:51:31.866Z] --2021-02-11 08:51:31-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-02-11T08:51:31.866Z] Resolving github.com... 140.82.114.4 [2021-02-11T08:51:31.866Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-11T08:51:31.866Z] HTTP request sent, awaiting response... 302 Found [2021-02-11T08:51:31.866Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-02-11T08:51:31.866Z] --2021-02-11 08:51:31-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-02-11T08:51:31.866Z] Resolving codeload.github.com... 140.82.112.9 [2021-02-11T08:51:31.866Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-02-11T08:51:31.880Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-02-11T08:51:32.133Z] HTTP request sent, awaiting response... 200 OK [2021-02-11T08:51:32.134Z] Length: unspecified [application/x-gzip] [2021-02-11T08:51:32.134Z] Saving to: 'STDOUT' [2021-02-11T08:51:32.134Z] [2021-02-11T08:51:32.134Z] 0K .......... .......... .......... .......... .......... 1.49M [2021-02-11T08:51:32.134Z] 50K .......... .......... .......... .......... .......... 2.98M [2021-02-11T08:51:32.134Z] 100K .......... .......... .......... .......... .......... 35.2M [2021-02-11T08:51:32.134Z] 150K .......... .......... .......... .......... .......... 3.28M [2021-02-11T08:51:32.134Z] 200K .......... .......... .......... .......... .......... 41.4M [2021-02-11T08:51:32.134Z] 250K .......... .......... .......... .......... .......... 8.57M [2021-02-11T08:51:32.134Z] 300K .......... .......... .......... .......... .......... 4.83M [2021-02-11T08:51:32.134Z] 350K .......... .......... .......... .......... .......... 14.2M [2021-02-11T08:51:32.134Z] 400K .......... .......... .......... .......... .......... 6.45M [2021-02-11T08:51:32.134Z] 450K .......... .......... .......... .......... .......... 7.07M [2021-02-11T08:51:32.134Z] 500K .......... .......... .......... .......... .......... 13.5M [2021-02-11T08:51:32.134Z] 550K .......... .......... .......... .......... .......... 6.12M [2021-02-11T08:51:32.134Z] 600K .......... .......... .......... .......... .......... 1.96M [2021-02-11T08:51:32.134Z] 650K .......... .......... .......... .......... .......... 4.25M [2021-02-11T08:51:32.134Z] 700K .. 43.5M=0.1s [2021-02-11T08:51:32.134Z] [2021-02-11T08:51:32.134Z] 2021-02-11 08:51:32 (4.62 MB/s) - written to stdout [719348] [2021-02-11T08:51:32.134Z] [2021-02-11T08:51:32.151Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-02-11T08:51:32.397Z] -- The C compiler identification is GNU 8.3.0 [2021-02-11T08:51:32.397Z] -- The CXX compiler identification is GNU 8.3.0 [2021-02-11T08:51:32.397Z] -- Check for working C compiler: /usr/bin/cc [2021-02-11T08:51:32.397Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-11T08:51:32.423Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-02-11T08:51:32.659Z] -- Detecting C compiler ABI info [2021-02-11T08:51:32.659Z] -- Detecting C compiler ABI info - done [2021-02-11T08:51:32.659Z] -- Detecting C compile features [2021-02-11T08:51:32.696Z] [ 80%] Linking C static library libcbor.a [2021-02-11T08:51:32.696Z] [ 80%] Built target cbor [2021-02-11T08:51:32.696Z] Scanning dependencies of target create_items [2021-02-11T08:51:32.696Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-02-11T08:51:32.921Z] -- Detecting C compile features - done [2021-02-11T08:51:32.921Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-02-11T08:51:32.921Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-02-11T08:51:32.921Z] -- Detecting CXX compiler ABI info [2021-02-11T08:51:32.921Z] -- Detecting CXX compiler ABI info - done [2021-02-11T08:51:32.921Z] -- Detecting CXX compile features [2021-02-11T08:51:32.968Z] [ 84%] Linking C executable create_items [2021-02-11T08:51:32.968Z] [ 84%] Built target create_items [2021-02-11T08:51:32.968Z] Scanning dependencies of target readfile [2021-02-11T08:51:32.968Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-02-11T08:51:33.242Z] [ 88%] Linking C executable readfile [2021-02-11T08:51:33.242Z] [ 88%] Built target readfile [2021-02-11T08:51:33.242Z] Scanning dependencies of target streaming_parser [2021-02-11T08:51:33.242Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-02-11T08:51:33.495Z] -- Detecting CXX compile features - done [2021-02-11T08:51:33.495Z] -- Looking for include file endian.h [2021-02-11T08:51:33.495Z] -- Looking for include file endian.h - found [2021-02-11T08:51:33.495Z] -- Check if the system is big endian [2021-02-11T08:51:33.495Z] -- Searching 16 bit integer [2021-02-11T08:51:33.495Z] -- Looking for sys/types.h [2021-02-11T08:51:33.514Z] [ 92%] Linking C executable streaming_parser [2021-02-11T08:51:33.760Z] -- Looking for sys/types.h - found [2021-02-11T08:51:33.760Z] -- Looking for stdint.h [2021-02-11T08:51:33.760Z] -- Looking for stdint.h - found [2021-02-11T08:51:33.760Z] -- Looking for stddef.h [2021-02-11T08:51:33.760Z] -- Looking for stddef.h - found [2021-02-11T08:51:33.760Z] -- Check size of unsigned short [2021-02-11T08:51:33.760Z] -- Check size of unsigned short - done [2021-02-11T08:51:33.760Z] -- Using unsigned short [2021-02-11T08:51:33.786Z] [ 92%] Built target streaming_parser [2021-02-11T08:51:33.786Z] Scanning dependencies of target sort [2021-02-11T08:51:33.786Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-02-11T08:51:33.786Z] [ 96%] Linking C executable sort [2021-02-11T08:51:34.026Z] -- Check if the system is big endian - little endian [2021-02-11T08:51:34.026Z] -- Check size of size_t [2021-02-11T08:51:34.026Z] -- Check size of size_t - done [2021-02-11T08:51:34.026Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-02-11T08:51:34.026Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-02-11T08:51:34.026Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-02-11T08:51:34.026Z] CMake did not find one. [2021-02-11T08:51:34.026Z] [2021-02-11T08:51:34.026Z] Could not find a package configuration file provided by "cJSON" with any of [2021-02-11T08:51:34.026Z] the following names: [2021-02-11T08:51:34.026Z] [2021-02-11T08:51:34.026Z] cJSONConfig.cmake [2021-02-11T08:51:34.026Z] cjson-config.cmake [2021-02-11T08:51:34.026Z] [2021-02-11T08:51:34.026Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-02-11T08:51:34.026Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-02-11T08:51:34.026Z] provides a separate development package or SDK, be sure it has been [2021-02-11T08:51:34.026Z] installed. [2021-02-11T08:51:34.026Z] [2021-02-11T08:51:34.026Z] [2021-02-11T08:51:34.026Z] -- Configuring done [2021-02-11T08:51:34.061Z] [ 96%] Built target sort [2021-02-11T08:51:34.062Z] Scanning dependencies of target hello [2021-02-11T08:51:34.062Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-02-11T08:51:34.062Z] [100%] Linking C executable hello [2021-02-11T08:51:34.293Z] -- Generating done [2021-02-11T08:51:34.293Z] -- Build files have been written to: /tmp/cbor [2021-02-11T08:51:34.293Z] Scanning dependencies of target cbor_shared [2021-02-11T08:51:34.293Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-02-11T08:51:34.337Z] [100%] Built target hello [2021-02-11T08:51:34.337Z] Install the project... [2021-02-11T08:51:34.337Z] -- Install configuration: "Release" [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/lib64/libcbor.a [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/lib64/libcbor.so [2021-02-11T08:51:34.337Z] -- Up-to-date: /usr/local/include/cbor [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/include/cbor/ints.h [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/include/cbor/data.h [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/include/cbor/common.h [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/include/cbor/strings.h [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/include/cbor/tags.h [2021-02-11T08:51:34.337Z] -- Installing: /usr/local/include/cbor/internal [2021-02-11T08:51:34.338Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-02-11T08:51:34.338Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-02-11T08:51:34.338Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-02-11T08:51:34.338Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-02-11T08:51:34.338Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-02-11T08:51:34.338Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-02-11T08:51:34.338Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-02-11T08:51:34.338Z] -- Installing: /usr/local/include/cbor/maps.h [2021-02-11T08:51:34.338Z] -- Installing: /usr/local/include/cbor.h [2021-02-11T08:51:34.338Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-02-11T08:51:34.559Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-02-11T08:51:34.559Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-02-11T08:51:34.559Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-02-11T08:51:34.822Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-02-11T08:51:34.822Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-02-11T08:51:34.822Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-02-11T08:51:35.085Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-02-11T08:51:35.085Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-02-11T08:51:35.085Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-02-11T08:51:35.350Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-02-11T08:51:35.350Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-02-11T08:51:35.350Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-02-11T08:51:35.615Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-02-11T08:51:35.615Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-02-11T08:51:35.615Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-02-11T08:51:35.878Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-02-11T08:51:35.878Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-02-11T08:51:35.878Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-02-11T08:51:35.878Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-02-11T08:51:36.142Z] [ 40%] Linking C shared library libcbor.so [2021-02-11T08:51:36.142Z] [ 40%] Built target cbor_shared [2021-02-11T08:51:36.142Z] Scanning dependencies of target cbor [2021-02-11T08:51:36.142Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-02-11T08:51:36.310Z] Removing intermediate container 63b1b6761c6e [2021-02-11T08:51:36.311Z] ---> e7ea252c4229 [2021-02-11T08:51:36.311Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-02-11T08:51:36.405Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-02-11T08:51:36.405Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-02-11T08:51:36.405Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-02-11T08:51:36.588Z] ---> Running in 50c5f3f9cb2e [2021-02-11T08:51:36.667Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-02-11T08:51:36.930Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-02-11T08:51:36.930Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-02-11T08:51:36.930Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-02-11T08:51:36.930Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-02-11T08:51:37.192Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-02-11T08:51:37.192Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-02-11T08:51:37.457Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-02-11T08:51:37.457Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-02-11T08:51:37.722Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-02-11T08:51:37.722Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-02-11T08:51:37.722Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-02-11T08:51:37.722Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-02-11T08:51:37.985Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-02-11T08:51:37.985Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-02-11T08:51:37.985Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-02-11T08:51:37.985Z] [ 80%] Linking C static library libcbor.a [2021-02-11T08:51:38.249Z] [ 80%] Built target cbor [2021-02-11T08:51:38.249Z] Scanning dependencies of target create_items [2021-02-11T08:51:38.249Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-02-11T08:51:38.249Z] [ 84%] Linking C executable create_items [2021-02-11T08:51:38.249Z] [ 84%] Built target create_items [2021-02-11T08:51:38.249Z] Scanning dependencies of target readfile [2021-02-11T08:51:38.249Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-02-11T08:51:38.249Z] [ 88%] Linking C executable readfile [2021-02-11T08:51:38.249Z] [ 88%] Built target readfile [2021-02-11T08:51:38.249Z] Scanning dependencies of target streaming_parser [2021-02-11T08:51:38.249Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-02-11T08:51:38.512Z] [ 92%] Linking C executable streaming_parser [2021-02-11T08:51:38.512Z] [ 92%] Built target streaming_parser [2021-02-11T08:51:38.512Z] Scanning dependencies of target sort [2021-02-11T08:51:38.512Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-02-11T08:51:38.512Z] [ 96%] Linking C executable sort [2021-02-11T08:51:38.512Z] [ 96%] Built target sort [2021-02-11T08:51:38.512Z] Scanning dependencies of target hello [2021-02-11T08:51:38.512Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-02-11T08:51:38.512Z] [100%] Linking C executable hello [2021-02-11T08:51:38.512Z] [100%] Built target hello [2021-02-11T08:51:38.566Z] Removing intermediate container 50c5f3f9cb2e [2021-02-11T08:51:38.566Z] ---> 08e2a457b325 [2021-02-11T08:51:38.566Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-02-11T08:51:38.776Z] Install the project... [2021-02-11T08:51:38.776Z] -- Install configuration: "Release" [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/lib64/libcbor.a [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/lib64/libcbor.so [2021-02-11T08:51:38.776Z] -- Up-to-date: /usr/local/include/cbor [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/common.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/data.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/internal [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/ints.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/maps.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/strings.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor/tags.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/include/cbor.h [2021-02-11T08:51:38.776Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-02-11T08:51:39.163Z] ---> 9e41b59fa845 [2021-02-11T08:51:39.163Z] Step 8/21 : COPY src /tmp/sdk/src [2021-02-11T08:51:40.144Z] ---> f46d183a3144 [2021-02-11T08:51:40.144Z] Step 9/21 : COPY include /tmp/sdk/include [2021-02-11T08:51:40.743Z] ---> 89b309075325 [2021-02-11T08:51:40.743Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-02-11T08:51:41.342Z] Removing intermediate container 7e42e05b2e66 [2021-02-11T08:51:41.342Z] ---> 5079f1c560a8 [2021-02-11T08:51:41.342Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-02-11T08:51:41.342Z] ---> Running in 1e2a26288a65 [2021-02-11T08:51:41.722Z] ---> 3701136d6a20 [2021-02-11T08:51:41.722Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-02-11T08:51:41.916Z] Removing intermediate container 1e2a26288a65 [2021-02-11T08:51:41.916Z] ---> 00425c72575f [2021-02-11T08:51:41.916Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-02-11T08:51:42.178Z] ---> c4ad754e41f6 [2021-02-11T08:51:42.178Z] Step 8/21 : COPY src /tmp/sdk/src [2021-02-11T08:51:42.331Z] ---> 321beb313cc7 [2021-02-11T08:51:42.331Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-02-11T08:51:42.923Z] ---> e0ceb6715fc5 [2021-02-11T08:51:42.923Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-02-11T08:51:42.923Z] ---> Running in 3b6eb80d3cc5 [2021-02-11T08:51:43.127Z] ---> 409da38de86c [2021-02-11T08:51:43.127Z] Step 9/21 : COPY include /tmp/sdk/include [2021-02-11T08:51:43.389Z] ---> adb9638f6534 [2021-02-11T08:51:43.389Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-02-11T08:51:43.652Z] ---> 312cddf546b3 [2021-02-11T08:51:43.652Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-02-11T08:51:43.652Z] ---> ba6bba7f484e [2021-02-11T08:51:43.652Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-02-11T08:51:43.903Z] + CPPCHECK=false [2021-02-11T08:51:43.904Z] + DOCGEN=false [2021-02-11T08:51:43.904Z] + TOMLVER=SDK-0.2 [2021-02-11T08:51:43.904Z] + CUTILVER=1.1.4 [2021-02-11T08:51:43.904Z] + '[' 0 -gt 0 ] [2021-02-11T08:51:43.904Z] + readlink -f ./scripts/build.sh [2021-02-11T08:51:43.904Z] + dirname /tmp/sdk/scripts/build.sh [2021-02-11T08:51:43.904Z] + dirname /tmp/sdk/scripts [2021-02-11T08:51:43.904Z] + ROOT=/tmp/sdk [2021-02-11T08:51:43.904Z] + cd /tmp/sdk [2021-02-11T08:51:43.904Z] + '[' '!' -d deps ] [2021-02-11T08:51:43.904Z] + mkdir deps [2021-02-11T08:51:43.904Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-11T08:51:43.904Z] + tar -C deps -z -x--2021-02-11 08:51:43-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-11T08:51:43.904Z] -f - [2021-02-11T08:51:43.904Z] Resolving github.com... 140.82.114.4 [2021-02-11T08:51:43.904Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-11T08:51:43.916Z] ---> dbfabdd53f2f [2021-02-11T08:51:43.916Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-02-11T08:51:43.916Z] ---> Running in d9b689099f26 [2021-02-11T08:51:44.175Z] HTTP request sent, awaiting response... 302 Found [2021-02-11T08:51:44.175Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-02-11T08:51:44.175Z] --2021-02-11 08:51:44-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-02-11T08:51:44.175Z] Resolving codeload.github.com... 140.82.112.9 [2021-02-11T08:51:44.175Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-02-11T08:51:44.446Z] HTTP request sent, awaiting response... 200 OK [2021-02-11T08:51:44.446Z] Length: unspecified [application/x-gzip] [2021-02-11T08:51:44.446Z] Saving to: 'STDOUT' [2021-02-11T08:51:44.446Z]  [2021-02-11T08:51:44.446Z] 0K .......... ...... 1.01M=0.02s [2021-02-11T08:51:44.446Z] [2021-02-11T08:51:44.446Z] 2021-02-11 08:51:44 (1.01 MB/s) - written to stdout [16451] [2021-02-11T08:51:44.446Z] [2021-02-11T08:51:44.446Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-02-11T08:51:44.446Z] + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -z [2021-02-11T08:51:44.446Z] -x -f - [2021-02-11T08:51:44.446Z] --2021-02-11 08:51:44-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-11T08:51:44.446Z] Resolving github.com... 140.82.114.4 [2021-02-11T08:51:44.446Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-11T08:51:44.446Z] HTTP request sent, awaiting response... 302 Found [2021-02-11T08:51:44.446Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-02-11T08:51:44.446Z] --2021-02-11 08:51:44-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-02-11T08:51:44.446Z] Resolving codeload.github.com... 140.82.112.9 [2021-02-11T08:51:44.446Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-02-11T08:51:44.719Z] HTTP request sent, awaiting response... 200 OK [2021-02-11T08:51:44.719Z] Length: unspecified [application/x-gzip] [2021-02-11T08:51:44.719Z] Saving to: 'STDOUT' [2021-02-11T08:51:44.719Z]  [2021-02-11T08:51:44.719Z] 0K .......... .......... .......... .......... .......... 1.44M [2021-02-11T08:51:44.719Z] 50K .......... .......... .......... .......... .......... 2.99M [2021-02-11T08:51:44.719Z] 100K .......... .......... .......... .......... .......... 5.80M [2021-02-11T08:51:44.719Z] 150K .......... .......... ....... 1.67M=0.07s [2021-02-11T08:51:44.719Z] [2021-02-11T08:51:44.719Z] 2021-02-11 08:51:44 (2.32 MB/s) - written to stdout [181796] [2021-02-11T08:51:44.719Z] [2021-02-11T08:51:44.719Z] + mkdir -p src/c/iot [2021-02-11T08:51:44.719Z] + 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-11T08:51:44.719Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-02-11T08:51:44.719Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-02-11T08:51:44.719Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-02-11T08:51:44.719Z] + mkdir -p include/iot [2021-02-11T08:51:44.719Z] + 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-11T08:51:44.719Z] + mkdir -p include/iot/os [2021-02-11T08:51:44.719Z] + 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-11T08:51:44.719Z] + mkdir -p /tmp/sdk/build/release [2021-02-11T08:51:44.719Z] + cd /tmp/sdk/build/release [2021-02-11T08:51:44.719Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-02-11T08:51:44.867Z] + CPPCHECK=false [2021-02-11T08:51:44.867Z] + DOCGEN=false [2021-02-11T08:51:44.867Z] + TOMLVER=SDK-0.2 [2021-02-11T08:51:44.867Z] + CUTILVER=1.1.4 [2021-02-11T08:51:44.867Z] + '[' 0 -gt 0 ] [2021-02-11T08:51:44.867Z] + readlink -f ./scripts/build.sh [2021-02-11T08:51:44.867Z] + dirname /tmp/sdk/scripts/build.sh [2021-02-11T08:51:44.867Z] + dirname /tmp/sdk/scripts [2021-02-11T08:51:44.867Z] + ROOT=/tmp/sdk [2021-02-11T08:51:44.867Z] + cd /tmp/sdk [2021-02-11T08:51:44.867Z] + '[' '!' -d deps ] [2021-02-11T08:51:44.867Z] + mkdir deps [2021-02-11T08:51:44.867Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-11T08:51:44.867Z] + tar -C deps -z -x -f - [2021-02-11T08:51:44.867Z] --2021-02-11 08:51:44-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-11T08:51:44.867Z] Resolving github.com... 140.82.114.4 [2021-02-11T08:51:44.867Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-11T08:51:44.867Z] HTTP request sent, awaiting response... 302 Found [2021-02-11T08:51:44.867Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-02-11T08:51:44.867Z] --2021-02-11 08:51:44-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-02-11T08:51:44.867Z] Resolving codeload.github.com... 140.82.112.9 [2021-02-11T08:51:44.867Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-02-11T08:51:44.867Z] HTTP request sent, awaiting response... 200 OK [2021-02-11T08:51:44.867Z] Length: unspecified [application/x-gzip] [2021-02-11T08:51:44.867Z] Saving to: 'STDOUT' [2021-02-11T08:51:44.867Z]  [2021-02-11T08:51:44.867Z] 0K .......... ......  1010K=0.02s [2021-02-11T08:51:44.867Z] [2021-02-11T08:51:44.867Z] 2021-02-11 08:51:44 (1010 KB/s) - written to stdout [16451] [2021-02-11T08:51:44.867Z] [2021-02-11T08:51:44.867Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-02-11T08:51:44.867Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-11T08:51:44.867Z] + tar -C deps -z -x -f - [2021-02-11T08:51:45.131Z] --2021-02-11 08:51:44-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-11T08:51:45.131Z] Resolving github.com... 140.82.114.4 [2021-02-11T08:51:45.131Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-11T08:51:45.131Z] HTTP request sent, awaiting response... 302 Found [2021-02-11T08:51:45.131Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-02-11T08:51:45.131Z] --2021-02-11 08:51:44-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-02-11T08:51:45.131Z] Resolving codeload.github.com... 140.82.112.9 [2021-02-11T08:51:45.131Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2021-02-11T08:51:45.131Z] HTTP request sent, awaiting response... 200 OK [2021-02-11T08:51:45.131Z] Length: unspecified [application/x-gzip] [2021-02-11T08:51:45.131Z] Saving to: 'STDOUT' [2021-02-11T08:51:45.131Z]  [2021-02-11T08:51:45.131Z] 0K .......... .......... .......... .......... .......... 1.21M [2021-02-11T08:51:45.131Z] 50K .......... .......... .......... .......... .......... 2.49M [2021-02-11T08:51:45.131Z] 100K .......... .......... .......... .......... .......... 31.0M [2021-02-11T08:51:45.131Z] 150K .......... .......... ....... 3.40M=0.07s [2021-02-11T08:51:45.131Z] [2021-02-11T08:51:45.131Z] 2021-02-11 08:51:45 (2.50 MB/s) - written to stdout [181796] [2021-02-11T08:51:45.131Z] [2021-02-11T08:51:45.314Z] -- The C compiler identification is GNU 8.3.0 [2021-02-11T08:51:45.314Z] -- Check for working C compiler: /usr/bin/cc [2021-02-11T08:51:45.314Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-11T08:51:45.314Z] -- Detecting C compiler ABI info [2021-02-11T08:51:45.394Z] + mkdir -p src/c/iot [2021-02-11T08:51:45.394Z] + 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-11T08:51:45.394Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-02-11T08:51:45.394Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-02-11T08:51:45.394Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-02-11T08:51:45.394Z] + mkdir -p include/iot [2021-02-11T08:51:45.394Z] + 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-11T08:51:45.394Z] + mkdir -p include/iot/os [2021-02-11T08:51:45.394Z] + 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-11T08:51:45.394Z] + mkdir -p /tmp/sdk/build/release [2021-02-11T08:51:45.394Z] + cd /tmp/sdk/build/release [2021-02-11T08:51:45.394Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-02-11T08:51:45.394Z] -- The C compiler identification is GNU 8.3.0 [2021-02-11T08:51:45.394Z] -- Check for working C compiler: /usr/bin/cc [2021-02-11T08:51:45.394Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-11T08:51:45.394Z] -- Detecting C compiler ABI info [2021-02-11T08:51:45.586Z] -- Detecting C compiler ABI info - done [2021-02-11T08:51:45.586Z] -- Detecting C compile features [2021-02-11T08:51:45.657Z] -- Detecting C compiler ABI info - done [2021-02-11T08:51:45.657Z] -- Detecting C compile features [2021-02-11T08:51:45.921Z] -- Detecting C compile features - done [2021-02-11T08:51:45.921Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-11T08:51:45.921Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-11T08:51:45.921Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-11T08:51:45.921Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-11T08:51:45.921Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-11T08:51:45.921Z] -- C SDK 1.3.2-dev.2 for Linux [2021-02-11T08:51:45.921Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-11T08:51:45.921Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-11T08:51:45.921Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-11T08:51:45.921Z] -- Configuring done [2021-02-11T08:51:45.921Z] -- Generating done [2021-02-11T08:51:45.921Z] -- Build files have been written to: /tmp/sdk/build/release [2021-02-11T08:51:45.921Z] + make [2021-02-11T08:51:45.921Z] + tee release.log [2021-02-11T08:51:46.184Z] Scanning dependencies of target csdk [2021-02-11T08:51:46.184Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-11T08:51:46.184Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2021-02-11T08:51:46.448Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-11T08:51:46.448Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-11T08:51:46.572Z] -- Detecting C compile features - done [2021-02-11T08:51:46.572Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-11T08:51:46.572Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-11T08:51:46.572Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-11T08:51:46.572Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-11T08:51:46.572Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-11T08:51:46.572Z] -- C SDK 1.3.2-dev.2 for Linux [2021-02-11T08:51:46.572Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-11T08:51:46.572Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-11T08:51:46.843Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-11T08:51:46.843Z] -- Configuring done [2021-02-11T08:51:47.024Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-11T08:51:47.024Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-11T08:51:47.115Z] -- Generating done [2021-02-11T08:51:47.115Z] -- Build files have been written to: /tmp/sdk/build/release [2021-02-11T08:51:47.115Z] + + teemake release.log [2021-02-11T08:51:47.115Z] [2021-02-11T08:51:47.115Z] Scanning dependencies of target csdk [2021-02-11T08:51:47.287Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-11T08:51:47.386Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-11T08:51:47.552Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-11T08:51:47.986Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2021-02-11T08:51:48.129Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-11T08:51:48.129Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-11T08:51:48.391Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-11T08:51:48.391Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-11T08:51:48.580Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-11T08:51:48.654Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-11T08:51:48.654Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-11T08:51:48.654Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-11T08:51:48.853Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-11T08:51:49.603Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-11T08:51:49.603Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-11T08:51:49.865Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-11T08:51:49.865Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-11T08:51:50.128Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-11T08:51:50.707Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-11T08:51:50.707Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-11T08:51:50.707Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-11T08:51:50.820Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-11T08:51:50.970Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-11T08:51:50.970Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-11T08:51:50.970Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-11T08:51:51.093Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-11T08:51:51.235Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-11T08:51:51.365Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-11T08:51:51.497Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-11T08:51:51.497Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-11T08:51:51.759Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-11T08:51:52.022Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-11T08:51:52.289Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-11T08:51:52.338Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-11T08:51:52.552Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-11T08:51:52.552Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-11T08:51:53.944Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-11T08:51:53.944Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-11T08:51:53.944Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-11T08:51:54.206Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-11T08:51:54.206Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-11T08:51:54.783Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-11T08:51:54.949Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-11T08:51:54.949Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-11T08:51:55.046Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-11T08:51:55.922Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-11T08:51:55.992Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-11T08:51:55.992Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-11T08:51:56.193Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-11T08:51:56.254Z] [ 73%] Linking C shared library libcsdk.so [2021-02-11T08:51:56.254Z] [ 73%] Built target csdk [2021-02-11T08:51:56.254Z] Scanning dependencies of target template [2021-02-11T08:51:56.254Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-11T08:51:56.466Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-11T08:51:56.516Z] [ 76%] Linking C executable template [2021-02-11T08:51:56.516Z] [ 76%] Built target template [2021-02-11T08:51:56.516Z] Scanning dependencies of target device-counter [2021-02-11T08:51:56.516Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-11T08:51:56.738Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-11T08:51:56.778Z] [ 80%] Linking C executable device-counter [2021-02-11T08:51:56.779Z] [ 80%] Built target device-counter [2021-02-11T08:51:56.779Z] Scanning dependencies of target device-random [2021-02-11T08:51:56.779Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-11T08:51:56.779Z] [ 83%] Linking C executable device-random [2021-02-11T08:51:57.011Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-11T08:51:57.042Z] [ 83%] Built target device-random [2021-02-11T08:51:57.042Z] Scanning dependencies of target device-gyro [2021-02-11T08:51:57.042Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-11T08:51:57.042Z] [ 86%] Linking C executable device-gyro [2021-02-11T08:51:57.042Z] [ 86%] Built target device-gyro [2021-02-11T08:51:57.042Z] Scanning dependencies of target device-bitfields [2021-02-11T08:51:57.042Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-11T08:51:57.303Z] [ 90%] Linking C executable device-bitfields [2021-02-11T08:51:57.303Z] [ 90%] Built target device-bitfields [2021-02-11T08:51:57.303Z] Scanning dependencies of target template-discovery [2021-02-11T08:51:57.303Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-11T08:51:57.565Z] [ 93%] Linking C executable template-discovery [2021-02-11T08:51:57.565Z] [ 93%] Built target template-discovery [2021-02-11T08:51:57.565Z] Scanning dependencies of target device-file [2021-02-11T08:51:57.565Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-11T08:51:57.826Z] [ 96%] Linking C executable device-file [2021-02-11T08:51:57.826Z] [ 96%] Built target device-file [2021-02-11T08:51:57.826Z] Scanning dependencies of target device-terminal [2021-02-11T08:51:57.826Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-11T08:51:58.090Z] [100%] Linking C executable device-terminal [2021-02-11T08:51:58.090Z] [100%] Built target device-terminal [2021-02-11T08:51:58.090Z] + make package+ [2021-02-11T08:51:58.090Z] tee -a release.log [2021-02-11T08:51:58.090Z] [ 73%] Built target csdk [2021-02-11T08:51:58.090Z] [ 76%] Built target template [2021-02-11T08:51:58.090Z] [ 80%] Built target device-counter [2021-02-11T08:51:58.090Z] [ 83%] Built target device-random [2021-02-11T08:51:58.090Z] [ 86%] Built target device-gyro [2021-02-11T08:51:58.090Z] [ 90%] Built target device-bitfields [2021-02-11T08:51:58.090Z] [ 93%] Built target template-discovery [2021-02-11T08:51:58.352Z] [ 96%] Built target device-file [2021-02-11T08:51:58.352Z] [100%] Built target device-terminal [2021-02-11T08:51:58.352Z] Run CPack packaging tool... [2021-02-11T08:51:58.352Z] CPack: Create package using TGZ [2021-02-11T08:51:58.352Z] CPack: Install projects [2021-02-11T08:51:58.352Z] CPack: - Run preinstall target for: Csdk [2021-02-11T08:51:58.614Z] CPack: - Install project: Csdk [2021-02-11T08:51:58.614Z] CPack: Create package [2021-02-11T08:51:58.614Z] CPack: - package: /tmp/sdk/build/release/csdk-1.3.2-dev.2.tar.gz generated. [2021-02-11T08:51:58.614Z] + '[' false '=' true ] [2021-02-11T08:51:58.614Z] + '[' false '=' true ] [2021-02-11T08:51:58.614Z] + mkdir -p /tmp/sdk/build/debug [2021-02-11T08:51:58.614Z] + cd /tmp/sdk/build/debug [2021-02-11T08:51:58.614Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-02-11T08:51:58.614Z] -- The C compiler identification is GNU 8.3.0 [2021-02-11T08:51:58.614Z] -- Check for working C compiler: /usr/bin/cc [2021-02-11T08:51:58.878Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-11T08:51:58.878Z] -- Detecting C compiler ABI info [2021-02-11T08:51:58.878Z] -- Detecting C compiler ABI info - done [2021-02-11T08:51:58.878Z] -- Detecting C compile features [2021-02-11T08:51:59.139Z] -- Detecting C compile features - done [2021-02-11T08:51:59.140Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-11T08:51:59.140Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-11T08:51:59.140Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-11T08:51:59.140Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-11T08:51:59.140Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-11T08:51:59.140Z] -- C SDK 1.3.2-dev.2 for Linux [2021-02-11T08:51:59.140Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-11T08:51:59.404Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-11T08:51:59.404Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-11T08:51:59.404Z] -- Configuring done [2021-02-11T08:51:59.404Z] -- Generating done [2021-02-11T08:51:59.404Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-02-11T08:51:59.404Z] + make [2021-02-11T08:51:59.404Z] + tee debug.log [2021-02-11T08:51:59.404Z] Scanning dependencies of target csdk [2021-02-11T08:51:59.666Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-11T08:51:59.666Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2021-02-11T08:51:59.666Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-11T08:51:59.928Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-11T08:51:59.928Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-11T08:52:00.194Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-11T08:52:00.194Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-11T08:52:00.194Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-11T08:52:00.385Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-11T08:52:00.457Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-11T08:52:00.457Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-11T08:52:00.720Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-11T08:52:00.720Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-11T08:52:00.720Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-11T08:52:00.720Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-11T08:52:00.977Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-11T08:52:00.985Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-11T08:52:01.249Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-11T08:52:01.250Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-11T08:52:01.251Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-11T08:52:01.251Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-11T08:52:01.251Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-11T08:52:01.515Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-11T08:52:01.521Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-11T08:52:01.777Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-11T08:52:01.777Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-11T08:52:01.777Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-11T08:52:01.777Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-11T08:52:02.039Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-11T08:52:02.039Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-11T08:52:02.039Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-11T08:52:02.039Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-11T08:52:02.115Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-11T08:52:02.301Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-11T08:52:02.301Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-11T08:52:02.301Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-11T08:52:02.301Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-11T08:52:02.564Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-11T08:52:02.564Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-11T08:52:02.826Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-11T08:52:03.089Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-11T08:52:03.089Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-11T08:52:03.089Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-11T08:52:03.351Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-11T08:52:03.614Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-11T08:52:03.614Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-11T08:52:03.877Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-11T08:52:03.877Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-11T08:52:04.140Z] [ 73%] Linking C shared library libcsdk.so [2021-02-11T08:52:04.140Z] [ 73%] Built target csdk [2021-02-11T08:52:04.140Z] Scanning dependencies of target template [2021-02-11T08:52:04.140Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-11T08:52:04.140Z] [ 76%] Linking C executable template [2021-02-11T08:52:04.140Z] [ 76%] Built target template [2021-02-11T08:52:04.140Z] Scanning dependencies of target device-counter [2021-02-11T08:52:04.140Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-11T08:52:04.401Z] [ 80%] Linking C executable device-counter [2021-02-11T08:52:04.402Z] [ 80%] Built target device-counter [2021-02-11T08:52:04.402Z] Scanning dependencies of target device-random [2021-02-11T08:52:04.402Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-11T08:52:04.402Z] [ 83%] Linking C executable device-random [2021-02-11T08:52:04.664Z] [ 83%] Built target device-random [2021-02-11T08:52:04.664Z] Scanning dependencies of target device-gyro [2021-02-11T08:52:04.664Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-11T08:52:04.664Z] [ 86%] Linking C executable device-gyro [2021-02-11T08:52:04.664Z] [ 86%] Built target device-gyro [2021-02-11T08:52:04.664Z] Scanning dependencies of target device-bitfields [2021-02-11T08:52:04.664Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-11T08:52:04.728Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-11T08:52:04.728Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-11T08:52:04.926Z] [ 90%] Linking C executable device-bitfields [2021-02-11T08:52:04.927Z] [ 90%] Built target device-bitfields [2021-02-11T08:52:04.927Z] Scanning dependencies of target template-discovery [2021-02-11T08:52:04.927Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-11T08:52:04.927Z] [ 93%] Linking C executable template-discovery [2021-02-11T08:52:04.927Z] [ 93%] Built target template-discovery [2021-02-11T08:52:04.927Z] Scanning dependencies of target device-file [2021-02-11T08:52:05.000Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-11T08:52:05.188Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-11T08:52:05.189Z] [ 96%] Linking C executable device-file [2021-02-11T08:52:05.189Z] [ 96%] Built target device-file [2021-02-11T08:52:05.189Z] Scanning dependencies of target device-terminal [2021-02-11T08:52:05.189Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-11T08:52:05.189Z] [100%] Linking C executable device-terminal [2021-02-11T08:52:05.452Z] [100%] Built target device-terminal [2021-02-11T08:52:05.452Z] make: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] [ 73%] Built target csdk [2021-02-11T08:52:05.452Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] [ 76%] Built target template [2021-02-11T08:52:05.452Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] [ 80%] Built target device-counter [2021-02-11T08:52:05.452Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] [ 83%] Built target device-random [2021-02-11T08:52:05.452Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] [ 86%] Built target device-gyro [2021-02-11T08:52:05.452Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] [ 90%] Built target device-bitfields [2021-02-11T08:52:05.452Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] [ 93%] Built target template-discovery [2021-02-11T08:52:05.452Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] [ 96%] Built target device-file [2021-02-11T08:52:05.452Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.452Z] [100%] Built target device-terminal [2021-02-11T08:52:05.452Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:05.592Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-11T08:52:05.717Z] Install the project... [2021-02-11T08:52:05.717Z] -- Install configuration: "Release" [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/lib/libcsdk.so [2021-02-11T08:52:05.717Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-02-11T08:52:05.717Z] -- Up-to-date: /usr/local/include [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/devsdk [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/edgex [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/edgex/devices.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/edgex/error.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/edgex/os.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/base64.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/component.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/config.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/container.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/data.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/hash.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/iot.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/json.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/logger.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/os.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/thread.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/time.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/typecode.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/os [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/include/iot/defs.h [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-02-11T08:52:05.717Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-02-11T08:52:05.717Z] make: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:06.185Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-11T08:52:06.185Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-11T08:52:07.161Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-11T08:52:07.433Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-11T08:52:08.027Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-11T08:52:08.289Z] Removing intermediate container d9b689099f26 [2021-02-11T08:52:08.289Z] ---> a67fb53689de [2021-02-11T08:52:08.289Z] Step 14/21 : FROM ${BASE} [2021-02-11T08:52:08.289Z] ---> 5eabd8fd8ba2 [2021-02-11T08:52:08.289Z] Step 15/21 : LABEL maintainer="IOTech " [2021-02-11T08:52:08.289Z] ---> Running in 0501fa8d135f [2021-02-11T08:52:08.289Z] Removing intermediate container 0501fa8d135f [2021-02-11T08:52:08.289Z] ---> 614fc2781ede [2021-02-11T08:52:08.289Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-02-11T08:52:08.289Z] ---> Running in 9e0988436116 [2021-02-11T08:52:08.299Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-11T08:52:08.865Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-11T08:52:09.441Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-11T08:52:09.703Z] (1/3) Installing curl (7.64.0-r5) [2021-02-11T08:52:09.703Z] (2/3) Installing libuuid (2.33-r0) [2021-02-11T08:52:09.965Z] (3/3) Installing wget (1.20.3-r0) [2021-02-11T08:52:09.965Z] Executing busybox-1.29.3-r10.trigger [2021-02-11T08:52:09.965Z] OK: 268 MiB in 78 packages [2021-02-11T08:52:10.264Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-11T08:52:10.535Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-11T08:52:10.540Z] Removing intermediate container 9e0988436116 [2021-02-11T08:52:10.540Z] ---> d4227fa9d553 [2021-02-11T08:52:10.540Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-02-11T08:52:10.540Z] ---> e38cd05b7689 [2021-02-11T08:52:10.540Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-02-11T08:52:10.803Z] ---> 684b0118c123 [2021-02-11T08:52:10.803Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-02-11T08:52:11.066Z] ---> 98bfc71371f4 [2021-02-11T08:52:11.066Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-02-11T08:52:11.328Z] ---> 1936fd23add4 [2021-02-11T08:52:11.328Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-02-11T08:52:11.510Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-11T08:52:11.591Z] ---> f2d908ad9df2 [2021-02-11T08:52:11.591Z] Successfully built f2d908ad9df2 [2021-02-11T08:52:11.591Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-02-11T08:52:11.783Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-11T08:52:12.238Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-11T08:52:12.238Z] . [Pipeline] withDockerContainer [2021-02-11T08:52:12.508Z] prd-centos7-docker-4c-2g-26076 does not seem to be running inside a container [2021-02-11T08:52:12.610Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/54 -v /w/workspace/device-sdk-c/54:/w/workspace/device-sdk-c/54:rw,z -v /w/workspace/device-sdk-c/54@tmp:/w/workspace/device-sdk-c/54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-11T08:52:13.223Z] $ docker top 36978ab837ed42c93d1b4cf1e4632b1619b3cdcf3ac3914cea1dd5ed84fafb04 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-11T08:52:13.712Z] + make test [2021-02-11T08:52:13.712Z] echo "make test" [2021-02-11T08:52:13.712Z] make test [Pipeline] } [2021-02-11T08:52:13.725Z] $ docker stop --time=1 36978ab837ed42c93d1b4cf1e4632b1619b3cdcf3ac3914cea1dd5ed84fafb04 [2021-02-11T08:52:15.056Z] $ docker rm -f 36978ab837ed42c93d1b4cf1e4632b1619b3cdcf3ac3914cea1dd5ed84fafb04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-02-11T08:52:16.179Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-11T08:52:16.812Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-11T08:52:17.437Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-11T08:52:17.714Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [Pipeline] sh [2021-02-11T08:52:18.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-11T08:52:18.563Z] + ls -al . [2021-02-11T08:52:18.563Z] total 160 [2021-02-11T08:52:18.563Z] drwxrwxr-x. 8 jenkins jenkins 260 Feb 11 08:51 . [2021-02-11T08:52:18.563Z] drwxrwxr-x. 4 jenkins jenkins 30 Feb 11 08:51 .. [2021-02-11T08:52:18.563Z] -rw-rw-r--. 1 jenkins jenkins 3104 Feb 11 08:51 Attribution.txt [2021-02-11T08:52:18.563Z] -rw-rw-r--. 1 jenkins jenkins 6490 Feb 11 08:51 CHANGES [2021-02-11T08:52:18.563Z] drwxrwxr-x. 2 jenkins jenkins 144 Feb 11 08:51 docs [2021-02-11T08:52:18.563Z] -rw-rw-r--. 1 jenkins jenkins 108574 Feb 11 08:51 Doxyfile [2021-02-11T08:52:18.563Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 11 08:51 .git [2021-02-11T08:52:18.563Z] drwxrwxr-x. 2 jenkins jenkins 81 Feb 11 08:51 .github [2021-02-11T08:52:18.563Z] -rw-rw-r--. 1 jenkins jenkins 176 Feb 11 08:51 .gitignore [2021-02-11T08:52:18.563Z] drwxrwxr-x. 4 jenkins jenkins 33 Feb 11 08:51 include [2021-02-11T08:52:18.563Z] -rw-rw-r--. 1 jenkins jenkins 784 Feb 11 08:51 Jenkinsfile [2021-02-11T08:52:18.563Z] -rw-rw-r--. 1 jenkins jenkins 10174 Feb 11 08:51 LICENSE [2021-02-11T08:52:18.563Z] -rw-rw-r--. 1 jenkins jenkins 449 Feb 11 08:51 Makefile [2021-02-11T08:52:18.563Z] -rw-rw-r--. 1 jenkins jenkins 2697 Feb 11 08:51 README.md [2021-02-11T08:52:18.563Z] -rw-rw-r--. 1 jenkins jenkins 6378 Feb 11 08:51 README.v2.md [2021-02-11T08:52:18.563Z] drwxrwxr-x. 2 jenkins jenkins 98 Feb 11 08:51 scripts [2021-02-11T08:52:18.563Z] drwxrwxr-x. 4 jenkins jenkins 50 Feb 11 08:51 src [2021-02-11T08:52:18.563Z] -rw-rw-r--. 1 jenkins jenkins 11 Feb 11 08:48 VERSION [Pipeline] isUnix [Pipeline] sh [2021-02-11T08:52:18.689Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-11T08:52:18.875Z] + 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=6cbfd1af5056d6411228be46727e6a6bc359e529 --label arch=amd64 --label version=1.3.2-dev.2 . [2021-02-11T08:52:19.137Z] Sending build context to Docker daemon 2.381MB [2021-02-11T08:52:19.137Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-02-11T08:52:19.137Z] Step 2/15 : FROM ${BASE} [2021-02-11T08:52:19.137Z] ---> f2d908ad9df2 [2021-02-11T08:52:19.137Z] Step 3/15 : LABEL maintainer="IOTech " [2021-02-11T08:52:19.400Z] ---> Running in 9d375d88246c [2021-02-11T08:52:19.664Z] Removing intermediate container 9d375d88246c [2021-02-11T08:52:19.664Z] ---> 78790de293c0 [2021-02-11T08:52:19.664Z] 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-11T08:52:19.664Z] ---> Running in 1c4a972f681f [2021-02-11T08:52:20.116Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-11T08:52:20.615Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-11T08:52:21.545Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-11T08:52:22.542Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-11T08:52:23.502Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-11T08:52:23.502Z] (2/6) Installing libblkid (2.33-r0) [2021-02-11T08:52:23.769Z] (3/6) Installing libfdisk (2.33-r0) [2021-02-11T08:52:24.038Z] (4/6) Installing libmount (2.33-r0) [2021-02-11T08:52:24.308Z] (5/6) Installing libsmartcols (2.33-r0) [2021-02-11T08:52:24.577Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-02-11T08:52:24.930Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-11T08:52:25.203Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-11T08:52:25.529Z] Executing busybox-1.29.3-r10.trigger [2021-02-11T08:52:25.529Z] OK: 272 MiB in 84 packages [2021-02-11T08:52:25.797Z] [ 73%] Linking C shared library libcsdk.so [2021-02-11T08:52:25.797Z] [ 73%] Built target csdk [2021-02-11T08:52:25.798Z] Scanning dependencies of target template [2021-02-11T08:52:25.798Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-11T08:52:26.395Z] [ 76%] Linking C executable template [2021-02-11T08:52:26.475Z] Removing intermediate container 1c4a972f681f [2021-02-11T08:52:26.475Z] ---> f760733b0456 [2021-02-11T08:52:26.475Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-02-11T08:52:26.475Z] ---> b8039658953f [2021-02-11T08:52:26.476Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-02-11T08:52:26.672Z] [ 76%] Built target template [2021-02-11T08:52:26.672Z] Scanning dependencies of target device-counter [2021-02-11T08:52:26.672Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-11T08:52:27.055Z] ---> 07a2a0c656a6 [2021-02-11T08:52:27.055Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-02-11T08:52:27.267Z] [ 80%] Linking C executable device-counter [2021-02-11T08:52:27.317Z] ---> 6cd2e3f626fa [2021-02-11T08:52:27.317Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-02-11T08:52:27.538Z] [ 80%] Built target device-counter [2021-02-11T08:52:27.538Z] Scanning dependencies of target device-random [2021-02-11T08:52:27.538Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-11T08:52:27.579Z] ---> d15c0b52b67d [2021-02-11T08:52:27.579Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-02-11T08:52:27.841Z] ---> 66cdeb0b6134 [2021-02-11T08:52:27.841Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-02-11T08:52:28.103Z] ---> 0c149cf5be58 [2021-02-11T08:52:28.103Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-02-11T08:52:28.103Z] ---> Running in dc94317c7273 [2021-02-11T08:52:28.133Z] [ 83%] Linking C executable device-random [2021-02-11T08:52:28.133Z] [ 83%] Built target device-random [2021-02-11T08:52:28.133Z] Scanning dependencies of target device-gyro [2021-02-11T08:52:28.133Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-11T08:52:28.367Z] Removing intermediate container dc94317c7273 [2021-02-11T08:52:28.367Z] ---> bd9a2d991dd4 [2021-02-11T08:52:28.367Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-02-11T08:52:28.367Z] ---> Running in 43cf57acdc16 [2021-02-11T08:52:28.630Z] Removing intermediate container 43cf57acdc16 [2021-02-11T08:52:28.630Z] ---> 28d80a34a346 [2021-02-11T08:52:28.630Z] Step 13/15 : LABEL arch=amd64 [2021-02-11T08:52:28.630Z] ---> Running in 44f968252059 [2021-02-11T08:52:28.744Z] [ 86%] Linking C executable device-gyro [2021-02-11T08:52:28.744Z] [ 86%] Built target device-gyro [2021-02-11T08:52:28.744Z] Scanning dependencies of target device-bitfields [2021-02-11T08:52:28.892Z] Removing intermediate container 44f968252059 [2021-02-11T08:52:28.892Z] ---> 18d0d43fe3bf [2021-02-11T08:52:28.892Z] Step 14/15 : LABEL git_sha=6cbfd1af5056d6411228be46727e6a6bc359e529 [2021-02-11T08:52:28.892Z] ---> Running in 96a19a527bfb [2021-02-11T08:52:29.014Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-11T08:52:29.287Z] [ 90%] Linking C executable device-bitfields [2021-02-11T08:52:29.466Z] Removing intermediate container 96a19a527bfb [2021-02-11T08:52:29.466Z] ---> 6d57e12f77c2 [2021-02-11T08:52:29.466Z] Step 15/15 : LABEL version=1.3.2-dev.2 [2021-02-11T08:52:29.466Z] ---> Running in bfc2e42e0abf [2021-02-11T08:52:29.466Z] Removing intermediate container bfc2e42e0abf [2021-02-11T08:52:29.466Z] ---> fd08be582b90 [2021-02-11T08:52:29.559Z] [ 90%] Built target device-bitfields [2021-02-11T08:52:29.559Z] Scanning dependencies of target template-discovery [2021-02-11T08:52:29.559Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-11T08:52:29.728Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-02-11T08:52:29.728Z] Successfully built fd08be582b90 [2021-02-11T08:52:29.728Z] 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] } [2021-02-11T08:52:30.156Z] [ 93%] Linking C executable template-discovery [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2021-02-11T08:52:30.427Z] [ 93%] Built target template-discovery [2021-02-11T08:52:30.427Z] Scanning dependencies of target device-file [2021-02-11T08:52:30.427Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2021-02-11T08:52:31.031Z] [ 96%] Linking C executable device-file [Pipeline] } [2021-02-11T08:52:31.306Z] [ 96%] Built target device-file [2021-02-11T08:52:31.306Z] Scanning dependencies of target device-terminal [2021-02-11T08:52:31.306Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-11T08:52:31.896Z] [100%] Linking C executable device-terminal [2021-02-11T08:52:32.169Z] [100%] Built target device-terminal [2021-02-11T08:52:32.169Z] + + teemake -a package [2021-02-11T08:52:32.169Z] release.log [2021-02-11T08:52:32.169Z] [ 73%] Built target csdk [2021-02-11T08:52:32.169Z] [ 76%] Built target template [2021-02-11T08:52:32.169Z] [ 80%] Built target device-counter [2021-02-11T08:52:32.440Z] [ 83%] Built target device-random [2021-02-11T08:52:32.440Z] [ 86%] Built target device-gyro [2021-02-11T08:52:32.440Z] [ 90%] Built target device-bitfields [2021-02-11T08:52:32.440Z] [ 93%] Built target template-discovery [2021-02-11T08:52:32.440Z] [ 96%] Built target device-file [2021-02-11T08:52:32.440Z] [100%] Built target device-terminal [2021-02-11T08:52:32.440Z] Run CPack packaging tool... [2021-02-11T08:52:32.710Z] CPack: Create package using TGZ [2021-02-11T08:52:32.711Z] CPack: Install projects [2021-02-11T08:52:32.711Z] CPack: - Run preinstall target for: Csdk [2021-02-11T08:52:32.981Z] CPack: - Install project: Csdk [2021-02-11T08:52:33.254Z] CPack: Create package [2021-02-11T08:52:33.254Z] CPack: - package: /tmp/sdk/build/release/csdk-1.3.2-dev.2.tar.gz generated. [2021-02-11T08:52:33.254Z] + '[' false '=' true ] [2021-02-11T08:52:33.254Z] + '[' false '=' true ] [2021-02-11T08:52:33.254Z] + mkdir -p /tmp/sdk/build/debug [2021-02-11T08:52:33.254Z] + cd /tmp/sdk/build/debug [2021-02-11T08:52:33.254Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-02-11T08:52:33.527Z] -- The C compiler identification is GNU 8.3.0 [2021-02-11T08:52:33.527Z] -- Check for working C compiler: /usr/bin/cc [2021-02-11T08:52:33.799Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-11T08:52:33.799Z] -- Detecting C compiler ABI info [2021-02-11T08:52:34.069Z] -- Detecting C compiler ABI info - done [2021-02-11T08:52:34.069Z] -- Detecting C compile features [2021-02-11T08:52:35.044Z] -- Detecting C compile features - done [2021-02-11T08:52:35.045Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-11T08:52:35.045Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-11T08:52:35.045Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-11T08:52:35.045Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-11T08:52:35.045Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-11T08:52:35.045Z] -- C SDK 1.3.2-dev.2 for Linux [2021-02-11T08:52:35.045Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-11T08:52:35.045Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-11T08:52:35.045Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-11T08:52:35.317Z] -- Configuring done [2021-02-11T08:52:35.588Z] -- Generating done [2021-02-11T08:52:35.588Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-02-11T08:52:35.588Z] + make [2021-02-11T08:52:35.588Z] + tee debug.log [2021-02-11T08:52:35.588Z] Scanning dependencies of target csdk [2021-02-11T08:52:35.860Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-11T08:52:36.134Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2021-02-11T08:52:36.406Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-11T08:52:36.679Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-11T08:52:37.272Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-11T08:52:37.543Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-11T08:52:37.816Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-11T08:52:38.087Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-11T08:52:38.684Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-11T08:52:38.956Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-11T08:52:39.551Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-11T08:52:39.823Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-11T08:52:40.095Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-11T08:52:40.095Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-11T08:52:40.367Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-11T08:52:41.341Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-11T08:52:41.341Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-11T08:52:41.611Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-11T08:52:41.882Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-11T08:52:42.152Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-11T08:52:43.126Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-11T08:52:43.126Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-11T08:52:43.126Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-11T08:52:43.399Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-11T08:52:43.669Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-11T08:52:43.942Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-11T08:52:44.214Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-11T08:52:44.486Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-11T08:52:44.758Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-11T08:52:44.759Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-11T08:52:45.349Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-11T08:52:45.349Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-11T08:52:45.942Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-11T08:52:46.215Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-11T08:52:47.187Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-11T08:52:47.460Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-11T08:52:47.734Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-11T08:52:47.734Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-11T08:52:48.333Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-11T08:52:48.927Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-11T08:52:49.520Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-11T08:52:50.494Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-11T08:52:50.494Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-11T08:52:50.765Z] [ 73%] Linking C shared library libcsdk.so [2021-02-11T08:52:51.036Z] [ 73%] Built target csdk [2021-02-11T08:52:51.036Z] Scanning dependencies of target template [2021-02-11T08:52:51.036Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-11T08:52:51.308Z] [ 76%] Linking C executable template [2021-02-11T08:52:51.584Z] [ 76%] Built target template [2021-02-11T08:52:51.584Z] Scanning dependencies of target device-counter [2021-02-11T08:52:51.584Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-11T08:52:51.856Z] [ 80%] Linking C executable device-counter [2021-02-11T08:52:52.128Z] [ 80%] Built target device-counter [2021-02-11T08:52:52.128Z] Scanning dependencies of target device-random [2021-02-11T08:52:52.128Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-11T08:52:52.401Z] [ 83%] Linking C executable device-random [2021-02-11T08:52:52.673Z] [ 83%] Built target device-random [2021-02-11T08:52:52.673Z] Scanning dependencies of target device-gyro [2021-02-11T08:52:52.673Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-11T08:52:52.944Z] [ 86%] Linking C executable device-gyro [2021-02-11T08:52:52.944Z] [ 86%] Built target device-gyro [2021-02-11T08:52:53.216Z] Scanning dependencies of target device-bitfields [2021-02-11T08:52:53.216Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-11T08:52:53.216Z] [ 90%] Linking C executable device-bitfields [2021-02-11T08:52:53.490Z] [ 90%] Built target device-bitfields [2021-02-11T08:52:53.490Z] Scanning dependencies of target template-discovery [2021-02-11T08:52:53.490Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-11T08:52:54.085Z] [ 93%] Linking C executable template-discovery [2021-02-11T08:52:54.085Z] [ 93%] Built target template-discovery [2021-02-11T08:52:54.085Z] Scanning dependencies of target device-file [2021-02-11T08:52:54.085Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-11T08:52:54.358Z] [ 96%] Linking C executable device-file [2021-02-11T08:52:54.632Z] [ 96%] Built target device-file [2021-02-11T08:52:54.632Z] Scanning dependencies of target device-terminal [2021-02-11T08:52:54.632Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-11T08:52:54.903Z] [100%] Linking C executable device-terminal [2021-02-11T08:52:55.175Z] [100%] Built target device-terminal [2021-02-11T08:52:55.175Z] make: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.447Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.447Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.447Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.447Z] [ 73%] Built target csdk [2021-02-11T08:52:55.447Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.447Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.447Z] [ 76%] Built target template [2021-02-11T08:52:55.447Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.447Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.447Z] [ 80%] Built target device-counter [2021-02-11T08:52:55.447Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.447Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.447Z] [ 83%] Built target device-random [2021-02-11T08:52:55.447Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.447Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.447Z] [ 86%] Built target device-gyro [2021-02-11T08:52:55.720Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.720Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.720Z] [ 90%] Built target device-bitfields [2021-02-11T08:52:55.720Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.720Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.720Z] [ 93%] Built target template-discovery [2021-02-11T08:52:55.720Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.720Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.720Z] [ 96%] Built target device-file [2021-02-11T08:52:55.720Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.720Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.720Z] [100%] Built target device-terminal [2021-02-11T08:52:55.720Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:55.720Z] Install the project... [2021-02-11T08:52:55.720Z] -- Install configuration: "Release" [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/lib/libcsdk.so [2021-02-11T08:52:55.720Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-02-11T08:52:55.720Z] -- Up-to-date: /usr/local/include [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/edgex [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/edgex/error.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/edgex/devices.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/edgex/os.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/devsdk [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/json.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/container.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/component.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/typecode.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/iot.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/time.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/hash.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/logger.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/os [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/data.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/thread.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/os.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/base64.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/defs.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/include/iot/config.h [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-02-11T08:52:55.720Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-02-11T08:52:55.720Z] make: Leaving directory '/tmp/sdk/build/release' [2021-02-11T08:52:58.340Z] Removing intermediate container 3b6eb80d3cc5 [2021-02-11T08:52:58.340Z] ---> 5221492a8784 [2021-02-11T08:52:58.340Z] Step 14/21 : FROM ${BASE} [2021-02-11T08:52:58.340Z] ---> b23d30803547 [2021-02-11T08:52:58.340Z] Step 15/21 : LABEL maintainer="IOTech " [2021-02-11T08:52:58.340Z] ---> Running in b3d20166eb64 [2021-02-11T08:52:58.613Z] Removing intermediate container b3d20166eb64 [2021-02-11T08:52:58.613Z] ---> 828ec8ff4434 [2021-02-11T08:52:58.613Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-02-11T08:52:58.613Z] ---> Running in d1c9bf2dcd4c [2021-02-11T08:53:00.046Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-11T08:53:01.479Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-11T08:53:02.449Z] (1/3) Installing curl (7.64.0-r5) [2021-02-11T08:53:02.718Z] (2/3) Installing libuuid (2.33-r0) [2021-02-11T08:53:02.718Z] (3/3) Installing wget (1.20.3-r0) [2021-02-11T08:53:02.987Z] Executing busybox-1.29.3-r10.trigger [2021-02-11T08:53:02.987Z] OK: 281 MiB in 78 packages [2021-02-11T08:53:04.414Z] Removing intermediate container d1c9bf2dcd4c [2021-02-11T08:53:04.414Z] ---> 749621dec61e [2021-02-11T08:53:04.414Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-02-11T08:53:05.006Z] ---> a72dee6cd1fe [2021-02-11T08:53:05.006Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-02-11T08:53:05.607Z] ---> 48bc5b06ace5 [2021-02-11T08:53:05.607Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-02-11T08:53:06.586Z] ---> 275c2b045a3d [2021-02-11T08:53:06.586Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-02-11T08:53:07.179Z] ---> ccc529965f3e [2021-02-11T08:53:07.179Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-02-11T08:53:07.772Z] ---> 00760b87fc92 [2021-02-11T08:53:07.772Z] Successfully built 00760b87fc92 [2021-02-11T08:53:07.772Z] 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-11T08:53:08.473Z] + docker inspect -f . ci-base-image-arm64 [2021-02-11T08:53:08.473Z] . [Pipeline] withDockerContainer [2021-02-11T08:53:08.727Z] prd-ubuntu18.04-docker-arm64-4c-16g-26075 does not seem to be running inside a container [2021-02-11T08:53:08.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/54 -v /w/workspace/device-sdk-c/54:/w/workspace/device-sdk-c/54:rw,z -v /w/workspace/device-sdk-c/54@tmp:/w/workspace/device-sdk-c/54@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-arm64 cat [2021-02-11T08:53:10.390Z] $ docker top 9020efa2e0a32f20e880e65e4a53c0c7528e78d38f9b1a90dd1c5cee8bc20c12 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-11T08:53:11.496Z] + make test [2021-02-11T08:53:11.496Z] echo "make test" [2021-02-11T08:53:11.496Z] make test [Pipeline] } [2021-02-11T08:53:11.526Z] $ docker stop --time=1 9020efa2e0a32f20e880e65e4a53c0c7528e78d38f9b1a90dd1c5cee8bc20c12 [2021-02-11T08:53:13.468Z] $ docker rm -f 9020efa2e0a32f20e880e65e4a53c0c7528e78d38f9b1a90dd1c5cee8bc20c12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-11T08:53:14.438Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-11T08:53:14.777Z] + ls -al . [2021-02-11T08:53:14.777Z] total 192 [2021-02-11T08:53:14.777Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 11 08:50 . [2021-02-11T08:53:14.777Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 11 08:50 .. [2021-02-11T08:53:14.777Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 11 08:50 .git [2021-02-11T08:53:14.777Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 11 08:50 .github [2021-02-11T08:53:14.777Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 11 08:50 .gitignore [2021-02-11T08:53:14.777Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 11 08:50 Attribution.txt [2021-02-11T08:53:14.777Z] -rw-rw-r-- 1 jenkins jenkins 6490 Feb 11 08:50 CHANGES [2021-02-11T08:53:14.777Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 11 08:50 Doxyfile [2021-02-11T08:53:14.777Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 11 08:50 Jenkinsfile [2021-02-11T08:53:14.777Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 11 08:50 LICENSE [2021-02-11T08:53:14.777Z] -rw-rw-r-- 1 jenkins jenkins 449 Feb 11 08:50 Makefile [2021-02-11T08:53:14.777Z] -rw-rw-r-- 1 jenkins jenkins 2697 Feb 11 08:50 README.md [2021-02-11T08:53:14.777Z] -rw-rw-r-- 1 jenkins jenkins 6378 Feb 11 08:50 README.v2.md [2021-02-11T08:53:14.777Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 11 08:48 VERSION [2021-02-11T08:53:14.777Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 11 08:50 docs [2021-02-11T08:53:14.777Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 11 08:50 include [2021-02-11T08:53:14.777Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 11 08:50 scripts [2021-02-11T08:53:14.777Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 11 08:50 src [Pipeline] isUnix [Pipeline] sh [2021-02-11T08:53:15.122Z] + 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=6cbfd1af5056d6411228be46727e6a6bc359e529 --label arch=arm64 --label version=1.3.2-dev.2 . [2021-02-11T08:53:15.727Z] Sending build context to Docker daemon 2.38MB [2021-02-11T08:53:15.727Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-02-11T08:53:15.727Z] Step 2/15 : FROM ${BASE} [2021-02-11T08:53:15.727Z] ---> 00760b87fc92 [2021-02-11T08:53:15.727Z] Step 3/15 : LABEL maintainer="IOTech " [2021-02-11T08:53:15.727Z] ---> Running in d87d41e994f1 [2021-02-11T08:53:16.321Z] Removing intermediate container d87d41e994f1 [2021-02-11T08:53:16.321Z] ---> 1b26ee57b450 [2021-02-11T08:53:16.321Z] 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-11T08:53:16.321Z] ---> Running in 5784eeab35bc [2021-02-11T08:53:17.294Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-11T08:53:18.719Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-11T08:53:19.687Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-11T08:53:19.687Z] (2/6) Installing libblkid (2.33-r0) [2021-02-11T08:53:19.955Z] (3/6) Installing libfdisk (2.33-r0) [2021-02-11T08:53:20.224Z] (4/6) Installing libmount (2.33-r0) [2021-02-11T08:53:20.224Z] (5/6) Installing libsmartcols (2.33-r0) [2021-02-11T08:53:20.493Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-02-11T08:53:21.462Z] Executing busybox-1.29.3-r10.trigger [2021-02-11T08:53:21.462Z] OK: 286 MiB in 84 packages [2021-02-11T08:53:22.901Z] Removing intermediate container 5784eeab35bc [2021-02-11T08:53:22.901Z] ---> a142698f40ae [2021-02-11T08:53:22.901Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-02-11T08:53:23.493Z] ---> 8f1c86d3c38c [2021-02-11T08:53:23.493Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-02-11T08:53:24.469Z] ---> 14b6dffb0e59 [2021-02-11T08:53:24.469Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-02-11T08:53:25.061Z] ---> 079a5b128f28 [2021-02-11T08:53:25.061Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-02-11T08:53:25.654Z] ---> 938583b4dedc [2021-02-11T08:53:25.654Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-02-11T08:53:26.629Z] ---> 7e3e85b03f45 [2021-02-11T08:53:26.629Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-02-11T08:53:27.224Z] ---> 133fb361a299 [2021-02-11T08:53:27.224Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-02-11T08:53:27.224Z] ---> Running in a6e0a2694aa2 [2021-02-11T08:53:27.819Z] Removing intermediate container a6e0a2694aa2 [2021-02-11T08:53:27.819Z] ---> 00df5d9abfa3 [2021-02-11T08:53:27.819Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-02-11T08:53:28.091Z] ---> Running in 84af6ff2ef57 [2021-02-11T08:53:28.365Z] Removing intermediate container 84af6ff2ef57 [2021-02-11T08:53:28.365Z] ---> 00fa92d8ac49 [2021-02-11T08:53:28.365Z] Step 13/15 : LABEL arch=arm64 [2021-02-11T08:53:28.636Z] ---> Running in 37309b77829a [2021-02-11T08:53:29.232Z] Removing intermediate container 37309b77829a [2021-02-11T08:53:29.232Z] ---> ca147f86aaef [2021-02-11T08:53:29.232Z] Step 14/15 : LABEL git_sha=6cbfd1af5056d6411228be46727e6a6bc359e529 [2021-02-11T08:53:29.232Z] ---> Running in 81d4acc6fdc2 [2021-02-11T08:53:29.828Z] Removing intermediate container 81d4acc6fdc2 [2021-02-11T08:53:29.828Z] ---> a7142f58a020 [2021-02-11T08:53:29.828Z] Step 15/15 : LABEL version=1.3.2-dev.2 [2021-02-11T08:53:29.828Z] ---> Running in c0fcec92a46f [2021-02-11T08:53:30.423Z] Removing intermediate container c0fcec92a46f [2021-02-11T08:53:30.423Z] ---> e044c932d904 [2021-02-11T08:53:30.423Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-02-11T08:53:30.423Z] Successfully built e044c932d904 [2021-02-11T08:53:30.423Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2021-02-11T08:53:32.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-11T08:53:32.320Z] . [Pipeline] withDockerContainer [2021-02-11T08:53:32.422Z] prd-centos7-docker-4c-2g-26074 does not seem to be running inside a container [2021-02-11T08:53:32.471Z] $ 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-11T08:53:33.329Z] $ docker top 04925332e5d8795d89224ae683374b90b33c6b62daad2252b275907096097106 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-11T08:53:33.600Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-11T08:53:33.600Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-11T08:53:33.828Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-11T08:53:33.831Z] $ docker exec 04925332e5d8795d89224ae683374b90b33c6b62daad2252b275907096097106 ssh-agent [2021-02-11T08:53:33.995Z] SSH_AUTH_SOCK=/tmp/ssh-W2izbBivdXX7/agent.13 [2021-02-11T08:53:33.995Z] SSH_AGENT_PID=18 [2021-02-11T08:53:34.003Z] Running ssh-add (command line suppressed) [2021-02-11T08:53:34.123Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_190867713321713758.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_190867713321713758.key) [2021-02-11T08:53:34.175Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-11T08:53:34.509Z] + git semver tag [2021-02-11T08:53:34.509Z] # -> Open(): unable to determine branch for HEAD [2021-02-11T08:53:34.509Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2021-02-11T08:53:34.509Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2021-02-11T08:53:34.509Z] # $SEMVER_REMOTE_NAME = origin [2021-02-11T08:53:34.509Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-11T08:53:34.509Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-11T08:53:34.509Z] # $SEMVER_BRANCH = master [2021-02-11T08:53:34.509Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2021-02-11T08:53:34.509Z] # 6cbfd1af5056d6411228be46727e6a6bc359e529 HEAD [2021-02-11T08:53:34.509Z] # -> Force: false [2021-02-11T08:53:34.509Z] # 7936891b65343d2188e865c3becfeca54581abe4 refs/tags/v1.3.2-dev.2 [Pipeline] } [2021-02-11T08:53:34.522Z] $ docker exec --env ******** --env ******** 04925332e5d8795d89224ae683374b90b33c6b62daad2252b275907096097106 ssh-agent -k [2021-02-11T08:53:34.638Z] unset SSH_AUTH_SOCK; [2021-02-11T08:53:34.639Z] unset SSH_AGENT_PID; [2021-02-11T08:53:34.639Z] echo Agent pid 18 killed; [2021-02-11T08:53:34.685Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-11T08:53:35.146Z] + git semver [Pipeline] } [2021-02-11T08:53:35.164Z] $ docker stop --time=1 04925332e5d8795d89224ae683374b90b33c6b62daad2252b275907096097106 [2021-02-11T08:53:36.510Z] $ docker rm -f 04925332e5d8795d89224ae683374b90b33c6b62daad2252b275907096097106 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-11T08:53:37.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-11T08:53:37.123Z] [2021-02-11T08:53:37.123Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-11T08:53:37.478Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-11T08:53:37.478Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-11T08:53:37.478Z] ab5ef0e58194: Pulling fs layer [2021-02-11T08:53:37.478Z] 9712f1f96733: Pulling fs layer [2021-02-11T08:53:37.478Z] 63f879dbbcfc: Pulling fs layer [2021-02-11T08:53:37.478Z] 0d9ebad4ef96: Pulling fs layer [2021-02-11T08:53:37.478Z] e9a5061849ea: Pulling fs layer [2021-02-11T08:53:37.478Z] d747dcd14b5f: Pulling fs layer [2021-02-11T08:53:37.478Z] 2de7ff778b66: Pulling fs layer [2021-02-11T08:53:37.478Z] 0d9ebad4ef96: Waiting [2021-02-11T08:53:37.478Z] e9a5061849ea: Waiting [2021-02-11T08:53:37.478Z] d747dcd14b5f: Waiting [2021-02-11T08:53:37.478Z] 2de7ff778b66: Waiting [2021-02-11T08:53:37.478Z] 9712f1f96733: Verifying Checksum [2021-02-11T08:53:37.478Z] 9712f1f96733: Download complete [2021-02-11T08:53:40.041Z] 63f879dbbcfc: Verifying Checksum [2021-02-11T08:53:40.041Z] 63f879dbbcfc: Download complete [2021-02-11T08:53:40.041Z] e9a5061849ea: Verifying Checksum [2021-02-11T08:53:40.041Z] e9a5061849ea: Download complete [2021-02-11T08:53:40.041Z] d747dcd14b5f: Download complete [2021-02-11T08:53:40.307Z] 2de7ff778b66: Verifying Checksum [2021-02-11T08:53:40.307Z] 2de7ff778b66: Download complete [2021-02-11T08:53:40.307Z] 0d9ebad4ef96: Verifying Checksum [2021-02-11T08:53:40.307Z] 0d9ebad4ef96: Download complete [2021-02-11T08:53:40.570Z] ab5ef0e58194: Download complete [2021-02-11T08:53:44.830Z] ab5ef0e58194: Pull complete [2021-02-11T08:53:45.093Z] 9712f1f96733: Pull complete [2021-02-11T08:53:48.418Z] 63f879dbbcfc: Pull complete [2021-02-11T08:53:55.092Z] 0d9ebad4ef96: Pull complete [2021-02-11T08:53:56.484Z] e9a5061849ea: Pull complete [2021-02-11T08:53:56.748Z] d747dcd14b5f: Pull complete [2021-02-11T08:53:59.310Z] 2de7ff778b66: Pull complete [2021-02-11T08:53:59.310Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-11T08:53:59.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-11T08:53:59.310Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-11T08:53:59.513Z] prd-centos7-docker-4c-2g-26074 does not seem to be running inside a container [2021-02-11T08:53:59.561Z] $ 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-11T08:54:03.326Z] $ docker top 0e3d2c9b3d578ede284e31fa91972ab39be2fe88e55285bc3053316c38cdc611 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-11T08:54:03.552Z] provisioning config files... [2021-02-11T08:54:03.566Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config3554661025561347068tmp [2021-02-11T08:54:03.581Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config2011400969120619926tmp [2021-02-11T08:54:03.601Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config6852082693884573065tmp [Pipeline] { [Pipeline] echo [2021-02-11T08:54:03.652Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T08:54:03.957Z] ---> sigul-configuration.sh [2021-02-11T08:54:03.957Z] gpg: directory `/root/.gnupg' created [2021-02-11T08:54:03.957Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-11T08:54:03.957Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-11T08:54:03.957Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-11T08:54:03.957Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-11T08:54:03.957Z] gpg: CAST5 encrypted data [2021-02-11T08:54:04.219Z] gpg: encrypted with 1 passphrase [2021-02-11T08:54:04.219Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-11T08:54:04.520Z] + mkdir /home/jenkins [2021-02-11T08:54:04.520Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-11T08:54:04.819Z] + 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-11T08:54:04.831Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T08:54:05.128Z] ---> sigul-install.sh [2021-02-11T08:54:15.154Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-11T08:54:15.454Z] + git tag --list [2021-02-11T08:54:15.454Z] 0.7.0 [2021-02-11T08:54:15.454Z] 0.7.1 [2021-02-11T08:54:15.454Z] 1.0.0 [2021-02-11T08:54:15.454Z] v1.0.1 [2021-02-11T08:54:15.454Z] v1.0.2 [2021-02-11T08:54:15.454Z] v1.0.3 [2021-02-11T08:54:15.454Z] v1.1.0 [2021-02-11T08:54:15.454Z] v1.1.1 [2021-02-11T08:54:15.454Z] v1.2.0 [2021-02-11T08:54:15.454Z] v1.2.1 [2021-02-11T08:54:15.454Z] v1.2.2 [2021-02-11T08:54:15.454Z] v1.3.0 [2021-02-11T08:54:15.454Z] v1.3.1 [2021-02-11T08:54:15.454Z] v1.3.1-dev.1 [2021-02-11T08:54:15.454Z] v1.3.1-dev.2 [2021-02-11T08:54:15.454Z] v1.3.1-dev.3 [2021-02-11T08:54:15.454Z] v1.3.2-dev.1 [2021-02-11T08:54:15.454Z] v1.3.2-dev.2 [Pipeline] sh [2021-02-11T08:54:15.757Z] + lftools sign git-tag v1.3.2-dev.2 [2021-02-11T08:54:17.147Z] Signing Git tag with Sigul... [2021-02-11T08:54:17.147Z] Signing v1.3.2-dev.2 [Pipeline] echo [2021-02-11T08:57:38.939Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T08:57:39.570Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-11T08:57:39.587Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-11T08:57:39.695Z] $ docker stop --time=1 0e3d2c9b3d578ede284e31fa91972ab39be2fe88e55285bc3053316c38cdc611 [2021-02-11T08:57:41.144Z] $ docker rm -f 0e3d2c9b3d578ede284e31fa91972ab39be2fe88e55285bc3053316c38cdc611 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-11T08:57:42.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-11T08:57:42.098Z] . [Pipeline] withDockerContainer [2021-02-11T08:57:42.215Z] prd-centos7-docker-4c-2g-26074 does not seem to be running inside a container [2021-02-11T08:57:42.268Z] $ 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-11T08:57:43.088Z] $ docker top 8f9baedce0786417849dfca6bbbeee0dea629f4c06090be6c008cb154c861534 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-11T08:57:43.440Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-11T08:57:43.440Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-11T08:57:43.678Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-11T08:57:43.682Z] $ docker exec 8f9baedce0786417849dfca6bbbeee0dea629f4c06090be6c008cb154c861534 ssh-agent [2021-02-11T08:57:43.862Z] SSH_AUTH_SOCK=/tmp/ssh-JkTGrg64u3AD/agent.11 [2021-02-11T08:57:43.863Z] SSH_AGENT_PID=16 [2021-02-11T08:57:43.870Z] Running ssh-add (command line suppressed) [2021-02-11T08:57:43.999Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2440360915785022601.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2440360915785022601.key) [2021-02-11T08:57:44.056Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-11T08:57:44.395Z] + git semver bump pre [2021-02-11T08:57:44.659Z] # -> Open(): unable to determine branch for HEAD [2021-02-11T08:57:44.659Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2021-02-11T08:57:44.659Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2021-02-11T08:57:44.659Z] # $SEMVER_REMOTE_NAME = origin [2021-02-11T08:57:44.659Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-11T08:57:44.659Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-11T08:57:44.659Z] # $SEMVER_BRANCH = master [2021-02-11T08:57:44.659Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2021-02-11T08:57:44.659Z] 1.3.2-dev.3 [Pipeline] } [2021-02-11T08:57:44.672Z] $ docker exec --env ******** --env ******** 8f9baedce0786417849dfca6bbbeee0dea629f4c06090be6c008cb154c861534 ssh-agent -k [2021-02-11T08:57:44.797Z] unset SSH_AUTH_SOCK; [2021-02-11T08:57:44.797Z] unset SSH_AGENT_PID; [2021-02-11T08:57:44.797Z] echo Agent pid 16 killed; [2021-02-11T08:57:44.867Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-11T08:57:45.348Z] + git semver [Pipeline] } [2021-02-11T08:57:45.369Z] $ docker stop --time=1 8f9baedce0786417849dfca6bbbeee0dea629f4c06090be6c008cb154c861534 [2021-02-11T08:57:46.750Z] $ docker rm -f 8f9baedce0786417849dfca6bbbeee0dea629f4c06090be6c008cb154c861534 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-11T08:57:47.347Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-11T08:57:47.347Z] . [Pipeline] withDockerContainer [2021-02-11T08:57:47.454Z] prd-centos7-docker-4c-2g-26074 does not seem to be running inside a container [2021-02-11T08:57:47.512Z] $ 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-11T08:57:48.330Z] $ docker top e892a2c2492bcfae297bc683e85cf4897633791690be7c7d6fbed0a4671fb70d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-11T08:57:48.719Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-11T08:57:48.719Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-11T08:57:48.943Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-11T08:57:48.946Z] $ docker exec e892a2c2492bcfae297bc683e85cf4897633791690be7c7d6fbed0a4671fb70d ssh-agent [2021-02-11T08:57:49.130Z] SSH_AUTH_SOCK=/tmp/ssh-31eLxkVlXceC/agent.11 [2021-02-11T08:57:49.130Z] SSH_AGENT_PID=16 [2021-02-11T08:57:49.138Z] Running ssh-add (command line suppressed) [2021-02-11T08:57:49.266Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8203117822289395990.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8203117822289395990.key) [2021-02-11T08:57:49.325Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-11T08:57:49.668Z] + git semver push [2021-02-11T08:57:49.668Z] # -> Open(): unable to determine branch for HEAD [2021-02-11T08:57:49.668Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2021-02-11T08:57:49.668Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2021-02-11T08:57:49.668Z] # $SEMVER_REMOTE_NAME = origin [2021-02-11T08:57:49.668Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-11T08:57:49.668Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-11T08:57:49.668Z] # $SEMVER_BRANCH = master [2021-02-11T08:57:49.668Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2021-02-11T08:57:56.289Z] $ docker exec --env ******** --env ******** e892a2c2492bcfae297bc683e85cf4897633791690be7c7d6fbed0a4671fb70d ssh-agent -k [2021-02-11T08:57:56.429Z] unset SSH_AUTH_SOCK; [2021-02-11T08:57:56.429Z] unset SSH_AGENT_PID; [2021-02-11T08:57:56.429Z] echo Agent pid 16 killed; [2021-02-11T08:57:56.481Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-11T08:57:56.977Z] + git semver [Pipeline] } [2021-02-11T08:57:56.998Z] $ docker stop --time=1 e892a2c2492bcfae297bc683e85cf4897633791690be7c7d6fbed0a4671fb70d [2021-02-11T08:57:58.367Z] $ docker rm -f e892a2c2492bcfae297bc683e85cf4897633791690be7c7d6fbed0a4671fb70d [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-11T08:57:59.646Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T08:58:00.227Z] ---> package-listing.sh [2021-02-11T08:58:00.228Z] ++ facter osfamily [2021-02-11T08:58:00.228Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-11T08:58:00.228Z] + OS_FAMILY=redhat [2021-02-11T08:58:00.228Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_master [2021-02-11T08:58:00.228Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-11T08:58:00.228Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-11T08:58:00.228Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-11T08:58:00.228Z] + PACKAGES=/tmp/packages_start.txt [2021-02-11T08:58:00.228Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2021-02-11T08:58:00.228Z] + PACKAGES=/tmp/packages_end.txt [2021-02-11T08:58:00.228Z] + case "${OS_FAMILY}" in [2021-02-11T08:58:00.228Z] + rpm -qa [2021-02-11T08:58:00.228Z] + sort [2021-02-11T08:58:05.547Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-11T08:58:05.547Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-11T08:58:05.547Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-11T08:58:05.547Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2021-02-11T08:58:05.547Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [2021-02-11T08:58:05.547Z] + 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-11T08:58:05.563Z] 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-11T08:58:05.858Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-11T08:58:06.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-11T08:58:06.173Z] [2021-02-11T08:58:06.173Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-11T08:58:06.534Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-11T08:58:06.534Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-11T08:58:06.534Z] df20fa9351a1: Pulling fs layer [2021-02-11T08:58:06.534Z] 36b3adc4ff6f: Pulling fs layer [2021-02-11T08:58:06.534Z] 8ad3a11d3b57: Pulling fs layer [2021-02-11T08:58:06.534Z] 46f8f816bc3b: Pulling fs layer [2021-02-11T08:58:06.534Z] 93b61091891f: Pulling fs layer [2021-02-11T08:58:06.534Z] 93b9cdb0e59b: Pulling fs layer [2021-02-11T08:58:06.534Z] 5e14af77c1be: Pulling fs layer [2021-02-11T08:58:06.534Z] 01666e4c0597: Pulling fs layer [2021-02-11T08:58:06.534Z] aa168da1d23b: Pulling fs layer [2021-02-11T08:58:06.534Z] 93b61091891f: Waiting [2021-02-11T08:58:06.534Z] 93b9cdb0e59b: Waiting [2021-02-11T08:58:06.534Z] aa168da1d23b: Waiting [2021-02-11T08:58:06.534Z] 5e14af77c1be: Waiting [2021-02-11T08:58:06.534Z] 01666e4c0597: Waiting [2021-02-11T08:58:06.534Z] 46f8f816bc3b: Waiting [2021-02-11T08:58:06.534Z] 36b3adc4ff6f: Verifying Checksum [2021-02-11T08:58:06.534Z] 36b3adc4ff6f: Download complete [2021-02-11T08:58:06.534Z] 46f8f816bc3b: Verifying Checksum [2021-02-11T08:58:06.534Z] 46f8f816bc3b: Download complete [2021-02-11T08:58:06.797Z] df20fa9351a1: Verifying Checksum [2021-02-11T08:58:06.797Z] df20fa9351a1: Download complete [2021-02-11T08:58:06.797Z] 93b9cdb0e59b: Verifying Checksum [2021-02-11T08:58:06.797Z] 93b9cdb0e59b: Download complete [2021-02-11T08:58:06.797Z] 5e14af77c1be: Download complete [2021-02-11T08:58:06.797Z] 93b61091891f: Verifying Checksum [2021-02-11T08:58:06.797Z] 93b61091891f: Download complete [2021-02-11T08:58:06.797Z] 01666e4c0597: Download complete [2021-02-11T08:58:07.059Z] df20fa9351a1: Pull complete [2021-02-11T08:58:07.323Z] 36b3adc4ff6f: Pull complete [2021-02-11T08:58:07.587Z] 8ad3a11d3b57: Verifying Checksum [2021-02-11T08:58:07.587Z] 8ad3a11d3b57: Download complete [2021-02-11T08:58:08.547Z] 8ad3a11d3b57: Pull complete [2021-02-11T08:58:08.814Z] 46f8f816bc3b: Pull complete [2021-02-11T08:58:09.392Z] aa168da1d23b: Verifying Checksum [2021-02-11T08:58:09.392Z] aa168da1d23b: Download complete [2021-02-11T08:58:09.656Z] 93b61091891f: Pull complete [2021-02-11T08:58:09.656Z] 93b9cdb0e59b: Pull complete [2021-02-11T08:58:09.920Z] 5e14af77c1be: Pull complete [2021-02-11T08:58:09.920Z] 01666e4c0597: Pull complete [2021-02-11T08:58:16.768Z] aa168da1d23b: Pull complete [2021-02-11T08:58:16.768Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-11T08:58:16.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-11T08:58:16.768Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-11T08:58:17.018Z] prd-centos7-docker-4c-2g-26074 does not seem to be running inside a container [2021-02-11T08:58:17.072Z] $ 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-11T08:58:20.204Z] $ docker top 58b39a5215c903ae16b90963bc93032a593a6eb300800b332798b775eff42d93 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-11T08:58:20.813Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-11T08:58:21.119Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-11T08:58:21.425Z] + ls /var/log/sa-host [2021-02-11T08:58:21.426Z] + sadf -c /var/log/sa-host/sa11 [2021-02-11T08:58:21.426Z] file_magic: OK [2021-02-11T08:58:21.426Z] HZ: Using current value: 100 [2021-02-11T08:58:21.426Z] file_header: OK [2021-02-11T08:58:21.426Z] 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-11T08:58:21.426Z] Statistics: [2021-02-11T08:58:21.426Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-11T08:58:21.426Z] File successfully converted to sysstat format version 12.2.1 [2021-02-11T08:58:21.426Z] + sadf -c /var/log/sa-host/sa23 [2021-02-11T08:58:21.426Z] file_magic: OK [2021-02-11T08:58:21.426Z] HZ: Using current value: 100 [2021-02-11T08:58:21.426Z] file_header: OK [2021-02-11T08:58:21.426Z] 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-11T08:58:21.426Z] Statistics: [2021-02-11T08:58:21.426Z] Hnuu...uuuununununu... [2021-02-11T08:58:21.426Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-11T08:58:22.387Z] provisioning config files... [2021-02-11T08:58:22.407Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config5496517782692538654tmp [Pipeline] { [Pipeline] echo [2021-02-11T08:58:22.485Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T08:58:22.794Z] ---> create-netrc.sh [Pipeline] } [2021-02-11T08:58:22.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-11T08:58:22.905Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T08:58:23.209Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-11T08:58:23.220Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T08:58:23.518Z] ---> sudo-logs.sh [2021-02-11T08:58:23.519Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-11T08:58:23.532Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T08:58:23.833Z] ---> job-cost.sh [2021-02-11T08:58:23.833Z] lf-activate-venv: SKIPPING [2021-02-11T08:58:23.833Z] INFO: No Stack... [2021-02-11T08:58:24.782Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-11T08:58:25.359Z] INFO: Archiving Costs [Pipeline] echo [2021-02-11T08:58:25.376Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T08:58:25.680Z] ---> logs-deploy.sh [2021-02-11T08:58:25.680Z] lf-activate-venv: SKIPPING [2021-02-11T08:58:25.680Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/54 [2021-02-11T08:58:25.680Z] INFO: archiving workspace using pattern(s): [2021-02-11T08:58:27.076Z] Archives upload complete. [2021-02-11T08:58:27.341Z] INFO: archiving logs to Nexus