Pull request #275 opened 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 a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3+b4873c23cc909bb34276112007e0d4a5fd45beca (4c3f2d2049e361294efcafaa8244c1e13254bdcf) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-275/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.11-base, dockerFilePath:scripts/Dockerfile.alpine-3.11, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.11 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.11-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-4788 in /w/workspace/edgexfoundry_device-sdk-c_PR-275 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-275 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/275/head:refs/remotes/origin/PR-275 +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/275/head:refs/remotes/origin/PR-275 # 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/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b4873c23cc909bb34276112007e0d4a5fd45beca into PR head commit a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 Merge succeeded, producing a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 Checking out Revision a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 (PR-275) > git config core.sparsecheckout # timeout=10 > git checkout -f a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 # 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 b4873c23cc909bb34276112007e0d4a5fd45beca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 # timeout=10 Commit message: "feat: implement device endpoint for v2 REST API" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:46:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:46:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:46:58 ========================================================= 13:46:58 EdgeX Global Pipelines Version Info 13:46:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:47:00 ------------------- 13:47:00 stable info: 13:47:00 ------------------- 13:47:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:47:00 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 13:47:00 Message: update stable to v1.0.89 13:47:00 ------------------- 13:47:00 experimental info: 13:47:00 ------------------- 13:47:00 Commited By: **** collab-it+edgex@linuxfoundation.org 13:47:00 Commit SHA: aa323fb5dfebb31640c35badf05a5a9beff52318 13:47:00 Message: update experimental to v1.0.90 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 13:47:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:47:02 13:47:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:47:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:47:03 latest: Pulling from edgex-devops/git-semver 13:47:03 9123ac7c32f7: Pulling fs layer 13:47:03 b8cc5d1170e3: Pulling fs layer 13:47:03 2924cbbf6a41: Pulling fs layer 13:47:03 93b08a4f1073: Pulling fs layer 13:47:03 93b08a4f1073: Waiting 13:47:03 b8cc5d1170e3: Verifying Checksum 13:47:03 b8cc5d1170e3: Download complete 13:47:03 9123ac7c32f7: Download complete 13:47:03 93b08a4f1073: Verifying Checksum 13:47:03 93b08a4f1073: Download complete 13:47:03 2924cbbf6a41: Verifying Checksum 13:47:03 2924cbbf6a41: Download complete 13:47:03 9123ac7c32f7: Pull complete 13:47:03 b8cc5d1170e3: Pull complete 13:47:04 2924cbbf6a41: Pull complete 13:47:04 93b08a4f1073: Pull complete 13:47:04 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 13:47:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:47:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:47:04 prd-centos7-docker-4c-2g-4788 does not seem to be running inside a container 13:47:04 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-275 -v /w/workspace/edgexfoundry_device-sdk-c_PR-275:/w/workspace/edgexfoundry_device-sdk-c_PR-275:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-275@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 13:47:06 $ docker top 131c6ff6f8388f621160e388cc7ede5133cb440ee147921fbfc79efafc6f7a03 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:47:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:47:06 [ssh-agent] Looking for ssh-agent implementation... 13:47:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:47:07 $ docker exec 131c6ff6f8388f621160e388cc7ede5133cb440ee147921fbfc79efafc6f7a03 ssh-agent 13:47:07 SSH_AUTH_SOCK=/tmp/ssh-TcsLzBH9xAdP/agent.12 13:47:07 SSH_AGENT_PID=17 13:47:07 Running ssh-add (command line suppressed) 13:47:07 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp/private_key_1724166443244896129.key (/w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp/private_key_1724166443244896129.key) 13:47:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:47:07 + git describe --exact-match --tags HEAD 13:47:07 fatal: No names found, cannot describe anything. [Pipeline] } 13:47:07 $ docker exec --env ******** --env ******** 131c6ff6f8388f621160e388cc7ede5133cb440ee147921fbfc79efafc6f7a03 ssh-agent -k 13:47:08 unset SSH_AUTH_SOCK; 13:47:08 unset SSH_AGENT_PID; 13:47:08 echo Agent pid 17 killed; 13:47:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 13:47:08 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 13:47:08 This usually means this commit has not been tagged. [Pipeline] sshagent 13:47:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:47:08 [ssh-agent] Looking for ssh-agent implementation... 13:47:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:47:08 $ docker exec 131c6ff6f8388f621160e388cc7ede5133cb440ee147921fbfc79efafc6f7a03 ssh-agent 13:47:08 SSH_AUTH_SOCK=/tmp/ssh-lJ0W8V4RKAxd/agent.46 13:47:08 SSH_AGENT_PID=52 13:47:08 Running ssh-add (command line suppressed) 13:47:08 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp/private_key_8116731513009597822.key (/w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp/private_key_8116731513009597822.key) 13:47:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:47:09 + git semver init 13:47:09 # -> Open(): unable to determine branch for HEAD 13:47:09 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-275/.git 13:47:09 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-275 13:47:09 # $SEMVER_REMOTE_NAME = origin 13:47:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:47:09 # $SEMVER_USER_NAME = edgex-jenkins 13:47:09 # $SEMVER_BRANCH = PR-275 13:47:09 # $SEMVER_TEMP = /tmp/semver-950559766 13:47:09 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 13:47:09 # '/tmp/semver-950559766' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-275/.semver' 13:47:09 # -> Force: false 13:47:09 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-275/.semver [Pipeline] } 13:47:09 $ docker exec --env ******** --env ******** 131c6ff6f8388f621160e388cc7ede5133cb440ee147921fbfc79efafc6f7a03 ssh-agent -k 13:47:09 unset SSH_AUTH_SOCK; 13:47:09 unset SSH_AGENT_PID; 13:47:09 echo Agent pid 52 killed; 13:47:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:47:10 + git semver [Pipeline] } 13:47:10 $ docker stop --time=1 131c6ff6f8388f621160e388cc7ede5133cb440ee147921fbfc79efafc6f7a03 13:47:11 $ docker rm -f 131c6ff6f8388f621160e388cc7ede5133cb440ee147921fbfc79efafc6f7a03 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 13:47:12 Stashed 53 file(s) [Pipeline] echo 13:47:12 [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 13:47:27 Still waiting to schedule task 13:47:27 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4788’ 13:47:27 Still waiting to schedule task 13:47:27 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 13:49:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4789 in /w/workspace/edgexfoundry_device-sdk-c_PR-275 [Pipeline] { [Pipeline] ws 13:49:12 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 13:49:16 using credential edgex-jenkins-ssh 13:49:16 Cloning the remote Git repository 13:49:16 Cloning with configured refspecs honoured and without tags 13:49:16 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:49:17 > git init /w/workspace/device-sdk-c/1 # timeout=10 13:49:18 Fetching without tags 13:49:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:49:17 > git --version # timeout=10 13:49:17 using GIT_SSH to set credentials SSH Credentials for GitHub 13:49:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:49:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:49:18 > git config --add remote.origin.fetch +refs/pull/275/head:refs/remotes/origin/PR-275 # timeout=10 13:49:18 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:49:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:49:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:49:18 using GIT_SSH to set credentials SSH Credentials for GitHub 13:49:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:49:18 Merging remotes/origin/master commit b4873c23cc909bb34276112007e0d4a5fd45beca into PR head commit a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 13:49:19 Merge succeeded, producing a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 13:49:19 Checking out Revision a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 (PR-275) 13:49:18 > git config core.sparsecheckout # timeout=10 13:49:18 > git checkout -f a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 # timeout=10 13:49:18 > git remote # timeout=10 13:49:18 > git config --get remote.origin.url # timeout=10 13:49:19 using GIT_SSH to set credentials SSH Credentials for GitHub 13:49:19 > git merge b4873c23cc909bb34276112007e0d4a5fd45beca # timeout=10 13:49:19 > git rev-parse HEAD^{commit} # timeout=10 13:49:19 > git config core.sparsecheckout # timeout=10 13:49:19 > git checkout -f a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 # timeout=10 13:49:23 Commit message: "feat: implement device endpoint for v2 REST API" 13:49:23 > git --version # timeout=10 13:49:23 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:49:25 ========================================================= 13:49:25 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 13:49:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:49:26 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 13:49:27 Sending build context to Docker daemon 3.312MB 13:49:27 Step 1/21 : ARG BASE=alpine:3.11 13:49:27 Step 2/21 : FROM ${BASE} as builder 13:49:28 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 13:49:28 0362ad1dd800: Pulling fs layer 13:49:28 f2cdb1532d8b: Pulling fs layer 13:49:28 37ed683be191: Pulling fs layer 13:49:28 f2cdb1532d8b: Verifying Checksum 13:49:28 f2cdb1532d8b: Download complete 13:49:28 0362ad1dd800: Verifying Checksum 13:49:28 0362ad1dd800: Download complete 13:49:28 0362ad1dd800: Pull complete 13:49:29 f2cdb1532d8b: Pull complete 13:49:30 37ed683be191: Verifying Checksum 13:49:30 37ed683be191: Download complete 13:49:40 37ed683be191: Pull complete 13:49:40 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 13:49:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 13:49:40 ---> b23d30803547 13:49:40 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 13:49:40 ---> Running in 1409f900d294 13:49:41 Running on prd-centos7-docker-4c-2g-4790 in /w/workspace/edgexfoundry_device-sdk-c_PR-275 [Pipeline] { [Pipeline] ws 13:49:41 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 13:49:42 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:49:43 using credential edgex-jenkins-ssh 13:49:43 Cloning the remote Git repository 13:49:43 Cloning with configured refspecs honoured and without tags 13:49:43 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:49:44 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 13:49:44 (2/8) Installing libuuid (2.33-r0) 13:49:44 Fetching without tags 13:49:43 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:49:43 > git init /w/workspace/device-sdk-c/1 # timeout=10 13:49:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:49:43 > git --version # timeout=10 13:49:43 using GIT_SSH to set credentials SSH Credentials for GitHub 13:49:43 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:49:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:49:44 > git config --add remote.origin.fetch +refs/pull/275/head:refs/remotes/origin/PR-275 # timeout=10 13:49:44 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:49:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:49:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:49:44 using GIT_SSH to set credentials SSH Credentials for GitHub 13:49:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:49:44 (3/8) Installing libblkid (2.33-r0) 13:49:44 (4/8) Installing libfdisk (2.33-r0) 13:49:44 (5/8) Installing libmount (2.33-r0) 13:49:44 Merging remotes/origin/master commit b4873c23cc909bb34276112007e0d4a5fd45beca into PR head commit a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 13:49:44 Merge succeeded, producing a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 13:49:44 Checking out Revision a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 (PR-275) 13:49:45 (6/8) Installing libsmartcols (2.33-r0) 13:49:45 (7/8) Installing util-linux-dev (2.33-r0) 13:49:45 (8/8) Installing wget (1.20.3-r0) 13:49:45 Executing busybox-1.29.3-r10.trigger 13:49:45 OK: 285 MiB in 83 packages 13:49:44 > git config core.sparsecheckout # timeout=10 13:49:44 > git checkout -f a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 # timeout=10 13:49:44 > git remote # timeout=10 13:49:44 > git config --get remote.origin.url # timeout=10 13:49:44 using GIT_SSH to set credentials SSH Credentials for GitHub 13:49:44 > git merge b4873c23cc909bb34276112007e0d4a5fd45beca # timeout=10 13:49:44 > git rev-parse HEAD^{commit} # timeout=10 13:49:44 > git config core.sparsecheckout # timeout=10 13:49:44 > git checkout -f a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 # timeout=10 13:49:46 Removing intermediate container 1409f900d294 13:49:46 ---> ca4f49dd60d9 13:49:46 Step 4/21 : ENV CBOR_VERSION=0.5.0 13:49:47 ---> Running in 8c430bd4d155 13:49:47 Removing intermediate container 8c430bd4d155 13:49:47 ---> c511c0aefb9f 13:49:47 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 13:49:47 ---> Running in 02634dccc08e 13:49:48 Commit message: "feat: implement device endpoint for v2 REST API" 13:49:48 > git --version # timeout=10 13:49:48 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { 13:49:49 --2020-06-29 13:49:48-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:49:49 Resolving github.com... 140.82.114.4 13:49:49 Connecting to github.com|140.82.114.4|:443... connected. [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 13:49:49 HTTP request sent, awaiting response... 302 Found 13:49:49 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:49:49 --2020-06-29 13:49:49-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:49:49 Resolving codeload.github.com... 140.82.112.9 13:49:49 Connecting to codeload.github.com|140.82.112.9|:443... connected. [Pipeline] echo 13:49:49 ========================================================= 13:49:49 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 13:49:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:49:49 HTTP request sent, awaiting response... 200 OK 13:49:49 Length: unspecified [application/x-gzip] 13:49:49 Saving to: 'STDOUT' 13:49:49  13:49:49 0K .......... .......... .......... .......... .......... 1.34M 13:49:49 50K .......... .......... .......... .......... .......... 2.70M 13:49:49 100K .......... .......... .......... .......... .......... 3.03M 13:49:49 150K .......... .......... .......... .......... .......... 9.48M 13:49:49 200K .......... .......... .......... .......... .......... 7.37M 13:49:49 250K .......... .......... .......... .......... .......... 4.09M 13:49:49 300K .......... .......... .......... .......... .......... 4.87M 13:49:49 350K .......... .......... .......... .......... .......... 6.70M 13:49:49 400K .......... .......... .......... .......... .......... 3.81M 13:49:49 450K .......... .......... .......... .......... .......... 2.99M 13:49:49 500K .......... .......... .......... .......... .......... 5.74M 13:49:49 550K .......... .......... .......... .......... .......... 3.14M 13:49:49 600K .......... .......... .......... .......... .......... 834K 13:49:49 650K .......... .......... .......... .......... .......... 2.12M 13:49:49 700K ..   1.86M=0.2s 13:49:49 13:49:49 2020-06-29 13:49:49 (2.75 MB/s) - written to stdout [719348] 13:49:49 13:49:50 -- The C compiler identification is GNU 8.3.0 13:49:50 -- The CXX compiler identification is GNU 8.3.0 13:49:50 -- Check for working C compiler: /usr/bin/cc 13:49:50 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 13:49:50 -- Check for working C compiler: /usr/bin/cc -- works 13:49:50 -- Detecting C compiler ABI info 13:49:50 Sending build context to Docker daemon 3.312MB 13:49:50 Step 1/21 : ARG BASE=alpine:3.11 13:49:50 Step 2/21 : FROM ${BASE} as builder 13:49:50 latest: Pulling from edgex-devops/edgex-gcc-base 13:49:50 e7c96db7181b: Pulling fs layer 13:49:50 4c13bbce0fe7: Pulling fs layer 13:49:50 6059c847ac2f: Pulling fs layer 13:49:50 4c13bbce0fe7: Verifying Checksum 13:49:50 4c13bbce0fe7: Download complete 13:49:50 e7c96db7181b: Verifying Checksum 13:49:50 e7c96db7181b: Download complete 13:49:50 -- Detecting C compiler ABI info - done 13:49:50 -- Detecting C compile features 13:49:50 e7c96db7181b: Pull complete 13:49:50 4c13bbce0fe7: Pull complete 13:49:51 -- Detecting C compile features - done 13:49:51 -- Check for working CXX compiler: /usr/bin/c++ 13:49:51 -- Check for working CXX compiler: /usr/bin/c++ -- works 13:49:51 -- Detecting CXX compiler ABI info 13:49:51 6059c847ac2f: Verifying Checksum 13:49:51 6059c847ac2f: Download complete 13:49:51 -- Detecting CXX compiler ABI info - done 13:49:51 -- Detecting CXX compile features 13:49:53 -- Detecting CXX compile features - done 13:49:53 -- Looking for include file endian.h 13:49:53 -- Looking for include file endian.h - found 13:49:53 -- Check if the system is big endian 13:49:53 -- Searching 16 bit integer 13:49:53 -- Looking for sys/types.h 13:49:53 -- Looking for sys/types.h - found 13:49:54 -- Looking for stdint.h 13:49:54 -- Looking for stdint.h - found 13:49:54 -- Looking for stddef.h 13:49:54 -- Looking for stddef.h - found 13:49:54 -- Check size of unsigned short 13:49:54 -- Check size of unsigned short - done 13:49:54 -- Using unsigned short 13:49:54 -- Check if the system is big endian - little endian 13:49:54 -- Check size of size_t 13:49:55 -- Check size of size_t - done 13:49:55 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:49:55 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:49:55 asked CMake to find a package configuration file provided by "cJSON", but 13:49:55 CMake did not find one. 13:49:55 13:49:55 Could not find a package configuration file provided by "cJSON" with any of 13:49:55 the following names: 13:49:55 13:49:55 cJSONConfig.cmake 13:49:55 cjson-config.cmake 13:49:55 13:49:55 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:49:55 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:49:55 provides a separate development package or SDK, be sure it has been 13:49:55 installed. 13:49:55 13:49:55 13:49:55 -- Configuring done 13:49:55 -- Generating done 13:49:55 -- Build files have been written to: /tmp/cbor 13:49:55 Scanning dependencies of target cbor_shared 13:49:55 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:49:56 6059c847ac2f: Pull complete 13:49:56 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 13:49:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 13:49:56 ---> 5eabd8fd8ba2 13:49:56 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 13:49:56 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:49:56 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:49:57 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:49:57 ---> Running in 3810ffe17d50 13:49:57 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:49:58 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:49:58 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:49:58 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:49:58 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:49:58 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:49:58 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:49:58 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:49:59 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 13:49:59 (2/8) Installing libuuid (2.33-r0) 13:49:59 (3/8) Installing libblkid (2.33-r0) 13:49:59 (4/8) Installing libfdisk (2.33-r0) 13:49:59 (5/8) Installing libmount (2.33-r0) 13:49:59 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:49:59 (6/8) Installing libsmartcols (2.33-r0) 13:49:59 (7/8) Installing util-linux-dev (2.33-r0) 13:49:59 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:50:00 (8/8) Installing wget (1.20.3-r0) 13:50:00 Executing busybox-1.29.3-r10.trigger 13:50:00 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:50:00 OK: 272 MiB in 83 packages 13:50:00 Removing intermediate container 3810ffe17d50 13:50:00 ---> 75c89a77f148 13:50:00 Step 4/21 : ENV CBOR_VERSION=0.5.0 13:50:00 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:50:00 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:50:00 ---> Running in 2dfd6556a28b 13:50:00 Removing intermediate container 2dfd6556a28b 13:50:00 ---> 0ba4eae20cb4 13:50:00 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 13:50:00 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:50:01 ---> Running in ef97cb60a969 13:50:01 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:50:01 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:50:01 --2020-06-29 13:50:01-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:50:01 Resolving github.com... 140.82.114.4 13:50:01 Connecting to github.com|140.82.114.4|:443... connected. 13:50:01 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:50:01 HTTP request sent, awaiting response... 302 Found 13:50:01 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:50:01 --2020-06-29 13:50:01-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:50:01 Resolving codeload.github.com... 140.82.112.9 13:50:01 Connecting to codeload.github.com|140.82.112.9|:443... connected. 13:50:01 HTTP request sent, awaiting response... 200 OK 13:50:01 Length: unspecified [application/x-gzip] 13:50:01 Saving to: 'STDOUT' 13:50:01  13:50:01 0K .......... .......... .......... .......... .......... 1.35M 13:50:01 50K .......... .......... .......... .......... .......... 5.68M 13:50:01 100K .......... .......... .......... .......... .......... 4.64M 13:50:01 150K .......... .......... .......... .......... .......... 60.1M 13:50:01 200K .......... .......... .......... .......... .......... 2.92M 13:50:01 250K .......... .......... .......... .......... .......... 45.4M 13:50:01 300K .......... .......... .......... .......... .......... 6.65M 13:50:01 350K .......... .......... .......... .......... .......... 20.9M 13:50:01 400K .......... .......... .......... .......... .......... 6.06M 13:50:01 450K .......... .......... .......... .......... .......... 9.24M 13:50:01 500K .......... .......... .......... .......... .......... 22.7M 13:50:01 550K .......... .......... .......... .......... .......... 4.41M 13:50:02 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:50:02 600K .......... .......... .......... .......... .......... 3.20M 13:50:02 650K .......... .......... .......... .......... .......... 6.19M 13:50:02 700K .. 40.6M=0.1s 13:50:02 13:50:02 2020-06-29 13:50:01 (5.14 MB/s) - written to stdout [719348] 13:50:02 13:50:02 -- The C compiler identification is GNU 8.3.0 13:50:02 -- The CXX compiler identification is GNU 8.3.0 13:50:02 -- Check for working C compiler: /usr/bin/cc 13:50:02 [ 40%] Linking C shared library libcbor.so 13:50:02 [ 40%] Built target cbor_shared 13:50:02 Scanning dependencies of target cbor 13:50:02 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:50:02 -- Check for working C compiler: /usr/bin/cc -- works 13:50:02 -- Detecting C compiler ABI info 13:50:02 -- Detecting C compiler ABI info - done 13:50:02 -- Detecting C compile features 13:50:02 -- Detecting C compile features - done 13:50:02 -- Check for working CXX compiler: /usr/bin/c++ 13:50:02 -- Check for working CXX compiler: /usr/bin/c++ -- works 13:50:02 -- Detecting CXX compiler ABI info 13:50:02 -- Detecting CXX compiler ABI info - done 13:50:02 -- Detecting CXX compile features 13:50:03 -- Detecting CXX compile features - done 13:50:03 -- Looking for include file endian.h 13:50:03 -- Looking for include file endian.h - found 13:50:03 -- Check if the system is big endian 13:50:03 -- Searching 16 bit integer 13:50:03 -- Looking for sys/types.h 13:50:03 -- Looking for sys/types.h - found 13:50:03 -- Looking for stdint.h 13:50:03 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:50:03 -- Looking for stdint.h - found 13:50:03 -- Looking for stddef.h 13:50:03 -- Looking for stddef.h - found 13:50:03 -- Check size of unsigned short 13:50:03 -- Check size of unsigned short - done 13:50:03 -- Using unsigned short 13:50:03 -- Check if the system is big endian - little endian 13:50:03 -- Check size of size_t 13:50:03 -- Check size of size_t - done 13:50:03 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:50:03 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:50:03 asked CMake to find a package configuration file provided by "cJSON", but 13:50:03 CMake did not find one. 13:50:03 13:50:03 Could not find a package configuration file provided by "cJSON" with any of 13:50:03 the following names: 13:50:03 13:50:03 cJSONConfig.cmake 13:50:03 cjson-config.cmake 13:50:03 13:50:03 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:50:03 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:50:03 provides a separate development package or SDK, be sure it has been 13:50:03 installed. 13:50:03 13:50:03 13:50:03 -- Configuring done 13:50:03 -- Generating done 13:50:03 -- Build files have been written to: /tmp/cbor 13:50:03 Scanning dependencies of target cbor_shared 13:50:03 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:50:03 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:50:03 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:50:04 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:50:04 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:50:04 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:50:04 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:50:04 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:50:04 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:50:04 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:50:04 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:50:04 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:50:04 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:50:04 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:50:05 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:50:05 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:50:05 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:50:05 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:50:05 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:50:05 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:50:05 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:50:05 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:50:05 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:50:05 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:50:05 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:50:05 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:50:05 [ 40%] Linking C shared library libcbor.so 13:50:05 [ 40%] Built target cbor_shared 13:50:05 Scanning dependencies of target cbor 13:50:05 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:50:05 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:50:05 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:50:05 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:50:05 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:50:06 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:50:06 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:50:06 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:50:06 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:50:06 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:50:06 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:50:06 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:50:06 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:50:06 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:50:06 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:50:06 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:50:06 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:50:07 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:50:07 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:50:07 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:50:07 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:50:07 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:50:07 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:50:07 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:50:07 [ 80%] Linking C static library libcbor.a 13:50:07 [ 80%] Built target cbor 13:50:07 Scanning dependencies of target create_items 13:50:07 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:50:07 [ 84%] Linking C executable create_items 13:50:07 [ 84%] Built target create_items 13:50:07 Scanning dependencies of target readfile 13:50:07 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:50:07 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:50:07 [ 88%] Linking C executable readfile 13:50:07 [ 88%] Built target readfile 13:50:07 Scanning dependencies of target streaming_parser 13:50:07 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:50:07 [ 92%] Linking C executable streaming_parser 13:50:07 [ 92%] Built target streaming_parser 13:50:07 Scanning dependencies of target sort 13:50:07 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:50:07 [ 96%] Linking C executable sort 13:50:07 [ 96%] Built target sort 13:50:07 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:50:07 Scanning dependencies of target hello 13:50:07 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:50:07 [100%] Linking C executable hello 13:50:07 [100%] Built target hello 13:50:07 Install the project... 13:50:07 -- Install configuration: "Release" 13:50:07 -- Installing: /usr/local/include/cbor/configuration.h 13:50:07 -- Installing: /usr/local/lib64/libcbor.a 13:50:07 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:50:07 -- Installing: /usr/local/lib64/libcbor.so.0 13:50:07 -- Installing: /usr/local/lib64/libcbor.so 13:50:07 -- Up-to-date: /usr/local/include/cbor 13:50:07 -- Installing: /usr/local/include/cbor/arrays.h 13:50:07 -- Installing: /usr/local/include/cbor/bytestrings.h 13:50:07 -- Installing: /usr/local/include/cbor/callbacks.h 13:50:07 -- Installing: /usr/local/include/cbor/common.h 13:50:07 -- Installing: /usr/local/include/cbor/data.h 13:50:07 -- Installing: /usr/local/include/cbor/encoding.h 13:50:07 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:50:07 -- Installing: /usr/local/include/cbor/internal 13:50:07 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:50:07 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:50:07 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:50:07 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:50:07 -- Installing: /usr/local/include/cbor/internal/stack.h 13:50:07 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:50:07 -- Installing: /usr/local/include/cbor/ints.h 13:50:07 -- Installing: /usr/local/include/cbor/maps.h 13:50:07 -- Installing: /usr/local/include/cbor/serialization.h 13:50:07 -- Installing: /usr/local/include/cbor/streaming.h 13:50:07 -- Installing: /usr/local/include/cbor/strings.h 13:50:07 -- Installing: /usr/local/include/cbor/tags.h 13:50:07 -- Installing: /usr/local/include/cbor.h 13:50:07 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:50:08 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:50:08 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:50:08 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:50:09 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:50:09 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:50:09 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:50:09 [ 80%] Linking C static library libcbor.a 13:50:09 [ 80%] Built target cbor 13:50:09 Scanning dependencies of target create_items 13:50:09 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:50:10 [ 84%] Linking C executable create_items 13:50:10 [ 84%] Built target create_items 13:50:10 Scanning dependencies of target readfile 13:50:10 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:50:10 [ 88%] Linking C executable readfile 13:50:10 [ 88%] Built target readfile 13:50:10 Scanning dependencies of target streaming_parser 13:50:10 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:50:10 Removing intermediate container ef97cb60a969 13:50:10 ---> 38fe6d8a2391 13:50:10 Step 6/21 : RUN mkdir /tmp/sdk 13:50:10 ---> Running in 3bf24a7da5a8 13:50:10 [ 92%] Linking C executable streaming_parser 13:50:10 [ 92%] Built target streaming_parser 13:50:10 Removing intermediate container 3bf24a7da5a8 13:50:10 ---> 58753551bddf 13:50:10 Step 7/21 : COPY VERSION /tmp/sdk 13:50:10 Scanning dependencies of target sort 13:50:10 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:50:10 [ 96%] Linking C executable sort 13:50:11 ---> 45ea2efa7f0c 13:50:11 Step 8/21 : COPY src /tmp/sdk/src 13:50:11 [ 96%] Built target sort 13:50:11 Scanning dependencies of target hello 13:50:11 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:50:11 [100%] Linking C executable hello 13:50:11 [100%] Built target hello 13:50:11 Install the project... 13:50:11 -- Install configuration: "Release" 13:50:11 -- Installing: /usr/local/include/cbor/configuration.h 13:50:11 -- Installing: /usr/local/lib64/libcbor.a 13:50:11 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:50:11 -- Installing: /usr/local/lib64/libcbor.so.0 13:50:11 -- Installing: /usr/local/lib64/libcbor.so 13:50:11 -- Up-to-date: /usr/local/include/cbor 13:50:11 -- Installing: /usr/local/include/cbor/streaming.h 13:50:11 -- Installing: /usr/local/include/cbor/ints.h 13:50:11 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:50:11 -- Installing: /usr/local/include/cbor/bytestrings.h 13:50:11 -- Installing: /usr/local/include/cbor/encoding.h 13:50:11 -- Installing: /usr/local/include/cbor/serialization.h 13:50:11 -- Installing: /usr/local/include/cbor/data.h 13:50:11 -- Installing: /usr/local/include/cbor/common.h 13:50:11 -- Installing: /usr/local/include/cbor/callbacks.h 13:50:11 -- Installing: /usr/local/include/cbor/strings.h 13:50:11 -- Installing: /usr/local/include/cbor/tags.h 13:50:11 -- Installing: /usr/local/include/cbor/internal 13:50:11 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:50:11 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:50:11 -- Installing: /usr/local/include/cbor/internal/stack.h 13:50:11 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:50:11 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:50:11 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:50:11 -- Installing: /usr/local/include/cbor/arrays.h 13:50:11 -- Installing: /usr/local/include/cbor/maps.h 13:50:11 -- Installing: /usr/local/include/cbor.h 13:50:11 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:50:11 ---> b5a8abcc86a5 13:50:11 Step 9/21 : COPY include /tmp/sdk/include 13:50:11 ---> b10ca94a0c57 13:50:11 Step 10/21 : COPY scripts /tmp/sdk/scripts 13:50:12 ---> 4eacc230c4c1 13:50:12 Step 11/21 : COPY LICENSE /tmp/sdk 13:50:12 ---> b539f7497ffb 13:50:12 Step 12/21 : COPY Attribution.txt /tmp/sdk 13:50:12 ---> c7f07c1b5ed7 13:50:12 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:50:12 ---> Running in 8c988b2fba83 13:50:13 + CPPCHECK=false 13:50:13 + DOCGEN=false 13:50:13 + TOMLVER=SDK-0.2 13:50:13 + CUTILVER=1.0.4 13:50:13 + '[' 0 -gt 0 ] 13:50:13 + readlink -f ./scripts/build.sh 13:50:13 + dirname /tmp/sdk/scripts/build.sh 13:50:13 + dirname /tmp/sdk/scripts 13:50:13 + ROOT=/tmp/sdk 13:50:13 + cd /tmp/sdk 13:50:13 + '[' '!' -d deps ] 13:50:13 + mkdir deps 13:50:13 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:50:13 + tar -C deps -z -x -f - 13:50:13 --2020-06-29 13:50:12-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:50:13 Resolving github.com... 140.82.114.4 13:50:13 Connecting to github.com|140.82.114.4|:443... connected. 13:50:13 HTTP request sent, awaiting response... 302 Found 13:50:13 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:50:13 --2020-06-29 13:50:13-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:50:13 Resolving codeload.github.com... 140.82.112.9 13:50:13 Connecting to codeload.github.com|140.82.112.9|:443... connected. 13:50:13 Removing intermediate container 02634dccc08e 13:50:13 ---> 19e3845db8e7 13:50:13 Step 6/21 : RUN mkdir /tmp/sdk 13:50:13 HTTP request sent, awaiting response... 200 OK 13:50:13 Length: unspecified [application/x-gzip] 13:50:13 Saving to: 'STDOUT' 13:50:13  13:50:13 0K .......... ......  1.06M=0.01s 13:50:13 13:50:13 2020-06-29 13:50:13 (1.06 MB/s) - written to stdout [16451] 13:50:13 13:50:13 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:50:13 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 13:50:13 + tar -C deps -z -x -f - 13:50:13 --2020-06-29 13:50:13-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 13:50:13 Resolving github.com... 140.82.114.4 13:50:13 Connecting to github.com|140.82.114.4|:443... connected. 13:50:13 ---> Running in 2a1bbccf813a 13:50:13 HTTP request sent, awaiting response... 302 Found 13:50:13 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 13:50:13 --2020-06-29 13:50:13-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 13:50:13 Resolving codeload.github.com... 140.82.112.9 13:50:13 Connecting to codeload.github.com|140.82.112.9|:443... connected. 13:50:13 HTTP request sent, awaiting response... 200 OK 13:50:13 Length: unspecified [application/x-gzip] 13:50:13 Saving to: 'STDOUT' 13:50:13  13:50:13 0K .......... .......... .......... .......... .......... 1.57M 13:50:14 50K .......... .......... .......... .......... .......... 3.53M 13:50:14 100K .......... .......... .......... .......... .......... 30.3M 13:50:14 150K ........ 62.5M=0.05s 13:50:14 13:50:14 2020-06-29 13:50:13 (3.32 MB/s) - written to stdout [162267] 13:50:14 13:50:14 + mkdir -p src/c/iot 13:50:14 + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot 13:50:14 + mkdir -p include/iot 13:50:14 + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot 13:50:14 + mkdir -p include/iot/os 13:50:14 + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os 13:50:14 + mkdir -p /tmp/sdk/build/release 13:50:14 + cd /tmp/sdk/build/release 13:50:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:50:14 -- The C compiler identification is GNU 8.3.0 13:50:14 -- Check for working C compiler: /usr/bin/cc 13:50:14 -- Check for working C compiler: /usr/bin/cc -- works 13:50:14 -- Detecting C compiler ABI info 13:50:14 -- Detecting C compiler ABI info - done 13:50:14 -- Detecting C compile features 13:50:14 -- Detecting C compile features - done 13:50:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:50:14 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:50:14 -- Found LIBYAML: /usr/lib/libyaml.so 13:50:14 -- Found LIBUUID: /usr/lib/libuuid.so 13:50:14 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:50:14 -- C SDK 0.0.0 for Linux 13:50:14 -- Performing Test CSDK_HAVE_ATOMIC 13:50:14 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:50:14 -- Found Curses: /usr/lib/libcurses.so 13:50:14 -- Configuring done 13:50:14 -- Generating done 13:50:14 -- Build files have been written to: /tmp/sdk/build/release 13:50:14 + make 13:50:14 + tee release.log 13:50:14 Scanning dependencies of target csdk 13:50:14 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:50:14 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:22, 13:50:14 from /tmp/sdk/src/c/service.h:12, 13:50:14 from /tmp/sdk/src/c/autoevent.h:12, 13:50:14 from /tmp/sdk/src/c/autoevent.c:9: 13:50:14 /tmp/sdk/src/c/../../include/devsdk/devsdk-base.h:138:96: error: expected ';', ',' or ')' before 'default' 13:50:14 const char *devsdk_nvpairs_value_dfl (const devsdk_nvpairs *nvp, const char *name, const char *default); 13:50:14 ^~~~~~~ 13:50:14 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:63: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 13:50:14 make[1]: *** [CMakeFiles/Makefile2:93: c/CMakeFiles/csdk.dir/all] Error 2 13:50:14 make: *** [Makefile:152: all] Error 2 13:50:14 + make package 13:50:14 + tee -a release.log 13:50:14 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:50:14 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:22, 13:50:14 from /tmp/sdk/src/c/service.h:12, 13:50:14 from /tmp/sdk/src/c/autoevent.h:12, 13:50:14 from /tmp/sdk/src/c/autoevent.c:9: 13:50:14 /tmp/sdk/src/c/../../include/devsdk/devsdk-base.h:138:96: error: expected ';', ',' or ')' before 'default' 13:50:14 const char *devsdk_nvpairs_value_dfl (const devsdk_nvpairs *nvp, const char *name, const char *default); 13:50:14 ^~~~~~~ 13:50:14 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:63: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 13:50:14 make[1]: *** [CMakeFiles/Makefile2:93: c/CMakeFiles/csdk.dir/all] Error 2 13:50:14 make: *** [Makefile:152: all] Error 2 13:50:14 + '[' false '=' true ] 13:50:14 + '[' false '=' true ] 13:50:14 + mkdir -p /tmp/sdk/build/debug 13:50:14 + cd /tmp/sdk/build/debug 13:50:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:50:14 -- The C compiler identification is GNU 8.3.0 13:50:14 -- Check for working C compiler: /usr/bin/cc 13:50:15 -- Check for working C compiler: /usr/bin/cc -- works 13:50:15 -- Detecting C compiler ABI info 13:50:15 -- Detecting C compiler ABI info - done 13:50:15 -- Detecting C compile features 13:50:15 -- Detecting C compile features - done 13:50:15 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:50:15 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:50:15 -- Found LIBYAML: /usr/lib/libyaml.so 13:50:15 -- Found LIBUUID: /usr/lib/libuuid.so 13:50:15 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:50:15 -- C SDK 0.0.0 for Linux 13:50:15 -- Performing Test CSDK_HAVE_ATOMIC 13:50:15 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:50:15 -- Found Curses: /usr/lib/libcurses.so 13:50:15 -- Configuring done 13:50:15 -- Generating done 13:50:15 -- Build files have been written to: /tmp/sdk/build/debug 13:50:15 + make 13:50:15 + tee debug.log 13:50:15 Scanning dependencies of target csdk 13:50:15 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:50:15 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:22, 13:50:15 from /tmp/sdk/src/c/service.h:12, 13:50:15 from /tmp/sdk/src/c/autoevent.h:12, 13:50:15 from /tmp/sdk/src/c/autoevent.c:9: 13:50:15 /tmp/sdk/src/c/../../include/devsdk/devsdk-base.h:138:96: error: expected ';', ',' or ')' before 'default' 13:50:15 const char *devsdk_nvpairs_value_dfl (const devsdk_nvpairs *nvp, const char *name, const char *default); 13:50:15 ^~~~~~~ 13:50:15 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:63: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 13:50:15 make[1]: *** [CMakeFiles/Makefile2:93: c/CMakeFiles/csdk.dir/all] Error 2 13:50:15 make: *** [Makefile:152: all] Error 2 13:50:15 make: Entering directory '/tmp/sdk/build/release' 13:50:15 make[1]: Entering directory '/tmp/sdk/build/release' 13:50:15 make[2]: Entering directory '/tmp/sdk/build/release' 13:50:15 Scanning dependencies of target csdk 13:50:15 make[2]: Leaving directory '/tmp/sdk/build/release' 13:50:15 make[2]: Entering directory '/tmp/sdk/build/release' 13:50:15 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:50:15 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:22, 13:50:15 from /tmp/sdk/src/c/service.h:12, 13:50:15 from /tmp/sdk/src/c/autoevent.h:12, 13:50:15 from /tmp/sdk/src/c/autoevent.c:9: 13:50:15 /tmp/sdk/src/c/../../include/devsdk/devsdk-base.h:138:96: error: expected ';', ',' or ')' before 'default' 13:50:15 const char *devsdk_nvpairs_value_dfl (const devsdk_nvpairs *nvp, const char *name, const char *default); 13:50:15 ^~~~~~~ 13:50:15 make[2]: Leaving directory '/tmp/sdk/build/release' 13:50:15 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:63: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 13:50:15 make[1]: *** [CMakeFiles/Makefile2:93: c/CMakeFiles/csdk.dir/all] Error 2 13:50:15 make[1]: Leaving directory '/tmp/sdk/build/release' 13:50:15 make: *** [Makefile:152: all] Error 2 13:50:15 make: Leaving directory '/tmp/sdk/build/release' 13:50:16 Removing intermediate container 2a1bbccf813a 13:50:16 ---> cda5e358ed47 13:50:16 Step 7/21 : COPY VERSION /tmp/sdk 13:50:16 The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } 13:50:16 ---> 1e2c0a268bf6 13:50:16 Step 8/21 : COPY src /tmp/sdk/src [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } 13:50:17 ---> db7e7bf61801 13:50:17 Step 9/21 : COPY include /tmp/sdk/include [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:50:18 Failed in branch amd64 13:50:18 ---> 169ab7d97ecf 13:50:18 Step 10/21 : COPY scripts /tmp/sdk/scripts 13:50:19 ---> fad9d2ceeffd 13:50:19 Step 11/21 : COPY LICENSE /tmp/sdk 13:50:19 ---> 9138994a2a80 13:50:19 Step 12/21 : COPY Attribution.txt /tmp/sdk 13:50:20 ---> 9e1d129bd1cc 13:50:20 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:50:20 ---> Running in 9da575797d7d 13:50:22 + CPPCHECK=false 13:50:22 + DOCGEN=false 13:50:22 + TOMLVER=SDK-0.2 13:50:22 + CUTILVER=1.0.4 13:50:22 + '[' 0 -gt 0 ] 13:50:22 + readlink -f ./scripts/build.sh 13:50:22 + dirname /tmp/sdk/scripts/build.sh 13:50:22 + dirname /tmp/sdk/scripts 13:50:22 + ROOT=/tmp/sdk 13:50:22 + cd /tmp/sdk 13:50:22 + '[' '!' -d deps ] 13:50:22 + mkdir deps 13:50:22 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:50:22 + tar -C deps -z -x -f - 13:50:22 --2020-06-29 13:50:21-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:50:22 Resolving github.com... 140.82.114.4 13:50:22 Connecting to github.com|140.82.114.4|:443... connected. 13:50:22 HTTP request sent, awaiting response... 302 Found 13:50:22 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:50:22 --2020-06-29 13:50:21-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:50:22 Resolving codeload.github.com... 140.82.112.9 13:50:22 Connecting to codeload.github.com|140.82.112.9|:443... connected. 13:50:22 HTTP request sent, awaiting response... 200 OK 13:50:22 Length: unspecified [application/x-gzip] 13:50:22 Saving to: 'STDOUT' 13:50:22 13:50:22 0K .......... ...... 1.01M=0.02s 13:50:22 13:50:22 2020-06-29 13:50:22 (1.01 MB/s) - written to stdout [16451] 13:50:22 13:50:22 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:50:22 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 13:50:22 + tar -C deps -z -x -f - 13:50:22 --2020-06-29 13:50:22-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 13:50:22 Resolving github.com... 140.82.114.4 13:50:22 Connecting to github.com|140.82.114.4|:443... connected. 13:50:22 HTTP request sent, awaiting response... 302 Found 13:50:22 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 13:50:22 --2020-06-29 13:50:22-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 13:50:22 Resolving codeload.github.com... 140.82.112.9 13:50:22 Connecting to codeload.github.com|140.82.112.9|:443... connected. 13:50:22 HTTP request sent, awaiting response... 200 OK 13:50:22 Length: unspecified [application/x-gzip] 13:50:22 Saving to: 'STDOUT' 13:50:22  13:50:22 0K .......... .......... .......... .......... .......... 1.60M 13:50:22 50K .......... .......... .......... .......... .......... 3.18M 13:50:22 100K .......... .......... .......... .......... .......... 3.96M 13:50:22 150K ........    4.97M=0.06s 13:50:22 13:50:22 2020-06-29 13:50:22 (2.59 MB/s) - written to stdout [162267] 13:50:22 13:50:22 + mkdir -p src/c/iot 13:50:22 + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot 13:50:22 + mkdir -p include/iot 13:50:22 + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot 13:50:22 + mkdir -p include/iot/os 13:50:22 + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os 13:50:22 + mkdir -p /tmp/sdk/build/release 13:50:22 + cd /tmp/sdk/build/release 13:50:22 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:50:22 -- The C compiler identification is GNU 8.3.0 13:50:22 -- Check for working C compiler: /usr/bin/cc 13:50:23 -- Check for working C compiler: /usr/bin/cc -- works 13:50:23 -- Detecting C compiler ABI info 13:50:23 -- Detecting C compiler ABI info - done 13:50:23 -- Detecting C compile features 13:50:24 -- Detecting C compile features - done 13:50:24 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:50:24 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:50:24 -- Found LIBYAML: /usr/lib/libyaml.so 13:50:24 -- Found LIBUUID: /usr/lib/libuuid.so 13:50:24 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:50:24 -- C SDK 0.0.0 for Linux 13:50:24 -- Performing Test CSDK_HAVE_ATOMIC 13:50:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:50:24 -- Found Curses: /usr/lib/libcurses.so 13:50:24 -- Configuring done 13:50:24 -- Generating done 13:50:24 -- Build files have been written to: /tmp/sdk/build/release 13:50:24 + make 13:50:24 + tee release.log 13:50:24 Scanning dependencies of target csdk 13:50:25 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:50:25 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:22, 13:50:25 from /tmp/sdk/src/c/service.h:12, 13:50:25 from /tmp/sdk/src/c/autoevent.h:12, 13:50:25 from /tmp/sdk/src/c/autoevent.c:9: 13:50:25 /tmp/sdk/src/c/../../include/devsdk/devsdk-base.h:138:96: error: expected ';', ',' or ')' before 'default' 13:50:25 const char *devsdk_nvpairs_value_dfl (const devsdk_nvpairs *nvp, const char *name, const char *default); 13:50:25 ^~~~~~~ 13:50:25 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:63: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 13:50:25 make[1]: *** [CMakeFiles/Makefile2:93: c/CMakeFiles/csdk.dir/all] Error 2 13:50:25 make: *** [Makefile:152: all] Error 2 13:50:25 + make package 13:50:25 + tee -a release.log 13:50:25 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:50:25 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:22, 13:50:25 from /tmp/sdk/src/c/service.h:12, 13:50:25 from /tmp/sdk/src/c/autoevent.h:12, 13:50:25 from /tmp/sdk/src/c/autoevent.c:9: 13:50:25 /tmp/sdk/src/c/../../include/devsdk/devsdk-base.h:138:96: error: expected ';', ',' or ')' before 'default' 13:50:25 const char *devsdk_nvpairs_value_dfl (const devsdk_nvpairs *nvp, const char *name, const char *default); 13:50:25 ^~~~~~~ 13:50:25 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:63: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 13:50:25 make[1]: *** [CMakeFiles/Makefile2:93: c/CMakeFiles/csdk.dir/all] Error 2 13:50:25 make: *** [Makefile:152: all] Error 2 13:50:25 + '[' false '=' true ] 13:50:25 + '[' false '=' true ] 13:50:25 + mkdir -p /tmp/sdk/build/debug 13:50:25 + cd /tmp/sdk/build/debug 13:50:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:50:25 -- The C compiler identification is GNU 8.3.0 13:50:25 -- Check for working C compiler: /usr/bin/cc 13:50:26 -- Check for working C compiler: /usr/bin/cc -- works 13:50:26 -- Detecting C compiler ABI info 13:50:26 -- Detecting C compiler ABI info - done 13:50:26 -- Detecting C compile features 13:50:27 -- Detecting C compile features - done 13:50:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:50:27 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:50:27 -- Found LIBYAML: /usr/lib/libyaml.so 13:50:27 -- Found LIBUUID: /usr/lib/libuuid.so 13:50:27 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:50:27 -- C SDK 0.0.0 for Linux 13:50:27 -- Performing Test CSDK_HAVE_ATOMIC 13:50:27 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:50:27 -- Found Curses: /usr/lib/libcurses.so 13:50:27 -- Configuring done 13:50:27 -- Generating done 13:50:27 -- Build files have been written to: /tmp/sdk/build/debug 13:50:27 + + maketee 13:50:27 debug.log 13:50:27 Scanning dependencies of target csdk 13:50:27 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:50:28 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:22, 13:50:28 from /tmp/sdk/src/c/service.h:12, 13:50:28 from /tmp/sdk/src/c/autoevent.h:12, 13:50:28 from /tmp/sdk/src/c/autoevent.c:9: 13:50:28 /tmp/sdk/src/c/../../include/devsdk/devsdk-base.h:138:96: error: expected ';', ',' or ')' before 'default' 13:50:28 const char *devsdk_nvpairs_value_dfl (const devsdk_nvpairs *nvp, const char *name, const char *default); 13:50:28 ^~~~~~~ 13:50:28 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:63: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 13:50:28 make[1]: *** [CMakeFiles/Makefile2:93: c/CMakeFiles/csdk.dir/all] Error 2 13:50:28 make: *** [Makefile:152: all] Error 2 13:50:28 make: Entering directory '/tmp/sdk/build/release' 13:50:28 make[1]: Entering directory '/tmp/sdk/build/release' 13:50:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:50:28 Scanning dependencies of target csdk 13:50:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:50:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:50:28 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:50:28 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:22, 13:50:28 from /tmp/sdk/src/c/service.h:12, 13:50:28 from /tmp/sdk/src/c/autoevent.h:12, 13:50:28 from /tmp/sdk/src/c/autoevent.c:9: 13:50:28 /tmp/sdk/src/c/../../include/devsdk/devsdk-base.h:138:96: error: expected ';', ',' or ')' before 'default' 13:50:28 const char *devsdk_nvpairs_value_dfl (const devsdk_nvpairs *nvp, const char *name, const char *default); 13:50:28 ^~~~~~~ 13:50:28 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:63: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 13:50:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:50:28 make[1]: Leaving directory '/tmp/sdk/build/release' 13:50:28 make: Leaving directory '/tmp/sdk/build/release' 13:50:28 make[1]: *** [CMakeFiles/Makefile2:93: c/CMakeFiles/csdk.dir/all] Error 2 13:50:28 make: *** [Makefile:152: all] Error 2 13:50:29 The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:50:30 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 13:50:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:50:32 ---> package-listing.sh 13:50:32 ++ facter osfamily 13:50:32 ++ tr '[:upper:]' '[:lower:]' 13:50:32 + OS_FAMILY=redhat 13:50:32 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-275 13:50:32 + START_PACKAGES=/tmp/packages_start.txt 13:50:32 + END_PACKAGES=/tmp/packages_end.txt 13:50:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:50:32 + PACKAGES=/tmp/packages_start.txt 13:50:32 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-275 ']' 13:50:32 + PACKAGES=/tmp/packages_end.txt 13:50:32 + case "${OS_FAMILY}" in 13:50:32 + rpm -qa 13:50:32 + sort 13:50:36 + '[' -f /tmp/packages_start.txt ']' 13:50:36 + '[' -f /tmp/packages_end.txt ']' 13:50:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:50:36 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-275 ']' 13:50:36 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-275/archives/ 13:50:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-275/archives/ [Pipeline] isUnix [Pipeline] sh 13:50:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:50:37 13:50:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:50:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:50:37 alpine: Pulling from edgex-lftools-log-publisher 13:50:37 c9b1b535fdd9: Pulling fs layer 13:50:37 2cc5ad85d9ab: Pulling fs layer 13:50:37 756a868c4378: Pulling fs layer 13:50:37 444b2fc9a129: Pulling fs layer 13:50:37 ea15f1150254: Pulling fs layer 13:50:37 41b27a9f41bf: Pulling fs layer 13:50:37 28c525ee5125: Pulling fs layer 13:50:37 094b1ea09ed8: Pulling fs layer 13:50:37 138eaada9080: Pulling fs layer 13:50:37 0622d0fa9048: Pulling fs layer 13:50:37 41b27a9f41bf: Waiting 13:50:37 28c525ee5125: Waiting 13:50:37 094b1ea09ed8: Waiting 13:50:37 138eaada9080: Waiting 13:50:37 0622d0fa9048: Waiting 13:50:37 444b2fc9a129: Waiting 13:50:37 ea15f1150254: Waiting 13:50:37 2cc5ad85d9ab: Verifying Checksum 13:50:37 2cc5ad85d9ab: Download complete 13:50:37 444b2fc9a129: Verifying Checksum 13:50:37 444b2fc9a129: Download complete 13:50:37 c9b1b535fdd9: Download complete 13:50:37 ea15f1150254: Verifying Checksum 13:50:37 ea15f1150254: Download complete 13:50:37 28c525ee5125: Verifying Checksum 13:50:37 28c525ee5125: Download complete 13:50:38 c9b1b535fdd9: Pull complete 13:50:38 756a868c4378: Verifying Checksum 13:50:38 756a868c4378: Download complete 13:50:38 138eaada9080: Verifying Checksum 13:50:38 138eaada9080: Download complete 13:50:38 2cc5ad85d9ab: Pull complete 13:50:38 0622d0fa9048: Verifying Checksum 13:50:38 0622d0fa9048: Download complete 13:50:38 094b1ea09ed8: Download complete 13:50:39 41b27a9f41bf: Verifying Checksum 13:50:39 41b27a9f41bf: Download complete 13:50:40 756a868c4378: Pull complete 13:50:40 444b2fc9a129: Pull complete 13:50:40 ea15f1150254: Pull complete 13:50:44 41b27a9f41bf: Pull complete 13:50:44 28c525ee5125: Pull complete 13:50:46 094b1ea09ed8: Pull complete 13:50:47 138eaada9080: Pull complete 13:50:47 0622d0fa9048: Pull complete 13:50:47 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 13:50:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:50:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:50:48 prd-centos7-docker-4c-2g-4788 does not seem to be running inside a container 13:50:48 $ 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-275 -v /w/workspace/edgexfoundry_device-sdk-c_PR-275:/w/workspace/edgexfoundry_device-sdk-c_PR-275:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-275@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 13:50:51 $ docker top cb23bc5344c41031089125b6c60eefcbf5ae993ed5acf915d0f791c73912bf92 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:50:51 provisioning config files... 13:50:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp/config4764682307116993773tmp [Pipeline] { [Pipeline] echo 13:50:51 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:50:51 ---> create-netrc.sh [Pipeline] echo 13:50:51 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:50:52 ---> logs-deploy.sh 13:50:52 + ARCHIVE_ARTIFACTS= 13:50:52 + LOGS_SERVER=https://logs.edgexfoundry.org 13:50:52 + '[' https://logs.edgexfoundry.org == None ']' 13:50:52 + NEXUS_URL=https://nexus.edgexfoundry.org 13:50:52 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-275/1 13:50:52 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-275/1/ 13:50:52 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-275/1 /w/workspace/edgexfoundry_device-sdk-c_PR-275 13:50:53 Archives upload complete. 13:50:53 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-275/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-275/1/ 13:50:53 ---> uname -a: 13:50:53 Linux cb23bc5344c4 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 13:50:53 13:50:53 13:50:53 ---> lscpu: 13:50:53 Architecture: x86_64 13:50:53 CPU op-mode(s): 32-bit, 64-bit 13:50:53 Byte Order: Little Endian 13:50:53 Address sizes: 40 bits physical, 48 bits virtual 13:50:53 CPU(s): 4 13:50:53 On-line CPU(s) list: 0-3 13:50:53 Thread(s) per core: 1 13:50:53 Core(s) per socket: 1 13:50:53 Socket(s): 4 13:50:53 NUMA node(s): 1 13:50:53 Vendor ID: GenuineIntel 13:50:53 CPU family: 6 13:50:53 Model: 44 13:50:53 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 13:50:53 Stepping: 1 13:50:53 CPU MHz: 2933.396 13:50:53 BogoMIPS: 5866.79 13:50:53 Virtualization: VT-x 13:50:53 Hypervisor vendor: KVM 13:50:53 Virtualization type: full 13:50:53 L1d cache: 128 KiB 13:50:53 L1i cache: 128 KiB 13:50:53 L2 cache: 16 MiB 13:50:53 L3 cache: 64 MiB 13:50:53 NUMA node0 CPU(s): 0-3 13:50:53 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 13:50:53 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 13:50:53 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 13:50:53 Vulnerability Meltdown: Mitigation; PTI 13:50:53 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:50:53 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 13:50:53 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 13:50:53 Vulnerability Tsx async abort: Not affected 13:50:53 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 13:50:53 13:50:53 13:50:53 ---> nproc: 13:50:53 4 13:50:53 13:50:53 13:50:53 ---> df -h: 13:50:53 Filesystem Size Used Available Use% Mounted on 13:50:53 overlay 50.0G 7.2G 42.8G 14% / 13:50:53 tmpfs 64.0M 0 64.0M 0% /dev 13:50:53 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 13:50:53 shm 64.0M 0 64.0M 0% /dev/shm 13:50:53 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 13:50:53 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 13:50:53 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 13:50:53 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa 13:50:53 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-275 13:50:53 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp 13:50:53 13:50:53 13:50:53 ---> free -m: 13:50:53 total used free shared buff/cache available 13:50:53 Mem: 1837 615 113 0 1108 1116 13:50:53 Swap: 1023 0 1023 13:50:53 13:50:53 13:50:53 ---> ip addr: 13:50:53 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 13:50:53 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 13:50:53 inet 127.0.0.1/8 scope host lo 13:50:53 valid_lft forever preferred_lft forever 13:50:53 6: eth0@if7: mtu 1458 qdisc noqueue state UP 13:50:53 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 13:50:53 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 13:50:53 valid_lft forever preferred_lft forever 13:50:53 13:50:53 13:50:53 ---> sar -b -r -n DEV: 13:50:53 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 06/29/20 _x86_64_ (4 CPU) 13:50:53 13:50:53 13:46:14 LINUX RESTART 13:50:53 13:50:53 13:47:01 tps rtps wtps bread/s bwrtn/s 13:50:53 13:48:01 25.16 7.84 17.32 4148.28 2121.57 13:50:53 13:49:01 0.35 0.00 0.35 0.00 5.76 13:50:53 13:50:01 0.25 0.00 0.25 0.00 3.12 13:50:53 Average: 8.59 2.61 5.97 1382.99 710.27 13:50:53 13:50:53 13:47:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:50:53 13:48:01 180428 1701128 90.41 2620 1160948 1123492 38.34 403684 1135444 16 13:50:53 13:49:01 188844 1692712 89.96 2620 1160952 1063488 36.29 399468 1133072 16 13:50:53 13:50:01 187936 1693620 90.01 2620 1160960 1063768 36.30 400460 1133072 16 13:50:53 Average: 185736 1695820 90.13 2620 1160953 1083583 36.98 401204 1133863 16 13:50:53 13:50:53 13:47:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 13:50:53 13:48:01 eth0 58.47 45.98 352.04 41.41 0.00 0.00 0.00 13:50:53 13:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:50:53 13:48:01 docker0 7.06 4.96 0.99 18.93 0.00 0.00 0.00 13:50:53 13:49:01 eth0 0.67 0.07 0.06 0.01 0.00 0.00 0.00 13:50:53 13:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:50:53 13:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:50:53 13:50:01 eth0 1.13 0.48 0.56 0.39 0.00 0.00 0.00 13:50:53 13:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:50:53 13:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:50:53 Average: eth0 20.09 15.51 117.58 13.94 0.00 0.00 0.00 13:50:53 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:50:53 Average: docker0 2.35 1.65 0.33 6.31 0.00 0.00 0.00 13:50:53 13:50:53 13:50:53 ---> sar -P ALL: 13:50:53 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 06/29/20 _x86_64_ (4 CPU) 13:50:53 13:50:53 13:46:14 LINUX RESTART 13:50:53 13:50:53 13:47:01 CPU %user %nice %system %iowait %steal %idle 13:50:53 13:48:01 all 2.57 0.00 1.22 0.63 0.00 95.57 13:50:53 13:48:01 0 2.15 0.00 1.44 0.55 0.02 95.84 13:50:53 13:48:01 1 3.31 0.00 1.19 0.45 0.00 95.06 13:50:53 13:48:01 2 2.24 0.00 1.32 1.45 0.02 94.97 13:50:53 13:48:01 3 2.57 0.00 0.90 0.07 0.00 96.46 13:50:53 13:49:01 all 0.13 0.00 0.03 0.00 0.00 99.85 13:50:53 13:49:01 0 0.03 0.00 0.02 0.00 0.00 99.95 13:50:53 13:49:01 1 0.40 0.00 0.03 0.00 0.00 99.57 13:50:53 13:49:01 2 0.07 0.00 0.03 0.00 0.00 99.90 13:50:53 13:49:01 3 0.03 0.00 0.02 0.00 0.00 99.95 13:50:53 13:50:01 all 0.15 0.00 0.03 0.00 0.00 99.82 13:50:53 13:50:01 0 0.02 0.00 0.02 0.00 0.00 99.97 13:50:53 13:50:01 1 0.52 0.00 0.02 0.00 0.00 99.47 13:50:53 13:50:01 2 0.03 0.00 0.03 0.00 0.00 99.93 13:50:53 13:50:01 3 0.03 0.00 0.02 0.00 0.00 99.95 13:50:53 Average: all 0.95 0.00 0.42 0.21 0.00 98.42 13:50:53 Average: 0 0.73 0.00 0.49 0.18 0.01 98.59 13:50:53 Average: 1 1.41 0.00 0.41 0.15 0.00 98.03 13:50:53 Average: 2 0.78 0.00 0.46 0.48 0.01 98.27 13:50:53 Average: 3 0.88 0.00 0.31 0.02 0.00 98.79 13:50:53 13:50:53 13:50:53