Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9807c98aec50e436adf0acc90aeecd299a070733 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 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 370697454611dc68c0596e0d0a50477a8de841a8 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 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 370697454611dc68c0596e0d0a50477a8de841a8 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 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 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.11-base, dockerFilePath:scripts/Dockerfile.alpine-3.11, 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-3.11 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.11-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 SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3707 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 with configured refspecs honoured and without tags Fetching without tags 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 9807c98aec50e436adf0acc90aeecd299a070733 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9807c98aec50e436adf0acc90aeecd299a070733 # timeout=10 Commit message: "Add standard PR template (#270)" > git rev-list --no-walk fe664e697b23228791073c46494919a610be639c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-19T11:28:01.681Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-19T11:28:01.789Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-19T11:28:01.830Z] ========================================================= [2020-06-19T11:28:01.830Z] EdgeX Global Pipelines Version Info [2020-06-19T11:28:01.830Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-19T11:28:03.719Z] ------------------- [2020-06-19T11:28:03.719Z] stable info: [2020-06-19T11:28:03.719Z] ------------------- [2020-06-19T11:28:03.719Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-19T11:28:03.719Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-19T11:28:03.719Z] Message: update stable to v1.0.89 [2020-06-19T11:28:04.662Z] ------------------- [2020-06-19T11:28:04.662Z] experimental info: [2020-06-19T11:28:04.662Z] ------------------- [2020-06-19T11:28:04.662Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-19T11:28:04.662Z] Commit SHA: aa323fb5dfebb31640c35badf05a5a9beff52318 [2020-06-19T11:28:04.662Z] Message: update experimental to v1.0.90 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:28:06.125Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-19T11:28:06.125Z] [2020-06-19T11:28:06.125Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:28:06.445Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-19T11:28:06.446Z] latest: Pulling from edgex-devops/git-semver [2020-06-19T11:28:06.446Z] 9123ac7c32f7: Pulling fs layer [2020-06-19T11:28:06.446Z] b8cc5d1170e3: Pulling fs layer [2020-06-19T11:28:06.446Z] 2924cbbf6a41: Pulling fs layer [2020-06-19T11:28:06.446Z] 93b08a4f1073: Pulling fs layer [2020-06-19T11:28:06.446Z] 93b08a4f1073: Waiting [2020-06-19T11:28:06.446Z] b8cc5d1170e3: Download complete [2020-06-19T11:28:06.707Z] 9123ac7c32f7: Verifying Checksum [2020-06-19T11:28:06.707Z] 9123ac7c32f7: Download complete [2020-06-19T11:28:06.707Z] 93b08a4f1073: Verifying Checksum [2020-06-19T11:28:06.707Z] 93b08a4f1073: Download complete [2020-06-19T11:28:06.707Z] 2924cbbf6a41: Verifying Checksum [2020-06-19T11:28:06.707Z] 2924cbbf6a41: Download complete [2020-06-19T11:28:06.978Z] 9123ac7c32f7: Pull complete [2020-06-19T11:28:06.978Z] b8cc5d1170e3: Pull complete [2020-06-19T11:28:07.924Z] 2924cbbf6a41: Pull complete [2020-06-19T11:28:07.924Z] 93b08a4f1073: Pull complete [2020-06-19T11:28:07.924Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-19T11:28:07.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-19T11:28:07.924Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-19T11:28:08.032Z] prd-centos7-docker-4c-2g-3707 does not seem to be running inside a container [2020-06-19T11:28:08.075Z] $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-19T11:28:10.406Z] $ docker top 7ec57697b68fa54331f0f76bdd170082ccf6141283d07ecc432495be4daac589 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-19T11:28:10.619Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-19T11:28:10.619Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-19T11:28:10.838Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-19T11:28:10.840Z] $ docker exec 7ec57697b68fa54331f0f76bdd170082ccf6141283d07ecc432495be4daac589 ssh-agent [2020-06-19T11:28:11.030Z] SSH_AUTH_SOCK=/tmp/ssh-Npz4wRArJdD1/agent.12 [2020-06-19T11:28:11.030Z] SSH_AGENT_PID=17 [2020-06-19T11:28:11.042Z] Running ssh-add (command line suppressed) [2020-06-19T11:28:11.164Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5857488988804996557.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5857488988804996557.key) [2020-06-19T11:28:11.216Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-19T11:28:11.526Z] + git describe --exact-match --tags HEAD [2020-06-19T11:28:11.526Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-19T11:28:11.719Z] $ docker exec --env ******** --env ******** 7ec57697b68fa54331f0f76bdd170082ccf6141283d07ecc432495be4daac589 ssh-agent -k [2020-06-19T11:28:11.848Z] unset SSH_AUTH_SOCK; [2020-06-19T11:28:11.848Z] unset SSH_AGENT_PID; [2020-06-19T11:28:11.848Z] echo Agent pid 17 killed; [2020-06-19T11:28:11.911Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-19T11:28:11.947Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-19T11:28:11.947Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-19T11:28:11.994Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-19T11:28:11.994Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-19T11:28:12.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-19T11:28:12.175Z] $ docker exec 7ec57697b68fa54331f0f76bdd170082ccf6141283d07ecc432495be4daac589 ssh-agent [2020-06-19T11:28:12.346Z] SSH_AUTH_SOCK=/tmp/ssh-fy8xiZs90o8d/agent.45 [2020-06-19T11:28:12.346Z] SSH_AGENT_PID=51 [2020-06-19T11:28:12.352Z] Running ssh-add (command line suppressed) [2020-06-19T11:28:12.475Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7643136882855374129.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7643136882855374129.key) [2020-06-19T11:28:12.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-19T11:28:12.830Z] + git semver init [2020-06-19T11:28:12.830Z] # -> Open(): unable to determine branch for HEAD [2020-06-19T11:28:12.830Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-06-19T11:28:12.830Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-06-19T11:28:12.830Z] # $SEMVER_REMOTE_NAME = origin [2020-06-19T11:28:12.830Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-19T11:28:12.830Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-19T11:28:12.830Z] # $SEMVER_BRANCH = master [2020-06-19T11:28:12.830Z] # $SEMVER_TEMP = /tmp/semver-460096992 [2020-06-19T11:28:12.830Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-06-19T11:28:13.776Z] # '/tmp/semver-460096992' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' [2020-06-19T11:28:13.776Z] # -> Force: false [2020-06-19T11:28:13.776Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-06-19T11:28:13.787Z] $ docker exec --env ******** --env ******** 7ec57697b68fa54331f0f76bdd170082ccf6141283d07ecc432495be4daac589 ssh-agent -k [2020-06-19T11:28:13.912Z] unset SSH_AUTH_SOCK; [2020-06-19T11:28:13.912Z] unset SSH_AGENT_PID; [2020-06-19T11:28:13.912Z] echo Agent pid 51 killed; [2020-06-19T11:28:13.958Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-19T11:28:14.314Z] + git semver [Pipeline] } [2020-06-19T11:28:14.329Z] $ docker stop --time=1 7ec57697b68fa54331f0f76bdd170082ccf6141283d07ecc432495be4daac589 [2020-06-19T11:28:16.045Z] $ docker rm -f 7ec57697b68fa54331f0f76bdd170082ccf6141283d07ecc432495be4daac589 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-19T11:28:16.734Z] Stashed 46 file(s) [Pipeline] echo [2020-06-19T11:28:16.736Z] [edgeXSemver] initialized semver on version 1.2.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 [2020-06-19T11:28:31.908Z] Still waiting to schedule task [2020-06-19T11:28:31.908Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3707’ [2020-06-19T11:28:31.910Z] Still waiting to schedule task [2020-06-19T11:28:31.910Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-06-19T11:30:09.240Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3708 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-06-19T11:30:09.268Z] Running in /w/workspace/device-sdk-c/28 [Pipeline] { [Pipeline] checkout [2020-06-19T11:30:13.931Z] using credential edgex-jenkins-ssh [2020-06-19T11:30:13.964Z] Cloning the remote Git repository [2020-06-19T11:30:13.964Z] Cloning with configured refspecs honoured and without tags [2020-06-19T11:30:13.990Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-06-19T11:30:14.089Z] > git init /w/workspace/device-sdk-c/28 # timeout=10 [2020-06-19T11:30:14.152Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-19T11:30:14.153Z] > git --version # timeout=10 [2020-06-19T11:30:14.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-19T11:30:15.486Z] Fetching without tags [2020-06-19T11:30:14.257Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-19T11:30:15.392Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-19T11:30:15.411Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-19T11:30:15.441Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-19T11:30:15.947Z] Checking out Revision 9807c98aec50e436adf0acc90aeecd299a070733 (master) [2020-06-19T11:30:15.477Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-19T11:30:15.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-19T11:30:15.489Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-19T11:30:15.939Z] > git config core.sparsecheckout # timeout=10 [2020-06-19T11:30:15.964Z] > git checkout -f 9807c98aec50e436adf0acc90aeecd299a070733 # timeout=10 [2020-06-19T11:30:20.769Z] Commit message: "Add standard PR template (#270)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-19T11:30:21.961Z] ========================================================= [2020-06-19T11:30:21.961Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-06-19T11:30:21.961Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:30:23.107Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-06-19T11:30:24.089Z] Sending build context to Docker daemon 3.283MB [2020-06-19T11:30:24.089Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-06-19T11:30:24.089Z] Step 2/21 : FROM ${BASE} as builder [2020-06-19T11:30:24.688Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-06-19T11:30:24.688Z] 0362ad1dd800: Pulling fs layer [2020-06-19T11:30:24.688Z] f2cdb1532d8b: Pulling fs layer [2020-06-19T11:30:24.688Z] 37ed683be191: Pulling fs layer [2020-06-19T11:30:24.688Z] f2cdb1532d8b: Verifying Checksum [2020-06-19T11:30:24.688Z] f2cdb1532d8b: Download complete [2020-06-19T11:30:24.688Z] 0362ad1dd800: Verifying Checksum [2020-06-19T11:30:24.688Z] 0362ad1dd800: Download complete [2020-06-19T11:30:25.282Z] 0362ad1dd800: Pull complete [2020-06-19T11:30:25.873Z] f2cdb1532d8b: Pull complete [2020-06-19T11:30:26.844Z] 37ed683be191: Verifying Checksum [2020-06-19T11:30:26.844Z] 37ed683be191: Download complete [2020-06-19T11:30:37.017Z] 37ed683be191: Pull complete [2020-06-19T11:30:37.017Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-06-19T11:30:37.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-06-19T11:30:37.017Z] ---> b23d30803547 [2020-06-19T11:30:37.017Z] 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 [2020-06-19T11:30:37.999Z] ---> Running in aeadfddc2fcb [2020-06-19T11:30:39.439Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-19T11:30:40.031Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-19T11:30:40.623Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-19T11:30:40.894Z] (2/8) Installing libuuid (2.33-r0) [2020-06-19T11:30:40.894Z] (3/8) Installing libblkid (2.33-r0) [2020-06-19T11:30:40.894Z] (4/8) Installing libfdisk (2.33-r0) [2020-06-19T11:30:41.167Z] (5/8) Installing libmount (2.33-r0) [2020-06-19T11:30:41.167Z] (6/8) Installing libsmartcols (2.33-r0) [2020-06-19T11:30:41.167Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-06-19T11:30:41.439Z] (8/8) Installing wget (1.20.3-r0) [2020-06-19T11:30:41.713Z] Executing busybox-1.29.3-r10.trigger [2020-06-19T11:30:41.713Z] OK: 285 MiB in 83 packages [2020-06-19T11:30:43.162Z] Removing intermediate container aeadfddc2fcb [2020-06-19T11:30:43.162Z] ---> 9d29f41e4ed1 [2020-06-19T11:30:43.162Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-06-19T11:30:43.162Z] ---> Running in 4ed0ed75b6e5 [2020-06-19T11:30:43.441Z] Removing intermediate container 4ed0ed75b6e5 [2020-06-19T11:30:43.441Z] ---> 808f35e0e970 [2020-06-19T11:30:43.441Z] 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 [2020-06-19T11:30:43.715Z] ---> Running in 7827765e1918 [2020-06-19T11:30:45.148Z] --2020-06-19 11:30:44-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-06-19T11:30:45.148Z] Resolving github.com... 140.82.114.3 [2020-06-19T11:30:45.148Z] Connecting to github.com|140.82.114.3|:443... connected. [2020-06-19T11:30:45.425Z] HTTP request sent, awaiting response... 302 Found [2020-06-19T11:30:45.425Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-06-19T11:30:45.425Z] --2020-06-19 11:30:45-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-06-19T11:30:45.425Z] Resolving codeload.github.com... 140.82.113.10 [2020-06-19T11:30:45.425Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-06-19T11:30:45.425Z] HTTP request sent, awaiting response... 200 OK [2020-06-19T11:30:45.425Z] Length: unspecified [application/x-gzip] [2020-06-19T11:30:45.425Z] Saving to: 'STDOUT' [2020-06-19T11:30:45.425Z]  [2020-06-19T11:30:45.425Z] 0K .......... .......... .......... .......... .......... 1.55M [2020-06-19T11:30:45.699Z] 50K .......... .......... .......... .......... .......... 2.63M [2020-06-19T11:30:45.699Z] 100K .......... .......... .......... .......... .......... 8.01M [2020-06-19T11:30:45.699Z] 150K .......... .......... .......... .......... .......... 6.81M [2020-06-19T11:30:45.699Z] 200K .......... .......... .......... .......... .......... 13.6M [2020-06-19T11:30:45.699Z] 250K .......... .......... .......... .......... .......... 3.95M [2020-06-19T11:30:45.699Z] 300K .......... .......... .......... .......... .......... 3.76M [2020-06-19T11:30:45.699Z] 350K .......... .......... .......... .......... .......... 5.11M [2020-06-19T11:30:45.699Z] 400K .......... .......... .......... .......... .......... 4.33M [2020-06-19T11:30:45.699Z] 450K .......... .......... .......... .......... .......... 4.19M [2020-06-19T11:30:45.699Z] 500K .......... .......... .......... .......... .......... 10.1M [2020-06-19T11:30:45.699Z] 550K .......... .......... .......... .......... .......... 2.68M [2020-06-19T11:30:45.699Z] 600K .......... .......... .......... .......... .......... 881K [2020-06-19T11:30:45.699Z] 650K .......... .......... .......... .......... .......... 2.16M [2020-06-19T11:30:45.699Z] 700K ..   11.7M=0.2s [2020-06-19T11:30:45.699Z] [2020-06-19T11:30:45.699Z] 2020-06-19 11:30:45 (3.02 MB/s) - written to stdout [719348] [2020-06-19T11:30:45.699Z] [2020-06-19T11:30:45.978Z] -- The C compiler identification is GNU 8.3.0 [2020-06-19T11:30:46.254Z] -- The CXX compiler identification is GNU 8.3.0 [2020-06-19T11:30:46.254Z] -- Check for working C compiler: /usr/bin/cc [2020-06-19T11:30:46.526Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-19T11:30:46.526Z] -- Detecting C compiler ABI info [2020-06-19T11:30:46.801Z] -- Detecting C compiler ABI info - done [2020-06-19T11:30:46.801Z] -- Detecting C compile features [2020-06-19T11:30:47.404Z] -- Detecting C compile features - done [2020-06-19T11:30:47.404Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-06-19T11:30:47.677Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-06-19T11:30:47.677Z] -- Detecting CXX compiler ABI info [2020-06-19T11:30:47.950Z] -- Detecting CXX compiler ABI info - done [2020-06-19T11:30:47.950Z] -- Detecting CXX compile features [2020-06-19T11:30:49.380Z] -- Detecting CXX compile features - done [2020-06-19T11:30:49.654Z] -- Looking for include file endian.h [2020-06-19T11:30:49.654Z] -- Looking for include file endian.h - found [2020-06-19T11:30:49.654Z] -- Check if the system is big endian [2020-06-19T11:30:49.654Z] -- Searching 16 bit integer [2020-06-19T11:30:49.928Z] -- Looking for sys/types.h [2020-06-19T11:30:49.928Z] -- Looking for sys/types.h - found [2020-06-19T11:30:49.928Z] -- Looking for stdint.h [2020-06-19T11:30:50.201Z] -- Looking for stdint.h - found [2020-06-19T11:30:50.201Z] -- Looking for stddef.h [2020-06-19T11:30:50.474Z] -- Looking for stddef.h - found [2020-06-19T11:30:50.474Z] -- Check size of unsigned short [2020-06-19T11:30:50.747Z] -- Check size of unsigned short - done [2020-06-19T11:30:50.748Z] -- Using unsigned short [2020-06-19T11:30:51.022Z] -- Check if the system is big endian - little endian [2020-06-19T11:30:51.022Z] -- Check size of size_t [2020-06-19T11:30:51.295Z] -- Check size of size_t - done [2020-06-19T11:30:51.295Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-06-19T11:30:51.295Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-06-19T11:30:51.295Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-06-19T11:30:51.295Z] CMake did not find one. [2020-06-19T11:30:51.295Z] [2020-06-19T11:30:51.295Z] Could not find a package configuration file provided by "cJSON" with any of [2020-06-19T11:30:51.295Z] the following names: [2020-06-19T11:30:51.295Z] [2020-06-19T11:30:51.295Z] cJSONConfig.cmake [2020-06-19T11:30:51.295Z] cjson-config.cmake [2020-06-19T11:30:51.295Z] [2020-06-19T11:30:51.295Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-06-19T11:30:51.295Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-06-19T11:30:51.295Z] provides a separate development package or SDK, be sure it has been [2020-06-19T11:30:51.295Z] installed. [2020-06-19T11:30:51.295Z] [2020-06-19T11:30:51.295Z] [2020-06-19T11:30:51.295Z] -- Configuring done [2020-06-19T11:30:51.567Z] -- Generating done [2020-06-19T11:30:51.567Z] -- Build files have been written to: /tmp/cbor [2020-06-19T11:30:51.567Z] Scanning dependencies of target cbor_shared [2020-06-19T11:30:51.841Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-06-19T11:30:52.452Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-06-19T11:30:53.046Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-06-19T11:30:53.317Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-06-19T11:30:53.919Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-06-19T11:30:53.919Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-06-19T11:30:54.191Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-06-19T11:30:54.471Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-06-19T11:30:54.471Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-06-19T11:30:54.741Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-06-19T11:30:55.330Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-06-19T11:30:55.611Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-06-19T11:30:56.206Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-06-19T11:30:56.477Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-06-19T11:30:56.749Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-06-19T11:30:56.749Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-06-19T11:30:57.021Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-06-19T11:30:57.300Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-06-19T11:30:57.573Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-06-19T11:30:57.844Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-06-19T11:30:57.844Z] [ 40%] Linking C shared library libcbor.so [2020-06-19T11:30:58.116Z] [ 40%] Built target cbor_shared [2020-06-19T11:30:58.116Z] Scanning dependencies of target cbor [2020-06-19T11:30:58.116Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-06-19T11:30:59.092Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-06-19T11:30:59.364Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-06-19T11:30:59.636Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-06-19T11:31:00.607Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-06-19T11:31:00.880Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-06-19T11:31:01.151Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-06-19T11:31:01.423Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-06-19T11:31:01.423Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-06-19T11:31:02.018Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-06-19T11:31:02.610Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-06-19T11:31:02.880Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-06-19T11:31:03.151Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-06-19T11:31:03.750Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-06-19T11:31:03.750Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-06-19T11:31:04.022Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-06-19T11:31:04.292Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-06-19T11:31:04.563Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-06-19T11:31:04.841Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-06-19T11:31:05.114Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-06-19T11:31:05.386Z] [ 80%] Linking C static library libcbor.a [2020-06-19T11:31:05.386Z] [ 80%] Built target cbor [2020-06-19T11:31:05.386Z] Scanning dependencies of target create_items [2020-06-19T11:31:05.386Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-06-19T11:31:05.659Z] [ 84%] Linking C executable create_items [2020-06-19T11:31:05.659Z] [ 84%] Built target create_items [2020-06-19T11:31:05.659Z] Scanning dependencies of target readfile [2020-06-19T11:31:05.659Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-06-19T11:31:05.934Z] [ 88%] Linking C executable readfile [2020-06-19T11:31:05.934Z] [ 88%] Built target readfile [2020-06-19T11:31:05.934Z] Scanning dependencies of target streaming_parser [2020-06-19T11:31:05.934Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-06-19T11:31:06.207Z] [ 92%] Linking C executable streaming_parser [2020-06-19T11:31:06.491Z] [ 92%] Built target streaming_parser [2020-06-19T11:31:06.491Z] Scanning dependencies of target sort [2020-06-19T11:31:06.491Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-06-19T11:31:06.491Z] [ 96%] Linking C executable sort [2020-06-19T11:31:06.763Z] [ 96%] Built target sort [2020-06-19T11:31:06.763Z] Scanning dependencies of target hello [2020-06-19T11:31:06.763Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-06-19T11:31:06.763Z] [100%] Linking C executable hello [2020-06-19T11:31:07.036Z] [100%] Built target hello [2020-06-19T11:31:07.036Z] Install the project... [2020-06-19T11:31:07.036Z] -- Install configuration: "Release" [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/lib64/libcbor.a [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/lib64/libcbor.so [2020-06-19T11:31:07.036Z] -- Up-to-date: /usr/local/include/cbor [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/ints.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/data.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/common.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/strings.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/tags.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/internal [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor/maps.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/include/cbor.h [2020-06-19T11:31:07.036Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-06-19T11:31:09.648Z] Removing intermediate container 7827765e1918 [2020-06-19T11:31:09.648Z] ---> addde0b4b905 [2020-06-19T11:31:09.648Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-06-19T11:31:09.648Z] ---> Running in af2b146a8671 [2020-06-19T11:31:11.624Z] Removing intermediate container af2b146a8671 [2020-06-19T11:31:11.624Z] ---> 7b2740a7e8e0 [2020-06-19T11:31:11.624Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-06-19T11:31:12.602Z] ---> e098cb679e52 [2020-06-19T11:31:12.602Z] Step 8/21 : COPY src /tmp/sdk/src [2020-06-19T11:31:13.601Z] ---> 8b7e7db40e63 [2020-06-19T11:31:13.601Z] Step 9/21 : COPY include /tmp/sdk/include [2020-06-19T11:31:14.198Z] ---> 34183f4f9052 [2020-06-19T11:31:14.198Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-06-19T11:31:14.794Z] ---> 6fa0365ede22 [2020-06-19T11:31:14.794Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-06-19T11:31:15.388Z] ---> 1be6218246a9 [2020-06-19T11:31:15.388Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-06-19T11:31:15.983Z] ---> cb7aeff1fc71 [2020-06-19T11:31:15.983Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-06-19T11:31:16.261Z] ---> Running in 30da5ec50fab [2020-06-19T11:31:17.686Z] + CPPCHECK=false [2020-06-19T11:31:17.686Z] + DOCGEN=false [2020-06-19T11:31:17.686Z] + TOMLVER=SDK-0.2 [2020-06-19T11:31:17.686Z] + CUTILVER=1.0.4 [2020-06-19T11:31:17.686Z] + '[' 0 -gt 0 ] [2020-06-19T11:31:17.686Z] + readlink -f ./scripts/build.sh [2020-06-19T11:31:17.686Z] + dirname /tmp/sdk/scripts/build.sh [2020-06-19T11:31:17.686Z] + dirname /tmp/sdk/scripts [2020-06-19T11:31:17.686Z] + ROOT=/tmp/sdk [2020-06-19T11:31:17.686Z] + cd /tmp/sdk [2020-06-19T11:31:17.686Z] + '[' '!' -d deps ] [2020-06-19T11:31:17.686Z] + mkdir deps [2020-06-19T11:31:17.686Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz -x [2020-06-19T11:31:17.686Z] -f - [2020-06-19T11:31:17.686Z] --2020-06-19 11:31:17-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-19T11:31:17.686Z] Resolving github.com... 140.82.114.3 [2020-06-19T11:31:17.686Z] Connecting to github.com|140.82.114.3|:443... connected. [2020-06-19T11:31:17.962Z] HTTP request sent, awaiting response... 302 Found [2020-06-19T11:31:17.962Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-06-19T11:31:17.962Z] --2020-06-19 11:31:17-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-06-19T11:31:17.962Z] Resolving codeload.github.com... 140.82.113.10 [2020-06-19T11:31:17.962Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-06-19T11:31:17.962Z] HTTP request sent, awaiting response... 200 OK [2020-06-19T11:31:17.962Z] Length: unspecified [application/x-gzip] [2020-06-19T11:31:17.962Z] Saving to: 'STDOUT' [2020-06-19T11:31:17.962Z]  [2020-06-19T11:31:17.962Z] 0K .......... ......   1.11M=0.01s [2020-06-19T11:31:17.962Z] [2020-06-19T11:31:17.962Z] 2020-06-19 11:31:17 (1.11 MB/s) - written to stdout [16451] [2020-06-19T11:31:17.962Z] [2020-06-19T11:31:17.962Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-06-19T11:31:17.962Z] + wget+ tar -C deps -z -x -f - [2020-06-19T11:31:17.962Z] -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-19T11:31:18.241Z] --2020-06-19 11:31:17-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-19T11:31:18.241Z] Resolving github.com... 140.82.114.3 [2020-06-19T11:31:18.242Z] Connecting to github.com|140.82.114.3|:443... connected. [2020-06-19T11:31:18.242Z] HTTP request sent, awaiting response... 302 Found [2020-06-19T11:31:18.242Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-06-19T11:31:18.242Z] --2020-06-19 11:31:18-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-06-19T11:31:18.242Z] Resolving codeload.github.com... 140.82.113.10 [2020-06-19T11:31:18.242Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-06-19T11:31:18.515Z] HTTP request sent, awaiting response... 200 OK [2020-06-19T11:31:18.515Z] Length: unspecified [application/x-gzip] [2020-06-19T11:31:18.515Z] Saving to: 'STDOUT' [2020-06-19T11:31:18.515Z] [2020-06-19T11:31:18.515Z] 0K .......... .......... .......... .......... .......... 1.53M [2020-06-19T11:31:18.515Z] 50K .......... .......... .......... .......... .......... 2.90M [2020-06-19T11:31:18.515Z] 100K .......... .......... .......... .......... .......... 3.69M [2020-06-19T11:31:18.515Z] 150K ........  4.63M=0.06s [2020-06-19T11:31:18.515Z] [2020-06-19T11:31:18.515Z] 2020-06-19 11:31:18 (2.43 MB/s) - written to stdout [162267] [2020-06-19T11:31:18.515Z] [2020-06-19T11:31:18.515Z] + mkdir -p src/c/iot [2020-06-19T11:31:18.515Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-06-19T11:31:18.515Z] + mkdir -p include/iot [2020-06-19T11:31:18.515Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-06-19T11:31:18.515Z] + mkdir -p include/iot/os [2020-06-19T11:31:18.515Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-06-19T11:31:18.515Z] + mkdir -p /tmp/sdk/build/release [2020-06-19T11:31:18.515Z] + cd /tmp/sdk/build/release [2020-06-19T11:31:18.515Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-06-19T11:31:18.787Z] -- The C compiler identification is GNU 8.3.0 [2020-06-19T11:31:19.063Z] -- Check for working C compiler: /usr/bin/cc [2020-06-19T11:31:19.063Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-19T11:31:19.063Z] -- Detecting C compiler ABI info [2020-06-19T11:31:19.335Z] -- Detecting C compiler ABI info - done [2020-06-19T11:31:19.336Z] -- Detecting C compile features [2020-06-19T11:31:20.310Z] -- Detecting C compile features - done [2020-06-19T11:31:20.310Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-19T11:31:20.310Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-19T11:31:20.310Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-19T11:31:20.310Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-19T11:31:20.310Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-19T11:31:20.310Z] -- C SDK 1.2.2-dev.4 for Linux [2020-06-19T11:31:20.310Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-19T11:31:20.581Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-19T11:31:20.581Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-19T11:31:20.581Z] -- Configuring done [2020-06-19T11:31:20.852Z] -- Generating done [2020-06-19T11:31:20.852Z] -- Build files have been written to: /tmp/sdk/build/release [2020-06-19T11:31:20.852Z] + make [2020-06-19T11:31:20.852Z] + tee release.log [2020-06-19T11:31:20.852Z] Scanning dependencies of target csdk [2020-06-19T11:31:21.123Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-19T11:31:21.713Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-19T11:31:21.987Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-19T11:31:23.962Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-19T11:31:24.564Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-19T11:31:24.564Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-19T11:31:25.537Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-19T11:31:27.502Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-19T11:31:27.778Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-19T11:31:28.376Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-19T11:31:28.970Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-19T11:31:29.241Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-19T11:31:29.519Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-19T11:31:29.798Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-19T11:31:33.173Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-19T11:31:33.173Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-19T11:31:33.444Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-19T11:31:34.036Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-19T11:31:34.705Z] Running on prd-centos7-docker-4c-2g-3709 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-06-19T11:31:34.728Z] Running in /w/workspace/device-sdk-c/28 [Pipeline] { [Pipeline] checkout [2020-06-19T11:31:36.636Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-19T11:31:36.637Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-19T11:31:36.637Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-19T11:31:37.225Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-19T11:31:37.833Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-19T11:31:37.834Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-19T11:31:38.818Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-19T11:31:38.818Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-19T11:31:39.413Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-19T11:31:39.683Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-19T11:31:40.278Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-19T11:31:41.248Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-19T11:31:41.248Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-19T11:31:41.274Z] using credential edgex-jenkins-ssh [2020-06-19T11:31:41.313Z] Cloning the remote Git repository [2020-06-19T11:31:41.313Z] Cloning with configured refspecs honoured and without tags [2020-06-19T11:31:41.369Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-06-19T11:31:41.445Z] > git init /w/workspace/device-sdk-c/28 # timeout=10 [2020-06-19T11:31:41.501Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-19T11:31:41.502Z] > git --version # timeout=10 [2020-06-19T11:31:41.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-19T11:31:41.571Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-19T11:31:42.702Z] Fetching without tags [2020-06-19T11:31:42.648Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-19T11:31:42.665Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-19T11:31:42.694Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-19T11:31:42.718Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-19T11:31:42.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-19T11:31:42.725Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-19T11:31:43.436Z] Checking out Revision 9807c98aec50e436adf0acc90aeecd299a070733 (master) [2020-06-19T11:31:43.485Z] > git config core.sparsecheckout # timeout=10 [2020-06-19T11:31:43.525Z] > git checkout -f 9807c98aec50e436adf0acc90aeecd299a070733 # timeout=10 [2020-06-19T11:31:45.523Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-19T11:31:45.795Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-19T11:31:46.072Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-19T11:31:46.667Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-19T11:31:47.998Z] Commit message: "Add standard PR template (#270)" [2020-06-19T11:31:48.093Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-19T11:31:49.060Z] ========================================================= [2020-06-19T11:31:49.060Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-06-19T11:31:49.060Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:31:50.065Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-19T11:31:50.304Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-06-19T11:31:51.314Z] Sending build context to Docker daemon 3.283MB [2020-06-19T11:31:51.314Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-06-19T11:31:51.314Z] Step 2/21 : FROM ${BASE} as builder [2020-06-19T11:31:51.314Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-06-19T11:31:51.314Z] e7c96db7181b: Pulling fs layer [2020-06-19T11:31:51.314Z] 4c13bbce0fe7: Pulling fs layer [2020-06-19T11:31:51.314Z] 6059c847ac2f: Pulling fs layer [2020-06-19T11:31:51.314Z] 4c13bbce0fe7: Verifying Checksum [2020-06-19T11:31:51.314Z] 4c13bbce0fe7: Download complete [2020-06-19T11:31:51.586Z] e7c96db7181b: Verifying Checksum [2020-06-19T11:31:51.586Z] e7c96db7181b: Download complete [2020-06-19T11:31:52.231Z] e7c96db7181b: Pull complete [2020-06-19T11:31:52.577Z] 4c13bbce0fe7: Pull complete [2020-06-19T11:31:53.270Z] 6059c847ac2f: Verifying Checksum [2020-06-19T11:31:53.270Z] 6059c847ac2f: Download complete [2020-06-19T11:31:53.433Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-19T11:31:53.434Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-19T11:31:54.860Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-19T11:31:55.133Z] [ 74%] Linking C shared library libcsdk.so [2020-06-19T11:31:55.404Z] [ 74%] Built target csdk [2020-06-19T11:31:55.404Z] Scanning dependencies of target template [2020-06-19T11:31:55.404Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-19T11:31:55.996Z] [ 78%] Linking C executable template [2020-06-19T11:31:56.267Z] [ 78%] Built target template [2020-06-19T11:31:56.267Z] Scanning dependencies of target device-counter [2020-06-19T11:31:56.267Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-19T11:31:56.866Z] [ 81%] Linking C executable device-counter [2020-06-19T11:31:56.866Z] [ 81%] Built target device-counter [2020-06-19T11:31:56.866Z] Scanning dependencies of target device-random [2020-06-19T11:31:56.866Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-19T11:31:57.465Z] [ 85%] Linking C executable device-random [2020-06-19T11:31:57.747Z] [ 85%] Built target device-random [2020-06-19T11:31:57.747Z] Scanning dependencies of target device-gyro [2020-06-19T11:31:57.747Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-19T11:31:58.045Z] [ 89%] Linking C executable device-gyro [2020-06-19T11:31:58.323Z] [ 89%] Built target device-gyro [2020-06-19T11:31:58.323Z] Scanning dependencies of target template-discovery [2020-06-19T11:31:58.323Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-19T11:31:58.960Z] [ 92%] Linking C executable template-discovery [2020-06-19T11:31:59.262Z] [ 92%] Built target template-discovery [2020-06-19T11:31:59.262Z] Scanning dependencies of target device-terminal [2020-06-19T11:31:59.262Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-19T11:31:59.861Z] [ 96%] Linking C executable device-terminal [2020-06-19T11:31:59.861Z] [ 96%] Built target device-terminal [2020-06-19T11:31:59.861Z] Scanning dependencies of target templatev1 [2020-06-19T11:31:59.861Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-19T11:32:00.483Z] [100%] Linking C executable templatev1 [2020-06-19T11:32:00.815Z] [100%] Built target templatev1 [2020-06-19T11:32:00.815Z] + make package [2020-06-19T11:32:00.815Z] + tee -a release.log [2020-06-19T11:32:00.815Z] [ 74%] Built target csdk [2020-06-19T11:32:00.815Z] [ 78%] Built target template [2020-06-19T11:32:01.160Z] [ 81%] Built target device-counter [2020-06-19T11:32:01.160Z] [ 85%] Built target device-random [2020-06-19T11:32:01.160Z] [ 89%] Built target device-gyro [2020-06-19T11:32:01.160Z] [ 92%] Built target template-discovery [2020-06-19T11:32:01.160Z] [ 96%] Built target device-terminal [2020-06-19T11:32:01.160Z] [100%] Built target templatev1 [2020-06-19T11:32:01.160Z] Run CPack packaging tool... [2020-06-19T11:32:01.450Z] CPack: Create package using TGZ [2020-06-19T11:32:01.450Z] CPack: Install projects [2020-06-19T11:32:01.450Z] CPack: - Run preinstall target for: Csdk [2020-06-19T11:32:01.602Z] 6059c847ac2f: Pull complete [2020-06-19T11:32:01.602Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-06-19T11:32:01.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-06-19T11:32:01.602Z] ---> 5eabd8fd8ba2 [2020-06-19T11:32:01.602Z] 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 [2020-06-19T11:32:01.767Z] CPack: - Install project: Csdk [2020-06-19T11:32:01.767Z] CPack: Create package [2020-06-19T11:32:02.065Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.2-dev.4.tar.gz generated. [2020-06-19T11:32:02.065Z] + '[' false '=' true ] [2020-06-19T11:32:02.065Z] + '[' false '=' true ] [2020-06-19T11:32:02.065Z] + mkdir -p /tmp/sdk/build/debug [2020-06-19T11:32:02.065Z] + cd /tmp/sdk/build/debug [2020-06-19T11:32:02.065Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-06-19T11:32:02.264Z] ---> Running in 4e45b9555e29 [2020-06-19T11:32:02.378Z] -- The C compiler identification is GNU 8.3.0 [2020-06-19T11:32:02.378Z] -- Check for working C compiler: /usr/bin/cc [2020-06-19T11:32:02.715Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-19T11:32:02.715Z] -- Detecting C compiler ABI info [2020-06-19T11:32:03.066Z] -- Detecting C compiler ABI info - done [2020-06-19T11:32:03.066Z] -- Detecting C compile features [2020-06-19T11:32:03.257Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-19T11:32:03.749Z] -- Detecting C compile features - done [2020-06-19T11:32:03.749Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-19T11:32:03.749Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-19T11:32:03.749Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-19T11:32:03.749Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-19T11:32:03.749Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-19T11:32:03.749Z] -- C SDK 1.2.2-dev.4 for Linux [2020-06-19T11:32:03.749Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-19T11:32:04.031Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-19T11:32:04.031Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-19T11:32:04.299Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-19T11:32:04.336Z] -- Configuring done [2020-06-19T11:32:04.337Z] -- Generating done [2020-06-19T11:32:04.337Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-06-19T11:32:04.337Z] + make [2020-06-19T11:32:04.337Z] + tee debug.log [2020-06-19T11:32:04.579Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-19T11:32:04.615Z] Scanning dependencies of target csdk [2020-06-19T11:32:04.615Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-19T11:32:04.881Z] (2/8) Installing libuuid (2.33-r0) [2020-06-19T11:32:04.881Z] (3/8) Installing libblkid (2.33-r0) [2020-06-19T11:32:04.881Z] (4/8) Installing libfdisk (2.33-r0) [2020-06-19T11:32:04.881Z] (5/8) Installing libmount (2.33-r0) [2020-06-19T11:32:04.895Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-19T11:32:05.219Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-19T11:32:05.231Z] (6/8) Installing libsmartcols (2.33-r0) [2020-06-19T11:32:05.231Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-06-19T11:32:05.579Z] (8/8) Installing wget (1.20.3-r0) [2020-06-19T11:32:05.579Z] Executing busybox-1.29.3-r10.trigger [2020-06-19T11:32:05.876Z] OK: 272 MiB in 83 packages [2020-06-19T11:32:05.926Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-19T11:32:05.926Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-19T11:32:06.250Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-19T11:32:06.567Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-19T11:32:06.805Z] Removing intermediate container 4e45b9555e29 [2020-06-19T11:32:06.805Z] ---> 20abd6ec4ef8 [2020-06-19T11:32:06.805Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-06-19T11:32:06.805Z] ---> Running in d510fd190715 [2020-06-19T11:32:07.091Z] Removing intermediate container d510fd190715 [2020-06-19T11:32:07.091Z] ---> 3116597bf40a [2020-06-19T11:32:07.091Z] 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 [2020-06-19T11:32:07.091Z] ---> Running in b2456984e3d6 [2020-06-19T11:32:07.169Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-19T11:32:07.169Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-19T11:32:07.808Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-19T11:32:07.808Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-19T11:32:08.115Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-19T11:32:08.172Z] --2020-06-19 11:32:08-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-06-19T11:32:08.172Z] Resolving github.com... 140.82.113.3 [2020-06-19T11:32:08.172Z] Connecting to github.com|140.82.113.3|:443... connected. [2020-06-19T11:32:08.429Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-19T11:32:08.429Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-19T11:32:08.477Z] HTTP request sent, awaiting response... 302 Found [2020-06-19T11:32:08.477Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-06-19T11:32:08.477Z] --2020-06-19 11:32:08-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-06-19T11:32:08.477Z] Resolving codeload.github.com... 140.82.114.9 [2020-06-19T11:32:08.477Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-06-19T11:32:08.750Z] HTTP request sent, awaiting response... 200 OK [2020-06-19T11:32:08.750Z] Length: unspecified [application/x-gzip] [2020-06-19T11:32:08.750Z] Saving to: 'STDOUT' [2020-06-19T11:32:08.750Z]  [2020-06-19T11:32:08.750Z] 0K .......... .......... .......... .......... .......... 1.29M [2020-06-19T11:32:08.750Z] 50K .......... .......... .......... .......... .......... 2.66M [2020-06-19T11:32:08.750Z] 100K .......... .......... .......... .......... .......... 17.1M [2020-06-19T11:32:08.750Z] 150K .......... .......... .......... .......... .......... 10.1M [2020-06-19T11:32:08.750Z] 200K .......... .......... .......... .......... .......... 3.25M [2020-06-19T11:32:08.750Z] 250K .......... .......... .......... .......... .......... 15.6M [2020-06-19T11:32:09.094Z] 300K .......... .......... .......... .......... .......... 4.81M [2020-06-19T11:32:09.094Z] 350K .......... .......... .......... .......... .......... 9.09M [2020-06-19T11:32:09.094Z] 400K .......... .......... .......... .......... .......... 5.71M [2020-06-19T11:32:09.094Z] 450K .......... .......... .......... .......... .......... 5.85M [2020-06-19T11:32:09.094Z] 500K .......... .......... .......... .......... .......... 5.79M [2020-06-19T11:32:09.094Z] 550K .......... .......... .......... .......... .......... 11.2M [2020-06-19T11:32:09.094Z] 600K .......... .......... .......... .......... .......... 1.39M [2020-06-19T11:32:09.094Z] 650K .......... .......... .......... .......... .......... 2.54M [2020-06-19T11:32:09.094Z] 700K .. 4746G=0.2s [2020-06-19T11:32:09.094Z] [2020-06-19T11:32:09.094Z] 2020-06-19 11:32:08 (3.78 MB/s) - written to stdout [719348] [2020-06-19T11:32:09.094Z] [2020-06-19T11:32:09.389Z] -- The C compiler identification is GNU 8.3.0 [2020-06-19T11:32:09.389Z] -- The CXX compiler identification is GNU 8.3.0 [2020-06-19T11:32:09.389Z] -- Check for working C compiler: /usr/bin/cc [2020-06-19T11:32:09.496Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-19T11:32:09.496Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-19T11:32:09.668Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-19T11:32:09.668Z] -- Detecting C compiler ABI info [2020-06-19T11:32:09.668Z] -- Detecting C compiler ABI info - done [2020-06-19T11:32:09.668Z] -- Detecting C compile features [2020-06-19T11:32:09.798Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-19T11:32:10.082Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-19T11:32:10.301Z] -- Detecting C compile features - done [2020-06-19T11:32:10.301Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-06-19T11:32:10.301Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-06-19T11:32:10.301Z] -- Detecting CXX compiler ABI info [2020-06-19T11:32:10.595Z] -- Detecting CXX compiler ABI info - done [2020-06-19T11:32:10.595Z] -- Detecting CXX compile features [2020-06-19T11:32:10.689Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-19T11:32:10.960Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-19T11:32:10.960Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-19T11:32:11.243Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-19T11:32:11.259Z] -- Detecting CXX compile features - done [2020-06-19T11:32:11.259Z] -- Looking for include file endian.h [2020-06-19T11:32:11.259Z] -- Looking for include file endian.h - found [2020-06-19T11:32:11.259Z] -- Check if the system is big endian [2020-06-19T11:32:11.259Z] -- Searching 16 bit integer [2020-06-19T11:32:11.259Z] -- Looking for sys/types.h [2020-06-19T11:32:11.519Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-19T11:32:11.519Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-19T11:32:11.550Z] -- Looking for sys/types.h - found [2020-06-19T11:32:11.550Z] -- Looking for stdint.h [2020-06-19T11:32:11.550Z] -- Looking for stdint.h - found [2020-06-19T11:32:11.550Z] -- Looking for stddef.h [2020-06-19T11:32:11.799Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-19T11:32:11.831Z] -- Looking for stddef.h - found [2020-06-19T11:32:11.831Z] -- Check size of unsigned short [2020-06-19T11:32:11.831Z] -- Check size of unsigned short - done [2020-06-19T11:32:11.831Z] -- Using unsigned short [2020-06-19T11:32:11.831Z] -- Check if the system is big endian - little endian [2020-06-19T11:32:11.832Z] -- Check size of size_t [2020-06-19T11:32:12.075Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-19T11:32:12.141Z] -- Check size of size_t - done [2020-06-19T11:32:12.141Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-06-19T11:32:12.141Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-06-19T11:32:12.141Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-06-19T11:32:12.141Z] CMake did not find one. [2020-06-19T11:32:12.141Z] [2020-06-19T11:32:12.141Z] Could not find a package configuration file provided by "cJSON" with any of [2020-06-19T11:32:12.141Z] the following names: [2020-06-19T11:32:12.141Z] [2020-06-19T11:32:12.141Z] cJSONConfig.cmake [2020-06-19T11:32:12.141Z] cjson-config.cmake [2020-06-19T11:32:12.141Z] [2020-06-19T11:32:12.141Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-06-19T11:32:12.141Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-06-19T11:32:12.141Z] provides a separate development package or SDK, be sure it has been [2020-06-19T11:32:12.141Z] installed. [2020-06-19T11:32:12.141Z] [2020-06-19T11:32:12.141Z] [2020-06-19T11:32:12.141Z] -- Configuring done [2020-06-19T11:32:12.356Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-19T11:32:12.468Z] -- Generating done [2020-06-19T11:32:12.468Z] -- Build files have been written to: /tmp/cbor [2020-06-19T11:32:12.468Z] Scanning dependencies of target cbor_shared [2020-06-19T11:32:12.468Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-06-19T11:32:12.629Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-19T11:32:12.629Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-19T11:32:12.773Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-06-19T11:32:13.062Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-06-19T11:32:13.062Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-06-19T11:32:13.253Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-19T11:32:13.253Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-19T11:32:13.348Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-06-19T11:32:13.683Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-06-19T11:32:13.683Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-06-19T11:32:13.683Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-06-19T11:32:13.683Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-06-19T11:32:13.964Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-06-19T11:32:14.234Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-19T11:32:14.249Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-06-19T11:32:14.249Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-06-19T11:32:14.507Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-19T11:32:14.579Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-06-19T11:32:14.579Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-06-19T11:32:14.778Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-19T11:32:14.884Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-06-19T11:32:14.884Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-06-19T11:32:14.884Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-06-19T11:32:15.053Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-19T11:32:15.185Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-06-19T11:32:15.185Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-06-19T11:32:15.464Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-06-19T11:32:15.464Z] [ 40%] Linking C shared library libcbor.so [2020-06-19T11:32:15.464Z] [ 40%] Built target cbor_shared [2020-06-19T11:32:15.464Z] Scanning dependencies of target cbor [2020-06-19T11:32:15.464Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-06-19T11:32:15.741Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-06-19T11:32:16.016Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-06-19T11:32:16.016Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-06-19T11:32:16.041Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-19T11:32:16.315Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-19T11:32:16.847Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-06-19T11:32:16.847Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-06-19T11:32:17.255Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-06-19T11:32:17.255Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-06-19T11:32:17.289Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-19T11:32:17.289Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-19T11:32:17.538Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-06-19T11:32:17.538Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-06-19T11:32:17.856Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-06-19T11:32:17.893Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-19T11:32:18.172Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-06-19T11:32:18.173Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-06-19T11:32:18.178Z] [ 74%] Linking C shared library libcsdk.so [2020-06-19T11:32:18.178Z] [ 74%] Built target csdk [2020-06-19T11:32:18.179Z] Scanning dependencies of target template [2020-06-19T11:32:18.179Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-19T11:32:18.442Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-06-19T11:32:18.442Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-06-19T11:32:18.453Z] [ 78%] Linking C executable template [2020-06-19T11:32:18.727Z] [ 78%] Built target template [2020-06-19T11:32:18.727Z] Scanning dependencies of target device-counter [2020-06-19T11:32:18.727Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-19T11:32:18.734Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-06-19T11:32:18.734Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-06-19T11:32:19.001Z] [ 81%] Linking C executable device-counter [2020-06-19T11:32:19.013Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-06-19T11:32:19.013Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-06-19T11:32:19.013Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-06-19T11:32:19.273Z] [ 81%] Built target device-counter [2020-06-19T11:32:19.273Z] Scanning dependencies of target device-random [2020-06-19T11:32:19.273Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-19T11:32:19.299Z] [ 80%] Linking C static library libcbor.a [2020-06-19T11:32:19.299Z] [ 80%] Built target cbor [2020-06-19T11:32:19.299Z] Scanning dependencies of target create_items [2020-06-19T11:32:19.300Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-06-19T11:32:19.300Z] [ 84%] Linking C executable create_items [2020-06-19T11:32:19.546Z] [ 85%] Linking C executable device-random [2020-06-19T11:32:19.620Z] [ 84%] Built target create_items [2020-06-19T11:32:19.620Z] Scanning dependencies of target readfile [2020-06-19T11:32:19.620Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-06-19T11:32:19.620Z] [ 88%] Linking C executable readfile [2020-06-19T11:32:19.620Z] [ 88%] Built target readfile [2020-06-19T11:32:19.620Z] Scanning dependencies of target streaming_parser [2020-06-19T11:32:19.818Z] [ 85%] Built target device-random [2020-06-19T11:32:19.818Z] Scanning dependencies of target device-gyro [2020-06-19T11:32:19.818Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-19T11:32:19.902Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-06-19T11:32:19.902Z] [ 92%] Linking C executable streaming_parser [2020-06-19T11:32:19.902Z] [ 92%] Built target streaming_parser [2020-06-19T11:32:20.093Z] [ 89%] Linking C executable device-gyro [2020-06-19T11:32:20.093Z] [ 89%] Built target device-gyro [2020-06-19T11:32:20.221Z] Scanning dependencies of target sort [2020-06-19T11:32:20.221Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-06-19T11:32:20.221Z] [ 96%] Linking C executable sort [2020-06-19T11:32:20.221Z] [ 96%] Built target sort [2020-06-19T11:32:20.221Z] Scanning dependencies of target hello [2020-06-19T11:32:20.364Z] Scanning dependencies of target template-discovery [2020-06-19T11:32:20.364Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-19T11:32:20.628Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-06-19T11:32:20.628Z] [100%] Linking C executable hello [2020-06-19T11:32:20.628Z] [100%] Built target hello [2020-06-19T11:32:20.628Z] Install the project... [2020-06-19T11:32:20.628Z] -- Install configuration: "Release" [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/lib64/libcbor.a [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/lib64/libcbor.so [2020-06-19T11:32:20.628Z] -- Up-to-date: /usr/local/include/cbor [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/common.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/data.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/internal [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/ints.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/maps.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/strings.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor/tags.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/include/cbor.h [2020-06-19T11:32:20.628Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-06-19T11:32:20.640Z] [ 92%] Linking C executable template-discovery [2020-06-19T11:32:20.640Z] [ 92%] Built target template-discovery [2020-06-19T11:32:20.640Z] Scanning dependencies of target device-terminal [2020-06-19T11:32:20.913Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-19T11:32:21.192Z] [ 96%] Linking C executable device-terminal [2020-06-19T11:32:21.192Z] [ 96%] Built target device-terminal [2020-06-19T11:32:21.192Z] Scanning dependencies of target templatev1 [2020-06-19T11:32:21.468Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-19T11:32:21.468Z] [100%] Linking C executable templatev1 [2020-06-19T11:32:21.742Z] [100%] Built target templatev1 [2020-06-19T11:32:21.742Z] make: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:21.742Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:21.742Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:22.013Z] Scanning dependencies of target csdk [2020-06-19T11:32:22.013Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:22.013Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:22.013Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-19T11:32:22.855Z] Removing intermediate container b2456984e3d6 [2020-06-19T11:32:22.855Z] ---> 59f17cc845b9 [2020-06-19T11:32:22.855Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-06-19T11:32:23.181Z] ---> Running in faf1d23c1af0 [2020-06-19T11:32:23.982Z] [ 3%] Linking C shared library libcsdk.so [2020-06-19T11:32:23.982Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:23.982Z] [ 74%] Built target csdk [2020-06-19T11:32:23.982Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:23.982Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:23.982Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:23.982Z] [ 76%] Linking C executable template [2020-06-19T11:32:23.982Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:23.982Z] [ 78%] Built target template [2020-06-19T11:32:23.982Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:23.982Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:24.255Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:24.255Z] [ 80%] Linking C executable device-counter [2020-06-19T11:32:24.255Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:24.255Z] [ 81%] Built target device-counter [2020-06-19T11:32:24.255Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:24.255Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:24.255Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:24.255Z] [ 83%] Linking C executable device-random [2020-06-19T11:32:24.529Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:24.529Z] [ 85%] Built target device-random [2020-06-19T11:32:24.529Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:24.529Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:24.529Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:24.529Z] [ 87%] Linking C executable device-gyro [2020-06-19T11:32:24.666Z] Removing intermediate container faf1d23c1af0 [2020-06-19T11:32:24.666Z] ---> e2b21c8cb5ac [2020-06-19T11:32:24.666Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-06-19T11:32:24.666Z] ---> 1f8e616c6904 [2020-06-19T11:32:24.666Z] Step 8/21 : COPY src /tmp/sdk/src [2020-06-19T11:32:24.803Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:24.804Z] [ 89%] Built target device-gyro [2020-06-19T11:32:24.804Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:24.804Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:24.804Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:24.804Z] [ 90%] Linking C executable template-discovery [2020-06-19T11:32:25.077Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:25.077Z] [ 92%] Built target template-discovery [2020-06-19T11:32:25.077Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:25.077Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:25.077Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:25.077Z] [ 94%] Linking C executable device-terminal [2020-06-19T11:32:25.350Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:25.350Z] [ 96%] Built target device-terminal [2020-06-19T11:32:25.350Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:25.350Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:25.350Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:25.350Z] [ 98%] Linking C executable templatev1 [2020-06-19T11:32:25.624Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:25.624Z] [100%] Built target templatev1 [2020-06-19T11:32:25.624Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:25.624Z] Install the project... [2020-06-19T11:32:25.624Z] -- Install configuration: "Release" [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/lib/libcsdk.so [2020-06-19T11:32:25.624Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-06-19T11:32:25.624Z] -- Up-to-date: /usr/local/include [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/edgex [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/edgex/error.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/edgex/registry.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/edgex/devices.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/edgex/os.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/devsdk [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/json.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/container.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/component.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/typecode.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/iot.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/time.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/hash.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/logger.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/os [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/data.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/thread.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/os.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/base64.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-06-19T11:32:25.624Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-06-19T11:32:25.624Z] make: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:32:25.687Z] ---> 412adffb6bfd [2020-06-19T11:32:25.687Z] Step 9/21 : COPY include /tmp/sdk/include [2020-06-19T11:32:26.295Z] ---> ca4a3bd9f042 [2020-06-19T11:32:26.295Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-06-19T11:32:26.879Z] ---> b4ef36da4f92 [2020-06-19T11:32:26.879Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-06-19T11:32:27.149Z] ---> 0d3ac9318509 [2020-06-19T11:32:27.149Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-06-19T11:32:27.473Z] ---> 28150e90c8a9 [2020-06-19T11:32:27.474Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-06-19T11:32:27.615Z] Removing intermediate container 30da5ec50fab [2020-06-19T11:32:27.616Z] ---> 8e0b486f38ab [2020-06-19T11:32:27.616Z] Step 14/21 : FROM ${BASE} [2020-06-19T11:32:27.616Z] ---> b23d30803547 [2020-06-19T11:32:27.616Z] Step 15/21 : MAINTAINER IOTech [2020-06-19T11:32:27.846Z] ---> Running in 4de7d6b9f287 [2020-06-19T11:32:27.892Z] ---> Running in d8a64ac2608b [2020-06-19T11:32:28.496Z] Removing intermediate container d8a64ac2608b [2020-06-19T11:32:28.496Z] ---> e229be608b75 [2020-06-19T11:32:28.496Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-06-19T11:32:28.496Z] ---> Running in cc0ec08b8494 [2020-06-19T11:32:28.574Z] + CPPCHECK=false [2020-06-19T11:32:28.574Z] + DOCGEN=false [2020-06-19T11:32:28.574Z] + TOMLVER=SDK-0.2 [2020-06-19T11:32:28.574Z] + CUTILVER=1.0.4 [2020-06-19T11:32:28.574Z] + '[' 0 -gt 0 ] [2020-06-19T11:32:28.574Z] + readlink -f ./scripts/build.sh [2020-06-19T11:32:28.574Z] + dirname /tmp/sdk/scripts/build.sh [2020-06-19T11:32:28.574Z] + dirname /tmp/sdk/scripts [2020-06-19T11:32:28.574Z] + ROOT=/tmp/sdk [2020-06-19T11:32:28.574Z] + cd /tmp/sdk [2020-06-19T11:32:28.574Z] + '[' '!' -d deps ] [2020-06-19T11:32:28.574Z] + mkdir deps [2020-06-19T11:32:28.574Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-19T11:32:28.574Z] + tar -C deps -z -x -f - [2020-06-19T11:32:28.574Z] --2020-06-19 11:32:28-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-19T11:32:29.001Z] Resolving github.com... 140.82.113.3 [2020-06-19T11:32:29.001Z] Connecting to github.com|140.82.113.3|:443... connected. [2020-06-19T11:32:29.001Z] HTTP request sent, awaiting response... 302 Found [2020-06-19T11:32:29.002Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-06-19T11:32:29.002Z] --2020-06-19 11:32:28-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-06-19T11:32:29.002Z] Resolving codeload.github.com... 140.82.114.9 [2020-06-19T11:32:29.002Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-06-19T11:32:29.002Z] HTTP request sent, awaiting response... 200 OK [2020-06-19T11:32:29.002Z] Length: unspecified [application/x-gzip] [2020-06-19T11:32:29.002Z] Saving to: 'STDOUT' [2020-06-19T11:32:29.002Z]  [2020-06-19T11:32:29.345Z] 0K .......... ......  748K=0.02s [2020-06-19T11:32:29.345Z] [2020-06-19T11:32:29.345Z] 2020-06-19 11:32:29 (748 KB/s) - written to stdout [16451] [2020-06-19T11:32:29.345Z] [2020-06-19T11:32:29.345Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-06-19T11:32:29.345Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-19T11:32:29.345Z] + tar -C deps -z -x -f - [2020-06-19T11:32:29.345Z] --2020-06-19 11:32:29-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-19T11:32:29.345Z] Resolving github.com... 140.82.113.3 [2020-06-19T11:32:29.345Z] Connecting to github.com|140.82.113.3|:443... connected. [2020-06-19T11:32:29.345Z] HTTP request sent, awaiting response... 302 Found [2020-06-19T11:32:29.345Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-06-19T11:32:29.345Z] --2020-06-19 11:32:29-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-06-19T11:32:29.345Z] Resolving codeload.github.com... 140.82.114.9 [2020-06-19T11:32:29.345Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-06-19T11:32:29.649Z] HTTP request sent, awaiting response... 200 OK [2020-06-19T11:32:29.649Z] Length: unspecified [application/x-gzip] [2020-06-19T11:32:29.649Z] Saving to: 'STDOUT' [2020-06-19T11:32:29.649Z] [2020-06-19T11:32:29.649Z] 0K .......... .......... .......... .......... .......... 933K [2020-06-19T11:32:29.649Z] 50K .......... .......... .......... .......... .......... 463K [2020-06-19T11:32:29.649Z] 100K .......... .......... .......... .......... .......... 21.0M [2020-06-19T11:32:29.649Z] 150K ........ 34.7M=0.2s [2020-06-19T11:32:29.649Z] [2020-06-19T11:32:29.649Z] 2020-06-19 11:32:29 (966 KB/s) - written to stdout [162267] [2020-06-19T11:32:29.649Z] [2020-06-19T11:32:29.649Z] + mkdir -p src/c/iot [2020-06-19T11:32:29.649Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-06-19T11:32:29.649Z] + mkdir -p include/iot [2020-06-19T11:32:29.649Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-06-19T11:32:29.649Z] + mkdir -p include/iot/os [2020-06-19T11:32:29.649Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-06-19T11:32:29.649Z] + mkdir -p /tmp/sdk/build/release [2020-06-19T11:32:29.649Z] + cd /tmp/sdk/build/release [2020-06-19T11:32:29.649Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-06-19T11:32:29.941Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-19T11:32:29.949Z] -- The C compiler identification is GNU 8.3.0 [2020-06-19T11:32:29.949Z] -- Check for working C compiler: /usr/bin/cc [2020-06-19T11:32:30.230Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-19T11:32:30.230Z] -- Detecting C compiler ABI info [2020-06-19T11:32:30.230Z] -- Detecting C compiler ABI info - done [2020-06-19T11:32:30.230Z] -- Detecting C compile features [2020-06-19T11:32:30.866Z] -- Detecting C compile features - done [2020-06-19T11:32:30.866Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-19T11:32:30.866Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-19T11:32:30.866Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-19T11:32:30.866Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-19T11:32:30.866Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-19T11:32:30.866Z] -- C SDK 1.2.2-dev.4 for Linux [2020-06-19T11:32:30.866Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-19T11:32:30.866Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-19T11:32:30.866Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-19T11:32:30.866Z] -- Configuring done [2020-06-19T11:32:30.921Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-19T11:32:31.168Z] -- Generating done [2020-06-19T11:32:31.168Z] -- Build files have been written to: /tmp/sdk/build/release [2020-06-19T11:32:31.168Z] + make [2020-06-19T11:32:31.168Z] + tee release.log [2020-06-19T11:32:31.168Z] Scanning dependencies of target csdk [2020-06-19T11:32:31.168Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-19T11:32:31.194Z] (1/3) Installing curl (7.64.0-r3) [2020-06-19T11:32:31.194Z] (2/3) Installing libuuid (2.33-r0) [2020-06-19T11:32:31.466Z] (3/3) Installing wget (1.20.3-r0) [2020-06-19T11:32:31.466Z] Executing busybox-1.29.3-r10.trigger [2020-06-19T11:32:31.466Z] OK: 281 MiB in 78 packages [2020-06-19T11:32:31.481Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-19T11:32:31.793Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-19T11:32:32.412Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-19T11:32:32.748Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-19T11:32:32.748Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-19T11:32:32.907Z] Removing intermediate container cc0ec08b8494 [2020-06-19T11:32:32.907Z] ---> 0f31a95e0411 [2020-06-19T11:32:32.908Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-06-19T11:32:33.056Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-19T11:32:33.506Z] ---> 09264e0a43ea [2020-06-19T11:32:33.506Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-06-19T11:32:33.652Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-19T11:32:33.955Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-19T11:32:34.277Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-19T11:32:34.486Z] ---> b6b550376426 [2020-06-19T11:32:34.486Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-06-19T11:32:34.612Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-19T11:32:34.612Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-19T11:32:34.913Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-19T11:32:34.913Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-19T11:32:35.084Z] ---> 46ad035f0c84 [2020-06-19T11:32:35.084Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-06-19T11:32:35.682Z] ---> b737db9a2557 [2020-06-19T11:32:35.682Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-06-19T11:32:36.431Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-19T11:32:36.669Z] ---> 6b7725b277fe [2020-06-19T11:32:36.669Z] Successfully built 6b7725b277fe [2020-06-19T11:32:36.669Z] Successfully tagged ci-base-image-arm64:latest [2020-06-19T11:32:36.698Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-19T11:32:36.698Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:32:37.036Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-19T11:32:37.189Z] + docker inspect -f . ci-base-image-arm64 [2020-06-19T11:32:37.189Z] . [Pipeline] withDockerContainer [2020-06-19T11:32:37.451Z] prd-ubuntu18.04-docker-arm64-4c-16g-3708 does not seem to be running inside a container [2020-06-19T11:32:37.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/28 -v /w/workspace/device-sdk-c/28:/w/workspace/device-sdk-c/28:rw,z -v /w/workspace/device-sdk-c/28@tmp:/w/workspace/device-sdk-c/28@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 ******** ci-base-image-arm64 cat [2020-06-19T11:32:38.041Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-19T11:32:38.041Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-19T11:32:38.041Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-19T11:32:38.332Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-19T11:32:38.671Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-19T11:32:38.671Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-19T11:32:39.195Z] $ docker top a6153871f038094e2ae941bff7620be5d9120337da35d8ff2596ff2af5ba7eaa -eo pid,comm [2020-06-19T11:32:39.265Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-19T11:32:39.265Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [Pipeline] { [2020-06-19T11:32:39.561Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [Pipeline] sh [2020-06-19T11:32:39.855Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-19T11:32:39.856Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-19T11:32:40.581Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-19T11:32:40.581Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-19T11:32:40.597Z] + make test [2020-06-19T11:32:40.597Z] echo "make test" [2020-06-19T11:32:40.597Z] make test [Pipeline] } [2020-06-19T11:32:40.590Z] $ docker stop --time=1 a6153871f038094e2ae941bff7620be5d9120337da35d8ff2596ff2af5ba7eaa [2020-06-19T11:32:42.499Z] $ docker rm -f a6153871f038094e2ae941bff7620be5d9120337da35d8ff2596ff2af5ba7eaa [2020-06-19T11:32:42.750Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-19T11:32:42.750Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-06-19T11:32:43.025Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-19T11:32:43.025Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-19T11:32:43.625Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [Pipeline] sh [2020-06-19T11:32:44.256Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-19T11:32:44.440Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-19T11:32:44.850Z] + ls -al . [2020-06-19T11:32:44.851Z] total 196 [2020-06-19T11:32:44.851Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 19 11:30 . [2020-06-19T11:32:44.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 11:30 .. [2020-06-19T11:32:44.851Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 11:30 .git [2020-06-19T11:32:44.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 11:30 .github [2020-06-19T11:32:44.851Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 19 11:30 .gitignore [2020-06-19T11:32:44.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 11:30 .semver [2020-06-19T11:32:44.851Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jun 19 11:30 Attribution.txt [2020-06-19T11:32:44.851Z] -rw-rw-r-- 1 jenkins jenkins 5323 Jun 19 11:30 CHANGES [2020-06-19T11:32:44.851Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 19 11:30 Doxyfile [2020-06-19T11:32:44.851Z] -rw-rw-r-- 1 jenkins jenkins 794 Jun 19 11:30 Jenkinsfile [2020-06-19T11:32:44.851Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 19 11:30 LICENSE [2020-06-19T11:32:44.851Z] -rw-rw-r-- 1 jenkins jenkins 449 Jun 19 11:30 Makefile [2020-06-19T11:32:44.851Z] -rw-rw-r-- 1 jenkins jenkins 1849 Jun 19 11:30 README.md [2020-06-19T11:32:44.851Z] -rw-rw-r-- 1 jenkins jenkins 5229 Jun 19 11:30 README.v2.md [2020-06-19T11:32:44.851Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 19 11:28 VERSION [2020-06-19T11:32:44.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 11:30 docs [2020-06-19T11:32:44.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 11:30 include [2020-06-19T11:32:44.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 11:30 scripts [2020-06-19T11:32:44.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 11:30 src [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:32:45.236Z] + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9807c98aec50e436adf0acc90aeecd299a070733 --label arch=arm64 --label version=1.2.2-dev.4 . [2020-06-19T11:32:45.520Z] Sending build context to Docker daemon 3.283MB [2020-06-19T11:32:45.802Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-06-19T11:32:45.802Z] Step 2/15 : FROM ${BASE} [2020-06-19T11:32:45.802Z] ---> 6b7725b277fe [2020-06-19T11:32:45.802Z] Step 3/15 : MAINTAINER IOTech [2020-06-19T11:32:45.834Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-19T11:32:45.834Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-19T11:32:46.077Z] ---> Running in a7a8a56cd259 [2020-06-19T11:32:46.362Z] Removing intermediate container a7a8a56cd259 [2020-06-19T11:32:46.362Z] ---> 51aa93e6f5de [2020-06-19T11:32:46.362Z] 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 [2020-06-19T11:32:46.456Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-19T11:32:46.456Z] [ 74%] Linking C shared library libcsdk.so [2020-06-19T11:32:46.456Z] [ 74%] Built target csdk [2020-06-19T11:32:46.634Z] ---> Running in a4af05475fba [2020-06-19T11:32:46.776Z] Scanning dependencies of target template [2020-06-19T11:32:46.776Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-19T11:32:46.776Z] [ 78%] Linking C executable template [2020-06-19T11:32:47.068Z] [ 78%] Built target template [2020-06-19T11:32:47.068Z] Scanning dependencies of target device-counter [2020-06-19T11:32:47.068Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-19T11:32:47.068Z] [ 81%] Linking C executable device-counter [2020-06-19T11:32:47.339Z] [ 81%] Built target device-counter [2020-06-19T11:32:47.339Z] Scanning dependencies of target device-random [2020-06-19T11:32:47.339Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-19T11:32:47.339Z] [ 85%] Linking C executable device-random [2020-06-19T11:32:47.619Z] [ 85%] Built target device-random [2020-06-19T11:32:47.619Z] Scanning dependencies of target device-gyro [2020-06-19T11:32:47.619Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-19T11:32:47.902Z] [ 89%] Linking C executable device-gyro [2020-06-19T11:32:47.902Z] [ 89%] Built target device-gyro [2020-06-19T11:32:47.902Z] Scanning dependencies of target template-discovery [2020-06-19T11:32:47.902Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-19T11:32:48.077Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-19T11:32:48.188Z] [ 92%] Linking C executable template-discovery [2020-06-19T11:32:48.188Z] [ 92%] Built target template-discovery [2020-06-19T11:32:48.188Z] Scanning dependencies of target device-terminal [2020-06-19T11:32:48.509Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-19T11:32:48.509Z] [ 96%] Linking C executable device-terminal [2020-06-19T11:32:48.779Z] [ 96%] Built target device-terminal [2020-06-19T11:32:48.779Z] Scanning dependencies of target templatev1 [2020-06-19T11:32:48.779Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-19T11:32:49.049Z] [100%] Linking C executable templatev1 [2020-06-19T11:32:49.049Z] [100%] Built target templatev1 [2020-06-19T11:32:49.049Z] + + maketee package -a [2020-06-19T11:32:49.049Z] release.log [2020-06-19T11:32:49.049Z] [ 74%] Built target csdk [2020-06-19T11:32:49.055Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-19T11:32:49.055Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-19T11:32:49.325Z] [ 78%] Built target template [2020-06-19T11:32:49.326Z] [ 81%] Built target device-counter [2020-06-19T11:32:49.326Z] [ 85%] Built target device-random [2020-06-19T11:32:49.326Z] [ 89%] Built target device-gyro [2020-06-19T11:32:49.326Z] [ 92%] Built target template-discovery [2020-06-19T11:32:49.326Z] [ 96%] Built target device-terminal [2020-06-19T11:32:49.326Z] [100%] Built target templatev1 [2020-06-19T11:32:49.326Z] Run CPack packaging tool... [2020-06-19T11:32:49.329Z] (2/6) Installing libblkid (2.33-r0) [2020-06-19T11:32:49.329Z] (3/6) Installing libfdisk (2.33-r0) [2020-06-19T11:32:49.597Z] (4/6) Installing libmount (2.33-r0) [2020-06-19T11:32:49.597Z] (5/6) Installing libsmartcols (2.33-r0) [2020-06-19T11:32:49.614Z] CPack: Create package using TGZ [2020-06-19T11:32:49.614Z] CPack: Install projects [2020-06-19T11:32:49.614Z] CPack: - Run preinstall target for: Csdk [2020-06-19T11:32:49.866Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-06-19T11:32:49.885Z] CPack: - Install project: Csdk [2020-06-19T11:32:49.885Z] CPack: Create package [2020-06-19T11:32:49.885Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.2-dev.4.tar.gz generated. [2020-06-19T11:32:49.885Z] + '[' false '=' true ] [2020-06-19T11:32:49.885Z] + '[' false '=' true ] [2020-06-19T11:32:49.885Z] + mkdir -p /tmp/sdk/build/debug [2020-06-19T11:32:49.885Z] + cd /tmp/sdk/build/debug [2020-06-19T11:32:49.885Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-06-19T11:32:49.885Z] -- The C compiler identification is GNU 8.3.0 [2020-06-19T11:32:50.151Z] -- Check for working C compiler: /usr/bin/cc [2020-06-19T11:32:50.151Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-19T11:32:50.151Z] -- Detecting C compiler ABI info [2020-06-19T11:32:50.151Z] -- Detecting C compiler ABI info - done [2020-06-19T11:32:50.151Z] -- Detecting C compile features [2020-06-19T11:32:50.416Z] -- Detecting C compile features - done [2020-06-19T11:32:50.416Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-19T11:32:50.416Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-19T11:32:50.416Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-19T11:32:50.416Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-19T11:32:50.416Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-19T11:32:50.416Z] -- C SDK 1.2.2-dev.4 for Linux [2020-06-19T11:32:50.454Z] Executing busybox-1.29.3-r10.trigger [2020-06-19T11:32:50.454Z] OK: 286 MiB in 84 packages [2020-06-19T11:32:50.701Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-19T11:32:50.701Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-19T11:32:50.701Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-19T11:32:50.701Z] -- Configuring done [2020-06-19T11:32:50.701Z] -- Generating done [2020-06-19T11:32:50.701Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-06-19T11:32:50.701Z] + make [2020-06-19T11:32:50.701Z] + tee debug.log [2020-06-19T11:32:51.015Z] Scanning dependencies of target csdk [2020-06-19T11:32:51.015Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-19T11:32:51.015Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-19T11:32:51.280Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-19T11:32:51.543Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-19T11:32:51.817Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-19T11:32:51.817Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-19T11:32:51.817Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-19T11:32:51.877Z] Removing intermediate container a4af05475fba [2020-06-19T11:32:51.877Z] ---> ade3d35baf45 [2020-06-19T11:32:51.877Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-06-19T11:32:52.117Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-19T11:32:52.388Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-19T11:32:52.388Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-19T11:32:52.388Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-19T11:32:52.471Z] ---> 98bf9ffe8b9a [2020-06-19T11:32:52.471Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-06-19T11:32:52.656Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-19T11:32:52.656Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-19T11:32:52.656Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-19T11:32:53.255Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-19T11:32:53.256Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-19T11:32:53.256Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-19T11:32:53.256Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-19T11:32:53.442Z] ---> 2dd2266d78cc [2020-06-19T11:32:53.442Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-06-19T11:32:53.898Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-19T11:32:53.898Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-19T11:32:53.898Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-19T11:32:53.898Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-19T11:32:54.034Z] ---> 10cee8e94854 [2020-06-19T11:32:54.034Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-06-19T11:32:54.194Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-19T11:32:54.194Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-19T11:32:54.467Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-19T11:32:54.467Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-19T11:32:54.736Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-19T11:32:54.736Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-19T11:32:54.736Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-19T11:32:55.004Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-19T11:32:55.010Z] ---> 479162829eca [2020-06-19T11:32:55.010Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-06-19T11:32:55.273Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-19T11:32:55.605Z] ---> a0aafdd137d6 [2020-06-19T11:32:55.605Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-06-19T11:32:55.913Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-19T11:32:55.913Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-19T11:32:56.178Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-19T11:32:56.178Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-19T11:32:56.203Z] ---> 2e78db926e13 [2020-06-19T11:32:56.203Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-06-19T11:32:56.473Z] ---> Running in 39e512627fda [2020-06-19T11:32:56.748Z] Removing intermediate container 39e512627fda [2020-06-19T11:32:56.748Z] ---> eab656076b87 [2020-06-19T11:32:56.748Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-06-19T11:32:56.773Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-19T11:32:56.773Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-19T11:32:57.020Z] ---> Running in bb5a2504bdd1 [2020-06-19T11:32:57.369Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-19T11:32:57.369Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-19T11:32:57.612Z] Removing intermediate container bb5a2504bdd1 [2020-06-19T11:32:57.612Z] ---> 8ff668fe719a [2020-06-19T11:32:57.612Z] Step 13/15 : LABEL arch=arm64 [2020-06-19T11:32:57.654Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-19T11:32:57.654Z] [ 74%] Linking C shared library libcsdk.so [2020-06-19T11:32:57.884Z] ---> Running in 721a80b7ef8f [2020-06-19T11:32:57.924Z] [ 74%] Built target csdk [2020-06-19T11:32:57.924Z] Scanning dependencies of target template [2020-06-19T11:32:57.924Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-19T11:32:57.924Z] [ 78%] Linking C executable template [2020-06-19T11:32:58.153Z] Removing intermediate container 721a80b7ef8f [2020-06-19T11:32:58.153Z] ---> 9391e46b0176 [2020-06-19T11:32:58.153Z] Step 14/15 : LABEL git_sha=9807c98aec50e436adf0acc90aeecd299a070733 [2020-06-19T11:32:58.210Z] [ 78%] Built target template [2020-06-19T11:32:58.210Z] Scanning dependencies of target device-counter [2020-06-19T11:32:58.210Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-19T11:32:58.210Z] [ 81%] Linking C executable device-counter [2020-06-19T11:32:58.422Z] ---> Running in 9a768f35dbf1 [2020-06-19T11:32:58.471Z] [ 81%] Built target device-counter [2020-06-19T11:32:58.471Z] Scanning dependencies of target device-random [2020-06-19T11:32:58.471Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-19T11:32:58.471Z] [ 85%] Linking C executable device-random [2020-06-19T11:32:58.691Z] Removing intermediate container 9a768f35dbf1 [2020-06-19T11:32:58.691Z] ---> 4494961b7926 [2020-06-19T11:32:58.691Z] Step 15/15 : LABEL version=1.2.2-dev.4 [2020-06-19T11:32:58.750Z] [ 85%] Built target device-random [2020-06-19T11:32:58.750Z] Scanning dependencies of target device-gyro [2020-06-19T11:32:58.750Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-19T11:32:58.750Z] [ 89%] Linking C executable device-gyro [2020-06-19T11:32:58.962Z] ---> Running in d479b5c493e7 [2020-06-19T11:32:59.043Z] [ 89%] Built target device-gyro [2020-06-19T11:32:59.043Z] Scanning dependencies of target template-discovery [2020-06-19T11:32:59.043Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-19T11:32:59.365Z] [ 92%] Linking C executable template-discovery [2020-06-19T11:32:59.365Z] [ 92%] Built target template-discovery [2020-06-19T11:32:59.365Z] Scanning dependencies of target device-terminal [2020-06-19T11:32:59.365Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-19T11:32:59.554Z] Removing intermediate container d479b5c493e7 [2020-06-19T11:32:59.554Z] ---> dcd5be478932 [2020-06-19T11:32:59.554Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-06-19T11:32:59.554Z] Successfully built dcd5be478932 [2020-06-19T11:32:59.554Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2020-06-19T11:32:59.679Z] [ 96%] Linking C executable device-terminal [2020-06-19T11:32:59.679Z] [ 96%] Built target device-terminal [2020-06-19T11:32:59.679Z] Scanning dependencies of target templatev1 [2020-06-19T11:32:59.679Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2020-06-19T11:32:59.981Z] [100%] Linking C executable templatev1 [2020-06-19T11:32:59.981Z] [100%] Built target templatev1 [2020-06-19T11:32:59.981Z] make: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:59.981Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:59.981Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:32:59.981Z] Scanning dependencies of target csdk [2020-06-19T11:32:59.981Z] make[2]: Leaving directory '/tmp/sdk/build/release' [Pipeline] } [2020-06-19T11:33:00.247Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:33:00.247Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-19T11:33:00.870Z] [ 3%] Linking C shared library libcsdk.so [2020-06-19T11:33:00.870Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:00.870Z] [ 74%] Built target csdk [2020-06-19T11:33:00.870Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:33:00.870Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:00.870Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:33:00.870Z] [ 76%] Linking C executable template [2020-06-19T11:33:00.870Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.155Z] [ 78%] Built target template [2020-06-19T11:33:01.155Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.155Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.155Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.155Z] [ 80%] Linking C executable device-counter [2020-06-19T11:33:01.155Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.155Z] [ 81%] Built target device-counter [2020-06-19T11:33:01.155Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.155Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.155Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.155Z] [ 83%] Linking C executable device-random [2020-06-19T11:33:01.155Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.155Z] [ 85%] Built target device-random [2020-06-19T11:33:01.155Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.155Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.155Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.426Z] [ 87%] Linking C executable device-gyro [2020-06-19T11:33:01.426Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.426Z] [ 89%] Built target device-gyro [2020-06-19T11:33:01.426Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.426Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.426Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.426Z] [ 90%] Linking C executable template-discovery [2020-06-19T11:33:01.705Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.705Z] [ 92%] Built target template-discovery [2020-06-19T11:33:01.705Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.705Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.705Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.705Z] [ 94%] Linking C executable device-terminal [2020-06-19T11:33:01.705Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.705Z] [ 96%] Built target device-terminal [2020-06-19T11:33:01.705Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.705Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.705Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.705Z] [ 98%] Linking C executable templatev1 [2020-06-19T11:33:01.982Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.982Z] [100%] Built target templatev1 [2020-06-19T11:33:01.982Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:01.982Z] Install the project... [2020-06-19T11:33:01.982Z] -- Install configuration: "Release" [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/lib/libcsdk.so [2020-06-19T11:33:01.982Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-06-19T11:33:01.982Z] -- Up-to-date: /usr/local/include [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/devsdk [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/edgex [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/edgex/devices.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/edgex/error.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/edgex/os.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/edgex/registry.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/base64.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/component.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/container.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/data.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/hash.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/iot.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/json.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/logger.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/os.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/thread.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/time.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/typecode.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/os [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-06-19T11:33:01.982Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-06-19T11:33:01.982Z] make: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:33:04.048Z] Removing intermediate container 4de7d6b9f287 [2020-06-19T11:33:04.048Z] ---> c17ca8d7c474 [2020-06-19T11:33:04.048Z] Step 14/21 : FROM ${BASE} [2020-06-19T11:33:04.048Z] ---> 5eabd8fd8ba2 [2020-06-19T11:33:04.048Z] Step 15/21 : MAINTAINER IOTech [2020-06-19T11:33:04.048Z] ---> Running in 3fc31e4038c8 [2020-06-19T11:33:04.048Z] Removing intermediate container 3fc31e4038c8 [2020-06-19T11:33:04.048Z] ---> 90a81e10377c [2020-06-19T11:33:04.048Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-06-19T11:33:04.350Z] ---> Running in 9a59f565cfca [2020-06-19T11:33:04.935Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-19T11:33:05.917Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-19T11:33:06.194Z] (1/3) Installing curl (7.64.0-r3) [2020-06-19T11:33:06.194Z] (2/3) Installing libuuid (2.33-r0) [2020-06-19T11:33:06.194Z] (3/3) Installing wget (1.20.3-r0) [2020-06-19T11:33:06.460Z] Executing busybox-1.29.3-r10.trigger [2020-06-19T11:33:06.460Z] OK: 268 MiB in 78 packages [2020-06-19T11:33:07.057Z] Removing intermediate container 9a59f565cfca [2020-06-19T11:33:07.057Z] ---> 4bda9b24dc46 [2020-06-19T11:33:07.057Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-06-19T11:33:07.361Z] ---> 5dc871c0c59a [2020-06-19T11:33:07.361Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-06-19T11:33:07.999Z] ---> 173d737653c7 [2020-06-19T11:33:07.999Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-06-19T11:33:08.633Z] ---> da7144f935ff [2020-06-19T11:33:08.633Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-06-19T11:33:08.906Z] ---> cae9c0bd272d [2020-06-19T11:33:08.906Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-06-19T11:33:09.170Z] ---> 58d46cb0161f [2020-06-19T11:33:09.170Z] Successfully built 58d46cb0161f [2020-06-19T11:33:09.170Z] 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 [2020-06-19T11:33:09.748Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-19T11:33:09.748Z] . [Pipeline] withDockerContainer [2020-06-19T11:33:09.879Z] prd-centos7-docker-4c-2g-3709 does not seem to be running inside a container [2020-06-19T11:33:10.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/28 -v /w/workspace/device-sdk-c/28:/w/workspace/device-sdk-c/28:rw,z -v /w/workspace/device-sdk-c/28@tmp:/w/workspace/device-sdk-c/28@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 ******** ci-base-image-x86_64 cat [2020-06-19T11:33:10.825Z] $ docker top 0ca84384e3923d536fc29850d502be0555dad60baced9ff6a1814e18623b83d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-19T11:33:11.369Z] + make test [2020-06-19T11:33:11.369Z] echo "make test" [2020-06-19T11:33:11.369Z] make test [Pipeline] } [2020-06-19T11:33:11.422Z] $ docker stop --time=1 0ca84384e3923d536fc29850d502be0555dad60baced9ff6a1814e18623b83d1 [2020-06-19T11:33:13.555Z] $ docker rm -f 0ca84384e3923d536fc29850d502be0555dad60baced9ff6a1814e18623b83d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-19T11:33:14.209Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-19T11:33:14.545Z] + ls -al . [2020-06-19T11:33:14.545Z] total 160 [2020-06-19T11:33:14.545Z] drwxrwxr-x. 9 jenkins jenkins 275 Jun 19 11:31 . [2020-06-19T11:33:14.545Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 19 11:31 .. [2020-06-19T11:33:14.545Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jun 19 11:31 Attribution.txt [2020-06-19T11:33:14.545Z] -rw-rw-r--. 1 jenkins jenkins 5323 Jun 19 11:31 CHANGES [2020-06-19T11:33:14.545Z] drwxrwxr-x. 2 jenkins jenkins 144 Jun 19 11:31 docs [2020-06-19T11:33:14.545Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jun 19 11:31 Doxyfile [2020-06-19T11:33:14.545Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 19 11:31 .git [2020-06-19T11:33:14.545Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 19 11:31 .github [2020-06-19T11:33:14.545Z] -rw-rw-r--. 1 jenkins jenkins 176 Jun 19 11:31 .gitignore [2020-06-19T11:33:14.545Z] drwxrwxr-x. 4 jenkins jenkins 33 Jun 19 11:31 include [2020-06-19T11:33:14.545Z] -rw-rw-r--. 1 jenkins jenkins 794 Jun 19 11:31 Jenkinsfile [2020-06-19T11:33:14.545Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jun 19 11:31 LICENSE [2020-06-19T11:33:14.545Z] -rw-rw-r--. 1 jenkins jenkins 449 Jun 19 11:31 Makefile [2020-06-19T11:33:14.545Z] -rw-rw-r--. 1 jenkins jenkins 1849 Jun 19 11:31 README.md [2020-06-19T11:33:14.545Z] -rw-rw-r--. 1 jenkins jenkins 5229 Jun 19 11:31 README.v2.md [2020-06-19T11:33:14.545Z] drwxrwxr-x. 2 jenkins jenkins 108 Jun 19 11:31 scripts [2020-06-19T11:33:14.545Z] drwxrwxr-x. 3 jenkins jenkins 44 Jun 19 11:31 .semver [2020-06-19T11:33:14.545Z] drwxrwxr-x. 4 jenkins jenkins 50 Jun 19 11:31 src [2020-06-19T11:33:14.545Z] -rw-rw-r--. 1 jenkins jenkins 11 Jun 19 11:28 VERSION [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:33:14.954Z] + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=9807c98aec50e436adf0acc90aeecd299a070733 --label arch=amd64 --label version=1.2.2-dev.4 . [2020-06-19T11:33:15.218Z] Sending build context to Docker daemon 3.283MB [2020-06-19T11:33:15.218Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-06-19T11:33:15.218Z] Step 2/15 : FROM ${BASE} [2020-06-19T11:33:15.218Z] ---> 58d46cb0161f [2020-06-19T11:33:15.218Z] Step 3/15 : MAINTAINER IOTech [2020-06-19T11:33:15.484Z] ---> Running in 1675c9abff78 [2020-06-19T11:33:15.785Z] Removing intermediate container 1675c9abff78 [2020-06-19T11:33:15.785Z] ---> 35132949a275 [2020-06-19T11:33:15.785Z] 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 [2020-06-19T11:33:15.785Z] ---> Running in 48619d638b28 [2020-06-19T11:33:16.955Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-19T11:33:17.969Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-19T11:33:18.235Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-19T11:33:18.235Z] (2/6) Installing libblkid (2.33-r0) [2020-06-19T11:33:18.506Z] (3/6) Installing libfdisk (2.33-r0) [2020-06-19T11:33:18.506Z] (4/6) Installing libmount (2.33-r0) [2020-06-19T11:33:18.506Z] (5/6) Installing libsmartcols (2.33-r0) [2020-06-19T11:33:18.782Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-06-19T11:33:19.051Z] Executing busybox-1.29.3-r10.trigger [2020-06-19T11:33:19.051Z] OK: 272 MiB in 84 packages [2020-06-19T11:33:20.055Z] Removing intermediate container 48619d638b28 [2020-06-19T11:33:20.055Z] ---> a30c864d4976 [2020-06-19T11:33:20.055Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-06-19T11:33:20.055Z] ---> f8caac8919d8 [2020-06-19T11:33:20.055Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-06-19T11:33:21.143Z] ---> 2b42158964df [2020-06-19T11:33:21.143Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-06-19T11:33:21.442Z] ---> 1c25c7ff49c4 [2020-06-19T11:33:21.442Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-06-19T11:33:22.044Z] ---> cc5e95fedb9b [2020-06-19T11:33:22.044Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-06-19T11:33:22.312Z] ---> 80f64a0511a3 [2020-06-19T11:33:22.312Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-06-19T11:33:22.580Z] ---> 90ae0507984f [2020-06-19T11:33:22.580Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-06-19T11:33:22.580Z] ---> Running in 741176917b06 [2020-06-19T11:33:22.845Z] Removing intermediate container 741176917b06 [2020-06-19T11:33:22.845Z] ---> c9fda9bfc10d [2020-06-19T11:33:22.845Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-06-19T11:33:23.111Z] ---> Running in 96c601f24511 [2020-06-19T11:33:23.373Z] Removing intermediate container 96c601f24511 [2020-06-19T11:33:23.373Z] ---> 48c6f0f92a06 [2020-06-19T11:33:23.373Z] Step 13/15 : LABEL arch=amd64 [2020-06-19T11:33:23.373Z] ---> Running in 1c87305e4c66 [2020-06-19T11:33:23.643Z] Removing intermediate container 1c87305e4c66 [2020-06-19T11:33:23.643Z] ---> 088ed89002e4 [2020-06-19T11:33:23.643Z] Step 14/15 : LABEL git_sha=9807c98aec50e436adf0acc90aeecd299a070733 [2020-06-19T11:33:23.643Z] ---> Running in 9294684713b4 [2020-06-19T11:33:23.955Z] Removing intermediate container 9294684713b4 [2020-06-19T11:33:23.955Z] ---> c1fd6345f8ea [2020-06-19T11:33:23.955Z] Step 15/15 : LABEL version=1.2.2-dev.4 [2020-06-19T11:33:23.955Z] ---> Running in aa5dd84b0e11 [2020-06-19T11:33:24.303Z] Removing intermediate container aa5dd84b0e11 [2020-06-19T11:33:24.303Z] ---> ad4f19fe0d83 [2020-06-19T11:33:24.303Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-06-19T11:33:24.303Z] Successfully built ad4f19fe0d83 [2020-06-19T11:33:24.303Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:33:25.482Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-19T11:33:25.482Z] . [Pipeline] withDockerContainer [2020-06-19T11:33:25.582Z] prd-centos7-docker-4c-2g-3707 does not seem to be running inside a container [2020-06-19T11:33:25.620Z] $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-19T11:33:26.310Z] $ docker top c33a0bed64fea4ec4b37460928a2bcbf7dbba5c13139ad01ca0bc5c0e183dd05 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-19T11:33:26.505Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-19T11:33:26.505Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-19T11:33:26.714Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-19T11:33:26.718Z] $ docker exec c33a0bed64fea4ec4b37460928a2bcbf7dbba5c13139ad01ca0bc5c0e183dd05 ssh-agent [2020-06-19T11:33:26.892Z] SSH_AUTH_SOCK=/tmp/ssh-eMp0lZLFZRd3/agent.11 [2020-06-19T11:33:26.892Z] SSH_AGENT_PID=17 [2020-06-19T11:33:26.899Z] Running ssh-add (command line suppressed) [2020-06-19T11:33:27.019Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2074855446801905017.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2074855446801905017.key) [2020-06-19T11:33:27.071Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-19T11:33:27.378Z] + git semver tag [2020-06-19T11:33:27.379Z] # -> Open(): unable to determine branch for HEAD [2020-06-19T11:33:27.379Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-06-19T11:33:27.379Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-06-19T11:33:27.379Z] # $SEMVER_REMOTE_NAME = origin [2020-06-19T11:33:27.379Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-19T11:33:27.379Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-19T11:33:27.379Z] # $SEMVER_BRANCH = master [2020-06-19T11:33:27.379Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-06-19T11:33:27.379Z] # 9807c98aec50e436adf0acc90aeecd299a070733 HEAD [2020-06-19T11:33:27.379Z] # -> Force: false [2020-06-19T11:33:27.379Z] # 8835acc983296e7466e5227fb9f30f4ff2733f53 refs/tags/v1.2.2-dev.4 [Pipeline] } [2020-06-19T11:33:27.391Z] $ docker exec --env ******** --env ******** c33a0bed64fea4ec4b37460928a2bcbf7dbba5c13139ad01ca0bc5c0e183dd05 ssh-agent -k [2020-06-19T11:33:27.525Z] unset SSH_AUTH_SOCK; [2020-06-19T11:33:27.526Z] unset SSH_AGENT_PID; [2020-06-19T11:33:27.526Z] echo Agent pid 17 killed; [2020-06-19T11:33:27.574Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-19T11:33:27.945Z] + git semver [Pipeline] } [2020-06-19T11:33:27.959Z] $ docker stop --time=1 c33a0bed64fea4ec4b37460928a2bcbf7dbba5c13139ad01ca0bc5c0e183dd05 [2020-06-19T11:33:29.307Z] $ docker rm -f c33a0bed64fea4ec4b37460928a2bcbf7dbba5c13139ad01ca0bc5c0e183dd05 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:33:29.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-06-19T11:33:29.827Z] [2020-06-19T11:33:29.827Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:33:30.148Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-06-19T11:33:30.148Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-06-19T11:33:30.148Z] ab5ef0e58194: Pulling fs layer [2020-06-19T11:33:30.148Z] 9712f1f96733: Pulling fs layer [2020-06-19T11:33:30.148Z] 63f879dbbcfc: Pulling fs layer [2020-06-19T11:33:30.148Z] 0d9ebad4ef96: Pulling fs layer [2020-06-19T11:33:30.148Z] e9a5061849ea: Pulling fs layer [2020-06-19T11:33:30.148Z] d747dcd14b5f: Pulling fs layer [2020-06-19T11:33:30.148Z] 2de7ff778b66: Pulling fs layer [2020-06-19T11:33:30.148Z] 0d9ebad4ef96: Waiting [2020-06-19T11:33:30.148Z] e9a5061849ea: Waiting [2020-06-19T11:33:30.148Z] d747dcd14b5f: Waiting [2020-06-19T11:33:30.148Z] 2de7ff778b66: Waiting [2020-06-19T11:33:30.148Z] 9712f1f96733: Verifying Checksum [2020-06-19T11:33:30.148Z] 9712f1f96733: Download complete [2020-06-19T11:33:31.382Z] 63f879dbbcfc: Verifying Checksum [2020-06-19T11:33:31.382Z] 63f879dbbcfc: Download complete [2020-06-19T11:33:31.382Z] e9a5061849ea: Verifying Checksum [2020-06-19T11:33:31.382Z] e9a5061849ea: Download complete [2020-06-19T11:33:31.382Z] d747dcd14b5f: Verifying Checksum [2020-06-19T11:33:31.382Z] d747dcd14b5f: Download complete [2020-06-19T11:33:31.382Z] 2de7ff778b66: Verifying Checksum [2020-06-19T11:33:31.382Z] 2de7ff778b66: Download complete [2020-06-19T11:33:31.382Z] ab5ef0e58194: Download complete [2020-06-19T11:33:31.382Z] 0d9ebad4ef96: Verifying Checksum [2020-06-19T11:33:31.382Z] 0d9ebad4ef96: Download complete [2020-06-19T11:33:36.689Z] ab5ef0e58194: Pull complete [2020-06-19T11:33:36.689Z] 9712f1f96733: Pull complete [2020-06-19T11:33:39.249Z] 63f879dbbcfc: Pull complete [2020-06-19T11:33:45.923Z] 0d9ebad4ef96: Pull complete [2020-06-19T11:33:47.921Z] e9a5061849ea: Pull complete [2020-06-19T11:33:47.921Z] d747dcd14b5f: Pull complete [2020-06-19T11:33:51.223Z] 2de7ff778b66: Pull complete [2020-06-19T11:33:51.223Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-06-19T11:33:51.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-06-19T11:33:51.223Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-06-19T11:33:51.360Z] prd-centos7-docker-4c-2g-3707 does not seem to be running inside a container [2020-06-19T11:33:51.397Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-06-19T11:33:54.981Z] $ docker top 6ebab62f21af5afbe168a5619e3322f300403fb565478c52cda1b3f32ea31aeb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-06-19T11:33:55.114Z] provisioning config files... [2020-06-19T11:33:55.129Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config5329771305299340846tmp [2020-06-19T11:33:55.143Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config2746735932336509361tmp [2020-06-19T11:33:55.154Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config2595216237335746021tmp [Pipeline] { [Pipeline] echo [2020-06-19T11:33:55.179Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-19T11:33:55.469Z] ---> sigul-configuration.sh [2020-06-19T11:33:55.469Z] gpg: directory `/root/.gnupg' created [2020-06-19T11:33:55.469Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-06-19T11:33:55.469Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-06-19T11:33:55.469Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-06-19T11:33:55.469Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-06-19T11:33:55.469Z] gpg: CAST5 encrypted data [2020-06-19T11:33:55.731Z] gpg: encrypted with 1 passphrase [2020-06-19T11:33:55.731Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-06-19T11:33:56.038Z] + mkdir /home/jenkins [2020-06-19T11:33:56.038Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-06-19T11:33:56.329Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo [2020-06-19T11:33:56.337Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-19T11:33:56.623Z] ---> sigul-install.sh [2020-06-19T11:34:23.209Z] https://kojipkgs.fedoraproject.org/repos-dist/epel7-infra/latest/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to kojipkgs.fedoraproject.org:443; Operation now in progress" [2020-06-19T11:34:23.209Z] Trying other mirror. [2020-06-19T11:34:45.180Z] https://kojipkgs.fedoraproject.org/repos-dist/epel7-infra/latest/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to kojipkgs.fedoraproject.org:443; Operation now in progress" [2020-06-19T11:34:45.180Z] Trying other mirror. [2020-06-19T11:35:07.244Z] https://kojipkgs.fedoraproject.org/repos-dist/epel7-infra/latest/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to kojipkgs.fedoraproject.org:443; Operation now in progress" [2020-06-19T11:35:07.244Z] Trying other mirror. [2020-06-19T11:35:29.210Z] https://kojipkgs.fedoraproject.org/repos-dist/epel7-infra/latest/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to kojipkgs.fedoraproject.org:443; Operation now in progress" [2020-06-19T11:35:29.210Z] Trying other mirror. [2020-06-19T11:35:51.167Z] https://kojipkgs.fedoraproject.org/repos-dist/epel7-infra/latest/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to kojipkgs.fedoraproject.org:443; Operation now in progress" [2020-06-19T11:35:51.167Z] Trying other mirror. [2020-06-19T11:36:17.735Z] https://kojipkgs.fedoraproject.org/repos-dist/epel7-infra/latest/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to kojipkgs.fedoraproject.org:443; Operation now in progress" [2020-06-19T11:36:17.735Z] Trying other mirror. [2020-06-19T11:36:35.844Z] https://kojipkgs.fedoraproject.org/repos-dist/epel7-infra/latest/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to kojipkgs.fedoraproject.org:443; Operation now in progress" [2020-06-19T11:36:35.844Z] Trying other mirror. [2020-06-19T11:37:02.426Z] https://kojipkgs.fedoraproject.org/repos-dist/epel7-infra/latest/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to kojipkgs.fedoraproject.org:443; Operation now in progress" [2020-06-19T11:37:02.426Z] Trying other mirror. [2020-06-19T11:37:24.391Z] https://kojipkgs.fedoraproject.org/repos-dist/epel7-infra/latest/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to kojipkgs.fedoraproject.org:443; Operation now in progress" [2020-06-19T11:37:24.391Z] Trying other mirror. [2020-06-19T11:37:46.343Z] https://kojipkgs.fedoraproject.org/repos-dist/epel7-infra/latest/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to kojipkgs.fedoraproject.org:443; Operation now in progress" [2020-06-19T11:37:46.343Z] Trying other mirror. [Pipeline] sh [2020-06-19T11:37:46.633Z] + git tag --list [2020-06-19T11:37:46.633Z] v1.2.2-dev.4 [Pipeline] sh [2020-06-19T11:37:46.928Z] + lftools sign git-tag v1.2.2-dev.4 [2020-06-19T11:37:48.311Z] Signing Git tag with Sigul... [2020-06-19T11:37:48.311Z] Signing v1.2.2-dev.4 [Pipeline] echo [2020-06-19T11:37:49.261Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-19T11:37:49.549Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-06-19T11:37:49.559Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-06-19T11:37:49.602Z] $ docker stop --time=1 6ebab62f21af5afbe168a5619e3322f300403fb565478c52cda1b3f32ea31aeb [2020-06-19T11:37:51.075Z] $ docker rm -f 6ebab62f21af5afbe168a5619e3322f300403fb565478c52cda1b3f32ea31aeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:37:51.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-19T11:37:51.641Z] . [Pipeline] withDockerContainer [2020-06-19T11:37:51.738Z] prd-centos7-docker-4c-2g-3707 does not seem to be running inside a container [2020-06-19T11:37:51.785Z] $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-19T11:37:52.516Z] $ docker top cc0012514b576963e0f847514e60fb69e5e357acbe00ddbaa4e483ca034b5fe8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-19T11:37:52.728Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-19T11:37:52.728Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-19T11:37:52.950Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-19T11:37:52.953Z] $ docker exec cc0012514b576963e0f847514e60fb69e5e357acbe00ddbaa4e483ca034b5fe8 ssh-agent [2020-06-19T11:37:53.138Z] SSH_AUTH_SOCK=/tmp/ssh-1Buo8cTtJZuW/agent.11 [2020-06-19T11:37:53.139Z] SSH_AGENT_PID=17 [2020-06-19T11:37:53.146Z] Running ssh-add (command line suppressed) [2020-06-19T11:37:53.276Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5750369254155649039.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5750369254155649039.key) [2020-06-19T11:37:53.328Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-19T11:37:53.631Z] + git semver bump pre [2020-06-19T11:37:53.631Z] # -> Open(): unable to determine branch for HEAD [2020-06-19T11:37:53.631Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-06-19T11:37:53.631Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-06-19T11:37:53.631Z] # $SEMVER_REMOTE_NAME = origin [2020-06-19T11:37:53.631Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-19T11:37:53.631Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-19T11:37:53.631Z] # $SEMVER_BRANCH = master [2020-06-19T11:37:53.631Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-06-19T11:37:53.631Z] 1.2.2-dev.5 [Pipeline] } [2020-06-19T11:37:53.641Z] $ docker exec --env ******** --env ******** cc0012514b576963e0f847514e60fb69e5e357acbe00ddbaa4e483ca034b5fe8 ssh-agent -k [2020-06-19T11:37:53.769Z] unset SSH_AUTH_SOCK; [2020-06-19T11:37:53.769Z] unset SSH_AGENT_PID; [2020-06-19T11:37:53.769Z] echo Agent pid 17 killed; [2020-06-19T11:37:53.819Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-19T11:37:54.172Z] + git semver [Pipeline] } [2020-06-19T11:37:54.187Z] $ docker stop --time=1 cc0012514b576963e0f847514e60fb69e5e357acbe00ddbaa4e483ca034b5fe8 [2020-06-19T11:37:55.544Z] $ docker rm -f cc0012514b576963e0f847514e60fb69e5e357acbe00ddbaa4e483ca034b5fe8 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:37:55.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-19T11:37:55.981Z] . [Pipeline] withDockerContainer [2020-06-19T11:37:56.082Z] prd-centos7-docker-4c-2g-3707 does not seem to be running inside a container [2020-06-19T11:37:56.122Z] $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-19T11:37:56.755Z] $ docker top f1b6a0057bb5182dd7f33ecba977d331a23e62137836620264e551cff064d99a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-19T11:37:56.943Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-19T11:37:56.943Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-19T11:37:57.156Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-19T11:37:57.158Z] $ docker exec f1b6a0057bb5182dd7f33ecba977d331a23e62137836620264e551cff064d99a ssh-agent [2020-06-19T11:37:57.338Z] SSH_AUTH_SOCK=/tmp/ssh-MO2lnlrSOKWG/agent.12 [2020-06-19T11:37:57.338Z] SSH_AGENT_PID=17 [2020-06-19T11:37:57.345Z] Running ssh-add (command line suppressed) [2020-06-19T11:37:57.485Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4963420075037498105.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4963420075037498105.key) [2020-06-19T11:37:57.537Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-19T11:37:57.843Z] + git semver push [2020-06-19T11:37:57.843Z] # -> Open(): unable to determine branch for HEAD [2020-06-19T11:37:57.843Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-06-19T11:37:57.843Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-06-19T11:37:57.843Z] # $SEMVER_REMOTE_NAME = origin [2020-06-19T11:37:57.843Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-19T11:37:57.843Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-19T11:37:57.843Z] # $SEMVER_BRANCH = master [2020-06-19T11:37:57.843Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-06-19T11:38:05.993Z] $ docker exec --env ******** --env ******** f1b6a0057bb5182dd7f33ecba977d331a23e62137836620264e551cff064d99a ssh-agent -k [2020-06-19T11:38:06.129Z] unset SSH_AUTH_SOCK; [2020-06-19T11:38:06.130Z] unset SSH_AGENT_PID; [2020-06-19T11:38:06.130Z] echo Agent pid 17 killed; [2020-06-19T11:38:06.181Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-19T11:38:06.538Z] + git semver [Pipeline] } [2020-06-19T11:38:06.553Z] $ docker stop --time=1 f1b6a0057bb5182dd7f33ecba977d331a23e62137836620264e551cff064d99a [2020-06-19T11:38:07.896Z] $ docker rm -f f1b6a0057bb5182dd7f33ecba977d331a23e62137836620264e551cff064d99a [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 [2020-06-19T11:38:08.590Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-19T11:38:09.204Z] ---> package-listing.sh [2020-06-19T11:38:09.204Z] ++ facter osfamily [2020-06-19T11:38:09.204Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-19T11:38:09.204Z] + OS_FAMILY=redhat [2020-06-19T11:38:09.204Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_master [2020-06-19T11:38:09.204Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-19T11:38:09.204Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-19T11:38:09.204Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-19T11:38:09.204Z] + PACKAGES=/tmp/packages_start.txt [2020-06-19T11:38:09.204Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-06-19T11:38:09.204Z] + PACKAGES=/tmp/packages_end.txt [2020-06-19T11:38:09.204Z] + case "${OS_FAMILY}" in [2020-06-19T11:38:09.204Z] + rpm -qa [2020-06-19T11:38:09.204Z] + sort [2020-06-19T11:38:13.405Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-19T11:38:13.405Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-19T11:38:13.405Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-19T11:38:13.405Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-06-19T11:38:13.405Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [2020-06-19T11:38:13.405Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:38:14.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-19T11:38:14.013Z] [2020-06-19T11:38:14.013Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:38:14.328Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-19T11:38:14.328Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-19T11:38:14.328Z] c9b1b535fdd9: Pulling fs layer [2020-06-19T11:38:14.328Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-19T11:38:14.328Z] 756a868c4378: Pulling fs layer [2020-06-19T11:38:14.328Z] 444b2fc9a129: Pulling fs layer [2020-06-19T11:38:14.328Z] ea15f1150254: Pulling fs layer [2020-06-19T11:38:14.328Z] 41b27a9f41bf: Pulling fs layer [2020-06-19T11:38:14.328Z] 28c525ee5125: Pulling fs layer [2020-06-19T11:38:14.328Z] 094b1ea09ed8: Pulling fs layer [2020-06-19T11:38:14.328Z] 138eaada9080: Pulling fs layer [2020-06-19T11:38:14.328Z] 0622d0fa9048: Pulling fs layer [2020-06-19T11:38:14.328Z] 41b27a9f41bf: Waiting [2020-06-19T11:38:14.328Z] 28c525ee5125: Waiting [2020-06-19T11:38:14.328Z] 094b1ea09ed8: Waiting [2020-06-19T11:38:14.328Z] 138eaada9080: Waiting [2020-06-19T11:38:14.328Z] 0622d0fa9048: Waiting [2020-06-19T11:38:14.328Z] 444b2fc9a129: Waiting [2020-06-19T11:38:14.328Z] ea15f1150254: Waiting [2020-06-19T11:38:14.328Z] 2cc5ad85d9ab: Download complete [2020-06-19T11:38:14.328Z] 444b2fc9a129: Download complete [2020-06-19T11:38:14.328Z] c9b1b535fdd9: Verifying Checksum [2020-06-19T11:38:14.328Z] ea15f1150254: Verifying Checksum [2020-06-19T11:38:14.328Z] ea15f1150254: Download complete [2020-06-19T11:38:14.597Z] 28c525ee5125: Verifying Checksum [2020-06-19T11:38:14.597Z] 28c525ee5125: Download complete [2020-06-19T11:38:14.872Z] 756a868c4378: Verifying Checksum [2020-06-19T11:38:14.872Z] 756a868c4378: Download complete [2020-06-19T11:38:14.872Z] c9b1b535fdd9: Pull complete [2020-06-19T11:38:14.872Z] 138eaada9080: Verifying Checksum [2020-06-19T11:38:14.872Z] 138eaada9080: Download complete [2020-06-19T11:38:14.872Z] 0622d0fa9048: Verifying Checksum [2020-06-19T11:38:14.872Z] 0622d0fa9048: Download complete [2020-06-19T11:38:15.139Z] 094b1ea09ed8: Verifying Checksum [2020-06-19T11:38:15.139Z] 094b1ea09ed8: Download complete [2020-06-19T11:38:15.139Z] 2cc5ad85d9ab: Pull complete [2020-06-19T11:38:15.400Z] 41b27a9f41bf: Verifying Checksum [2020-06-19T11:38:15.400Z] 41b27a9f41bf: Download complete [2020-06-19T11:38:16.785Z] 756a868c4378: Pull complete [2020-06-19T11:38:16.785Z] 444b2fc9a129: Pull complete [2020-06-19T11:38:16.785Z] ea15f1150254: Pull complete [2020-06-19T11:38:20.986Z] 41b27a9f41bf: Pull complete [2020-06-19T11:38:20.986Z] 28c525ee5125: Pull complete [2020-06-19T11:38:23.537Z] 094b1ea09ed8: Pull complete [2020-06-19T11:38:23.537Z] 138eaada9080: Pull complete [2020-06-19T11:38:23.537Z] 0622d0fa9048: Pull complete [2020-06-19T11:38:23.537Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-19T11:38:23.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-19T11:38:23.537Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-19T11:38:23.671Z] prd-centos7-docker-4c-2g-3707 does not seem to be running inside a container [2020-06-19T11:38:23.709Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-06-19T11:38:25.827Z] $ docker top 0c5e3467fcc7adba8157b2c50653d9f9cc413920faae572936c7082bc0ece4c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-19T11:38:26.006Z] provisioning config files... [2020-06-19T11:38:26.019Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config1596278518516362168tmp [Pipeline] { [Pipeline] echo [2020-06-19T11:38:26.044Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-19T11:38:26.331Z] ---> create-netrc.sh [Pipeline] echo [2020-06-19T11:38:26.340Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-19T11:38:26.631Z] ---> logs-deploy.sh [2020-06-19T11:38:26.631Z] + ARCHIVE_ARTIFACTS= [2020-06-19T11:38:26.631Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-19T11:38:26.631Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-19T11:38:26.631Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-19T11:38:26.631Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/28 [2020-06-19T11:38:26.631Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/28/ [2020-06-19T11:38:26.631Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/28 /w/workspace/edgexfoundry_device-sdk-c_master [2020-06-19T11:38:27.573Z] Archives upload complete. [2020-06-19T11:38:27.833Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/28 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/28/