Pull request #248 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 9bbc10b8fe27f41404d5d651dc9376adbd83064e+a76fee4735da9c07c26f8252a21595d1aad09861 (f8d182b6c82203459053670afb9ae70e9ce8c7dd) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4290 in /w/workspace/edgexfoundry_device-sdk-c_PR-248 [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 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-248 # 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 Fetching without tags > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/248/head:refs/remotes/origin/PR-248 +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/pull/248/head:refs/remotes/origin/PR-248 # 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/pull/248/head:refs/remotes/origin/PR-248 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit a76fee4735da9c07c26f8252a21595d1aad09861 into PR head commit 9bbc10b8fe27f41404d5d651dc9376adbd83064e Merge succeeded, producing 9bbc10b8fe27f41404d5d651dc9376adbd83064e Checking out Revision 9bbc10b8fe27f41404d5d651dc9376adbd83064e (PR-248) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bbc10b8fe27f41404d5d651dc9376adbd83064e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a76fee4735da9c07c26f8252a21595d1aad09861 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9bbc10b8fe27f41404d5d651dc9376adbd83064e # timeout=10 Commit message: "Bring configuration behaviour into line with go-mod-bootstrap" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-16T14:31:16.659Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-16T14:31:16.868Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-16T14:31:16.940Z] ========================================================= [2020-04-16T14:31:16.941Z] EdgeX Global Pipelines Version Info [2020-04-16T14:31:16.941Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 63cf5fa9e6962e0da07888bcd30081226d81fcd4 # timeout=10 [2020-04-16T14:31:19.479Z] ------------------- [2020-04-16T14:31:19.479Z] stable info: [2020-04-16T14:31:19.479Z] ------------------- [2020-04-16T14:31:19.480Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-16T14:31:19.480Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T14:31:19.480Z] Message: update stable to v1.0.73 [2020-04-16T14:31:20.443Z] ------------------- [2020-04-16T14:31:20.443Z] experimental info: [2020-04-16T14:31:20.443Z] ------------------- [2020-04-16T14:31:20.443Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-16T14:31:20.443Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T14:31:20.443Z] 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-16T14:31:22.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T14:31:22.576Z] [2020-04-16T14:31:22.576Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:31:22.999Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T14:31:23.391Z] latest: Pulling from edgex-devops/git-semver [2020-04-16T14:31:23.391Z] 9123ac7c32f7: Pulling fs layer [2020-04-16T14:31:23.391Z] b8cc5d1170e3: Pulling fs layer [2020-04-16T14:31:23.391Z] 2924cbbf6a41: Pulling fs layer [2020-04-16T14:31:23.391Z] 93b08a4f1073: Pulling fs layer [2020-04-16T14:31:23.391Z] 93b08a4f1073: Waiting [2020-04-16T14:31:23.391Z] b8cc5d1170e3: Verifying Checksum [2020-04-16T14:31:23.391Z] b8cc5d1170e3: Download complete [2020-04-16T14:31:24.256Z] 9123ac7c32f7: Verifying Checksum [2020-04-16T14:31:24.257Z] 9123ac7c32f7: Download complete [2020-04-16T14:31:24.257Z] 93b08a4f1073: Verifying Checksum [2020-04-16T14:31:24.257Z] 93b08a4f1073: Download complete [2020-04-16T14:31:24.533Z] 2924cbbf6a41: Verifying Checksum [2020-04-16T14:31:24.533Z] 2924cbbf6a41: Download complete [2020-04-16T14:31:25.191Z] 9123ac7c32f7: Pull complete [2020-04-16T14:31:25.191Z] b8cc5d1170e3: Pull complete [2020-04-16T14:31:26.657Z] 2924cbbf6a41: Pull complete [2020-04-16T14:31:26.919Z] 93b08a4f1073: Pull complete [2020-04-16T14:31:26.919Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-16T14:31:26.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-16T14:31:27.246Z] prd-centos7-docker-4c-2g-4290 does not seem to be running inside a container [2020-04-16T14:31:27.367Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-248 -v /w/workspace/edgexfoundry_device-sdk-c_PR-248:/w/workspace/edgexfoundry_device-sdk-c_PR-248:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-248@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-248@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-16T14:31:28.652Z] $ docker top ddbc235fa5e216985aae231c00b321e5c8b56f6b8453d9658b0a0c48212985ed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-16T14:31:29.108Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T14:31:29.108Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T14:31:29.710Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T14:31:29.718Z] $ docker exec ddbc235fa5e216985aae231c00b321e5c8b56f6b8453d9658b0a0c48212985ed ssh-agent [2020-04-16T14:31:30.264Z] SSH_AUTH_SOCK=/tmp/ssh-Z3PxhruCAr2D/agent.15 [2020-04-16T14:31:30.264Z] SSH_AGENT_PID=21 [2020-04-16T14:31:30.300Z] Running ssh-add (command line suppressed) [2020-04-16T14:31:30.754Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-248@tmp/private_key_1706233330344559357.key (/w/workspace/edgexfoundry_device-sdk-c_PR-248@tmp/private_key_1706233330344559357.key) [2020-04-16T14:31:30.915Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T14:31:31.993Z] + git describe --exact-match --tags HEAD [2020-04-16T14:31:31.993Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-16T14:31:32.252Z] $ docker exec --env ******** --env ******** ddbc235fa5e216985aae231c00b321e5c8b56f6b8453d9658b0a0c48212985ed ssh-agent -k [2020-04-16T14:31:32.616Z] unset SSH_AUTH_SOCK; [2020-04-16T14:31:32.616Z] unset SSH_AGENT_PID; [2020-04-16T14:31:32.616Z] echo Agent pid 21 killed; [2020-04-16T14:31:32.737Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-16T14:31:32.804Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-16T14:31:32.804Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-16T14:31:32.899Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T14:31:32.899Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T14:31:33.403Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T14:31:33.408Z] $ docker exec ddbc235fa5e216985aae231c00b321e5c8b56f6b8453d9658b0a0c48212985ed ssh-agent [2020-04-16T14:31:34.422Z] SSH_AUTH_SOCK=/tmp/ssh-D7LKs8uHowqc/agent.55 [2020-04-16T14:31:34.422Z] SSH_AGENT_PID=61 [2020-04-16T14:31:34.434Z] Running ssh-add (command line suppressed) [2020-04-16T14:31:34.913Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-248@tmp/private_key_7806716447174108602.key (/w/workspace/edgexfoundry_device-sdk-c_PR-248@tmp/private_key_7806716447174108602.key) [2020-04-16T14:31:35.153Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T14:31:36.257Z] + git semver init [2020-04-16T14:31:36.257Z] # -> Open(): unable to determine branch for HEAD [2020-04-16T14:31:36.257Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-248/.git [2020-04-16T14:31:36.257Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-248 [2020-04-16T14:31:36.257Z] # $SEMVER_REMOTE_NAME = origin [2020-04-16T14:31:36.257Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-16T14:31:36.257Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-16T14:31:36.257Z] # $SEMVER_BRANCH = PR-248 [2020-04-16T14:31:36.257Z] # $SEMVER_TEMP = /tmp/semver-334405176 [2020-04-16T14:31:36.257Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-04-16T14:31:37.272Z] # '/tmp/semver-334405176' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-248/.semver' [2020-04-16T14:31:37.272Z] # -> Force: false [2020-04-16T14:31:37.272Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-248/.semver [Pipeline] } [2020-04-16T14:31:37.381Z] $ docker exec --env ******** --env ******** ddbc235fa5e216985aae231c00b321e5c8b56f6b8453d9658b0a0c48212985ed ssh-agent -k [2020-04-16T14:31:37.967Z] unset SSH_AUTH_SOCK; [2020-04-16T14:31:37.967Z] unset SSH_AGENT_PID; [2020-04-16T14:31:37.967Z] echo Agent pid 61 killed; [2020-04-16T14:31:38.055Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-16T14:31:39.266Z] + git semver [Pipeline] } [2020-04-16T14:31:39.336Z] $ docker stop --time=1 ddbc235fa5e216985aae231c00b321e5c8b56f6b8453d9658b0a0c48212985ed [2020-04-16T14:31:41.178Z] $ docker rm -f ddbc235fa5e216985aae231c00b321e5c8b56f6b8453d9658b0a0c48212985ed [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-16T14:31:42.469Z] Stashed 37 file(s) [Pipeline] echo [2020-04-16T14:31:42.471Z] [edgeXSemver] initialized semver on version 0.0.0 [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-16T14:31:57.725Z] Still waiting to schedule task [2020-04-16T14:31:57.725Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-16T14:31:57.727Z] Still waiting to schedule task [2020-04-16T14:31:57.727Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-16T14:35:26.454Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4293 in /w/workspace/edgexfoundry_device-sdk-c_PR-248 [Pipeline] { [2020-04-16T14:35:26.459Z] Running on prd-centos7-docker-4c-2g-4292 in /w/workspace/edgexfoundry_device-sdk-c_PR-248 [Pipeline] { [Pipeline] ws [2020-04-16T14:35:26.520Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] ws [2020-04-16T14:35:26.523Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [Pipeline] checkout [2020-04-16T14:35:32.324Z] using credential edgex-jenkins-ssh [2020-04-16T14:35:32.372Z] Cloning the remote Git repository [2020-04-16T14:35:32.372Z] Cloning with configured refspecs honoured and without tags [2020-04-16T14:35:32.420Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-04-16T14:35:32.523Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2020-04-16T14:35:32.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-04-16T14:35:32.665Z] > git --version # timeout=10 [2020-04-16T14:35:32.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:35:32.767Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/248/head:refs/remotes/origin/PR-248 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:35:33.815Z] Fetching without tags [2020-04-16T14:35:34.291Z] Merging remotes/origin/master commit a76fee4735da9c07c26f8252a21595d1aad09861 into PR head commit 9bbc10b8fe27f41404d5d651dc9376adbd83064e [2020-04-16T14:35:33.694Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-04-16T14:35:33.738Z] > git config --add remote.origin.fetch +refs/pull/248/head:refs/remotes/origin/PR-248 # timeout=10 [2020-04-16T14:35:33.757Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:35:33.780Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-04-16T14:35:33.818Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-04-16T14:35:33.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:35:33.833Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/248/head:refs/remotes/origin/PR-248 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:35:34.300Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:35:34.318Z] > git checkout -f 9bbc10b8fe27f41404d5d651dc9376adbd83064e # timeout=10 [2020-04-16T14:35:34.594Z] Merge succeeded, producing 9bbc10b8fe27f41404d5d651dc9376adbd83064e [2020-04-16T14:35:34.595Z] Checking out Revision 9bbc10b8fe27f41404d5d651dc9376adbd83064e (PR-248) [2020-04-16T14:35:34.437Z] > git remote # timeout=10 [2020-04-16T14:35:34.468Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T14:35:34.511Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:35:34.525Z] > git merge a76fee4735da9c07c26f8252a21595d1aad09861 # timeout=10 [2020-04-16T14:35:34.565Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T14:35:34.593Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:35:34.678Z] > git checkout -f 9bbc10b8fe27f41404d5d651dc9376adbd83064e # timeout=10 [2020-04-16T14:35:35.965Z] using credential edgex-jenkins-ssh [2020-04-16T14:35:36.018Z] Cloning the remote Git repository [2020-04-16T14:35:36.018Z] Cloning with configured refspecs honoured and without tags [2020-04-16T14:35:36.082Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-04-16T14:35:36.198Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2020-04-16T14:35:36.319Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-04-16T14:35:36.321Z] > git --version # timeout=10 [2020-04-16T14:35:36.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:35:36.644Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/248/head:refs/remotes/origin/PR-248 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:35:37.778Z] Fetching without tags [2020-04-16T14:35:38.240Z] Merging remotes/origin/master commit a76fee4735da9c07c26f8252a21595d1aad09861 into PR head commit 9bbc10b8fe27f41404d5d651dc9376adbd83064e [2020-04-16T14:35:38.601Z] Merge succeeded, producing 9bbc10b8fe27f41404d5d651dc9376adbd83064e [2020-04-16T14:35:38.602Z] Checking out Revision 9bbc10b8fe27f41404d5d651dc9376adbd83064e (PR-248) [2020-04-16T14:35:37.675Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-04-16T14:35:37.694Z] > git config --add remote.origin.fetch +refs/pull/248/head:refs/remotes/origin/PR-248 # timeout=10 [2020-04-16T14:35:37.705Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:35:37.739Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-04-16T14:35:37.782Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-04-16T14:35:37.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:35:37.788Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/248/head:refs/remotes/origin/PR-248 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:35:38.249Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:35:38.318Z] > git checkout -f 9bbc10b8fe27f41404d5d651dc9376adbd83064e # timeout=10 [2020-04-16T14:35:38.428Z] > git remote # timeout=10 [2020-04-16T14:35:38.499Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T14:35:38.541Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:35:38.550Z] > git merge a76fee4735da9c07c26f8252a21595d1aad09861 # timeout=10 [2020-04-16T14:35:38.590Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T14:35:38.605Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:35:38.673Z] > git checkout -f 9bbc10b8fe27f41404d5d651dc9376adbd83064e # timeout=10 [2020-04-16T14:35:39.507Z] Commit message: "Bring configuration behaviour into line with go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T14:35:40.665Z] ========================================================= [2020-04-16T14:35:40.665Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-04-16T14:35:40.665Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:35:41.837Z] + 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-16T14:35:42.799Z] Sending build context to Docker daemon 3.003MB [2020-04-16T14:35:42.799Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-04-16T14:35:42.799Z] Step 2/21 : FROM ${BASE} as builder [2020-04-16T14:35:43.071Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-04-16T14:35:43.071Z] 0362ad1dd800: Pulling fs layer [2020-04-16T14:35:43.071Z] f2cdb1532d8b: Pulling fs layer [2020-04-16T14:35:43.071Z] 37ed683be191: Pulling fs layer [2020-04-16T14:35:43.071Z] f2cdb1532d8b: Verifying Checksum [2020-04-16T14:35:43.071Z] f2cdb1532d8b: Download complete [2020-04-16T14:35:43.344Z] 0362ad1dd800: Verifying Checksum [2020-04-16T14:35:43.344Z] 0362ad1dd800: Download complete [2020-04-16T14:35:43.867Z] Commit message: "Bring configuration behaviour into line with go-mod-bootstrap" [2020-04-16T14:35:43.960Z] 0362ad1dd800: Pull complete [Pipeline] withEnv [Pipeline] { [2020-04-16T14:35:44.234Z] f2cdb1532d8b: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T14:35:45.894Z] ========================================================= [2020-04-16T14:35:45.894Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-04-16T14:35:45.894Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:35:47.233Z] + 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-16T14:35:47.839Z] Sending build context to Docker daemon 3.003MB [2020-04-16T14:35:47.839Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-04-16T14:35:47.839Z] Step 2/21 : FROM ${BASE} as builder [2020-04-16T14:35:47.839Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-04-16T14:35:47.839Z] e7c96db7181b: Pulling fs layer [2020-04-16T14:35:47.839Z] 4c13bbce0fe7: Pulling fs layer [2020-04-16T14:35:47.839Z] 6059c847ac2f: Pulling fs layer [2020-04-16T14:35:48.160Z] 4c13bbce0fe7: Verifying Checksum [2020-04-16T14:35:48.160Z] 4c13bbce0fe7: Download complete [2020-04-16T14:35:49.021Z] e7c96db7181b: Verifying Checksum [2020-04-16T14:35:49.021Z] e7c96db7181b: Download complete [2020-04-16T14:35:49.335Z] e7c96db7181b: Pull complete [2020-04-16T14:35:49.335Z] 4c13bbce0fe7: Pull complete [2020-04-16T14:35:51.430Z] 6059c847ac2f: Verifying Checksum [2020-04-16T14:35:51.430Z] 6059c847ac2f: Download complete [2020-04-16T14:35:52.457Z] 37ed683be191: Verifying Checksum [2020-04-16T14:35:52.457Z] 37ed683be191: Download complete [2020-04-16T14:35:58.383Z] 6059c847ac2f: Pull complete [2020-04-16T14:35:58.655Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-04-16T14:35:58.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-04-16T14:35:58.655Z] ---> 5eabd8fd8ba2 [2020-04-16T14:35:58.655Z] 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-16T14:35:58.935Z] ---> Running in e87448df3129 [2020-04-16T14:35:59.541Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-04-16T14:36:00.494Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-04-16T14:36:00.662Z] 37ed683be191: Pull complete [2020-04-16T14:36:00.662Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-04-16T14:36:00.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-04-16T14:36:00.662Z] ---> b23d30803547 [2020-04-16T14:36:00.662Z] 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-16T14:36:00.758Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-04-16T14:36:01.018Z] (2/8) Installing libuuid (2.33-r0) [2020-04-16T14:36:01.018Z] (3/8) Installing libblkid (2.33-r0) [2020-04-16T14:36:01.279Z] (4/8) Installing libfdisk (2.33-r0) [2020-04-16T14:36:01.279Z] (5/8) Installing libmount (2.33-r0) [2020-04-16T14:36:01.279Z] (6/8) Installing libsmartcols (2.33-r0) [2020-04-16T14:36:01.550Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-04-16T14:36:01.850Z] (8/8) Installing wget (1.20.3-r0) [2020-04-16T14:36:01.850Z] Executing busybox-1.29.3-r10.trigger [2020-04-16T14:36:01.850Z] OK: 272 MiB in 83 packages [2020-04-16T14:36:02.070Z] ---> Running in bf183c3f65cf [2020-04-16T14:36:02.431Z] Removing intermediate container e87448df3129 [2020-04-16T14:36:02.431Z] ---> 2c58f310915e [2020-04-16T14:36:02.431Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-04-16T14:36:02.700Z] ---> Running in c60d06790b79 [2020-04-16T14:36:02.700Z] Removing intermediate container c60d06790b79 [2020-04-16T14:36:02.700Z] ---> a091aeae82f6 [2020-04-16T14:36:02.700Z] 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-16T14:36:02.981Z] ---> Running in ed51bef382c2 [2020-04-16T14:36:03.043Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-04-16T14:36:03.576Z] --2020-04-16 14:36:03-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-04-16T14:36:03.576Z] Resolving github.com... 140.82.112.4 [2020-04-16T14:36:03.576Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-04-16T14:36:03.576Z] HTTP request sent, awaiting response... 302 Found [2020-04-16T14:36:03.576Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-04-16T14:36:03.576Z] --2020-04-16 14:36:03-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-04-16T14:36:03.576Z] Resolving codeload.github.com... 140.82.114.10 [2020-04-16T14:36:03.576Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-04-16T14:36:03.576Z] HTTP request sent, awaiting response... 200 OK [2020-04-16T14:36:03.576Z] Length: 719348 (702K) [application/x-gzip] [2020-04-16T14:36:03.576Z] Saving to: 'STDOUT' [2020-04-16T14:36:03.576Z] [2020-04-16T14:36:03.868Z] 0K .......... .......... .......... .......... .......... 7% 1.50M 0s [2020-04-16T14:36:03.868Z] 50K .......... .......... .......... .......... .......... 14% 2.41M 0s [2020-04-16T14:36:03.868Z] 100K .......... .......... .......... .......... .......... 21% 10.3M 0s [2020-04-16T14:36:03.868Z] 150K .......... .......... .......... .......... .......... 28% 4.71M 0s [2020-04-16T14:36:03.868Z] 200K .......... .......... .......... .......... .......... 35% 23.4M 0s [2020-04-16T14:36:03.868Z] 250K .......... .......... .......... .......... .......... 42% 2.36M 0s [2020-04-16T14:36:03.868Z] 300K .......... .......... .......... .......... .......... 49% 4.25M 0s [2020-04-16T14:36:03.868Z] 350K .......... .......... .......... .......... .......... 56% 5.51M 0s [2020-04-16T14:36:03.868Z] 400K .......... .......... .......... .......... .......... 64% 4.31M 0s [2020-04-16T14:36:03.868Z] 450K .......... .......... .......... .......... .......... 71% 5.13M 0s [2020-04-16T14:36:03.868Z] 500K .......... .......... .......... .......... .......... 78% 24.1M 0s [2020-04-16T14:36:03.868Z] 550K .......... .......... .......... .......... .......... 85% 8.84M 0s [2020-04-16T14:36:03.868Z] 600K .......... .......... .......... .......... .......... 92% 2.29M 0s [2020-04-16T14:36:03.868Z] 650K .......... .......... .......... .......... .......... 99% 2.91M 0s [2020-04-16T14:36:03.868Z] 700K .. 100% 4746G=0.2s [2020-04-16T14:36:03.868Z] [2020-04-16T14:36:03.868Z] 2020-04-16 14:36:03 (3.86 MB/s) - written to stdout [719348/719348] [2020-04-16T14:36:03.868Z] [2020-04-16T14:36:04.006Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-04-16T14:36:04.163Z] -- The C compiler identification is GNU 8.3.0 [2020-04-16T14:36:04.164Z] -- The CXX compiler identification is GNU 8.3.0 [2020-04-16T14:36:04.164Z] -- Check for working C compiler: /usr/bin/cc [2020-04-16T14:36:04.164Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-16T14:36:04.164Z] -- Detecting C compiler ABI info [2020-04-16T14:36:04.273Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-04-16T14:36:04.450Z] -- Detecting C compiler ABI info - done [2020-04-16T14:36:04.450Z] -- Detecting C compile features [2020-04-16T14:36:04.538Z] (2/8) Installing libuuid (2.33-r0) [2020-04-16T14:36:04.538Z] (3/8) Installing libblkid (2.33-r0) [2020-04-16T14:36:04.538Z] (4/8) Installing libfdisk (2.33-r0) [2020-04-16T14:36:04.715Z] -- Detecting C compile features - done [2020-04-16T14:36:04.715Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-04-16T14:36:04.804Z] (5/8) Installing libmount (2.33-r0) [2020-04-16T14:36:04.804Z] (6/8) Installing libsmartcols (2.33-r0) [2020-04-16T14:36:04.804Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-04-16T14:36:04.978Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-04-16T14:36:04.978Z] -- Detecting CXX compiler ABI info [2020-04-16T14:36:04.978Z] -- Detecting CXX compiler ABI info - done [2020-04-16T14:36:04.978Z] -- Detecting CXX compile features [2020-04-16T14:36:05.386Z] (8/8) Installing wget (1.20.3-r0) [2020-04-16T14:36:05.386Z] Executing busybox-1.29.3-r10.trigger [2020-04-16T14:36:05.386Z] OK: 285 MiB in 83 packages [2020-04-16T14:36:05.943Z] -- Detecting CXX compile features - done [2020-04-16T14:36:05.943Z] -- Looking for include file endian.h [2020-04-16T14:36:05.943Z] -- Looking for include file endian.h - found [2020-04-16T14:36:05.943Z] -- Check if the system is big endian [2020-04-16T14:36:05.943Z] -- Searching 16 bit integer [2020-04-16T14:36:05.943Z] -- Looking for sys/types.h [2020-04-16T14:36:06.215Z] -- Looking for sys/types.h - found [2020-04-16T14:36:06.215Z] -- Looking for stdint.h [2020-04-16T14:36:06.215Z] -- Looking for stdint.h - found [2020-04-16T14:36:06.215Z] -- Looking for stddef.h [2020-04-16T14:36:06.215Z] -- Looking for stddef.h - found [2020-04-16T14:36:06.215Z] -- Check size of unsigned short [2020-04-16T14:36:06.492Z] -- Check size of unsigned short - done [2020-04-16T14:36:06.492Z] -- Using unsigned short [2020-04-16T14:36:06.492Z] -- Check if the system is big endian - little endian [2020-04-16T14:36:06.492Z] -- Check size of size_t [2020-04-16T14:36:06.770Z] -- Check size of size_t - done [2020-04-16T14:36:06.770Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-04-16T14:36:06.770Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-04-16T14:36:06.770Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-04-16T14:36:06.770Z] CMake did not find one. [2020-04-16T14:36:06.770Z] [2020-04-16T14:36:06.770Z] Could not find a package configuration file provided by "cJSON" with any of [2020-04-16T14:36:06.770Z] the following names: [2020-04-16T14:36:06.770Z] [2020-04-16T14:36:06.770Z] cJSONConfig.cmake [2020-04-16T14:36:06.770Z] cjson-config.cmake [2020-04-16T14:36:06.770Z] [2020-04-16T14:36:06.770Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-04-16T14:36:06.770Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-04-16T14:36:06.770Z] provides a separate development package or SDK, be sure it has been [2020-04-16T14:36:06.770Z] installed. [2020-04-16T14:36:06.770Z] [2020-04-16T14:36:06.770Z] [2020-04-16T14:36:06.770Z] -- Configuring done [2020-04-16T14:36:06.770Z] -- Generating done [2020-04-16T14:36:06.770Z] -- Build files have been written to: /tmp/cbor [2020-04-16T14:36:06.810Z] Removing intermediate container bf183c3f65cf [2020-04-16T14:36:06.810Z] ---> f47f22664917 [2020-04-16T14:36:06.810Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-04-16T14:36:07.053Z] Scanning dependencies of target cbor_shared [2020-04-16T14:36:07.053Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-04-16T14:36:07.079Z] ---> Running in 153c5a473c32 [2020-04-16T14:36:07.348Z] Removing intermediate container 153c5a473c32 [2020-04-16T14:36:07.348Z] ---> fb545f75ee4d [2020-04-16T14:36:07.348Z] 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-16T14:36:07.372Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-04-16T14:36:07.618Z] ---> Running in c343576273a4 [2020-04-16T14:36:07.760Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-04-16T14:36:07.760Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-04-16T14:36:08.099Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-04-16T14:36:08.099Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-04-16T14:36:08.099Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-04-16T14:36:08.099Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-04-16T14:36:08.456Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-04-16T14:36:08.456Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-04-16T14:36:08.583Z] --2020-04-16 14:36:08-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-04-16T14:36:08.583Z] Resolving github.com... 140.82.113.3 [2020-04-16T14:36:08.583Z] Connecting to github.com|140.82.113.3|:443... connected. [2020-04-16T14:36:08.583Z] HTTP request sent, awaiting response... 302 Found [2020-04-16T14:36:08.583Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-04-16T14:36:08.583Z] --2020-04-16 14:36:08-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-04-16T14:36:08.583Z] Resolving codeload.github.com... 140.82.114.10 [2020-04-16T14:36:08.583Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-04-16T14:36:08.742Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-04-16T14:36:08.855Z] HTTP request sent, awaiting response... 200 OK [2020-04-16T14:36:08.855Z] Length: 719348 (702K) [application/x-gzip] [2020-04-16T14:36:08.855Z] Saving to: 'STDOUT' [2020-04-16T14:36:08.855Z] [2020-04-16T14:36:08.855Z] 0K .......... .......... .......... .......... .......... 7% 1.30M 0s [2020-04-16T14:36:08.855Z] 50K .......... .......... .......... .......... .......... 14% 2.67M 0s [2020-04-16T14:36:08.855Z] 100K .......... .......... .......... .......... .......... 21% 10.0M 0s [2020-04-16T14:36:08.855Z] 150K .......... .......... .......... .......... .......... 28% 3.92M 0s [2020-04-16T14:36:08.855Z] 200K .......... .......... .......... .......... .......... 35% 11.0M 0s [2020-04-16T14:36:08.855Z] 250K .......... .......... .......... .......... .......... 42% 4.19M 0s [2020-04-16T14:36:08.855Z] 300K .......... .......... .......... .......... .......... 49% 3.37M 0s [2020-04-16T14:36:08.855Z] 350K .......... .......... .......... .......... .......... 56% 9.67M 0s [2020-04-16T14:36:08.855Z] 400K .......... .......... .......... .......... .......... 64% 3.12M 0s [2020-04-16T14:36:08.855Z] 450K .......... .......... .......... .......... .......... 71% 3.58M 0s [2020-04-16T14:36:08.855Z] 500K .......... .......... .......... .......... .......... 78% 5.67M 0s [2020-04-16T14:36:08.855Z] 550K .......... .......... .......... .......... .......... 85% 4.08M 0s [2020-04-16T14:36:08.855Z] 600K .......... .......... .......... .......... .......... 92% 1.25M 0s [2020-04-16T14:36:08.855Z] 650K .......... .......... .......... .......... .......... 99% 1.22M 0s [2020-04-16T14:36:08.855Z] 700K ..   100% 4746G=0.2s [2020-04-16T14:36:08.855Z] [2020-04-16T14:36:08.855Z] 2020-04-16 14:36:08 (2.88 MB/s) - written to stdout [719348/719348] [2020-04-16T14:36:08.855Z] [2020-04-16T14:36:09.035Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-04-16T14:36:09.035Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-04-16T14:36:09.394Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-04-16T14:36:09.394Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-04-16T14:36:09.394Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-04-16T14:36:09.443Z] -- The C compiler identification is GNU 8.3.0 [2020-04-16T14:36:09.443Z] -- The CXX compiler identification is GNU 8.3.0 [2020-04-16T14:36:09.704Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-04-16T14:36:09.710Z] -- Check for working C compiler: /usr/bin/cc [2020-04-16T14:36:09.710Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-16T14:36:09.710Z] -- Detecting C compiler ABI info [2020-04-16T14:36:09.978Z] -- Detecting C compiler ABI info - done [2020-04-16T14:36:10.015Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-04-16T14:36:10.015Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-04-16T14:36:10.015Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-04-16T14:36:10.015Z] [ 40%] Linking C shared library libcbor.so [2020-04-16T14:36:10.245Z] -- Detecting C compile features [2020-04-16T14:36:10.348Z] [ 40%] Built target cbor_shared [2020-04-16T14:36:10.348Z] Scanning dependencies of target cbor [2020-04-16T14:36:10.348Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-04-16T14:36:10.348Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-04-16T14:36:10.632Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-04-16T14:36:10.832Z] -- Detecting C compile features - done [2020-04-16T14:36:10.832Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-04-16T14:36:10.944Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-04-16T14:36:11.099Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-04-16T14:36:11.099Z] -- Detecting CXX compiler ABI info [2020-04-16T14:36:11.293Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-04-16T14:36:11.293Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-04-16T14:36:11.367Z] -- Detecting CXX compiler ABI info - done [2020-04-16T14:36:11.367Z] -- Detecting CXX compile features [2020-04-16T14:36:11.655Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-04-16T14:36:11.655Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-04-16T14:36:11.655Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-04-16T14:36:12.107Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-04-16T14:36:12.403Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-04-16T14:36:12.403Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-04-16T14:36:12.731Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-04-16T14:36:12.731Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-04-16T14:36:13.022Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-04-16T14:36:13.022Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-04-16T14:36:13.307Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-04-16T14:36:13.307Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-04-16T14:36:13.307Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-04-16T14:36:13.319Z] -- Detecting CXX compile features - done [2020-04-16T14:36:13.319Z] -- Looking for include file endian.h [2020-04-16T14:36:13.319Z] -- Looking for include file endian.h - found [2020-04-16T14:36:13.319Z] -- Check if the system is big endian [2020-04-16T14:36:13.319Z] -- Searching 16 bit integer [2020-04-16T14:36:13.319Z] -- Looking for sys/types.h [2020-04-16T14:36:13.588Z] -- Looking for sys/types.h - found [2020-04-16T14:36:13.588Z] -- Looking for stdint.h [2020-04-16T14:36:13.609Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-04-16T14:36:13.609Z] [ 80%] Linking C static library libcbor.a [2020-04-16T14:36:13.857Z] -- Looking for stdint.h - found [2020-04-16T14:36:13.857Z] -- Looking for stddef.h [2020-04-16T14:36:14.088Z] [ 80%] Built target cbor [2020-04-16T14:36:14.089Z] Scanning dependencies of target create_items [2020-04-16T14:36:14.089Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-04-16T14:36:14.089Z] [ 84%] Linking C executable create_items [2020-04-16T14:36:14.089Z] [ 84%] Built target create_items [2020-04-16T14:36:14.089Z] Scanning dependencies of target readfile [2020-04-16T14:36:14.128Z] -- Looking for stddef.h - found [2020-04-16T14:36:14.128Z] -- Check size of unsigned short [2020-04-16T14:36:14.396Z] -- Check size of unsigned short - done [2020-04-16T14:36:14.396Z] -- Using unsigned short [2020-04-16T14:36:14.396Z] -- Check if the system is big endian - little endian [2020-04-16T14:36:14.477Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-04-16T14:36:14.477Z] [ 88%] Linking C executable readfile [2020-04-16T14:36:14.477Z] [ 88%] Built target readfile [2020-04-16T14:36:14.477Z] Scanning dependencies of target streaming_parser [2020-04-16T14:36:14.477Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-04-16T14:36:14.663Z] -- Check size of size_t [2020-04-16T14:36:14.739Z] [ 92%] Linking C executable streaming_parser [2020-04-16T14:36:14.739Z] [ 92%] Built target streaming_parser [2020-04-16T14:36:14.739Z] Scanning dependencies of target sort [2020-04-16T14:36:14.739Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-04-16T14:36:14.739Z] [ 96%] Linking C executable sort [2020-04-16T14:36:14.931Z] -- Check size of size_t - done [2020-04-16T14:36:14.931Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-04-16T14:36:14.931Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-04-16T14:36:14.931Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-04-16T14:36:14.931Z] CMake did not find one. [2020-04-16T14:36:14.931Z] [2020-04-16T14:36:14.931Z] Could not find a package configuration file provided by "cJSON" with any of [2020-04-16T14:36:14.931Z] the following names: [2020-04-16T14:36:14.931Z] [2020-04-16T14:36:14.931Z] cJSONConfig.cmake [2020-04-16T14:36:14.931Z] cjson-config.cmake [2020-04-16T14:36:14.931Z] [2020-04-16T14:36:14.931Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-04-16T14:36:14.931Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-04-16T14:36:14.931Z] provides a separate development package or SDK, be sure it has been [2020-04-16T14:36:14.931Z] installed. [2020-04-16T14:36:14.931Z] [2020-04-16T14:36:14.931Z] [2020-04-16T14:36:14.931Z] -- Configuring done [2020-04-16T14:36:15.091Z] [ 96%] Built target sort [2020-04-16T14:36:15.091Z] Scanning dependencies of target hello [2020-04-16T14:36:15.091Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-04-16T14:36:15.091Z] [100%] Linking C executable hello [2020-04-16T14:36:15.091Z] [100%] Built target hello [2020-04-16T14:36:15.091Z] Install the project... [2020-04-16T14:36:15.091Z] -- Install configuration: "Release" [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/lib64/libcbor.a [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/lib64/libcbor.so [2020-04-16T14:36:15.091Z] -- Up-to-date: /usr/local/include/cbor [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/common.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/data.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/internal [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/ints.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/maps.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/strings.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor/tags.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/include/cbor.h [2020-04-16T14:36:15.091Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-04-16T14:36:15.198Z] -- Generating done [2020-04-16T14:36:15.198Z] -- Build files have been written to: /tmp/cbor [2020-04-16T14:36:15.198Z] Scanning dependencies of target cbor_shared [2020-04-16T14:36:15.466Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-04-16T14:36:16.432Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-04-16T14:36:16.653Z] Removing intermediate container ed51bef382c2 [2020-04-16T14:36:16.653Z] ---> ecb43c929946 [2020-04-16T14:36:16.653Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-04-16T14:36:16.653Z] ---> Running in 6fb4f9f1e265 [2020-04-16T14:36:17.019Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-04-16T14:36:17.019Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-04-16T14:36:17.638Z] Removing intermediate container 6fb4f9f1e265 [2020-04-16T14:36:17.638Z] ---> 1c4ebd6b93a7 [2020-04-16T14:36:17.638Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-04-16T14:36:17.638Z] ---> 4c8469752fd1 [2020-04-16T14:36:17.638Z] Step 8/21 : COPY src /tmp/sdk/src [2020-04-16T14:36:17.981Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-04-16T14:36:17.981Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-04-16T14:36:18.234Z] ---> 9cd090fab8ef [2020-04-16T14:36:18.234Z] Step 9/21 : COPY include /tmp/sdk/include [2020-04-16T14:36:18.250Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-04-16T14:36:18.518Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-04-16T14:36:18.518Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-04-16T14:36:18.610Z] ---> b791f81ec381 [2020-04-16T14:36:18.610Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-04-16T14:36:18.610Z] ---> cb49943eab55 [2020-04-16T14:36:18.610Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-04-16T14:36:19.108Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-04-16T14:36:19.326Z] ---> d996770f1187 [2020-04-16T14:36:19.326Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-04-16T14:36:19.326Z] ---> fca962b151a8 [2020-04-16T14:36:19.326Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-04-16T14:36:19.326Z] ---> Running in 074fbdbafca1 [2020-04-16T14:36:19.696Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-04-16T14:36:19.988Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-04-16T14:36:20.529Z] + CPPCHECK=false [2020-04-16T14:36:20.529Z] + DOCGEN=false [2020-04-16T14:36:20.529Z] + TOMLVER=SDK-0.2 [2020-04-16T14:36:20.529Z] + CUTILVER=1.0.0 [2020-04-16T14:36:20.529Z] + '[' 0 -gt 0 ] [2020-04-16T14:36:20.529Z] + readlink -f ./scripts/build.sh [2020-04-16T14:36:20.529Z] + dirname /tmp/sdk/scripts/build.sh [2020-04-16T14:36:20.529Z] + dirname /tmp/sdk/scripts [2020-04-16T14:36:20.529Z] + ROOT=/tmp/sdk [2020-04-16T14:36:20.529Z] + cd /tmp/sdk [2020-04-16T14:36:20.529Z] + '[' '!' -d deps ] [2020-04-16T14:36:20.529Z] + mkdir deps [2020-04-16T14:36:20.529Z] + tar -C deps -z -x -f - [2020-04-16T14:36:20.529Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-04-16T14:36:20.529Z] --2020-04-16 14:36:20-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-04-16T14:36:20.529Z] Resolving github.com... 140.82.112.4 [2020-04-16T14:36:20.529Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-04-16T14:36:20.576Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-04-16T14:36:20.844Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-04-16T14:36:20.898Z] HTTP request sent, awaiting response... 302 Found [2020-04-16T14:36:20.898Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-04-16T14:36:20.898Z] --2020-04-16 14:36:20-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-04-16T14:36:20.898Z] Resolving codeload.github.com... 140.82.114.10 [2020-04-16T14:36:20.898Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-04-16T14:36:20.898Z] HTTP request sent, awaiting response... 200 OK [2020-04-16T14:36:20.898Z] Length: 16451 (16K) [application/x-gzip] [2020-04-16T14:36:20.898Z] Saving to: 'STDOUT' [2020-04-16T14:36:20.898Z]  [2020-04-16T14:36:20.898Z] 0K .......... ...... 100% 730K=0.02s [2020-04-16T14:36:20.898Z] [2020-04-16T14:36:20.898Z] 2020-04-16 14:36:20 (730 KB/s) - written to stdout [16451/16451] [2020-04-16T14:36:20.898Z] [2020-04-16T14:36:20.898Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-04-16T14:36:20.898Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-04-16T14:36:20.898Z] + tar -C deps -z -x -f - [2020-04-16T14:36:20.898Z] --2020-04-16 14:36:20-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-04-16T14:36:20.898Z] Resolving github.com... 140.82.112.4 [2020-04-16T14:36:20.898Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-04-16T14:36:21.111Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-04-16T14:36:21.173Z] HTTP request sent, awaiting response... 302 Found [2020-04-16T14:36:21.173Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] [2020-04-16T14:36:21.173Z] --2020-04-16 14:36:20-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [2020-04-16T14:36:21.173Z] Resolving codeload.github.com... 140.82.114.10 [2020-04-16T14:36:21.173Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-04-16T14:36:21.173Z] HTTP request sent, awaiting response... 200 OK [2020-04-16T14:36:21.173Z] Length: 151809 (148K) [application/x-gzip] [2020-04-16T14:36:21.173Z] Saving to: 'STDOUT' [2020-04-16T14:36:21.173Z]  [2020-04-16T14:36:21.173Z] 0K .......... .......... .......... .......... .......... 33% 1.32M 0s [2020-04-16T14:36:21.173Z] 50K .......... .......... .......... .......... .......... 67% 2.66M 0s [2020-04-16T14:36:21.173Z] 100K .......... .......... .......... .......... ........ 100% 4.07M=0.07s [2020-04-16T14:36:21.173Z] [2020-04-16T14:36:21.173Z] 2020-04-16 14:36:21 (2.17 MB/s) - written to stdout [151809/151809] [2020-04-16T14:36:21.173Z] [2020-04-16T14:36:21.173Z] + mkdir -p src/c/iot [2020-04-16T14:36:21.173Z] + cp deps/iotech-c-utils-1.0.0/src/c/base64.c deps/iotech-c-utils-1.0.0/src/c/component.c deps/iotech-c-utils-1.0.0/src/c/container.c deps/iotech-c-utils-1.0.0/src/c/data.c deps/iotech-c-utils-1.0.0/src/c/hash.c deps/iotech-c-utils-1.0.0/src/c/iot.c deps/iotech-c-utils-1.0.0/src/c/json.c deps/iotech-c-utils-1.0.0/src/c/logger.c deps/iotech-c-utils-1.0.0/src/c/os.c deps/iotech-c-utils-1.0.0/src/c/scheduler.c deps/iotech-c-utils-1.0.0/src/c/thread.c deps/iotech-c-utils-1.0.0/src/c/threadpool.c deps/iotech-c-utils-1.0.0/src/c/time.c src/c/iot [2020-04-16T14:36:21.173Z] + mkdir -p include/iot [2020-04-16T14:36:21.173Z] + cp deps/iotech-c-utils-1.0.0/include/iot/base64.h deps/iotech-c-utils-1.0.0/include/iot/component.h deps/iotech-c-utils-1.0.0/include/iot/container.h deps/iotech-c-utils-1.0.0/include/iot/data.h deps/iotech-c-utils-1.0.0/include/iot/hash.h deps/iotech-c-utils-1.0.0/include/iot/iot.h deps/iotech-c-utils-1.0.0/include/iot/json.h deps/iotech-c-utils-1.0.0/include/iot/logger.h deps/iotech-c-utils-1.0.0/include/iot/os.h deps/iotech-c-utils-1.0.0/include/iot/scheduler.h deps/iotech-c-utils-1.0.0/include/iot/thread.h deps/iotech-c-utils-1.0.0/include/iot/threadpool.h deps/iotech-c-utils-1.0.0/include/iot/time.h include/iot [2020-04-16T14:36:21.173Z] + mkdir -p include/iot/os [2020-04-16T14:36:21.173Z] + cp deps/iotech-c-utils-1.0.0/include/iot/os/linux.h deps/iotech-c-utils-1.0.0/include/iot/os/zephyr.h include/iot/os [2020-04-16T14:36:21.173Z] + mkdir -p /tmp/sdk/build/release [2020-04-16T14:36:21.380Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-04-16T14:36:21.497Z] + cd /tmp/sdk/build/release [2020-04-16T14:36:21.497Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-04-16T14:36:21.497Z] -- The C compiler identification is GNU 8.3.0 [2020-04-16T14:36:21.497Z] -- Check for working C compiler: /usr/bin/cc [2020-04-16T14:36:21.497Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-16T14:36:21.497Z] -- Detecting C compiler ABI info [2020-04-16T14:36:21.647Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-04-16T14:36:21.917Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-04-16T14:36:21.960Z] -- Detecting C compiler ABI info - done [2020-04-16T14:36:21.960Z] -- Detecting C compile features [2020-04-16T14:36:22.185Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-04-16T14:36:22.238Z] -- Detecting C compile features - done [2020-04-16T14:36:22.239Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-04-16T14:36:22.239Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-04-16T14:36:22.239Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-04-16T14:36:22.239Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-04-16T14:36:22.239Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-04-16T14:36:22.239Z] -- C SDK 0.0.0 for Linux [2020-04-16T14:36:22.239Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-04-16T14:36:22.239Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-04-16T14:36:22.239Z] -- Found Curses: /usr/lib/libcurses.so [2020-04-16T14:36:22.239Z] -- Configuring done [2020-04-16T14:36:22.454Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-04-16T14:36:22.517Z] -- Generating done [2020-04-16T14:36:22.517Z] -- Build files have been written to: /tmp/sdk/build/release [2020-04-16T14:36:22.517Z] + make [2020-04-16T14:36:22.517Z] + tee release.log [2020-04-16T14:36:22.517Z] Scanning dependencies of target csdk [2020-04-16T14:36:22.517Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-04-16T14:36:22.721Z] [ 40%] Linking C shared library libcbor.so [2020-04-16T14:36:22.721Z] [ 40%] Built target cbor_shared [2020-04-16T14:36:22.816Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-04-16T14:36:22.816Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-04-16T14:36:23.001Z] Scanning dependencies of target cbor [2020-04-16T14:36:23.001Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-04-16T14:36:23.838Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-04-16T14:36:23.969Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-04-16T14:36:24.130Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-04-16T14:36:24.130Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-04-16T14:36:24.431Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-04-16T14:36:24.558Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-04-16T14:36:24.827Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-04-16T14:36:25.010Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-04-16T14:36:25.276Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-04-16T14:36:25.538Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-04-16T14:36:25.800Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-04-16T14:36:25.800Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-04-16T14:36:25.800Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-04-16T14:36:26.070Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-04-16T14:36:26.244Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-04-16T14:36:26.244Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-04-16T14:36:26.512Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-04-16T14:36:26.780Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-04-16T14:36:27.052Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-04-16T14:36:27.068Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-04-16T14:36:27.068Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-04-16T14:36:27.319Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-04-16T14:36:27.328Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-04-16T14:36:27.328Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-04-16T14:36:27.901Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-04-16T14:36:27.901Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-04-16T14:36:28.161Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-04-16T14:36:28.161Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-04-16T14:36:28.280Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-04-16T14:36:28.426Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-04-16T14:36:28.426Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-04-16T14:36:28.547Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-04-16T14:36:28.700Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-04-16T14:36:28.960Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-04-16T14:36:29.133Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-04-16T14:36:29.224Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-04-16T14:36:29.401Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-04-16T14:36:29.535Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-04-16T14:36:29.535Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-04-16T14:36:29.667Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-04-16T14:36:29.796Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-04-16T14:36:29.934Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-04-16T14:36:30.059Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-04-16T14:36:30.203Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-04-16T14:36:30.787Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-04-16T14:36:30.787Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-04-16T14:36:31.054Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-04-16T14:36:31.323Z] [ 80%] Linking C static library libcbor.a [2020-04-16T14:36:31.323Z] [ 80%] Built target cbor [2020-04-16T14:36:31.323Z] Scanning dependencies of target create_items [2020-04-16T14:36:31.490Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-04-16T14:36:31.592Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-04-16T14:36:31.592Z] [ 84%] Linking C executable create_items [2020-04-16T14:36:31.756Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-04-16T14:36:31.756Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-04-16T14:36:31.863Z] [ 84%] Built target create_items [2020-04-16T14:36:31.863Z] Scanning dependencies of target readfile [2020-04-16T14:36:31.863Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-04-16T14:36:32.038Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-04-16T14:36:32.131Z] [ 88%] Linking C executable readfile [2020-04-16T14:36:32.131Z] [ 88%] Built target readfile [2020-04-16T14:36:32.131Z] Scanning dependencies of target streaming_parser [2020-04-16T14:36:32.131Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-04-16T14:36:32.400Z] [ 92%] Linking C executable streaming_parser [2020-04-16T14:36:32.400Z] [ 92%] Built target streaming_parser [2020-04-16T14:36:32.400Z] Scanning dependencies of target sort [2020-04-16T14:36:32.400Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-04-16T14:36:32.634Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-16T14:36:32.668Z] [ 96%] Linking C executable sort [2020-04-16T14:36:32.943Z] [ 96%] Built target sort [2020-04-16T14:36:32.943Z] Scanning dependencies of target hello [2020-04-16T14:36:32.943Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-04-16T14:36:32.943Z] [100%] Linking C executable hello [2020-04-16T14:36:33.214Z] [100%] Built target hello [2020-04-16T14:36:33.215Z] Install the project... [2020-04-16T14:36:33.215Z] -- Install configuration: "Release" [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/lib64/libcbor.a [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/lib64/libcbor.so [2020-04-16T14:36:33.215Z] -- Up-to-date: /usr/local/include/cbor [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/common.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/maps.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/strings.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/internal [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/data.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/tags.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/ints.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/include/cbor.h [2020-04-16T14:36:33.215Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-04-16T14:36:33.221Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-04-16T14:36:34.653Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-04-16T14:36:34.653Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-04-16T14:36:34.917Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-04-16T14:36:35.179Z] [ 65%] Linking C shared library libcsdk.so [2020-04-16T14:36:35.179Z] [ 65%] Built target csdk [2020-04-16T14:36:35.179Z] Scanning dependencies of target template [2020-04-16T14:36:35.179Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-04-16T14:36:35.480Z] [ 68%] Linking C executable template [2020-04-16T14:36:35.776Z] [ 68%] Built target template [2020-04-16T14:36:35.776Z] Scanning dependencies of target device-counter [2020-04-16T14:36:35.776Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-04-16T14:36:35.776Z] [ 71%] Linking C executable device-counter [2020-04-16T14:36:35.811Z] Removing intermediate container c343576273a4 [2020-04-16T14:36:35.811Z] ---> e89ccd7c5346 [2020-04-16T14:36:35.811Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-04-16T14:36:35.811Z] ---> Running in 9f4c20357db3 [2020-04-16T14:36:36.114Z] [ 71%] Built target device-counter [2020-04-16T14:36:36.115Z] Scanning dependencies of target device-random [2020-04-16T14:36:36.115Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-04-16T14:36:36.115Z] [ 74%] Linking C executable device-random [2020-04-16T14:36:36.447Z] [ 74%] Built target device-random [2020-04-16T14:36:36.447Z] Scanning dependencies of target device-gyro [2020-04-16T14:36:36.447Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-04-16T14:36:36.447Z] [ 77%] Linking C executable device-gyro [2020-04-16T14:36:36.733Z] [ 77%] Built target device-gyro [2020-04-16T14:36:36.733Z] Scanning dependencies of target template-discovery [2020-04-16T14:36:36.733Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-04-16T14:36:37.120Z] [ 80%] Linking C executable template-discovery [2020-04-16T14:36:37.120Z] [ 80%] Built target template-discovery [2020-04-16T14:36:37.120Z] Scanning dependencies of target device-terminal [2020-04-16T14:36:37.120Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-04-16T14:36:37.223Z] Removing intermediate container 9f4c20357db3 [2020-04-16T14:36:37.223Z] ---> 749f72a70083 [2020-04-16T14:36:37.223Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-04-16T14:36:37.815Z] ---> 9e7a1cae3d5d [2020-04-16T14:36:37.815Z] Step 8/21 : COPY src /tmp/sdk/src [2020-04-16T14:36:37.855Z] [ 84%] Linking C executable device-terminal [2020-04-16T14:36:37.855Z] [ 84%] Built target device-terminal [2020-04-16T14:36:37.855Z] Scanning dependencies of target template2 [2020-04-16T14:36:37.855Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-04-16T14:36:38.120Z] [ 87%] Linking C executable template2 [2020-04-16T14:36:38.382Z] [ 87%] Built target template2 [2020-04-16T14:36:38.382Z] Scanning dependencies of target device-counterv2 [2020-04-16T14:36:38.382Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-04-16T14:36:38.407Z] ---> 266fda6086e5 [2020-04-16T14:36:38.407Z] Step 9/21 : COPY include /tmp/sdk/include [2020-04-16T14:36:38.737Z] [ 90%] Linking C executable device-counterv2 [2020-04-16T14:36:38.737Z] [ 90%] Built target device-counterv2 [2020-04-16T14:36:38.737Z] Scanning dependencies of target device-gyrov2 [2020-04-16T14:36:38.737Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-04-16T14:36:38.997Z] ---> 3f363039f44e [2020-04-16T14:36:38.997Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-04-16T14:36:39.122Z] [ 93%] Linking C executable device-gyrov2 [2020-04-16T14:36:39.123Z] [ 93%] Built target device-gyrov2 [2020-04-16T14:36:39.123Z] Scanning dependencies of target device-randomv2 [2020-04-16T14:36:39.123Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-04-16T14:36:39.390Z] [ 96%] Linking C executable device-randomv2 [2020-04-16T14:36:39.390Z] [ 96%] Built target device-randomv2 [2020-04-16T14:36:39.390Z] Scanning dependencies of target device-terminalv2 [2020-04-16T14:36:39.390Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-04-16T14:36:39.583Z] ---> 3d053061dde8 [2020-04-16T14:36:39.584Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-04-16T14:36:39.662Z] [100%] Linking C executable device-terminalv2 [2020-04-16T14:36:39.662Z] [100%] Built target device-terminalv2 [2020-04-16T14:36:39.662Z] + + maketee package [2020-04-16T14:36:39.662Z] -a release.log [2020-04-16T14:36:39.932Z] [ 65%] Built target csdk [2020-04-16T14:36:39.932Z] [ 68%] Built target template [2020-04-16T14:36:39.932Z] [ 71%] Built target device-counter [2020-04-16T14:36:39.932Z] [ 74%] Built target device-random [2020-04-16T14:36:39.932Z] [ 77%] Built target device-gyro [2020-04-16T14:36:39.932Z] [ 80%] Built target template-discovery [2020-04-16T14:36:40.169Z] ---> 2f115596ea21 [2020-04-16T14:36:40.169Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-04-16T14:36:40.225Z] [ 84%] Built target device-terminal [2020-04-16T14:36:40.225Z] [ 87%] Built target template2 [2020-04-16T14:36:40.225Z] [ 90%] Built target device-counterv2 [2020-04-16T14:36:40.225Z] [ 93%] Built target device-gyrov2 [2020-04-16T14:36:40.225Z] [ 96%] Built target device-randomv2 [2020-04-16T14:36:40.225Z] [100%] Built target device-terminalv2 [2020-04-16T14:36:40.225Z] Run CPack packaging tool... [2020-04-16T14:36:40.225Z] CPack: Create package using TGZ [2020-04-16T14:36:40.225Z] CPack: Install projects [2020-04-16T14:36:40.225Z] CPack: - Run preinstall target for: Csdk [2020-04-16T14:36:40.438Z] ---> 3856dd55e47b [2020-04-16T14:36:40.438Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-04-16T14:36:40.706Z] ---> Running in 2cc80179adef [2020-04-16T14:36:40.819Z] CPack: - Install project: Csdk [2020-04-16T14:36:40.819Z] CPack: Create package [2020-04-16T14:36:41.093Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-04-16T14:36:41.094Z] + '[' false '=' true ] [2020-04-16T14:36:41.094Z] + '[' false '=' true ] [2020-04-16T14:36:41.094Z] + mkdir -p /tmp/sdk/build/debug [2020-04-16T14:36:41.094Z] + cd /tmp/sdk/build/debug [2020-04-16T14:36:41.094Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-04-16T14:36:41.094Z] -- The C compiler identification is GNU 8.3.0 [2020-04-16T14:36:41.405Z] -- Check for working C compiler: /usr/bin/cc [2020-04-16T14:36:41.405Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-16T14:36:41.405Z] -- Detecting C compiler ABI info [2020-04-16T14:36:41.672Z] + CPPCHECK=false [2020-04-16T14:36:41.672Z] + DOCGEN=false [2020-04-16T14:36:41.672Z] + TOMLVER=SDK-0.2 [2020-04-16T14:36:41.672Z] + CUTILVER=1.0.0 [2020-04-16T14:36:41.672Z] + '[' 0 -gt 0 ] [2020-04-16T14:36:41.672Z] + readlink -f ./scripts/build.sh [2020-04-16T14:36:41.672Z] + dirname /tmp/sdk/scripts/build.sh [2020-04-16T14:36:41.672Z] + dirname /tmp/sdk/scripts [2020-04-16T14:36:41.672Z] + ROOT=/tmp/sdk [2020-04-16T14:36:41.672Z] + cd /tmp/sdk [2020-04-16T14:36:41.672Z] + '[' '!' -d deps ] [2020-04-16T14:36:41.672Z] + mkdir deps [2020-04-16T14:36:41.672Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz -x [2020-04-16T14:36:41.672Z] -f - [2020-04-16T14:36:41.672Z] --2020-04-16 14:36:41-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-04-16T14:36:41.672Z] Resolving github.com... 140.82.114.3 [2020-04-16T14:36:41.672Z] Connecting to github.com|140.82.114.3|:443... connected. [2020-04-16T14:36:41.672Z] HTTP request sent, awaiting response... 302 Found [2020-04-16T14:36:41.672Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-04-16T14:36:41.672Z] --2020-04-16 14:36:41-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-04-16T14:36:41.672Z] Resolving codeload.github.com... 140.82.112.10 [2020-04-16T14:36:41.672Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-04-16T14:36:41.682Z] -- Detecting C compiler ABI info - done [2020-04-16T14:36:41.682Z] -- Detecting C compile features [2020-04-16T14:36:41.941Z] HTTP request sent, awaiting response... 200 OK [2020-04-16T14:36:41.941Z] Length: unspecified [application/x-gzip] [2020-04-16T14:36:41.941Z] Saving to: 'STDOUT' [2020-04-16T14:36:41.941Z] [2020-04-16T14:36:41.941Z] 0K .......... ...... 1.09M=0.01s [2020-04-16T14:36:41.941Z] [2020-04-16T14:36:41.941Z] 2020-04-16 14:36:41 (1.09 MB/s) - written to stdout [16451] [2020-04-16T14:36:41.941Z] [2020-04-16T14:36:41.941Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-04-16T14:36:41.941Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-04-16T14:36:41.941Z] + tar -C deps -z -x -f - [2020-04-16T14:36:41.941Z] --2020-04-16 14:36:41-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-04-16T14:36:41.941Z] Resolving github.com... 140.82.113.4 [2020-04-16T14:36:41.941Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-04-16T14:36:42.211Z] HTTP request sent, awaiting response... 302 Found [2020-04-16T14:36:42.211Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] [2020-04-16T14:36:42.211Z] --2020-04-16 14:36:42-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [2020-04-16T14:36:42.211Z] Resolving codeload.github.com... 140.82.112.10 [2020-04-16T14:36:42.211Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-04-16T14:36:42.315Z] -- Detecting C compile features - done [2020-04-16T14:36:42.315Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-04-16T14:36:42.315Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-04-16T14:36:42.315Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-04-16T14:36:42.315Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-04-16T14:36:42.316Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-04-16T14:36:42.316Z] -- C SDK 0.0.0 for Linux [2020-04-16T14:36:42.316Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-04-16T14:36:42.316Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-04-16T14:36:42.316Z] -- Found Curses: /usr/lib/libcurses.so [2020-04-16T14:36:42.316Z] -- Configuring done [2020-04-16T14:36:42.487Z] HTTP request sent, awaiting response... 200 OK [2020-04-16T14:36:42.487Z] Length: unspecified [application/x-gzip] [2020-04-16T14:36:42.487Z] Saving to: 'STDOUT' [2020-04-16T14:36:42.487Z] [2020-04-16T14:36:42.487Z] 0K .......... .......... .......... .......... .......... 1.30M [2020-04-16T14:36:42.487Z] 50K .......... .......... .......... .......... .......... 2.59M [2020-04-16T14:36:42.487Z] 100K .......... .......... .......... .......... ........ 5.04M=0.07s [2020-04-16T14:36:42.487Z] [2020-04-16T14:36:42.487Z] 2020-04-16 14:36:42 (2.20 MB/s) - written to stdout [151809] [2020-04-16T14:36:42.487Z] [2020-04-16T14:36:42.487Z] + mkdir -p src/c/iot [2020-04-16T14:36:42.487Z] + cp deps/iotech-c-utils-1.0.0/src/c/base64.c deps/iotech-c-utils-1.0.0/src/c/component.c deps/iotech-c-utils-1.0.0/src/c/container.c deps/iotech-c-utils-1.0.0/src/c/data.c deps/iotech-c-utils-1.0.0/src/c/hash.c deps/iotech-c-utils-1.0.0/src/c/iot.c deps/iotech-c-utils-1.0.0/src/c/json.c deps/iotech-c-utils-1.0.0/src/c/logger.c deps/iotech-c-utils-1.0.0/src/c/os.c deps/iotech-c-utils-1.0.0/src/c/scheduler.c deps/iotech-c-utils-1.0.0/src/c/thread.c deps/iotech-c-utils-1.0.0/src/c/threadpool.c deps/iotech-c-utils-1.0.0/src/c/time.c src/c/iot [2020-04-16T14:36:42.487Z] + mkdir -p include/iot [2020-04-16T14:36:42.487Z] + cp deps/iotech-c-utils-1.0.0/include/iot/base64.h deps/iotech-c-utils-1.0.0/include/iot/component.h deps/iotech-c-utils-1.0.0/include/iot/container.h deps/iotech-c-utils-1.0.0/include/iot/data.h deps/iotech-c-utils-1.0.0/include/iot/hash.h deps/iotech-c-utils-1.0.0/include/iot/iot.h deps/iotech-c-utils-1.0.0/include/iot/json.h deps/iotech-c-utils-1.0.0/include/iot/logger.h deps/iotech-c-utils-1.0.0/include/iot/os.h deps/iotech-c-utils-1.0.0/include/iot/scheduler.h deps/iotech-c-utils-1.0.0/include/iot/thread.h deps/iotech-c-utils-1.0.0/include/iot/threadpool.h deps/iotech-c-utils-1.0.0/include/iot/time.h include/iot [2020-04-16T14:36:42.487Z] + mkdir -p include/iot/os [2020-04-16T14:36:42.487Z] + cp deps/iotech-c-utils-1.0.0/include/iot/os/linux.h deps/iotech-c-utils-1.0.0/include/iot/os/zephyr.h include/iot/os [2020-04-16T14:36:42.487Z] + mkdir -p /tmp/sdk/build/release [2020-04-16T14:36:42.487Z] + cd /tmp/sdk/build/release [2020-04-16T14:36:42.487Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-04-16T14:36:42.589Z] -- Generating done [2020-04-16T14:36:42.589Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-04-16T14:36:42.589Z] + make [2020-04-16T14:36:42.589Z] + tee debug.log [2020-04-16T14:36:42.589Z] Scanning dependencies of target csdk [2020-04-16T14:36:42.589Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-04-16T14:36:42.756Z] -- The C compiler identification is GNU 8.3.0 [2020-04-16T14:36:42.756Z] -- Check for working C compiler: /usr/bin/cc [2020-04-16T14:36:42.865Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-04-16T14:36:43.024Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-16T14:36:43.024Z] -- Detecting C compiler ABI info [2020-04-16T14:36:43.156Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-04-16T14:36:43.156Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-04-16T14:36:43.293Z] -- Detecting C compiler ABI info - done [2020-04-16T14:36:43.293Z] -- Detecting C compile features [2020-04-16T14:36:43.448Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-04-16T14:36:43.448Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-04-16T14:36:43.755Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-04-16T14:36:44.030Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-04-16T14:36:44.030Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-04-16T14:36:44.260Z] -- Detecting C compile features - done [2020-04-16T14:36:44.260Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-04-16T14:36:44.260Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-04-16T14:36:44.260Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-04-16T14:36:44.260Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-04-16T14:36:44.260Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-04-16T14:36:44.260Z] -- C SDK 0.0.0 for Linux [2020-04-16T14:36:44.260Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-04-16T14:36:44.260Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-04-16T14:36:44.260Z] -- Found Curses: /usr/lib/libcurses.so [2020-04-16T14:36:44.300Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-04-16T14:36:44.300Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-04-16T14:36:44.526Z] -- Configuring done [2020-04-16T14:36:44.564Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-04-16T14:36:44.564Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-04-16T14:36:44.564Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-04-16T14:36:44.798Z] -- Generating done [2020-04-16T14:36:44.798Z] -- Build files have been written to: /tmp/sdk/build/release [2020-04-16T14:36:44.798Z] + make [2020-04-16T14:36:44.798Z] + tee release.log [2020-04-16T14:36:45.067Z] Scanning dependencies of target csdk [2020-04-16T14:36:45.067Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-04-16T14:36:45.164Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-04-16T14:36:45.164Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-04-16T14:36:45.164Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-04-16T14:36:45.164Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-04-16T14:36:45.439Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-04-16T14:36:45.652Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-04-16T14:36:45.718Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-04-16T14:36:45.718Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-04-16T14:36:45.718Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-04-16T14:36:45.984Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-04-16T14:36:45.984Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-04-16T14:36:45.984Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-04-16T14:36:46.239Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-04-16T14:36:46.298Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-04-16T14:36:46.299Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-04-16T14:36:46.299Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-04-16T14:36:46.572Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-04-16T14:36:46.841Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-04-16T14:36:46.841Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-04-16T14:36:47.489Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-04-16T14:36:47.654Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-04-16T14:36:47.787Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-04-16T14:36:47.787Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-04-16T14:36:48.056Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-04-16T14:36:48.324Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-16T14:36:48.591Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-04-16T14:36:48.614Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-04-16T14:36:48.614Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-04-16T14:36:49.175Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-04-16T14:36:49.175Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-04-16T14:36:49.439Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-04-16T14:36:49.439Z] [ 65%] Linking C shared library libcsdk.so [2020-04-16T14:36:49.439Z] [ 65%] Built target csdk [2020-04-16T14:36:49.439Z] Scanning dependencies of target template [2020-04-16T14:36:49.439Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-04-16T14:36:49.576Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-04-16T14:36:49.702Z] [ 68%] Linking C executable template [2020-04-16T14:36:49.702Z] [ 68%] Built target template [2020-04-16T14:36:49.702Z] Scanning dependencies of target device-counter [2020-04-16T14:36:49.702Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-04-16T14:36:49.963Z] [ 71%] Linking C executable device-counter [2020-04-16T14:36:49.963Z] [ 71%] Built target device-counter [2020-04-16T14:36:49.963Z] Scanning dependencies of target device-random [2020-04-16T14:36:49.963Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-04-16T14:36:50.225Z] [ 74%] Linking C executable device-random [2020-04-16T14:36:50.225Z] [ 74%] Built target device-random [2020-04-16T14:36:50.225Z] Scanning dependencies of target device-gyro [2020-04-16T14:36:50.225Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-04-16T14:36:50.225Z] [ 77%] Linking C executable device-gyro [2020-04-16T14:36:50.497Z] [ 77%] Built target device-gyro [2020-04-16T14:36:50.497Z] Scanning dependencies of target template-discovery [2020-04-16T14:36:50.497Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-04-16T14:36:50.497Z] [ 80%] Linking C executable template-discovery [2020-04-16T14:36:50.497Z] [ 80%] Built target template-discovery [2020-04-16T14:36:50.497Z] Scanning dependencies of target device-terminal [2020-04-16T14:36:50.497Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-04-16T14:36:50.765Z] [ 84%] Linking C executable device-terminal [2020-04-16T14:36:50.765Z] [ 84%] Built target device-terminal [2020-04-16T14:36:50.765Z] Scanning dependencies of target template2 [2020-04-16T14:36:50.765Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-04-16T14:36:51.026Z] [ 87%] Linking C executable template2 [2020-04-16T14:36:51.026Z] [ 87%] Built target template2 [2020-04-16T14:36:51.026Z] Scanning dependencies of target device-counterv2 [2020-04-16T14:36:51.026Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-04-16T14:36:51.403Z] [ 90%] Linking C executable device-counterv2 [2020-04-16T14:36:51.403Z] [ 90%] Built target device-counterv2 [2020-04-16T14:36:51.403Z] Scanning dependencies of target device-gyrov2 [2020-04-16T14:36:51.403Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-04-16T14:36:51.517Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-04-16T14:36:51.517Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-04-16T14:36:51.723Z] [ 93%] Linking C executable device-gyrov2 [2020-04-16T14:36:52.046Z] [ 93%] Built target device-gyrov2 [2020-04-16T14:36:52.046Z] Scanning dependencies of target device-randomv2 [2020-04-16T14:36:52.046Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-04-16T14:36:52.046Z] [ 96%] Linking C executable device-randomv2 [2020-04-16T14:36:52.109Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-04-16T14:36:52.328Z] [ 96%] Built target device-randomv2 [2020-04-16T14:36:52.328Z] Scanning dependencies of target device-terminalv2 [2020-04-16T14:36:52.328Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-04-16T14:36:52.328Z] [100%] Linking C executable device-terminalv2 [2020-04-16T14:36:52.624Z] [100%] Built target device-terminalv2 [2020-04-16T14:36:52.624Z] make: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:52.624Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:52.624Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:52.624Z] Scanning dependencies of target csdk [2020-04-16T14:36:52.624Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:52.624Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:52.624Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-16T14:36:52.690Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-04-16T14:36:52.960Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-04-16T14:36:53.229Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-04-16T14:36:53.241Z] [ 3%] Linking C shared library libcsdk.so [2020-04-16T14:36:53.498Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-04-16T14:36:53.516Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:53.516Z] [ 65%] Built target csdk [2020-04-16T14:36:53.516Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:53.516Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:53.516Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:53.516Z] [ 66%] Linking C executable template [2020-04-16T14:36:53.516Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:53.516Z] [ 68%] Built target template [2020-04-16T14:36:53.516Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:53.516Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:53.516Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:53.516Z] [ 69%] Linking C executable device-counter [2020-04-16T14:36:53.791Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:53.791Z] [ 71%] Built target device-counter [2020-04-16T14:36:53.791Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:53.791Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:53.791Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:53.791Z] [ 73%] Linking C executable device-random [2020-04-16T14:36:53.791Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:53.791Z] [ 74%] Built target device-random [2020-04-16T14:36:53.791Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:53.791Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:53.791Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:53.791Z] [ 76%] Linking C executable device-gyro [2020-04-16T14:36:54.053Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.053Z] [ 77%] Built target device-gyro [2020-04-16T14:36:54.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.053Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.053Z] [ 79%] Linking C executable template-discovery [2020-04-16T14:36:54.053Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.053Z] [ 80%] Built target template-discovery [2020-04-16T14:36:54.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.053Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.317Z] [ 82%] Linking C executable device-terminal [2020-04-16T14:36:54.317Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.317Z] [ 84%] Built target device-terminal [2020-04-16T14:36:54.317Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.317Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.317Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.317Z] [ 85%] Linking C executable template2 [2020-04-16T14:36:54.587Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.587Z] [ 87%] Built target template2 [2020-04-16T14:36:54.587Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.587Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.587Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.587Z] [ 88%] Linking C executable device-counterv2 [2020-04-16T14:36:54.587Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.587Z] [ 90%] Built target device-counterv2 [2020-04-16T14:36:54.587Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.587Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.587Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.587Z] [ 92%] Linking C executable device-gyrov2 [2020-04-16T14:36:54.854Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.854Z] [ 93%] Built target device-gyrov2 [2020-04-16T14:36:54.854Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.854Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.854Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:54.854Z] [ 95%] Linking C executable device-randomv2 [2020-04-16T14:36:55.125Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:55.125Z] [ 96%] Built target device-randomv2 [2020-04-16T14:36:55.125Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:55.125Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:55.125Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:36:55.125Z] [ 98%] Linking C executable device-terminalv2 [2020-04-16T14:36:55.125Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:55.125Z] [100%] Built target device-terminalv2 [2020-04-16T14:36:55.125Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:55.125Z] Install the project... [2020-04-16T14:36:55.125Z] -- Install configuration: "Release" [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/lib/libcsdk.so [2020-04-16T14:36:55.125Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-04-16T14:36:55.125Z] -- Up-to-date: /usr/local/include [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/devsdk [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/edgex [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/edgex/devices.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/edgex/error.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/edgex/os.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/edgex/registry.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot/base64.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot/component.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot/container.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot/data.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot/hash.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot/iot.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot/json.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot/logger.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot/os.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot/thread.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot/time.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot/os [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-04-16T14:36:55.125Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-04-16T14:36:55.125Z] make: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:36:56.569Z] Removing intermediate container 074fbdbafca1 [2020-04-16T14:36:56.569Z] ---> 8e705dd14110 [2020-04-16T14:36:56.569Z] Step 14/21 : FROM alpine:3.9 [2020-04-16T14:36:56.829Z] 3.9: Pulling from library/alpine [2020-04-16T14:36:56.848Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-04-16T14:36:57.116Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-04-16T14:36:57.129Z] 9123ac7c32f7: Pulling fs layer [2020-04-16T14:36:57.385Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-04-16T14:36:57.400Z] 9123ac7c32f7: Verifying Checksum [2020-04-16T14:36:57.400Z] 9123ac7c32f7: Download complete [2020-04-16T14:36:57.673Z] 9123ac7c32f7: Pull complete [2020-04-16T14:36:57.673Z] Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 [2020-04-16T14:36:57.673Z] Status: Downloaded newer image for alpine:3.9 [2020-04-16T14:36:57.673Z] ---> 82f67be598eb [2020-04-16T14:36:57.673Z] Step 15/21 : MAINTAINER IOTech [2020-04-16T14:36:57.936Z] ---> Running in 267f627624d3 [2020-04-16T14:36:57.936Z] Removing intermediate container 267f627624d3 [2020-04-16T14:36:57.936Z] ---> 4c164da99c51 [2020-04-16T14:36:57.936Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-04-16T14:36:57.969Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-04-16T14:36:58.217Z] ---> Running in c9e223ae7bef [2020-04-16T14:36:59.192Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-04-16T14:36:59.192Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-04-16T14:36:59.457Z] (1/48) Installing binutils (2.31.1-r2) [2020-04-16T14:36:59.457Z] (2/48) Installing libmagic (5.36-r1) [2020-04-16T14:36:59.457Z] (3/48) Installing file (5.36-r1) [2020-04-16T14:36:59.729Z] (4/48) Installing gmp (6.1.2-r1) [2020-04-16T14:36:59.729Z] (5/48) Installing isl (0.18-r0) [2020-04-16T14:36:59.729Z] (6/48) Installing libgomp (8.3.0-r0) [2020-04-16T14:36:59.729Z] (7/48) Installing libatomic (8.3.0-r0) [2020-04-16T14:36:59.729Z] (8/48) Installing libgcc (8.3.0-r0) [2020-04-16T14:36:59.729Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-04-16T14:36:59.729Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-04-16T14:36:59.729Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-04-16T14:36:59.729Z] (12/48) Installing gcc (8.3.0-r0) [2020-04-16T14:36:59.916Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-04-16T14:36:59.916Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-04-16T14:37:00.187Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-04-16T14:37:00.774Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-04-16T14:37:01.358Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-04-16T14:37:01.358Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-04-16T14:37:02.313Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-04-16T14:37:02.580Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-04-16T14:37:02.610Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-04-16T14:37:02.610Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-04-16T14:37:02.610Z] (15/48) Installing g++ (8.3.0-r0) [2020-04-16T14:37:03.167Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-04-16T14:37:03.434Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-04-16T14:37:04.018Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-04-16T14:37:04.982Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-04-16T14:37:04.982Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-04-16T14:37:05.200Z] (16/48) Installing make (4.2.1-r2) [2020-04-16T14:37:05.200Z] (17/48) Installing fortify-headers (1.0-r0) [2020-04-16T14:37:05.200Z] (18/48) Installing build-base (0.5-r1) [2020-04-16T14:37:05.200Z] (19/48) Installing libattr (2.4.47-r7) [2020-04-16T14:37:05.200Z] (20/48) Installing libacl (2.2.52-r5) [2020-04-16T14:37:05.200Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-04-16T14:37:05.200Z] (22/48) Installing expat (2.2.8-r0) [2020-04-16T14:37:05.200Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-04-16T14:37:05.200Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-04-16T14:37:05.200Z] (25/48) Installing libarchive (3.3.3-r2) [2020-04-16T14:37:05.200Z] (26/48) Installing ca-certificates (20191127-r0) [2020-04-16T14:37:05.512Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-04-16T14:37:05.512Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-04-16T14:37:05.512Z] (29/48) Installing libcurl (7.64.0-r3) [2020-04-16T14:37:05.512Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-04-16T14:37:05.512Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-04-16T14:37:06.582Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-04-16T14:37:06.582Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-04-16T14:37:06.582Z] (34/48) Installing libuv (1.23.2-r0) [2020-04-16T14:37:06.582Z] (35/48) Installing cmake (3.13.0-r0) [2020-04-16T14:37:08.684Z] (36/48) Installing curl (7.64.0-r3) [2020-04-16T14:37:08.684Z] (37/48) Installing pcre2 (10.32-r1) [2020-04-16T14:37:08.684Z] (38/48) Installing git (2.20.3-r0) [2020-04-16T14:37:09.237Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-04-16T14:37:09.369Z] (39/48) Installing nettle (3.4.1-r0) [2020-04-16T14:37:09.369Z] (40/48) Installing libffi (3.2.1-r6) [2020-04-16T14:37:09.369Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-04-16T14:37:09.369Z] (42/48) Installing libtasn1 (4.14-r0) [2020-04-16T14:37:09.369Z] (43/48) Installing libunistring (0.9.10-r0) [2020-04-16T14:37:09.369Z] (44/48) Installing gnutls (3.6.7-r1) [2020-04-16T14:37:09.369Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-04-16T14:37:09.369Z] (46/48) Installing libuuid (2.33-r0) [2020-04-16T14:37:09.369Z] (47/48) Installing wget (1.20.3-r0) [2020-04-16T14:37:09.369Z] (48/48) Installing yaml (0.2.1-r0) [2020-04-16T14:37:09.369Z] Executing busybox-1.29.3-r10.trigger [2020-04-16T14:37:09.369Z] Executing ca-certificates-20191127-r0.trigger [2020-04-16T14:37:09.819Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-04-16T14:37:09.949Z] OK: 222 MiB in 62 packages [2020-04-16T14:37:10.087Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-04-16T14:37:10.671Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-04-16T14:37:12.085Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-16T14:37:14.035Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-04-16T14:37:17.389Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-04-16T14:37:17.975Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-04-16T14:37:18.343Z] Removing intermediate container c9e223ae7bef [2020-04-16T14:37:18.343Z] ---> d5caca031faa [2020-04-16T14:37:18.343Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-04-16T14:37:18.343Z] ---> 4c33e9cf8568 [2020-04-16T14:37:18.343Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-04-16T14:37:18.937Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-04-16T14:37:18.957Z] ---> 1c8fa3339208 [2020-04-16T14:37:18.958Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-04-16T14:37:19.523Z] [ 65%] Linking C shared library libcsdk.so [2020-04-16T14:37:19.590Z] ---> 7fbcb2fe1399 [2020-04-16T14:37:19.590Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-04-16T14:37:19.790Z] [ 65%] Built target csdk [2020-04-16T14:37:19.790Z] Scanning dependencies of target template [2020-04-16T14:37:19.790Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-04-16T14:37:19.882Z] ---> ca76bf77a27a [2020-04-16T14:37:19.883Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-04-16T14:37:20.149Z] ---> 4241fc00160b [2020-04-16T14:37:20.149Z] Successfully built 4241fc00160b [2020-04-16T14:37:20.149Z] Successfully tagged ci-base-image-x86_64:latest [2020-04-16T14:37:20.375Z] [ 68%] Linking C executable template [2020-04-16T14:37:20.375Z] [ 68%] Built target template [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-04-16T14:37:20.642Z] Scanning dependencies of target device-counter [2020-04-16T14:37:20.642Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:37:20.910Z] [ 71%] Linking C executable device-counter [2020-04-16T14:37:21.176Z] [ 71%] Built target device-counter [2020-04-16T14:37:21.176Z] Scanning dependencies of target device-random [2020-04-16T14:37:21.176Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-04-16T14:37:21.314Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-16T14:37:21.587Z] . [Pipeline] withDockerContainer [2020-04-16T14:37:21.760Z] [ 74%] Linking C executable device-random [2020-04-16T14:37:21.966Z] prd-centos7-docker-4c-2g-4292 does not seem to be running inside a container [2020-04-16T14:37:22.026Z] [ 74%] Built target device-random [2020-04-16T14:37:22.027Z] Scanning dependencies of target device-gyro [2020-04-16T14:37:22.027Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-04-16T14:37:22.293Z] [ 77%] Linking C executable device-gyro [2020-04-16T14:37:22.560Z] [ 77%] Built target device-gyro [2020-04-16T14:37:22.560Z] Scanning dependencies of target template-discovery [2020-04-16T14:37:22.560Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-04-16T14:37:22.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-16T14:37:23.533Z] [ 80%] Linking C executable template-discovery [2020-04-16T14:37:23.533Z] [ 80%] Built target template-discovery [2020-04-16T14:37:23.533Z] Scanning dependencies of target device-terminal [2020-04-16T14:37:23.533Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-04-16T14:37:24.120Z] [ 84%] Linking C executable device-terminal [2020-04-16T14:37:24.088Z] $ docker top 027cf22bb02ced22ac2e8d5483e0bbba742e8ac651a6d943abfcde1690dcf84f -eo pid,comm [2020-04-16T14:37:24.387Z] [ 84%] Built target device-terminal [2020-04-16T14:37:24.387Z] Scanning dependencies of target template2 [2020-04-16T14:37:24.387Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [Pipeline] { [Pipeline] sh [2020-04-16T14:37:24.970Z] [ 87%] Linking C executable template2 [2020-04-16T14:37:25.237Z] [ 87%] Built target template2 [2020-04-16T14:37:25.237Z] Scanning dependencies of target device-counterv2 [2020-04-16T14:37:25.237Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-04-16T14:37:25.299Z] + make test [2020-04-16T14:37:25.299Z] echo "make test" [2020-04-16T14:37:25.299Z] make test [Pipeline] } [2020-04-16T14:37:25.442Z] $ docker stop --time=1 027cf22bb02ced22ac2e8d5483e0bbba742e8ac651a6d943abfcde1690dcf84f [2020-04-16T14:37:25.823Z] [ 90%] Linking C executable device-counterv2 [2020-04-16T14:37:26.090Z] [ 90%] Built target device-counterv2 [2020-04-16T14:37:26.090Z] Scanning dependencies of target device-gyrov2 [2020-04-16T14:37:26.090Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-04-16T14:37:26.358Z] [ 93%] Linking C executable device-gyrov2 [2020-04-16T14:37:26.626Z] [ 93%] Built target device-gyrov2 [2020-04-16T14:37:26.626Z] Scanning dependencies of target device-randomv2 [2020-04-16T14:37:26.894Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-04-16T14:37:27.165Z] [ 96%] Linking C executable device-randomv2 [2020-04-16T14:37:27.250Z] $ docker rm -f 027cf22bb02ced22ac2e8d5483e0bbba742e8ac651a6d943abfcde1690dcf84f [2020-04-16T14:37:27.449Z] [ 96%] Built target device-randomv2 [2020-04-16T14:37:27.449Z] Scanning dependencies of target device-terminalv2 [2020-04-16T14:37:27.449Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T14:37:28.038Z] [100%] Linking C executable device-terminalv2 [2020-04-16T14:37:28.307Z] [100%] Built target device-terminalv2 [2020-04-16T14:37:28.307Z] + make package [2020-04-16T14:37:28.307Z] + tee -a release.log [2020-04-16T14:37:28.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T14:37:28.577Z] [ 65%] Built target csdk [2020-04-16T14:37:28.577Z] [ 68%] Built target template [2020-04-16T14:37:28.577Z] [ 71%] Built target device-counter [2020-04-16T14:37:28.577Z] [ 74%] Built target device-random [2020-04-16T14:37:28.577Z] [ 77%] Built target device-gyro [2020-04-16T14:37:28.577Z] [ 80%] Built target template-discovery [2020-04-16T14:37:28.684Z] + ls -al . [2020-04-16T14:37:28.684Z] total 160 [2020-04-16T14:37:28.684Z] drwxrwxr-x. 8 jenkins jenkins 260 Apr 16 14:35 . [2020-04-16T14:37:28.684Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 16 14:35 .. [2020-04-16T14:37:28.684Z] -rw-rw-r--. 1 jenkins jenkins 3104 Apr 16 14:35 Attribution.txt [2020-04-16T14:37:28.684Z] -rw-rw-r--. 1 jenkins jenkins 5109 Apr 16 14:35 CHANGES [2020-04-16T14:37:28.684Z] drwxrwxr-x. 2 jenkins jenkins 144 Apr 16 14:35 docs [2020-04-16T14:37:28.684Z] -rw-rw-r--. 1 jenkins jenkins 108574 Apr 16 14:35 Doxyfile [2020-04-16T14:37:28.684Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 14:35 .git [2020-04-16T14:37:28.684Z] -rw-rw-r--. 1 jenkins jenkins 176 Apr 16 14:35 .gitignore [2020-04-16T14:37:28.684Z] drwxrwxr-x. 4 jenkins jenkins 33 Apr 16 14:35 include [2020-04-16T14:37:28.684Z] -rw-rw-r--. 1 jenkins jenkins 792 Apr 16 14:35 Jenkinsfile [2020-04-16T14:37:28.684Z] -rw-rw-r--. 1 jenkins jenkins 10174 Apr 16 14:35 LICENSE [2020-04-16T14:37:28.684Z] -rw-rw-r--. 1 jenkins jenkins 448 Apr 16 14:35 Makefile [2020-04-16T14:37:28.684Z] -rw-rw-r--. 1 jenkins jenkins 1849 Apr 16 14:35 README.md [2020-04-16T14:37:28.684Z] -rw-rw-r--. 1 jenkins jenkins 5050 Apr 16 14:35 README.v2.md [2020-04-16T14:37:28.684Z] drwxrwxr-x. 2 jenkins jenkins 106 Apr 16 14:35 scripts [2020-04-16T14:37:28.684Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 16 14:35 .semver [2020-04-16T14:37:28.684Z] drwxrwxr-x. 4 jenkins jenkins 50 Apr 16 14:35 src [2020-04-16T14:37:28.684Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 14:31 VERSION [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:37:28.845Z] [ 84%] Built target device-terminal [2020-04-16T14:37:28.845Z] [ 87%] Built target template2 [2020-04-16T14:37:28.845Z] [ 90%] Built target device-counterv2 [2020-04-16T14:37:28.845Z] [ 93%] Built target device-gyrov2 [2020-04-16T14:37:28.845Z] [ 96%] Built target device-randomv2 [2020-04-16T14:37:28.845Z] [100%] Built target device-terminalv2 [2020-04-16T14:37:29.116Z] + 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=9bbc10b8fe27f41404d5d651dc9376adbd83064e --label arch=amd64 --label version=0.0.0 . [2020-04-16T14:37:29.116Z] Run CPack packaging tool... [2020-04-16T14:37:29.116Z] CPack: Create package using TGZ [2020-04-16T14:37:29.116Z] CPack: Install projects [2020-04-16T14:37:29.116Z] CPack: - Run preinstall target for: Csdk [2020-04-16T14:37:29.386Z] Sending build context to Docker daemon 3.003MB [2020-04-16T14:37:29.674Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-04-16T14:37:29.674Z] Step 2/15 : FROM ${BASE} [2020-04-16T14:37:29.674Z] ---> 4241fc00160b [2020-04-16T14:37:29.674Z] Step 3/15 : MAINTAINER IOTech [2020-04-16T14:37:29.674Z] ---> Running in 348d89e53b5f [2020-04-16T14:37:29.701Z] CPack: - Install project: Csdk [2020-04-16T14:37:29.701Z] CPack: Create package [2020-04-16T14:37:30.041Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-04-16T14:37:30.041Z] + '[' false '=' true ] [2020-04-16T14:37:30.041Z] + '[' false '=' true ] [2020-04-16T14:37:30.041Z] + mkdir -p /tmp/sdk/build/debug [2020-04-16T14:37:30.041Z] + cd /tmp/sdk/build/debug [2020-04-16T14:37:30.041Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-04-16T14:37:30.278Z] Removing intermediate container 348d89e53b5f [2020-04-16T14:37:30.278Z] ---> c5f9b9c6f296 [2020-04-16T14:37:30.278Z] 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-16T14:37:30.278Z] ---> Running in a3f8a4e72d75 [2020-04-16T14:37:30.314Z] -- The C compiler identification is GNU 8.3.0 [2020-04-16T14:37:30.314Z] -- Check for working C compiler: /usr/bin/cc [2020-04-16T14:37:30.608Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-16T14:37:30.608Z] -- Detecting C compiler ABI info [2020-04-16T14:37:30.879Z] -- Detecting C compiler ABI info - done [2020-04-16T14:37:30.879Z] -- Detecting C compile features [2020-04-16T14:37:31.972Z] -- Detecting C compile features - done [2020-04-16T14:37:31.972Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-04-16T14:37:31.972Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-04-16T14:37:31.972Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-04-16T14:37:31.972Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-04-16T14:37:31.972Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-04-16T14:37:31.972Z] -- C SDK 0.0.0 for Linux [2020-04-16T14:37:31.972Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-04-16T14:37:32.248Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-04-16T14:37:32.248Z] -- Found Curses: /usr/lib/libcurses.so [2020-04-16T14:37:32.248Z] -- Configuring done [2020-04-16T14:37:33.108Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-04-16T14:37:33.108Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-04-16T14:37:33.108Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-04-16T14:37:33.108Z] (2/21) Installing openssl-dev (1.1.1d-r2) [2020-04-16T14:37:33.108Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-04-16T14:37:33.407Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-04-16T14:37:33.407Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-04-16T14:37:33.407Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-04-16T14:37:33.407Z] (7/21) Installing gnutls-c++ (3.6.7-r1) [2020-04-16T14:37:33.407Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-04-16T14:37:33.407Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-04-16T14:37:33.407Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-04-16T14:37:33.420Z] -- Generating done [2020-04-16T14:37:33.420Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-04-16T14:37:33.420Z] + make [2020-04-16T14:37:33.420Z] + tee debug.log [2020-04-16T14:37:33.420Z] Scanning dependencies of target csdk [2020-04-16T14:37:33.420Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-04-16T14:37:33.420Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-04-16T14:37:33.687Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-04-16T14:37:33.704Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-04-16T14:37:33.968Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-04-16T14:37:33.968Z] (13/21) Installing gnutls-dev (3.6.7-r1) [2020-04-16T14:37:33.968Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-04-16T14:37:33.968Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-04-16T14:37:33.968Z] (16/21) Installing libblkid (2.33-r0) [2020-04-16T14:37:34.230Z] (17/21) Installing libfdisk (2.33-r0) [2020-04-16T14:37:34.230Z] (18/21) Installing libmount (2.33-r0) [2020-04-16T14:37:34.230Z] (19/21) Installing libsmartcols (2.33-r0) [2020-04-16T14:37:34.230Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-04-16T14:37:34.230Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-04-16T14:37:34.230Z] Executing busybox-1.29.3-r10.trigger [2020-04-16T14:37:34.230Z] OK: 265 MiB in 83 packages [2020-04-16T14:37:34.271Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-04-16T14:37:34.542Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-04-16T14:37:34.542Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-04-16T14:37:35.127Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-04-16T14:37:35.650Z] Removing intermediate container a3f8a4e72d75 [2020-04-16T14:37:35.650Z] ---> 4c6ede469c15 [2020-04-16T14:37:35.650Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-04-16T14:37:35.712Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-04-16T14:37:35.923Z] ---> 3eebf905bcfd [2020-04-16T14:37:35.923Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-04-16T14:37:35.978Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-04-16T14:37:36.188Z] ---> a88becfa2ed1 [2020-04-16T14:37:36.188Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-04-16T14:37:36.246Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-04-16T14:37:36.513Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-04-16T14:37:36.778Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-04-16T14:37:36.825Z] ---> c4ec018153f8 [2020-04-16T14:37:36.825Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-04-16T14:37:37.061Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-04-16T14:37:37.328Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-04-16T14:37:37.419Z] ---> 50b61d5b8b2a [2020-04-16T14:37:37.419Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-04-16T14:37:38.287Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-04-16T14:37:38.287Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-04-16T14:37:38.555Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-04-16T14:37:38.822Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-04-16T14:37:38.868Z] ---> adbfaf913868 [2020-04-16T14:37:38.868Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-04-16T14:37:39.132Z] ---> 3f66c9503586 [2020-04-16T14:37:39.132Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-04-16T14:37:39.132Z] ---> Running in 465f904ba73d [2020-04-16T14:37:39.395Z] Removing intermediate container 465f904ba73d [2020-04-16T14:37:39.395Z] ---> 178aea0c5e3a [2020-04-16T14:37:39.395Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-04-16T14:37:39.395Z] ---> Running in 8357674141da [2020-04-16T14:37:39.409Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-04-16T14:37:39.657Z] Removing intermediate container 8357674141da [2020-04-16T14:37:39.657Z] ---> d140d6a76217 [2020-04-16T14:37:39.657Z] Step 13/15 : LABEL arch=amd64 [2020-04-16T14:37:39.657Z] ---> Running in 950c12e58011 [2020-04-16T14:37:39.677Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-04-16T14:37:39.677Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-04-16T14:37:39.922Z] Removing intermediate container 950c12e58011 [2020-04-16T14:37:39.922Z] ---> a2c6f45bafa6 [2020-04-16T14:37:39.922Z] Step 14/15 : LABEL git_sha=9bbc10b8fe27f41404d5d651dc9376adbd83064e [2020-04-16T14:37:39.922Z] ---> Running in b1fae0e17e1f [2020-04-16T14:37:39.922Z] Removing intermediate container b1fae0e17e1f [2020-04-16T14:37:39.922Z] ---> 6d24efea5513 [2020-04-16T14:37:39.922Z] Step 15/15 : LABEL version=0.0.0 [2020-04-16T14:37:39.943Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-04-16T14:37:40.183Z] ---> Running in ae5ec8ef7d89 [2020-04-16T14:37:40.211Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-04-16T14:37:40.211Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-04-16T14:37:40.444Z] Removing intermediate container ae5ec8ef7d89 [2020-04-16T14:37:40.444Z] ---> 7091194771ef [2020-04-16T14:37:40.444Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-04-16T14:37:40.444Z] Successfully built 7091194771ef [2020-04-16T14:37:40.444Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [2020-04-16T14:37:40.483Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [2020-04-16T14:37:40.752Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [2020-04-16T14:37:41.021Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-16T14:37:41.287Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-04-16T14:37:41.554Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-04-16T14:37:41.821Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-04-16T14:37:42.088Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-04-16T14:37:43.050Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-04-16T14:37:43.316Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-04-16T14:37:43.583Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-04-16T14:37:43.852Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-04-16T14:37:44.819Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-16T14:37:45.404Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-04-16T14:37:45.988Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-04-16T14:37:46.255Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-04-16T14:37:46.839Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-04-16T14:37:46.839Z] [ 65%] Linking C shared library libcsdk.so [2020-04-16T14:37:47.106Z] [ 65%] Built target csdk [2020-04-16T14:37:47.106Z] Scanning dependencies of target template [2020-04-16T14:37:47.106Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-04-16T14:37:47.374Z] [ 68%] Linking C executable template [2020-04-16T14:37:47.641Z] [ 68%] Built target template [2020-04-16T14:37:47.641Z] Scanning dependencies of target device-counter [2020-04-16T14:37:47.641Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-04-16T14:37:47.911Z] [ 71%] Linking C executable device-counter [2020-04-16T14:37:48.178Z] [ 71%] Built target device-counter [2020-04-16T14:37:48.178Z] Scanning dependencies of target device-random [2020-04-16T14:37:48.178Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-04-16T14:37:48.445Z] [ 74%] Linking C executable device-random [2020-04-16T14:37:48.712Z] [ 74%] Built target device-random [2020-04-16T14:37:48.712Z] Scanning dependencies of target device-gyro [2020-04-16T14:37:48.712Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-04-16T14:37:48.979Z] [ 77%] Linking C executable device-gyro [2020-04-16T14:37:49.246Z] [ 77%] Built target device-gyro [2020-04-16T14:37:49.246Z] Scanning dependencies of target template-discovery [2020-04-16T14:37:49.246Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-04-16T14:37:49.521Z] [ 80%] Linking C executable template-discovery [2020-04-16T14:37:49.792Z] [ 80%] Built target template-discovery [2020-04-16T14:37:49.792Z] Scanning dependencies of target device-terminal [2020-04-16T14:37:49.792Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-04-16T14:37:50.058Z] [ 84%] Linking C executable device-terminal [2020-04-16T14:37:50.326Z] [ 84%] Built target device-terminal [2020-04-16T14:37:50.326Z] Scanning dependencies of target template2 [2020-04-16T14:37:50.326Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-04-16T14:37:50.594Z] [ 87%] Linking C executable template2 [2020-04-16T14:37:50.862Z] [ 87%] Built target template2 [2020-04-16T14:37:50.862Z] Scanning dependencies of target device-counterv2 [2020-04-16T14:37:50.862Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-04-16T14:37:51.129Z] [ 90%] Linking C executable device-counterv2 [2020-04-16T14:37:51.396Z] [ 90%] Built target device-counterv2 [2020-04-16T14:37:51.396Z] Scanning dependencies of target device-gyrov2 [2020-04-16T14:37:51.396Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-04-16T14:37:51.665Z] [ 93%] Linking C executable device-gyrov2 [2020-04-16T14:37:51.933Z] [ 93%] Built target device-gyrov2 [2020-04-16T14:37:51.934Z] Scanning dependencies of target device-randomv2 [2020-04-16T14:37:51.934Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-04-16T14:37:52.203Z] [ 96%] Linking C executable device-randomv2 [2020-04-16T14:37:52.470Z] [ 96%] Built target device-randomv2 [2020-04-16T14:37:52.470Z] Scanning dependencies of target device-terminalv2 [2020-04-16T14:37:52.470Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-04-16T14:37:52.738Z] [100%] Linking C executable device-terminalv2 [2020-04-16T14:37:53.006Z] [100%] Built target device-terminalv2 [2020-04-16T14:37:53.006Z] make: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:53.006Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:53.006Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:53.275Z] Scanning dependencies of target csdk [2020-04-16T14:37:53.275Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:53.275Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:53.275Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-16T14:37:55.220Z] [ 3%] Linking C shared library libcsdk.so [2020-04-16T14:37:55.220Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:55.220Z] [ 65%] Built target csdk [2020-04-16T14:37:55.220Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:55.220Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:55.220Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:55.220Z] [ 66%] Linking C executable template [2020-04-16T14:37:55.220Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:55.220Z] [ 68%] Built target template [2020-04-16T14:37:55.220Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:55.220Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:55.220Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:55.220Z] [ 69%] Linking C executable device-counter [2020-04-16T14:37:55.489Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:55.489Z] [ 71%] Built target device-counter [2020-04-16T14:37:55.489Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:55.489Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:55.489Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:55.489Z] [ 73%] Linking C executable device-random [2020-04-16T14:37:55.758Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:55.758Z] [ 74%] Built target device-random [2020-04-16T14:37:55.758Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:55.758Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:55.758Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:55.758Z] [ 76%] Linking C executable device-gyro [2020-04-16T14:37:56.027Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:56.027Z] [ 77%] Built target device-gyro [2020-04-16T14:37:56.027Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:56.027Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:56.027Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:56.027Z] [ 79%] Linking C executable template-discovery [2020-04-16T14:37:56.296Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:56.296Z] [ 80%] Built target template-discovery [2020-04-16T14:37:56.296Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:56.296Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:56.296Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:56.296Z] [ 82%] Linking C executable device-terminal [2020-04-16T14:37:56.564Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:56.564Z] [ 84%] Built target device-terminal [2020-04-16T14:37:56.564Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:56.564Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:56.564Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:56.564Z] [ 85%] Linking C executable template2 [2020-04-16T14:37:56.832Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:56.832Z] [ 87%] Built target template2 [2020-04-16T14:37:56.832Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:56.832Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:56.832Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:56.832Z] [ 88%] Linking C executable device-counterv2 [2020-04-16T14:37:57.101Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:57.101Z] [ 90%] Built target device-counterv2 [2020-04-16T14:37:57.101Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:57.101Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:57.101Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:57.101Z] [ 92%] Linking C executable device-gyrov2 [2020-04-16T14:37:57.370Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:57.370Z] [ 93%] Built target device-gyrov2 [2020-04-16T14:37:57.370Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:57.370Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:57.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:57.371Z] [ 95%] Linking C executable device-randomv2 [2020-04-16T14:37:57.640Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:57.640Z] [ 96%] Built target device-randomv2 [2020-04-16T14:37:57.640Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:57.640Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:57.640Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-16T14:37:57.640Z] [ 98%] Linking C executable device-terminalv2 [2020-04-16T14:37:57.909Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:57.909Z] [100%] Built target device-terminalv2 [2020-04-16T14:37:57.909Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:37:58.177Z] Install the project... [2020-04-16T14:37:58.177Z] -- Install configuration: "Release" [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/lib/libcsdk.so [2020-04-16T14:37:58.177Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-04-16T14:37:58.177Z] -- Up-to-date: /usr/local/include [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/devsdk [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/edgex [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/edgex/devices.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/edgex/error.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/edgex/registry.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/edgex/os.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot/hash.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot/thread.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot/json.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot/os [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot/base64.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot/container.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot/data.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot/component.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot/os.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot/logger.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot/time.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/include/iot/iot.h [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-04-16T14:37:58.177Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-04-16T14:37:58.177Z] make: Leaving directory '/tmp/sdk/build/release' [2020-04-16T14:38:00.132Z] Removing intermediate container 2cc80179adef [2020-04-16T14:38:00.132Z] ---> 1266655d79ab [2020-04-16T14:38:00.132Z] Step 14/21 : FROM alpine:3.9 [2020-04-16T14:38:00.714Z] 3.9: Pulling from library/alpine [2020-04-16T14:38:00.714Z] eb93038481dd: Pulling fs layer [2020-04-16T14:38:01.298Z] eb93038481dd: Download complete [2020-04-16T14:38:01.567Z] eb93038481dd: Pull complete [2020-04-16T14:38:01.567Z] Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 [2020-04-16T14:38:01.567Z] Status: Downloaded newer image for alpine:3.9 [2020-04-16T14:38:01.567Z] ---> 355993758880 [2020-04-16T14:38:01.567Z] Step 15/21 : MAINTAINER IOTech [2020-04-16T14:38:01.836Z] ---> Running in 20f325452a30 [2020-04-16T14:38:02.422Z] Removing intermediate container 20f325452a30 [2020-04-16T14:38:02.422Z] ---> 7e199b5090ea [2020-04-16T14:38:02.422Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-04-16T14:38:02.422Z] ---> Running in 5c29500a0739 [2020-04-16T14:38:03.387Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-04-16T14:38:03.655Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-04-16T14:38:03.923Z] (1/48) Installing binutils (2.31.1-r2) [2020-04-16T14:38:04.191Z] (2/48) Installing libmagic (5.36-r1) [2020-04-16T14:38:04.191Z] (3/48) Installing file (5.36-r1) [2020-04-16T14:38:04.191Z] (4/48) Installing gmp (6.1.2-r1) [2020-04-16T14:38:04.191Z] (5/48) Installing isl (0.18-r0) [2020-04-16T14:38:04.191Z] (6/48) Installing libgomp (8.3.0-r0) [2020-04-16T14:38:04.191Z] (7/48) Installing libatomic (8.3.0-r0) [2020-04-16T14:38:04.191Z] (8/48) Installing libgcc (8.3.0-r0) [2020-04-16T14:38:04.191Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-04-16T14:38:04.191Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-04-16T14:38:04.191Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-04-16T14:38:04.456Z] (12/48) Installing gcc (8.3.0-r0) [2020-04-16T14:38:05.867Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-04-16T14:38:05.867Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-04-16T14:38:05.867Z] (15/48) Installing g++ (8.3.0-r0) [2020-04-16T14:38:07.281Z] (16/48) Installing make (4.2.1-r2) [2020-04-16T14:38:07.281Z] (17/48) Installing fortify-headers (1.0-r0) [2020-04-16T14:38:07.281Z] (18/48) Installing build-base (0.5-r1) [2020-04-16T14:38:07.281Z] (19/48) Installing libattr (2.4.47-r7) [2020-04-16T14:38:07.281Z] (20/48) Installing libacl (2.2.52-r5) [2020-04-16T14:38:07.281Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-04-16T14:38:07.281Z] (22/48) Installing expat (2.2.8-r0) [2020-04-16T14:38:07.281Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-04-16T14:38:07.281Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-04-16T14:38:07.281Z] (25/48) Installing libarchive (3.3.3-r2) [2020-04-16T14:38:07.281Z] (26/48) Installing ca-certificates (20191127-r0) [2020-04-16T14:38:07.549Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-04-16T14:38:07.549Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-04-16T14:38:07.549Z] (29/48) Installing libcurl (7.64.0-r3) [2020-04-16T14:38:07.549Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-04-16T14:38:07.549Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-04-16T14:38:08.510Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-04-16T14:38:08.510Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-04-16T14:38:08.510Z] (34/48) Installing libuv (1.23.2-r0) [2020-04-16T14:38:08.510Z] (35/48) Installing cmake (3.13.0-r0) [2020-04-16T14:38:09.922Z] (36/48) Installing curl (7.64.0-r3) [2020-04-16T14:38:09.922Z] (37/48) Installing pcre2 (10.32-r1) [2020-04-16T14:38:09.922Z] (38/48) Installing git (2.20.3-r0) [2020-04-16T14:38:10.189Z] (39/48) Installing nettle (3.4.1-r0) [2020-04-16T14:38:10.189Z] (40/48) Installing libffi (3.2.1-r6) [2020-04-16T14:38:10.189Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-04-16T14:38:10.189Z] (42/48) Installing libtasn1 (4.14-r0) [2020-04-16T14:38:10.189Z] (43/48) Installing libunistring (0.9.10-r0) [2020-04-16T14:38:10.456Z] (44/48) Installing gnutls (3.6.7-r1) [2020-04-16T14:38:10.456Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-04-16T14:38:10.456Z] (46/48) Installing libuuid (2.33-r0) [2020-04-16T14:38:10.456Z] (47/48) Installing wget (1.20.3-r0) [2020-04-16T14:38:10.456Z] (48/48) Installing yaml (0.2.1-r0) [2020-04-16T14:38:10.456Z] Executing busybox-1.29.3-r10.trigger [2020-04-16T14:38:10.456Z] Executing ca-certificates-20191127-r0.trigger [2020-04-16T14:38:10.724Z] OK: 219 MiB in 62 packages [2020-04-16T14:38:25.734Z] Removing intermediate container 5c29500a0739 [2020-04-16T14:38:25.734Z] ---> 769f1b2821e6 [2020-04-16T14:38:25.734Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-04-16T14:38:25.734Z] ---> 3c69592f0694 [2020-04-16T14:38:25.734Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-04-16T14:38:25.734Z] ---> d445707e658e [2020-04-16T14:38:25.734Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-04-16T14:38:25.734Z] ---> 7c0740e0fe4b [2020-04-16T14:38:25.734Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-04-16T14:38:26.003Z] ---> a8b2aefc4cb2 [2020-04-16T14:38:26.003Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-04-16T14:38:26.587Z] ---> 21eda33e2e26 [2020-04-16T14:38:26.587Z] Successfully built 21eda33e2e26 [2020-04-16T14:38:26.587Z] 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-16T14:38:27.254Z] + docker inspect -f . ci-base-image-arm64 [2020-04-16T14:38:27.522Z] . [Pipeline] withDockerContainer [2020-04-16T14:38:27.859Z] prd-ubuntu18.04-docker-arm64-4c-16g-4293 does not seem to be running inside a container [2020-04-16T14:38:27.939Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-16T14:38:29.351Z] $ docker top 777e448d462a7af281e7b62386bfbc2e9887eb0c9f78d8126ffdfaeb9f60070c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T14:38:30.422Z] + make test [2020-04-16T14:38:30.422Z] echo "make test" [2020-04-16T14:38:30.422Z] make test [Pipeline] } [2020-04-16T14:38:30.441Z] $ docker stop --time=1 777e448d462a7af281e7b62386bfbc2e9887eb0c9f78d8126ffdfaeb9f60070c [2020-04-16T14:38:32.403Z] $ docker rm -f 777e448d462a7af281e7b62386bfbc2e9887eb0c9f78d8126ffdfaeb9f60070c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T14:38:33.411Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T14:38:33.747Z] + ls -al . [2020-04-16T14:38:33.747Z] total 192 [2020-04-16T14:38:33.747Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 14:35 . [2020-04-16T14:38:33.747Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:35 .. [2020-04-16T14:38:33.747Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 14:35 .git [2020-04-16T14:38:33.747Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 16 14:35 .gitignore [2020-04-16T14:38:33.747Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:35 .semver [2020-04-16T14:38:33.747Z] -rw-rw-r-- 1 jenkins jenkins 3104 Apr 16 14:35 Attribution.txt [2020-04-16T14:38:33.747Z] -rw-rw-r-- 1 jenkins jenkins 5109 Apr 16 14:35 CHANGES [2020-04-16T14:38:33.747Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 16 14:35 Doxyfile [2020-04-16T14:38:33.747Z] -rw-rw-r-- 1 jenkins jenkins 792 Apr 16 14:35 Jenkinsfile [2020-04-16T14:38:33.747Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 16 14:35 LICENSE [2020-04-16T14:38:33.747Z] -rw-rw-r-- 1 jenkins jenkins 448 Apr 16 14:35 Makefile [2020-04-16T14:38:33.747Z] -rw-rw-r-- 1 jenkins jenkins 1849 Apr 16 14:35 README.md [2020-04-16T14:38:33.747Z] -rw-rw-r-- 1 jenkins jenkins 5050 Apr 16 14:35 README.v2.md [2020-04-16T14:38:33.747Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 14:31 VERSION [2020-04-16T14:38:33.747Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 14:35 docs [2020-04-16T14:38:33.747Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:35 include [2020-04-16T14:38:33.747Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 14:35 scripts [2020-04-16T14:38:33.747Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:35 src [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:38:34.122Z] + 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=9bbc10b8fe27f41404d5d651dc9376adbd83064e --label arch=arm64 --label version=0.0.0 . [2020-04-16T14:38:34.730Z] Sending build context to Docker daemon 3.003MB [2020-04-16T14:38:34.730Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-04-16T14:38:34.730Z] Step 2/15 : FROM ${BASE} [2020-04-16T14:38:34.730Z] ---> 21eda33e2e26 [2020-04-16T14:38:34.730Z] Step 3/15 : MAINTAINER IOTech [2020-04-16T14:38:34.730Z] ---> Running in 4cc8bbc97f73 [2020-04-16T14:38:35.318Z] Removing intermediate container 4cc8bbc97f73 [2020-04-16T14:38:35.318Z] ---> 62df2325398c [2020-04-16T14:38:35.318Z] 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-16T14:38:35.318Z] ---> Running in fd49271cc279 [2020-04-16T14:38:36.282Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-04-16T14:38:36.282Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-04-16T14:38:36.864Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-04-16T14:38:36.864Z] (2/21) Installing openssl-dev (1.1.1d-r2) [2020-04-16T14:38:37.451Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-04-16T14:38:37.451Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-04-16T14:38:37.451Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-04-16T14:38:37.451Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-04-16T14:38:37.451Z] (7/21) Installing gnutls-c++ (3.6.7-r1) [2020-04-16T14:38:37.451Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-04-16T14:38:37.451Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-04-16T14:38:37.451Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-04-16T14:38:37.720Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-04-16T14:38:37.720Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-04-16T14:38:37.720Z] (13/21) Installing gnutls-dev (3.6.7-r1) [2020-04-16T14:38:37.720Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-04-16T14:38:37.720Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-04-16T14:38:38.000Z] (16/21) Installing libblkid (2.33-r0) [2020-04-16T14:38:38.000Z] (17/21) Installing libfdisk (2.33-r0) [2020-04-16T14:38:38.000Z] (18/21) Installing libmount (2.33-r0) [2020-04-16T14:38:38.000Z] (19/21) Installing libsmartcols (2.33-r0) [2020-04-16T14:38:38.000Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-04-16T14:38:38.000Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-04-16T14:38:38.000Z] Executing busybox-1.29.3-r10.trigger [2020-04-16T14:38:38.000Z] OK: 279 MiB in 83 packages [2020-04-16T14:38:41.364Z] Removing intermediate container fd49271cc279 [2020-04-16T14:38:41.364Z] ---> a71455a04e18 [2020-04-16T14:38:41.364Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-04-16T14:38:41.632Z] ---> fabd87ac4f7b [2020-04-16T14:38:41.632Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-04-16T14:38:42.600Z] ---> 984fbb6bc831 [2020-04-16T14:38:42.600Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-04-16T14:38:43.181Z] ---> b3cfe103819e [2020-04-16T14:38:43.182Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-04-16T14:38:43.765Z] ---> 06619f3a3ad7 [2020-04-16T14:38:43.765Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-04-16T14:38:44.033Z] ---> b29d77dae497 [2020-04-16T14:38:44.033Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-04-16T14:38:44.620Z] ---> 0e2bd108a23e [2020-04-16T14:38:44.620Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-04-16T14:38:44.886Z] ---> Running in 0db25961fabd [2020-04-16T14:38:45.154Z] Removing intermediate container 0db25961fabd [2020-04-16T14:38:45.154Z] ---> 4aeddd07eaad [2020-04-16T14:38:45.154Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-04-16T14:38:45.154Z] ---> Running in 2896b4cd6c9e [2020-04-16T14:38:45.743Z] Removing intermediate container 2896b4cd6c9e [2020-04-16T14:38:45.743Z] ---> 848d5434c386 [2020-04-16T14:38:45.743Z] Step 13/15 : LABEL arch=arm64 [2020-04-16T14:38:45.743Z] ---> Running in 664e9fa7a770 [2020-04-16T14:38:46.013Z] Removing intermediate container 664e9fa7a770 [2020-04-16T14:38:46.013Z] ---> c9974f1455cd [2020-04-16T14:38:46.013Z] Step 14/15 : LABEL git_sha=9bbc10b8fe27f41404d5d651dc9376adbd83064e [2020-04-16T14:38:46.282Z] ---> Running in fc8166d5abe1 [2020-04-16T14:38:46.549Z] Removing intermediate container fc8166d5abe1 [2020-04-16T14:38:46.549Z] ---> f019e5d1592f [2020-04-16T14:38:46.549Z] Step 15/15 : LABEL version=0.0.0 [2020-04-16T14:38:46.818Z] ---> Running in 2ea0d9d1b66a [2020-04-16T14:38:47.086Z] Removing intermediate container 2ea0d9d1b66a [2020-04-16T14:38:47.086Z] ---> 5daad27bb02c [2020-04-16T14:38:47.086Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-04-16T14:38:47.086Z] Successfully built 5daad27bb02c [2020-04-16T14:38:47.086Z] 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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [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-16T14:38:48.938Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:38:49.943Z] ---> package-listing.sh [2020-04-16T14:38:49.943Z] ++ facter osfamily [2020-04-16T14:38:49.943Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-16T14:38:49.943Z] + OS_FAMILY=redhat [2020-04-16T14:38:49.943Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-248 [2020-04-16T14:38:49.943Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-16T14:38:49.943Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-16T14:38:49.943Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-16T14:38:49.943Z] + PACKAGES=/tmp/packages_start.txt [2020-04-16T14:38:49.943Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-248 ']' [2020-04-16T14:38:49.943Z] + PACKAGES=/tmp/packages_end.txt [2020-04-16T14:38:49.943Z] + case "${OS_FAMILY}" in [2020-04-16T14:38:49.943Z] + sort [2020-04-16T14:38:49.943Z] + rpm -qa [2020-04-16T14:38:56.587Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-16T14:38:56.587Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-16T14:38:56.587Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-16T14:38:56.587Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-248 ']' [2020-04-16T14:38:56.587Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-248/archives/ [2020-04-16T14:38:56.587Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-248/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:38:57.273Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T14:38:57.571Z] [2020-04-16T14:38:57.571Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:38:58.032Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T14:38:58.721Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-16T14:38:58.721Z] c9b1b535fdd9: Pulling fs layer [2020-04-16T14:38:58.721Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-16T14:38:58.721Z] 756a868c4378: Pulling fs layer [2020-04-16T14:38:58.721Z] 444b2fc9a129: Pulling fs layer [2020-04-16T14:38:58.721Z] ea15f1150254: Pulling fs layer [2020-04-16T14:38:58.721Z] 41b27a9f41bf: Pulling fs layer [2020-04-16T14:38:58.721Z] 28c525ee5125: Pulling fs layer [2020-04-16T14:38:58.721Z] 094b1ea09ed8: Pulling fs layer [2020-04-16T14:38:58.721Z] 138eaada9080: Pulling fs layer [2020-04-16T14:38:58.721Z] 0622d0fa9048: Pulling fs layer [2020-04-16T14:38:58.721Z] 444b2fc9a129: Waiting [2020-04-16T14:38:58.721Z] ea15f1150254: Waiting [2020-04-16T14:38:58.721Z] 41b27a9f41bf: Waiting [2020-04-16T14:38:58.721Z] 28c525ee5125: Waiting [2020-04-16T14:38:58.721Z] 138eaada9080: Waiting [2020-04-16T14:38:58.721Z] 0622d0fa9048: Waiting [2020-04-16T14:38:58.721Z] 094b1ea09ed8: Waiting [2020-04-16T14:38:58.721Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-16T14:38:58.721Z] 2cc5ad85d9ab: Download complete [2020-04-16T14:38:58.721Z] 444b2fc9a129: Verifying Checksum [2020-04-16T14:38:58.721Z] 444b2fc9a129: Download complete [2020-04-16T14:38:59.043Z] c9b1b535fdd9: Verifying Checksum [2020-04-16T14:38:59.043Z] c9b1b535fdd9: Download complete [2020-04-16T14:38:59.412Z] ea15f1150254: Verifying Checksum [2020-04-16T14:38:59.412Z] ea15f1150254: Download complete [2020-04-16T14:38:59.919Z] 28c525ee5125: Verifying Checksum [2020-04-16T14:38:59.919Z] 28c525ee5125: Download complete [2020-04-16T14:39:00.353Z] c9b1b535fdd9: Pull complete [2020-04-16T14:39:01.539Z] 2cc5ad85d9ab: Pull complete [2020-04-16T14:39:01.539Z] 756a868c4378: Verifying Checksum [2020-04-16T14:39:01.539Z] 756a868c4378: Download complete [2020-04-16T14:39:01.979Z] 138eaada9080: Verifying Checksum [2020-04-16T14:39:01.979Z] 138eaada9080: Download complete [2020-04-16T14:39:02.385Z] 0622d0fa9048: Verifying Checksum [2020-04-16T14:39:02.385Z] 0622d0fa9048: Download complete [2020-04-16T14:39:03.028Z] 094b1ea09ed8: Verifying Checksum [2020-04-16T14:39:03.028Z] 094b1ea09ed8: Download complete [2020-04-16T14:39:04.766Z] 41b27a9f41bf: Verifying Checksum [2020-04-16T14:39:04.766Z] 41b27a9f41bf: Download complete [2020-04-16T14:39:06.286Z] 756a868c4378: Pull complete [2020-04-16T14:39:06.286Z] 444b2fc9a129: Pull complete [2020-04-16T14:39:06.634Z] ea15f1150254: Pull complete [2020-04-16T14:39:11.237Z] 41b27a9f41bf: Pull complete [2020-04-16T14:39:11.237Z] 28c525ee5125: Pull complete [2020-04-16T14:39:14.594Z] 094b1ea09ed8: Pull complete [2020-04-16T14:39:14.878Z] 138eaada9080: Pull complete [2020-04-16T14:39:15.472Z] 0622d0fa9048: Pull complete [2020-04-16T14:39:15.472Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-16T14:39:15.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-16T14:39:15.778Z] prd-centos7-docker-4c-2g-4290 does not seem to be running inside a container [2020-04-16T14:39:15.969Z] $ 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_PR-248 -v /w/workspace/edgexfoundry_device-sdk-c_PR-248:/w/workspace/edgexfoundry_device-sdk-c_PR-248:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-248@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-248@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-16T14:39:17.447Z] $ docker top adebdd027782e1a69b175387d0e0518fb98c9ed5feeca964dde37335c140c4ed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-16T14:39:17.914Z] provisioning config files... [2020-04-16T14:39:17.939Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-248@tmp/config5102837088152121618tmp [Pipeline] { [Pipeline] echo [2020-04-16T14:39:18.092Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:39:18.853Z] ---> create-netrc.sh [Pipeline] echo [2020-04-16T14:39:18.914Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:39:19.890Z] ---> logs-deploy.sh [2020-04-16T14:39:19.890Z] + ARCHIVE_ARTIFACTS= [2020-04-16T14:39:19.890Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-16T14:39:19.890Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-16T14:39:19.890Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-16T14:39:19.890Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-248/2 [2020-04-16T14:39:19.890Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-248/2/ [2020-04-16T14:39:19.890Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-248/2 /w/workspace/edgexfoundry_device-sdk-c_PR-248 [2020-04-16T14:39:21.870Z] Archives upload complete. [2020-04-16T14:39:22.167Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-248/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-248/2/