Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4fc1725bd211937001b721308f1b583b7c7ba0fb Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.9-base, dockerFilePath:scripts/Dockerfile.alpine-3.9, 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.9 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.9-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 ‘prd-centos7-docker-4c-2g-4592’ is offline Running on prd-centos7-docker-4c-2g-5258 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 4fc1725bd211937001b721308f1b583b7c7ba0fb (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc1725bd211937001b721308f1b583b7c7ba0fb # timeout=10 Commit message: "Merge pull request #249 from iain-anderson/utils-update2" > git rev-list --no-walk 308ea4216cfaa67b77d9593b0af3f64ff64d6a52 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-21T15:05:44.875Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-21T15:05:45.082Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-21T15:05:45.145Z] ========================================================= [2020-04-21T15:05:45.145Z] EdgeX Global Pipelines Version Info [2020-04-21T15:05:45.145Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-21T15:05:47.598Z] ------------------- [2020-04-21T15:05:47.598Z] stable info: [2020-04-21T15:05:47.598Z] ------------------- [2020-04-21T15:05:47.598Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-21T15:05:47.598Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T15:05:47.598Z] Message: update stable to v1.0.73 [2020-04-21T15:05:48.166Z] ------------------- [2020-04-21T15:05:48.166Z] experimental info: [2020-04-21T15:05:48.166Z] ------------------- [2020-04-21T15:05:48.166Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-21T15:05:48.166Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T15:05:48.166Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-21T15:05:49.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T15:05:49.984Z] [2020-04-21T15:05:49.984Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-21T15:05:50.306Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T15:05:50.306Z] latest: Pulling from edgex-devops/git-semver [2020-04-21T15:05:50.306Z] 9123ac7c32f7: Pulling fs layer [2020-04-21T15:05:50.306Z] b8cc5d1170e3: Pulling fs layer [2020-04-21T15:05:50.306Z] 2924cbbf6a41: Pulling fs layer [2020-04-21T15:05:50.306Z] 93b08a4f1073: Pulling fs layer [2020-04-21T15:05:50.306Z] 93b08a4f1073: Waiting [2020-04-21T15:05:50.306Z] b8cc5d1170e3: Verifying Checksum [2020-04-21T15:05:50.306Z] b8cc5d1170e3: Download complete [2020-04-21T15:05:50.565Z] 9123ac7c32f7: Verifying Checksum [2020-04-21T15:05:50.565Z] 9123ac7c32f7: Download complete [2020-04-21T15:05:50.565Z] 93b08a4f1073: Verifying Checksum [2020-04-21T15:05:50.565Z] 93b08a4f1073: Download complete [2020-04-21T15:05:50.565Z] 2924cbbf6a41: Verifying Checksum [2020-04-21T15:05:50.565Z] 2924cbbf6a41: Download complete [2020-04-21T15:05:51.503Z] 9123ac7c32f7: Pull complete [2020-04-21T15:05:51.503Z] b8cc5d1170e3: Pull complete [2020-04-21T15:05:52.448Z] 2924cbbf6a41: Pull complete [2020-04-21T15:05:52.448Z] 93b08a4f1073: Pull complete [2020-04-21T15:05:52.448Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-21T15:05:52.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-21T15:05:52.584Z] prd-centos7-docker-4c-2g-5258 does not seem to be running inside a container [2020-04-21T15:05:52.630Z] $ 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-04-21T15:05:53.302Z] $ docker top a2f7e872b75f7778c592cbae8f18468dcd4f9cf4764f5ff4eb81f23604733617 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T15:05:53.564Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T15:05:53.564Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T15:05:53.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T15:05:53.783Z] $ docker exec a2f7e872b75f7778c592cbae8f18468dcd4f9cf4764f5ff4eb81f23604733617 ssh-agent [2020-04-21T15:05:53.966Z] SSH_AUTH_SOCK=/tmp/ssh-iBunWgWBapdC/agent.14 [2020-04-21T15:05:53.966Z] SSH_AGENT_PID=21 [2020-04-21T15:05:53.976Z] Running ssh-add (command line suppressed) [2020-04-21T15:05:54.122Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_3728450909710605441.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_3728450909710605441.key) [2020-04-21T15:05:54.170Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T15:05:54.499Z] + git describe --exact-match --tags HEAD [2020-04-21T15:05:54.499Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-21T15:05:54.636Z] $ docker exec --env ******** --env ******** a2f7e872b75f7778c592cbae8f18468dcd4f9cf4764f5ff4eb81f23604733617 ssh-agent -k [2020-04-21T15:05:54.794Z] unset SSH_AUTH_SOCK; [2020-04-21T15:05:54.795Z] unset SSH_AGENT_PID; [2020-04-21T15:05:54.795Z] echo Agent pid 21 killed; [2020-04-21T15:05:54.844Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-21T15:05:54.905Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-21T15:05:54.905Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-21T15:05:54.983Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T15:05:54.983Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T15:05:55.169Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T15:05:55.174Z] $ docker exec a2f7e872b75f7778c592cbae8f18468dcd4f9cf4764f5ff4eb81f23604733617 ssh-agent [2020-04-21T15:05:55.376Z] SSH_AUTH_SOCK=/tmp/ssh-P1iwBXuBQNvG/agent.55 [2020-04-21T15:05:55.376Z] SSH_AGENT_PID=62 [2020-04-21T15:05:55.382Z] Running ssh-add (command line suppressed) [2020-04-21T15:05:55.528Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2062475730542989970.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2062475730542989970.key) [2020-04-21T15:05:55.570Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T15:05:55.903Z] + git semver init [2020-04-21T15:05:55.903Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T15:05:55.903Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-04-21T15:05:55.903Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-04-21T15:05:55.903Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T15:05:55.903Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T15:05:55.903Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T15:05:55.903Z] # $SEMVER_BRANCH = master [2020-04-21T15:05:55.903Z] # $SEMVER_TEMP = /tmp/semver-607471099 [2020-04-21T15:05:55.903Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-04-21T15:05:56.471Z] # '/tmp/semver-607471099' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' [2020-04-21T15:05:56.471Z] # -> Force: false [2020-04-21T15:05:56.471Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-04-21T15:05:56.481Z] $ docker exec --env ******** --env ******** a2f7e872b75f7778c592cbae8f18468dcd4f9cf4764f5ff4eb81f23604733617 ssh-agent -k [2020-04-21T15:05:56.616Z] unset SSH_AUTH_SOCK; [2020-04-21T15:05:56.617Z] unset SSH_AGENT_PID; [2020-04-21T15:05:56.617Z] echo Agent pid 62 killed; [2020-04-21T15:05:56.660Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T15:05:57.064Z] + git semver [Pipeline] } [2020-04-21T15:05:57.080Z] $ docker stop --time=1 a2f7e872b75f7778c592cbae8f18468dcd4f9cf4764f5ff4eb81f23604733617 [2020-04-21T15:05:58.443Z] $ docker rm -f a2f7e872b75f7778c592cbae8f18468dcd4f9cf4764f5ff4eb81f23604733617 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-21T15:05:59.241Z] Stashed 34 file(s) [Pipeline] echo [2020-04-21T15:05:59.243Z] [edgeXSemver] initialized semver on version 1.2.0-dev.15 [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-04-21T15:06:14.462Z] Still waiting to schedule task [2020-04-21T15:06:14.463Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-21T15:06:14.464Z] Still waiting to schedule task [2020-04-21T15:06:14.464Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-21T15:08:06.530Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5259 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-04-21T15:08:06.631Z] Running in /w/workspace/device-sdk-c/15 [Pipeline] { [Pipeline] checkout [2020-04-21T15:08:12.613Z] using credential edgex-jenkins-ssh [2020-04-21T15:08:12.665Z] Cloning the remote Git repository [2020-04-21T15:08:12.665Z] Cloning with configured refspecs honoured and without tags [2020-04-21T15:08:12.740Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-04-21T15:08:12.828Z] > git init /w/workspace/device-sdk-c/15 # timeout=10 [2020-04-21T15:08:12.910Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-04-21T15:08:12.911Z] > git --version # timeout=10 [2020-04-21T15:08:12.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T15:08:14.031Z] Fetching without tags [2020-04-21T15:08:13.030Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T15:08:13.928Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-04-21T15:08:13.968Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T15:08:14.006Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-04-21T15:08:14.050Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-04-21T15:08:14.051Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T15:08:14.064Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T15:08:14.496Z] Checking out Revision 4fc1725bd211937001b721308f1b583b7c7ba0fb (master) [2020-04-21T15:08:14.522Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T15:08:14.551Z] > git checkout -f 4fc1725bd211937001b721308f1b583b7c7ba0fb # timeout=10 [2020-04-21T15:08:19.152Z] Commit message: "Merge pull request #249 from iain-anderson/utils-update2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T15:08:20.345Z] ========================================================= [2020-04-21T15:08:20.345Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-04-21T15:08:20.345Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T15:08:21.294Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-04-21T15:08:22.255Z] Sending build context to Docker daemon 2.946MB [2020-04-21T15:08:22.256Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-04-21T15:08:22.256Z] Step 2/21 : FROM ${BASE} as builder [2020-04-21T15:08:22.523Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-04-21T15:08:22.523Z] 0362ad1dd800: Pulling fs layer [2020-04-21T15:08:22.523Z] f2cdb1532d8b: Pulling fs layer [2020-04-21T15:08:22.523Z] 37ed683be191: Pulling fs layer [2020-04-21T15:08:22.523Z] f2cdb1532d8b: Verifying Checksum [2020-04-21T15:08:22.523Z] f2cdb1532d8b: Download complete [2020-04-21T15:08:22.804Z] 0362ad1dd800: Verifying Checksum [2020-04-21T15:08:22.804Z] 0362ad1dd800: Download complete [2020-04-21T15:08:23.771Z] 0362ad1dd800: Pull complete [2020-04-21T15:08:23.771Z] f2cdb1532d8b: Pull complete [2020-04-21T15:08:30.438Z] 37ed683be191: Verifying Checksum [2020-04-21T15:08:30.438Z] 37ed683be191: Download complete [2020-04-21T15:08:40.543Z] 37ed683be191: Pull complete [2020-04-21T15:08:40.543Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-04-21T15:08:40.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-04-21T15:08:40.543Z] ---> b23d30803547 [2020-04-21T15:08:40.543Z] 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-04-21T15:08:43.134Z] ---> Running in 9d9d6e751397 [2020-04-21T15:08:43.723Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-04-21T15:08:45.143Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-04-21T15:08:45.212Z] Running on prd-centos7-docker-4c-2g-5260 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-04-21T15:08:45.248Z] Running in /w/workspace/device-sdk-c/15 [Pipeline] { [Pipeline] checkout [2020-04-21T15:08:45.409Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-04-21T15:08:45.409Z] (2/8) Installing libuuid (2.33-r0) [2020-04-21T15:08:45.677Z] (3/8) Installing libblkid (2.33-r0) [2020-04-21T15:08:45.677Z] (4/8) Installing libfdisk (2.33-r0) [2020-04-21T15:08:45.947Z] (5/8) Installing libmount (2.33-r0) [2020-04-21T15:08:45.947Z] (6/8) Installing libsmartcols (2.33-r0) [2020-04-21T15:08:46.213Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-04-21T15:08:46.799Z] (8/8) Installing wget (1.20.3-r0) [2020-04-21T15:08:46.799Z] Executing busybox-1.29.3-r10.trigger [2020-04-21T15:08:46.799Z] OK: 285 MiB in 83 packages [2020-04-21T15:08:47.898Z] using credential edgex-jenkins-ssh [2020-04-21T15:08:47.942Z] Cloning the remote Git repository [2020-04-21T15:08:47.942Z] Cloning with configured refspecs honoured and without tags [2020-04-21T15:08:48.745Z] Fetching without tags [2020-04-21T15:08:48.746Z] Removing intermediate container 9d9d6e751397 [2020-04-21T15:08:48.746Z] ---> bd186db00b3e [2020-04-21T15:08:48.746Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-04-21T15:08:48.746Z] ---> Running in 07483f7d2091 [2020-04-21T15:08:47.970Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-04-21T15:08:48.014Z] > git init /w/workspace/device-sdk-c/15 # timeout=10 [2020-04-21T15:08:48.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-04-21T15:08:48.077Z] > git --version # timeout=10 [2020-04-21T15:08:48.099Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T15:08:48.133Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T15:08:48.719Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-04-21T15:08:48.726Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T15:08:48.738Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-04-21T15:08:48.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-04-21T15:08:48.750Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T15:08:48.754Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T15:08:49.179Z] Checking out Revision 4fc1725bd211937001b721308f1b583b7c7ba0fb (master) [2020-04-21T15:08:49.346Z] Removing intermediate container 07483f7d2091 [2020-04-21T15:08:49.347Z] ---> 6b4450d0e8f0 [2020-04-21T15:08:49.347Z] 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-04-21T15:08:49.347Z] ---> Running in d55aa22a70b7 [2020-04-21T15:08:49.186Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T15:08:49.194Z] > git checkout -f 4fc1725bd211937001b721308f1b583b7c7ba0fb # timeout=10 [2020-04-21T15:08:50.308Z] --2020-04-21 15:08:50-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-04-21T15:08:50.308Z] Resolving github.com... 140.82.114.4 [2020-04-21T15:08:50.308Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-04-21T15:08:50.576Z] HTTP request sent, awaiting response... 302 Found [2020-04-21T15:08:50.576Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-04-21T15:08:50.576Z] --2020-04-21 15:08:50-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-04-21T15:08:50.576Z] Resolving codeload.github.com... 140.82.113.10 [2020-04-21T15:08:50.576Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-04-21T15:08:50.576Z] HTTP request sent, awaiting response... 200 OK [2020-04-21T15:08:50.576Z] Length: unspecified [application/x-gzip] [2020-04-21T15:08:50.576Z] Saving to: 'STDOUT' [2020-04-21T15:08:50.576Z]  [2020-04-21T15:08:50.576Z] 0K .......... .......... .......... .......... .......... 1.35M [2020-04-21T15:08:50.576Z] 50K .......... .......... .......... .......... .......... 2.74M [2020-04-21T15:08:50.576Z] 100K .......... .......... .......... .......... .......... 9.89M [2020-04-21T15:08:50.576Z] 150K .......... .......... .......... .......... .......... 9.45M [2020-04-21T15:08:50.847Z] 200K .......... .......... .......... .......... .......... 2.92M [2020-04-21T15:08:50.847Z] 250K .......... .......... .......... .......... .......... 8.37M [2020-04-21T15:08:50.847Z] 300K .......... .......... .......... .......... .......... 4.60M [2020-04-21T15:08:50.847Z] 350K .......... .......... .......... .......... .......... 6.98M [2020-04-21T15:08:50.847Z] 400K .......... .......... .......... .......... .......... 5.51M [2020-04-21T15:08:50.847Z] 450K .......... .......... .......... .......... .......... 5.32M [2020-04-21T15:08:50.847Z] 500K .......... .......... .......... .......... .......... 4.84M [2020-04-21T15:08:50.847Z] 550K .......... .......... .......... .......... .......... 4.96M [2020-04-21T15:08:50.847Z] 600K .......... .......... .......... .......... .......... 753K [2020-04-21T15:08:50.847Z] 650K .......... .......... .......... .......... .......... 2.23M [2020-04-21T15:08:50.847Z] 700K .. 9.24M=0.2s [2020-04-21T15:08:50.847Z] [2020-04-21T15:08:50.847Z] 2020-04-21 15:08:50 (2.97 MB/s) - written to stdout [719348] [2020-04-21T15:08:50.847Z] [2020-04-21T15:08:51.115Z] -- The C compiler identification is GNU 8.3.0 [2020-04-21T15:08:51.382Z] -- The CXX compiler identification is GNU 8.3.0 [2020-04-21T15:08:51.382Z] -- Check for working C compiler: /usr/bin/cc [2020-04-21T15:08:51.650Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-21T15:08:51.650Z] -- Detecting C compiler ABI info [2020-04-21T15:08:51.918Z] -- Detecting C compiler ABI info - done [2020-04-21T15:08:51.918Z] -- Detecting C compile features [2020-04-21T15:08:52.882Z] -- Detecting C compile features - done [2020-04-21T15:08:52.882Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-04-21T15:08:52.882Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-04-21T15:08:52.882Z] -- Detecting CXX compiler ABI info [2020-04-21T15:08:53.074Z] Commit message: "Merge pull request #249 from iain-anderson/utils-update2" [2020-04-21T15:08:53.151Z] -- Detecting CXX compiler ABI info - done [2020-04-21T15:08:53.151Z] -- Detecting CXX compile features [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T15:08:53.896Z] ========================================================= [2020-04-21T15:08:53.896Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-04-21T15:08:53.896Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T15:08:54.578Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-04-21T15:08:54.840Z] Sending build context to Docker daemon 2.946MB [2020-04-21T15:08:54.840Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-04-21T15:08:54.840Z] Step 2/21 : FROM ${BASE} as builder [2020-04-21T15:08:55.101Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-04-21T15:08:55.101Z] e7c96db7181b: Pulling fs layer [2020-04-21T15:08:55.101Z] 4c13bbce0fe7: Pulling fs layer [2020-04-21T15:08:55.101Z] 6059c847ac2f: Pulling fs layer [2020-04-21T15:08:55.101Z] 4c13bbce0fe7: Verifying Checksum [2020-04-21T15:08:55.101Z] 4c13bbce0fe7: Download complete [2020-04-21T15:08:55.101Z] e7c96db7181b: Verifying Checksum [2020-04-21T15:08:55.101Z] e7c96db7181b: Download complete [2020-04-21T15:08:55.103Z] -- Detecting CXX compile features - done [2020-04-21T15:08:55.103Z] -- Looking for include file endian.h [2020-04-21T15:08:55.103Z] -- Looking for include file endian.h - found [2020-04-21T15:08:55.103Z] -- Check if the system is big endian [2020-04-21T15:08:55.103Z] -- Searching 16 bit integer [2020-04-21T15:08:55.103Z] -- Looking for sys/types.h [2020-04-21T15:08:55.365Z] e7c96db7181b: Pull complete [2020-04-21T15:08:55.365Z] 4c13bbce0fe7: Pull complete [2020-04-21T15:08:55.370Z] -- Looking for sys/types.h - found [2020-04-21T15:08:55.370Z] -- Looking for stdint.h [2020-04-21T15:08:55.370Z] -- Looking for stdint.h - found [2020-04-21T15:08:55.370Z] -- Looking for stddef.h [2020-04-21T15:08:55.638Z] -- Looking for stddef.h - found [2020-04-21T15:08:55.638Z] -- Check size of unsigned short [2020-04-21T15:08:55.907Z] -- Check size of unsigned short - done [2020-04-21T15:08:55.907Z] -- Using unsigned short [2020-04-21T15:08:56.175Z] -- Check if the system is big endian - little endian [2020-04-21T15:08:56.175Z] -- Check size of size_t [2020-04-21T15:08:56.444Z] -- Check size of size_t - done [2020-04-21T15:08:56.717Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-04-21T15:08:56.717Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-04-21T15:08:56.717Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-04-21T15:08:56.717Z] CMake did not find one. [2020-04-21T15:08:56.717Z] [2020-04-21T15:08:56.717Z] Could not find a package configuration file provided by "cJSON" with any of [2020-04-21T15:08:56.717Z] the following names: [2020-04-21T15:08:56.717Z] [2020-04-21T15:08:56.717Z] cJSONConfig.cmake [2020-04-21T15:08:56.717Z] cjson-config.cmake [2020-04-21T15:08:56.717Z] [2020-04-21T15:08:56.717Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-04-21T15:08:56.717Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-04-21T15:08:56.717Z] provides a separate development package or SDK, be sure it has been [2020-04-21T15:08:56.717Z] installed. [2020-04-21T15:08:56.717Z] [2020-04-21T15:08:56.717Z] [2020-04-21T15:08:56.717Z] -- Configuring done [2020-04-21T15:08:56.717Z] -- Generating done [2020-04-21T15:08:56.717Z] -- Build files have been written to: /tmp/cbor [2020-04-21T15:08:56.748Z] 6059c847ac2f: Verifying Checksum [2020-04-21T15:08:56.748Z] 6059c847ac2f: Download complete [2020-04-21T15:08:56.984Z] Scanning dependencies of target cbor_shared [2020-04-21T15:08:56.984Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-04-21T15:08:57.946Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-04-21T15:08:58.212Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-04-21T15:08:58.480Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-04-21T15:08:59.072Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-04-21T15:08:59.341Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-04-21T15:08:59.609Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-04-21T15:08:59.609Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-04-21T15:08:59.876Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-04-21T15:09:00.144Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-04-21T15:09:00.730Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-04-21T15:09:00.996Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-04-21T15:09:01.586Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-04-21T15:09:01.854Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-04-21T15:09:02.038Z] 6059c847ac2f: Pull complete [2020-04-21T15:09:02.038Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-04-21T15:09:02.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-04-21T15:09:02.038Z] ---> 5eabd8fd8ba2 [2020-04-21T15:09:02.038Z] 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-04-21T15:09:02.038Z] ---> Running in 9a8fd04eb073 [2020-04-21T15:09:02.122Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-04-21T15:09:02.122Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-04-21T15:09:02.298Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-04-21T15:09:02.709Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-04-21T15:09:02.709Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-04-21T15:09:02.977Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-04-21T15:09:03.235Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-04-21T15:09:03.244Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-04-21T15:09:03.494Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-04-21T15:09:03.511Z] [ 40%] Linking C shared library libcbor.so [2020-04-21T15:09:03.511Z] [ 40%] Built target cbor_shared [2020-04-21T15:09:03.511Z] Scanning dependencies of target cbor [2020-04-21T15:09:03.753Z] (2/8) Installing libuuid (2.33-r0) [2020-04-21T15:09:03.753Z] (3/8) Installing libblkid (2.33-r0) [2020-04-21T15:09:03.753Z] (4/8) Installing libfdisk (2.33-r0) [2020-04-21T15:09:03.790Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-04-21T15:09:04.012Z] (5/8) Installing libmount (2.33-r0) [2020-04-21T15:09:04.012Z] (6/8) Installing libsmartcols (2.33-r0) [2020-04-21T15:09:04.275Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-04-21T15:09:04.374Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-04-21T15:09:04.534Z] (8/8) Installing wget (1.20.3-r0) [2020-04-21T15:09:04.811Z] Executing busybox-1.29.3-r10.trigger [2020-04-21T15:09:04.811Z] OK: 272 MiB in 83 packages [2020-04-21T15:09:04.957Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-04-21T15:09:05.224Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-04-21T15:09:05.391Z] Removing intermediate container 9a8fd04eb073 [2020-04-21T15:09:05.391Z] ---> 117c6061b171 [2020-04-21T15:09:05.391Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-04-21T15:09:05.391Z] ---> Running in c9b99fd322f9 [2020-04-21T15:09:05.391Z] Removing intermediate container c9b99fd322f9 [2020-04-21T15:09:05.391Z] ---> 2a71b52cca88 [2020-04-21T15:09:05.391Z] 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-04-21T15:09:05.650Z] ---> Running in 05ff1f0ec2ca [2020-04-21T15:09:05.909Z] --2020-04-21 15:09:05-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-04-21T15:09:05.909Z] Resolving github.com... 140.82.114.4 [2020-04-21T15:09:05.909Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-04-21T15:09:05.909Z] HTTP request sent, awaiting response... 302 Found [2020-04-21T15:09:05.909Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-04-21T15:09:05.909Z] --2020-04-21 15:09:05-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-04-21T15:09:05.909Z] Resolving codeload.github.com... 140.82.113.9 [2020-04-21T15:09:05.909Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2020-04-21T15:09:06.168Z] HTTP request sent, awaiting response... 200 OK [2020-04-21T15:09:06.168Z] Length: unspecified [application/x-gzip] [2020-04-21T15:09:06.168Z] Saving to: 'STDOUT' [2020-04-21T15:09:06.168Z] [2020-04-21T15:09:06.168Z] 0K .......... .......... .......... .......... .......... 1.66M [2020-04-21T15:09:06.168Z] 50K .......... .......... .......... .......... .......... 3.31M [2020-04-21T15:09:06.168Z] 100K .......... .......... .......... .......... .......... 26.2M [2020-04-21T15:09:06.168Z] 150K .......... .......... .......... .......... .......... 31.3M [2020-04-21T15:09:06.168Z] 200K .......... .......... .......... .......... .......... 3.89M [2020-04-21T15:09:06.168Z] 250K .......... .......... .......... .......... .......... 8.73M [2020-04-21T15:09:06.168Z] 300K .......... .......... .......... .......... .......... 5.61M [2020-04-21T15:09:06.168Z] 350K .......... .......... .......... .......... .......... 13.6M [2020-04-21T15:09:06.168Z] 400K .......... .......... .......... .......... .......... 5.32M [2020-04-21T15:09:06.168Z] 450K .......... .......... .......... .......... .......... 5.32M [2020-04-21T15:09:06.168Z] 500K .......... .......... .......... .......... .......... 50.0M [2020-04-21T15:09:06.168Z] 550K .......... .......... .......... .......... .......... 6.13M [2020-04-21T15:09:06.168Z] 600K .......... .......... .......... .......... .......... 2.06M [2020-04-21T15:09:06.168Z] 650K .......... .......... .......... .......... .......... 7.09M [2020-04-21T15:09:06.168Z] 700K .. 607K=0.1s [2020-04-21T15:09:06.168Z] [2020-04-21T15:09:06.168Z] 2020-04-21 15:09:06 (4.90 MB/s) - written to stdout [719348] [2020-04-21T15:09:06.168Z] [2020-04-21T15:09:06.186Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-04-21T15:09:06.427Z] -- The C compiler identification is GNU 8.3.0 [2020-04-21T15:09:06.427Z] -- The CXX compiler identification is GNU 8.3.0 [2020-04-21T15:09:06.427Z] -- Check for working C compiler: /usr/bin/cc [2020-04-21T15:09:06.452Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-04-21T15:09:06.687Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-21T15:09:06.687Z] -- Detecting C compiler ABI info [2020-04-21T15:09:06.687Z] -- Detecting C compiler ABI info - done [2020-04-21T15:09:06.687Z] -- Detecting C compile features [2020-04-21T15:09:06.720Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-04-21T15:09:06.947Z] -- Detecting C compile features - done [2020-04-21T15:09:06.947Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-04-21T15:09:06.947Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-04-21T15:09:06.947Z] -- Detecting CXX compiler ABI info [2020-04-21T15:09:06.988Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-04-21T15:09:07.205Z] -- Detecting CXX compiler ABI info - done [2020-04-21T15:09:07.205Z] -- Detecting CXX compile features [2020-04-21T15:09:07.254Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-04-21T15:09:07.522Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-04-21T15:09:07.777Z] -- Detecting CXX compile features - done [2020-04-21T15:09:07.777Z] -- Looking for include file endian.h [2020-04-21T15:09:07.777Z] -- Looking for include file endian.h - found [2020-04-21T15:09:07.777Z] -- Check if the system is big endian [2020-04-21T15:09:07.777Z] -- Searching 16 bit integer [2020-04-21T15:09:07.777Z] -- Looking for sys/types.h [2020-04-21T15:09:07.777Z] -- Looking for sys/types.h - found [2020-04-21T15:09:07.777Z] -- Looking for stdint.h [2020-04-21T15:09:08.037Z] -- Looking for stdint.h - found [2020-04-21T15:09:08.037Z] -- Looking for stddef.h [2020-04-21T15:09:08.037Z] -- Looking for stddef.h - found [2020-04-21T15:09:08.037Z] -- Check size of unsigned short [2020-04-21T15:09:08.037Z] -- Check size of unsigned short - done [2020-04-21T15:09:08.037Z] -- Using unsigned short [2020-04-21T15:09:08.105Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-04-21T15:09:08.297Z] -- Check if the system is big endian - little endian [2020-04-21T15:09:08.297Z] -- Check size of size_t [2020-04-21T15:09:08.297Z] -- Check size of size_t - done [2020-04-21T15:09:08.297Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-04-21T15:09:08.297Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-04-21T15:09:08.297Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-04-21T15:09:08.297Z] CMake did not find one. [2020-04-21T15:09:08.297Z] [2020-04-21T15:09:08.297Z] Could not find a package configuration file provided by "cJSON" with any of [2020-04-21T15:09:08.297Z] the following names: [2020-04-21T15:09:08.297Z] [2020-04-21T15:09:08.297Z] cJSONConfig.cmake [2020-04-21T15:09:08.297Z] cjson-config.cmake [2020-04-21T15:09:08.297Z] [2020-04-21T15:09:08.297Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-04-21T15:09:08.297Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-04-21T15:09:08.297Z] provides a separate development package or SDK, be sure it has been [2020-04-21T15:09:08.297Z] installed. [2020-04-21T15:09:08.297Z] [2020-04-21T15:09:08.297Z] [2020-04-21T15:09:08.297Z] -- Configuring done [2020-04-21T15:09:08.297Z] -- Generating done [2020-04-21T15:09:08.372Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-04-21T15:09:08.556Z] -- Build files have been written to: /tmp/cbor [2020-04-21T15:09:08.556Z] Scanning dependencies of target cbor_shared [2020-04-21T15:09:08.556Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-04-21T15:09:08.556Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-04-21T15:09:08.819Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-04-21T15:09:08.819Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-04-21T15:09:08.956Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-04-21T15:09:09.078Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-04-21T15:09:09.078Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-04-21T15:09:09.078Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-04-21T15:09:09.223Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-04-21T15:09:09.368Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-04-21T15:09:09.368Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-04-21T15:09:09.368Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-04-21T15:09:09.497Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-04-21T15:09:09.639Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-04-21T15:09:09.639Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-04-21T15:09:09.639Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-04-21T15:09:09.764Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-04-21T15:09:09.899Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-04-21T15:09:09.899Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-04-21T15:09:09.900Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-04-21T15:09:10.031Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-04-21T15:09:10.159Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-04-21T15:09:10.159Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-04-21T15:09:10.159Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-04-21T15:09:10.299Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-04-21T15:09:10.420Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-04-21T15:09:10.420Z] [ 40%] Linking C shared library libcbor.so [2020-04-21T15:09:10.420Z] [ 40%] Built target cbor_shared [2020-04-21T15:09:10.420Z] Scanning dependencies of target cbor [2020-04-21T15:09:10.567Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-04-21T15:09:10.835Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-04-21T15:09:10.835Z] [ 80%] Linking C static library libcbor.a [2020-04-21T15:09:10.988Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-04-21T15:09:10.988Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-04-21T15:09:11.103Z] [ 80%] Built target cbor [2020-04-21T15:09:11.103Z] Scanning dependencies of target create_items [2020-04-21T15:09:11.103Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-04-21T15:09:11.248Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-04-21T15:09:11.249Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-04-21T15:09:11.371Z] [ 84%] Linking C executable create_items [2020-04-21T15:09:11.372Z] [ 84%] Built target create_items [2020-04-21T15:09:11.372Z] Scanning dependencies of target readfile [2020-04-21T15:09:11.372Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-04-21T15:09:11.508Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-04-21T15:09:11.638Z] [ 88%] Linking C executable readfile [2020-04-21T15:09:11.638Z] [ 88%] Built target readfile [2020-04-21T15:09:11.638Z] Scanning dependencies of target streaming_parser [2020-04-21T15:09:11.638Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-04-21T15:09:11.767Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-04-21T15:09:11.767Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-04-21T15:09:11.767Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-04-21T15:09:11.767Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-04-21T15:09:11.905Z] [ 92%] Linking C executable streaming_parser [2020-04-21T15:09:12.030Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-04-21T15:09:12.030Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-04-21T15:09:12.172Z] [ 92%] Built target streaming_parser [2020-04-21T15:09:12.172Z] Scanning dependencies of target sort [2020-04-21T15:09:12.172Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-04-21T15:09:12.172Z] [ 96%] Linking C executable sort [2020-04-21T15:09:12.290Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-04-21T15:09:12.290Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-04-21T15:09:12.439Z] [ 96%] Built target sort [2020-04-21T15:09:12.439Z] Scanning dependencies of target hello [2020-04-21T15:09:12.439Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-04-21T15:09:12.555Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-04-21T15:09:12.555Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-04-21T15:09:12.555Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-04-21T15:09:12.708Z] [100%] Linking C executable hello [2020-04-21T15:09:12.708Z] [100%] Built target hello [2020-04-21T15:09:12.708Z] Install the project... [2020-04-21T15:09:12.708Z] -- Install configuration: "Release" [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/lib64/libcbor.a [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/lib64/libcbor.so [2020-04-21T15:09:12.708Z] -- Up-to-date: /usr/local/include/cbor [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/common.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/maps.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/strings.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/internal [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/data.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/tags.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/ints.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/include/cbor.h [2020-04-21T15:09:12.708Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-04-21T15:09:12.817Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-04-21T15:09:12.817Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-04-21T15:09:12.817Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-04-21T15:09:12.817Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-04-21T15:09:13.077Z] [ 80%] Linking C static library libcbor.a [2020-04-21T15:09:13.077Z] [ 80%] Built target cbor [2020-04-21T15:09:13.077Z] Scanning dependencies of target create_items [2020-04-21T15:09:13.077Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-04-21T15:09:13.077Z] [ 84%] Linking C executable create_items [2020-04-21T15:09:13.077Z] [ 84%] Built target create_items [2020-04-21T15:09:13.077Z] Scanning dependencies of target readfile [2020-04-21T15:09:13.077Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-04-21T15:09:13.077Z] [ 88%] Linking C executable readfile [2020-04-21T15:09:13.338Z] [ 88%] Built target readfile [2020-04-21T15:09:13.338Z] Scanning dependencies of target streaming_parser [2020-04-21T15:09:13.338Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-04-21T15:09:13.338Z] [ 92%] Linking C executable streaming_parser [2020-04-21T15:09:13.338Z] [ 92%] Built target streaming_parser [2020-04-21T15:09:13.338Z] Scanning dependencies of target sort [2020-04-21T15:09:13.338Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-04-21T15:09:13.338Z] [ 96%] Linking C executable sort [2020-04-21T15:09:13.338Z] [ 96%] Built target sort [2020-04-21T15:09:13.599Z] Scanning dependencies of target hello [2020-04-21T15:09:13.599Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-04-21T15:09:13.599Z] [100%] Linking C executable hello [2020-04-21T15:09:13.599Z] [100%] Built target hello [2020-04-21T15:09:13.599Z] Install the project... [2020-04-21T15:09:13.599Z] -- Install configuration: "Release" [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/lib64/libcbor.a [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/lib64/libcbor.so [2020-04-21T15:09:13.599Z] -- Up-to-date: /usr/local/include/cbor [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/common.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/data.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/internal [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/ints.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/maps.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/strings.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor/tags.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/include/cbor.h [2020-04-21T15:09:13.599Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-04-21T15:09:14.542Z] Removing intermediate container 05ff1f0ec2ca [2020-04-21T15:09:14.542Z] ---> 595a8aa9bf97 [2020-04-21T15:09:14.542Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-04-21T15:09:14.542Z] ---> Running in 5ab5f1780116 [2020-04-21T15:09:15.113Z] Removing intermediate container 5ab5f1780116 [2020-04-21T15:09:15.113Z] ---> 679dc234c52c [2020-04-21T15:09:15.113Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-04-21T15:09:15.302Z] Removing intermediate container d55aa22a70b7 [2020-04-21T15:09:15.302Z] ---> a15e22eab86b [2020-04-21T15:09:15.302Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-04-21T15:09:15.302Z] ---> Running in be6c482bb6d8 [2020-04-21T15:09:15.374Z] ---> 5cb181306fb0 [2020-04-21T15:09:15.374Z] Step 8/21 : COPY src /tmp/sdk/src [2020-04-21T15:09:15.944Z] ---> adf6999bf464 [2020-04-21T15:09:15.944Z] Step 9/21 : COPY include /tmp/sdk/include [2020-04-21T15:09:15.944Z] ---> 78e8e9aefab3 [2020-04-21T15:09:15.944Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-04-21T15:09:16.205Z] ---> ee16511bfa9e [2020-04-21T15:09:16.205Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-04-21T15:09:16.467Z] ---> 6ce365143363 [2020-04-21T15:09:16.467Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-04-21T15:09:16.467Z] ---> e3980c6d6895 [2020-04-21T15:09:16.467Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-04-21T15:09:16.726Z] ---> Running in 16f25e83225e [2020-04-21T15:09:16.986Z] + CPPCHECK=false [2020-04-21T15:09:16.986Z] + DOCGEN=false [2020-04-21T15:09:16.986Z] + TOMLVER=SDK-0.2 [2020-04-21T15:09:16.986Z] + CUTILVER=1.0.4 [2020-04-21T15:09:16.986Z] + '[' 0 -gt 0 ] [2020-04-21T15:09:16.986Z] + readlink -f ./scripts/build.sh [2020-04-21T15:09:16.986Z] + dirname /tmp/sdk/scripts/build.sh [2020-04-21T15:09:16.986Z] + dirname /tmp/sdk/scripts [2020-04-21T15:09:16.986Z] + ROOT=/tmp/sdk [2020-04-21T15:09:16.986Z] + cd /tmp/sdk [2020-04-21T15:09:16.986Z] + '[' '!' -d deps ] [2020-04-21T15:09:16.986Z] + mkdir deps [2020-04-21T15:09:16.986Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-04-21T15:09:16.986Z] + tar -C deps -z -x -f - [2020-04-21T15:09:16.986Z] --2020-04-21 15:09:16-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-04-21T15:09:16.986Z] Resolving github.com... 140.82.114.4 [2020-04-21T15:09:16.986Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-04-21T15:09:16.986Z] HTTP request sent, awaiting response... 302 Found [2020-04-21T15:09:16.986Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-04-21T15:09:16.986Z] --2020-04-21 15:09:16-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-04-21T15:09:16.986Z] Resolving codeload.github.com... 140.82.113.9 [2020-04-21T15:09:17.245Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2020-04-21T15:09:17.245Z] HTTP request sent, awaiting response... 200 OK [2020-04-21T15:09:17.245Z] Length: unspecified [application/x-gzip] [2020-04-21T15:09:17.245Z] Saving to: 'STDOUT' [2020-04-21T15:09:17.245Z]  [2020-04-21T15:09:17.245Z] 0K .......... ......  1.06M=0.01s [2020-04-21T15:09:17.245Z] [2020-04-21T15:09:17.245Z] 2020-04-21 15:09:17 (1.06 MB/s) - written to stdout [16451] [2020-04-21T15:09:17.245Z] [2020-04-21T15:09:17.245Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-04-21T15:09:17.245Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-04-21T15:09:17.245Z] + tar -C deps -z -x -f - [2020-04-21T15:09:17.245Z] --2020-04-21 15:09:17-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-04-21T15:09:17.245Z] Resolving github.com... 140.82.114.4 [2020-04-21T15:09:17.245Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-04-21T15:09:17.249Z] Removing intermediate container be6c482bb6d8 [2020-04-21T15:09:17.249Z] ---> da1675a21fe6 [2020-04-21T15:09:17.249Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-04-21T15:09:17.505Z] HTTP request sent, awaiting response... 302 Found [2020-04-21T15:09:17.505Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-04-21T15:09:17.505Z] --2020-04-21 15:09:17-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-04-21T15:09:17.505Z] Resolving codeload.github.com... 140.82.113.9 [2020-04-21T15:09:17.505Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2020-04-21T15:09:17.505Z] HTTP request sent, awaiting response... 200 OK [2020-04-21T15:09:17.505Z] Length: unspecified [application/x-gzip] [2020-04-21T15:09:17.505Z] Saving to: 'STDOUT' [2020-04-21T15:09:17.505Z]  [2020-04-21T15:09:17.517Z] ---> d703a516e26c [2020-04-21T15:09:17.517Z] Step 8/21 : COPY src /tmp/sdk/src [2020-04-21T15:09:17.766Z] 0K .......... .......... .......... .......... .......... 1.61M [2020-04-21T15:09:17.766Z] 50K .......... .......... .......... .......... .......... 3.19M [2020-04-21T15:09:17.766Z] 100K .......... .......... .......... .......... .......... 32.7M [2020-04-21T15:09:17.766Z] 150K ........ 44.3M=0.05s [2020-04-21T15:09:17.766Z] [2020-04-21T15:09:17.766Z] 2020-04-21 15:09:17 (3.27 MB/s) - written to stdout [162267] [2020-04-21T15:09:17.766Z] [2020-04-21T15:09:17.766Z] + mkdir -p src/c/iot [2020-04-21T15:09:17.766Z] + 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-04-21T15:09:17.766Z] + mkdir -p include/iot [2020-04-21T15:09:17.766Z] + 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-04-21T15:09:17.766Z] + mkdir -p include/iot/os [2020-04-21T15:09:17.766Z] + 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-04-21T15:09:17.766Z] + mkdir -p /tmp/sdk/build/release [2020-04-21T15:09:17.766Z] + cd /tmp/sdk/build/release [2020-04-21T15:09:17.766Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-04-21T15:09:17.766Z] -- The C compiler identification is GNU 8.3.0 [2020-04-21T15:09:17.766Z] -- Check for working C compiler: /usr/bin/cc [2020-04-21T15:09:17.766Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-21T15:09:18.027Z] -- Detecting C compiler ABI info [2020-04-21T15:09:18.027Z] -- Detecting C compiler ABI info - done [2020-04-21T15:09:18.027Z] -- Detecting C compile features [2020-04-21T15:09:18.101Z] ---> 693e6b9549fe [2020-04-21T15:09:18.101Z] Step 9/21 : COPY include /tmp/sdk/include [2020-04-21T15:09:18.287Z] -- Detecting C compile features - done [2020-04-21T15:09:18.287Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-04-21T15:09:18.287Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-04-21T15:09:18.287Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-04-21T15:09:18.287Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-04-21T15:09:18.287Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-04-21T15:09:18.287Z] -- C SDK 1.2.0-dev.15 for Linux [2020-04-21T15:09:18.287Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-04-21T15:09:18.287Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-04-21T15:09:18.287Z] -- Found Curses: /usr/lib/libcurses.so [2020-04-21T15:09:18.287Z] -- Configuring done [2020-04-21T15:09:18.547Z] -- Generating done [2020-04-21T15:09:18.547Z] -- Build files have been written to: /tmp/sdk/build/release [2020-04-21T15:09:18.547Z] + make [2020-04-21T15:09:18.547Z] + tee release.log [2020-04-21T15:09:18.547Z] Scanning dependencies of target csdk [2020-04-21T15:09:18.547Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-04-21T15:09:18.808Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-04-21T15:09:18.808Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-04-21T15:09:19.063Z] ---> cbceb727b684 [2020-04-21T15:09:19.063Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-04-21T15:09:19.331Z] ---> cad13c242ef5 [2020-04-21T15:09:19.331Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-04-21T15:09:19.382Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-04-21T15:09:19.382Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-04-21T15:09:19.382Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-04-21T15:09:19.645Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-04-21T15:09:19.915Z] ---> c415183efc66 [2020-04-21T15:09:19.915Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-04-21T15:09:20.214Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-04-21T15:09:20.214Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-04-21T15:09:20.474Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-04-21T15:09:20.498Z] ---> d600858c4a43 [2020-04-21T15:09:20.498Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-04-21T15:09:20.498Z] ---> Running in 2f58fd51b0a4 [2020-04-21T15:09:20.734Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-04-21T15:09:20.734Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-04-21T15:09:20.734Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-04-21T15:09:20.993Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-04-21T15:09:21.459Z] + CPPCHECK=false [2020-04-21T15:09:21.459Z] + DOCGEN=false [2020-04-21T15:09:21.459Z] + TOMLVER=SDK-0.2 [2020-04-21T15:09:21.459Z] + CUTILVER=1.0.4 [2020-04-21T15:09:21.459Z] + '[' 0 -gt 0 ] [2020-04-21T15:09:21.459Z] + readlink -f ./scripts/build.sh [2020-04-21T15:09:21.459Z] + dirname /tmp/sdk/scripts/build.sh [2020-04-21T15:09:21.459Z] + dirname /tmp/sdk/scripts [2020-04-21T15:09:21.459Z] + ROOT=/tmp/sdk [2020-04-21T15:09:21.459Z] + cd /tmp/sdk [2020-04-21T15:09:21.459Z] + '[' '!' -d deps ] [2020-04-21T15:09:21.459Z] + mkdir deps [2020-04-21T15:09:21.459Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-04-21T15:09:21.459Z] + tar -C deps -z -x -f - [2020-04-21T15:09:21.459Z] --2020-04-21 15:09:21-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-04-21T15:09:21.459Z] Resolving github.com... 140.82.112.3 [2020-04-21T15:09:21.459Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-04-21T15:09:21.725Z] HTTP request sent, awaiting response... 302 Found [2020-04-21T15:09:21.725Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-04-21T15:09:21.725Z] --2020-04-21 15:09:21-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-04-21T15:09:21.725Z] Resolving codeload.github.com... 140.82.113.10 [2020-04-21T15:09:21.725Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-04-21T15:09:21.725Z] HTTP request sent, awaiting response... 200 OK [2020-04-21T15:09:21.725Z] Length: unspecified [application/x-gzip] [2020-04-21T15:09:21.725Z] Saving to: 'STDOUT' [2020-04-21T15:09:21.725Z] [2020-04-21T15:09:21.725Z] 0K .......... ...... 1.06M=0.01s [2020-04-21T15:09:21.725Z] [2020-04-21T15:09:21.725Z] 2020-04-21 15:09:21 (1.06 MB/s) - written to stdout [16451] [2020-04-21T15:09:21.725Z] [2020-04-21T15:09:21.725Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-04-21T15:09:21.725Z] + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz -z [2020-04-21T15:09:21.725Z] -x -f - [2020-04-21T15:09:21.725Z] --2020-04-21 15:09:21-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-04-21T15:09:21.725Z] Resolving github.com... 140.82.114.3 [2020-04-21T15:09:21.931Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-04-21T15:09:21.932Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-04-21T15:09:21.932Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-04-21T15:09:21.991Z] Connecting to github.com|140.82.114.3|:443... connected. [2020-04-21T15:09:21.991Z] HTTP request sent, awaiting response... 302 Found [2020-04-21T15:09:21.991Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-04-21T15:09:21.991Z] --2020-04-21 15:09:21-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-04-21T15:09:21.991Z] Resolving codeload.github.com... 140.82.113.10 [2020-04-21T15:09:21.991Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-04-21T15:09:21.991Z] HTTP request sent, awaiting response... 200 OK [2020-04-21T15:09:21.991Z] Length: unspecified [application/x-gzip] [2020-04-21T15:09:21.991Z] Saving to: 'STDOUT' [2020-04-21T15:09:21.991Z]  [2020-04-21T15:09:21.991Z] 0K .......... .......... .......... .......... .......... 1.30M [2020-04-21T15:09:21.991Z] 50K .......... .......... .......... .......... .......... 3.09M [2020-04-21T15:09:21.991Z] 100K .......... .......... .......... .......... .......... 9.39M [2020-04-21T15:09:21.991Z] 150K ........ 5.02M=0.06s [2020-04-21T15:09:21.992Z] [2020-04-21T15:09:21.992Z] 2020-04-21 15:09:21 (2.57 MB/s) - written to stdout [162267] [2020-04-21T15:09:21.992Z] [2020-04-21T15:09:21.992Z] + mkdir -p src/c/iot [2020-04-21T15:09:21.992Z] + 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-04-21T15:09:21.992Z] + mkdir -p include/iot [2020-04-21T15:09:22.191Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-04-21T15:09:22.260Z] + 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-04-21T15:09:22.260Z] + mkdir -p include/iot/os [2020-04-21T15:09:22.260Z] + 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-04-21T15:09:22.260Z] + mkdir -p /tmp/sdk/build/release [2020-04-21T15:09:22.260Z] + cd /tmp/sdk/build/release [2020-04-21T15:09:22.260Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-04-21T15:09:22.528Z] -- The C compiler identification is GNU 8.3.0 [2020-04-21T15:09:22.528Z] -- Check for working C compiler: /usr/bin/cc [2020-04-21T15:09:22.760Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-04-21T15:09:22.760Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-04-21T15:09:22.797Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-21T15:09:22.797Z] -- Detecting C compiler ABI info [2020-04-21T15:09:23.020Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-04-21T15:09:23.020Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-04-21T15:09:23.065Z] -- Detecting C compiler ABI info - done [2020-04-21T15:09:23.065Z] -- Detecting C compile features [2020-04-21T15:09:23.281Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-04-21T15:09:23.281Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-04-21T15:09:23.543Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-04-21T15:09:23.543Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-04-21T15:09:23.656Z] -- Detecting C compile features - done [2020-04-21T15:09:23.656Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-04-21T15:09:23.656Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-04-21T15:09:23.656Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-04-21T15:09:23.656Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-04-21T15:09:23.656Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-04-21T15:09:23.656Z] -- C SDK 1.2.0-dev.15 for Linux [2020-04-21T15:09:23.803Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-04-21T15:09:23.803Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-04-21T15:09:23.925Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-04-21T15:09:23.925Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-04-21T15:09:23.925Z] -- Found Curses: /usr/lib/libcurses.so [2020-04-21T15:09:24.062Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-04-21T15:09:24.197Z] -- Configuring done [2020-04-21T15:09:24.320Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-04-21T15:09:24.320Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-04-21T15:09:24.464Z] -- Generating done [2020-04-21T15:09:24.464Z] -- Build files have been written to: /tmp/sdk/build/release [2020-04-21T15:09:24.464Z] + + maketee [2020-04-21T15:09:24.464Z] release.log [2020-04-21T15:09:24.464Z] Scanning dependencies of target csdk [2020-04-21T15:09:24.738Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-04-21T15:09:25.271Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-04-21T15:09:25.323Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-04-21T15:09:25.530Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-04-21T15:09:25.592Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-04-21T15:09:25.789Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-04-21T15:09:25.789Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-04-21T15:09:26.360Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-21T15:09:26.634Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-04-21T15:09:27.538Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-04-21T15:09:27.579Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-04-21T15:09:27.839Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-04-21T15:09:28.101Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-04-21T15:09:28.101Z] [ 65%] Linking C shared library libcsdk.so [2020-04-21T15:09:28.122Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-04-21T15:09:28.122Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-04-21T15:09:28.362Z] [ 65%] Built target csdk [2020-04-21T15:09:28.362Z] Scanning dependencies of target template [2020-04-21T15:09:28.362Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-04-21T15:09:28.362Z] [ 68%] Linking C executable template [2020-04-21T15:09:28.621Z] [ 68%] Built target template [2020-04-21T15:09:28.621Z] Scanning dependencies of target device-counter [2020-04-21T15:09:28.621Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-04-21T15:09:28.621Z] [ 71%] Linking C executable device-counter [2020-04-21T15:09:28.621Z] [ 71%] Built target device-counter [2020-04-21T15:09:28.621Z] Scanning dependencies of target device-random [2020-04-21T15:09:28.881Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-04-21T15:09:28.881Z] [ 74%] Linking C executable device-random [2020-04-21T15:09:28.881Z] [ 74%] Built target device-random [2020-04-21T15:09:28.881Z] Scanning dependencies of target device-gyro [2020-04-21T15:09:28.881Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-04-21T15:09:29.079Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-04-21T15:09:29.140Z] [ 77%] Linking C executable device-gyro [2020-04-21T15:09:29.140Z] [ 77%] Built target device-gyro [2020-04-21T15:09:29.140Z] Scanning dependencies of target template-discovery [2020-04-21T15:09:29.140Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-04-21T15:09:29.400Z] [ 80%] Linking C executable template-discovery [2020-04-21T15:09:29.400Z] [ 80%] Built target template-discovery [2020-04-21T15:09:29.400Z] Scanning dependencies of target device-terminal [2020-04-21T15:09:29.400Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-04-21T15:09:29.661Z] [ 84%] Linking C executable device-terminal [2020-04-21T15:09:29.661Z] [ 84%] Built target device-terminal [2020-04-21T15:09:29.661Z] Scanning dependencies of target template2 [2020-04-21T15:09:29.661Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-04-21T15:09:29.923Z] [ 87%] Linking C executable template2 [2020-04-21T15:09:29.923Z] [ 87%] Built target template2 [2020-04-21T15:09:29.923Z] Scanning dependencies of target device-counterv2 [2020-04-21T15:09:29.923Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-04-21T15:09:30.183Z] [ 90%] Linking C executable device-counterv2 [2020-04-21T15:09:30.183Z] [ 90%] Built target device-counterv2 [2020-04-21T15:09:30.183Z] Scanning dependencies of target device-gyrov2 [2020-04-21T15:09:30.183Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-04-21T15:09:30.183Z] [ 93%] Linking C executable device-gyrov2 [2020-04-21T15:09:30.444Z] [ 93%] Built target device-gyrov2 [2020-04-21T15:09:30.444Z] Scanning dependencies of target device-randomv2 [2020-04-21T15:09:30.444Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-04-21T15:09:30.444Z] [ 96%] Linking C executable device-randomv2 [2020-04-21T15:09:30.705Z] [ 96%] Built target device-randomv2 [2020-04-21T15:09:30.705Z] Scanning dependencies of target device-terminalv2 [2020-04-21T15:09:30.705Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-04-21T15:09:30.705Z] [100%] Linking C executable device-terminalv2 [2020-04-21T15:09:30.705Z] [100%] Built target device-terminalv2 [2020-04-21T15:09:30.966Z] + make package+ [2020-04-21T15:09:30.966Z] tee -a release.log [2020-04-21T15:09:30.966Z] [ 65%] Built target csdk [2020-04-21T15:09:30.966Z] [ 68%] Built target template [2020-04-21T15:09:30.966Z] [ 71%] Built target device-counter [2020-04-21T15:09:30.966Z] [ 74%] Built target device-random [2020-04-21T15:09:30.966Z] [ 77%] Built target device-gyro [2020-04-21T15:09:30.966Z] [ 80%] Built target template-discovery [2020-04-21T15:09:30.966Z] [ 84%] Built target device-terminal [2020-04-21T15:09:30.966Z] [ 87%] Built target template2 [2020-04-21T15:09:30.966Z] [ 90%] Built target device-counterv2 [2020-04-21T15:09:30.966Z] [ 93%] Built target device-gyrov2 [2020-04-21T15:09:31.039Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-04-21T15:09:31.226Z] [ 96%] Built target device-randomv2 [2020-04-21T15:09:31.226Z] [100%] Built target device-terminalv2 [2020-04-21T15:09:31.226Z] Run CPack packaging tool... [2020-04-21T15:09:31.226Z] CPack: Create package using TGZ [2020-04-21T15:09:31.226Z] CPack: Install projects [2020-04-21T15:09:31.226Z] CPack: - Run preinstall target for: Csdk [2020-04-21T15:09:31.305Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-04-21T15:09:31.485Z] CPack: - Install project: Csdk [2020-04-21T15:09:31.485Z] CPack: Create package [2020-04-21T15:09:31.485Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.0-dev.15.tar.gz generated. [2020-04-21T15:09:31.485Z] + '[' false '=' true ] [2020-04-21T15:09:31.485Z] + '[' false '=' true ] [2020-04-21T15:09:31.485Z] + mkdir -p /tmp/sdk/build/debug [2020-04-21T15:09:31.485Z] + cd /tmp/sdk/build/debug [2020-04-21T15:09:31.485Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-04-21T15:09:31.744Z] -- The C compiler identification is GNU 8.3.0 [2020-04-21T15:09:31.744Z] -- Check for working C compiler: /usr/bin/cc [2020-04-21T15:09:31.744Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-21T15:09:31.744Z] -- Detecting C compiler ABI info [2020-04-21T15:09:31.744Z] -- Detecting C compiler ABI info - done [2020-04-21T15:09:31.888Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-04-21T15:09:32.004Z] -- Detecting C compile features [2020-04-21T15:09:32.263Z] -- Detecting C compile features - done [2020-04-21T15:09:32.263Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-04-21T15:09:32.263Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-04-21T15:09:32.263Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-04-21T15:09:32.263Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-04-21T15:09:32.263Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-04-21T15:09:32.263Z] -- C SDK 1.2.0-dev.15 for Linux [2020-04-21T15:09:32.263Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-04-21T15:09:32.263Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-04-21T15:09:32.263Z] -- Found Curses: /usr/lib/libcurses.so [2020-04-21T15:09:32.263Z] -- Configuring done [2020-04-21T15:09:32.263Z] -- Generating done [2020-04-21T15:09:32.263Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-04-21T15:09:32.263Z] + make [2020-04-21T15:09:32.263Z] + tee debug.log [2020-04-21T15:09:32.472Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-04-21T15:09:32.523Z] Scanning dependencies of target csdk [2020-04-21T15:09:32.523Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-04-21T15:09:32.523Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-04-21T15:09:32.739Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-04-21T15:09:32.782Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-04-21T15:09:32.782Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-04-21T15:09:32.782Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-04-21T15:09:33.007Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-04-21T15:09:33.041Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-04-21T15:09:33.041Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-04-21T15:09:33.274Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-04-21T15:09:33.300Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-04-21T15:09:33.300Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-04-21T15:09:33.300Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-04-21T15:09:33.559Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-04-21T15:09:33.559Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-04-21T15:09:33.559Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-04-21T15:09:33.559Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-04-21T15:09:33.818Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-04-21T15:09:34.077Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-04-21T15:09:34.077Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-04-21T15:09:34.077Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-04-21T15:09:34.336Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-04-21T15:09:34.336Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-04-21T15:09:34.597Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-04-21T15:09:34.597Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-04-21T15:09:34.597Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-04-21T15:09:34.597Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-04-21T15:09:34.856Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-04-21T15:09:34.856Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-04-21T15:09:34.856Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-04-21T15:09:34.856Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-04-21T15:09:34.856Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-04-21T15:09:35.114Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-04-21T15:09:35.114Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-04-21T15:09:35.374Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-04-21T15:09:35.634Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-04-21T15:09:35.634Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-04-21T15:09:35.634Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-04-21T15:09:35.895Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-21T15:09:36.154Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-04-21T15:09:36.414Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-04-21T15:09:36.414Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-04-21T15:09:36.618Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-04-21T15:09:36.618Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-04-21T15:09:36.673Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-04-21T15:09:36.673Z] [ 65%] Linking C shared library libcsdk.so [2020-04-21T15:09:36.673Z] [ 65%] Built target csdk [2020-04-21T15:09:36.673Z] Scanning dependencies of target template [2020-04-21T15:09:36.673Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-04-21T15:09:36.886Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-04-21T15:09:36.933Z] [ 68%] Linking C executable template [2020-04-21T15:09:36.933Z] [ 68%] Built target template [2020-04-21T15:09:36.933Z] Scanning dependencies of target device-counter [2020-04-21T15:09:36.933Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-04-21T15:09:36.933Z] [ 71%] Linking C executable device-counter [2020-04-21T15:09:37.191Z] [ 71%] Built target device-counter [2020-04-21T15:09:37.191Z] Scanning dependencies of target device-random [2020-04-21T15:09:37.191Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-04-21T15:09:37.191Z] [ 74%] Linking C executable device-random [2020-04-21T15:09:37.191Z] [ 74%] Built target device-random [2020-04-21T15:09:37.191Z] Scanning dependencies of target device-gyro [2020-04-21T15:09:37.191Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-04-21T15:09:37.451Z] [ 77%] Linking C executable device-gyro [2020-04-21T15:09:37.451Z] [ 77%] Built target device-gyro [2020-04-21T15:09:37.451Z] Scanning dependencies of target template-discovery [2020-04-21T15:09:37.451Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-04-21T15:09:37.451Z] [ 80%] Linking C executable template-discovery [2020-04-21T15:09:37.451Z] [ 80%] Built target template-discovery [2020-04-21T15:09:37.710Z] Scanning dependencies of target device-terminal [2020-04-21T15:09:37.710Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-04-21T15:09:37.710Z] [ 84%] Linking C executable device-terminal [2020-04-21T15:09:37.710Z] [ 84%] Built target device-terminal [2020-04-21T15:09:37.710Z] Scanning dependencies of target template2 [2020-04-21T15:09:37.710Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-04-21T15:09:37.848Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-04-21T15:09:37.986Z] [ 87%] Linking C executable template2 [2020-04-21T15:09:37.986Z] [ 87%] Built target template2 [2020-04-21T15:09:37.986Z] Scanning dependencies of target device-counterv2 [2020-04-21T15:09:37.986Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-04-21T15:09:37.986Z] [ 90%] Linking C executable device-counterv2 [2020-04-21T15:09:37.986Z] [ 90%] Built target device-counterv2 [2020-04-21T15:09:37.986Z] Scanning dependencies of target device-gyrov2 [2020-04-21T15:09:37.986Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-04-21T15:09:38.246Z] [ 93%] Linking C executable device-gyrov2 [2020-04-21T15:09:38.246Z] [ 93%] Built target device-gyrov2 [2020-04-21T15:09:38.246Z] Scanning dependencies of target device-randomv2 [2020-04-21T15:09:38.246Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-04-21T15:09:38.246Z] [ 96%] Linking C executable device-randomv2 [2020-04-21T15:09:38.505Z] [ 96%] Built target device-randomv2 [2020-04-21T15:09:38.505Z] Scanning dependencies of target device-terminalv2 [2020-04-21T15:09:38.505Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-04-21T15:09:38.505Z] [100%] Linking C executable device-terminalv2 [2020-04-21T15:09:38.505Z] [100%] Built target device-terminalv2 [2020-04-21T15:09:38.505Z] make: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:38.505Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:38.765Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:38.765Z] Scanning dependencies of target csdk [2020-04-21T15:09:38.765Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:38.765Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:38.765Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-21T15:09:39.024Z] [ 3%] Linking C shared library libcsdk.so [2020-04-21T15:09:39.024Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.024Z] [ 65%] Built target csdk [2020-04-21T15:09:39.283Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.283Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.283Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.283Z] [ 66%] Linking C executable template [2020-04-21T15:09:39.283Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.283Z] [ 68%] Built target template [2020-04-21T15:09:39.283Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.283Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.283Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.283Z] [ 69%] Linking C executable device-counter [2020-04-21T15:09:39.283Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.283Z] [ 71%] Built target device-counter [2020-04-21T15:09:39.283Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.283Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.283Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.283Z] [ 73%] Linking C executable device-random [2020-04-21T15:09:39.283Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.283Z] [ 74%] Built target device-random [2020-04-21T15:09:39.542Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.542Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.542Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.542Z] [ 76%] Linking C executable device-gyro [2020-04-21T15:09:39.542Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.542Z] [ 77%] Built target device-gyro [2020-04-21T15:09:39.542Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.542Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.542Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.542Z] [ 79%] Linking C executable template-discovery [2020-04-21T15:09:39.542Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.542Z] [ 80%] Built target template-discovery [2020-04-21T15:09:39.542Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.542Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.542Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.542Z] [ 82%] Linking C executable device-terminal [2020-04-21T15:09:39.789Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-04-21T15:09:39.804Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.804Z] [ 84%] Built target device-terminal [2020-04-21T15:09:39.804Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.804Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.804Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.804Z] [ 85%] Linking C executable template2 [2020-04-21T15:09:39.804Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.804Z] [ 87%] Built target template2 [2020-04-21T15:09:39.804Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.804Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.804Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.804Z] [ 88%] Linking C executable device-counterv2 [2020-04-21T15:09:39.804Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.804Z] [ 90%] Built target device-counterv2 [2020-04-21T15:09:39.804Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.804Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.804Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:39.804Z] [ 92%] Linking C executable device-gyrov2 [2020-04-21T15:09:40.057Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-04-21T15:09:40.057Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-04-21T15:09:40.062Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:40.062Z] [ 93%] Built target device-gyrov2 [2020-04-21T15:09:40.062Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:40.062Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:40.062Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:40.062Z] [ 95%] Linking C executable device-randomv2 [2020-04-21T15:09:40.062Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:40.062Z] [ 96%] Built target device-randomv2 [2020-04-21T15:09:40.062Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:40.062Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:40.062Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:09:40.062Z] [ 98%] Linking C executable device-terminalv2 [2020-04-21T15:09:40.062Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:40.062Z] [100%] Built target device-terminalv2 [2020-04-21T15:09:40.062Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:40.062Z] Install the project... [2020-04-21T15:09:40.062Z] -- Install configuration: "Release" [2020-04-21T15:09:40.062Z] -- Installing: /usr/local/lib/libcsdk.so [2020-04-21T15:09:40.062Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-04-21T15:09:40.062Z] -- Up-to-date: /usr/local/include [2020-04-21T15:09:40.062Z] -- Installing: /usr/local/include/devsdk [2020-04-21T15:09:40.062Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-04-21T15:09:40.062Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-04-21T15:09:40.062Z] -- Installing: /usr/local/include/edgex [2020-04-21T15:09:40.062Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-04-21T15:09:40.062Z] -- Installing: /usr/local/include/edgex/devices.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/edgex/error.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/edgex/os.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/edgex/registry.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/base64.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/component.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/container.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/data.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/hash.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/iot.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/json.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/logger.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/os.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/thread.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/time.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/typecode.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/os [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-04-21T15:09:40.063Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-04-21T15:09:40.063Z] make: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:09:40.641Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-04-21T15:09:41.225Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-04-21T15:09:41.225Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-04-21T15:09:41.439Z] Removing intermediate container 16f25e83225e [2020-04-21T15:09:41.439Z] ---> e83bff08fcaa [2020-04-21T15:09:41.439Z] Step 14/21 : FROM alpine:3.9 [2020-04-21T15:09:41.699Z] 3.9: Pulling from library/alpine [2020-04-21T15:09:41.699Z] 9123ac7c32f7: Pulling fs layer [2020-04-21T15:09:41.959Z] 9123ac7c32f7: Verifying Checksum [2020-04-21T15:09:41.959Z] 9123ac7c32f7: Download complete [2020-04-21T15:09:42.183Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-04-21T15:09:42.218Z] 9123ac7c32f7: Pull complete [2020-04-21T15:09:42.450Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-04-21T15:09:42.786Z] Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 [2020-04-21T15:09:42.786Z] Status: Downloaded newer image for alpine:3.9 [2020-04-21T15:09:42.786Z] ---> 82f67be598eb [2020-04-21T15:09:42.786Z] Step 15/21 : MAINTAINER IOTech [2020-04-21T15:09:43.032Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-04-21T15:09:43.045Z] ---> Running in 98b641f23e5c [2020-04-21T15:09:43.046Z] Removing intermediate container 98b641f23e5c [2020-04-21T15:09:43.046Z] ---> 3086674355c2 [2020-04-21T15:09:43.046Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-04-21T15:09:43.046Z] ---> Running in ad01ea2191ae [2020-04-21T15:09:43.297Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-04-21T15:09:43.879Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-04-21T15:09:43.986Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-04-21T15:09:44.245Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-04-21T15:09:44.245Z] (1/48) Installing binutils (2.31.1-r2) [2020-04-21T15:09:44.245Z] (2/48) Installing libmagic (5.36-r1) [2020-04-21T15:09:44.245Z] (3/48) Installing file (5.36-r1) [2020-04-21T15:09:44.245Z] (4/48) Installing gmp (6.1.2-r1) [2020-04-21T15:09:44.505Z] (5/48) Installing isl (0.18-r0) [2020-04-21T15:09:44.505Z] (6/48) Installing libgomp (8.3.0-r0) [2020-04-21T15:09:44.505Z] (7/48) Installing libatomic (8.3.0-r0) [2020-04-21T15:09:44.505Z] (8/48) Installing libgcc (8.3.0-r0) [2020-04-21T15:09:44.505Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-04-21T15:09:44.505Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-04-21T15:09:44.505Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-04-21T15:09:44.505Z] (12/48) Installing gcc (8.3.0-r0) [2020-04-21T15:09:44.837Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-04-21T15:09:44.837Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-04-21T15:09:47.041Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-04-21T15:09:47.977Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-04-21T15:09:47.977Z] (15/48) Installing g++ (8.3.0-r0) [2020-04-21T15:09:49.085Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-04-21T15:09:49.352Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-04-21T15:09:49.890Z] (16/48) Installing make (4.2.1-r2) [2020-04-21T15:09:49.890Z] (17/48) Installing fortify-headers (1.0-r0) [2020-04-21T15:09:49.890Z] (18/48) Installing build-base (0.5-r1) [2020-04-21T15:09:49.890Z] (19/48) Installing libattr (2.4.47-r7) [2020-04-21T15:09:49.890Z] (20/48) Installing libacl (2.2.52-r5) [2020-04-21T15:09:49.890Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-04-21T15:09:49.890Z] (22/48) Installing expat (2.2.8-r0) [2020-04-21T15:09:49.890Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-04-21T15:09:49.890Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-04-21T15:09:49.890Z] (25/48) Installing libarchive (3.3.3-r2) [2020-04-21T15:09:49.890Z] (26/48) Installing ca-certificates (20191127-r0) [2020-04-21T15:09:49.890Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-04-21T15:09:49.890Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-04-21T15:09:49.890Z] (29/48) Installing libcurl (7.64.0-r3) [2020-04-21T15:09:49.890Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-04-21T15:09:49.890Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-04-21T15:09:49.936Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-04-21T15:09:50.458Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-04-21T15:09:50.458Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-04-21T15:09:50.458Z] (34/48) Installing libuv (1.23.2-r0) [2020-04-21T15:09:50.458Z] (35/48) Installing cmake (3.13.0-r0) [2020-04-21T15:09:50.519Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-04-21T15:09:51.835Z] (36/48) Installing curl (7.64.0-r3) [2020-04-21T15:09:51.835Z] (37/48) Installing pcre2 (10.32-r1) [2020-04-21T15:09:51.835Z] (38/48) Installing git (2.20.3-r0) [2020-04-21T15:09:51.835Z] (39/48) Installing nettle (3.4.1-r0) [2020-04-21T15:09:51.835Z] (40/48) Installing libffi (3.2.1-r6) [2020-04-21T15:09:51.835Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-04-21T15:09:51.835Z] (42/48) Installing libtasn1 (4.14-r0) [2020-04-21T15:09:51.835Z] (43/48) Installing libunistring (0.9.10-r0) [2020-04-21T15:09:51.835Z] (44/48) Installing gnutls (3.6.7-r1) [2020-04-21T15:09:51.835Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-04-21T15:09:51.835Z] (46/48) Installing libuuid (2.33-r0) [2020-04-21T15:09:51.835Z] (47/48) Installing wget (1.20.3-r0) [2020-04-21T15:09:51.835Z] (48/48) Installing yaml (0.2.1-r0) [2020-04-21T15:09:51.835Z] Executing busybox-1.29.3-r10.trigger [2020-04-21T15:09:51.835Z] Executing ca-certificates-20191127-r0.trigger [2020-04-21T15:09:51.926Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-21T15:09:52.095Z] OK: 222 MiB in 62 packages [2020-04-21T15:09:53.335Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-04-21T15:09:56.674Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-04-21T15:09:56.942Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-04-21T15:09:58.350Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-04-21T15:09:58.616Z] [ 65%] Linking C shared library libcsdk.so [2020-04-21T15:09:58.672Z] Removing intermediate container ad01ea2191ae [2020-04-21T15:09:58.672Z] ---> 35b01f858219 [2020-04-21T15:09:58.672Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-04-21T15:09:58.672Z] ---> eb5a4dbb3352 [2020-04-21T15:09:58.672Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-04-21T15:09:58.672Z] ---> 7cfa22f2ce3a [2020-04-21T15:09:58.672Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-04-21T15:09:58.672Z] ---> f67731627107 [2020-04-21T15:09:58.672Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-04-21T15:09:58.884Z] [ 65%] Built target csdk [2020-04-21T15:09:58.884Z] Scanning dependencies of target template [2020-04-21T15:09:58.884Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-04-21T15:09:58.930Z] ---> 08f1088d642d [2020-04-21T15:09:58.930Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-04-21T15:09:59.189Z] ---> 30434f164a84 [2020-04-21T15:09:59.189Z] Successfully built 30434f164a84 [2020-04-21T15:09:59.189Z] 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-04-21T15:09:59.468Z] [ 68%] Linking C executable template [2020-04-21T15:09:59.468Z] [ 68%] Built target template [2020-04-21T15:09:59.468Z] Scanning dependencies of target device-counter [2020-04-21T15:09:59.735Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-04-21T15:09:59.745Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-21T15:09:59.745Z] . [Pipeline] withDockerContainer [2020-04-21T15:09:59.871Z] prd-centos7-docker-4c-2g-5260 does not seem to be running inside a container [2020-04-21T15:09:59.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/15 -v /w/workspace/device-sdk-c/15:/w/workspace/device-sdk-c/15:rw,z -v /w/workspace/device-sdk-c/15@tmp:/w/workspace/device-sdk-c/15@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 ******** ci-base-image-x86_64 cat [2020-04-21T15:10:00.002Z] [ 71%] Linking C executable device-counter [2020-04-21T15:10:00.269Z] [ 71%] Built target device-counter [2020-04-21T15:10:00.269Z] Scanning dependencies of target device-random [2020-04-21T15:10:00.269Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-04-21T15:10:00.594Z] $ docker top 306a55a1923946741613246a6229ae4348f70d15285d3cb3b2e291219d2ec319 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T15:10:00.852Z] [ 74%] Linking C executable device-random [2020-04-21T15:10:00.852Z] [ 74%] Built target device-random [2020-04-21T15:10:01.076Z] + make test [2020-04-21T15:10:01.076Z] echo "make test" [2020-04-21T15:10:01.076Z] make test [Pipeline] } [2020-04-21T15:10:01.085Z] $ docker stop --time=1 306a55a1923946741613246a6229ae4348f70d15285d3cb3b2e291219d2ec319 [2020-04-21T15:10:01.118Z] Scanning dependencies of target device-gyro [2020-04-21T15:10:01.118Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-04-21T15:10:01.396Z] [ 77%] Linking C executable device-gyro [2020-04-21T15:10:01.663Z] [ 77%] Built target device-gyro [2020-04-21T15:10:01.663Z] Scanning dependencies of target template-discovery [2020-04-21T15:10:01.663Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-04-21T15:10:02.249Z] [ 80%] Linking C executable template-discovery [2020-04-21T15:10:02.475Z] $ docker rm -f 306a55a1923946741613246a6229ae4348f70d15285d3cb3b2e291219d2ec319 [2020-04-21T15:10:02.514Z] [ 80%] Built target template-discovery [2020-04-21T15:10:02.514Z] Scanning dependencies of target device-terminal [2020-04-21T15:10:02.514Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-04-21T15:10:03.098Z] [ 84%] Linking C executable device-terminal [2020-04-21T15:10:03.373Z] [ 84%] Built target device-terminal [2020-04-21T15:10:03.373Z] Scanning dependencies of target template2 [2020-04-21T15:10:03.373Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [Pipeline] sh [2020-04-21T15:10:03.748Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T15:10:03.963Z] [ 87%] Linking C executable template2 [2020-04-21T15:10:03.964Z] [ 87%] Built target template2 [2020-04-21T15:10:03.964Z] Scanning dependencies of target device-counterv2 [2020-04-21T15:10:04.045Z] + ls -al . [2020-04-21T15:10:04.045Z] total 160 [2020-04-21T15:10:04.045Z] drwxrwxr-x. 8 jenkins jenkins 260 Apr 21 15:08 . [2020-04-21T15:10:04.045Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 21 15:08 .. [2020-04-21T15:10:04.045Z] -rw-rw-r--. 1 jenkins jenkins 3104 Apr 21 15:08 Attribution.txt [2020-04-21T15:10:04.045Z] -rw-rw-r--. 1 jenkins jenkins 5109 Apr 21 15:08 CHANGES [2020-04-21T15:10:04.045Z] drwxrwxr-x. 2 jenkins jenkins 144 Apr 21 15:08 docs [2020-04-21T15:10:04.045Z] -rw-rw-r--. 1 jenkins jenkins 108574 Apr 21 15:08 Doxyfile [2020-04-21T15:10:04.045Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 21 15:08 .git [2020-04-21T15:10:04.045Z] -rw-rw-r--. 1 jenkins jenkins 176 Apr 21 15:08 .gitignore [2020-04-21T15:10:04.045Z] drwxrwxr-x. 4 jenkins jenkins 33 Apr 21 15:08 include [2020-04-21T15:10:04.045Z] -rw-rw-r--. 1 jenkins jenkins 792 Apr 21 15:08 Jenkinsfile [2020-04-21T15:10:04.045Z] -rw-rw-r--. 1 jenkins jenkins 10174 Apr 21 15:08 LICENSE [2020-04-21T15:10:04.045Z] -rw-rw-r--. 1 jenkins jenkins 448 Apr 21 15:08 Makefile [2020-04-21T15:10:04.045Z] -rw-rw-r--. 1 jenkins jenkins 1849 Apr 21 15:08 README.md [2020-04-21T15:10:04.045Z] -rw-rw-r--. 1 jenkins jenkins 5287 Apr 21 15:08 README.v2.md [2020-04-21T15:10:04.045Z] drwxrwxr-x. 2 jenkins jenkins 106 Apr 21 15:08 scripts [2020-04-21T15:10:04.045Z] drwxrwxr-x. 3 jenkins jenkins 44 Apr 21 15:08 .semver [2020-04-21T15:10:04.045Z] drwxrwxr-x. 4 jenkins jenkins 50 Apr 21 15:08 src [2020-04-21T15:10:04.045Z] -rw-rw-r--. 1 jenkins jenkins 12 Apr 21 15:05 VERSION [Pipeline] isUnix [Pipeline] sh [2020-04-21T15:10:04.229Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-04-21T15:10:04.344Z] + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.9 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=4fc1725bd211937001b721308f1b583b7c7ba0fb --label arch=amd64 --label version=1.2.0-dev.15 . [2020-04-21T15:10:04.344Z] Sending build context to Docker daemon 2.946MB [2020-04-21T15:10:04.344Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-04-21T15:10:04.344Z] Step 2/15 : FROM ${BASE} [2020-04-21T15:10:04.344Z] ---> 30434f164a84 [2020-04-21T15:10:04.344Z] Step 3/15 : MAINTAINER IOTech [2020-04-21T15:10:04.495Z] [ 90%] Linking C executable device-counterv2 [2020-04-21T15:10:04.603Z] ---> Running in 3b30185d724c [2020-04-21T15:10:04.603Z] Removing intermediate container 3b30185d724c [2020-04-21T15:10:04.603Z] ---> 529405c164a0 [2020-04-21T15:10:04.603Z] 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-04-21T15:10:04.603Z] ---> Running in dc58d46c43e2 [2020-04-21T15:10:04.762Z] [ 90%] Built target device-counterv2 [2020-04-21T15:10:04.762Z] Scanning dependencies of target device-gyrov2 [2020-04-21T15:10:04.762Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-04-21T15:10:05.170Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-04-21T15:10:05.170Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-04-21T15:10:05.170Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-04-21T15:10:05.170Z] (2/21) Installing openssl-dev (1.1.1d-r2) [2020-04-21T15:10:05.349Z] [ 93%] Linking C executable device-gyrov2 [2020-04-21T15:10:05.349Z] [ 93%] Built target device-gyrov2 [2020-04-21T15:10:05.349Z] Scanning dependencies of target device-randomv2 [2020-04-21T15:10:05.349Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-04-21T15:10:05.430Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-04-21T15:10:05.430Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-04-21T15:10:05.934Z] [ 96%] Linking C executable device-randomv2 [2020-04-21T15:10:05.999Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-04-21T15:10:05.999Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-04-21T15:10:05.999Z] (7/21) Installing gnutls-c++ (3.6.7-r1) [2020-04-21T15:10:05.999Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-04-21T15:10:05.999Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-04-21T15:10:05.999Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-04-21T15:10:05.999Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-04-21T15:10:05.999Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-04-21T15:10:05.999Z] (13/21) Installing gnutls-dev (3.6.7-r1) [2020-04-21T15:10:05.999Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-04-21T15:10:05.999Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-04-21T15:10:05.999Z] (16/21) Installing libblkid (2.33-r0) [2020-04-21T15:10:06.234Z] [ 96%] Built target device-randomv2 [2020-04-21T15:10:06.234Z] Scanning dependencies of target device-terminalv2 [2020-04-21T15:10:06.234Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-04-21T15:10:06.264Z] (17/21) Installing libfdisk (2.33-r0) [2020-04-21T15:10:06.265Z] (18/21) Installing libmount (2.33-r0) [2020-04-21T15:10:06.265Z] (19/21) Installing libsmartcols (2.33-r0) [2020-04-21T15:10:06.265Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-04-21T15:10:06.265Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-04-21T15:10:06.265Z] Executing busybox-1.29.3-r10.trigger [2020-04-21T15:10:06.265Z] OK: 265 MiB in 83 packages [2020-04-21T15:10:06.841Z] [100%] Linking C executable device-terminalv2 [2020-04-21T15:10:06.841Z] [100%] Built target device-terminalv2 [2020-04-21T15:10:07.113Z] + make package [2020-04-21T15:10:07.113Z] + tee -a release.log [2020-04-21T15:10:07.113Z] [ 65%] Built target csdk [2020-04-21T15:10:07.113Z] [ 68%] Built target template [2020-04-21T15:10:07.113Z] [ 71%] Built target device-counter [2020-04-21T15:10:07.386Z] [ 74%] Built target device-random [2020-04-21T15:10:07.386Z] [ 77%] Built target device-gyro [2020-04-21T15:10:07.386Z] [ 80%] Built target template-discovery [2020-04-21T15:10:07.386Z] [ 84%] Built target device-terminal [2020-04-21T15:10:07.386Z] [ 87%] Built target template2 [2020-04-21T15:10:07.386Z] [ 90%] Built target device-counterv2 [2020-04-21T15:10:07.662Z] [ 93%] Built target device-gyrov2 [2020-04-21T15:10:07.662Z] [ 96%] Built target device-randomv2 [2020-04-21T15:10:07.662Z] [100%] Built target device-terminalv2 [2020-04-21T15:10:07.662Z] Run CPack packaging tool... [2020-04-21T15:10:07.662Z] CPack: Create package using TGZ [2020-04-21T15:10:07.662Z] CPack: Install projects [2020-04-21T15:10:07.662Z] CPack: - Run preinstall target for: Csdk [2020-04-21T15:10:08.284Z] CPack: - Install project: Csdk [2020-04-21T15:10:08.555Z] CPack: Create package [2020-04-21T15:10:08.555Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.0-dev.15.tar.gz generated. [2020-04-21T15:10:08.555Z] + '[' false '=' true ] [2020-04-21T15:10:08.555Z] + '[' false '=' true ] [2020-04-21T15:10:08.555Z] + mkdir -p /tmp/sdk/build/debug [2020-04-21T15:10:08.555Z] + cd /tmp/sdk/build/debug [2020-04-21T15:10:08.555Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-04-21T15:10:08.805Z] Removing intermediate container dc58d46c43e2 [2020-04-21T15:10:08.805Z] ---> 668f7b715b1d [2020-04-21T15:10:08.805Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-04-21T15:10:08.805Z] ---> df3d0d0683f8 [2020-04-21T15:10:08.805Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-04-21T15:10:08.829Z] -- The C compiler identification is GNU 8.3.0 [2020-04-21T15:10:08.829Z] -- Check for working C compiler: /usr/bin/cc [2020-04-21T15:10:09.065Z] ---> 664ec6732eac [2020-04-21T15:10:09.065Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-04-21T15:10:09.096Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-21T15:10:09.096Z] -- Detecting C compiler ABI info [2020-04-21T15:10:09.324Z] ---> c29b748d4890 [2020-04-21T15:10:09.324Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-04-21T15:10:09.324Z] ---> fb50f8297050 [2020-04-21T15:10:09.324Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-04-21T15:10:09.363Z] -- Detecting C compiler ABI info - done [2020-04-21T15:10:09.363Z] -- Detecting C compile features [2020-04-21T15:10:09.583Z] ---> ab4fcc51aae7 [2020-04-21T15:10:09.583Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-04-21T15:10:09.842Z] ---> 65fe01b1762a [2020-04-21T15:10:09.842Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-04-21T15:10:09.842Z] ---> Running in 712d5fa65112 [2020-04-21T15:10:09.842Z] Removing intermediate container 712d5fa65112 [2020-04-21T15:10:09.842Z] ---> a43cb9ba9b2b [2020-04-21T15:10:09.842Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-04-21T15:10:10.100Z] ---> Running in de5b95b038e0 [2020-04-21T15:10:10.100Z] Removing intermediate container de5b95b038e0 [2020-04-21T15:10:10.100Z] ---> b572addd0f49 [2020-04-21T15:10:10.100Z] Step 13/15 : LABEL arch=amd64 [2020-04-21T15:10:10.100Z] ---> Running in 23acc36905b5 [2020-04-21T15:10:10.322Z] -- Detecting C compile features - done [2020-04-21T15:10:10.322Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-04-21T15:10:10.322Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-04-21T15:10:10.322Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-04-21T15:10:10.322Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-04-21T15:10:10.322Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-04-21T15:10:10.322Z] -- C SDK 1.2.0-dev.15 for Linux [2020-04-21T15:10:10.322Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-04-21T15:10:10.359Z] Removing intermediate container 23acc36905b5 [2020-04-21T15:10:10.359Z] ---> cedc6f9c3d39 [2020-04-21T15:10:10.359Z] Step 14/15 : LABEL git_sha=4fc1725bd211937001b721308f1b583b7c7ba0fb [2020-04-21T15:10:10.359Z] ---> Running in edd297cd0777 [2020-04-21T15:10:10.359Z] Removing intermediate container edd297cd0777 [2020-04-21T15:10:10.359Z] ---> c6abc18fcc3d [2020-04-21T15:10:10.359Z] Step 15/15 : LABEL version=1.2.0-dev.15 [2020-04-21T15:10:10.590Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-04-21T15:10:10.590Z] -- Found Curses: /usr/lib/libcurses.so [2020-04-21T15:10:10.590Z] -- Configuring done [2020-04-21T15:10:10.618Z] ---> Running in b97ecada1882 [2020-04-21T15:10:10.857Z] -- Generating done [2020-04-21T15:10:10.858Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-04-21T15:10:10.858Z] + make [2020-04-21T15:10:10.858Z] + tee debug.log [2020-04-21T15:10:11.125Z] Scanning dependencies of target csdk [2020-04-21T15:10:11.125Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-04-21T15:10:11.185Z] Removing intermediate container b97ecada1882 [2020-04-21T15:10:11.185Z] ---> bb8ed5c635de [2020-04-21T15:10:11.185Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2020-04-21T15:10:11.185Z] Successfully built bb8ed5c635de [2020-04-21T15:10:11.185Z] 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] } [2020-04-21T15:10:11.720Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-04-21T15:10:11.721Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-21T15:10:12.304Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-04-21T15:10:12.571Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-04-21T15:10:12.837Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-04-21T15:10:13.104Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-04-21T15:10:13.687Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-04-21T15:10:13.954Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-04-21T15:10:14.221Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-04-21T15:10:14.490Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-04-21T15:10:14.759Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-04-21T15:10:15.026Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-04-21T15:10:15.297Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-04-21T15:10:16.256Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-04-21T15:10:16.256Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-04-21T15:10:16.523Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-04-21T15:10:16.788Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-04-21T15:10:17.371Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-04-21T15:10:17.640Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-04-21T15:10:17.641Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-04-21T15:10:17.908Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-04-21T15:10:18.175Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-04-21T15:10:18.443Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-04-21T15:10:18.709Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-04-21T15:10:18.978Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-04-21T15:10:19.245Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-04-21T15:10:19.245Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-04-21T15:10:19.513Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-04-21T15:10:20.095Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-04-21T15:10:20.095Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-04-21T15:10:21.054Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-04-21T15:10:21.321Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-04-21T15:10:21.588Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-04-21T15:10:21.855Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-04-21T15:10:22.813Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-21T15:10:23.397Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-04-21T15:10:23.980Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-04-21T15:10:24.247Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-04-21T15:10:24.829Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-04-21T15:10:24.829Z] [ 65%] Linking C shared library libcsdk.so [2020-04-21T15:10:25.098Z] [ 65%] Built target csdk [2020-04-21T15:10:25.098Z] Scanning dependencies of target template [2020-04-21T15:10:25.098Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-04-21T15:10:25.368Z] [ 68%] Linking C executable template [2020-04-21T15:10:25.638Z] [ 68%] Built target template [2020-04-21T15:10:25.638Z] Scanning dependencies of target device-counter [2020-04-21T15:10:25.638Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-04-21T15:10:25.907Z] [ 71%] Linking C executable device-counter [2020-04-21T15:10:26.174Z] [ 71%] Built target device-counter [2020-04-21T15:10:26.174Z] Scanning dependencies of target device-random [2020-04-21T15:10:26.174Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-04-21T15:10:26.440Z] [ 74%] Linking C executable device-random [2020-04-21T15:10:26.708Z] [ 74%] Built target device-random [2020-04-21T15:10:26.708Z] Scanning dependencies of target device-gyro [2020-04-21T15:10:26.708Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-04-21T15:10:26.974Z] [ 77%] Linking C executable device-gyro [2020-04-21T15:10:27.241Z] [ 77%] Built target device-gyro [2020-04-21T15:10:27.241Z] Scanning dependencies of target template-discovery [2020-04-21T15:10:27.241Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-04-21T15:10:27.507Z] [ 80%] Linking C executable template-discovery [2020-04-21T15:10:27.773Z] [ 80%] Built target template-discovery [2020-04-21T15:10:27.773Z] Scanning dependencies of target device-terminal [2020-04-21T15:10:27.773Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-04-21T15:10:28.039Z] [ 84%] Linking C executable device-terminal [2020-04-21T15:10:28.305Z] [ 84%] Built target device-terminal [2020-04-21T15:10:28.305Z] Scanning dependencies of target template2 [2020-04-21T15:10:28.305Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-04-21T15:10:28.572Z] [ 87%] Linking C executable template2 [2020-04-21T15:10:28.838Z] [ 87%] Built target template2 [2020-04-21T15:10:28.838Z] Scanning dependencies of target device-counterv2 [2020-04-21T15:10:28.838Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-04-21T15:10:29.105Z] [ 90%] Linking C executable device-counterv2 [2020-04-21T15:10:29.372Z] [ 90%] Built target device-counterv2 [2020-04-21T15:10:29.372Z] Scanning dependencies of target device-gyrov2 [2020-04-21T15:10:29.372Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-04-21T15:10:29.639Z] [ 93%] Linking C executable device-gyrov2 [2020-04-21T15:10:29.905Z] [ 93%] Built target device-gyrov2 [2020-04-21T15:10:29.905Z] Scanning dependencies of target device-randomv2 [2020-04-21T15:10:29.905Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-04-21T15:10:30.171Z] [ 96%] Linking C executable device-randomv2 [2020-04-21T15:10:30.438Z] [ 96%] Built target device-randomv2 [2020-04-21T15:10:30.438Z] Scanning dependencies of target device-terminalv2 [2020-04-21T15:10:30.438Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-04-21T15:10:30.704Z] [100%] Linking C executable device-terminalv2 [2020-04-21T15:10:30.971Z] [100%] Built target device-terminalv2 [2020-04-21T15:10:30.971Z] make: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:30.971Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:30.971Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:30.971Z] Scanning dependencies of target csdk [2020-04-21T15:10:30.971Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:31.237Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:31.237Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-21T15:10:32.644Z] [ 3%] Linking C shared library libcsdk.so [2020-04-21T15:10:32.912Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:32.912Z] [ 65%] Built target csdk [2020-04-21T15:10:32.912Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:32.912Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:32.912Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:32.912Z] [ 66%] Linking C executable template [2020-04-21T15:10:33.179Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:33.179Z] [ 68%] Built target template [2020-04-21T15:10:33.179Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:33.179Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:33.179Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:33.179Z] [ 69%] Linking C executable device-counter [2020-04-21T15:10:33.445Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:33.445Z] [ 71%] Built target device-counter [2020-04-21T15:10:33.445Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:33.445Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:33.445Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:33.445Z] [ 73%] Linking C executable device-random [2020-04-21T15:10:33.711Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:33.711Z] [ 74%] Built target device-random [2020-04-21T15:10:33.711Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:33.711Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:33.711Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:33.711Z] [ 76%] Linking C executable device-gyro [2020-04-21T15:10:33.978Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:33.978Z] [ 77%] Built target device-gyro [2020-04-21T15:10:33.978Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:33.978Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:33.978Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:33.978Z] [ 79%] Linking C executable template-discovery [2020-04-21T15:10:34.245Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:34.245Z] [ 80%] Built target template-discovery [2020-04-21T15:10:34.245Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:34.245Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:34.245Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:34.245Z] [ 82%] Linking C executable device-terminal [2020-04-21T15:10:34.511Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:34.511Z] [ 84%] Built target device-terminal [2020-04-21T15:10:34.511Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:34.511Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:34.511Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:34.511Z] [ 85%] Linking C executable template2 [2020-04-21T15:10:34.776Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:34.776Z] [ 87%] Built target template2 [2020-04-21T15:10:34.776Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:34.776Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:34.776Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:34.776Z] [ 88%] Linking C executable device-counterv2 [2020-04-21T15:10:35.043Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:35.043Z] [ 90%] Built target device-counterv2 [2020-04-21T15:10:35.043Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:35.043Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:35.043Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:35.043Z] [ 92%] Linking C executable device-gyrov2 [2020-04-21T15:10:35.310Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:35.310Z] [ 93%] Built target device-gyrov2 [2020-04-21T15:10:35.310Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:35.310Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:35.310Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:35.310Z] [ 95%] Linking C executable device-randomv2 [2020-04-21T15:10:35.578Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:35.578Z] [ 96%] Built target device-randomv2 [2020-04-21T15:10:35.578Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:35.578Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:35.578Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-21T15:10:35.578Z] [ 98%] Linking C executable device-terminalv2 [2020-04-21T15:10:35.845Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:35.845Z] [100%] Built target device-terminalv2 [2020-04-21T15:10:35.845Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:35.845Z] Install the project... [2020-04-21T15:10:35.845Z] -- Install configuration: "Release" [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/lib/libcsdk.so [2020-04-21T15:10:35.845Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-04-21T15:10:35.845Z] -- Up-to-date: /usr/local/include [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/devsdk [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/edgex [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/edgex/devices.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/edgex/error.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/edgex/registry.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/edgex/os.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/hash.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/thread.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/json.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/os [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/typecode.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/base64.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/container.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/data.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/component.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/os.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/logger.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/time.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/include/iot/iot.h [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-04-21T15:10:35.845Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-04-21T15:10:35.845Z] make: Leaving directory '/tmp/sdk/build/release' [2020-04-21T15:10:37.808Z] Removing intermediate container 2f58fd51b0a4 [2020-04-21T15:10:37.808Z] ---> ecc8520b6402 [2020-04-21T15:10:37.808Z] Step 14/21 : FROM alpine:3.9 [2020-04-21T15:10:38.390Z] 3.9: Pulling from library/alpine [2020-04-21T15:10:39.347Z] eb93038481dd: Pulling fs layer [2020-04-21T15:10:39.930Z] eb93038481dd: Verifying Checksum [2020-04-21T15:10:39.930Z] eb93038481dd: Download complete [2020-04-21T15:10:40.199Z] eb93038481dd: Pull complete [2020-04-21T15:10:40.199Z] Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 [2020-04-21T15:10:40.199Z] Status: Downloaded newer image for alpine:3.9 [2020-04-21T15:10:40.199Z] ---> 355993758880 [2020-04-21T15:10:40.199Z] Step 15/21 : MAINTAINER IOTech [2020-04-21T15:10:40.466Z] ---> Running in 6ecc114dc5a5 [2020-04-21T15:10:40.734Z] Removing intermediate container 6ecc114dc5a5 [2020-04-21T15:10:40.734Z] ---> be7fd4d7a15c [2020-04-21T15:10:40.734Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-04-21T15:10:41.000Z] ---> Running in 6689d5a50134 [2020-04-21T15:10:41.958Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-04-21T15:10:41.958Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-04-21T15:10:42.540Z] (1/48) Installing binutils (2.31.1-r2) [2020-04-21T15:10:42.540Z] (2/48) Installing libmagic (5.36-r1) [2020-04-21T15:10:42.806Z] (3/48) Installing file (5.36-r1) [2020-04-21T15:10:42.806Z] (4/48) Installing gmp (6.1.2-r1) [2020-04-21T15:10:42.806Z] (5/48) Installing isl (0.18-r0) [2020-04-21T15:10:42.806Z] (6/48) Installing libgomp (8.3.0-r0) [2020-04-21T15:10:42.806Z] (7/48) Installing libatomic (8.3.0-r0) [2020-04-21T15:10:42.806Z] (8/48) Installing libgcc (8.3.0-r0) [2020-04-21T15:10:42.806Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-04-21T15:10:42.806Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-04-21T15:10:42.806Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-04-21T15:10:42.806Z] (12/48) Installing gcc (8.3.0-r0) [2020-04-21T15:10:44.216Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-04-21T15:10:44.482Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-04-21T15:10:44.482Z] (15/48) Installing g++ (8.3.0-r0) [2020-04-21T15:10:45.887Z] (16/48) Installing make (4.2.1-r2) [2020-04-21T15:10:45.887Z] (17/48) Installing fortify-headers (1.0-r0) [2020-04-21T15:10:45.887Z] (18/48) Installing build-base (0.5-r1) [2020-04-21T15:10:45.887Z] (19/48) Installing libattr (2.4.47-r7) [2020-04-21T15:10:45.887Z] (20/48) Installing libacl (2.2.52-r5) [2020-04-21T15:10:45.887Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-04-21T15:10:45.887Z] (22/48) Installing expat (2.2.8-r0) [2020-04-21T15:10:45.887Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-04-21T15:10:45.887Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-04-21T15:10:45.887Z] (25/48) Installing libarchive (3.3.3-r2) [2020-04-21T15:10:45.887Z] (26/48) Installing ca-certificates (20191127-r0) [2020-04-21T15:10:45.887Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-04-21T15:10:45.887Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-04-21T15:10:45.887Z] (29/48) Installing libcurl (7.64.0-r3) [2020-04-21T15:10:45.887Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-04-21T15:10:45.887Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-04-21T15:10:46.843Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-04-21T15:10:46.844Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-04-21T15:10:46.844Z] (34/48) Installing libuv (1.23.2-r0) [2020-04-21T15:10:46.844Z] (35/48) Installing cmake (3.13.0-r0) [2020-04-21T15:10:48.250Z] (36/48) Installing curl (7.64.0-r3) [2020-04-21T15:10:48.250Z] (37/48) Installing pcre2 (10.32-r1) [2020-04-21T15:10:48.250Z] (38/48) Installing git (2.20.3-r0) [2020-04-21T15:10:48.517Z] (39/48) Installing nettle (3.4.1-r0) [2020-04-21T15:10:48.787Z] (40/48) Installing libffi (3.2.1-r6) [2020-04-21T15:10:48.787Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-04-21T15:10:48.787Z] (42/48) Installing libtasn1 (4.14-r0) [2020-04-21T15:10:48.787Z] (43/48) Installing libunistring (0.9.10-r0) [2020-04-21T15:10:48.787Z] (44/48) Installing gnutls (3.6.7-r1) [2020-04-21T15:10:48.787Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-04-21T15:10:48.787Z] (46/48) Installing libuuid (2.33-r0) [2020-04-21T15:10:48.787Z] (47/48) Installing wget (1.20.3-r0) [2020-04-21T15:10:48.787Z] (48/48) Installing yaml (0.2.1-r0) [2020-04-21T15:10:48.787Z] Executing busybox-1.29.3-r10.trigger [2020-04-21T15:10:48.787Z] Executing ca-certificates-20191127-r0.trigger [2020-04-21T15:10:49.055Z] OK: 219 MiB in 62 packages [2020-04-21T15:11:04.065Z] Removing intermediate container 6689d5a50134 [2020-04-21T15:11:04.065Z] ---> 544a9d5d1988 [2020-04-21T15:11:04.065Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-04-21T15:11:04.065Z] ---> 4718d9986881 [2020-04-21T15:11:04.065Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-04-21T15:11:04.065Z] ---> 8866b33f78b1 [2020-04-21T15:11:04.065Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-04-21T15:11:04.332Z] ---> 03568db0ada0 [2020-04-21T15:11:04.332Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-04-21T15:11:04.912Z] ---> c4659cbcea30 [2020-04-21T15:11:04.912Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-04-21T15:11:05.496Z] ---> 7fd2867d387b [2020-04-21T15:11:05.496Z] Successfully built 7fd2867d387b [2020-04-21T15:11:05.496Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-21T15:11:06.205Z] + docker inspect -f . ci-base-image-arm64 [2020-04-21T15:11:06.471Z] . [Pipeline] withDockerContainer [2020-04-21T15:11:06.803Z] prd-ubuntu18.04-docker-arm64-4c-16g-5259 does not seem to be running inside a container [2020-04-21T15:11:06.877Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/15 -v /w/workspace/device-sdk-c/15:/w/workspace/device-sdk-c/15:rw,z -v /w/workspace/device-sdk-c/15@tmp:/w/workspace/device-sdk-c/15@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 ******** ci-base-image-arm64 cat [2020-04-21T15:11:08.303Z] $ docker top f6f3111b695b8589041630082f78e2f7871da111272a40547c9400b17a03fa68 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T15:11:09.348Z] + make test [2020-04-21T15:11:09.348Z] echo "make test" [2020-04-21T15:11:09.348Z] make test [Pipeline] } [2020-04-21T15:11:09.366Z] $ docker stop --time=1 f6f3111b695b8589041630082f78e2f7871da111272a40547c9400b17a03fa68 [2020-04-21T15:11:11.455Z] $ docker rm -f f6f3111b695b8589041630082f78e2f7871da111272a40547c9400b17a03fa68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T15:11:12.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T15:11:12.853Z] + ls -al . [2020-04-21T15:11:12.853Z] total 192 [2020-04-21T15:11:12.853Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 15:08 . [2020-04-21T15:11:12.853Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 15:08 .. [2020-04-21T15:11:12.853Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 15:08 .git [2020-04-21T15:11:12.853Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 21 15:08 .gitignore [2020-04-21T15:11:12.853Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 15:08 .semver [2020-04-21T15:11:12.853Z] -rw-rw-r-- 1 jenkins jenkins 3104 Apr 21 15:08 Attribution.txt [2020-04-21T15:11:12.853Z] -rw-rw-r-- 1 jenkins jenkins 5109 Apr 21 15:08 CHANGES [2020-04-21T15:11:12.853Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 21 15:08 Doxyfile [2020-04-21T15:11:12.853Z] -rw-rw-r-- 1 jenkins jenkins 792 Apr 21 15:08 Jenkinsfile [2020-04-21T15:11:12.853Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 21 15:08 LICENSE [2020-04-21T15:11:12.853Z] -rw-rw-r-- 1 jenkins jenkins 448 Apr 21 15:08 Makefile [2020-04-21T15:11:12.853Z] -rw-rw-r-- 1 jenkins jenkins 1849 Apr 21 15:08 README.md [2020-04-21T15:11:12.853Z] -rw-rw-r-- 1 jenkins jenkins 5287 Apr 21 15:08 README.v2.md [2020-04-21T15:11:12.853Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 21 15:05 VERSION [2020-04-21T15:11:12.853Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 15:08 docs [2020-04-21T15:11:12.853Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 15:08 include [2020-04-21T15:11:12.853Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 15:08 scripts [2020-04-21T15:11:12.853Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 15:08 src [Pipeline] isUnix [Pipeline] sh [2020-04-21T15:11:13.183Z] + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.9 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4fc1725bd211937001b721308f1b583b7c7ba0fb --label arch=arm64 --label version=1.2.0-dev.15 . [2020-04-21T15:11:13.769Z] Sending build context to Docker daemon 2.946MB [2020-04-21T15:11:13.769Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-04-21T15:11:13.769Z] Step 2/15 : FROM ${BASE} [2020-04-21T15:11:13.769Z] ---> 7fd2867d387b [2020-04-21T15:11:13.769Z] Step 3/15 : MAINTAINER IOTech [2020-04-21T15:11:13.769Z] ---> Running in 276fb7636174 [2020-04-21T15:11:14.351Z] Removing intermediate container 276fb7636174 [2020-04-21T15:11:14.351Z] ---> 7d2620104668 [2020-04-21T15:11:14.351Z] 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-04-21T15:11:14.351Z] ---> Running in cddd35a20192 [2020-04-21T15:11:15.311Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-04-21T15:11:15.578Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-04-21T15:11:15.844Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-04-21T15:11:15.844Z] (2/21) Installing openssl-dev (1.1.1d-r2) [2020-04-21T15:11:16.427Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-04-21T15:11:16.427Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-04-21T15:11:16.427Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-04-21T15:11:16.427Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-04-21T15:11:16.427Z] (7/21) Installing gnutls-c++ (3.6.7-r1) [2020-04-21T15:11:16.427Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-04-21T15:11:16.427Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-04-21T15:11:16.427Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-04-21T15:11:17.009Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-04-21T15:11:17.009Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-04-21T15:11:17.009Z] (13/21) Installing gnutls-dev (3.6.7-r1) [2020-04-21T15:11:17.009Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-04-21T15:11:17.276Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-04-21T15:11:17.276Z] (16/21) Installing libblkid (2.33-r0) [2020-04-21T15:11:17.276Z] (17/21) Installing libfdisk (2.33-r0) [2020-04-21T15:11:17.276Z] (18/21) Installing libmount (2.33-r0) [2020-04-21T15:11:17.276Z] (19/21) Installing libsmartcols (2.33-r0) [2020-04-21T15:11:17.276Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-04-21T15:11:17.543Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-04-21T15:11:17.543Z] Executing busybox-1.29.3-r10.trigger [2020-04-21T15:11:17.808Z] OK: 279 MiB in 83 packages [2020-04-21T15:11:21.157Z] Removing intermediate container cddd35a20192 [2020-04-21T15:11:21.157Z] ---> b7fe9fe26b40 [2020-04-21T15:11:21.157Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-04-21T15:11:21.423Z] ---> 3736a92d2484 [2020-04-21T15:11:21.423Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-04-21T15:11:22.390Z] ---> 33c2b7263adc [2020-04-21T15:11:22.390Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-04-21T15:11:22.973Z] ---> 00cbef5e2f87 [2020-04-21T15:11:22.973Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-04-21T15:11:23.238Z] ---> c79529423ef5 [2020-04-21T15:11:23.238Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-04-21T15:11:23.820Z] ---> 7fd7e0a9340d [2020-04-21T15:11:23.820Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-04-21T15:11:24.401Z] ---> 992a90033016 [2020-04-21T15:11:24.401Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-04-21T15:11:24.666Z] ---> Running in 9c7bdef23162 [2020-04-21T15:11:24.933Z] Removing intermediate container 9c7bdef23162 [2020-04-21T15:11:24.933Z] ---> 9bd2cb0717db [2020-04-21T15:11:24.933Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-04-21T15:11:25.199Z] ---> Running in 77c1dcc69624 [2020-04-21T15:11:25.465Z] Removing intermediate container 77c1dcc69624 [2020-04-21T15:11:25.465Z] ---> 100c16921502 [2020-04-21T15:11:25.465Z] Step 13/15 : LABEL arch=arm64 [2020-04-21T15:11:25.731Z] ---> Running in 2849bf7ba6e6 [2020-04-21T15:11:25.997Z] Removing intermediate container 2849bf7ba6e6 [2020-04-21T15:11:25.997Z] ---> c0c4de1b3ff0 [2020-04-21T15:11:25.997Z] Step 14/15 : LABEL git_sha=4fc1725bd211937001b721308f1b583b7c7ba0fb [2020-04-21T15:11:26.263Z] ---> Running in ddc71c7c684f [2020-04-21T15:11:26.529Z] Removing intermediate container ddc71c7c684f [2020-04-21T15:11:26.529Z] ---> f14cc0a3c84a [2020-04-21T15:11:26.529Z] Step 15/15 : LABEL version=1.2.0-dev.15 [2020-04-21T15:11:26.795Z] ---> Running in 2c760ac18e85 [2020-04-21T15:11:27.061Z] Removing intermediate container 2c760ac18e85 [2020-04-21T15:11:27.061Z] ---> 617676c55345 [2020-04-21T15:11:27.061Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-04-21T15:11:27.061Z] Successfully built 617676c55345 [2020-04-21T15:11:27.061Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] 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-04-21T15:11:28.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T15:11:28.645Z] . [Pipeline] withDockerContainer [2020-04-21T15:11:28.758Z] prd-centos7-docker-4c-2g-5258 does not seem to be running inside a container [2020-04-21T15:11:28.804Z] $ 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-04-21T15:11:29.476Z] $ docker top fe625c7f5276f158cd08fe4a26f2e550a0474c646582677ab8126d2db18fcac9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T15:11:29.716Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T15:11:29.717Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T15:11:29.956Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T15:11:29.961Z] $ docker exec fe625c7f5276f158cd08fe4a26f2e550a0474c646582677ab8126d2db18fcac9 ssh-agent [2020-04-21T15:11:30.147Z] SSH_AUTH_SOCK=/tmp/ssh-TEeHB3vPS2CO/agent.15 [2020-04-21T15:11:30.147Z] SSH_AGENT_PID=22 [2020-04-21T15:11:30.154Z] Running ssh-add (command line suppressed) [2020-04-21T15:11:30.299Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4806440451829052696.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4806440451829052696.key) [2020-04-21T15:11:30.346Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T15:11:30.669Z] + git semver tag [2020-04-21T15:11:30.670Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T15:11:30.670Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-04-21T15:11:30.670Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-04-21T15:11:30.670Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T15:11:30.670Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T15:11:30.670Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T15:11:30.670Z] # $SEMVER_BRANCH = master [2020-04-21T15:11:30.670Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-04-21T15:11:30.670Z] # 4fc1725bd211937001b721308f1b583b7c7ba0fb HEAD [2020-04-21T15:11:30.670Z] # -> Force: false [2020-04-21T15:11:30.670Z] # c79029cf566aa82d440fe21f3717611ba66193a4 refs/tags/v1.2.0-dev.15 [Pipeline] } [2020-04-21T15:11:30.679Z] $ docker exec --env ******** --env ******** fe625c7f5276f158cd08fe4a26f2e550a0474c646582677ab8126d2db18fcac9 ssh-agent -k [2020-04-21T15:11:30.813Z] unset SSH_AUTH_SOCK; [2020-04-21T15:11:30.813Z] unset SSH_AGENT_PID; [2020-04-21T15:11:30.814Z] echo Agent pid 22 killed; [2020-04-21T15:11:30.851Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T15:11:31.289Z] + git semver [Pipeline] } [2020-04-21T15:11:31.304Z] $ docker stop --time=1 fe625c7f5276f158cd08fe4a26f2e550a0474c646582677ab8126d2db18fcac9 [2020-04-21T15:11:32.671Z] $ docker rm -f fe625c7f5276f158cd08fe4a26f2e550a0474c646582677ab8126d2db18fcac9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-04-21T15:11:33.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-21T15:11:33.311Z] [2020-04-21T15:11:33.311Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-04-21T15:11:33.639Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-21T15:11:33.639Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-04-21T15:11:33.639Z] ab5ef0e58194: Pulling fs layer [2020-04-21T15:11:33.639Z] 9712f1f96733: Pulling fs layer [2020-04-21T15:11:33.639Z] 63f879dbbcfc: Pulling fs layer [2020-04-21T15:11:33.639Z] 0d9ebad4ef96: Pulling fs layer [2020-04-21T15:11:33.639Z] e9a5061849ea: Pulling fs layer [2020-04-21T15:11:33.639Z] d747dcd14b5f: Pulling fs layer [2020-04-21T15:11:33.639Z] 2de7ff778b66: Pulling fs layer [2020-04-21T15:11:33.639Z] e9a5061849ea: Waiting [2020-04-21T15:11:33.639Z] d747dcd14b5f: Waiting [2020-04-21T15:11:33.639Z] 2de7ff778b66: Waiting [2020-04-21T15:11:33.639Z] 0d9ebad4ef96: Waiting [2020-04-21T15:11:33.639Z] 9712f1f96733: Verifying Checksum [2020-04-21T15:11:33.639Z] 9712f1f96733: Download complete [2020-04-21T15:11:34.596Z] 63f879dbbcfc: Verifying Checksum [2020-04-21T15:11:34.596Z] 63f879dbbcfc: Download complete [2020-04-21T15:11:34.596Z] e9a5061849ea: Verifying Checksum [2020-04-21T15:11:34.596Z] e9a5061849ea: Download complete [2020-04-21T15:11:34.596Z] 0d9ebad4ef96: Verifying Checksum [2020-04-21T15:11:34.596Z] 0d9ebad4ef96: Download complete [2020-04-21T15:11:34.596Z] d747dcd14b5f: Verifying Checksum [2020-04-21T15:11:34.596Z] d747dcd14b5f: Download complete [2020-04-21T15:11:34.856Z] 2de7ff778b66: Verifying Checksum [2020-04-21T15:11:34.856Z] 2de7ff778b66: Download complete [2020-04-21T15:11:34.856Z] ab5ef0e58194: Verifying Checksum [2020-04-21T15:11:34.856Z] ab5ef0e58194: Download complete [2020-04-21T15:11:39.059Z] ab5ef0e58194: Pull complete [2020-04-21T15:11:39.059Z] 9712f1f96733: Pull complete [2020-04-21T15:11:41.594Z] 63f879dbbcfc: Pull complete [2020-04-21T15:11:48.169Z] 0d9ebad4ef96: Pull complete [2020-04-21T15:11:48.169Z] e9a5061849ea: Pull complete [2020-04-21T15:11:48.169Z] d747dcd14b5f: Pull complete [2020-04-21T15:11:52.362Z] 2de7ff778b66: Pull complete [2020-04-21T15:11:52.362Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-04-21T15:11:52.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-04-21T15:11:52.500Z] prd-centos7-docker-4c-2g-5258 does not seem to be running inside a container [2020-04-21T15:11:52.543Z] $ 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-04-21T15:11:53.136Z] $ docker top a6f7f3852bfcae95b181f0f6f2f3534fdf3eeab895be5b2621a2fd4e62197cbe -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-04-21T15:11:53.335Z] provisioning config files... [2020-04-21T15:11:53.347Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config7240186163313497816tmp [2020-04-21T15:11:53.363Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config6461627627732055145tmp [2020-04-21T15:11:53.377Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config8593230271738344442tmp [Pipeline] { [Pipeline] echo [2020-04-21T15:11:53.419Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T15:11:53.711Z] ---> sigul-configuration.sh [2020-04-21T15:11:53.712Z] gpg: directory `/root/.gnupg' created [2020-04-21T15:11:53.712Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-04-21T15:11:53.712Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-04-21T15:11:53.712Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-04-21T15:11:53.712Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-04-21T15:11:53.712Z] gpg: CAST5 encrypted data [2020-04-21T15:11:53.973Z] gpg: encrypted with 1 passphrase [2020-04-21T15:11:53.973Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-04-21T15:11:54.264Z] + mkdir /home/jenkins [2020-04-21T15:11:54.264Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-04-21T15:11:54.552Z] + 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-04-21T15:11:54.560Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T15:11:54.851Z] ---> sigul-install.sh [2020-04-21T15:12:01.422Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-04-21T15:12:01.977Z] + git tag --list [2020-04-21T15:12:01.978Z] v1.2.0-dev.15 [Pipeline] sh [2020-04-21T15:12:02.267Z] + lftools sign git-tag v1.2.0-dev.15 [2020-04-21T15:12:03.644Z] Signing Git tag with Sigul... [2020-04-21T15:12:03.644Z] Signing v1.2.0-dev.15 [Pipeline] echo [2020-04-21T15:12:04.586Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T15:12:04.879Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-04-21T15:12:04.884Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-04-21T15:12:04.957Z] $ docker stop --time=1 a6f7f3852bfcae95b181f0f6f2f3534fdf3eeab895be5b2621a2fd4e62197cbe [2020-04-21T15:12:06.580Z] $ docker rm -f a6f7f3852bfcae95b181f0f6f2f3534fdf3eeab895be5b2621a2fd4e62197cbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-04-21T15:12:07.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T15:12:07.464Z] . [Pipeline] withDockerContainer [2020-04-21T15:12:07.571Z] prd-centos7-docker-4c-2g-5258 does not seem to be running inside a container [2020-04-21T15:12:07.612Z] $ 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-04-21T15:12:08.150Z] $ docker top c9682372e25f487e8bab7ebd8744b0f130a2166e52c540c783a6cf3b5b988677 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T15:12:08.400Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T15:12:08.400Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T15:12:08.606Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T15:12:08.609Z] $ docker exec c9682372e25f487e8bab7ebd8744b0f130a2166e52c540c783a6cf3b5b988677 ssh-agent [2020-04-21T15:12:08.791Z] SSH_AUTH_SOCK=/tmp/ssh-dpOT3M3mwT9U/agent.15 [2020-04-21T15:12:08.791Z] SSH_AGENT_PID=22 [2020-04-21T15:12:08.797Z] Running ssh-add (command line suppressed) [2020-04-21T15:12:08.951Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_3912070998381431763.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_3912070998381431763.key) [2020-04-21T15:12:09.007Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T15:12:09.328Z] + git semver bump pre [2020-04-21T15:12:09.328Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T15:12:09.328Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-04-21T15:12:09.328Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-04-21T15:12:09.328Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T15:12:09.328Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T15:12:09.328Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T15:12:09.328Z] # $SEMVER_BRANCH = master [2020-04-21T15:12:09.328Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-04-21T15:12:09.328Z] 1.2.0-dev.16 [Pipeline] } [2020-04-21T15:12:09.337Z] $ docker exec --env ******** --env ******** c9682372e25f487e8bab7ebd8744b0f130a2166e52c540c783a6cf3b5b988677 ssh-agent -k [2020-04-21T15:12:09.480Z] unset SSH_AUTH_SOCK; [2020-04-21T15:12:09.481Z] unset SSH_AGENT_PID; [2020-04-21T15:12:09.481Z] echo Agent pid 22 killed; [2020-04-21T15:12:09.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T15:12:09.936Z] + git semver [Pipeline] } [2020-04-21T15:12:09.949Z] $ docker stop --time=1 c9682372e25f487e8bab7ebd8744b0f130a2166e52c540c783a6cf3b5b988677 [2020-04-21T15:12:11.324Z] $ docker rm -f c9682372e25f487e8bab7ebd8744b0f130a2166e52c540c783a6cf3b5b988677 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-21T15:12:11.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T15:12:11.905Z] . [Pipeline] withDockerContainer [2020-04-21T15:12:12.027Z] prd-centos7-docker-4c-2g-5258 does not seem to be running inside a container [2020-04-21T15:12:12.118Z] $ 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-04-21T15:12:12.771Z] $ docker top b85059a581c68e80294947321e6bf08b4ee3dd96c08beb5e311ad5058e1a84a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T15:12:13.064Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T15:12:13.064Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T15:12:13.285Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T15:12:13.290Z] $ docker exec b85059a581c68e80294947321e6bf08b4ee3dd96c08beb5e311ad5058e1a84a0 ssh-agent [2020-04-21T15:12:13.469Z] SSH_AUTH_SOCK=/tmp/ssh-XRxpqgvCqg3c/agent.15 [2020-04-21T15:12:13.469Z] SSH_AGENT_PID=21 [2020-04-21T15:12:13.476Z] Running ssh-add (command line suppressed) [2020-04-21T15:12:13.616Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_3012311710701278834.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_3012311710701278834.key) [2020-04-21T15:12:13.664Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T15:12:13.985Z] + git semver push [2020-04-21T15:12:13.985Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T15:12:13.985Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-04-21T15:12:13.985Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-04-21T15:12:13.985Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T15:12:13.985Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T15:12:13.985Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T15:12:13.985Z] # $SEMVER_BRANCH = master [2020-04-21T15:12:13.985Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-04-21T15:12:20.559Z] $ docker exec --env ******** --env ******** b85059a581c68e80294947321e6bf08b4ee3dd96c08beb5e311ad5058e1a84a0 ssh-agent -k [2020-04-21T15:12:20.705Z] unset SSH_AUTH_SOCK; [2020-04-21T15:12:20.705Z] unset SSH_AGENT_PID; [2020-04-21T15:12:20.705Z] echo Agent pid 21 killed; [2020-04-21T15:12:20.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T15:12:21.261Z] + git semver [Pipeline] } [2020-04-21T15:12:21.275Z] $ docker stop --time=1 b85059a581c68e80294947321e6bf08b4ee3dd96c08beb5e311ad5058e1a84a0 [2020-04-21T15:12:22.621Z] $ docker rm -f b85059a581c68e80294947321e6bf08b4ee3dd96c08beb5e311ad5058e1a84a0 [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-04-21T15:12:23.368Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T15:12:23.669Z] ---> package-listing.sh [2020-04-21T15:12:23.669Z] ++ facter osfamily [2020-04-21T15:12:23.669Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-21T15:12:23.669Z] + OS_FAMILY=redhat [2020-04-21T15:12:23.669Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_master [2020-04-21T15:12:23.669Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-21T15:12:23.669Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-21T15:12:23.669Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-21T15:12:23.669Z] + PACKAGES=/tmp/packages_start.txt [2020-04-21T15:12:23.669Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-04-21T15:12:23.669Z] + PACKAGES=/tmp/packages_end.txt [2020-04-21T15:12:23.669Z] + case "${OS_FAMILY}" in [2020-04-21T15:12:23.669Z] + rpm -qa [2020-04-21T15:12:23.669Z] + sort [2020-04-21T15:12:27.872Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-21T15:12:27.872Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-21T15:12:27.872Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-21T15:12:27.872Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-04-21T15:12:27.872Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [2020-04-21T15:12:27.872Z] + 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-04-21T15:12:28.864Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T15:12:28.864Z] [2020-04-21T15:12:28.864Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-21T15:12:29.195Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T15:12:29.195Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-21T15:12:29.195Z] c9b1b535fdd9: Pulling fs layer [2020-04-21T15:12:29.195Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-21T15:12:29.195Z] 756a868c4378: Pulling fs layer [2020-04-21T15:12:29.195Z] 444b2fc9a129: Pulling fs layer [2020-04-21T15:12:29.195Z] ea15f1150254: Pulling fs layer [2020-04-21T15:12:29.195Z] 41b27a9f41bf: Pulling fs layer [2020-04-21T15:12:29.195Z] 28c525ee5125: Pulling fs layer [2020-04-21T15:12:29.195Z] 094b1ea09ed8: Pulling fs layer [2020-04-21T15:12:29.195Z] 138eaada9080: Pulling fs layer [2020-04-21T15:12:29.195Z] 0622d0fa9048: Pulling fs layer [2020-04-21T15:12:29.195Z] 444b2fc9a129: Waiting [2020-04-21T15:12:29.195Z] ea15f1150254: Waiting [2020-04-21T15:12:29.195Z] 41b27a9f41bf: Waiting [2020-04-21T15:12:29.195Z] 28c525ee5125: Waiting [2020-04-21T15:12:29.195Z] 094b1ea09ed8: Waiting [2020-04-21T15:12:29.195Z] 138eaada9080: Waiting [2020-04-21T15:12:29.195Z] 0622d0fa9048: Waiting [2020-04-21T15:12:29.195Z] 2cc5ad85d9ab: Download complete [2020-04-21T15:12:29.195Z] 444b2fc9a129: Verifying Checksum [2020-04-21T15:12:29.195Z] 444b2fc9a129: Download complete [2020-04-21T15:12:29.457Z] c9b1b535fdd9: Verifying Checksum [2020-04-21T15:12:29.457Z] c9b1b535fdd9: Download complete [2020-04-21T15:12:29.457Z] ea15f1150254: Download complete [2020-04-21T15:12:29.457Z] 28c525ee5125: Verifying Checksum [2020-04-21T15:12:29.457Z] 28c525ee5125: Download complete [2020-04-21T15:12:29.721Z] 756a868c4378: Verifying Checksum [2020-04-21T15:12:29.721Z] 756a868c4378: Download complete [2020-04-21T15:12:29.982Z] 094b1ea09ed8: Verifying Checksum [2020-04-21T15:12:29.982Z] 094b1ea09ed8: Download complete [2020-04-21T15:12:29.982Z] 0622d0fa9048: Verifying Checksum [2020-04-21T15:12:29.982Z] 0622d0fa9048: Download complete [2020-04-21T15:12:29.982Z] 138eaada9080: Verifying Checksum [2020-04-21T15:12:29.982Z] 138eaada9080: Download complete [2020-04-21T15:12:30.551Z] 41b27a9f41bf: Verifying Checksum [2020-04-21T15:12:30.551Z] 41b27a9f41bf: Download complete [2020-04-21T15:12:31.118Z] c9b1b535fdd9: Pull complete [2020-04-21T15:12:31.118Z] 2cc5ad85d9ab: Pull complete [2020-04-21T15:12:32.496Z] 756a868c4378: Pull complete [2020-04-21T15:12:32.496Z] 444b2fc9a129: Pull complete [2020-04-21T15:12:32.755Z] ea15f1150254: Pull complete [2020-04-21T15:12:36.042Z] 41b27a9f41bf: Pull complete [2020-04-21T15:12:36.042Z] 28c525ee5125: Pull complete [2020-04-21T15:12:37.946Z] 094b1ea09ed8: Pull complete [2020-04-21T15:12:38.205Z] 138eaada9080: Pull complete [2020-04-21T15:12:38.205Z] 0622d0fa9048: Pull complete [2020-04-21T15:12:38.463Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-21T15:12:38.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-21T15:12:38.575Z] prd-centos7-docker-4c-2g-5258 does not seem to be running inside a container [2020-04-21T15:12:38.619Z] $ 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-04-21T15:12:39.136Z] $ docker top 81d3044e43ea23b63cc8c5abbda95a488c4b59885a6edb3a749ffaf395acb1f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T15:12:39.339Z] provisioning config files... [2020-04-21T15:12:39.367Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config4250321533889106941tmp [Pipeline] { [Pipeline] echo [2020-04-21T15:12:39.413Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T15:12:39.708Z] ---> create-netrc.sh [Pipeline] echo [2020-04-21T15:12:39.717Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T15:12:40.010Z] ---> logs-deploy.sh [2020-04-21T15:12:40.010Z] + ARCHIVE_ARTIFACTS= [2020-04-21T15:12:40.010Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-21T15:12:40.010Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-21T15:12:40.010Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-21T15:12:40.010Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/15 [2020-04-21T15:12:40.010Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/15/ [2020-04-21T15:12:40.010Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/15 /w/workspace/edgexfoundry_device-sdk-c_master [2020-04-21T15:12:40.946Z] Archives upload complete. [2020-04-21T15:12:41.205Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/15 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/15/