Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from eab06a1b74e5c881604e869fbb017afdf966c381 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 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-26502’ is offline Running on prd-centos7-docker-4c-2g-26505 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Checking out Revision eab06a1b74e5c881604e869fbb017afdf966c381 (master) > 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 eab06a1b74e5c881604e869fbb017afdf966c381 # timeout=10 Commit message: "fix: update v2 REST API with recent changes (#323)" > git rev-list --no-walk b1e46617e5a0ed805d96c3bfac3e1e8765df3ccd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-15T14:21:02.201Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-15T14:21:02.449Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-15T14:21:02.553Z] ========================================================= [2021-02-15T14:21:02.553Z] EdgeX Global Pipelines Version Info [2021-02-15T14:21:02.553Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:21:04.042Z] ------------------- [2021-02-15T14:21:04.043Z] stable info: [2021-02-15T14:21:04.043Z] ------------------- [2021-02-15T14:21:04.043Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-15T14:21:04.043Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-15T14:21:04.043Z] Message: update stable to v1.0.179 [2021-02-15T14:21:04.990Z] ------------------- [2021-02-15T14:21:04.990Z] experimental info: [2021-02-15T14:21:04.991Z] ------------------- [2021-02-15T14:21:04.991Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-15T14:21:04.991Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-15T14:21:04.991Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-15T14:21:05.253Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-02-15T14:21:05.345Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-02-15T14:21:05.460Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-15T14:21:05.612Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-15T14:21:05.694Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-15T14:21:05.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-02-15T14:21:05.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-02-15T14:21:05.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-02-15T14:21:06.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-15T14:21:06.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-02-15T14:21:06.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-15T14:21:06.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-15T14:21:06.384Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-15T14:21:06.469Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-15T14:21:06.554Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-15T14:21:06.635Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-15T14:21:06.746Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-15T14:21:06.829Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-15T14:21:06.955Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-15T14:21:07.049Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-15T14:21:07.133Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-15T14:21:07.218Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eab06a1b74e5c881604e869fbb017afdf966c381 [Pipeline] echo [2021-02-15T14:21:07.306Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eab06a1 [Pipeline] echo [2021-02-15T14:21:07.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-15T14:21:07.649Z] provisioning config files... [2021-02-15T14:21:07.677Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config203512853525874732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:21:08.030Z] ---> docker-login.sh [2021-02-15T14:21:08.030Z] nexus3.edgexfoundry.org:10001 [2021-02-15T14:21:08.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:21:08.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:21:08.554Z] Configure a credential helper to remove this warning. See [2021-02-15T14:21:08.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:21:08.554Z] [2021-02-15T14:21:08.554Z] Login Succeeded [2021-02-15T14:21:08.554Z] nexus3.edgexfoundry.org:10002 [2021-02-15T14:21:08.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:21:08.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:21:08.554Z] Configure a credential helper to remove this warning. See [2021-02-15T14:21:08.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:21:08.554Z] [2021-02-15T14:21:08.554Z] Login Succeeded [2021-02-15T14:21:08.554Z] nexus3.edgexfoundry.org:10003 [2021-02-15T14:21:08.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:21:08.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:21:08.817Z] Configure a credential helper to remove this warning. See [2021-02-15T14:21:08.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:21:08.817Z] [2021-02-15T14:21:08.818Z] Login Succeeded [2021-02-15T14:21:08.818Z] nexus3.edgexfoundry.org:10004 [2021-02-15T14:21:09.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:21:09.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:21:09.080Z] Configure a credential helper to remove this warning. See [2021-02-15T14:21:09.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:21:09.080Z] [2021-02-15T14:21:09.080Z] Login Succeeded [2021-02-15T14:21:09.080Z] docker.io [2021-02-15T14:21:09.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:21:09.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:21:09.342Z] Configure a credential helper to remove this warning. See [2021-02-15T14:21:09.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:21:09.342Z] [2021-02-15T14:21:09.342Z] Login Succeeded [2021-02-15T14:21:09.342Z] ---> docker-login.sh ends [Pipeline] } [2021-02-15T14:21:09.352Z] 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-15T14:21:10.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-15T14:21:10.313Z] [2021-02-15T14:21:10.313Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:21:10.697Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-15T14:21:10.697Z] latest: Pulling from edgex-devops/git-semver [2021-02-15T14:21:10.697Z] 31603596830f: Pulling fs layer [2021-02-15T14:21:10.697Z] 2a8b12db71e7: Pulling fs layer [2021-02-15T14:21:10.697Z] 6ca5941a6612: Pulling fs layer [2021-02-15T14:21:10.697Z] ecc8261a40a4: Pulling fs layer [2021-02-15T14:21:10.697Z] ecc8261a40a4: Waiting [2021-02-15T14:21:10.697Z] 2a8b12db71e7: Verifying Checksum [2021-02-15T14:21:10.697Z] 2a8b12db71e7: Download complete [2021-02-15T14:21:10.958Z] 31603596830f: Verifying Checksum [2021-02-15T14:21:10.958Z] 31603596830f: Download complete [2021-02-15T14:21:10.958Z] ecc8261a40a4: Verifying Checksum [2021-02-15T14:21:10.958Z] ecc8261a40a4: Download complete [2021-02-15T14:21:10.958Z] 6ca5941a6612: Verifying Checksum [2021-02-15T14:21:10.958Z] 6ca5941a6612: Download complete [2021-02-15T14:21:11.221Z] 31603596830f: Pull complete [2021-02-15T14:21:11.221Z] 2a8b12db71e7: Pull complete [2021-02-15T14:21:12.171Z] 6ca5941a6612: Pull complete [2021-02-15T14:21:12.435Z] ecc8261a40a4: Pull complete [2021-02-15T14:21:12.435Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-15T14:21:12.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-15T14:21:12.435Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-15T14:21:12.548Z] prd-centos7-docker-4c-2g-26505 does not seem to be running inside a container [2021-02-15T14:21:12.593Z] $ 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-15T14:21:14.434Z] $ docker top 5a19c26bb15ddca374140313b9f1d5492ac583f8f71b79bea21d319fb088e0bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-15T14:21:14.722Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-15T14:21:14.722Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-15T14:21:14.929Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-15T14:21:14.932Z] $ docker exec 5a19c26bb15ddca374140313b9f1d5492ac583f8f71b79bea21d319fb088e0bc ssh-agent [2021-02-15T14:21:15.089Z] SSH_AUTH_SOCK=/tmp/ssh-OVYydLXzQleF/agent.12 [2021-02-15T14:21:15.089Z] SSH_AGENT_PID=17 [2021-02-15T14:21:15.098Z] Running ssh-add (command line suppressed) [2021-02-15T14:21:15.219Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_3260188455853961369.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_3260188455853961369.key) [2021-02-15T14:21:15.270Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-15T14:21:15.600Z] + git tag --points-at HEAD [Pipeline] } [2021-02-15T14:21:15.767Z] $ docker exec --env ******** --env ******** 5a19c26bb15ddca374140313b9f1d5492ac583f8f71b79bea21d319fb088e0bc ssh-agent -k [2021-02-15T14:21:15.882Z] unset SSH_AUTH_SOCK; [2021-02-15T14:21:15.882Z] unset SSH_AGENT_PID; [2021-02-15T14:21:15.882Z] echo Agent pid 17 killed; [2021-02-15T14:21:15.926Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-15T14:21:16.063Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-15T14:21:16.063Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-15T14:21:16.217Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-15T14:21:16.221Z] $ docker exec 5a19c26bb15ddca374140313b9f1d5492ac583f8f71b79bea21d319fb088e0bc ssh-agent [2021-02-15T14:21:16.378Z] SSH_AUTH_SOCK=/tmp/ssh-pq1Xt6C7QVwC/agent.46 [2021-02-15T14:21:16.378Z] SSH_AGENT_PID=51 [2021-02-15T14:21:16.385Z] Running ssh-add (command line suppressed) [2021-02-15T14:21:16.505Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8931255166607129693.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8931255166607129693.key) [2021-02-15T14:21:16.557Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-15T14:21:16.891Z] + git semver init [2021-02-15T14:21:16.891Z] # -> Open(): unable to determine branch for HEAD [2021-02-15T14:21:16.891Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2021-02-15T14:21:16.891Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2021-02-15T14:21:16.891Z] # $SEMVER_REMOTE_NAME = origin [2021-02-15T14:21:16.891Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-15T14:21:16.891Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-15T14:21:16.891Z] # $SEMVER_BRANCH = master [2021-02-15T14:21:16.891Z] # $SEMVER_TEMP = /tmp/semver-238119502 [2021-02-15T14:21:16.891Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-02-15T14:21:17.842Z] # '/tmp/semver-238119502' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' [2021-02-15T14:21:17.842Z] # -> Force: false [2021-02-15T14:21:17.842Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2021-02-15T14:21:17.854Z] $ docker exec --env ******** --env ******** 5a19c26bb15ddca374140313b9f1d5492ac583f8f71b79bea21d319fb088e0bc ssh-agent -k [2021-02-15T14:21:17.987Z] unset SSH_AUTH_SOCK; [2021-02-15T14:21:17.987Z] unset SSH_AGENT_PID; [2021-02-15T14:21:17.987Z] echo Agent pid 51 killed; [2021-02-15T14:21:18.039Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-15T14:21:18.516Z] + git semver [Pipeline] } [2021-02-15T14:21:18.532Z] $ docker stop --time=1 5a19c26bb15ddca374140313b9f1d5492ac583f8f71b79bea21d319fb088e0bc [2021-02-15T14:21:20.060Z] $ docker rm -f 5a19c26bb15ddca374140313b9f1d5492ac583f8f71b79bea21d319fb088e0bc [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-15T14:21:20.522Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-15T14:21:20.859Z] Stashed 1 file(s) [Pipeline] echo [2021-02-15T14:21:20.862Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.4 [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-15T14:21:36.213Z] Still waiting to schedule task [2021-02-15T14:21:36.213Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-15T14:21:36.215Z] Still waiting to schedule task [2021-02-15T14:21:36.216Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-15T14:23:29.331Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-26506 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2021-02-15T14:23:29.383Z] Running in /w/workspace/device-sdk-c/56 [Pipeline] { [Pipeline] checkout [2021-02-15T14:23:34.514Z] using credential edgex-jenkins-ssh [2021-02-15T14:23:34.578Z] Cloning the remote Git repository [2021-02-15T14:23:34.634Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-02-15T14:23:34.763Z] > git init /w/workspace/device-sdk-c/56 # timeout=10 [2021-02-15T14:23:34.859Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-15T14:23:34.859Z] > git --version # timeout=10 [2021-02-15T14:23:34.874Z] > git --version # 'git version 2.17.1' [2021-02-15T14:23:34.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-15T14:23:34.940Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-15T14:23:36.651Z] Checking out Revision eab06a1b74e5c881604e869fbb017afdf966c381 (master) [2021-02-15T14:23:36.049Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-15T14:23:36.071Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-15T14:23:36.101Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-15T14:23:36.143Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-15T14:23:36.143Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-15T14:23:36.156Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-15T14:23:36.666Z] > git config core.sparsecheckout # timeout=10 [2021-02-15T14:23:36.687Z] > git checkout -f eab06a1b74e5c881604e869fbb017afdf966c381 # timeout=10 [2021-02-15T14:23:41.195Z] Commit message: "fix: update v2 REST API with recent changes (#323)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-15T14:23:42.780Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-15T14:23:43.182Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-15T14:23:43.521Z] + true+ [2021-02-15T14:23:43.522Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-15T14:23:46.280Z] provisioning config files... [2021-02-15T14:23:46.326Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/56@tmp/config8344874149960050671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:23:46.732Z] ---> docker-login.sh [2021-02-15T14:23:46.732Z] nexus3.edgexfoundry.org:10001 [2021-02-15T14:23:47.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:23:47.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:23:47.993Z] Configure a credential helper to remove this warning. See [2021-02-15T14:23:47.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:23:47.993Z] [2021-02-15T14:23:47.993Z] Login Succeeded [2021-02-15T14:23:47.993Z] nexus3.edgexfoundry.org:10002 [2021-02-15T14:23:48.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:23:48.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:23:48.542Z] Configure a credential helper to remove this warning. See [2021-02-15T14:23:48.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:23:48.542Z] [2021-02-15T14:23:48.542Z] Login Succeeded [2021-02-15T14:23:48.542Z] nexus3.edgexfoundry.org:10003 [2021-02-15T14:23:48.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:23:49.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:23:49.092Z] Configure a credential helper to remove this warning. See [2021-02-15T14:23:49.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:23:49.092Z] [2021-02-15T14:23:49.092Z] Login Succeeded [2021-02-15T14:23:49.092Z] nexus3.edgexfoundry.org:10004 [2021-02-15T14:23:49.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:23:49.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:23:49.646Z] Configure a credential helper to remove this warning. See [2021-02-15T14:23:49.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:23:49.646Z] [2021-02-15T14:23:49.646Z] Login Succeeded [2021-02-15T14:23:49.646Z] docker.io [2021-02-15T14:23:49.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:23:50.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:23:50.193Z] Configure a credential helper to remove this warning. See [2021-02-15T14:23:50.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:23:50.193Z] [2021-02-15T14:23:50.193Z] Login Succeeded [2021-02-15T14:23:50.193Z] ---> docker-login.sh ends [Pipeline] } [2021-02-15T14:23:50.211Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-15T14:23:50.723Z] ========================================================= [2021-02-15T14:23:50.723Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-02-15T14:23:50.723Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:23:51.108Z] + 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-15T14:23:51.386Z] Sending build context to Docker daemon 2.428MB [2021-02-15T14:23:51.659Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-02-15T14:23:51.659Z] Step 2/21 : FROM ${BASE} as builder [2021-02-15T14:23:51.659Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-02-15T14:23:51.659Z] 0362ad1dd800: Pulling fs layer [2021-02-15T14:23:51.659Z] f2cdb1532d8b: Pulling fs layer [2021-02-15T14:23:51.659Z] 37ed683be191: Pulling fs layer [2021-02-15T14:23:51.659Z] f2cdb1532d8b: Verifying Checksum [2021-02-15T14:23:51.659Z] f2cdb1532d8b: Download complete [2021-02-15T14:23:52.260Z] 0362ad1dd800: Verifying Checksum [2021-02-15T14:23:52.260Z] 0362ad1dd800: Download complete [2021-02-15T14:23:52.859Z] 0362ad1dd800: Pull complete [2021-02-15T14:23:53.456Z] f2cdb1532d8b: Pull complete [2021-02-15T14:23:54.438Z] 37ed683be191: Verifying Checksum [2021-02-15T14:23:54.438Z] 37ed683be191: Download complete [2021-02-15T14:24:04.606Z] 37ed683be191: Pull complete [2021-02-15T14:24:04.606Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-02-15T14:24:04.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-02-15T14:24:04.606Z] ---> b23d30803547 [2021-02-15T14:24:04.607Z] 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-15T14:24:04.882Z] ---> Running in ae1d8b6badca [2021-02-15T14:24:06.319Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-15T14:24:06.602Z] Running on prd-centos7-docker-4c-2g-26507 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2021-02-15T14:24:06.652Z] Running in /w/workspace/device-sdk-c/56 [Pipeline] { [Pipeline] checkout [2021-02-15T14:24:06.909Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-15T14:24:07.511Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-15T14:24:07.781Z] (2/8) Installing libuuid (2.33-r0) [2021-02-15T14:24:07.781Z] (3/8) Installing libblkid (2.33-r0) [2021-02-15T14:24:07.781Z] (4/8) Installing libfdisk (2.33-r0) [2021-02-15T14:24:08.054Z] (5/8) Installing libmount (2.33-r0) [2021-02-15T14:24:08.054Z] (6/8) Installing libsmartcols (2.33-r0) [2021-02-15T14:24:08.054Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-02-15T14:24:08.646Z] (8/8) Installing wget (1.20.3-r0) [2021-02-15T14:24:08.646Z] Executing busybox-1.29.3-r10.trigger [2021-02-15T14:24:08.646Z] OK: 285 MiB in 83 packages [2021-02-15T14:24:09.216Z] using credential edgex-jenkins-ssh [2021-02-15T14:24:09.270Z] Cloning the remote Git repository [2021-02-15T14:24:09.263Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-02-15T14:24:09.350Z] > git init /w/workspace/device-sdk-c/56 # timeout=10 [2021-02-15T14:24:09.443Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-15T14:24:09.444Z] > git --version # timeout=10 [2021-02-15T14:24:09.458Z] > git --version # 'git version 2.24.3' [2021-02-15T14:24:09.458Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-15T14:24:09.578Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-15T14:24:10.088Z] Removing intermediate container ae1d8b6badca [2021-02-15T14:24:10.088Z] ---> bd1b8bfbcbad [2021-02-15T14:24:10.088Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-02-15T14:24:10.088Z] ---> Running in 43ee0857a392 [2021-02-15T14:24:10.684Z] Removing intermediate container 43ee0857a392 [2021-02-15T14:24:10.684Z] ---> f02bd7a77147 [2021-02-15T14:24:10.684Z] 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-15T14:24:10.684Z] ---> Running in 4187ad6b83a6 [2021-02-15T14:24:10.825Z] Checking out Revision eab06a1b74e5c881604e869fbb017afdf966c381 (master) [2021-02-15T14:24:10.395Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-15T14:24:10.409Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-15T14:24:10.430Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-15T14:24:10.444Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-15T14:24:10.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-15T14:24:10.449Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-15T14:24:10.838Z] > git config core.sparsecheckout # timeout=10 [2021-02-15T14:24:10.844Z] > git checkout -f eab06a1b74e5c881604e869fbb017afdf966c381 # timeout=10 [2021-02-15T14:24:11.668Z] --2021-02-15 14:24:11-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-02-15T14:24:11.669Z] Resolving github.com... 140.82.114.4 [2021-02-15T14:24:11.669Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-15T14:24:11.944Z] HTTP request sent, awaiting response... 302 Found [2021-02-15T14:24:11.944Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-02-15T14:24:11.944Z] --2021-02-15 14:24:11-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-02-15T14:24:11.944Z] Resolving codeload.github.com... 140.82.113.9 [2021-02-15T14:24:11.944Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-02-15T14:24:11.944Z] HTTP request sent, awaiting response... 200 OK [2021-02-15T14:24:11.944Z] Length: unspecified [application/x-gzip] [2021-02-15T14:24:11.944Z] Saving to: 'STDOUT' [2021-02-15T14:24:11.944Z] [2021-02-15T14:24:11.944Z] 0K .......... .......... .......... .......... .......... 1.32M [2021-02-15T14:24:11.944Z] 50K .......... .......... .......... .......... .......... 2.58M [2021-02-15T14:24:12.218Z] 100K .......... .......... .......... .......... .......... 2.79M [2021-02-15T14:24:12.218Z] 150K .......... .......... .......... .......... .......... 8.71M [2021-02-15T14:24:12.218Z] 200K .......... .......... .......... .......... .......... 5.81M [2021-02-15T14:24:12.218Z] 250K .......... .......... .......... .......... .......... 4.20M [2021-02-15T14:24:12.218Z] 300K .......... .......... .......... .......... .......... 4.02M [2021-02-15T14:24:12.218Z] 350K .......... .......... .......... .......... .......... 4.91M [2021-02-15T14:24:12.218Z] 400K .......... .......... .......... .......... .......... 3.32M [2021-02-15T14:24:12.218Z] 450K .......... .......... .......... .......... .......... 3.74M [2021-02-15T14:24:12.218Z] 500K .......... .......... .......... .......... .......... 6.70M [2021-02-15T14:24:12.218Z] 550K .......... .......... .......... .......... .......... 2.69M [2021-02-15T14:24:12.218Z] 600K .......... .......... .......... .......... .......... 878K [2021-02-15T14:24:12.218Z] 650K .......... .......... .......... .......... .......... 2.04M [2021-02-15T14:24:12.218Z] 700K ..  4.57M=0.3s [2021-02-15T14:24:12.218Z] [2021-02-15T14:24:12.218Z] 2021-02-15 14:24:12 (2.68 MB/s) - written to stdout [719348] [2021-02-15T14:24:12.218Z] [2021-02-15T14:24:12.494Z] -- The C compiler identification is GNU 8.3.0 [2021-02-15T14:24:12.769Z] -- The CXX compiler identification is GNU 8.3.0 [2021-02-15T14:24:12.769Z] -- Check for working C compiler: /usr/bin/cc [2021-02-15T14:24:13.045Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-15T14:24:13.045Z] -- Detecting C compiler ABI info [2021-02-15T14:24:13.321Z] -- Detecting C compiler ABI info - done [2021-02-15T14:24:13.321Z] -- Detecting C compile features [2021-02-15T14:24:14.306Z] -- Detecting C compile features - done [2021-02-15T14:24:14.306Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-02-15T14:24:14.306Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-02-15T14:24:14.306Z] -- Detecting CXX compiler ABI info [2021-02-15T14:24:14.534Z] Commit message: "fix: update v2 REST API with recent changes (#323)" [2021-02-15T14:24:14.592Z] -- Detecting CXX compiler ABI info - done [2021-02-15T14:24:14.592Z] -- Detecting CXX compile features [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-15T14:24:15.784Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-15T14:24:16.121Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-15T14:24:16.421Z] + sudo service docker restart [2021-02-15T14:24:16.421Z] + true [2021-02-15T14:24:16.421Z] Redirecting to /bin/systemctl restart docker.service [2021-02-15T14:24:16.567Z] -- Detecting CXX compile features - done [2021-02-15T14:24:16.567Z] -- Looking for include file endian.h [2021-02-15T14:24:16.567Z] -- Looking for include file endian.h - found [2021-02-15T14:24:16.567Z] -- Check if the system is big endian [2021-02-15T14:24:16.567Z] -- Searching 16 bit integer [2021-02-15T14:24:16.567Z] -- Looking for sys/types.h [2021-02-15T14:24:16.841Z] -- Looking for sys/types.h - found [2021-02-15T14:24:16.841Z] -- Looking for stdint.h [2021-02-15T14:24:16.841Z] -- Looking for stdint.h - found [2021-02-15T14:24:16.841Z] -- Looking for stddef.h [2021-02-15T14:24:17.112Z] -- Looking for stddef.h - found [2021-02-15T14:24:17.113Z] -- Check size of unsigned short [Pipeline] withEnv [Pipeline] { [2021-02-15T14:24:17.386Z] -- Check size of unsigned short - done [2021-02-15T14:24:17.386Z] -- Using unsigned short [Pipeline] wrap [2021-02-15T14:24:17.430Z] provisioning config files... [2021-02-15T14:24:17.455Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/56@tmp/config3762299863429386729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:24:17.662Z] -- Check if the system is big endian - little endian [2021-02-15T14:24:17.662Z] -- Check size of size_t [2021-02-15T14:24:17.809Z] ---> docker-login.sh [2021-02-15T14:24:17.810Z] nexus3.edgexfoundry.org:10001 [2021-02-15T14:24:17.935Z] -- Check size of size_t - done [2021-02-15T14:24:17.935Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-02-15T14:24:17.935Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-02-15T14:24:17.935Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-02-15T14:24:17.935Z] CMake did not find one. [2021-02-15T14:24:17.935Z] [2021-02-15T14:24:17.935Z] Could not find a package configuration file provided by "cJSON" with any of [2021-02-15T14:24:17.935Z] the following names: [2021-02-15T14:24:17.935Z] [2021-02-15T14:24:17.935Z] cJSONConfig.cmake [2021-02-15T14:24:17.935Z] cjson-config.cmake [2021-02-15T14:24:17.935Z] [2021-02-15T14:24:17.935Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-02-15T14:24:17.935Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-02-15T14:24:17.935Z] provides a separate development package or SDK, be sure it has been [2021-02-15T14:24:17.936Z] installed. [2021-02-15T14:24:17.936Z] [2021-02-15T14:24:17.936Z] [2021-02-15T14:24:17.936Z] -- Configuring done [2021-02-15T14:24:18.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:24:18.210Z] -- Generating done [2021-02-15T14:24:18.210Z] -- Build files have been written to: /tmp/cbor [2021-02-15T14:24:18.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:24:18.337Z] Configure a credential helper to remove this warning. See [2021-02-15T14:24:18.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:24:18.337Z] [2021-02-15T14:24:18.337Z] Login Succeeded [2021-02-15T14:24:18.337Z] nexus3.edgexfoundry.org:10002 [2021-02-15T14:24:18.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:24:18.483Z] Scanning dependencies of target cbor_shared [2021-02-15T14:24:18.483Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-02-15T14:24:18.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:24:18.603Z] Configure a credential helper to remove this warning. See [2021-02-15T14:24:18.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:24:18.603Z] [2021-02-15T14:24:18.603Z] Login Succeeded [2021-02-15T14:24:18.603Z] nexus3.edgexfoundry.org:10003 [2021-02-15T14:24:18.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:24:18.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:24:18.603Z] Configure a credential helper to remove this warning. See [2021-02-15T14:24:18.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:24:18.603Z] [2021-02-15T14:24:18.603Z] Login Succeeded [2021-02-15T14:24:18.603Z] nexus3.edgexfoundry.org:10004 [2021-02-15T14:24:18.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:24:18.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:24:18.865Z] Configure a credential helper to remove this warning. See [2021-02-15T14:24:18.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:24:18.865Z] [2021-02-15T14:24:18.865Z] Login Succeeded [2021-02-15T14:24:18.865Z] docker.io [2021-02-15T14:24:19.075Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-02-15T14:24:19.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-15T14:24:19.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-15T14:24:19.393Z] Configure a credential helper to remove this warning. See [2021-02-15T14:24:19.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-15T14:24:19.393Z] [2021-02-15T14:24:19.393Z] Login Succeeded [2021-02-15T14:24:19.393Z] ---> docker-login.sh ends [Pipeline] } [2021-02-15T14:24:19.403Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-02-15T14:24:19.669Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [Pipeline] echo [2021-02-15T14:24:19.703Z] ========================================================= [2021-02-15T14:24:19.703Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-02-15T14:24:19.703Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:24:19.942Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-02-15T14:24:20.093Z] + 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-15T14:24:20.357Z] Sending build context to Docker daemon 2.429MB [2021-02-15T14:24:20.357Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-02-15T14:24:20.357Z] Step 2/21 : FROM ${BASE} as builder [2021-02-15T14:24:20.357Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-02-15T14:24:20.357Z] e7c96db7181b: Pulling fs layer [2021-02-15T14:24:20.357Z] 4c13bbce0fe7: Pulling fs layer [2021-02-15T14:24:20.357Z] 6059c847ac2f: Pulling fs layer [2021-02-15T14:24:20.357Z] 4c13bbce0fe7: Download complete [2021-02-15T14:24:20.357Z] e7c96db7181b: Verifying Checksum [2021-02-15T14:24:20.357Z] e7c96db7181b: Download complete [2021-02-15T14:24:20.534Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-02-15T14:24:20.805Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-02-15T14:24:20.962Z] e7c96db7181b: Pull complete [2021-02-15T14:24:20.962Z] 4c13bbce0fe7: Pull complete [2021-02-15T14:24:21.079Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-02-15T14:24:21.079Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-02-15T14:24:21.349Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-02-15T14:24:21.621Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-02-15T14:24:21.912Z] 6059c847ac2f: Verifying Checksum [2021-02-15T14:24:21.912Z] 6059c847ac2f: Download complete [2021-02-15T14:24:22.213Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-02-15T14:24:22.485Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-02-15T14:24:22.768Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-02-15T14:24:23.365Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-02-15T14:24:23.365Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-02-15T14:24:23.637Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-02-15T14:24:23.927Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-02-15T14:24:24.200Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-02-15T14:24:24.472Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-02-15T14:24:24.746Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-02-15T14:24:25.020Z] [ 40%] Linking C shared library libcbor.so [2021-02-15T14:24:25.020Z] [ 40%] Built target cbor_shared [2021-02-15T14:24:25.020Z] Scanning dependencies of target cbor [2021-02-15T14:24:25.020Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-02-15T14:24:25.995Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-02-15T14:24:26.589Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-02-15T14:24:26.589Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-02-15T14:24:27.260Z] 6059c847ac2f: Pull complete [2021-02-15T14:24:27.260Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-02-15T14:24:27.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-02-15T14:24:27.260Z] ---> 5eabd8fd8ba2 [2021-02-15T14:24:27.260Z] 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-15T14:24:27.848Z] ---> Running in 2aa27602e0a2 [2021-02-15T14:24:28.018Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-02-15T14:24:28.018Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-02-15T14:24:28.307Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-02-15T14:24:28.307Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-02-15T14:24:28.579Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-02-15T14:24:28.807Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-15T14:24:28.852Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-02-15T14:24:29.389Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-15T14:24:29.450Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-02-15T14:24:29.965Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-15T14:24:29.965Z] (2/8) Installing libuuid (2.33-r0) [2021-02-15T14:24:29.965Z] (3/8) Installing libblkid (2.33-r0) [2021-02-15T14:24:30.044Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-02-15T14:24:30.229Z] (4/8) Installing libfdisk (2.33-r0) [2021-02-15T14:24:30.229Z] (5/8) Installing libmount (2.33-r0) [2021-02-15T14:24:30.229Z] (6/8) Installing libsmartcols (2.33-r0) [2021-02-15T14:24:30.317Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-02-15T14:24:30.492Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-02-15T14:24:30.589Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-02-15T14:24:30.757Z] (8/8) Installing wget (1.20.3-r0) [2021-02-15T14:24:30.861Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-02-15T14:24:31.022Z] Executing busybox-1.29.3-r10.trigger [2021-02-15T14:24:31.023Z] OK: 272 MiB in 83 packages [2021-02-15T14:24:31.133Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-02-15T14:24:31.407Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-02-15T14:24:31.599Z] Removing intermediate container 2aa27602e0a2 [2021-02-15T14:24:31.599Z] ---> fe29c2bc69ba [2021-02-15T14:24:31.599Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-02-15T14:24:31.599Z] ---> Running in d4009cc1891e [2021-02-15T14:24:31.680Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-02-15T14:24:31.867Z] Removing intermediate container d4009cc1891e [2021-02-15T14:24:31.867Z] ---> 7ebb03f5d732 [2021-02-15T14:24:31.867Z] 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-15T14:24:31.867Z] ---> Running in c0a891cc2302 [2021-02-15T14:24:31.954Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-02-15T14:24:32.226Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-02-15T14:24:32.226Z] [ 80%] Linking C static library libcbor.a [2021-02-15T14:24:32.452Z] --2021-02-15 14:24:32-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-02-15T14:24:32.452Z] Resolving github.com... 140.82.114.4 [2021-02-15T14:24:32.452Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-15T14:24:32.499Z] [ 80%] Built target cbor [2021-02-15T14:24:32.499Z] Scanning dependencies of target create_items [2021-02-15T14:24:32.499Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-02-15T14:24:32.721Z] HTTP request sent, awaiting response... 302 Found [2021-02-15T14:24:32.722Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-02-15T14:24:32.722Z] --2021-02-15 14:24:32-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-02-15T14:24:32.722Z] Resolving codeload.github.com... 140.82.113.9 [2021-02-15T14:24:32.722Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-02-15T14:24:32.722Z] HTTP request sent, awaiting response... 200 OK [2021-02-15T14:24:32.722Z] Length: unspecified [application/x-gzip] [2021-02-15T14:24:32.722Z] Saving to: 'STDOUT' [2021-02-15T14:24:32.722Z] [2021-02-15T14:24:32.722Z] 0K .......... .......... .......... .......... .......... 1.48M [2021-02-15T14:24:32.722Z] 50K .......... .......... .......... .......... .......... 2.97M [2021-02-15T14:24:32.722Z] 100K .......... .......... .......... .......... .......... 36.2M [2021-02-15T14:24:32.722Z] 150K .......... .......... .......... .......... .......... 3.14M [2021-02-15T14:24:32.722Z] 200K .......... .......... .......... .......... .......... 24.2M [2021-02-15T14:24:32.722Z] 250K .......... .......... .......... .......... .......... 5.44M [2021-02-15T14:24:32.722Z] 300K .......... .......... .......... .......... .......... 6.69M [2021-02-15T14:24:32.722Z] 350K .......... .......... .......... .......... .......... 7.54M [2021-02-15T14:24:32.722Z] 400K .......... .......... .......... .......... .......... 5.33M [2021-02-15T14:24:32.722Z] 450K .......... .......... .......... .......... .......... 6.90M [2021-02-15T14:24:32.722Z] 500K .......... .......... .......... .......... .......... 11.3M [2021-02-15T14:24:32.772Z] [ 84%] Linking C executable create_items [2021-02-15T14:24:32.772Z] [ 84%] Built target create_items [2021-02-15T14:24:32.772Z] Scanning dependencies of target readfile [2021-02-15T14:24:32.772Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-02-15T14:24:32.986Z] 550K .......... .......... .......... .......... .......... 2.76M [2021-02-15T14:24:32.986Z] 600K .......... .......... .......... .......... .......... 2.29M [2021-02-15T14:24:32.986Z] 650K .......... .......... .......... .......... .......... 3.91M [2021-02-15T14:24:32.986Z] 700K .. 22.7M=0.2s [2021-02-15T14:24:32.986Z] [2021-02-15T14:24:32.986Z] 2021-02-15 14:24:32 (4.21 MB/s) - written to stdout [719348] [2021-02-15T14:24:32.986Z] [2021-02-15T14:24:32.986Z] -- The C compiler identification is GNU 8.3.0 [2021-02-15T14:24:33.043Z] [ 88%] Linking C executable readfile [2021-02-15T14:24:33.043Z] [ 88%] Built target readfile [2021-02-15T14:24:33.043Z] Scanning dependencies of target streaming_parser [2021-02-15T14:24:33.043Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-02-15T14:24:33.253Z] -- The CXX compiler identification is GNU 8.3.0 [2021-02-15T14:24:33.253Z] -- Check for working C compiler: /usr/bin/cc [2021-02-15T14:24:33.253Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-15T14:24:33.253Z] -- Detecting C compiler ABI info [2021-02-15T14:24:33.253Z] -- Detecting C compiler ABI info - done [2021-02-15T14:24:33.253Z] -- Detecting C compile features [2021-02-15T14:24:33.317Z] [ 92%] Linking C executable streaming_parser [2021-02-15T14:24:33.317Z] [ 92%] Built target streaming_parser [2021-02-15T14:24:33.518Z] -- Detecting C compile features - done [2021-02-15T14:24:33.518Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-02-15T14:24:33.588Z] Scanning dependencies of target sort [2021-02-15T14:24:33.588Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-02-15T14:24:33.588Z] [ 96%] Linking C executable sort [2021-02-15T14:24:33.784Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-02-15T14:24:33.784Z] -- Detecting CXX compiler ABI info [2021-02-15T14:24:33.784Z] -- Detecting CXX compiler ABI info - done [2021-02-15T14:24:33.784Z] -- Detecting CXX compile features [2021-02-15T14:24:33.860Z] [ 96%] Built target sort [2021-02-15T14:24:33.860Z] Scanning dependencies of target hello [2021-02-15T14:24:33.860Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-02-15T14:24:33.860Z] [100%] Linking C executable hello [2021-02-15T14:24:34.132Z] [100%] Built target hello [2021-02-15T14:24:34.133Z] Install the project... [2021-02-15T14:24:34.133Z] -- Install configuration: "Release" [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/lib64/libcbor.a [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/lib64/libcbor.so [2021-02-15T14:24:34.133Z] -- Up-to-date: /usr/local/include/cbor [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/ints.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/data.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/common.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/strings.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/tags.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/internal [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor/maps.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/include/cbor.h [2021-02-15T14:24:34.133Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-02-15T14:24:34.365Z] -- Detecting CXX compile features - done [2021-02-15T14:24:34.365Z] -- Looking for include file endian.h [2021-02-15T14:24:34.365Z] -- Looking for include file endian.h - found [2021-02-15T14:24:34.365Z] -- Check if the system is big endian [2021-02-15T14:24:34.365Z] -- Searching 16 bit integer [2021-02-15T14:24:34.365Z] -- Looking for sys/types.h [2021-02-15T14:24:34.628Z] -- Looking for sys/types.h - found [2021-02-15T14:24:34.628Z] -- Looking for stdint.h [2021-02-15T14:24:34.628Z] -- Looking for stdint.h - found [2021-02-15T14:24:34.628Z] -- Looking for stddef.h [2021-02-15T14:24:34.628Z] -- Looking for stddef.h - found [2021-02-15T14:24:34.628Z] -- Check size of unsigned short [2021-02-15T14:24:34.628Z] -- Check size of unsigned short - done [2021-02-15T14:24:34.628Z] -- Using unsigned short [2021-02-15T14:24:34.892Z] -- Check if the system is big endian - little endian [2021-02-15T14:24:34.892Z] -- Check size of size_t [2021-02-15T14:24:34.892Z] -- Check size of size_t - done [2021-02-15T14:24:34.892Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-02-15T14:24:34.892Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-02-15T14:24:34.892Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-02-15T14:24:34.892Z] CMake did not find one. [2021-02-15T14:24:34.892Z] [2021-02-15T14:24:34.892Z] Could not find a package configuration file provided by "cJSON" with any of [2021-02-15T14:24:34.892Z] the following names: [2021-02-15T14:24:34.892Z] [2021-02-15T14:24:34.892Z] cJSONConfig.cmake [2021-02-15T14:24:34.892Z] cjson-config.cmake [2021-02-15T14:24:34.892Z] [2021-02-15T14:24:34.892Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-02-15T14:24:34.892Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-02-15T14:24:34.892Z] provides a separate development package or SDK, be sure it has been [2021-02-15T14:24:34.892Z] installed. [2021-02-15T14:24:34.892Z] [2021-02-15T14:24:34.892Z] [2021-02-15T14:24:34.892Z] -- Configuring done [2021-02-15T14:24:35.155Z] -- Generating done [2021-02-15T14:24:35.155Z] -- Build files have been written to: /tmp/cbor [2021-02-15T14:24:35.155Z] Scanning dependencies of target cbor_shared [2021-02-15T14:24:35.155Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-02-15T14:24:35.418Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-02-15T14:24:35.418Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-02-15T14:24:35.418Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-02-15T14:24:35.681Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-02-15T14:24:35.681Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-02-15T14:24:35.944Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-02-15T14:24:35.944Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-02-15T14:24:35.944Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-02-15T14:24:35.944Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-02-15T14:24:36.109Z] Removing intermediate container 4187ad6b83a6 [2021-02-15T14:24:36.109Z] ---> a331cd3077da [2021-02-15T14:24:36.109Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-02-15T14:24:36.207Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-02-15T14:24:36.207Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-02-15T14:24:36.386Z] ---> Running in 1396d2b07afa [2021-02-15T14:24:36.470Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-02-15T14:24:36.470Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-02-15T14:24:36.470Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-02-15T14:24:36.734Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-02-15T14:24:36.734Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-02-15T14:24:36.734Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-02-15T14:24:36.997Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-02-15T14:24:36.997Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-02-15T14:24:36.997Z] [ 40%] Linking C shared library libcbor.so [2021-02-15T14:24:36.997Z] [ 40%] Built target cbor_shared [2021-02-15T14:24:36.997Z] Scanning dependencies of target cbor [2021-02-15T14:24:36.997Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-02-15T14:24:37.260Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-02-15T14:24:37.524Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-02-15T14:24:37.524Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-02-15T14:24:37.787Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-02-15T14:24:37.787Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-02-15T14:24:38.049Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-02-15T14:24:38.049Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-02-15T14:24:38.049Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-02-15T14:24:38.049Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-02-15T14:24:38.312Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-02-15T14:24:38.359Z] Removing intermediate container 1396d2b07afa [2021-02-15T14:24:38.359Z] ---> 83be5e490cc6 [2021-02-15T14:24:38.359Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-02-15T14:24:38.575Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-02-15T14:24:38.575Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-02-15T14:24:38.575Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-02-15T14:24:38.838Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-02-15T14:24:38.838Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-02-15T14:24:38.838Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-02-15T14:24:38.954Z] ---> 17fb6d0a62f8 [2021-02-15T14:24:38.955Z] Step 8/21 : COPY src /tmp/sdk/src [2021-02-15T14:24:39.102Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-02-15T14:24:39.102Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-02-15T14:24:39.102Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-02-15T14:24:39.102Z] [ 80%] Linking C static library libcbor.a [2021-02-15T14:24:39.365Z] [ 80%] Built target cbor [2021-02-15T14:24:39.365Z] Scanning dependencies of target create_items [2021-02-15T14:24:39.365Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-02-15T14:24:39.365Z] [ 84%] Linking C executable create_items [2021-02-15T14:24:39.365Z] [ 84%] Built target create_items [2021-02-15T14:24:39.365Z] Scanning dependencies of target readfile [2021-02-15T14:24:39.365Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-02-15T14:24:39.365Z] [ 88%] Linking C executable readfile [2021-02-15T14:24:39.365Z] [ 88%] Built target readfile [2021-02-15T14:24:39.365Z] Scanning dependencies of target streaming_parser [2021-02-15T14:24:39.365Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-02-15T14:24:39.628Z] [ 92%] Linking C executable streaming_parser [2021-02-15T14:24:39.628Z] [ 92%] Built target streaming_parser [2021-02-15T14:24:39.628Z] Scanning dependencies of target sort [2021-02-15T14:24:39.628Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-02-15T14:24:39.628Z] [ 96%] Linking C executable sort [2021-02-15T14:24:39.628Z] [ 96%] Built target sort [2021-02-15T14:24:39.628Z] Scanning dependencies of target hello [2021-02-15T14:24:39.628Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-02-15T14:24:39.893Z] [100%] Linking C executable hello [2021-02-15T14:24:39.893Z] [100%] Built target hello [2021-02-15T14:24:39.893Z] Install the project... [2021-02-15T14:24:39.893Z] -- Install configuration: "Release" [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/lib64/libcbor.a [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/lib64/libcbor.so [2021-02-15T14:24:39.893Z] -- Up-to-date: /usr/local/include/cbor [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/common.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/data.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/internal [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/ints.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/maps.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/strings.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor/tags.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/include/cbor.h [2021-02-15T14:24:39.893Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-02-15T14:24:39.933Z] ---> fc1a17c2553f [2021-02-15T14:24:39.933Z] Step 9/21 : COPY include /tmp/sdk/include [2021-02-15T14:24:40.530Z] ---> 50357cfb7b79 [2021-02-15T14:24:40.530Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-02-15T14:24:41.129Z] ---> 64c32c485fb3 [2021-02-15T14:24:41.129Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-02-15T14:24:41.726Z] ---> e9bc74c28861 [2021-02-15T14:24:41.726Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-02-15T14:24:42.324Z] ---> 6cfe8c78ddd0 [2021-02-15T14:24:42.324Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-02-15T14:24:42.455Z] Removing intermediate container c0a891cc2302 [2021-02-15T14:24:42.455Z] ---> c030a605d34d [2021-02-15T14:24:42.455Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-02-15T14:24:42.455Z] ---> Running in 01d355ccb005 [2021-02-15T14:24:42.606Z] ---> Running in ede6e23445ea [2021-02-15T14:24:43.414Z] Removing intermediate container 01d355ccb005 [2021-02-15T14:24:43.414Z] ---> b321409d348f [2021-02-15T14:24:43.414Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-02-15T14:24:43.587Z] + CPPCHECK=false [2021-02-15T14:24:43.587Z] + DOCGEN=false [2021-02-15T14:24:43.587Z] + TOMLVER=SDK-0.2 [2021-02-15T14:24:43.587Z] + CUTILVER=1.1.4 [2021-02-15T14:24:43.587Z] + '[' 0 -gt 0 ] [2021-02-15T14:24:43.587Z] + readlink -f ./scripts/build.sh [2021-02-15T14:24:43.587Z] + dirname /tmp/sdk/scripts/build.sh [2021-02-15T14:24:43.587Z] + dirname /tmp/sdk/scripts [2021-02-15T14:24:43.587Z] + ROOT=/tmp/sdk [2021-02-15T14:24:43.587Z] + cd /tmp/sdk [2021-02-15T14:24:43.587Z] + '[' '!' -d deps ] [2021-02-15T14:24:43.587Z] + mkdir deps [2021-02-15T14:24:43.587Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-15T14:24:43.587Z] + tar -C deps -z -x -f - [2021-02-15T14:24:43.587Z] --2021-02-15 14:24:43-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-15T14:24:43.587Z] Resolving github.com... 140.82.114.4 [2021-02-15T14:24:43.587Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-15T14:24:43.587Z] HTTP request sent, awaiting response... 302 Found [2021-02-15T14:24:43.587Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-02-15T14:24:43.587Z] --2021-02-15 14:24:43-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-02-15T14:24:43.587Z] Resolving codeload.github.com... 140.82.113.9 [2021-02-15T14:24:43.678Z] ---> 890bb4c68315 [2021-02-15T14:24:43.678Z] Step 8/21 : COPY src /tmp/sdk/src [2021-02-15T14:24:43.860Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-02-15T14:24:43.860Z] HTTP request sent, awaiting response... 200 OK [2021-02-15T14:24:43.860Z] Length: unspecified [application/x-gzip] [2021-02-15T14:24:43.860Z] Saving to: 'STDOUT' [2021-02-15T14:24:43.860Z] [2021-02-15T14:24:43.860Z] 0K .......... ......   843K=0.02s [2021-02-15T14:24:43.860Z] [2021-02-15T14:24:43.860Z] 2021-02-15 14:24:43 (843 KB/s) - written to stdout [16451] [2021-02-15T14:24:43.860Z] [2021-02-15T14:24:43.860Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-02-15T14:24:43.860Z] + + tar -Cwget deps -O -z - -x -f https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-15T14:24:43.860Z] - [2021-02-15T14:24:43.860Z] --2021-02-15 14:24:43-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-15T14:24:43.860Z] Resolving github.com... 140.82.114.4 [2021-02-15T14:24:44.134Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-15T14:24:44.134Z] HTTP request sent, awaiting response... 302 Found [2021-02-15T14:24:44.134Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-02-15T14:24:44.134Z] --2021-02-15 14:24:43-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-02-15T14:24:44.134Z] Resolving codeload.github.com... 140.82.113.9 [2021-02-15T14:24:44.134Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-02-15T14:24:44.408Z] HTTP request sent, awaiting response... 200 OK [2021-02-15T14:24:44.408Z] Length: unspecified [application/x-gzip] [2021-02-15T14:24:44.408Z] Saving to: 'STDOUT' [2021-02-15T14:24:44.408Z]  [2021-02-15T14:24:44.408Z] 0K .......... .......... .......... .......... .......... 1.49M [2021-02-15T14:24:44.408Z] 50K .......... .......... .......... .......... .......... 2.91M [2021-02-15T14:24:44.408Z] 100K .......... .......... .......... .......... .......... 4.50M [2021-02-15T14:24:44.408Z] 150K .......... .......... .......                      1.75M=0.08s [2021-02-15T14:24:44.408Z] [2021-02-15T14:24:44.408Z] 2021-02-15 14:24:44 (2.28 MB/s) - written to stdout [181796] [2021-02-15T14:24:44.408Z] [2021-02-15T14:24:44.408Z] + mkdir -p src/c/iot [2021-02-15T14:24:44.408Z] + 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-15T14:24:44.408Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-02-15T14:24:44.408Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-02-15T14:24:44.408Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-02-15T14:24:44.408Z] + mkdir -p include/iot [2021-02-15T14:24:44.408Z] + 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-15T14:24:44.408Z] + mkdir -p include/iot/os [2021-02-15T14:24:44.408Z] + 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-15T14:24:44.408Z] + mkdir -p /tmp/sdk/build/release [2021-02-15T14:24:44.408Z] + cd /tmp/sdk/build/release [2021-02-15T14:24:44.408Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-02-15T14:24:44.633Z] ---> 6415029bf2d5 [2021-02-15T14:24:44.633Z] Step 9/21 : COPY include /tmp/sdk/include [2021-02-15T14:24:44.681Z] -- The C compiler identification is GNU 8.3.0 [2021-02-15T14:24:44.681Z] -- Check for working C compiler: /usr/bin/cc [2021-02-15T14:24:44.896Z] ---> bd5b2066308c [2021-02-15T14:24:44.896Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-02-15T14:24:44.955Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-15T14:24:44.955Z] -- Detecting C compiler ABI info [2021-02-15T14:24:45.159Z] ---> 16a1f25034e9 [2021-02-15T14:24:45.159Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-02-15T14:24:45.228Z] -- Detecting C compiler ABI info - done [2021-02-15T14:24:45.228Z] -- Detecting C compile features [2021-02-15T14:24:45.421Z] ---> 916a9ec2cf3f [2021-02-15T14:24:45.421Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-02-15T14:24:45.421Z] ---> 19823ff1b10a [2021-02-15T14:24:45.421Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-02-15T14:24:45.696Z] ---> Running in f698b16d5ed4 [2021-02-15T14:24:46.206Z] -- Detecting C compile features - done [2021-02-15T14:24:46.207Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-15T14:24:46.207Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-15T14:24:46.207Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-15T14:24:46.207Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-15T14:24:46.207Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-15T14:24:46.207Z] -- C SDK 1.3.2-dev.4 for Linux [2021-02-15T14:24:46.207Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-15T14:24:46.207Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-15T14:24:46.207Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-15T14:24:46.274Z] + CPPCHECK=false [2021-02-15T14:24:46.274Z] + DOCGEN=false [2021-02-15T14:24:46.274Z] + TOMLVER=SDK-0.2 [2021-02-15T14:24:46.274Z] + CUTILVER=1.1.4 [2021-02-15T14:24:46.274Z] + '[' 0 -gt 0 ] [2021-02-15T14:24:46.274Z] + readlink -f ./scripts/build.sh [2021-02-15T14:24:46.274Z] + dirname /tmp/sdk/scripts/build.sh [2021-02-15T14:24:46.274Z] + dirname /tmp/sdk/scripts [2021-02-15T14:24:46.274Z] + ROOT=/tmp/sdk [2021-02-15T14:24:46.274Z] + cd /tmp/sdk [2021-02-15T14:24:46.274Z] + '[' '!' -d deps ] [2021-02-15T14:24:46.274Z] + mkdir deps [2021-02-15T14:24:46.274Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-15T14:24:46.274Z] + tar -C deps -z -x -f - [2021-02-15T14:24:46.274Z] --2021-02-15 14:24:46-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-15T14:24:46.274Z] Resolving github.com... 140.82.114.4 [2021-02-15T14:24:46.274Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-15T14:24:46.274Z] HTTP request sent, awaiting response... 302 Found [2021-02-15T14:24:46.274Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-02-15T14:24:46.274Z] --2021-02-15 14:24:46-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-02-15T14:24:46.274Z] Resolving codeload.github.com... 140.82.113.9 [2021-02-15T14:24:46.274Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-02-15T14:24:46.478Z] -- Configuring done [2021-02-15T14:24:46.536Z] HTTP request sent, awaiting response... 200 OK [2021-02-15T14:24:46.537Z] Length: unspecified [application/x-gzip] [2021-02-15T14:24:46.537Z] Saving to: 'STDOUT' [2021-02-15T14:24:46.537Z]  [2021-02-15T14:24:46.537Z] 0K .......... ......  1.07M=0.01s [2021-02-15T14:24:46.537Z] [2021-02-15T14:24:46.537Z] 2021-02-15 14:24:46 (1.07 MB/s) - written to stdout [16451] [2021-02-15T14:24:46.537Z] [2021-02-15T14:24:46.537Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-02-15T14:24:46.537Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-15T14:24:46.537Z] + tar -C deps -z -x -f - [2021-02-15T14:24:46.537Z] --2021-02-15 14:24:46-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-15T14:24:46.537Z] Resolving github.com... 140.82.114.4 [2021-02-15T14:24:46.537Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-15T14:24:46.537Z] HTTP request sent, awaiting response... 302 Found [2021-02-15T14:24:46.537Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-02-15T14:24:46.537Z] --2021-02-15 14:24:46-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-02-15T14:24:46.537Z] Resolving codeload.github.com... 140.82.113.9 [2021-02-15T14:24:46.537Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-02-15T14:24:46.750Z] -- Generating done [2021-02-15T14:24:46.751Z] -- Build files have been written to: /tmp/sdk/build/release [2021-02-15T14:24:46.751Z] + make [2021-02-15T14:24:46.751Z] + tee release.log [2021-02-15T14:24:46.751Z] Scanning dependencies of target csdk [2021-02-15T14:24:46.802Z] HTTP request sent, awaiting response... 200 OK [2021-02-15T14:24:46.802Z] Length: unspecified [application/x-gzip] [2021-02-15T14:24:46.802Z] Saving to: 'STDOUT' [2021-02-15T14:24:46.802Z]  [2021-02-15T14:24:46.802Z] 0K .......... .......... .......... .......... .......... 1.47M [2021-02-15T14:24:46.802Z] 50K .......... .......... .......... .......... .......... 3.02M [2021-02-15T14:24:46.802Z] 100K .......... .......... .......... .......... .......... 41.3M [2021-02-15T14:24:46.802Z] 150K .......... .......... ....... 3.68M=0.06s [2021-02-15T14:24:46.802Z] [2021-02-15T14:24:46.802Z] 2021-02-15 14:24:46 (3.00 MB/s) - written to stdout [181796] [2021-02-15T14:24:46.802Z] [2021-02-15T14:24:46.802Z] + mkdir -p src/c/iot [2021-02-15T14:24:46.802Z] + 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-15T14:24:46.802Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-02-15T14:24:46.802Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-02-15T14:24:46.802Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-02-15T14:24:46.802Z] + mkdir -p include/iot [2021-02-15T14:24:46.802Z] + 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-15T14:24:46.802Z] + mkdir -p include/iot/os [2021-02-15T14:24:46.802Z] + 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-15T14:24:46.802Z] + mkdir -p /tmp/sdk/build/release [2021-02-15T14:24:46.802Z] + cd /tmp/sdk/build/release [2021-02-15T14:24:46.802Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-02-15T14:24:46.802Z] -- The C compiler identification is GNU 8.3.0 [2021-02-15T14:24:46.802Z] -- Check for working C compiler: /usr/bin/cc [2021-02-15T14:24:47.023Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-15T14:24:47.066Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-15T14:24:47.066Z] -- Detecting C compiler ABI info [2021-02-15T14:24:47.066Z] -- Detecting C compiler ABI info - done [2021-02-15T14:24:47.066Z] -- Detecting C compile features [2021-02-15T14:24:47.329Z] -- Detecting C compile features - done [2021-02-15T14:24:47.329Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-15T14:24:47.329Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-15T14:24:47.329Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-15T14:24:47.329Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-15T14:24:47.329Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-15T14:24:47.329Z] -- C SDK 1.3.2-dev.4 for Linux [2021-02-15T14:24:47.329Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-15T14:24:47.591Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-15T14:24:47.591Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-15T14:24:47.591Z] -- Configuring done [2021-02-15T14:24:47.591Z] -- Generating done [2021-02-15T14:24:47.591Z] -- Build files have been written to: /tmp/sdk/build/release [2021-02-15T14:24:47.591Z] + make [2021-02-15T14:24:47.591Z] + tee release.log [2021-02-15T14:24:47.591Z] Scanning dependencies of target csdk [2021-02-15T14:24:47.591Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-15T14:24:47.618Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2021-02-15T14:24:47.854Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2021-02-15T14:24:48.117Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-15T14:24:48.117Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-15T14:24:48.211Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-15T14:24:48.483Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-15T14:24:48.693Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-15T14:24:48.693Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-15T14:24:48.958Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-15T14:24:49.220Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-15T14:24:49.799Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-15T14:24:49.799Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-15T14:24:50.063Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-15T14:24:50.329Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-15T14:24:50.329Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-15T14:24:50.329Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-15T14:24:50.329Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-15T14:24:50.448Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-15T14:24:51.040Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-15T14:24:51.040Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-15T14:24:51.278Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-15T14:24:51.541Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-15T14:24:51.541Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-15T14:24:51.805Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-15T14:24:51.805Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-15T14:24:52.465Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-15T14:24:52.753Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-15T14:24:52.753Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-15T14:24:52.753Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-15T14:24:52.753Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-15T14:24:53.016Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-15T14:24:53.016Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-15T14:24:53.280Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-15T14:24:53.280Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-15T14:24:53.542Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-15T14:24:53.542Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-15T14:24:54.119Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-15T14:24:54.120Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-15T14:24:54.387Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-15T14:24:54.422Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-15T14:24:54.650Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-15T14:24:54.694Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-15T14:24:55.290Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-15T14:24:55.596Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-15T14:24:55.858Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-15T14:24:55.882Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-15T14:24:56.121Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-15T14:24:56.122Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-15T14:24:56.153Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-15T14:24:56.384Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-15T14:24:56.425Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-15T14:24:56.647Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-15T14:24:56.696Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-15T14:24:57.220Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-15T14:24:58.168Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-15T14:24:58.168Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-15T14:24:58.430Z] [ 73%] Linking C shared library libcsdk.so [2021-02-15T14:24:58.430Z] [ 73%] Built target csdk [2021-02-15T14:24:58.430Z] Scanning dependencies of target template [2021-02-15T14:24:58.430Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-15T14:24:58.692Z] [ 76%] Linking C executable template [2021-02-15T14:24:58.692Z] [ 76%] Built target template [2021-02-15T14:24:58.692Z] Scanning dependencies of target device-counter [2021-02-15T14:24:58.692Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-15T14:24:58.692Z] [ 80%] Linking C executable device-counter [2021-02-15T14:24:58.954Z] [ 80%] Built target device-counter [2021-02-15T14:24:58.954Z] Scanning dependencies of target device-random [2021-02-15T14:24:58.954Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-15T14:24:58.954Z] [ 83%] Linking C executable device-random [2021-02-15T14:24:59.217Z] [ 83%] Built target device-random [2021-02-15T14:24:59.217Z] Scanning dependencies of target device-gyro [2021-02-15T14:24:59.217Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-15T14:24:59.217Z] [ 86%] Linking C executable device-gyro [2021-02-15T14:24:59.217Z] [ 86%] Built target device-gyro [2021-02-15T14:24:59.217Z] Scanning dependencies of target device-bitfields [2021-02-15T14:24:59.217Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-15T14:24:59.478Z] [ 90%] Linking C executable device-bitfields [2021-02-15T14:24:59.478Z] [ 90%] Built target device-bitfields [2021-02-15T14:24:59.478Z] Scanning dependencies of target template-discovery [2021-02-15T14:24:59.478Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-15T14:24:59.741Z] [ 93%] Linking C executable template-discovery [2021-02-15T14:24:59.741Z] [ 93%] Built target template-discovery [2021-02-15T14:24:59.741Z] Scanning dependencies of target device-file [2021-02-15T14:24:59.741Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-15T14:25:00.004Z] [ 96%] Linking C executable device-file [2021-02-15T14:25:00.004Z] [ 96%] Built target device-file [2021-02-15T14:25:00.004Z] Scanning dependencies of target device-terminal [2021-02-15T14:25:00.004Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-15T14:25:00.062Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-15T14:25:00.266Z] [100%] Linking C executable device-terminal [2021-02-15T14:25:00.267Z] [100%] Built target device-terminal [2021-02-15T14:25:00.267Z] + make package [2021-02-15T14:25:00.267Z] + tee -a release.log [2021-02-15T14:25:00.267Z] [ 73%] Built target csdk [2021-02-15T14:25:00.267Z] [ 76%] Built target template [2021-02-15T14:25:00.267Z] [ 80%] Built target device-counter [2021-02-15T14:25:00.333Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-15T14:25:00.556Z] [ 83%] Built target device-random [2021-02-15T14:25:00.556Z] [ 86%] Built target device-gyro [2021-02-15T14:25:00.556Z] [ 90%] Built target device-bitfields [2021-02-15T14:25:00.556Z] [ 93%] Built target template-discovery [2021-02-15T14:25:00.556Z] [ 96%] Built target device-file [2021-02-15T14:25:00.556Z] [100%] Built target device-terminal [2021-02-15T14:25:00.556Z] Run CPack packaging tool... [2021-02-15T14:25:00.556Z] CPack: Create package using TGZ [2021-02-15T14:25:00.556Z] CPack: Install projects [2021-02-15T14:25:00.556Z] CPack: - Run preinstall target for: Csdk [2021-02-15T14:25:00.609Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-15T14:25:00.845Z] CPack: - Install project: Csdk [2021-02-15T14:25:00.845Z] CPack: Create package [2021-02-15T14:25:00.845Z] CPack: - package: /tmp/sdk/build/release/csdk-1.3.2-dev.4.tar.gz generated. [2021-02-15T14:25:00.845Z] + '[' false '=' true ] [2021-02-15T14:25:00.845Z] + '[' false '=' true ] [2021-02-15T14:25:00.845Z] + mkdir -p /tmp/sdk/build/debug [2021-02-15T14:25:00.845Z] + cd /tmp/sdk/build/debug [2021-02-15T14:25:00.845Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-02-15T14:25:01.118Z] -- The C compiler identification is GNU 8.3.0 [2021-02-15T14:25:01.118Z] -- Check for working C compiler: /usr/bin/cc [2021-02-15T14:25:01.118Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-15T14:25:01.118Z] -- Detecting C compiler ABI info [2021-02-15T14:25:01.118Z] -- Detecting C compiler ABI info - done [2021-02-15T14:25:01.204Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-15T14:25:01.386Z] -- Detecting C compile features [2021-02-15T14:25:01.386Z] -- Detecting C compile features - done [2021-02-15T14:25:01.386Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-15T14:25:01.386Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-15T14:25:01.386Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-15T14:25:01.386Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-15T14:25:01.649Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-15T14:25:01.649Z] -- C SDK 1.3.2-dev.4 for Linux [2021-02-15T14:25:01.649Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-15T14:25:01.649Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-15T14:25:01.649Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-15T14:25:01.649Z] -- Configuring done [2021-02-15T14:25:01.649Z] -- Generating done [2021-02-15T14:25:01.649Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-02-15T14:25:01.649Z] + make [2021-02-15T14:25:01.649Z] + tee debug.log [2021-02-15T14:25:01.802Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-15T14:25:01.912Z] Scanning dependencies of target csdk [2021-02-15T14:25:01.912Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-15T14:25:01.912Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2021-02-15T14:25:02.174Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-15T14:25:02.174Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-15T14:25:02.174Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-15T14:25:02.437Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-15T14:25:02.437Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-15T14:25:02.699Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-15T14:25:02.699Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-15T14:25:02.962Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-15T14:25:02.962Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-15T14:25:02.962Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-15T14:25:03.224Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-15T14:25:03.224Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-15T14:25:03.224Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-15T14:25:03.487Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-15T14:25:03.487Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-15T14:25:03.750Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-15T14:25:03.750Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-15T14:25:03.750Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-15T14:25:04.013Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-15T14:25:04.014Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-15T14:25:04.275Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-15T14:25:04.275Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-15T14:25:04.275Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-15T14:25:04.275Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-15T14:25:04.415Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-15T14:25:04.415Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-15T14:25:04.539Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-15T14:25:04.539Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-15T14:25:04.539Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-15T14:25:04.539Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-15T14:25:04.686Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-15T14:25:04.804Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-15T14:25:04.804Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-15T14:25:05.072Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-15T14:25:05.072Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-15T14:25:05.279Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-15T14:25:05.336Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-15T14:25:05.551Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-15T14:25:05.601Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-15T14:25:05.601Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-15T14:25:05.601Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-15T14:25:05.824Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-15T14:25:05.864Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-15T14:25:06.126Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-15T14:25:06.389Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-15T14:25:06.389Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-15T14:25:06.653Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-15T14:25:06.653Z] [ 73%] Linking C shared library libcsdk.so [2021-02-15T14:25:06.653Z] [ 73%] Built target csdk [2021-02-15T14:25:06.653Z] Scanning dependencies of target template [2021-02-15T14:25:06.653Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-15T14:25:06.796Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-15T14:25:06.915Z] [ 76%] Linking C executable template [2021-02-15T14:25:06.915Z] [ 76%] Built target template [2021-02-15T14:25:06.915Z] Scanning dependencies of target device-counter [2021-02-15T14:25:06.915Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-15T14:25:06.915Z] [ 80%] Linking C executable device-counter [2021-02-15T14:25:07.068Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-15T14:25:07.179Z] [ 80%] Built target device-counter [2021-02-15T14:25:07.179Z] Scanning dependencies of target device-random [2021-02-15T14:25:07.179Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-15T14:25:07.179Z] [ 83%] Linking C executable device-random [2021-02-15T14:25:07.179Z] [ 83%] Built target device-random [2021-02-15T14:25:07.179Z] Scanning dependencies of target device-gyro [2021-02-15T14:25:07.441Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-15T14:25:07.441Z] [ 86%] Linking C executable device-gyro [2021-02-15T14:25:07.441Z] [ 86%] Built target device-gyro [2021-02-15T14:25:07.441Z] Scanning dependencies of target device-bitfields [2021-02-15T14:25:07.441Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-15T14:25:07.441Z] [ 90%] Linking C executable device-bitfields [2021-02-15T14:25:07.659Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-15T14:25:07.706Z] [ 90%] Built target device-bitfields [2021-02-15T14:25:07.706Z] Scanning dependencies of target template-discovery [2021-02-15T14:25:07.706Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-15T14:25:07.706Z] [ 93%] Linking C executable template-discovery [2021-02-15T14:25:07.706Z] [ 93%] Built target template-discovery [2021-02-15T14:25:07.931Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-15T14:25:07.971Z] Scanning dependencies of target device-file [2021-02-15T14:25:07.971Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-15T14:25:07.971Z] [ 96%] Linking C executable device-file [2021-02-15T14:25:07.971Z] [ 96%] Built target device-file [2021-02-15T14:25:07.971Z] Scanning dependencies of target device-terminal [2021-02-15T14:25:07.971Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-15T14:25:08.234Z] [100%] Linking C executable device-terminal [2021-02-15T14:25:08.234Z] [100%] Built target device-terminal [2021-02-15T14:25:08.234Z] make: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.234Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.234Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.234Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.234Z] [ 73%] Built target csdk [2021-02-15T14:25:08.234Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.234Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.234Z] [ 76%] Built target template [2021-02-15T14:25:08.234Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.234Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.234Z] [ 80%] Built target device-counter [2021-02-15T14:25:08.234Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.234Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.234Z] [ 83%] Built target device-random [2021-02-15T14:25:08.234Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.234Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.496Z] [ 86%] Built target device-gyro [2021-02-15T14:25:08.496Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.496Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.496Z] [ 90%] Built target device-bitfields [2021-02-15T14:25:08.496Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.496Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.496Z] [ 93%] Built target template-discovery [2021-02-15T14:25:08.496Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.496Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.496Z] [ 96%] Built target device-file [2021-02-15T14:25:08.496Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.496Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.496Z] [100%] Built target device-terminal [2021-02-15T14:25:08.496Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:08.496Z] Install the project... [2021-02-15T14:25:08.496Z] -- Install configuration: "Release" [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/lib/libcsdk.so [2021-02-15T14:25:08.496Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-02-15T14:25:08.496Z] -- Up-to-date: /usr/local/include [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/devsdk [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/edgex [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/edgex/devices.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/edgex/error.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/edgex/os.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/base64.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/component.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/config.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/container.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/data.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/hash.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/iot.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/json.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/logger.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/os.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/thread.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/time.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/typecode.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/os [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/include/iot/defs.h [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-02-15T14:25:08.496Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-02-15T14:25:08.496Z] make: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:09.897Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-15T14:25:10.169Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-15T14:25:10.418Z] Removing intermediate container f698b16d5ed4 [2021-02-15T14:25:10.418Z] ---> 8210b64eed29 [2021-02-15T14:25:10.418Z] Step 14/21 : FROM ${BASE} [2021-02-15T14:25:10.418Z] ---> 5eabd8fd8ba2 [2021-02-15T14:25:10.418Z] Step 15/21 : LABEL maintainer="IOTech " [2021-02-15T14:25:10.418Z] ---> Running in 161043531d20 [2021-02-15T14:25:10.690Z] Removing intermediate container 161043531d20 [2021-02-15T14:25:10.690Z] ---> ec2220e557ac [2021-02-15T14:25:10.690Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-02-15T14:25:10.690Z] ---> Running in 50c21c592bf7 [2021-02-15T14:25:11.142Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-15T14:25:11.414Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-15T14:25:11.635Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-15T14:25:12.207Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-15T14:25:12.780Z] (1/3) Installing curl (7.64.0-r5) [2021-02-15T14:25:12.780Z] (2/3) Installing libuuid (2.33-r0) [2021-02-15T14:25:12.780Z] (3/3) Installing wget (1.20.3-r0) [2021-02-15T14:25:13.046Z] Executing busybox-1.29.3-r10.trigger [2021-02-15T14:25:13.046Z] OK: 268 MiB in 78 packages [2021-02-15T14:25:13.620Z] Removing intermediate container 50c21c592bf7 [2021-02-15T14:25:13.620Z] ---> 81a61951f9ca [2021-02-15T14:25:13.620Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-02-15T14:25:13.885Z] ---> 5634f1e590a2 [2021-02-15T14:25:13.885Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-02-15T14:25:13.885Z] ---> 9f8d4436e28c [2021-02-15T14:25:13.885Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-02-15T14:25:14.475Z] ---> 723b84ecaf77 [2021-02-15T14:25:14.475Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-02-15T14:25:14.475Z] ---> 1f5603234d55 [2021-02-15T14:25:14.475Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-02-15T14:25:14.738Z] ---> 1559f2f4a988 [2021-02-15T14:25:14.738Z] Successfully built 1559f2f4a988 [2021-02-15T14:25:15.014Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:25:15.769Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-15T14:25:15.769Z] . [Pipeline] withDockerContainer [2021-02-15T14:25:15.787Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-15T14:25:15.893Z] prd-centos7-docker-4c-2g-26507 does not seem to be running inside a container [2021-02-15T14:25:15.949Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/56 -v /w/workspace/device-sdk-c/56:/w/workspace/device-sdk-c/56:rw,z -v /w/workspace/device-sdk-c/56@tmp:/w/workspace/device-sdk-c/56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-15T14:25:16.414Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-15T14:25:16.798Z] $ docker top cef8ad90de7d832f2bb120f7727c3f858932d5f92dbedd92f9c6743345587893 -eo pid,comm [2021-02-15T14:25:17.025Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [Pipeline] { [Pipeline] sh [2021-02-15T14:25:17.304Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-15T14:25:17.385Z] + make test [2021-02-15T14:25:17.386Z] echo "make test" [2021-02-15T14:25:17.386Z] make test [Pipeline] } [2021-02-15T14:25:17.401Z] $ docker stop --time=1 cef8ad90de7d832f2bb120f7727c3f858932d5f92dbedd92f9c6743345587893 [2021-02-15T14:25:18.311Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-15T14:25:18.783Z] $ docker rm -f cef8ad90de7d832f2bb120f7727c3f858932d5f92dbedd92f9c6743345587893 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-02-15T14:25:19.739Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [Pipeline] sh [2021-02-15T14:25:20.329Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-15T14:25:20.632Z] + ls -al . [2021-02-15T14:25:20.633Z] total 160 [2021-02-15T14:25:20.633Z] drwxrwxr-x. 8 jenkins jenkins 260 Feb 15 14:24 . [2021-02-15T14:25:20.633Z] drwxrwxr-x. 4 jenkins jenkins 30 Feb 15 14:24 .. [2021-02-15T14:25:20.633Z] -rw-rw-r--. 1 jenkins jenkins 3104 Feb 15 14:24 Attribution.txt [2021-02-15T14:25:20.633Z] -rw-rw-r--. 1 jenkins jenkins 6712 Feb 15 14:24 CHANGES [2021-02-15T14:25:20.633Z] drwxrwxr-x. 2 jenkins jenkins 144 Feb 15 14:24 docs [2021-02-15T14:25:20.633Z] -rw-rw-r--. 1 jenkins jenkins 108574 Feb 15 14:24 Doxyfile [2021-02-15T14:25:20.633Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 15 14:24 .git [2021-02-15T14:25:20.633Z] drwxrwxr-x. 2 jenkins jenkins 81 Feb 15 14:24 .github [2021-02-15T14:25:20.633Z] -rw-rw-r--. 1 jenkins jenkins 176 Feb 15 14:24 .gitignore [2021-02-15T14:25:20.633Z] drwxrwxr-x. 4 jenkins jenkins 33 Feb 15 14:24 include [2021-02-15T14:25:20.633Z] -rw-rw-r--. 1 jenkins jenkins 784 Feb 15 14:24 Jenkinsfile [2021-02-15T14:25:20.633Z] -rw-rw-r--. 1 jenkins jenkins 10174 Feb 15 14:24 LICENSE [2021-02-15T14:25:20.633Z] -rw-rw-r--. 1 jenkins jenkins 449 Feb 15 14:24 Makefile [2021-02-15T14:25:20.633Z] -rw-rw-r--. 1 jenkins jenkins 2697 Feb 15 14:24 README.md [2021-02-15T14:25:20.633Z] -rw-rw-r--. 1 jenkins jenkins 6378 Feb 15 14:24 README.v2.md [2021-02-15T14:25:20.633Z] drwxrwxr-x. 2 jenkins jenkins 98 Feb 15 14:24 scripts [2021-02-15T14:25:20.633Z] drwxrwxr-x. 4 jenkins jenkins 50 Feb 15 14:24 src [2021-02-15T14:25:20.633Z] -rw-rw-r--. 1 jenkins jenkins 11 Feb 15 14:21 VERSION [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:25:20.943Z] + 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=eab06a1b74e5c881604e869fbb017afdf966c381 --label arch=amd64 --label version=1.3.2-dev.4 . [2021-02-15T14:25:20.943Z] Sending build context to Docker daemon 2.429MB [2021-02-15T14:25:20.943Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-02-15T14:25:20.943Z] Step 2/15 : FROM ${BASE} [2021-02-15T14:25:20.943Z] ---> 1559f2f4a988 [2021-02-15T14:25:20.943Z] Step 3/15 : LABEL maintainer="IOTech " [2021-02-15T14:25:21.161Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-15T14:25:21.517Z] ---> Running in 04441e93c27a [2021-02-15T14:25:21.517Z] Removing intermediate container 04441e93c27a [2021-02-15T14:25:21.517Z] ---> e4d0292c5d5b [2021-02-15T14:25:21.517Z] 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-15T14:25:21.779Z] ---> Running in da4ed2a99649 [2021-02-15T14:25:22.041Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-15T14:25:22.988Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-15T14:25:23.256Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-15T14:25:23.519Z] (2/6) Installing libblkid (2.33-r0) [2021-02-15T14:25:23.519Z] (3/6) Installing libfdisk (2.33-r0) [2021-02-15T14:25:23.519Z] (4/6) Installing libmount (2.33-r0) [2021-02-15T14:25:23.780Z] (5/6) Installing libsmartcols (2.33-r0) [2021-02-15T14:25:23.780Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-02-15T14:25:24.043Z] Executing busybox-1.29.3-r10.trigger [2021-02-15T14:25:24.307Z] OK: 272 MiB in 84 packages [2021-02-15T14:25:24.529Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-15T14:25:24.805Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-15T14:25:24.880Z] Removing intermediate container da4ed2a99649 [2021-02-15T14:25:24.881Z] ---> 587c0e5028fc [2021-02-15T14:25:24.881Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-02-15T14:25:24.881Z] ---> b19ab04a741c [2021-02-15T14:25:24.881Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-02-15T14:25:25.397Z] [ 73%] Linking C shared library libcsdk.so [2021-02-15T14:25:25.397Z] [ 73%] Built target csdk [2021-02-15T14:25:25.670Z] Scanning dependencies of target template [2021-02-15T14:25:25.670Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-15T14:25:25.828Z] ---> 6515fbdb641c [2021-02-15T14:25:25.828Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-02-15T14:25:26.090Z] ---> 45ee5cb94318 [2021-02-15T14:25:26.090Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-02-15T14:25:26.263Z] [ 76%] Linking C executable template [2021-02-15T14:25:26.353Z] ---> da71895e1f4c [2021-02-15T14:25:26.353Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-02-15T14:25:26.536Z] [ 76%] Built target template [2021-02-15T14:25:26.537Z] Scanning dependencies of target device-counter [2021-02-15T14:25:26.537Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-15T14:25:26.616Z] ---> 319dcc39d40c [2021-02-15T14:25:26.616Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-02-15T14:25:26.616Z] ---> e1889f8b8ee0 [2021-02-15T14:25:26.616Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-02-15T14:25:26.879Z] ---> Running in db4367ebb1ce [2021-02-15T14:25:26.879Z] Removing intermediate container db4367ebb1ce [2021-02-15T14:25:26.879Z] ---> 599d9a0f1ec6 [2021-02-15T14:25:26.879Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-02-15T14:25:27.130Z] [ 80%] Linking C executable device-counter [2021-02-15T14:25:27.130Z] [ 80%] Built target device-counter [2021-02-15T14:25:27.130Z] Scanning dependencies of target device-random [2021-02-15T14:25:27.130Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-15T14:25:27.141Z] ---> Running in 46710b6c90f3 [2021-02-15T14:25:27.141Z] Removing intermediate container 46710b6c90f3 [2021-02-15T14:25:27.141Z] ---> cfc331d0559d [2021-02-15T14:25:27.141Z] Step 13/15 : LABEL arch=amd64 [2021-02-15T14:25:27.403Z] ---> Running in 1a26604ee999 [2021-02-15T14:25:27.403Z] Removing intermediate container 1a26604ee999 [2021-02-15T14:25:27.403Z] ---> 5576d067eb66 [2021-02-15T14:25:27.403Z] Step 14/15 : LABEL git_sha=eab06a1b74e5c881604e869fbb017afdf966c381 [2021-02-15T14:25:27.666Z] ---> Running in 5c94129f78d4 [2021-02-15T14:25:27.666Z] Removing intermediate container 5c94129f78d4 [2021-02-15T14:25:27.666Z] ---> b66a1438e161 [2021-02-15T14:25:27.666Z] Step 15/15 : LABEL version=1.3.2-dev.4 [2021-02-15T14:25:27.666Z] ---> Running in b06a0322fe54 [2021-02-15T14:25:27.722Z] [ 83%] Linking C executable device-random [2021-02-15T14:25:27.929Z] Removing intermediate container b06a0322fe54 [2021-02-15T14:25:27.929Z] ---> 9621323130ea [2021-02-15T14:25:27.929Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-02-15T14:25:27.929Z] Successfully built 9621323130ea [2021-02-15T14:25:27.929Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [2021-02-15T14:25:27.993Z] [ 83%] Built target device-random [2021-02-15T14:25:27.993Z] Scanning dependencies of target device-gyro [2021-02-15T14:25:27.993Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-02-15T14:25:28.268Z] [ 86%] Linking C executable device-gyro [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-15T14:25:28.542Z] [ 86%] Built target device-gyro [2021-02-15T14:25:28.542Z] Scanning dependencies of target device-bitfields [2021-02-15T14:25:28.542Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-15T14:25:29.154Z] [ 90%] Linking C executable device-bitfields [2021-02-15T14:25:29.155Z] [ 90%] Built target device-bitfields [2021-02-15T14:25:29.434Z] Scanning dependencies of target template-discovery [2021-02-15T14:25:29.434Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-15T14:25:30.025Z] [ 93%] Linking C executable template-discovery [2021-02-15T14:25:30.296Z] [ 93%] Built target template-discovery [2021-02-15T14:25:30.296Z] Scanning dependencies of target device-file [2021-02-15T14:25:30.296Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-15T14:25:30.891Z] [ 96%] Linking C executable device-file [2021-02-15T14:25:31.162Z] [ 96%] Built target device-file [2021-02-15T14:25:31.162Z] Scanning dependencies of target device-terminal [2021-02-15T14:25:31.162Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-15T14:25:31.753Z] [100%] Linking C executable device-terminal [2021-02-15T14:25:31.753Z] [100%] Built target device-terminal [2021-02-15T14:25:31.753Z] + make package [2021-02-15T14:25:31.753Z] + tee -a release.log [2021-02-15T14:25:32.026Z] [ 73%] Built target csdk [2021-02-15T14:25:32.026Z] [ 76%] Built target template [2021-02-15T14:25:32.026Z] [ 80%] Built target device-counter [2021-02-15T14:25:32.026Z] [ 83%] Built target device-random [2021-02-15T14:25:32.296Z] [ 86%] Built target device-gyro [2021-02-15T14:25:32.296Z] [ 90%] Built target device-bitfields [2021-02-15T14:25:32.296Z] [ 93%] Built target template-discovery [2021-02-15T14:25:32.296Z] [ 96%] Built target device-file [2021-02-15T14:25:32.296Z] [100%] Built target device-terminal [2021-02-15T14:25:32.296Z] Run CPack packaging tool... [2021-02-15T14:25:32.296Z] CPack: Create package using TGZ [2021-02-15T14:25:32.296Z] CPack: Install projects [2021-02-15T14:25:32.296Z] CPack: - Run preinstall target for: Csdk [2021-02-15T14:25:32.888Z] CPack: - Install project: Csdk [2021-02-15T14:25:32.889Z] CPack: Create package [2021-02-15T14:25:33.159Z] CPack: - package: /tmp/sdk/build/release/csdk-1.3.2-dev.4.tar.gz generated. [2021-02-15T14:25:33.159Z] + '[' false '=' true ] [2021-02-15T14:25:33.159Z] + '[' false '=' true ] [2021-02-15T14:25:33.159Z] + mkdir -p /tmp/sdk/build/debug [2021-02-15T14:25:33.159Z] + cd /tmp/sdk/build/debug [2021-02-15T14:25:33.159Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-02-15T14:25:33.431Z] -- The C compiler identification is GNU 8.3.0 [2021-02-15T14:25:33.431Z] -- Check for working C compiler: /usr/bin/cc [2021-02-15T14:25:33.703Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-15T14:25:33.703Z] -- Detecting C compiler ABI info [2021-02-15T14:25:33.975Z] -- Detecting C compiler ABI info - done [2021-02-15T14:25:33.975Z] -- Detecting C compile features [2021-02-15T14:25:34.569Z] -- Detecting C compile features - done [2021-02-15T14:25:34.569Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-15T14:25:34.840Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-15T14:25:34.840Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-15T14:25:34.840Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-15T14:25:34.840Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-15T14:25:34.840Z] -- C SDK 1.3.2-dev.4 for Linux [2021-02-15T14:25:34.840Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-15T14:25:34.840Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-15T14:25:35.111Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-15T14:25:35.111Z] -- Configuring done [2021-02-15T14:25:35.382Z] -- Generating done [2021-02-15T14:25:35.382Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-02-15T14:25:35.382Z] + + make [2021-02-15T14:25:35.382Z] tee debug.log [2021-02-15T14:25:35.382Z] Scanning dependencies of target csdk [2021-02-15T14:25:35.654Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-15T14:25:35.924Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2021-02-15T14:25:36.196Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-15T14:25:36.469Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-15T14:25:37.061Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-15T14:25:37.654Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-15T14:25:37.654Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-15T14:25:37.928Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-15T14:25:38.905Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-15T14:25:38.905Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-15T14:25:39.498Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-15T14:25:39.498Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-15T14:25:39.770Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-15T14:25:40.041Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-15T14:25:40.314Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-15T14:25:41.285Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-15T14:25:41.285Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-15T14:25:41.556Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-15T14:25:41.828Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-15T14:25:42.100Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-15T14:25:43.072Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-15T14:25:43.072Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-15T14:25:43.344Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-15T14:25:43.344Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-15T14:25:43.617Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-15T14:25:43.887Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-15T14:25:44.160Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-15T14:25:44.430Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-15T14:25:44.702Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-15T14:25:44.702Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-15T14:25:45.293Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-15T14:25:45.293Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-15T14:25:45.887Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-15T14:25:46.159Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-15T14:25:47.134Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-15T14:25:47.405Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-15T14:25:47.676Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-15T14:25:47.949Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-15T14:25:48.222Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-15T14:25:49.196Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-15T14:25:49.469Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-15T14:25:50.452Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-15T14:25:50.452Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-15T14:25:50.725Z] [ 73%] Linking C shared library libcsdk.so [2021-02-15T14:25:50.996Z] [ 73%] Built target csdk [2021-02-15T14:25:50.996Z] Scanning dependencies of target template [2021-02-15T14:25:50.996Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-15T14:25:51.266Z] [ 76%] Linking C executable template [2021-02-15T14:25:51.538Z] [ 76%] Built target template [2021-02-15T14:25:51.538Z] Scanning dependencies of target device-counter [2021-02-15T14:25:51.538Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-15T14:25:51.810Z] [ 80%] Linking C executable device-counter [2021-02-15T14:25:52.081Z] [ 80%] Built target device-counter [2021-02-15T14:25:52.082Z] Scanning dependencies of target device-random [2021-02-15T14:25:52.082Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-15T14:25:52.354Z] [ 83%] Linking C executable device-random [2021-02-15T14:25:52.626Z] [ 83%] Built target device-random [2021-02-15T14:25:52.626Z] Scanning dependencies of target device-gyro [2021-02-15T14:25:52.626Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-15T14:25:52.900Z] [ 86%] Linking C executable device-gyro [2021-02-15T14:25:53.172Z] [ 86%] Built target device-gyro [2021-02-15T14:25:53.172Z] Scanning dependencies of target device-bitfields [2021-02-15T14:25:53.172Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-15T14:25:53.444Z] [ 90%] Linking C executable device-bitfields [2021-02-15T14:25:53.716Z] [ 90%] Built target device-bitfields [2021-02-15T14:25:53.716Z] Scanning dependencies of target template-discovery [2021-02-15T14:25:53.716Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-15T14:25:53.987Z] [ 93%] Linking C executable template-discovery [2021-02-15T14:25:54.260Z] [ 93%] Built target template-discovery [2021-02-15T14:25:54.260Z] Scanning dependencies of target device-file [2021-02-15T14:25:54.260Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-15T14:25:54.533Z] [ 96%] Linking C executable device-file [2021-02-15T14:25:54.807Z] [ 96%] Built target device-file [2021-02-15T14:25:54.807Z] Scanning dependencies of target device-terminal [2021-02-15T14:25:54.807Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-15T14:25:55.079Z] [100%] Linking C executable device-terminal [2021-02-15T14:25:55.352Z] [100%] Built target device-terminal [2021-02-15T14:25:55.352Z] make: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.352Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.352Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.352Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.352Z] [ 73%] Built target csdk [2021-02-15T14:25:55.352Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.352Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.352Z] [ 76%] Built target template [2021-02-15T14:25:55.352Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.352Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.352Z] [ 80%] Built target device-counter [2021-02-15T14:25:55.352Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.625Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.625Z] [ 83%] Built target device-random [2021-02-15T14:25:55.625Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.625Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.625Z] [ 86%] Built target device-gyro [2021-02-15T14:25:55.625Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.625Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.625Z] [ 90%] Built target device-bitfields [2021-02-15T14:25:55.625Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.625Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.625Z] [ 93%] Built target template-discovery [2021-02-15T14:25:55.625Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.625Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.625Z] [ 96%] Built target device-file [2021-02-15T14:25:55.625Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.625Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.625Z] [100%] Built target device-terminal [2021-02-15T14:25:55.625Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:55.898Z] Install the project... [2021-02-15T14:25:55.898Z] -- Install configuration: "Release" [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/lib/libcsdk.so [2021-02-15T14:25:55.898Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-02-15T14:25:55.898Z] -- Up-to-date: /usr/local/include [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/edgex [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/edgex/error.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/edgex/devices.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/edgex/os.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/devsdk [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/json.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/container.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/component.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/typecode.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/iot.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/time.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/hash.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/logger.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/os [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/data.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/thread.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/os.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/base64.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/defs.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/include/iot/config.h [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-02-15T14:25:55.898Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-02-15T14:25:55.898Z] make: Leaving directory '/tmp/sdk/build/release' [2021-02-15T14:25:58.511Z] Removing intermediate container ede6e23445ea [2021-02-15T14:25:58.511Z] ---> f0207fc75bdf [2021-02-15T14:25:58.511Z] Step 14/21 : FROM ${BASE} [2021-02-15T14:25:58.511Z] ---> b23d30803547 [2021-02-15T14:25:58.511Z] Step 15/21 : LABEL maintainer="IOTech " [2021-02-15T14:25:58.511Z] ---> Running in 1a8a7d837587 [2021-02-15T14:25:58.785Z] Removing intermediate container 1a8a7d837587 [2021-02-15T14:25:58.785Z] ---> f1ecc2558486 [2021-02-15T14:25:58.785Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-02-15T14:25:58.785Z] ---> Running in 4f302349c32c [2021-02-15T14:25:59.764Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-15T14:26:00.740Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-15T14:26:01.329Z] (1/3) Installing curl (7.64.0-r5) [2021-02-15T14:26:01.329Z] (2/3) Installing libuuid (2.33-r0) [2021-02-15T14:26:01.329Z] (3/3) Installing wget (1.20.3-r0) [2021-02-15T14:26:01.599Z] Executing busybox-1.29.3-r10.trigger [2021-02-15T14:26:01.599Z] OK: 281 MiB in 78 packages [2021-02-15T14:26:03.028Z] Removing intermediate container 4f302349c32c [2021-02-15T14:26:03.028Z] ---> f4018919520a [2021-02-15T14:26:03.028Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-02-15T14:26:03.629Z] ---> 3a8ac1838faa [2021-02-15T14:26:03.629Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-02-15T14:26:04.608Z] ---> 97cc71c6b568 [2021-02-15T14:26:04.608Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-02-15T14:26:05.201Z] ---> b1983d11807c [2021-02-15T14:26:05.201Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-02-15T14:26:05.800Z] ---> 40cb23e4057f [2021-02-15T14:26:05.801Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-02-15T14:26:06.781Z] ---> a732f4130486 [2021-02-15T14:26:06.781Z] Successfully built a732f4130486 [2021-02-15T14:26:06.781Z] 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-15T14:26:07.471Z] + docker inspect -f . ci-base-image-arm64 [2021-02-15T14:26:07.471Z] . [Pipeline] withDockerContainer [2021-02-15T14:26:07.746Z] prd-ubuntu18.04-docker-arm64-4c-16g-26506 does not seem to be running inside a container [2021-02-15T14:26:07.861Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/56 -v /w/workspace/device-sdk-c/56:/w/workspace/device-sdk-c/56:rw,z -v /w/workspace/device-sdk-c/56@tmp:/w/workspace/device-sdk-c/56@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-15T14:26:09.427Z] $ docker top 9acdcecbbed71da8b7eac0b3390930ee8dfcfda2de41f6f0180ba8c967dd2181 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-15T14:26:10.493Z] + make test [2021-02-15T14:26:10.493Z] echo "make test" [2021-02-15T14:26:10.493Z] make test [Pipeline] } [2021-02-15T14:26:10.535Z] $ docker stop --time=1 9acdcecbbed71da8b7eac0b3390930ee8dfcfda2de41f6f0180ba8c967dd2181 [2021-02-15T14:26:12.445Z] $ docker rm -f 9acdcecbbed71da8b7eac0b3390930ee8dfcfda2de41f6f0180ba8c967dd2181 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-15T14:26:13.368Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-15T14:26:13.705Z] + ls -al . [2021-02-15T14:26:13.705Z] total 192 [2021-02-15T14:26:13.705Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 14:23 . [2021-02-15T14:26:13.705Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 14:23 .. [2021-02-15T14:26:13.705Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 14:23 .git [2021-02-15T14:26:13.705Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 14:23 .github [2021-02-15T14:26:13.705Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 15 14:23 .gitignore [2021-02-15T14:26:13.705Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 15 14:23 Attribution.txt [2021-02-15T14:26:13.705Z] -rw-rw-r-- 1 jenkins jenkins 6712 Feb 15 14:23 CHANGES [2021-02-15T14:26:13.705Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 15 14:23 Doxyfile [2021-02-15T14:26:13.705Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 15 14:23 Jenkinsfile [2021-02-15T14:26:13.705Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 15 14:23 LICENSE [2021-02-15T14:26:13.705Z] -rw-rw-r-- 1 jenkins jenkins 449 Feb 15 14:23 Makefile [2021-02-15T14:26:13.705Z] -rw-rw-r-- 1 jenkins jenkins 2697 Feb 15 14:23 README.md [2021-02-15T14:26:13.705Z] -rw-rw-r-- 1 jenkins jenkins 6378 Feb 15 14:23 README.v2.md [2021-02-15T14:26:13.705Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 15 14:21 VERSION [2021-02-15T14:26:13.705Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 14:23 docs [2021-02-15T14:26:13.705Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 14:23 include [2021-02-15T14:26:13.705Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 14:23 scripts [2021-02-15T14:26:13.705Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 14:23 src [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:26:14.047Z] + 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=eab06a1b74e5c881604e869fbb017afdf966c381 --label arch=arm64 --label version=1.3.2-dev.4 . [2021-02-15T14:26:14.317Z] Sending build context to Docker daemon 2.428MB [2021-02-15T14:26:14.317Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-02-15T14:26:14.317Z] Step 2/15 : FROM ${BASE} [2021-02-15T14:26:14.317Z] ---> a732f4130486 [2021-02-15T14:26:14.317Z] Step 3/15 : LABEL maintainer="IOTech " [2021-02-15T14:26:14.588Z] ---> Running in 9ca1b2272789 [2021-02-15T14:26:15.182Z] Removing intermediate container 9ca1b2272789 [2021-02-15T14:26:15.182Z] ---> 4c7ce2102c31 [2021-02-15T14:26:15.182Z] 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-15T14:26:15.182Z] ---> Running in 0944254df680 [2021-02-15T14:26:16.164Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-15T14:26:17.140Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-15T14:26:17.733Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-15T14:26:17.733Z] (2/6) Installing libblkid (2.33-r0) [2021-02-15T14:26:17.733Z] (3/6) Installing libfdisk (2.33-r0) [2021-02-15T14:26:18.007Z] (4/6) Installing libmount (2.33-r0) [2021-02-15T14:26:18.007Z] (5/6) Installing libsmartcols (2.33-r0) [2021-02-15T14:26:18.007Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-02-15T14:26:18.598Z] Executing busybox-1.29.3-r10.trigger [2021-02-15T14:26:18.598Z] OK: 286 MiB in 84 packages [2021-02-15T14:26:20.026Z] Removing intermediate container 0944254df680 [2021-02-15T14:26:20.026Z] ---> 6f6ba97e926e [2021-02-15T14:26:20.026Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-02-15T14:26:20.298Z] ---> 0464bb240315 [2021-02-15T14:26:20.298Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-02-15T14:26:21.271Z] ---> 8c92ead791d9 [2021-02-15T14:26:21.271Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-02-15T14:26:21.865Z] ---> 1ee565277667 [2021-02-15T14:26:21.865Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-02-15T14:26:22.461Z] ---> 741e994e2a50 [2021-02-15T14:26:22.461Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-02-15T14:26:23.055Z] ---> 1e68ea7ba971 [2021-02-15T14:26:23.055Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-02-15T14:26:23.649Z] ---> ed5e40078e8e [2021-02-15T14:26:23.649Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-02-15T14:26:23.922Z] ---> Running in 83df686394bb [2021-02-15T14:26:24.519Z] Removing intermediate container 83df686394bb [2021-02-15T14:26:24.519Z] ---> c6927ebd804d [2021-02-15T14:26:24.519Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-02-15T14:26:24.519Z] ---> Running in 136da29a9f8a [2021-02-15T14:26:25.115Z] Removing intermediate container 136da29a9f8a [2021-02-15T14:26:25.115Z] ---> 4bc59f9b8176 [2021-02-15T14:26:25.115Z] Step 13/15 : LABEL arch=arm64 [2021-02-15T14:26:25.115Z] ---> Running in f055a1dec71d [2021-02-15T14:26:25.707Z] Removing intermediate container f055a1dec71d [2021-02-15T14:26:25.707Z] ---> 428b4f431997 [2021-02-15T14:26:25.707Z] Step 14/15 : LABEL git_sha=eab06a1b74e5c881604e869fbb017afdf966c381 [2021-02-15T14:26:25.707Z] ---> Running in a2d839c63e7a [2021-02-15T14:26:26.307Z] Removing intermediate container a2d839c63e7a [2021-02-15T14:26:26.307Z] ---> 17badd9865d1 [2021-02-15T14:26:26.307Z] Step 15/15 : LABEL version=1.3.2-dev.4 [2021-02-15T14:26:26.307Z] ---> Running in 74b16a4f796a [2021-02-15T14:26:26.899Z] Removing intermediate container 74b16a4f796a [2021-02-15T14:26:26.899Z] ---> 47422c2eb098 [2021-02-15T14:26:26.899Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-02-15T14:26:26.899Z] Successfully built 47422c2eb098 [2021-02-15T14:26:26.899Z] 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-15T14:26:28.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-15T14:26:28.713Z] . [Pipeline] withDockerContainer [2021-02-15T14:26:28.819Z] prd-centos7-docker-4c-2g-26505 does not seem to be running inside a container [2021-02-15T14:26:28.867Z] $ 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-15T14:26:29.653Z] $ docker top 472f1987b262d20be3e1f51fe2b5107a6eec6fcf2ac161c8ca68890cd4b06b96 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-15T14:26:29.944Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-15T14:26:29.944Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-15T14:26:30.177Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-15T14:26:30.182Z] $ docker exec 472f1987b262d20be3e1f51fe2b5107a6eec6fcf2ac161c8ca68890cd4b06b96 ssh-agent [2021-02-15T14:26:30.345Z] SSH_AUTH_SOCK=/tmp/ssh-A1q5PdYnKa4C/agent.13 [2021-02-15T14:26:30.345Z] SSH_AGENT_PID=19 [2021-02-15T14:26:30.352Z] Running ssh-add (command line suppressed) [2021-02-15T14:26:30.475Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_3784089332565777097.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_3784089332565777097.key) [2021-02-15T14:26:30.529Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-15T14:26:30.877Z] + git semver tag [2021-02-15T14:26:30.878Z] # -> Open(): unable to determine branch for HEAD [2021-02-15T14:26:30.878Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2021-02-15T14:26:30.878Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2021-02-15T14:26:30.878Z] # $SEMVER_REMOTE_NAME = origin [2021-02-15T14:26:30.878Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-15T14:26:30.878Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-15T14:26:30.878Z] # $SEMVER_BRANCH = master [2021-02-15T14:26:30.878Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2021-02-15T14:26:30.878Z] # eab06a1b74e5c881604e869fbb017afdf966c381 HEAD [2021-02-15T14:26:30.878Z] # -> Force: false [2021-02-15T14:26:30.878Z] # a1fcebae99e9ac4f6bea106676acbd53e46d3e66 refs/tags/v1.3.2-dev.4 [Pipeline] } [2021-02-15T14:26:30.891Z] $ docker exec --env ******** --env ******** 472f1987b262d20be3e1f51fe2b5107a6eec6fcf2ac161c8ca68890cd4b06b96 ssh-agent -k [2021-02-15T14:26:31.003Z] unset SSH_AUTH_SOCK; [2021-02-15T14:26:31.005Z] unset SSH_AGENT_PID; [2021-02-15T14:26:31.005Z] echo Agent pid 19 killed; [2021-02-15T14:26:31.052Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-15T14:26:31.553Z] + git semver [Pipeline] } [2021-02-15T14:26:31.571Z] $ docker stop --time=1 472f1987b262d20be3e1f51fe2b5107a6eec6fcf2ac161c8ca68890cd4b06b96 [2021-02-15T14:26:32.900Z] $ docker rm -f 472f1987b262d20be3e1f51fe2b5107a6eec6fcf2ac161c8ca68890cd4b06b96 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:26:33.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-15T14:26:33.556Z] [2021-02-15T14:26:33.556Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:26:33.904Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-15T14:26:33.905Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-15T14:26:33.905Z] ab5ef0e58194: Pulling fs layer [2021-02-15T14:26:33.905Z] 9712f1f96733: Pulling fs layer [2021-02-15T14:26:33.905Z] 63f879dbbcfc: Pulling fs layer [2021-02-15T14:26:33.905Z] 0d9ebad4ef96: Pulling fs layer [2021-02-15T14:26:33.905Z] e9a5061849ea: Pulling fs layer [2021-02-15T14:26:33.905Z] d747dcd14b5f: Pulling fs layer [2021-02-15T14:26:33.905Z] 2de7ff778b66: Pulling fs layer [2021-02-15T14:26:33.905Z] e9a5061849ea: Waiting [2021-02-15T14:26:33.905Z] d747dcd14b5f: Waiting [2021-02-15T14:26:33.905Z] 2de7ff778b66: Waiting [2021-02-15T14:26:33.905Z] 0d9ebad4ef96: Waiting [2021-02-15T14:26:34.167Z] 9712f1f96733: Verifying Checksum [2021-02-15T14:26:34.167Z] 9712f1f96733: Download complete [2021-02-15T14:26:36.096Z] 63f879dbbcfc: Verifying Checksum [2021-02-15T14:26:36.096Z] 63f879dbbcfc: Download complete [2021-02-15T14:26:36.096Z] e9a5061849ea: Download complete [2021-02-15T14:26:36.096Z] d747dcd14b5f: Verifying Checksum [2021-02-15T14:26:36.096Z] d747dcd14b5f: Download complete [2021-02-15T14:26:36.359Z] 2de7ff778b66: Verifying Checksum [2021-02-15T14:26:36.359Z] 2de7ff778b66: Download complete [2021-02-15T14:26:36.359Z] 0d9ebad4ef96: Verifying Checksum [2021-02-15T14:26:36.359Z] 0d9ebad4ef96: Download complete [2021-02-15T14:26:36.939Z] ab5ef0e58194: Verifying Checksum [2021-02-15T14:26:36.939Z] ab5ef0e58194: Download complete [2021-02-15T14:26:41.186Z] ab5ef0e58194: Pull complete [2021-02-15T14:26:41.448Z] 9712f1f96733: Pull complete [2021-02-15T14:26:44.014Z] 63f879dbbcfc: Pull complete [2021-02-15T14:26:50.654Z] 0d9ebad4ef96: Pull complete [2021-02-15T14:26:51.237Z] e9a5061849ea: Pull complete [2021-02-15T14:26:51.499Z] d747dcd14b5f: Pull complete [2021-02-15T14:26:55.730Z] 2de7ff778b66: Pull complete [2021-02-15T14:26:55.730Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-15T14:26:55.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-15T14:26:55.730Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-15T14:26:55.918Z] prd-centos7-docker-4c-2g-26505 does not seem to be running inside a container [2021-02-15T14:26:55.962Z] $ 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-15T14:26:58.646Z] $ docker top e58c6642dc2be25e1cd5a26b7a75b24c224eba34478d770ce2b7074fbe952e0c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-15T14:26:58.868Z] provisioning config files... [2021-02-15T14:26:58.880Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config1894535036923141391tmp [2021-02-15T14:26:58.895Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config703335600209311623tmp [2021-02-15T14:26:58.909Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config8574003528342828412tmp [Pipeline] { [Pipeline] echo [2021-02-15T14:26:58.959Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:26:59.282Z] ---> sigul-configuration.sh [2021-02-15T14:26:59.283Z] gpg: directory `/root/.gnupg' created [2021-02-15T14:26:59.283Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-15T14:26:59.283Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-15T14:26:59.283Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-15T14:26:59.283Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-15T14:26:59.283Z] gpg: CAST5 encrypted data [2021-02-15T14:26:59.546Z] gpg: encrypted with 1 passphrase [2021-02-15T14:26:59.546Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-15T14:26:59.846Z] + mkdir /home/jenkins [2021-02-15T14:26:59.846Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-15T14:27:00.148Z] + 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-15T14:27:00.159Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:27:00.455Z] ---> sigul-install.sh [2021-02-15T14:27:08.641Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-15T14:27:08.947Z] + git tag --list [2021-02-15T14:27:08.947Z] 0.7.0 [2021-02-15T14:27:08.947Z] 0.7.1 [2021-02-15T14:27:08.947Z] 1.0.0 [2021-02-15T14:27:08.947Z] v1.0.1 [2021-02-15T14:27:08.947Z] v1.0.2 [2021-02-15T14:27:08.947Z] v1.0.3 [2021-02-15T14:27:08.947Z] v1.1.0 [2021-02-15T14:27:08.947Z] v1.1.1 [2021-02-15T14:27:08.947Z] v1.2.0 [2021-02-15T14:27:08.947Z] v1.2.1 [2021-02-15T14:27:08.947Z] v1.2.2 [2021-02-15T14:27:08.947Z] v1.3.0 [2021-02-15T14:27:08.947Z] v1.3.1 [2021-02-15T14:27:08.947Z] v1.3.1-dev.1 [2021-02-15T14:27:08.948Z] v1.3.1-dev.2 [2021-02-15T14:27:08.948Z] v1.3.1-dev.3 [2021-02-15T14:27:08.948Z] v1.3.2-dev.1 [2021-02-15T14:27:08.948Z] v1.3.2-dev.2 [2021-02-15T14:27:08.948Z] v1.3.2-dev.3 [2021-02-15T14:27:08.948Z] v1.3.2-dev.4 [Pipeline] sh [2021-02-15T14:27:09.260Z] + lftools sign git-tag v1.3.2-dev.4 [2021-02-15T14:27:10.653Z] Signing Git tag with Sigul... [2021-02-15T14:27:10.653Z] Signing v1.3.2-dev.4 [Pipeline] echo [2021-02-15T14:27:11.613Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:27:12.005Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-15T14:27:12.037Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-15T14:27:12.145Z] $ docker stop --time=1 e58c6642dc2be25e1cd5a26b7a75b24c224eba34478d770ce2b7074fbe952e0c [2021-02-15T14:27:14.228Z] $ docker rm -f e58c6642dc2be25e1cd5a26b7a75b24c224eba34478d770ce2b7074fbe952e0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:27:15.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-15T14:27:15.081Z] . [Pipeline] withDockerContainer [2021-02-15T14:27:15.186Z] prd-centos7-docker-4c-2g-26505 does not seem to be running inside a container [2021-02-15T14:27:15.233Z] $ 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-15T14:27:15.954Z] $ docker top 136f8f695788fd715f5a336005008dc794a88abf8a979f83681039854e6615a1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-15T14:27:16.244Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-15T14:27:16.244Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-15T14:27:16.466Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-15T14:27:16.470Z] $ docker exec 136f8f695788fd715f5a336005008dc794a88abf8a979f83681039854e6615a1 ssh-agent [2021-02-15T14:27:16.642Z] SSH_AUTH_SOCK=/tmp/ssh-8v2AJmgHk7k6/agent.11 [2021-02-15T14:27:16.642Z] SSH_AGENT_PID=16 [2021-02-15T14:27:16.649Z] Running ssh-add (command line suppressed) [2021-02-15T14:27:16.786Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1779276134694721911.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1779276134694721911.key) [2021-02-15T14:27:16.840Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-15T14:27:17.176Z] + git semver bump pre [2021-02-15T14:27:17.176Z] # -> Open(): unable to determine branch for HEAD [2021-02-15T14:27:17.176Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2021-02-15T14:27:17.176Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2021-02-15T14:27:17.176Z] # $SEMVER_REMOTE_NAME = origin [2021-02-15T14:27:17.176Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-15T14:27:17.176Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-15T14:27:17.176Z] # $SEMVER_BRANCH = master [2021-02-15T14:27:17.176Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2021-02-15T14:27:17.176Z] 1.3.2-dev.5 [Pipeline] } [2021-02-15T14:27:17.189Z] $ docker exec --env ******** --env ******** 136f8f695788fd715f5a336005008dc794a88abf8a979f83681039854e6615a1 ssh-agent -k [2021-02-15T14:27:17.322Z] unset SSH_AUTH_SOCK; [2021-02-15T14:27:17.322Z] unset SSH_AGENT_PID; [2021-02-15T14:27:17.322Z] echo Agent pid 16 killed; [2021-02-15T14:27:17.372Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-15T14:27:17.872Z] + git semver [Pipeline] } [2021-02-15T14:27:17.890Z] $ docker stop --time=1 136f8f695788fd715f5a336005008dc794a88abf8a979f83681039854e6615a1 [2021-02-15T14:27:19.237Z] $ docker rm -f 136f8f695788fd715f5a336005008dc794a88abf8a979f83681039854e6615a1 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:27:19.763Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-15T14:27:19.763Z] . [Pipeline] withDockerContainer [2021-02-15T14:27:19.868Z] prd-centos7-docker-4c-2g-26505 does not seem to be running inside a container [2021-02-15T14:27:19.916Z] $ 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-15T14:27:20.877Z] $ docker top 6f56281f58a02e0b6a8ae74a094b4201e688c3cffc12a4f4c670d769099692ec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-15T14:27:21.162Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-15T14:27:21.162Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-15T14:27:21.352Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-15T14:27:21.356Z] $ docker exec 6f56281f58a02e0b6a8ae74a094b4201e688c3cffc12a4f4c670d769099692ec ssh-agent [2021-02-15T14:27:21.530Z] SSH_AUTH_SOCK=/tmp/ssh-eLkXisTPxdHw/agent.13 [2021-02-15T14:27:21.530Z] SSH_AGENT_PID=19 [2021-02-15T14:27:21.537Z] Running ssh-add (command line suppressed) [2021-02-15T14:27:21.662Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2253983235222724799.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2253983235222724799.key) [2021-02-15T14:27:21.717Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-15T14:27:22.055Z] + git semver push [2021-02-15T14:27:22.055Z] # -> Open(): unable to determine branch for HEAD [2021-02-15T14:27:22.055Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2021-02-15T14:27:22.055Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2021-02-15T14:27:22.055Z] # $SEMVER_REMOTE_NAME = origin [2021-02-15T14:27:22.055Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-15T14:27:22.055Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-15T14:27:22.055Z] # $SEMVER_BRANCH = master [2021-02-15T14:27:22.055Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2021-02-15T14:27:27.383Z] $ docker exec --env ******** --env ******** 6f56281f58a02e0b6a8ae74a094b4201e688c3cffc12a4f4c670d769099692ec ssh-agent -k [2021-02-15T14:27:27.515Z] unset SSH_AUTH_SOCK; [2021-02-15T14:27:27.516Z] unset SSH_AGENT_PID; [2021-02-15T14:27:27.516Z] echo Agent pid 19 killed; [2021-02-15T14:27:27.574Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-15T14:27:28.050Z] + git semver [Pipeline] } [2021-02-15T14:27:28.067Z] $ docker stop --time=1 6f56281f58a02e0b6a8ae74a094b4201e688c3cffc12a4f4c670d769099692ec [2021-02-15T14:27:29.426Z] $ docker rm -f 6f56281f58a02e0b6a8ae74a094b4201e688c3cffc12a4f4c670d769099692ec [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-15T14:27:30.760Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:27:31.064Z] ---> package-listing.sh [2021-02-15T14:27:31.064Z] ++ facter osfamily [2021-02-15T14:27:31.064Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-15T14:27:31.064Z] + OS_FAMILY=redhat [2021-02-15T14:27:31.064Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_master [2021-02-15T14:27:31.064Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-15T14:27:31.064Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-15T14:27:31.064Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-15T14:27:31.064Z] + PACKAGES=/tmp/packages_start.txt [2021-02-15T14:27:31.064Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2021-02-15T14:27:31.064Z] + PACKAGES=/tmp/packages_end.txt [2021-02-15T14:27:31.064Z] + case "${OS_FAMILY}" in [2021-02-15T14:27:31.064Z] + rpm -qa [2021-02-15T14:27:31.064Z] + sort [2021-02-15T14:27:36.403Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-15T14:27:36.403Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-15T14:27:36.403Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-15T14:27:36.403Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2021-02-15T14:27:36.403Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [2021-02-15T14:27:36.403Z] + 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-15T14:27:36.416Z] 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-15T14:27:36.709Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:27:37.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-15T14:27:37.015Z] [2021-02-15T14:27:37.015Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-15T14:27:37.385Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-15T14:27:37.385Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-15T14:27:37.385Z] df20fa9351a1: Pulling fs layer [2021-02-15T14:27:37.385Z] 36b3adc4ff6f: Pulling fs layer [2021-02-15T14:27:37.385Z] 8ad3a11d3b57: Pulling fs layer [2021-02-15T14:27:37.385Z] 46f8f816bc3b: Pulling fs layer [2021-02-15T14:27:37.385Z] 93b61091891f: Pulling fs layer [2021-02-15T14:27:37.385Z] 93b9cdb0e59b: Pulling fs layer [2021-02-15T14:27:37.385Z] 5e14af77c1be: Pulling fs layer [2021-02-15T14:27:37.385Z] 01666e4c0597: Pulling fs layer [2021-02-15T14:27:37.385Z] aa168da1d23b: Pulling fs layer [2021-02-15T14:27:37.385Z] 93b9cdb0e59b: Waiting [2021-02-15T14:27:37.385Z] 5e14af77c1be: Waiting [2021-02-15T14:27:37.385Z] 01666e4c0597: Waiting [2021-02-15T14:27:37.385Z] aa168da1d23b: Waiting [2021-02-15T14:27:37.385Z] 93b61091891f: Waiting [2021-02-15T14:27:37.385Z] 36b3adc4ff6f: Download complete [2021-02-15T14:27:37.385Z] 46f8f816bc3b: Verifying Checksum [2021-02-15T14:27:37.385Z] 46f8f816bc3b: Download complete [2021-02-15T14:27:37.385Z] df20fa9351a1: Verifying Checksum [2021-02-15T14:27:37.385Z] df20fa9351a1: Download complete [2021-02-15T14:27:37.650Z] 93b9cdb0e59b: Verifying Checksum [2021-02-15T14:27:37.650Z] 93b9cdb0e59b: Download complete [2021-02-15T14:27:37.650Z] 93b61091891f: Download complete [2021-02-15T14:27:37.650Z] 5e14af77c1be: Verifying Checksum [2021-02-15T14:27:37.650Z] 5e14af77c1be: Download complete [2021-02-15T14:27:37.650Z] 01666e4c0597: Verifying Checksum [2021-02-15T14:27:37.650Z] 01666e4c0597: Download complete [2021-02-15T14:27:37.650Z] 8ad3a11d3b57: Verifying Checksum [2021-02-15T14:27:37.650Z] 8ad3a11d3b57: Download complete [2021-02-15T14:27:37.913Z] df20fa9351a1: Pull complete [2021-02-15T14:27:38.176Z] 36b3adc4ff6f: Pull complete [2021-02-15T14:27:39.220Z] 8ad3a11d3b57: Pull complete [2021-02-15T14:27:39.220Z] 46f8f816bc3b: Pull complete [2021-02-15T14:27:39.798Z] 93b61091891f: Pull complete [2021-02-15T14:27:40.060Z] aa168da1d23b: Verifying Checksum [2021-02-15T14:27:40.060Z] aa168da1d23b: Download complete [2021-02-15T14:27:40.060Z] 93b9cdb0e59b: Pull complete [2021-02-15T14:27:40.322Z] 5e14af77c1be: Pull complete [2021-02-15T14:27:40.584Z] 01666e4c0597: Pull complete [2021-02-15T14:27:47.223Z] aa168da1d23b: Pull complete [2021-02-15T14:27:47.223Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-15T14:27:47.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-15T14:27:47.223Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-15T14:27:47.384Z] prd-centos7-docker-4c-2g-26505 does not seem to be running inside a container [2021-02-15T14:27:47.448Z] $ 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-15T14:27:50.890Z] $ docker top 3244bf4d4a444b111c5887b676203f4f4df2bcbfce916aeb7ab965c8d1a67076 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-15T14:27:51.467Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-15T14:27:51.767Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-15T14:27:52.065Z] + ls /var/log/sa-host [2021-02-15T14:27:52.065Z] + sadf -c /var/log/sa-host/sa15 [2021-02-15T14:27:52.065Z] file_magic: OK [2021-02-15T14:27:52.065Z] HZ: Using current value: 100 [2021-02-15T14:27:52.065Z] file_header: OK [2021-02-15T14:27:52.065Z] 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-15T14:27:52.065Z] Statistics: [2021-02-15T14:27:52.065Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-15T14:27:52.065Z] File successfully converted to sysstat format version 12.2.1 [2021-02-15T14:27:52.065Z] + sadf -c /var/log/sa-host/sa23 [2021-02-15T14:27:52.065Z] file_magic: OK [2021-02-15T14:27:52.065Z] HZ: Using current value: 100 [2021-02-15T14:27:52.065Z] file_header: OK [2021-02-15T14:27:52.065Z] 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-15T14:27:52.065Z] Statistics: [2021-02-15T14:27:52.065Z] Hnuu...uuuununununu... [2021-02-15T14:27:52.065Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-15T14:27:52.306Z] provisioning config files... [2021-02-15T14:27:52.336Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config7029547897350073773tmp [Pipeline] { [Pipeline] echo [2021-02-15T14:27:52.405Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:27:52.705Z] ---> create-netrc.sh [Pipeline] } [2021-02-15T14:27:52.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-15T14:27:52.803Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:27:53.101Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-15T14:27:53.116Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:27:53.416Z] ---> sudo-logs.sh [2021-02-15T14:27:53.416Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-15T14:27:53.497Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:27:53.834Z] ---> job-cost.sh [2021-02-15T14:27:53.835Z] lf-activate-venv: SKIPPING [2021-02-15T14:27:53.835Z] INFO: No Stack... [2021-02-15T14:27:54.789Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-15T14:27:55.363Z] INFO: Archiving Costs [Pipeline] echo [2021-02-15T14:27:55.377Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-15T14:27:55.676Z] ---> logs-deploy.sh [2021-02-15T14:27:55.676Z] lf-activate-venv: SKIPPING [2021-02-15T14:27:55.676Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/56 [2021-02-15T14:27:55.676Z] INFO: archiving workspace using pattern(s): [2021-02-15T14:27:57.063Z] Archives upload complete. [2021-02-15T14:27:57.063Z] INFO: archiving logs to Nexus